@varlet/ui 3.20.7 → 3.20.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/auto-complete/AutoComplete.mjs +2 -1
- package/es/auto-complete/props.mjs +4 -0
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/menu/Menu.mjs +1 -0
- package/es/menu/menu.css +1 -1
- package/es/menu/props.mjs +4 -0
- package/es/menu-select/MenuChildren.mjs +10 -9
- package/es/menu-select/MenuSelect.mjs +13 -3
- package/es/menu-select/menuSelect.css +1 -1
- package/es/menu-select/props.mjs +1 -0
- package/es/select/Select.mjs +8 -2
- package/es/select/props.mjs +4 -0
- package/es/select/select.css +1 -1
- package/es/snackbar/core.mjs +59 -15
- package/es/snackbar/index.mjs +1 -0
- package/es/snackbar/props.mjs +1 -0
- package/es/snackbar/snackbar.css +1 -1
- package/es/snackbar/style/index.mjs +1 -1
- package/es/themes/dark/menu.mjs +2 -1
- package/es/themes/dark/menuSelect.mjs +2 -1
- package/es/themes/dark/select.mjs +1 -0
- package/es/themes/md3-dark/menu.mjs +2 -1
- package/es/themes/md3-dark/menuSelect.mjs +1 -0
- package/es/themes/md3-dark/select.mjs +1 -0
- package/es/themes/md3-light/menu.mjs +2 -1
- package/es/themes/md3-light/menuSelect.mjs +1 -0
- package/es/themes/md3-light/select.mjs +1 -0
- package/es/varlet.css +1 -1
- package/es/varlet.esm.js +4872 -4791
- package/highlight/web-types.en-US.json +46 -1
- package/highlight/web-types.zh-CN.json +51 -6
- package/lib/varlet.cjs.js +224 -145
- package/lib/varlet.css +1 -1
- package/package.json +10 -10
- package/types/autoComplete.d.ts +3 -0
- package/types/menu.d.ts +3 -0
- package/types/menuSelect.d.ts +3 -0
- package/types/select.d.ts +5 -2
- package/types/snackbar.d.ts +2 -0
- package/types/styleVars.d.ts +5 -0
- package/umd/varlet.js +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
|
-
"version": "3.20.
|
|
4
|
+
"version": "3.20.9",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -457,6 +457,15 @@
|
|
|
457
457
|
"kind": "expression"
|
|
458
458
|
}
|
|
459
459
|
},
|
|
460
|
+
{
|
|
461
|
+
"name": "menu-radius",
|
|
462
|
+
"description": "Popup menu radius, optional values are `normal` `large`",
|
|
463
|
+
"default": "normal",
|
|
464
|
+
"value": {
|
|
465
|
+
"type": "string",
|
|
466
|
+
"kind": "expression"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
460
469
|
{
|
|
461
470
|
"name": "options",
|
|
462
471
|
"description": "Specifies options",
|
|
@@ -5886,6 +5895,15 @@
|
|
|
5886
5895
|
"kind": "expression"
|
|
5887
5896
|
}
|
|
5888
5897
|
},
|
|
5898
|
+
{
|
|
5899
|
+
"name": "radius",
|
|
5900
|
+
"description": "Popup menu radius, optional values are `normal` `large`",
|
|
5901
|
+
"default": "normal",
|
|
5902
|
+
"value": {
|
|
5903
|
+
"type": "string",
|
|
5904
|
+
"kind": "expression"
|
|
5905
|
+
}
|
|
5906
|
+
},
|
|
5889
5907
|
{
|
|
5890
5908
|
"name": "same-width",
|
|
5891
5909
|
"description": "Whether to same width as trigger element",
|
|
@@ -6155,6 +6173,15 @@
|
|
|
6155
6173
|
"kind": "expression"
|
|
6156
6174
|
}
|
|
6157
6175
|
},
|
|
6176
|
+
{
|
|
6177
|
+
"name": "radius",
|
|
6178
|
+
"description": "Popup menu radius, optional values are `normal` `large`",
|
|
6179
|
+
"default": "normal",
|
|
6180
|
+
"value": {
|
|
6181
|
+
"type": "string",
|
|
6182
|
+
"kind": "expression"
|
|
6183
|
+
}
|
|
6184
|
+
},
|
|
6158
6185
|
{
|
|
6159
6186
|
"name": "same-width",
|
|
6160
6187
|
"description": "Whether to same width as trigger element",
|
|
@@ -8059,6 +8086,15 @@
|
|
|
8059
8086
|
"kind": "expression"
|
|
8060
8087
|
}
|
|
8061
8088
|
},
|
|
8089
|
+
{
|
|
8090
|
+
"name": "menu-radius",
|
|
8091
|
+
"description": "Popup menu radius, optional values are `normal` `large`; does not affect the select field",
|
|
8092
|
+
"default": "normal",
|
|
8093
|
+
"value": {
|
|
8094
|
+
"type": "string",
|
|
8095
|
+
"kind": "expression"
|
|
8096
|
+
}
|
|
8097
|
+
},
|
|
8062
8098
|
{
|
|
8063
8099
|
"name": "chip",
|
|
8064
8100
|
"description": "Whether to use chip style (multiple choices only)",
|
|
@@ -8670,6 +8706,15 @@
|
|
|
8670
8706
|
"kind": "expression"
|
|
8671
8707
|
}
|
|
8672
8708
|
},
|
|
8709
|
+
{
|
|
8710
|
+
"name": "progress",
|
|
8711
|
+
"description": "Whether to show dismissal countdown",
|
|
8712
|
+
"default": "false",
|
|
8713
|
+
"value": {
|
|
8714
|
+
"type": "boolean",
|
|
8715
|
+
"kind": "expression"
|
|
8716
|
+
}
|
|
8717
|
+
},
|
|
8673
8718
|
{
|
|
8674
8719
|
"name": "elevation",
|
|
8675
8720
|
"description": "Elevation level, options `true` `false` and level of `0-24`",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
|
-
"version": "3.20.
|
|
4
|
+
"version": "3.20.9",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -457,6 +457,15 @@
|
|
|
457
457
|
"kind": "expression"
|
|
458
458
|
}
|
|
459
459
|
},
|
|
460
|
+
{
|
|
461
|
+
"name": "menu-radius",
|
|
462
|
+
"description": "弹出菜单圆角,可选值 `normal` `large`",
|
|
463
|
+
"default": "normal",
|
|
464
|
+
"value": {
|
|
465
|
+
"type": "string",
|
|
466
|
+
"kind": "expression"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
460
469
|
{
|
|
461
470
|
"name": "options",
|
|
462
471
|
"description": "指定可选项",
|
|
@@ -5628,6 +5637,15 @@
|
|
|
5628
5637
|
"kind": "expression"
|
|
5629
5638
|
}
|
|
5630
5639
|
},
|
|
5640
|
+
{
|
|
5641
|
+
"name": "radius",
|
|
5642
|
+
"description": "弹出菜单圆角,可选值 `normal` `large`",
|
|
5643
|
+
"default": "normal",
|
|
5644
|
+
"value": {
|
|
5645
|
+
"type": "string",
|
|
5646
|
+
"kind": "expression"
|
|
5647
|
+
}
|
|
5648
|
+
},
|
|
5631
5649
|
{
|
|
5632
5650
|
"name": "same-width",
|
|
5633
5651
|
"description": "是否与触发元素同宽",
|
|
@@ -5897,6 +5915,15 @@
|
|
|
5897
5915
|
"kind": "expression"
|
|
5898
5916
|
}
|
|
5899
5917
|
},
|
|
5918
|
+
{
|
|
5919
|
+
"name": "radius",
|
|
5920
|
+
"description": "弹出菜单圆角,可选值 `normal` `large`",
|
|
5921
|
+
"default": "normal",
|
|
5922
|
+
"value": {
|
|
5923
|
+
"type": "string",
|
|
5924
|
+
"kind": "expression"
|
|
5925
|
+
}
|
|
5926
|
+
},
|
|
5900
5927
|
{
|
|
5901
5928
|
"name": "same-width",
|
|
5902
5929
|
"description": "是否与触发元素同宽",
|
|
@@ -7977,6 +8004,15 @@
|
|
|
7977
8004
|
"kind": "expression"
|
|
7978
8005
|
}
|
|
7979
8006
|
},
|
|
8007
|
+
{
|
|
8008
|
+
"name": "menu-radius",
|
|
8009
|
+
"description": "弹出菜单圆角,可选值 `normal` `large`,不影响选择框",
|
|
8010
|
+
"default": "normal",
|
|
8011
|
+
"value": {
|
|
8012
|
+
"type": "string",
|
|
8013
|
+
"kind": "expression"
|
|
8014
|
+
}
|
|
8015
|
+
},
|
|
7980
8016
|
{
|
|
7981
8017
|
"name": "chip",
|
|
7982
8018
|
"description": "是否使用纸片风格(仅限多选)",
|
|
@@ -8572,7 +8608,7 @@
|
|
|
8572
8608
|
},
|
|
8573
8609
|
{
|
|
8574
8610
|
"name": "position",
|
|
8575
|
-
"description": "`Snackbar`
|
|
8611
|
+
"description": "`Snackbar` 位置,可选值为 `top center bottom`",
|
|
8576
8612
|
"default": "top",
|
|
8577
8613
|
"value": {
|
|
8578
8614
|
"type": "string",
|
|
@@ -8588,6 +8624,15 @@
|
|
|
8588
8624
|
"kind": "expression"
|
|
8589
8625
|
}
|
|
8590
8626
|
},
|
|
8627
|
+
{
|
|
8628
|
+
"name": "progress",
|
|
8629
|
+
"description": "是否显示自动关闭倒计时进度条",
|
|
8630
|
+
"default": "false",
|
|
8631
|
+
"value": {
|
|
8632
|
+
"type": "boolean",
|
|
8633
|
+
"kind": "expression"
|
|
8634
|
+
}
|
|
8635
|
+
},
|
|
8591
8636
|
{
|
|
8592
8637
|
"name": "elevation",
|
|
8593
8638
|
"description": "海拔高度,可选值为 `true` `false` 和 `0-24` 的等级",
|
|
@@ -8626,7 +8671,7 @@
|
|
|
8626
8671
|
},
|
|
8627
8672
|
{
|
|
8628
8673
|
"name": "loading-type",
|
|
8629
|
-
"description": "Loading
|
|
8674
|
+
"description": "Loading 类型(见 `Loading` 组件)",
|
|
8630
8675
|
"default": "circle",
|
|
8631
8676
|
"value": {
|
|
8632
8677
|
"type": "string",
|
|
@@ -8635,7 +8680,7 @@
|
|
|
8635
8680
|
},
|
|
8636
8681
|
{
|
|
8637
8682
|
"name": "loading-size",
|
|
8638
|
-
"description": "Loading
|
|
8683
|
+
"description": "Loading 大小(见 `Loading` 组件)",
|
|
8639
8684
|
"default": "normal",
|
|
8640
8685
|
"value": {
|
|
8641
8686
|
"type": "string",
|
|
@@ -8644,7 +8689,7 @@
|
|
|
8644
8689
|
},
|
|
8645
8690
|
{
|
|
8646
8691
|
"name": "loading-color",
|
|
8647
|
-
"description": "
|
|
8692
|
+
"description": "Loading 颜色(见 `Loading` 组件)",
|
|
8648
8693
|
"default": "currentColor",
|
|
8649
8694
|
"value": {
|
|
8650
8695
|
"type": "string",
|
|
@@ -8653,7 +8698,7 @@
|
|
|
8653
8698
|
},
|
|
8654
8699
|
{
|
|
8655
8700
|
"name": "loading-radius",
|
|
8656
|
-
"description": "Loading
|
|
8701
|
+
"description": "Loading 半径(见 `Loading` 组件)",
|
|
8657
8702
|
"default": "-",
|
|
8658
8703
|
"value": {
|
|
8659
8704
|
"type": "string | number",
|