07akioni
4316282619
fix(select): can't input in filterable mode in single mode in iOS Safari
...
ref https://github.com/TuSimple/naive-ui/issues/230
2021-06-22 17:18:39 +08:00
07akioni
1deb3fb023
2.13.0
2021-06-21 22:09:27 +08:00
07akioni
571efa209e
fix(date-picker, time-picker): icon doesn't work with clearable
...
Fix https://github.com/TuSimple/naive-ui/issues/222
2021-06-21 22:01:05 +08:00
07akioni
da83b7a0d3
fix(button): loading icon doesn't show on iOS Safari
...
fix https://github.com/TuSimple/naive-ui/issues/219
2021-06-21 17:36:37 +08:00
07akioni
6ee3896319
feat(tree-select): component ( #211 )
...
* site: tree-select route
* refactor(internal-selection): remove useless remote prop & on-delete-last-option
* refactor(dropdown, popselect): set slots stable mark from true to 1
* fix(scrollbar): attributes applied multiple times
* wip(tree-select): add exports
* fix(tree): misses `on-update-expanded-keys`, `on-update-selected-keys`, `on-update-checked-keys` prop
* feat(tree): support keyboard operations
* feat(tree): scroll with keyboard target node
* fix(tree): `selected-keys` prop influences original array
* feat(tree): pending on selected node at first
* feat(tree): follow tree-select's pending status
* feat(tree): `internalCheckboxFocusable` prop
* refactor(tree): split treeMate to displayTreeMate & dataTreeMate to work with tree-select
* fix(tree): scrollbar won't sync in virtual scroll mode
* feat(tree-select)
* docs: changelog
* docs(tree-select)
* feat(tree-select): stricter type
* fix: typo
* fix(select): input blinks in filterable mode when click at menu and input has value
* fix(tree): multiple line style
* docs(tree-select)
* refactor(tree-select): disable tree expand animation on tree select
* feat(tree-select): change expanded keys on filter
* chore(tree): add comment about animation
* chore
* feat(tree-select): close on single select
* fix(base-selection): input has useless empty row in multiple filterable mode
* docs(tree-select): add clearable in filterable demo
2021-06-21 15:48:15 +08:00
XieZongChen
00ff423d62
feat(menu): add render-label
prop ( #191 )
...
* feat: n-menu add renderLabel prop
* fix: optimization
* feat: add menu test and restructure menu renderLabel
* fix: optimization
* fix: optimization
* Apply suggestions from code review
* fix: optimization
* feat: Optimize code
* feat: Optimize demo docs
* fix: fixed path bug in site
* fix: fixed path bug in site
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-21 09:39:54 +08:00
caoyugang_1
82115e5c2d
feat(dropdown): add on-clickoutside
prop ( #199 )
...
* fix: tsconfig support ts
* feat(dropdown) add onClickOutside:
* fix(dropdown): add clickoutside test
* fix: remove clickoutside demo
* fix: resolve conflict
* fix: change some error
* fix(PopoverBody): directives repeat
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
2021-06-20 22:46:54 +08:00
07akioni
9d791cd56e
fix(tree): drag over leaf node causes error ( #203 )
2021-06-19 16:50:39 +08:00
07akioni
dbbfd41aae
docs(changlog): add date
2021-06-19 16:40:46 +08:00
07akioni
e9d377a380
2.12.2
2021-06-19 16:28:23 +08:00
07akioni
dc2f2080ae
fix(form-item): always show require mark ( #201 )
...
* docs(changelog): typo
* fix(form-item): always show require mark.
* chore
2021-06-19 16:23:50 +08:00
07akioni
58ee106560
2.12.1
2021-06-19 02:30:52 +08:00
07akioni
4a9e25c000
chore: sync doc branch ( #195 )
2021-06-19 02:23:16 +08:00
07akioni
cec295f3d1
feat(popselect): add render-label prop ( #194 )
2021-06-19 02:22:11 +08:00
07akioni
4a767a4cff
Merge branch 'main' into docs
2021-06-19 02:07:28 +08:00
07akioni
59e02912a9
fix(message): content & option type not correct
2021-06-19 02:04:55 +08:00
07akioni
3f1ebe119c
feat(select): add render-label prop ( #190 )
...
* feat(select): add `render-label` prop, `option.label` supports render function
* docs: changelog
* fix: type
* test: update snap
2021-06-19 01:08:54 +08:00
07akioni
1a39c06cf8
fix(notification): position not correct ( #192 )
2021-06-19 00:51:01 +08:00
07akioni
dbcf7a2b73
feat(popselect): support class attr ( #189 )
...
* feat(popselect): support class attr
* test: update snapshot
2021-06-18 22:28:22 +08:00
kalykun
96ae3a38dd
feat(input): add show-password-toggle prop to support show & hide password ( #179 )
...
* feat(n-input): add show-password attribute to support show & hide password
* feat(n-input): update show-password-toggle attribute
* docs: fix typos
* feat(n-input): remove unnecessary code
* feat(n-input): trigger click to show & hide password
* feat(n-input): add icon component prop onMouseup
* style(icon): add style to the eye icon
* style(n-input): modify css
2021-06-18 21:23:08 +08:00
Yiuman Kam
faee18c1d4
fix(input): baseline shifts when input mixed language(修复Input组件的行高问题)close#174 ( #183 )
...
* fix: Fixed Input Component line-heitgh issue(修复Input组件的行高问题)
* fix: Fixed Input Component line-height issue(修复Input组件的行高问题)
* style: 优化代码格式
* docs: add changelog for fixed input jitter (变更日志添加解决Input组件抖动问题)
* docs: 将fixes调整到pending中。
* Update CHANGELOG.zh-CN.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-18 15:21:52 +08:00
XieZongChen
874dbb8d29
docs: fix changelog time ( #188 )
2021-06-18 15:14:11 +08:00
doom-9
107dc136a2
feat(form): require-mark support left
and right
( #184 )
...
* feat(form): support require-mark-placement(#171 )
* feat(form): support require-mark-placement(#171 )
* feat(form): support require-mark-placement(#171 )
* feat(form): support require-mark-placement(#171 )
* feat(form): support require-mark-placement(#171 )
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-18 13:18:25 +08:00
五柳
e5d640f4d7
fix(icon): $parent.$options
will be undefined
in setup script ( #185 )
2021-06-18 10:55:56 +08:00
07akioni
6aa667d8e0
docs
2021-06-17 21:53:40 +08:00
07akioni
588b0699a6
docs
2021-06-17 21:51:11 +08:00
07akioni
8e89d1db4f
2.12.0
2021-06-16 23:49:38 +08:00
07akioni
1b7236ac1d
Merge branch 'main' into feat
2021-06-16 23:12:08 +08:00
07akioni
2317e1ea21
feat(n-a): remove to
prop ( #162 )
2021-06-16 23:06:21 +08:00
XieZongChen
47c8c08001
feat(input-number): support keyboard events ArrowUp and ArrowDown opera… ( #161 )
...
* feat: InputNumber support keyboard events ArrowUp and ArrowDown operations
* feat: Optimize code
2021-06-16 23:02:13 +08:00
07akioni
f18af1e3f9
feat(tree): support disabled
& checkboxDisabled
on option. fix click on indent won't trigger select in block line mode ( #160 )
2021-06-16 22:03:57 +08:00
二梦
a08dbcf1b0
fix(cascader): text blur in win10 Chrome. ( #154 )
2021-06-16 17:29:49 +08:00
07akioni
d8e9622fdd
docs(changelog): fix date
2021-06-16 14:21:52 +08:00
07akioni
445e2772a8
2.11.12
2021-06-16 14:13:09 +08:00
07akioni
da5d78378f
feat(element): pass themeVars
to default slot & add abstract
prop ( #146 )
2021-06-16 14:04:39 +08:00
07akioni
5c7c05c149
Merge branch 'main' into feat
2021-06-16 13:32:45 +08:00
07akioni
80c368dc2b
fix(auto-complete): customizing input not working ( #143 )
2021-06-16 13:13:11 +08:00
07akioni
f8f312aec1
feat(drawer-content): closable prop ( #140 )
2021-06-16 11:47:20 +08:00
cyn
59d8643e65
feat(tag): unstable rtl ( #130 )
...
* feat(tag): unstable rtl
* feat(tag): optimizate code
* feat(tag): delete extra close class
* feat(tag): optimizate code
2021-06-15 23:51:39 +08:00
07akioni
7fc659de7e
fix(radio-group): doesn't trigger form item validation
2021-06-15 18:36:29 +08:00
07akioni
f9fb82695a
2.11.11
2021-06-15 11:23:16 +08:00
07akioni
801b647530
2.11.9
2021-06-15 01:09:52 +08:00
07akioni
f1812ff90a
feat(space): a11y
2021-06-15 01:03:12 +08:00
LiamLi
d301208d47
feat: progress and button-group supports wai-aria ( #109 )
...
* feat(progress): supports wai-aria
* feat(button-group): supports wai-aria
* Update ButtonGroup.tsx
* Update Line.tsx
* feat(progress): fixed some generic DOM which shouldn't appear in a11y tree.
* feat: (progress) supports wai-aria
* feat: (progress) supports wai-aria
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-15 00:52:16 +08:00
07akioni
9e2ba9b339
docs(changelog): fix branch
2021-06-15 00:47:46 +08:00
caoyugang_1
b062eb122f
feat(rate): add default slot for icon and color size property ( #91 )
...
* feat: rate add slot and add color size property
* fix: update rate md
* Update CHANGELOG.en-US.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/demos/enUS/icon.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/src/Rate.tsx
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/src/Rate.tsx
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/demos/zhCN/color.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/demos/zhCN/size.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/demos/enUS/size.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/demos/enUS/color.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/demos/zhCN/events.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/rate/demos/zhCN/icon.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* fix: resolve rate comment
* fix: change demo
* fix: update md
* fix: add type lint
* fix: icon demo remove n-space
* Update CHANGELOG.en-US.md
* Update src/rate/demos/zhCN/color.demo.md
* Update CHANGELOG.en-US.md
* Update src/rate/demos/enUS/size.demo.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-15 00:38:22 +08:00
07akioni
03d8938084
feat(menu): supports use <a />
and <router-link />
as label ( #117 )
2021-06-15 00:37:18 +08:00
XieZongChen
b0294bab0d
feat(input-number): add show-button props ( #65 )
...
* feat: inputNumber add show-button props
* Update src/input-number/tests/InputNumber.spec.ts
* feat: Perfect pr
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-15 00:33:23 +08:00
07akioni
68c1e4e28b
docs(changelog): fix typo
2021-06-14 22:48:57 +08:00
07akioni
03a684dc4e
fix(data-table): missing on-update-sorter
, on-update-filter
, on-update-page
and on-update-page-size
props
2021-06-14 22:46:52 +08:00
07akioni
c08e3f775c
build: add discord changelog bot
2021-06-14 17:29:33 +08:00
07akioni
e9a422792a
docs(changelog): add date
2021-06-14 10:08:27 +08:00
07akioni
53bbbba717
chore(dialog): fix changelog & optimize codes
2021-06-14 09:15:25 +08:00
djkloop
fc09a36d8c
fix(dialog): add dialog destroyAll methods ( #104 )
...
* fix(dialog):add dialog destroyAll methods
* update changelog
2021-06-14 09:12:55 +08:00
07akioni
fa11306afd
fix(card): header-style is not applied to header ( #105 )
2021-06-14 01:21:50 +08:00
zhypower1997
6d21f72e1d
feat(data-table): add slot to custom empty content ( #98 )
...
* feat: add slot to custom description when data table is empty
* feat: change props to slot
* fix: change comment
* Update src/data-table/demos/enUS/index.demo-entry.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/data-table/demos/zhCN/index.demo-entry.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update src/data-table/demos/enUS/index.demo-entry.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: 07akioni <07akioni2@gmail.com>
* feat: add tests
* feat: change comment
* feat: update comment
* feat: update comment
* feat: update comment
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-06-13 16:42:16 +08:00
07akioni
5d50114397
2.11.8
2021-06-13 12:59:23 +08:00
07akioni
7ef3357472
fix(data-table): prop types of rowKey
, rowClassName
, rowProps
, summary
aren't compatible with expected value ( #95 )
2021-06-13 12:36:35 +08:00
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