@varlet/ui 2.18.0 → 2.18.1
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/chip/Chip.mjs +1 -1
- package/es/chip/props.mjs +2 -0
- package/es/counter/Counter.mjs +1 -1
- package/es/date-picker/DatePicker.mjs +34 -13
- package/es/date-picker/date-picker.css +1 -1
- package/es/date-picker/props.mjs +3 -0
- package/es/date-picker/src/year-picker-panel.mjs +5 -2
- package/es/floating-panel/FloatingPanel.mjs +4 -1
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/locale/en-US.mjs +4 -1
- package/es/locale/zh-CN.mjs +4 -1
- package/es/rate/Rate.mjs +9 -7
- package/es/rate/props.mjs +1 -1
- package/es/select/Select.mjs +1 -1
- package/es/style.css +1 -1
- package/es/time-picker/TimePicker.mjs +73 -51
- package/es/time-picker/props.mjs +3 -0
- package/es/time-picker/timePicker.css +1 -1
- package/es/utils/test.mjs +7 -0
- package/es/varlet.esm.js +560 -500
- package/highlight/web-types.en-US.json +28 -10
- package/highlight/web-types.zh-CN.json +29 -11
- package/lib/style.css +1 -1
- package/lib/varlet.cjs.js +143 -79
- package/package.json +7 -7
- package/types/backTop.d.ts +1 -1
- package/types/chip.d.ts +2 -0
- package/types/datePicker.d.ts +4 -1
- package/types/rate.d.ts +3 -3
- package/types/switch.d.ts +1 -1
- package/types/timePicker.d.ts +3 -0
- package/umd/varlet.js +6 -6
|
@@ -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": "2.18.
|
|
4
|
+
"version": "2.18.1",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
},
|
|
465
465
|
{
|
|
466
466
|
"name": "duration",
|
|
467
|
-
"description": "Time to return to top
|
|
467
|
+
"description": "Time to return to top(ms)",
|
|
468
468
|
"default": "300",
|
|
469
469
|
"value": {
|
|
470
470
|
"type": "number",
|
|
@@ -2018,16 +2018,25 @@
|
|
|
2018
2018
|
{
|
|
2019
2019
|
"name": "color",
|
|
2020
2020
|
"description": "Picker color",
|
|
2021
|
-
"default": "
|
|
2021
|
+
"default": "-",
|
|
2022
2022
|
"value": {
|
|
2023
2023
|
"type": "string",
|
|
2024
2024
|
"kind": "expression"
|
|
2025
2025
|
}
|
|
2026
2026
|
},
|
|
2027
2027
|
{
|
|
2028
|
-
"name": "
|
|
2029
|
-
"description": "Color of picker
|
|
2030
|
-
"default": "
|
|
2028
|
+
"name": "title-color",
|
|
2029
|
+
"description": "Color of picker title. If not specified it will use `color` prop or the default picker color.",
|
|
2030
|
+
"default": "-",
|
|
2031
|
+
"value": {
|
|
2032
|
+
"type": "string",
|
|
2033
|
+
"kind": "expression"
|
|
2034
|
+
}
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
"name": "hint",
|
|
2038
|
+
"description": "Picker hint",
|
|
2039
|
+
"default": "SELECT DATE",
|
|
2031
2040
|
"value": {
|
|
2032
2041
|
"type": "string",
|
|
2033
2042
|
"kind": "expression"
|
|
@@ -6980,16 +6989,25 @@
|
|
|
6980
6989
|
{
|
|
6981
6990
|
"name": "color",
|
|
6982
6991
|
"description": "Picker color",
|
|
6983
|
-
"default": "
|
|
6992
|
+
"default": "-",
|
|
6984
6993
|
"value": {
|
|
6985
6994
|
"type": "string",
|
|
6986
6995
|
"kind": "expression"
|
|
6987
6996
|
}
|
|
6988
6997
|
},
|
|
6989
6998
|
{
|
|
6990
|
-
"name": "
|
|
6991
|
-
"description": "Color of picker
|
|
6992
|
-
"default": "
|
|
6999
|
+
"name": "title-color",
|
|
7000
|
+
"description": "Color of picker title. If not specified it will use the color defined by `color` prop or the default picker color.",
|
|
7001
|
+
"default": "-",
|
|
7002
|
+
"value": {
|
|
7003
|
+
"type": "string",
|
|
7004
|
+
"kind": "expression"
|
|
7005
|
+
}
|
|
7006
|
+
},
|
|
7007
|
+
{
|
|
7008
|
+
"name": "hint",
|
|
7009
|
+
"description": "Picker hint",
|
|
7010
|
+
"default": "SELECT TIME",
|
|
6993
7011
|
"value": {
|
|
6994
7012
|
"type": "string",
|
|
6995
7013
|
"kind": "expression"
|
|
@@ -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": "2.18.
|
|
4
|
+
"version": "2.18.1",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -2177,16 +2177,25 @@
|
|
|
2177
2177
|
{
|
|
2178
2178
|
"name": "color",
|
|
2179
2179
|
"description": "选择器的颜色",
|
|
2180
|
-
"default": "
|
|
2180
|
+
"default": "-",
|
|
2181
2181
|
"value": {
|
|
2182
2182
|
"type": "string",
|
|
2183
2183
|
"kind": "expression"
|
|
2184
2184
|
}
|
|
2185
2185
|
},
|
|
2186
2186
|
{
|
|
2187
|
-
"name": "
|
|
2188
|
-
"description": "
|
|
2189
|
-
"default": "
|
|
2187
|
+
"name": "title-color",
|
|
2188
|
+
"description": "标题背景色。如果未指定,将使用 `color` 属性或默认颜色。",
|
|
2189
|
+
"default": "-",
|
|
2190
|
+
"value": {
|
|
2191
|
+
"type": "string",
|
|
2192
|
+
"kind": "expression"
|
|
2193
|
+
}
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
"name": "hint",
|
|
2197
|
+
"description": "选择器提示语",
|
|
2198
|
+
"default": "选择日期",
|
|
2190
2199
|
"value": {
|
|
2191
2200
|
"type": "string",
|
|
2192
2201
|
"kind": "expression"
|
|
@@ -5511,7 +5520,7 @@
|
|
|
5511
5520
|
"description": "当前分数",
|
|
5512
5521
|
"default": "0",
|
|
5513
5522
|
"value": {
|
|
5514
|
-
"type": "number
|
|
5523
|
+
"type": "number",
|
|
5515
5524
|
"kind": "expression"
|
|
5516
5525
|
}
|
|
5517
5526
|
},
|
|
@@ -5643,7 +5652,7 @@
|
|
|
5643
5652
|
},
|
|
5644
5653
|
{
|
|
5645
5654
|
"name": "readonly",
|
|
5646
|
-
"description": "
|
|
5655
|
+
"description": "是否为只读状态,只读状态下无法修改评分",
|
|
5647
5656
|
"default": "false",
|
|
5648
5657
|
"value": {
|
|
5649
5658
|
"type": "boolean",
|
|
@@ -7320,16 +7329,25 @@
|
|
|
7320
7329
|
{
|
|
7321
7330
|
"name": "color",
|
|
7322
7331
|
"description": "选择器的颜色",
|
|
7323
|
-
"default": "
|
|
7332
|
+
"default": "-",
|
|
7324
7333
|
"value": {
|
|
7325
7334
|
"type": "string",
|
|
7326
7335
|
"kind": "expression"
|
|
7327
7336
|
}
|
|
7328
7337
|
},
|
|
7329
7338
|
{
|
|
7330
|
-
"name": "
|
|
7331
|
-
"description": "
|
|
7332
|
-
"default": "
|
|
7339
|
+
"name": "title-color",
|
|
7340
|
+
"description": "选择器标题栏背景色,如果未指定,将使用 `color` 属性或默认颜色。",
|
|
7341
|
+
"default": "-",
|
|
7342
|
+
"value": {
|
|
7343
|
+
"type": "string",
|
|
7344
|
+
"kind": "expression"
|
|
7345
|
+
}
|
|
7346
|
+
},
|
|
7347
|
+
{
|
|
7348
|
+
"name": "hint",
|
|
7349
|
+
"description": "选择器提示语",
|
|
7350
|
+
"default": "选择时间",
|
|
7333
7351
|
"value": {
|
|
7334
7352
|
"type": "string",
|
|
7335
7353
|
"kind": "expression"
|