Commit Graph

5651 Commits

Author SHA1 Message Date
07akioni
ca19f877b1
Merge branch 'main' into docs 2021-10-14 04:06:32 +08:00
07akioni
2f79dfff7d fix(ellipsis): prop not show pointer cursor when content is short when tooltip = false, closes #1299 2021-10-14 03:50:31 +08:00
07akioni
f471c9bd04 fix(scrollbar): doesn't support scrollTo, closes #1346 2021-10-14 03:38:45 +08:00
07akioni
e3ef366a3a site: make anchor scrollable 2021-10-14 03:21:30 +08:00
d46698884e
feat(anchor): make it scrollable, just a internal feature now (#1323)
* feat: add naive-scoller on anchor

* test: add test

* fix: wrong package import

* docs: changelog

* test: anchor debug

* chore: code style

* fix(anchor): remove `scrollbarProps`

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-14 03:11:19 +08:00
07akioni
8b7dd6e057 test(color-picker): fix 2021-10-14 03:04:16 +08:00
07akioni
b5c7a6592b refactor(color-picker): refactor logic, ref #1281 2021-10-14 02:48:59 +08:00
不见月
66f5fd42b7
feat(color-picker): support swatches (#1324)
* feat(color-picker): support swatches

* feat(color-picker): support swatches

* chore(color-picker-swatches): simplify logic

*chore: delete `show-swatches` props
*refactor: simplify logic and lazily handle color values
*docs: update docs

* chore(color-picker): remove color props

* style(color-picker-swatches): dealing with format

* chore: supplementary logic

* test: add test
2021-10-14 01:50:50 +08:00
07akioni
37d7fc981b fix(data-table): fixed column with multiple level header 2021-10-14 01:47:18 +08:00
07akioni
31caf74e88 fix(data-table): has duplicate right border when it has multiple level headers 2021-10-14 01:03:28 +08:00
07akioni
a6a2efbdf3 feat(select): add input-props prop, closes #1351 2021-10-14 00:27:18 +08:00
Keagan Chisnall
eb7917ed07
docs(select, slider, switch): better en (#1350)
* Docs - Select (English)

* Docs - Slider (English)

* Docs - Switch (English)

* Final edits

* Update src/select/demos/enUS/fallback-option.demo.md

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-14 00:14:31 +08:00
小魔王
77260fe68c
feat(auto-complete): add getDerivedShowFromValue prop (#1318)
* feat(n-auto-complete): add show-on-focus prop to show all options or not

* feat: 更新属性设置

* feat: demo文件命名修正

Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-10-14 00:08:37 +08:00
小魔王
88b4c6e9a5
fix(data-table): fixed style does not work in group header table (#1348)
* fix(n-data-table): fixed style does not work in group header table

* feat: 优化类型

Co-authored-by: unknown <liyang@xiaoyouzi.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-13 17:14:13 +08:00
Void-YY
e3d5ae6e0d
feat: jaJP locale (#1347)
* feat(locale): add jaJP locale

* Update CHANGELOG.en-US.md & CHANGELOG.zh-CN.md

Co-authored-by: YY <yanyu@tri-japan.com>
2021-10-13 17:05:12 +08:00
XieZongChen
b377d4bd72
test(data-table): update test (#1343) 2021-10-13 10:09:43 +08:00
XieZongChen
fb9beb6d3c
test(data-table): update test (#1331) 2021-10-12 10:03:57 +08:00
Danny Feliz
d1307f5e28
Fix typo (#1330) 2021-10-12 09:57:07 +08:00
07akioni
5b059fc2a1
Merge pull request #1329 from TuSimple/main
sync main
2021-10-12 03:28:54 +08:00
07akioni
2921860be1 2.19.7 2021-10-12 03:26:39 +08:00
07akioni
79ad6a7b3a docs(input): fix format 2021-10-12 03:20:55 +08:00
07akioni
5874a649ac docs(input): fix on-input prop 2021-10-12 03:20:55 +08:00
07akioni
e7bbcf410f fix(modal): on-after-enter prop not working 2021-10-12 03:20:55 +08:00
小魔王
1b6fe1427d
fix(ellipsis): expand-trigger prop not show pointer cursor when con… (#1302)
* fix(n-ellipsis): expand-trigger prop not show pointer cursor when content is short

* feat: 优化cursor样式添加

* fix: 测量前后摆正ellipsis样式

* feat: 提取公共方法

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: unknown <liyang@xiaoyouzi.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-12 01:18:08 +08:00
Keagan Chisnall
d2c7e64fc5
docs(mention,radio,rate): better en (#1325)
* Docs - NMention

* Docs NRadio (English)

* Docs NRadio (English)

* Docs final edits

Co-authored-by: 07akioni <07akioni2@gmail.com>
2021-10-12 00:04:45 +08:00
songjianet
938602faa7
test(calendar): add test (#1326)
* test(calendar): Update calendar component test

* test(calendar): Update calendar component test

* test(calendar): Update calendar component test
2021-10-12 00:02:38 +08:00
07akioni
cf61b67789 fix(select): fallback-option prop's type, closes #1327 2021-10-12 00:02:12 +08:00
XieZongChen
c339db752b
test(data-table): update test (#1317) 2021-10-11 10:17:18 +08:00
07akioni
dcc650dae9
Merge pull request #1313 from TuSimple/main
sync main
2021-10-10 19:44:01 +08:00
07akioni
7230ca20e8 2.19.6 2021-10-10 19:43:07 +08:00
07akioni
204441be20 docs(changelog): format 2021-10-10 19:34:53 +08:00
07akioni
cfdde28cf4
Merge pull request #1312 from TuSimple/docs
Docs
2021-10-10 19:34:18 +08:00
Yufan You
bd50a70fd5
fix: ul list style (#1311)
This was introduced in #1248. These styles should belong to Breadcrumb
only.
2021-10-10 19:27:47 +08:00
07akioni
1e0c1ab7af fix: useThemeVars is sometimes unusable, closes #1309 2021-10-10 00:37:12 +08:00
07akioni
9ed18b2f96 refactor(cascader): clean codes 2021-10-10 00:37:12 +08:00
Kigoal
94f69ed9ca
feat(image): esc keyboard support & dblclick event (#1247)
* feat(image):support `Escape` shortcut key

* feat(image):modify `n-image-preview-container` css `position` to `fixed`

* feat(image):support `Escape` shortcut key

* feat(image):support `double-click` zoom in and out

* feat(image):support `double-click` zoom in and out

* feat(image):support `double-click` zoom in and out
2021-10-10 00:08:10 +08:00
小魔王
a6298cac85
feat(cascader): provide all top options in callback function (#1298)
* feat(n-cascader): provide all top Key values in callback function

* feat: 更新获取节点路径

* fix: 考虑节点null值

Co-authored-by: unknown <liyang@xiaoyouzi.com>
2021-10-09 23:47:29 +08:00
07akioni
ba4c91a3ed
Merge pull request #1310 from TuSimple/main
sync main
2021-10-09 23:42:59 +08:00
Keagan Chisnall
47705c5565
docs(input, input-number): en (#1308)
* [Docs] - Input English

* [Docs] - Input Number English

* Update index.demo-entry.md
2021-10-09 23:42:13 +08:00
songjianet
2e77fe9e1b
test(badge): update test (#1304)
* test(badge): Update badge component test

* test(badge): Update badge component test

* test(badge): Update badge component test

* test(badge): Update badge component test
2021-10-09 15:43:13 +08:00
XieZongChen
c152c06d5b
test(data-table): update test (#1300) 2021-10-09 11:31:29 +08:00
Mr.Bai
1d7901e89f
feat(layout): add scroll event (#1296)
* feat(n-layout): add scroll event

* optimization

Co-authored-by: Jiwen Bai <56228105@qq.com>
2021-10-09 11:03:45 +08:00
XieZongChen
7616a869a6
fix: ci error (#1301) 2021-10-09 11:02:23 +08:00
songjianet
a2de75b871
test(anchor): Update anchor component test (#1294) 2021-10-08 11:58:21 +08:00
07akioni
336320001c fix(menu): incorrect warning on default-expanded-keys 2021-10-08 00:15:32 +08:00
07akioni
b13cf7c12f docs: fix typo 2021-10-07 03:09:50 +08:00
07akioni
a1e978bed3 feat(layout-sider): on-after-enter, on-after-leave prop 2021-10-07 03:09:20 +08:00
07akioni
03475d69a6
Merge pull request #1290 from TuSimple/main
sync main
2021-10-07 03:07:41 +08:00
07akioni
e6cdfbdf91 2.19.5 2021-10-07 02:57:47 +08:00
07akioni
6f9400cbaa fix(data-table): use lodash-es 2021-10-07 02:54:13 +08:00