@varlet/ui 3.15.2 → 3.16.0-alpha.1778498431663
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 +0 -1
- package/README.zh-CN.md +0 -1
- package/es/action-sheet/style/index.mjs +1 -1
- package/es/card/Card.mjs +26 -4
- package/es/card/card.css +1 -1
- package/es/card/props.mjs +2 -0
- package/es/card/style/index.mjs +1 -0
- package/es/index.bundle.mjs +7 -1
- package/es/index.mjs +6 -1
- package/es/otp-input/OtpInput.mjs +424 -0
- package/es/otp-input/OtpInputSfc.css +0 -0
- package/es/otp-input/index.mjs +12 -0
- package/es/otp-input/otpInput.css +1 -0
- package/es/otp-input/props.mjs +78 -0
- package/es/otp-input/style/index.mjs +7 -0
- package/es/paper/Paper.mjs +23 -6
- package/es/paper/paper.css +1 -1
- package/es/paper/props.mjs +2 -0
- package/es/paper/style/index.mjs +1 -0
- package/es/style.mjs +1 -0
- package/es/themes/dark/index.mjs +3 -2
- package/es/themes/dark/otpInput.mjs +10 -0
- package/es/themes/md3-dark/card.mjs +1 -0
- package/es/themes/md3-dark/index.mjs +3 -2
- package/es/themes/md3-dark/otpInput.mjs +10 -0
- package/es/themes/md3-dark/paper.mjs +1 -0
- package/es/themes/md3-light/card.mjs +1 -0
- package/es/themes/md3-light/index.mjs +3 -2
- package/es/themes/md3-light/otpInput.mjs +10 -0
- package/es/themes/md3-light/paper.mjs +1 -0
- package/es/varlet.css +1 -1
- package/es/varlet.esm.js +6994 -6583
- package/highlight/web-types.en-US.json +237 -1
- package/highlight/web-types.zh-CN.json +237 -1
- package/lib/varlet.cjs.js +2280 -1775
- package/lib/varlet.css +1 -1
- package/package.json +7 -7
- package/types/card.d.ts +4 -0
- package/types/index.d.ts +2 -0
- package/types/otpInput.d.ts +68 -0
- package/types/paper.d.ts +4 -0
- package/types/styleVars.d.ts +7 -0
- package/umd/varlet.js +7 -7
|
@@ -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.
|
|
4
|
+
"version": "3.16.0-alpha.1778498431663",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1586,6 +1586,24 @@
|
|
|
1586
1586
|
"type": "number",
|
|
1587
1587
|
"kind": "expression"
|
|
1588
1588
|
}
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"name": "hoverable",
|
|
1592
|
+
"description": "Whether to show a hover highlight overlay on desktop",
|
|
1593
|
+
"default": "false",
|
|
1594
|
+
"value": {
|
|
1595
|
+
"type": "boolean",
|
|
1596
|
+
"kind": "expression"
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"name": "surface",
|
|
1601
|
+
"description": "Background preset, optional value is `low`, invalid when `variant` is `filled`. It currently only takes effect in the MD3 dark theme",
|
|
1602
|
+
"default": "-",
|
|
1603
|
+
"value": {
|
|
1604
|
+
"type": "string",
|
|
1605
|
+
"kind": "expression"
|
|
1606
|
+
}
|
|
1589
1607
|
}
|
|
1590
1608
|
],
|
|
1591
1609
|
"events": [
|
|
@@ -5512,6 +5530,206 @@
|
|
|
5512
5530
|
}
|
|
5513
5531
|
]
|
|
5514
5532
|
},
|
|
5533
|
+
{
|
|
5534
|
+
"name": "var-otp-input",
|
|
5535
|
+
"attributes": [
|
|
5536
|
+
{
|
|
5537
|
+
"name": "v-model",
|
|
5538
|
+
"description": "OTP value",
|
|
5539
|
+
"default": "''",
|
|
5540
|
+
"value": {
|
|
5541
|
+
"type": "string",
|
|
5542
|
+
"kind": "expression"
|
|
5543
|
+
}
|
|
5544
|
+
},
|
|
5545
|
+
{
|
|
5546
|
+
"name": "length",
|
|
5547
|
+
"description": "OTP length",
|
|
5548
|
+
"default": "6",
|
|
5549
|
+
"value": {
|
|
5550
|
+
"type": "string | number",
|
|
5551
|
+
"kind": "expression"
|
|
5552
|
+
}
|
|
5553
|
+
},
|
|
5554
|
+
{
|
|
5555
|
+
"name": "type",
|
|
5556
|
+
"description": "OTP type, options are `digit` `text` `alphanumeric`",
|
|
5557
|
+
"default": "digit",
|
|
5558
|
+
"value": {
|
|
5559
|
+
"type": "OtpInputType",
|
|
5560
|
+
"kind": "expression"
|
|
5561
|
+
}
|
|
5562
|
+
},
|
|
5563
|
+
{
|
|
5564
|
+
"name": "variant",
|
|
5565
|
+
"description": "Visual variant, options are `standard` `outlined` `filled`",
|
|
5566
|
+
"default": "outlined",
|
|
5567
|
+
"value": {
|
|
5568
|
+
"type": "Variant",
|
|
5569
|
+
"kind": "expression"
|
|
5570
|
+
}
|
|
5571
|
+
},
|
|
5572
|
+
{
|
|
5573
|
+
"name": "mask",
|
|
5574
|
+
"description": "Whether to mask characters",
|
|
5575
|
+
"default": "false",
|
|
5576
|
+
"value": {
|
|
5577
|
+
"type": "boolean",
|
|
5578
|
+
"kind": "expression"
|
|
5579
|
+
}
|
|
5580
|
+
},
|
|
5581
|
+
{
|
|
5582
|
+
"name": "mask-symbol",
|
|
5583
|
+
"description": "Mask character",
|
|
5584
|
+
"default": "•",
|
|
5585
|
+
"value": {
|
|
5586
|
+
"type": "string",
|
|
5587
|
+
"kind": "expression"
|
|
5588
|
+
}
|
|
5589
|
+
},
|
|
5590
|
+
{
|
|
5591
|
+
"name": "cell-height",
|
|
5592
|
+
"description": "Cell height",
|
|
5593
|
+
"default": "48",
|
|
5594
|
+
"value": {
|
|
5595
|
+
"type": "string | number",
|
|
5596
|
+
"kind": "expression"
|
|
5597
|
+
}
|
|
5598
|
+
},
|
|
5599
|
+
{
|
|
5600
|
+
"name": "cell-max-width",
|
|
5601
|
+
"description": "Cell max width",
|
|
5602
|
+
"default": "48",
|
|
5603
|
+
"value": {
|
|
5604
|
+
"type": "string | number",
|
|
5605
|
+
"kind": "expression"
|
|
5606
|
+
}
|
|
5607
|
+
},
|
|
5608
|
+
{
|
|
5609
|
+
"name": "text-color",
|
|
5610
|
+
"description": "Text color",
|
|
5611
|
+
"default": "-",
|
|
5612
|
+
"value": {
|
|
5613
|
+
"type": "string",
|
|
5614
|
+
"kind": "expression"
|
|
5615
|
+
}
|
|
5616
|
+
},
|
|
5617
|
+
{
|
|
5618
|
+
"name": "focus-color",
|
|
5619
|
+
"description": "Main color when focused",
|
|
5620
|
+
"default": "-",
|
|
5621
|
+
"value": {
|
|
5622
|
+
"type": "string",
|
|
5623
|
+
"kind": "expression"
|
|
5624
|
+
}
|
|
5625
|
+
},
|
|
5626
|
+
{
|
|
5627
|
+
"name": "blur-color",
|
|
5628
|
+
"description": "Main color when blurred",
|
|
5629
|
+
"default": "-",
|
|
5630
|
+
"value": {
|
|
5631
|
+
"type": "string",
|
|
5632
|
+
"kind": "expression"
|
|
5633
|
+
}
|
|
5634
|
+
},
|
|
5635
|
+
{
|
|
5636
|
+
"name": "disabled",
|
|
5637
|
+
"description": "Whether to disable the component",
|
|
5638
|
+
"default": "false",
|
|
5639
|
+
"value": {
|
|
5640
|
+
"type": "boolean",
|
|
5641
|
+
"kind": "expression"
|
|
5642
|
+
}
|
|
5643
|
+
},
|
|
5644
|
+
{
|
|
5645
|
+
"name": "readonly",
|
|
5646
|
+
"description": "Whether the component is readonly",
|
|
5647
|
+
"default": "false",
|
|
5648
|
+
"value": {
|
|
5649
|
+
"type": "boolean",
|
|
5650
|
+
"kind": "expression"
|
|
5651
|
+
}
|
|
5652
|
+
},
|
|
5653
|
+
{
|
|
5654
|
+
"name": "autofocus",
|
|
5655
|
+
"description": "Whether to autofocus on mount",
|
|
5656
|
+
"default": "false",
|
|
5657
|
+
"value": {
|
|
5658
|
+
"type": "boolean",
|
|
5659
|
+
"kind": "expression"
|
|
5660
|
+
}
|
|
5661
|
+
},
|
|
5662
|
+
{
|
|
5663
|
+
"name": "gutter",
|
|
5664
|
+
"description": "Cell gap",
|
|
5665
|
+
"default": "8",
|
|
5666
|
+
"value": {
|
|
5667
|
+
"type": "string | number",
|
|
5668
|
+
"kind": "expression"
|
|
5669
|
+
}
|
|
5670
|
+
},
|
|
5671
|
+
{
|
|
5672
|
+
"name": "validate-trigger",
|
|
5673
|
+
"description": "Validation triggers, options are `onInput` `onClick` `onPaste` `onComplete`",
|
|
5674
|
+
"default": "['onInput', 'onComplete']",
|
|
5675
|
+
"value": {
|
|
5676
|
+
"type": "OtpInputValidateTrigger[]",
|
|
5677
|
+
"kind": "expression"
|
|
5678
|
+
}
|
|
5679
|
+
},
|
|
5680
|
+
{
|
|
5681
|
+
"name": "rules",
|
|
5682
|
+
"description": "Validation rules. Returning `true` means valid. Other values are converted to error messages. Supports Zod validation",
|
|
5683
|
+
"default": "-",
|
|
5684
|
+
"value": {
|
|
5685
|
+
"type": "((v: string) => any) | ZodType | Array<((v: string) => any) | ZodType>",
|
|
5686
|
+
"kind": "expression"
|
|
5687
|
+
}
|
|
5688
|
+
},
|
|
5689
|
+
{
|
|
5690
|
+
"name": "allow-paste",
|
|
5691
|
+
"description": "Whether to allow full-string pasting",
|
|
5692
|
+
"default": "true",
|
|
5693
|
+
"value": {
|
|
5694
|
+
"type": "boolean",
|
|
5695
|
+
"kind": "expression"
|
|
5696
|
+
}
|
|
5697
|
+
},
|
|
5698
|
+
{
|
|
5699
|
+
"name": "paste-transform",
|
|
5700
|
+
"description": "Paste value transformer",
|
|
5701
|
+
"default": "-",
|
|
5702
|
+
"value": {
|
|
5703
|
+
"type": "(value: string) => string",
|
|
5704
|
+
"kind": "expression"
|
|
5705
|
+
}
|
|
5706
|
+
}
|
|
5707
|
+
],
|
|
5708
|
+
"events": [
|
|
5709
|
+
{
|
|
5710
|
+
"name": "input",
|
|
5711
|
+
"description": "Emitted when the OTP value changes"
|
|
5712
|
+
},
|
|
5713
|
+
{
|
|
5714
|
+
"name": "click",
|
|
5715
|
+
"description": "Emitted when the component root is clicked"
|
|
5716
|
+
},
|
|
5717
|
+
{
|
|
5718
|
+
"name": "paste",
|
|
5719
|
+
"description": "Emitted on paste"
|
|
5720
|
+
},
|
|
5721
|
+
{
|
|
5722
|
+
"name": "complete",
|
|
5723
|
+
"description": "Emitted when input reaches `length`"
|
|
5724
|
+
}
|
|
5725
|
+
],
|
|
5726
|
+
"slots": [
|
|
5727
|
+
{
|
|
5728
|
+
"name": "separator",
|
|
5729
|
+
"description": "Custom separator content"
|
|
5730
|
+
}
|
|
5731
|
+
]
|
|
5732
|
+
},
|
|
5515
5733
|
{
|
|
5516
5734
|
"name": "var-overlay",
|
|
5517
5735
|
"attributes": [
|
|
@@ -5754,6 +5972,24 @@
|
|
|
5754
5972
|
"type": "boolean",
|
|
5755
5973
|
"kind": "expression"
|
|
5756
5974
|
}
|
|
5975
|
+
},
|
|
5976
|
+
{
|
|
5977
|
+
"name": "surface",
|
|
5978
|
+
"description": "Background preset, optional value is `low`. It currently only takes effect in the MD3 dark theme",
|
|
5979
|
+
"default": "-",
|
|
5980
|
+
"value": {
|
|
5981
|
+
"type": "string",
|
|
5982
|
+
"kind": "expression"
|
|
5983
|
+
}
|
|
5984
|
+
},
|
|
5985
|
+
{
|
|
5986
|
+
"name": "hoverable",
|
|
5987
|
+
"description": "Whether to show a hover highlight overlay on desktop",
|
|
5988
|
+
"default": "false",
|
|
5989
|
+
"value": {
|
|
5990
|
+
"type": "boolean",
|
|
5991
|
+
"kind": "expression"
|
|
5992
|
+
}
|
|
5757
5993
|
}
|
|
5758
5994
|
],
|
|
5759
5995
|
"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.
|
|
4
|
+
"version": "3.16.0-alpha.1778498431663",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1637,6 +1637,24 @@
|
|
|
1637
1637
|
"type": "number",
|
|
1638
1638
|
"kind": "expression"
|
|
1639
1639
|
}
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"name": "hoverable",
|
|
1643
|
+
"description": "是否在桌面端悬停时显示一层高亮遮罩",
|
|
1644
|
+
"default": "false",
|
|
1645
|
+
"value": {
|
|
1646
|
+
"type": "boolean",
|
|
1647
|
+
"kind": "expression"
|
|
1648
|
+
}
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"name": "surface",
|
|
1652
|
+
"description": "背景色预设,可选值 `low`,在 `variant` 为 `filled` 时无效,目前只作用在 MD3 暗色主题",
|
|
1653
|
+
"default": "-",
|
|
1654
|
+
"value": {
|
|
1655
|
+
"type": "string",
|
|
1656
|
+
"kind": "expression"
|
|
1657
|
+
}
|
|
1640
1658
|
}
|
|
1641
1659
|
],
|
|
1642
1660
|
"events": [
|
|
@@ -5554,6 +5572,206 @@
|
|
|
5554
5572
|
}
|
|
5555
5573
|
]
|
|
5556
5574
|
},
|
|
5575
|
+
{
|
|
5576
|
+
"name": "var-otp-input",
|
|
5577
|
+
"attributes": [
|
|
5578
|
+
{
|
|
5579
|
+
"name": "v-model",
|
|
5580
|
+
"description": "验证码值",
|
|
5581
|
+
"default": "''",
|
|
5582
|
+
"value": {
|
|
5583
|
+
"type": "string",
|
|
5584
|
+
"kind": "expression"
|
|
5585
|
+
}
|
|
5586
|
+
},
|
|
5587
|
+
{
|
|
5588
|
+
"name": "length",
|
|
5589
|
+
"description": "验证码位数",
|
|
5590
|
+
"default": "6",
|
|
5591
|
+
"value": {
|
|
5592
|
+
"type": "string | number",
|
|
5593
|
+
"kind": "expression"
|
|
5594
|
+
}
|
|
5595
|
+
},
|
|
5596
|
+
{
|
|
5597
|
+
"name": "type",
|
|
5598
|
+
"description": "验证码类型,可选值为 `digit` `text` `alphanumeric`",
|
|
5599
|
+
"default": "digit",
|
|
5600
|
+
"value": {
|
|
5601
|
+
"type": "OtpInputType",
|
|
5602
|
+
"kind": "expression"
|
|
5603
|
+
}
|
|
5604
|
+
},
|
|
5605
|
+
{
|
|
5606
|
+
"name": "variant",
|
|
5607
|
+
"description": "风格,可选值为 `standard` `outlined` `filled`",
|
|
5608
|
+
"default": "outlined",
|
|
5609
|
+
"value": {
|
|
5610
|
+
"type": "Variant",
|
|
5611
|
+
"kind": "expression"
|
|
5612
|
+
}
|
|
5613
|
+
},
|
|
5614
|
+
{
|
|
5615
|
+
"name": "mask",
|
|
5616
|
+
"description": "是否掩码显示",
|
|
5617
|
+
"default": "false",
|
|
5618
|
+
"value": {
|
|
5619
|
+
"type": "boolean",
|
|
5620
|
+
"kind": "expression"
|
|
5621
|
+
}
|
|
5622
|
+
},
|
|
5623
|
+
{
|
|
5624
|
+
"name": "mask-symbol",
|
|
5625
|
+
"description": "掩码字符",
|
|
5626
|
+
"default": "•",
|
|
5627
|
+
"value": {
|
|
5628
|
+
"type": "string",
|
|
5629
|
+
"kind": "expression"
|
|
5630
|
+
}
|
|
5631
|
+
},
|
|
5632
|
+
{
|
|
5633
|
+
"name": "cell-height",
|
|
5634
|
+
"description": "单格高度",
|
|
5635
|
+
"default": "48",
|
|
5636
|
+
"value": {
|
|
5637
|
+
"type": "string | number",
|
|
5638
|
+
"kind": "expression"
|
|
5639
|
+
}
|
|
5640
|
+
},
|
|
5641
|
+
{
|
|
5642
|
+
"name": "cell-max-width",
|
|
5643
|
+
"description": "单格最大宽度",
|
|
5644
|
+
"default": "48",
|
|
5645
|
+
"value": {
|
|
5646
|
+
"type": "string | number",
|
|
5647
|
+
"kind": "expression"
|
|
5648
|
+
}
|
|
5649
|
+
},
|
|
5650
|
+
{
|
|
5651
|
+
"name": "text-color",
|
|
5652
|
+
"description": "文字颜色",
|
|
5653
|
+
"default": "-",
|
|
5654
|
+
"value": {
|
|
5655
|
+
"type": "string",
|
|
5656
|
+
"kind": "expression"
|
|
5657
|
+
}
|
|
5658
|
+
},
|
|
5659
|
+
{
|
|
5660
|
+
"name": "focus-color",
|
|
5661
|
+
"description": "聚焦时主要颜色",
|
|
5662
|
+
"default": "-",
|
|
5663
|
+
"value": {
|
|
5664
|
+
"type": "string",
|
|
5665
|
+
"kind": "expression"
|
|
5666
|
+
}
|
|
5667
|
+
},
|
|
5668
|
+
{
|
|
5669
|
+
"name": "blur-color",
|
|
5670
|
+
"description": "失焦时主要颜色",
|
|
5671
|
+
"default": "-",
|
|
5672
|
+
"value": {
|
|
5673
|
+
"type": "string",
|
|
5674
|
+
"kind": "expression"
|
|
5675
|
+
}
|
|
5676
|
+
},
|
|
5677
|
+
{
|
|
5678
|
+
"name": "disabled",
|
|
5679
|
+
"description": "是否禁用",
|
|
5680
|
+
"default": "false",
|
|
5681
|
+
"value": {
|
|
5682
|
+
"type": "boolean",
|
|
5683
|
+
"kind": "expression"
|
|
5684
|
+
}
|
|
5685
|
+
},
|
|
5686
|
+
{
|
|
5687
|
+
"name": "readonly",
|
|
5688
|
+
"description": "是否只读",
|
|
5689
|
+
"default": "false",
|
|
5690
|
+
"value": {
|
|
5691
|
+
"type": "boolean",
|
|
5692
|
+
"kind": "expression"
|
|
5693
|
+
}
|
|
5694
|
+
},
|
|
5695
|
+
{
|
|
5696
|
+
"name": "autofocus",
|
|
5697
|
+
"description": "初始化后是否自动聚焦",
|
|
5698
|
+
"default": "false",
|
|
5699
|
+
"value": {
|
|
5700
|
+
"type": "boolean",
|
|
5701
|
+
"kind": "expression"
|
|
5702
|
+
}
|
|
5703
|
+
},
|
|
5704
|
+
{
|
|
5705
|
+
"name": "gutter",
|
|
5706
|
+
"description": "格子间距",
|
|
5707
|
+
"default": "8",
|
|
5708
|
+
"value": {
|
|
5709
|
+
"type": "string | number",
|
|
5710
|
+
"kind": "expression"
|
|
5711
|
+
}
|
|
5712
|
+
},
|
|
5713
|
+
{
|
|
5714
|
+
"name": "validate-trigger",
|
|
5715
|
+
"description": "触发校验的时机,可选值为 `onInput` `onClick` `onPaste` `onComplete`",
|
|
5716
|
+
"default": "['onInput', 'onComplete']",
|
|
5717
|
+
"value": {
|
|
5718
|
+
"type": "OtpInputValidateTrigger[]",
|
|
5719
|
+
"kind": "expression"
|
|
5720
|
+
}
|
|
5721
|
+
},
|
|
5722
|
+
{
|
|
5723
|
+
"name": "rules",
|
|
5724
|
+
"description": "验证规则,返回 `true` 表示验证通过,其它类型的值将转换为文本作为用户提示,支持 Zod 验证",
|
|
5725
|
+
"default": "-",
|
|
5726
|
+
"value": {
|
|
5727
|
+
"type": "((v: string) => any) | ZodType | Array<((v: string) => any) | ZodType>",
|
|
5728
|
+
"kind": "expression"
|
|
5729
|
+
}
|
|
5730
|
+
},
|
|
5731
|
+
{
|
|
5732
|
+
"name": "allow-paste",
|
|
5733
|
+
"description": "是否允许粘贴整串验证码",
|
|
5734
|
+
"default": "true",
|
|
5735
|
+
"value": {
|
|
5736
|
+
"type": "boolean",
|
|
5737
|
+
"kind": "expression"
|
|
5738
|
+
}
|
|
5739
|
+
},
|
|
5740
|
+
{
|
|
5741
|
+
"name": "paste-transform",
|
|
5742
|
+
"description": "粘贴内容转换器",
|
|
5743
|
+
"default": "-",
|
|
5744
|
+
"value": {
|
|
5745
|
+
"type": "(value: string) => string",
|
|
5746
|
+
"kind": "expression"
|
|
5747
|
+
}
|
|
5748
|
+
}
|
|
5749
|
+
],
|
|
5750
|
+
"events": [
|
|
5751
|
+
{
|
|
5752
|
+
"name": "input",
|
|
5753
|
+
"description": "验证码值变化时触发"
|
|
5754
|
+
},
|
|
5755
|
+
{
|
|
5756
|
+
"name": "click",
|
|
5757
|
+
"description": "点击组件根节点时触发"
|
|
5758
|
+
},
|
|
5759
|
+
{
|
|
5760
|
+
"name": "paste",
|
|
5761
|
+
"description": "粘贴时触发"
|
|
5762
|
+
},
|
|
5763
|
+
{
|
|
5764
|
+
"name": "complete",
|
|
5765
|
+
"description": "输入满 `length` 时触发"
|
|
5766
|
+
}
|
|
5767
|
+
],
|
|
5768
|
+
"slots": [
|
|
5769
|
+
{
|
|
5770
|
+
"name": "separator",
|
|
5771
|
+
"description": "自定义分隔位内容"
|
|
5772
|
+
}
|
|
5773
|
+
]
|
|
5774
|
+
},
|
|
5557
5775
|
{
|
|
5558
5776
|
"name": "var-overlay",
|
|
5559
5777
|
"attributes": [
|
|
@@ -5796,6 +6014,24 @@
|
|
|
5796
6014
|
"type": "boolean",
|
|
5797
6015
|
"kind": "expression"
|
|
5798
6016
|
}
|
|
6017
|
+
},
|
|
6018
|
+
{
|
|
6019
|
+
"name": "surface",
|
|
6020
|
+
"description": "背景色预设,可选值 `low`,目前只作用在 MD3 暗色主题",
|
|
6021
|
+
"default": "-",
|
|
6022
|
+
"value": {
|
|
6023
|
+
"type": "string",
|
|
6024
|
+
"kind": "expression"
|
|
6025
|
+
}
|
|
6026
|
+
},
|
|
6027
|
+
{
|
|
6028
|
+
"name": "hoverable",
|
|
6029
|
+
"description": "是否在桌面端悬停时显示一层高亮遮罩",
|
|
6030
|
+
"default": "false",
|
|
6031
|
+
"value": {
|
|
6032
|
+
"type": "boolean",
|
|
6033
|
+
"kind": "expression"
|
|
6034
|
+
}
|
|
5799
6035
|
}
|
|
5800
6036
|
],
|
|
5801
6037
|
"events": [
|