@varlet/ui 3.2.2 → 3.2.4

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.
@@ -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.2.2",
4
+ "version": "3.2.4",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -3220,6 +3220,15 @@
3220
3220
  "kind": "expression"
3221
3221
  }
3222
3222
  },
3223
+ {
3224
+ "name": "position",
3225
+ "description": "The position of the replaceable element's content in its content box, equal to [object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position)",
3226
+ "default": "50% 50%",
3227
+ "value": {
3228
+ "type": "string",
3229
+ "kind": "expression"
3230
+ }
3231
+ },
3223
3232
  {
3224
3233
  "name": "alt",
3225
3234
  "description": "Image alt text, the same as the native attribute of the `img` tag",
@@ -3268,7 +3277,7 @@
3268
3277
  {
3269
3278
  "name": "radius",
3270
3279
  "description": "Image radius",
3271
- "default": "-",
3280
+ "default": "0",
3272
3281
  "value": {
3273
3282
  "type": "string | number",
3274
3283
  "kind": "expression"
@@ -3345,7 +3354,7 @@
3345
3354
  "name": "var-image-preview",
3346
3355
  "attributes": [
3347
3356
  {
3348
- "name": "show",
3357
+ "name": "v-model:show",
3349
3358
  "description": "Whether or display",
3350
3359
  "default": "false",
3351
3360
  "value": {
@@ -6680,7 +6689,7 @@
6680
6689
  },
6681
6690
  {
6682
6691
  "name": "navigation",
6683
- "description": "Whether to show navigation arrows",
6692
+ "description": "Whether to show navigation arrows. When set to `hover`, navigation buttons will be displayed when the pointer is hovering",
6684
6693
  "default": "false",
6685
6694
  "value": {
6686
6695
  "type": "boolean | string",
@@ -6852,6 +6861,15 @@
6852
6861
  "type": "ValidateTriggers[]",
6853
6862
  "kind": "expression"
6854
6863
  }
6864
+ },
6865
+ {
6866
+ "name": "variant",
6867
+ "description": "Variant mode",
6868
+ "default": "false",
6869
+ "value": {
6870
+ "type": "boolean",
6871
+ "kind": "expression"
6872
+ }
6855
6873
  }
6856
6874
  ],
6857
6875
  "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.2.2",
4
+ "version": "3.2.4",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -1242,7 +1242,7 @@
1242
1242
  }
1243
1243
  },
1244
1244
  {
1245
- "name": "floating",
1245
+ "name": "v-model:floating",
1246
1246
  "description": "是否开启全屏",
1247
1247
  "default": "false",
1248
1248
  "value": {
@@ -3379,6 +3379,15 @@
3379
3379
  "kind": "expression"
3380
3380
  }
3381
3381
  },
3382
+ {
3383
+ "name": "position",
3384
+ "description": "可替换元素的内容在其内容框中的位置,等同于 [object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position)",
3385
+ "default": "50% 50%",
3386
+ "value": {
3387
+ "type": "string",
3388
+ "kind": "expression"
3389
+ }
3390
+ },
3382
3391
  {
3383
3392
  "name": "alt",
3384
3393
  "description": "替代文本,和 `img` 标签原生属性一致",
@@ -3427,7 +3436,7 @@
3427
3436
  {
3428
3437
  "name": "radius",
3429
3438
  "description": "图片圆角",
3430
- "default": "-",
3439
+ "default": "0",
3431
3440
  "value": {
3432
3441
  "type": "string | number",
3433
3442
  "kind": "expression"
@@ -3504,7 +3513,7 @@
3504
3513
  "name": "var-image-preview",
3505
3514
  "attributes": [
3506
3515
  {
3507
- "name": "show",
3516
+ "name": "v-model:show",
3508
3517
  "description": "是否显示",
3509
3518
  "default": "false",
3510
3519
  "value": {
@@ -7011,7 +7020,7 @@
7011
7020
  },
7012
7021
  {
7013
7022
  "name": "navigation",
7014
- "description": "是否显示导航箭头",
7023
+ "description": "是否显示导航箭头。设置为 `hover` 时,指针悬浮会显示导航按钮",
7015
7024
  "default": "false",
7016
7025
  "value": {
7017
7026
  "type": "boolean | string",
@@ -7183,6 +7192,15 @@
7183
7192
  "type": "ValidateTriggers[]",
7184
7193
  "kind": "expression"
7185
7194
  }
7195
+ },
7196
+ {
7197
+ "name": "variant",
7198
+ "description": "变体模式",
7199
+ "default": "false",
7200
+ "value": {
7201
+ "type": "boolean",
7202
+ "kind": "expression"
7203
+ }
7186
7204
  }
7187
7205
  ],
7188
7206
  "events": [