@varlet/ui 3.2.14 → 3.2.15-alpha.1718196322899
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/es/action-sheet/ActionSheet.mjs +4 -1
- package/es/app-bar/AppBar.mjs +2 -1
- package/es/back-top/backTop.css +1 -1
- package/es/bottom-navigation/BottomNavigation.mjs +2 -1
- package/es/button/button.css +1 -1
- package/es/card/Card.mjs +9 -3
- package/es/checkbox/checkbox.css +1 -1
- package/es/chip/chip.css +1 -1
- package/es/collapse-item/collapseItem.css +1 -1
- package/es/counter/counter.css +1 -1
- package/es/date-picker/DatePicker.mjs +11 -8
- package/es/date-picker/date-picker.css +1 -1
- package/es/dialog/Dialog.mjs +7 -4
- package/es/index-bar/indexBar.css +1 -1
- package/es/index.bundle.mjs +7 -1
- package/es/index.mjs +6 -1
- package/es/list/List.mjs +7 -4
- package/es/list/list.css +1 -1
- package/es/locale/index.mjs +24 -8
- package/es/locale-provider/LocaleProvider.mjs +31 -0
- package/es/locale-provider/index.mjs +11 -0
- package/es/locale-provider/props.mjs +16 -0
- package/es/locale-provider/provide.mjs +17 -0
- package/es/locale-provider/style/index.mjs +0 -0
- package/es/menu-option/menuOption.css +1 -1
- package/es/option/option.css +1 -1
- package/es/pagination/Pagination.mjs +7 -4
- package/es/picker/Picker.mjs +7 -4
- package/es/radio/radio.css +1 -1
- package/es/rate/rate.css +1 -1
- package/es/slider/slider.css +1 -1
- package/es/snackbar/core.mjs +4 -3
- package/es/snackbar/index.mjs +1 -0
- package/es/snackbar/props.mjs +4 -0
- package/es/step/step.css +1 -1
- package/es/style.css +1 -1
- package/es/style.mjs +1 -0
- package/es/switch/switch.css +1 -1
- package/es/tab/tab.css +1 -1
- package/es/time-picker/TimePicker.mjs +4 -1
- package/es/time-picker/timePicker.css +1 -1
- package/es/uploader/uploader.css +1 -1
- package/es/varlet.esm.js +6440 -6358
- package/highlight/web-types.en-US.json +84 -3
- package/highlight/web-types.zh-CN.json +84 -3
- package/lib/style.css +1 -1
- package/lib/varlet.cjs.js +1159 -1063
- package/package.json +7 -9
- package/types/card.d.ts +15 -3
- package/types/index.d.ts +2 -0
- package/types/locale.d.ts +4 -4
- package/types/localeProvider.d.ts +23 -0
- package/types/snackbar.d.ts +2 -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.2.
|
|
4
|
+
"version": "3.2.15-alpha.1718196322899",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -4182,9 +4182,81 @@
|
|
|
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": "messages",
|
|
4197
|
+
"description": "Language messages",
|
|
4198
|
+
"default": "-",
|
|
4199
|
+
"value": {
|
|
4200
|
+
"type": "Record<string, Record<string, string>>",
|
|
4201
|
+
"kind": "expression"
|
|
4202
|
+
}
|
|
4203
|
+
},
|
|
4204
|
+
{
|
|
4205
|
+
"name": "tag",
|
|
4206
|
+
"description": "Tag name",
|
|
4207
|
+
"default": "div",
|
|
4208
|
+
"value": {
|
|
4209
|
+
"type": "string",
|
|
4210
|
+
"kind": "expression"
|
|
4211
|
+
}
|
|
4212
|
+
}
|
|
4213
|
+
],
|
|
4186
4214
|
"events": [],
|
|
4187
|
-
"slots": [
|
|
4215
|
+
"slots": [
|
|
4216
|
+
{
|
|
4217
|
+
"name": "default",
|
|
4218
|
+
"description": "Component content"
|
|
4219
|
+
}
|
|
4220
|
+
]
|
|
4221
|
+
},
|
|
4222
|
+
{
|
|
4223
|
+
"name": "var-locale-provider",
|
|
4224
|
+
"attributes": [
|
|
4225
|
+
{
|
|
4226
|
+
"name": "locale",
|
|
4227
|
+
"description": "Current locale",
|
|
4228
|
+
"default": "zh-CN",
|
|
4229
|
+
"value": {
|
|
4230
|
+
"type": "string",
|
|
4231
|
+
"kind": "expression"
|
|
4232
|
+
}
|
|
4233
|
+
},
|
|
4234
|
+
{
|
|
4235
|
+
"name": "messages",
|
|
4236
|
+
"description": "Language messages",
|
|
4237
|
+
"default": "-",
|
|
4238
|
+
"value": {
|
|
4239
|
+
"type": "Record<string, Record<string, string>>",
|
|
4240
|
+
"kind": "expression"
|
|
4241
|
+
}
|
|
4242
|
+
},
|
|
4243
|
+
{
|
|
4244
|
+
"name": "tag",
|
|
4245
|
+
"description": "Tag name",
|
|
4246
|
+
"default": "div",
|
|
4247
|
+
"value": {
|
|
4248
|
+
"type": "string",
|
|
4249
|
+
"kind": "expression"
|
|
4250
|
+
}
|
|
4251
|
+
}
|
|
4252
|
+
],
|
|
4253
|
+
"events": [],
|
|
4254
|
+
"slots": [
|
|
4255
|
+
{
|
|
4256
|
+
"name": "default",
|
|
4257
|
+
"description": "Component content"
|
|
4258
|
+
}
|
|
4259
|
+
]
|
|
4188
4260
|
},
|
|
4189
4261
|
{
|
|
4190
4262
|
"name": "var-menu",
|
|
@@ -6290,6 +6362,15 @@
|
|
|
6290
6362
|
"kind": "expression"
|
|
6291
6363
|
}
|
|
6292
6364
|
},
|
|
6365
|
+
{
|
|
6366
|
+
"name": "elevation",
|
|
6367
|
+
"description": "Elevation level, options `true` `false` and level of `0-24`",
|
|
6368
|
+
"default": "true",
|
|
6369
|
+
"value": {
|
|
6370
|
+
"type": "string | number | boolean",
|
|
6371
|
+
"kind": "expression"
|
|
6372
|
+
}
|
|
6373
|
+
},
|
|
6293
6374
|
{
|
|
6294
6375
|
"name": "content",
|
|
6295
6376
|
"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.
|
|
4
|
+
"version": "3.2.15-alpha.1718196322899",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -4341,9 +4341,81 @@
|
|
|
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": "messages",
|
|
4356
|
+
"description": "语言包",
|
|
4357
|
+
"default": "-",
|
|
4358
|
+
"value": {
|
|
4359
|
+
"type": "Record<string, Record<string, string>>",
|
|
4360
|
+
"kind": "expression"
|
|
4361
|
+
}
|
|
4362
|
+
},
|
|
4363
|
+
{
|
|
4364
|
+
"name": "tag",
|
|
4365
|
+
"description": "自定义标签名",
|
|
4366
|
+
"default": "div",
|
|
4367
|
+
"value": {
|
|
4368
|
+
"type": "string",
|
|
4369
|
+
"kind": "expression"
|
|
4370
|
+
}
|
|
4371
|
+
}
|
|
4372
|
+
],
|
|
4345
4373
|
"events": [],
|
|
4346
|
-
"slots": [
|
|
4374
|
+
"slots": [
|
|
4375
|
+
{
|
|
4376
|
+
"name": "default",
|
|
4377
|
+
"description": "组件内容"
|
|
4378
|
+
}
|
|
4379
|
+
]
|
|
4380
|
+
},
|
|
4381
|
+
{
|
|
4382
|
+
"name": "var-locale-provider",
|
|
4383
|
+
"attributes": [
|
|
4384
|
+
{
|
|
4385
|
+
"name": "locale",
|
|
4386
|
+
"description": "当前语言",
|
|
4387
|
+
"default": "zh-CN",
|
|
4388
|
+
"value": {
|
|
4389
|
+
"type": "string",
|
|
4390
|
+
"kind": "expression"
|
|
4391
|
+
}
|
|
4392
|
+
},
|
|
4393
|
+
{
|
|
4394
|
+
"name": "messages",
|
|
4395
|
+
"description": "语言包",
|
|
4396
|
+
"default": "-",
|
|
4397
|
+
"value": {
|
|
4398
|
+
"type": "Record<string, Record<string, string>>",
|
|
4399
|
+
"kind": "expression"
|
|
4400
|
+
}
|
|
4401
|
+
},
|
|
4402
|
+
{
|
|
4403
|
+
"name": "tag",
|
|
4404
|
+
"description": "自定义标签名",
|
|
4405
|
+
"default": "div",
|
|
4406
|
+
"value": {
|
|
4407
|
+
"type": "string",
|
|
4408
|
+
"kind": "expression"
|
|
4409
|
+
}
|
|
4410
|
+
}
|
|
4411
|
+
],
|
|
4412
|
+
"events": [],
|
|
4413
|
+
"slots": [
|
|
4414
|
+
{
|
|
4415
|
+
"name": "default",
|
|
4416
|
+
"description": "组件内容"
|
|
4417
|
+
}
|
|
4418
|
+
]
|
|
4347
4419
|
},
|
|
4348
4420
|
{
|
|
4349
4421
|
"name": "var-menu",
|
|
@@ -6621,6 +6693,15 @@
|
|
|
6621
6693
|
"kind": "expression"
|
|
6622
6694
|
}
|
|
6623
6695
|
},
|
|
6696
|
+
{
|
|
6697
|
+
"name": "elevation",
|
|
6698
|
+
"description": "海拔高度,可选值为 `true` `false` 和 `0-24` 的等级",
|
|
6699
|
+
"default": "true",
|
|
6700
|
+
"value": {
|
|
6701
|
+
"type": "string | number | boolean",
|
|
6702
|
+
"kind": "expression"
|
|
6703
|
+
}
|
|
6704
|
+
},
|
|
6624
6705
|
{
|
|
6625
6706
|
"name": "content",
|
|
6626
6707
|
"description": "自定义内容",
|