Commit Graph

84 Commits

Author SHA1 Message Date
XieZongChen
97a40ac2d9
test(layout): update test (#822) 2021-08-09 21:34:33 +08:00
XieZongChen
79eabff54c
test(NLayout): add test (#815) 2021-08-08 22:58:17 +08:00
07akioni
3f8e640f82 refactor(layout-sider): sider placement right 2021-08-07 17:35:11 +08:00
jesi
ccb0dedd1b
feat(layout): sider-position (#657)
* feat(layout): sider-position

* docs(layout): sider-position in en-US

* fix(layout): sider placement

* fix(layout): transform sider when sider is placed right

* fix(layout): set flex-direction of container

* fix(layout): remove useless computed property

* fix(layout): toggleBar, toggleButton style

* refactor(layout-sider): toggle style

* refactor(layout-sider): remove useless className

* fix(layout): transform width

* Update src/layout/src/styles/layout-sider.cssr.ts

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-08-07 16:35:02 +08:00
07akioni
500f2cdeef
Merge branch 'main' into docs 2021-07-25 20:46:21 +08:00
07akioni
7b7877b7b5 fix(layout-sider): width prop can't be string, closes #607 2021-07-25 13:57:02 +08:00
songjianet
a8f0a3b38e
docs(layout): API table (#637) 2021-07-25 13:36:27 +08:00
Loner
87aee41e68
docs(layout): delete error attribute on n-layout-footer (#134) 2021-06-15 23:18:02 +08:00
07akioni
e6109f7255 deps: eslint-config-standard-with-typescript 20 2021-06-12 18:52:20 +08:00
07akioni
75d6bfce01 feat(menu): only follow sider collapse state if sider's collapsed-mode is width 2021-06-08 12:27:22 +08:00
07akioni
5d2c57578d site: refactor demo loader to support comma css selector 2021-05-26 16:03:17 +08:00
07akioni
100f54975a fix(layout): make layout overflow hidden 2021-05-26 15:10:59 +08:00
07akioni
0699083479 fix(layout): scrollTo not working when using native scrollbar 2021-05-26 13:55:09 +08:00
07akioni
5c2183c5bb docs(layout): rewrite with better look 2021-05-25 16:56:53 +08:00
07akioni
e32b020a95 fix(layout): scrollTo not working with native scrollbar 2021-05-25 16:43:02 +08:00
07akioni
c5dd884df6 feat(layout): embedded prop 2021-05-25 15:05:41 +08:00
07akioni
c986b375a3 feat(layout): n-layout-sider & n-layout-footer & n-layout-header add inverted prop. 2021-05-25 13:11:20 +08:00
07akioni
5c24d05585 docs(layout-sider): expose trigger style 2021-05-19 16:08:43 +08:00
07akioni
242a49922c fix(layout-sider): n-layout-sider's collapse-mode not working 2021-05-19 14:55:54 +08:00
07akioni
c12f6544a8 fix(layout): n-layout-sider doesn't show menu after collapsed 2021-05-07 17:46:46 +08:00
07akioni
9bc34429ce feat(layout): footer-color 2021-05-04 02:26:41 +08:00
07akioni
fa03dd513f refactor(use-config): rename return fields 2021-04-24 13:45:13 +08:00
07akioni
c44979eb94 fix(layout): overflow on horizontal direction 2021-04-20 14:47:30 +08:00
07akioni
bd4b340128 refactor: dedupe theme vars generation 2021-04-20 12:37:18 +08:00
07akioni
2bfa035985 feat(layout): content-style for layout & layout-sider 2021-04-19 16:50:01 +08:00
07akioni
d17dc5da01 refactor: cPrefix => mergedClsPrefix 2021-04-19 01:11:05 +08:00
07akioni
28d040bc84 feat(layout): clsPrefix 2021-04-17 16:37:47 +08:00
07akioni
c4487319fb feat(checkbox): clsPrefix 2021-04-15 21:47:20 +08:00
07akioni
a156a9aa79 docs(menu): long item example 2021-04-08 16:38:19 +08:00
07akioni
238f1470be docs(layout): update api table (collapse-mode & collapsed) 2021-03-29 14:06:04 +08:00
07akioni
5ddf58b080 docs(layout): caveats about set padding 2021-03-29 14:01:34 +08:00
07akioni
37ce928d10 fix(layout):horizontal content overflows 2021-03-29 13:40:42 +08:00
07akioni
3a76cebac5 feat(layout): new api 2021-03-29 12:51:39 +08:00
07akioni
7dc817f5a9 refactor: update deps & fix ts errors in 4.2.3 2021-03-29 01:12:00 +08:00
07akioni
ecb690f0df refactor: remove demo entry loader, dynamic import zh & en doc pages 2021-03-23 19:46:32 +08:00
07akioni
85687ed7e3 feat(layout): n-layout-sider add default-collapsed prop 2021-03-17 01:05:46 +08:00
07akioni
c46bd46d6d fix(layout): sider toggle button is covered 2021-03-17 00:52:09 +08:00
07akioni
bce76e4b9b refactor(theme): remove remove all overlay colors 2021-03-03 00:58:23 +08:00
07akioni
6a70895021 test: add basic test for all comps 2021-02-17 16:33:29 +08:00
07akioni
0587f6e632 chore: update vicons to 0.1.0 2021-02-09 15:04:22 +08:00
07akioni
43658733e4 build: ts build 2021-02-03 00:48:31 +08:00
07akioni
b57938c52f refactor(use-theme): rename theme props, make origin theme props as legacy-theme 2021-02-02 01:04:10 +08:00
07akioni
937c785f8b refactor(use-theme): robust type 2021-02-02 00:59:16 +08:00
07akioni
7863d6d28e refactor: optimize types 2021-02-01 18:16:47 +08:00
07akioni
fedeb1c39d refactor(service-layout): ts 2021-01-31 22:39:16 +08:00
07akioni
261afdd370 refactor: simplify default slot usage 2021-01-25 02:39:28 +08:00
07akioni
ddda5c84be refactor(layout): ts 2021-01-23 16:45:01 +08:00
07akioni
2be9642430 docs: move component docs in src/ 2021-01-12 19:58:41 +08:00
07akioni
5ac48a17f5 fix(layout): theme not working 2021-01-12 17:08:23 +08:00
07akioni
960a7f1c38 refactor: all components adapt new theme 2021-01-09 16:56:49 +08:00