@varlet/ui 3.0.3 → 3.0.5
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 +1 -0
- package/README.zh-CN.md +1 -0
- package/es/app-bar/AppBar.mjs +6 -3
- package/es/app-bar/appBar.css +1 -1
- package/es/app-bar/props.mjs +6 -1
- package/es/button/Button.mjs +10 -5
- package/es/field-decorator/fieldDecorator.css +1 -1
- package/es/hover/index.mjs +3 -4
- package/es/hover-overlay/HoverOverlay.mjs +1 -1
- package/es/hover-overlay/hoverOverlay.css +1 -1
- package/es/hover-overlay/props.mjs +2 -4
- package/es/hover-overlay/style/index.mjs +1 -0
- package/es/image/Image.mjs +4 -2
- package/es/image/props.mjs +1 -0
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/menu/usePopover.mjs +2 -1
- package/es/ripple/index.mjs +24 -3
- package/es/snackbar/style/index.mjs +1 -1
- package/es/style.css +1 -1
- package/es/styles/common.css +1 -1
- package/es/themes/dark/hoverOverlay.mjs +2 -1
- package/es/themes/dark/index.mjs +2 -0
- package/es/themes/md3-dark/hoverOverlay.mjs +2 -1
- package/es/themes/md3-dark/index.mjs +2 -0
- package/es/themes/md3-light/hoverOverlay.mjs +2 -1
- package/es/themes/md3-light/index.mjs +2 -0
- package/es/utils/test.mjs +10 -3
- package/es/varlet.esm.js +3647 -3618
- package/highlight/web-types.en-US.json +38 -2
- package/highlight/web-types.zh-CN.json +28 -1
- package/lib/style.css +1 -1
- package/lib/varlet.cjs.js +69 -24
- package/package.json +7 -7
- package/types/appBar.d.ts +2 -0
- package/types/image.d.ts +2 -1
- package/types/input.d.ts +2 -2
- package/types/styleVars.d.ts +4 -0
- package/types/uploader.d.ts +2 -2
- 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": "3.0.
|
|
4
|
+
"version": "3.0.5",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -194,6 +194,24 @@
|
|
|
194
194
|
"kind": "expression"
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
|
+
{
|
|
198
|
+
"name": "fixed",
|
|
199
|
+
"description": "Whether to fixed to the top",
|
|
200
|
+
"default": "false",
|
|
201
|
+
"value": {
|
|
202
|
+
"type": "boolean",
|
|
203
|
+
"kind": "expression"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "z-index",
|
|
208
|
+
"description": "AppBar element z-index",
|
|
209
|
+
"default": "1",
|
|
210
|
+
"value": {
|
|
211
|
+
"type": "number | string",
|
|
212
|
+
"kind": "expression"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
197
215
|
{
|
|
198
216
|
"name": "round",
|
|
199
217
|
"description": "Whether to use rounded border",
|
|
@@ -3176,9 +3194,27 @@
|
|
|
3176
3194
|
"kind": "expression"
|
|
3177
3195
|
}
|
|
3178
3196
|
},
|
|
3197
|
+
{
|
|
3198
|
+
"name": "title",
|
|
3199
|
+
"description": "Image title text, the same as with the native attributes of the `img` tag",
|
|
3200
|
+
"default": "-",
|
|
3201
|
+
"value": {
|
|
3202
|
+
"type": "string",
|
|
3203
|
+
"kind": "expression"
|
|
3204
|
+
}
|
|
3205
|
+
},
|
|
3206
|
+
{
|
|
3207
|
+
"name": "referrerpolicy",
|
|
3208
|
+
"description": "Indicate which referrer to use when fetching the resource. This attribute requires attention to browser compatibility, see [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img)",
|
|
3209
|
+
"default": "-",
|
|
3210
|
+
"value": {
|
|
3211
|
+
"type": "string",
|
|
3212
|
+
"kind": "expression"
|
|
3213
|
+
}
|
|
3214
|
+
},
|
|
3179
3215
|
{
|
|
3180
3216
|
"name": "width",
|
|
3181
|
-
"description": "Image
|
|
3217
|
+
"description": "Image width",
|
|
3182
3218
|
"default": "-",
|
|
3183
3219
|
"value": {
|
|
3184
3220
|
"type": "string | number",
|
|
@@ -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.0.
|
|
4
|
+
"version": "3.0.5",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -194,6 +194,24 @@
|
|
|
194
194
|
"kind": "expression"
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
|
+
{
|
|
198
|
+
"name": "fixed",
|
|
199
|
+
"description": "是否固定到顶部",
|
|
200
|
+
"default": "false",
|
|
201
|
+
"value": {
|
|
202
|
+
"type": "boolean",
|
|
203
|
+
"kind": "expression"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "z-index",
|
|
208
|
+
"description": "元素 z-index",
|
|
209
|
+
"default": "1",
|
|
210
|
+
"value": {
|
|
211
|
+
"type": "number | string",
|
|
212
|
+
"kind": "expression"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
197
215
|
{
|
|
198
216
|
"name": "round",
|
|
199
217
|
"description": "是否使用圆角",
|
|
@@ -3344,6 +3362,15 @@
|
|
|
3344
3362
|
"kind": "expression"
|
|
3345
3363
|
}
|
|
3346
3364
|
},
|
|
3365
|
+
{
|
|
3366
|
+
"name": "referrerpolicy",
|
|
3367
|
+
"description": "指示在获取资源时使用的来源地址。该属性需注意浏览器兼容性,参见 [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img)",
|
|
3368
|
+
"default": "-",
|
|
3369
|
+
"value": {
|
|
3370
|
+
"type": "string",
|
|
3371
|
+
"kind": "expression"
|
|
3372
|
+
}
|
|
3373
|
+
},
|
|
3347
3374
|
{
|
|
3348
3375
|
"name": "width",
|
|
3349
3376
|
"description": "图片宽度",
|