@varlet/ui 3.13.1 → 3.14.0
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 -10
- package/es/action-sheet/style/index.mjs +1 -1
- package/es/field-decorator/fieldDecorator.css +1 -1
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/locale/en-US.mjs +3 -1
- package/es/locale/fa-IR.mjs +3 -1
- package/es/locale/ja-JP.mjs +3 -1
- package/es/locale/zh-CN.mjs +3 -1
- package/es/locale/zh-TW.mjs +3 -1
- package/es/option/Option.mjs +31 -2
- package/es/select/Select.mjs +258 -45
- package/es/select/SelectFilter.mjs +61 -0
- package/es/select/props.mjs +4 -0
- package/es/select/select.css +1 -1
- package/es/select/useOptionsMutationObserver.mjs +73 -0
- package/es/select/useSelectFilterSize.mjs +27 -0
- package/es/themes/dark/fieldDecorator.mjs +1 -1
- package/es/themes/dark/select.mjs +4 -1
- package/es/themes/md3-dark/fieldDecorator.mjs +1 -1
- package/es/themes/md3-dark/select.mjs +4 -1
- package/es/themes/md3-light/fieldDecorator.mjs +1 -1
- package/es/themes/md3-light/select.mjs +4 -1
- package/es/varlet.css +1 -1
- package/es/varlet.esm.js +7925 -7607
- package/highlight/web-types.en-US.json +23 -1
- package/highlight/web-types.zh-CN.json +23 -1
- package/lib/varlet.cjs.js +2236 -1832
- package/lib/varlet.css +1 -1
- package/package.json +7 -7
- package/types/index.d.ts +2 -2
- package/types/select.d.ts +5 -0
- package/types/styleVars.d.ts +3 -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.
|
|
4
|
+
"version": "3.14.0",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -6851,6 +6851,24 @@
|
|
|
6851
6851
|
"type": "string",
|
|
6852
6852
|
"kind": "expression"
|
|
6853
6853
|
}
|
|
6854
|
+
},
|
|
6855
|
+
{
|
|
6856
|
+
"name": "filterable",
|
|
6857
|
+
"description": "Whether to filter options",
|
|
6858
|
+
"default": "false",
|
|
6859
|
+
"value": {
|
|
6860
|
+
"type": "boolean",
|
|
6861
|
+
"kind": "expression"
|
|
6862
|
+
}
|
|
6863
|
+
},
|
|
6864
|
+
{
|
|
6865
|
+
"name": "filter",
|
|
6866
|
+
"description": "Custom filter method",
|
|
6867
|
+
"default": "-",
|
|
6868
|
+
"value": {
|
|
6869
|
+
"type": "(pattern: string, option: SelectOption) => boolean",
|
|
6870
|
+
"kind": "expression"
|
|
6871
|
+
}
|
|
6854
6872
|
}
|
|
6855
6873
|
],
|
|
6856
6874
|
"events": [
|
|
@@ -6899,6 +6917,10 @@
|
|
|
6899
6917
|
{
|
|
6900
6918
|
"name": "arrow-icon",
|
|
6901
6919
|
"description": "Arrow icon"
|
|
6920
|
+
},
|
|
6921
|
+
{
|
|
6922
|
+
"name": "empty",
|
|
6923
|
+
"description": "Content when there are no options or no filter results; allows full customization of the empty state container; when not used, shows default empty state with i18n text"
|
|
6902
6924
|
}
|
|
6903
6925
|
]
|
|
6904
6926
|
},
|
|
@@ -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.
|
|
4
|
+
"version": "3.14.0",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -7065,6 +7065,24 @@
|
|
|
7065
7065
|
"type": "string",
|
|
7066
7066
|
"kind": "expression"
|
|
7067
7067
|
}
|
|
7068
|
+
},
|
|
7069
|
+
{
|
|
7070
|
+
"name": "filterable",
|
|
7071
|
+
"description": "是否可以过滤",
|
|
7072
|
+
"default": "false",
|
|
7073
|
+
"value": {
|
|
7074
|
+
"type": "boolean",
|
|
7075
|
+
"kind": "expression"
|
|
7076
|
+
}
|
|
7077
|
+
},
|
|
7078
|
+
{
|
|
7079
|
+
"name": "filter",
|
|
7080
|
+
"description": "自定义过滤方法",
|
|
7081
|
+
"default": "-",
|
|
7082
|
+
"value": {
|
|
7083
|
+
"type": "(pattern: string, option: SelectOption) => boolean",
|
|
7084
|
+
"kind": "expression"
|
|
7085
|
+
}
|
|
7068
7086
|
}
|
|
7069
7087
|
],
|
|
7070
7088
|
"events": [
|
|
@@ -7113,6 +7131,10 @@
|
|
|
7113
7131
|
{
|
|
7114
7132
|
"name": "arrow-icon",
|
|
7115
7133
|
"description": "箭头图标"
|
|
7134
|
+
},
|
|
7135
|
+
{
|
|
7136
|
+
"name": "empty",
|
|
7137
|
+
"description": "无选项或过滤无结果时展示的内容,可完全定制整个空状态容器;未使用时为带国际化默认文案的默认空状态"
|
|
7116
7138
|
}
|
|
7117
7139
|
]
|
|
7118
7140
|
},
|