Commit Graph

345 Commits

Author SHA1 Message Date
XieZongChen
3905fb1972
fix(form-item): autosize textarea may overflow (#94)
* fix: n-form-item's grid-template-columns

* Update src/form/src/styles/form-item.cssr.ts

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-13 12:04:24 +08:00
07akioni
5a7b2fa0e2 fix(calendar): on-update:value prop type 2021-06-12 19:23:05 +08:00
07akioni
d8c1a8c354 2.11.7 2021-06-12 15:59:11 +08:00
07akioni
c04912d44c fix: no lodash & lodash-es type 2021-06-12 15:42:46 +08:00
07akioni
e7f1f91da9
fix(color-picker): default value doesn't follow modes (#87)
* fix(color-picker): default value doesn't follow modes

* docs: changelog
2021-06-12 14:06:39 +08:00
07akioni
d307488479
fix(slider): prevent default on touchstart to avoid page scrolling (#82)
* fix(slider): prevent default on touchstart to avoid page scrolling

* docs(changelog)
2021-06-12 12:38:43 +08:00
07akioni
7ed844047d 2.11.6 2021-06-11 18:48:51 +08:00
07akioni
42b700d698
Merge pull request #79 from TuSimple/feat
chore: merge feat into main
2021-06-11 18:40:38 +08:00
07akioni
5b75311075
fix(color-picker): change modes not working (#78)
* fix(color-picker): change modes not working

* docs(changelog): add issue url
2021-06-11 18:39:39 +08:00
07akioni
7dc0f40dc6
Merge branch 'main' into feat 2021-06-11 18:32:10 +08:00
Ilya
75880dcc88
fix: add touch events support for slider (#73)
* fix: add touch events support for slider

* Update CHANGELOG.en-US.md

* Update CHANGELOG.zh-CN.md

* Apply suggestions from code review

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-11 17:44:03 +08:00
cyn
3e48307cdd
feat(date-picker): add footer slot (#70)
* feat(date-picker): add footer slot

* docs(changelog): change log add footer slot

* refactor(date-picker): refactor footer slot

* fix(date-picker): fix extra footer padding style
2021-06-11 17:40:17 +08:00
07akioni
a1f6f8b4c1 fix(tabs): logs useless info 2021-06-11 17:28:00 +08:00
07akioni
c179c3a665 fix(popconfirm): icon slot not working 2021-06-11 17:26:42 +08:00
07akioni
8514819255 fix(menu): lack on-update-value and on-update-expanded-keys props 2021-06-11 12:00:11 +08:00
Mr. Meo
d4dba862c5
fix(button): cause crash when imported in head tag (#68)
* Fix crash when load app in head tag

* update changelog

* docs: changelog

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-11 10:39:07 +08:00
07akioni
ae4b44dfb5
feat(spin): size prop support number type (#67) 2021-06-11 00:51:11 +08:00
07akioni
c65b068a52
fix(spin): animation shifts (#66)
* fix(spin): animation shifts

* docs
2021-06-11 00:37:59 +08:00
07akioni
5db8daa937 2.11.5 2021-06-10 22:54:48 +08:00
07akioni
49c1dc912f
Merge pull request #60 from TuSimple/feat
chore: merge feat into main
2021-06-10 20:05:46 +08:00
07akioni
f2006e8275
Update CHANGELOG.en-US.md 2021-06-10 19:44:21 +08:00
cyn
bcb52b14ec
fix(calendar): fix calendar date month error (#56)
* fix(calendar): fix calendar date calc error

* fix(calendar): optimize  code

* docs(changelog): delete Feats info

* Update CHANGELOG.zh-CN.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-10 18:15:27 +08:00
五柳
21204a508e
fix(menu): the type definition of extra property of menu and submenu (#59) 2021-06-10 18:05:09 +08:00
CharTen
3d424dd018
fix(input): add 'password' declaration for 'input' (#57)
* add 'password' declaration for 'input'

* update change log

* update change log

* Update CHANGELOG.zh-CN.md

Co-authored-by: CharTen <caiting@3k.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-10 17:33:17 +08:00
ahwgs
eb1bd5bd81
feat(dropdown): add disabled prop to option (#42)
* feat(dropdown): add disabled prop

* refactor: update dropdown disabled prop

* test(dropdown): add disabled case

* test(dropdown): update disabled case
2021-06-10 14:08:58 +08:00
07akioni
84be289484
fix(message): option should be optional (#45) 2021-06-09 17:14:13 +08:00
cyn
5581cfcc8c
feat(card): add :target style (#35)
* feat(docs): add target style when anchor compoents demo

* feat(card): rename targetColor to colorTarget

* fix(changelog): fix changelog doc typo

* feat(card): delete !important, complete target style by override

* feat(card): rewrite target style
2021-06-09 11:30:00 +08:00
07akioni
8978fa93bf
fix(popover): x, y may not be synced (#21)
* fix(popover): x, y may not be synced

* docs: changelog
2021-06-08 16:31:24 +08:00
07akioni
79633953b0 fix(transfer): emtpy icon has no toggle transition 2021-06-07 18:22:38 +08:00
07akioni
6153aab625 2.11.4 2021-06-07 13:12:02 +08:00
07akioni
8b19edebf5
feat(date-picker): ranges prop (#9)
* feat(date-picker): `ranges` prop

* fix(date-picker): action bar styles
2021-06-07 13:00:02 +08:00
07akioni
15ae234ed0 feat(data-table): add row-props prop 2021-06-07 09:01:20 +08:00
07akioni
d7b96e6230 fix(scrollbar): track may be overlayed in chrome windows 2021-06-06 22:54:41 +08:00
07akioni
e23e379ba8 fix(drawer): toggle animation 2021-06-06 19:18:34 +08:00
07akioni
1409f90065 feat(divider): wai-aria 2021-06-06 18:25:13 +08:00
07akioni
4fecff13f9 feat(menu): supports basic wai-aria 2021-06-06 11:53:42 +08:00
07akioni
5fd347c6ff feat(switch): wai-aria 2021-06-06 11:24:48 +08:00
07akioni
ce44d1b59d feat(card): wai-aria 2021-06-06 11:04:29 +08:00
07akioni
37cef8f68e feat(button): aria 2021-06-06 10:45:20 +08:00
07akioni
595cc449c0 fix(tab): n-tab-pane display-directive not working 2021-06-05 23:58:54 +08:00
07akioni
ea1f5facf1 2.11.3 2021-06-05 21:34:33 +08:00
07akioni
3f0714cebf fix(collapse): default-expanded-names not working 2021-06-05 21:30:39 +08:00
07akioni
fa4ad158ec 2.11.2 2021-06-05 21:19:31 +08:00
07akioni
ba2f608b43 feat(collapse): n-collapse add arrow slot 2021-06-05 21:16:00 +08:00
07akioni
292228dc40 fix(config-provider): doesn't merge inherited theme 2021-06-05 20:54:29 +08:00
07akioni
f171cefd3c fix(date-picker): input theme is not set in date & datetime type 2021-06-05 20:48:26 +08:00
07akioni
fbeacb342f 2.11.1 2021-06-05 19:53:26 +08:00
07akioni
9d11f772a4 fix(dropdown): default placement is not bottom 2021-06-05 18:55:23 +08:00
07akioni
c5f755c5df 2.11.0 2021-06-05 01:03:27 +08:00
07akioni
0265894216 feat(date-picker): update value after confirm is clicked 2021-06-01 01:13:24 +08:00
07akioni
52fd5d5129 fix(date-picker): does not disable start date correctly when value is empty 2021-05-31 16:44:08 +08:00
07akioni
8b249709b6 feat(select): virtual-scroll prop & consistent-menu-width prop 2021-05-27 13:26:53 +08:00
07akioni
14f1b93c86 refactor(anchor): listen to global scroll & add offset-target prop 2021-05-27 12:43:12 +08:00
07akioni
c5b7645f39 refactor(affix): set default listen-to to document. rename offset-* to trigger-*. 2021-05-27 11:39:44 +08:00
07akioni
d464ec01a5 fix(input-number): not restore valid value after blur 2021-05-26 23:07:32 +08:00
07akioni
4483d722af 2.10.0 2021-05-26 17:09:58 +08:00
07akioni
b58ef7c94e feat(tabs): add pane-style prop 2021-05-26 15:38:40 +08:00
07akioni
0699083479 fix(layout): scrollTo not working when using native scrollbar 2021-05-26 13:55:09 +08:00
07akioni
38a5764ea5 refactor(popover): placement prop default value is set to 'top' 2021-05-26 11:19:37 +08:00
07akioni
62b3fdbbfa feat(tabs): add box shadow to indicate scroll status 2021-05-26 01:36:06 +08:00
07akioni
8a147f3240 feat(tabs): type prop support 'line' option. 2021-05-25 23:36:07 +08:00
07akioni
b496337269 refactor(tabs): rename label related prop to tab 2021-05-25 23:20:04 +08:00
07akioni
826bf1dccb feat(tabs): add label slot for pane & function + vnode typed label 2021-05-25 22:41:06 +08:00
07akioni
64b1715526 feat(tabs): add tab can be fixed 2021-05-25 21:18:41 +08:00
07akioni
d4e9cac324 2.9.0 2021-05-25 19:25:43 +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
18516308f9 feat(data-table): max-height & min-height prop accept CSS value. 2021-05-25 13:34:52 +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
92e79591ad feat(tabs): totally refactor
- Add `addable` prop.
- Add `show-divider` prop.
- Add `tab-style` prop.
- Add `tabs-padding` prop.
- Add `default-value` prop.
2021-05-25 01:20:31 +08:00
07akioni
01b092dcfb feat(dropdown): inverted 2021-05-24 16:25:26 +08:00
07akioni
d276dec4a5 feat(menu): inverted prop 2021-05-24 14:10:28 +08:00
07akioni
b97ea5aa40 feat(tree): drag & drop 2021-05-24 10:49:11 +08:00
07akioni
d0f2c6a1c4 fix(selection): Theme peers has wrong key for popover 2021-05-23 13:33:46 +08:00
07akioni
0a1b65f2a7 feat(data-table): support tree data 2021-05-22 00:54:44 +08:00
07akioni
a676ff594b feat(tree): block-line prop 2021-05-19 15:45:31 +08:00
07akioni
242a49922c fix(layout-sider): n-layout-sider's collapse-mode not working 2021-05-19 14:55:54 +08:00
07akioni
36d8ff6513 feat(data-table): add table layout prop 2021-05-19 14:31:30 +08:00
07akioni
b792f0b529 feat(button): tag prop 2021-05-19 12:03:35 +08:00
07akioni
7b9bd91f2e 2.8.0 2021-05-19 02:25:38 +08:00
07akioni
d8fd069d20 feat(input): show count 2021-05-19 00:59:06 +08:00
07akioni
5403aa924a feat(pagination): prefix & suffix - prop & slot 2021-05-18 21:02:56 +08:00
07akioni
808c568066 feat(pagination): item-count, by the way fix page not updated in uncontrolled mode 2021-05-18 20:21:14 +08:00
07akioni
25c962187e perf(anchor): use throttle rather than raf 2021-05-18 19:32:57 +08:00
07akioni
efce69102a feat(cascader): virtual-scroll prop 2021-05-17 15:52:00 +08:00
07akioni
96020751fd perf(select): use v-show to trigger open fast 2021-05-17 13:42:55 +08:00
07akioni
f579457e3d feat(data-table): virtual-scroll prop 2021-05-17 04:18:32 +08:00
07akioni
9921bddda7 feat(tree): virtual-scroll 2021-05-16 18:51:03 +08:00
07akioni
f8d53e433e fix(input-number): Doesn't reset to origin value when blur with invalid value 2021-05-16 15:36:46 +08:00
07akioni
c12f6544a8 fix(layout): n-layout-sider doesn't show menu after collapsed 2021-05-07 17:46:46 +08:00
07akioni
e357f4642a 2.7.4 2021-04-25 20:25:11 +08:00
07akioni
d1edde9f17 fix(checkbox): check mark not displayed 2021-04-25 19:54:14 +08:00
07akioni
b56f441cc7 fix(date-picker): icon transition style in trigger 2021-04-25 19:51:18 +08:00
07akioni
245080054d fix(data-table): clear check all in table not working 2021-04-24 13:52:06 +08:00
07akioni
b22759c8a5 fix(checkbox-group): Not working in uncontrolled mode 2021-04-23 23:34:53 +08:00
07akioni
c8fe0b0899 feat(form-item): works without n-form 2021-04-23 23:20:21 +08:00
07akioni
701963dd3e fix(typography): p, li, ul margin bottom is not 0 when they are last child 2021-04-23 00:01:47 +08:00
07akioni
dd8ab9d228 2.7.3 2021-04-22 00:09:41 +08:00
07akioni
2b79bfebcc feat(data-table): render-filter-icon & render-filter prop 2021-04-21 21:34:03 +08:00
07akioni
a491baf120 feat(data-table): highlight sorted rows 2021-04-21 21:13:59 +08:00
07akioni
2d51c15a81 feat(data-table): make fix col box-shadow more clear in dark theme 2021-04-21 18:42:33 +08:00
07akioni
4bd297224e fix(color-picker): value has line wrap 2021-04-21 16:36:25 +08:00
07akioni
41bf170992 2.7.2 2021-04-21 14:50:27 +08:00
07akioni
61dda125fc feat(data-table): summary prop 2021-04-21 14:47:24 +08:00
07akioni
eeb48edca4 feat(data-table): selection options 2021-04-21 11:23:34 +08:00
07akioni
c44979eb94 fix(layout): overflow on horizontal direction 2021-04-20 14:47:30 +08:00
07akioni
07556d80b1 2.7.1 2021-04-20 13:07:00 +08:00
07akioni
6e7c9f9c3a feat(cascader): action slot 2021-04-20 02:36:31 +08:00
07akioni
b80af22685 feat(checkbox): focusable 2021-04-20 02:18:23 +08:00
07akioni
7063fe74c3 refactor(cascader): remove provide(reactive) pattern 2021-04-20 00:07:36 +08:00
07akioni
8764fd7d7f 2.7.0 2021-04-19 22:05:43 +08:00
07akioni
2bfa035985 feat(layout): content-style for layout & layout-sider 2021-04-19 16:50:01 +08:00
07akioni
b1bad3c9ff feat(drawer): content-style & drawer-content component 2021-04-19 15:58:22 +08:00
07akioni
3d0e22ef7f 2.6.0 2021-04-19 01:31:36 +08:00
07akioni
e82d3b0760 feat(config-provider): cls-prefix prop 2021-04-18 22:50:50 +08:00
07akioni
308135d032 fix(popover): may influence other popover when static props is hoisted 2021-04-15 11:54:35 +08:00
07akioni
2a7a731ca7 2.5.1 2021-04-14 15:47:42 +08:00
07akioni
3e65735dec fix(select): fallback option has broken default value 2021-04-14 14:20:24 +08:00
07akioni
b3ec9344cd feat(color-picker): show alpha 2021-04-14 12:03:42 +08:00
07akioni
eb0ca82a97 2.5.0 2021-04-13 22:29:14 +08:00
07akioni
ef8d118174 docs(color-picker) 2021-04-13 17:50:26 +08:00
07akioni
d4457c0a8b feat(select): showArrow prop 2021-04-13 02:04:31 +08:00
07akioni
00c9f3e67f feat(calender): new component 2021-04-09 18:06:22 +08:00
07akioni
aaa22493d0 feat(date-picker): locale.firstDayOfWeek 2021-04-09 02:50:02 +08:00
07akioni
f96ffbf593 fix(date-picker): trigger has no focus style in focus is in panel 2021-04-09 02:36:29 +08:00
07akioni
d09a79cc6b feat(skeleton): new component 2021-04-09 00:43:33 +08:00
07akioni
84e02f276e fix(n-select): filterable doesn't work with composite events 2021-04-08 00:43:19 +08:00
07akioni
606cb19429 feat(form): add n-form-item-gi (grid-item) component 2021-04-08 00:09:32 +08:00
07akioni
371078a6a2 fix(n-ellipsis, n-data-table): ellpisis content mis-vertical-aligned 2021-04-07 23:06:28 +08:00
07akioni
a78f143282 2.4.1 2021-04-07 22:11:01 +08:00
07akioni
b065f7fbfb refactor(select): menu is focusable now 2021-04-07 21:26:58 +08:00
07akioni
ef8753febc 2.4.0 2021-04-07 16:31:14 +08:00
07akioni
ab24d61f45 feat(image): new component 2021-04-07 13:10:45 +08:00
07akioni
2135d8e94c refactor: make light theme text & action color bluer 2021-04-06 18:49:23 +08:00
07akioni
491351ff88 feat(global-style) 2021-04-06 18:06:04 +08:00
07akioni
eae73b9968 fix(select): fix n-select tag text overflow. 2021-04-06 00:38:10 +08:00
07akioni
4853fd88e1 feat(card): footer-style prop 2021-04-05 23:58:45 +08:00
07akioni
fe2ad7190f fix(anchor): ignore-gap not working 2021-04-05 22:57:19 +08:00
07akioni
828f46c6d4 refactor(menu): use options prop instead of items 2021-04-05 18:10:30 +08:00
07akioni
257233398d build: unify doc loader & md loader 2021-04-05 14:38:39 +08:00
07akioni
7d15f230b0 feat(button): bordered prop 2021-04-03 15:17:52 +08:00
07akioni
12b97ab79c feat(breadcrumb): separator slot & prop on item 2021-04-03 15:11:12 +08:00
07akioni
6e1cca769d feat(page-header) 2021-04-03 11:29:37 +08:00
07akioni
abce6eece9 fix(collapse): content is truncated by overflow hidden 2021-03-29 21:38:09 +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
c46c005dcb 2.2.0 2021-03-29 01:38:09 +08:00
07akioni
c087e4971b fix(input): In textarea mode autosize rows not changed if props.value is changed from outside 2021-03-28 23:20:00 +08:00
07akioni
3d568e7b43 fix(input): in textarea mode autosize line not correct due to inconsistant font family 2021-03-28 22:13:10 +08:00
07akioni
8fbd1526e7 feat(mention) 2021-03-27 12:06:08 +08:00