@varlet/ui 3.3.6 → 3.3.7-alpha.1721326819975
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/README.md +0 -8
- package/README.zh-CN.md +1 -5
- package/es/card/Card.mjs +14 -2
- package/es/card/card.css +1 -1
- package/es/context/lock.mjs +3 -1
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/menu-option/MenuOption.mjs +27 -9
- package/es/menu-option/props.mjs +3 -1
- package/es/menu-select/MenuSelect.mjs +23 -3
- package/es/menu-select/props.mjs +9 -0
- package/es/menu-select/style/index.mjs +1 -0
- package/es/style.css +1 -1
- package/es/styles/common.css +1 -1
- package/es/themes/dark/card.mjs +5 -0
- package/es/themes/dark/index.mjs +62 -31
- package/es/themes/md3-dark/card.mjs +5 -0
- package/es/themes/md3-dark/index.mjs +62 -31
- package/es/themes/md3-light/card.mjs +5 -0
- package/es/themes/md3-light/index.mjs +62 -31
- package/es/utils/components.mjs +3 -1
- package/es/varlet.esm.js +5484 -5321
- package/highlight/web-types.en-US.json +33 -2
- package/highlight/web-types.zh-CN.json +33 -2
- package/lib/style.css +1 -1
- package/lib/varlet.cjs.js +280 -109
- package/package.json +7 -7
- package/types/card.d.ts +1 -0
- package/types/menuSelect.d.ts +9 -0
- package/types/styleVars.d.ts +36 -0
- package/umd/varlet.js +8 -8
|
@@ -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.3.
|
|
4
|
+
"version": "3.3.7-alpha.1721326819975",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1139,6 +1139,10 @@
|
|
|
1139
1139
|
"name": "image",
|
|
1140
1140
|
"description": "Custom image"
|
|
1141
1141
|
},
|
|
1142
|
+
{
|
|
1143
|
+
"name": "default",
|
|
1144
|
+
"description": "Custom content"
|
|
1145
|
+
},
|
|
1142
1146
|
{
|
|
1143
1147
|
"name": "title",
|
|
1144
1148
|
"description": "Custom title"
|
|
@@ -3697,7 +3701,7 @@
|
|
|
3697
3701
|
},
|
|
3698
3702
|
{
|
|
3699
3703
|
"name": "type",
|
|
3700
|
-
"description": "Input type, The optional value is `text` `password` `number` `tel`
|
|
3704
|
+
"description": "Input type, The optional value is `text` `password` `number` `tel`",
|
|
3701
3705
|
"default": "text",
|
|
3702
3706
|
"value": {
|
|
3703
3707
|
"type": "string",
|
|
@@ -4664,6 +4668,33 @@
|
|
|
4664
4668
|
"type": "boolean",
|
|
4665
4669
|
"kind": "expression"
|
|
4666
4670
|
}
|
|
4671
|
+
},
|
|
4672
|
+
{
|
|
4673
|
+
"name": "options",
|
|
4674
|
+
"description": "Specifies options",
|
|
4675
|
+
"default": "-",
|
|
4676
|
+
"value": {
|
|
4677
|
+
"type": "MenuSelectOption[]",
|
|
4678
|
+
"kind": "expression"
|
|
4679
|
+
}
|
|
4680
|
+
},
|
|
4681
|
+
{
|
|
4682
|
+
"name": "label-key",
|
|
4683
|
+
"description": "As the key that uniquely identifies label",
|
|
4684
|
+
"default": "label",
|
|
4685
|
+
"value": {
|
|
4686
|
+
"type": "string",
|
|
4687
|
+
"kind": "expression"
|
|
4688
|
+
}
|
|
4689
|
+
},
|
|
4690
|
+
{
|
|
4691
|
+
"name": "value-key",
|
|
4692
|
+
"description": "As the key that uniquely identifies value",
|
|
4693
|
+
"default": "value",
|
|
4694
|
+
"value": {
|
|
4695
|
+
"type": "string",
|
|
4696
|
+
"kind": "expression"
|
|
4697
|
+
}
|
|
4667
4698
|
}
|
|
4668
4699
|
],
|
|
4669
4700
|
"events": [
|
|
@@ -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.3.
|
|
4
|
+
"version": "3.3.7-alpha.1721326819975",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1298,6 +1298,10 @@
|
|
|
1298
1298
|
"name": "image",
|
|
1299
1299
|
"description": "自定义图片"
|
|
1300
1300
|
},
|
|
1301
|
+
{
|
|
1302
|
+
"name": "default",
|
|
1303
|
+
"description": "自定义内容"
|
|
1304
|
+
},
|
|
1301
1305
|
{
|
|
1302
1306
|
"name": "title",
|
|
1303
1307
|
"description": "自定义标题"
|
|
@@ -3856,7 +3860,7 @@
|
|
|
3856
3860
|
},
|
|
3857
3861
|
{
|
|
3858
3862
|
"name": "type",
|
|
3859
|
-
"description": "输入框类型, 可选值为 `text` `password` `number` `tel`
|
|
3863
|
+
"description": "输入框类型, 可选值为 `text` `password` `number` `tel`",
|
|
3860
3864
|
"default": "text",
|
|
3861
3865
|
"value": {
|
|
3862
3866
|
"type": "string",
|
|
@@ -4823,6 +4827,33 @@
|
|
|
4823
4827
|
"type": "boolean",
|
|
4824
4828
|
"kind": "expression"
|
|
4825
4829
|
}
|
|
4830
|
+
},
|
|
4831
|
+
{
|
|
4832
|
+
"name": "options",
|
|
4833
|
+
"description": "指定可选项",
|
|
4834
|
+
"default": "-",
|
|
4835
|
+
"value": {
|
|
4836
|
+
"type": "MenuSelectOption[]",
|
|
4837
|
+
"kind": "expression"
|
|
4838
|
+
}
|
|
4839
|
+
},
|
|
4840
|
+
{
|
|
4841
|
+
"name": "label-key",
|
|
4842
|
+
"description": "作为 label 唯一标识的键名",
|
|
4843
|
+
"default": "label",
|
|
4844
|
+
"value": {
|
|
4845
|
+
"type": "string",
|
|
4846
|
+
"kind": "expression"
|
|
4847
|
+
}
|
|
4848
|
+
},
|
|
4849
|
+
{
|
|
4850
|
+
"name": "value-key",
|
|
4851
|
+
"description": "作为 value 唯一标识的键名",
|
|
4852
|
+
"default": "value",
|
|
4853
|
+
"value": {
|
|
4854
|
+
"type": "string",
|
|
4855
|
+
"kind": "expression"
|
|
4856
|
+
}
|
|
4826
4857
|
}
|
|
4827
4858
|
],
|
|
4828
4859
|
"events": [
|