@varlet/ui 3.2.14 → 3.2.15-alpha.1718191007402

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.
Files changed (54) hide show
  1. package/es/action-sheet/ActionSheet.mjs +4 -1
  2. package/es/action-sheet/style/index.mjs +1 -1
  3. package/es/app-bar/AppBar.mjs +2 -1
  4. package/es/back-top/backTop.css +1 -1
  5. package/es/bottom-navigation/BottomNavigation.mjs +2 -1
  6. package/es/button/button.css +1 -1
  7. package/es/card/Card.mjs +9 -3
  8. package/es/checkbox/checkbox.css +1 -1
  9. package/es/chip/chip.css +1 -1
  10. package/es/collapse-item/collapseItem.css +1 -1
  11. package/es/counter/counter.css +1 -1
  12. package/es/date-picker/DatePicker.mjs +10 -7
  13. package/es/date-picker/date-picker.css +1 -1
  14. package/es/dialog/Dialog.mjs +6 -3
  15. package/es/index-bar/indexBar.css +1 -1
  16. package/es/index.bundle.mjs +7 -1
  17. package/es/index.mjs +6 -1
  18. package/es/list/List.mjs +7 -4
  19. package/es/list/list.css +1 -1
  20. package/es/locale/index.mjs +15 -8
  21. package/es/locale-provider/LocaleProvider.mjs +26 -0
  22. package/es/locale-provider/index.mjs +11 -0
  23. package/es/locale-provider/props.mjs +13 -0
  24. package/es/locale-provider/provide.mjs +17 -0
  25. package/es/locale-provider/style/index.mjs +0 -0
  26. package/es/menu-option/menuOption.css +1 -1
  27. package/es/option/option.css +1 -1
  28. package/es/pagination/Pagination.mjs +7 -4
  29. package/es/picker/Picker.mjs +7 -4
  30. package/es/radio/radio.css +1 -1
  31. package/es/rate/rate.css +1 -1
  32. package/es/slider/slider.css +1 -1
  33. package/es/snackbar/core.mjs +4 -3
  34. package/es/snackbar/index.mjs +1 -0
  35. package/es/snackbar/props.mjs +4 -0
  36. package/es/step/step.css +1 -1
  37. package/es/style.css +1 -1
  38. package/es/style.mjs +1 -0
  39. package/es/switch/switch.css +1 -1
  40. package/es/tab/tab.css +1 -1
  41. package/es/time-picker/timePicker.css +1 -1
  42. package/es/uploader/uploader.css +1 -1
  43. package/es/varlet.esm.js +6248 -6184
  44. package/highlight/web-types.en-US.json +66 -3
  45. package/highlight/web-types.zh-CN.json +66 -3
  46. package/lib/style.css +1 -1
  47. package/lib/varlet.cjs.js +1143 -1066
  48. package/package.json +7 -9
  49. package/types/card.d.ts +15 -3
  50. package/types/index.d.ts +2 -0
  51. package/types/locale.d.ts +4 -4
  52. package/types/localeProvider.d.ts +21 -0
  53. package/types/snackbar.d.ts +2 -0
  54. 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.2.14",
4
+ "version": "3.2.15-alpha.1718191007402",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -4182,9 +4182,63 @@
4182
4182
  },
4183
4183
  {
4184
4184
  "name": "var-locale",
4185
- "attributes": [],
4185
+ "attributes": [
4186
+ {
4187
+ "name": "locale",
4188
+ "description": "Current locale",
4189
+ "default": "zh-CN",
4190
+ "value": {
4191
+ "type": "string",
4192
+ "kind": "expression"
4193
+ }
4194
+ },
4195
+ {
4196
+ "name": "tag",
4197
+ "description": "Tag name",
4198
+ "default": "div",
4199
+ "value": {
4200
+ "type": "string",
4201
+ "kind": "expression"
4202
+ }
4203
+ }
4204
+ ],
4186
4205
  "events": [],
4187
- "slots": []
4206
+ "slots": [
4207
+ {
4208
+ "name": "default",
4209
+ "description": "Component content"
4210
+ }
4211
+ ]
4212
+ },
4213
+ {
4214
+ "name": "var-locale-provider",
4215
+ "attributes": [
4216
+ {
4217
+ "name": "locale",
4218
+ "description": "Current locale",
4219
+ "default": "zh-CN",
4220
+ "value": {
4221
+ "type": "string",
4222
+ "kind": "expression"
4223
+ }
4224
+ },
4225
+ {
4226
+ "name": "tag",
4227
+ "description": "Tag name",
4228
+ "default": "div",
4229
+ "value": {
4230
+ "type": "string",
4231
+ "kind": "expression"
4232
+ }
4233
+ }
4234
+ ],
4235
+ "events": [],
4236
+ "slots": [
4237
+ {
4238
+ "name": "default",
4239
+ "description": "Component content"
4240
+ }
4241
+ ]
4188
4242
  },
4189
4243
  {
4190
4244
  "name": "var-menu",
@@ -6290,6 +6344,15 @@
6290
6344
  "kind": "expression"
6291
6345
  }
6292
6346
  },
6347
+ {
6348
+ "name": "elevation",
6349
+ "description": "Elevation level, options `true` `false` and level of `0-24`",
6350
+ "default": "true",
6351
+ "value": {
6352
+ "type": "string | number | boolean",
6353
+ "kind": "expression"
6354
+ }
6355
+ },
6293
6356
  {
6294
6357
  "name": "content",
6295
6358
  "description": "Custom content",
@@ -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.14",
4
+ "version": "3.2.15-alpha.1718191007402",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -4341,9 +4341,63 @@
4341
4341
  },
4342
4342
  {
4343
4343
  "name": "var-locale",
4344
- "attributes": [],
4344
+ "attributes": [
4345
+ {
4346
+ "name": "locale",
4347
+ "description": "当前语言",
4348
+ "default": "zh-CN",
4349
+ "value": {
4350
+ "type": "string",
4351
+ "kind": "expression"
4352
+ }
4353
+ },
4354
+ {
4355
+ "name": "tag",
4356
+ "description": "自定义标签名",
4357
+ "default": "div",
4358
+ "value": {
4359
+ "type": "string",
4360
+ "kind": "expression"
4361
+ }
4362
+ }
4363
+ ],
4345
4364
  "events": [],
4346
- "slots": []
4365
+ "slots": [
4366
+ {
4367
+ "name": "default",
4368
+ "description": "组件内容"
4369
+ }
4370
+ ]
4371
+ },
4372
+ {
4373
+ "name": "var-locale-provider",
4374
+ "attributes": [
4375
+ {
4376
+ "name": "locale",
4377
+ "description": "当前语言",
4378
+ "default": "zh-CN",
4379
+ "value": {
4380
+ "type": "string",
4381
+ "kind": "expression"
4382
+ }
4383
+ },
4384
+ {
4385
+ "name": "tag",
4386
+ "description": "自定义标签名",
4387
+ "default": "div",
4388
+ "value": {
4389
+ "type": "string",
4390
+ "kind": "expression"
4391
+ }
4392
+ }
4393
+ ],
4394
+ "events": [],
4395
+ "slots": [
4396
+ {
4397
+ "name": "default",
4398
+ "description": "组件内容"
4399
+ }
4400
+ ]
4347
4401
  },
4348
4402
  {
4349
4403
  "name": "var-menu",
@@ -6621,6 +6675,15 @@
6621
6675
  "kind": "expression"
6622
6676
  }
6623
6677
  },
6678
+ {
6679
+ "name": "elevation",
6680
+ "description": "海拔高度,可选值为 `true` `false` 和 `0-24` 的等级",
6681
+ "default": "true",
6682
+ "value": {
6683
+ "type": "string | number | boolean",
6684
+ "kind": "expression"
6685
+ }
6686
+ },
6624
6687
  {
6625
6688
  "name": "content",
6626
6689
  "description": "自定义内容",