@varlet/ui 2.10.1 → 2.10.2-alpha.1683284670321
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 +3 -2
- package/es/action-sheet/props.mjs +1 -1
- package/es/image-preview/imagePreview.css +1 -1
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/input/Input.mjs +14 -9
- package/es/input/props.mjs +4 -1
- package/es/picker/Picker.mjs +1 -0
- package/es/picker/props.mjs +1 -1
- package/es/popup/Popup.mjs +1 -1
- package/es/popup/popup.css +1 -1
- package/es/popup/props.mjs +8 -0
- package/es/style.css +1 -1
- package/es/varlet.esm.js +535 -516
- package/highlight/web-types.en-US.json +37 -1
- package/highlight/web-types.zh-CN.json +46 -1
- package/lib/style.css +1 -1
- package/lib/varlet.cjs.js +34 -15
- package/package.json +6 -6
- package/types/actionSheet.d.ts +2 -0
- package/types/input.d.ts +1 -0
- package/types/picker.d.ts +1 -0
- package/types/popup.d.ts +2 -0
- package/umd/varlet.js +5 -5
|
@@ -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": "2.10.
|
|
4
|
+
"version": "2.10.2-alpha.1683284670321",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -90,6 +90,15 @@
|
|
|
90
90
|
"kind": "expression"
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
|
+
{
|
|
94
|
+
"name": "safe-area",
|
|
95
|
+
"description": "Whether to enable bottom safety zone adaptation",
|
|
96
|
+
"default": "false",
|
|
97
|
+
"value": {
|
|
98
|
+
"type": "boolean",
|
|
99
|
+
"kind": "expression"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
93
102
|
{
|
|
94
103
|
"name": "teleport",
|
|
95
104
|
"description": "The location of the action sheet to mount",
|
|
@@ -3304,6 +3313,15 @@
|
|
|
3304
3313
|
"type": "Array<(v: string) => any>",
|
|
3305
3314
|
"kind": "expression"
|
|
3306
3315
|
}
|
|
3316
|
+
},
|
|
3317
|
+
{
|
|
3318
|
+
"name": "enterkeyhint",
|
|
3319
|
+
"description": "Customize the enter key style, See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)",
|
|
3320
|
+
"default": "-",
|
|
3321
|
+
"value": {
|
|
3322
|
+
"type": "string",
|
|
3323
|
+
"kind": "expression"
|
|
3324
|
+
}
|
|
3307
3325
|
}
|
|
3308
3326
|
],
|
|
3309
3327
|
"events": [
|
|
@@ -4278,6 +4296,24 @@
|
|
|
4278
4296
|
"type": "TeleportProps['to']",
|
|
4279
4297
|
"kind": "expression"
|
|
4280
4298
|
}
|
|
4299
|
+
},
|
|
4300
|
+
{
|
|
4301
|
+
"name": "safe-area",
|
|
4302
|
+
"description": "Whether to enable bottom safety zone adaptation",
|
|
4303
|
+
"default": "false",
|
|
4304
|
+
"value": {
|
|
4305
|
+
"type": "boolean",
|
|
4306
|
+
"kind": "expression"
|
|
4307
|
+
}
|
|
4308
|
+
},
|
|
4309
|
+
{
|
|
4310
|
+
"name": "safe-area-top",
|
|
4311
|
+
"description": "Whether to enable top safety zone adaptation",
|
|
4312
|
+
"default": "false",
|
|
4313
|
+
"value": {
|
|
4314
|
+
"type": "boolean",
|
|
4315
|
+
"kind": "expression"
|
|
4316
|
+
}
|
|
4281
4317
|
}
|
|
4282
4318
|
],
|
|
4283
4319
|
"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": "2.10.
|
|
4
|
+
"version": "2.10.2-alpha.1683284670321",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -90,6 +90,15 @@
|
|
|
90
90
|
"kind": "expression"
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
|
+
{
|
|
94
|
+
"name": "safe-area",
|
|
95
|
+
"description": "是否开启底部安全区适配",
|
|
96
|
+
"default": "false",
|
|
97
|
+
"value": {
|
|
98
|
+
"type": "boolean",
|
|
99
|
+
"kind": "expression"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
93
102
|
{
|
|
94
103
|
"name": "teleport",
|
|
95
104
|
"description": "动作面板挂载的位置",
|
|
@@ -3476,6 +3485,15 @@
|
|
|
3476
3485
|
"type": "Array<(v: string) => any>",
|
|
3477
3486
|
"kind": "expression"
|
|
3478
3487
|
}
|
|
3488
|
+
},
|
|
3489
|
+
{
|
|
3490
|
+
"name": "enterkeyhint",
|
|
3491
|
+
"description": "定制回车键样式,参见 [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)",
|
|
3492
|
+
"default": "-",
|
|
3493
|
+
"value": {
|
|
3494
|
+
"type": "string",
|
|
3495
|
+
"kind": "expression"
|
|
3496
|
+
}
|
|
3479
3497
|
}
|
|
3480
3498
|
],
|
|
3481
3499
|
"events": [
|
|
@@ -4442,6 +4460,33 @@
|
|
|
4442
4460
|
"kind": "expression"
|
|
4443
4461
|
}
|
|
4444
4462
|
},
|
|
4463
|
+
{
|
|
4464
|
+
"name": "teleport",
|
|
4465
|
+
"description": "弹出层挂载的位置",
|
|
4466
|
+
"default": "-",
|
|
4467
|
+
"value": {
|
|
4468
|
+
"type": "TeleportProps['to']",
|
|
4469
|
+
"kind": "expression"
|
|
4470
|
+
}
|
|
4471
|
+
},
|
|
4472
|
+
{
|
|
4473
|
+
"name": "safe-area",
|
|
4474
|
+
"description": "是否开启底部安全区适配",
|
|
4475
|
+
"default": "false",
|
|
4476
|
+
"value": {
|
|
4477
|
+
"type": "boolean",
|
|
4478
|
+
"kind": "expression"
|
|
4479
|
+
}
|
|
4480
|
+
},
|
|
4481
|
+
{
|
|
4482
|
+
"name": "safe-area-top",
|
|
4483
|
+
"description": "是否开启顶部安全区适配",
|
|
4484
|
+
"default": "false",
|
|
4485
|
+
"value": {
|
|
4486
|
+
"type": "boolean",
|
|
4487
|
+
"kind": "expression"
|
|
4488
|
+
}
|
|
4489
|
+
},
|
|
4445
4490
|
{
|
|
4446
4491
|
"name": "teleport",
|
|
4447
4492
|
"description": "弹出层挂载的位置",
|