@varlet/ui 2.11.7 → 2.11.9-alpha.1687881786307

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 (43) hide show
  1. package/README.md +48 -1
  2. package/README.zh-CN.md +49 -1
  3. package/es/checkbox/checkbox.css +1 -1
  4. package/es/chip/chip.css +1 -1
  5. package/es/countdown/countdown.css +1 -0
  6. package/es/countdown/style/index.mjs +1 -0
  7. package/es/date-picker/date-picker.css +1 -1
  8. package/es/field-decorator/FieldDecorator.mjs +3 -0
  9. package/es/field-decorator/fieldDecorator.css +1 -1
  10. package/es/index.bundle.mjs +1 -1
  11. package/es/index.mjs +1 -1
  12. package/es/input/input.css +1 -1
  13. package/es/menu/Menu.mjs +2 -2
  14. package/es/menu/props.mjs +5 -0
  15. package/es/menu/usePopover.mjs +14 -9
  16. package/es/option/option.css +1 -1
  17. package/es/radio/radio.css +1 -1
  18. package/es/select/Select.mjs +17 -8
  19. package/es/select/select.css +1 -1
  20. package/es/style.css +1 -1
  21. package/es/themes/dark/checkbox.mjs +2 -1
  22. package/es/themes/dark/chip.mjs +2 -1
  23. package/es/themes/dark/countdown.mjs +3 -0
  24. package/es/themes/dark/datePicker.mjs +3 -1
  25. package/es/themes/dark/index.mjs +3 -1
  26. package/es/themes/dark/option.mjs +3 -0
  27. package/es/themes/dark/radio.mjs +2 -1
  28. package/es/themes/dark/timePicker.mjs +2 -1
  29. package/es/time-picker/timePicker.css +1 -1
  30. package/es/tooltip/Tooltip.mjs +2 -2
  31. package/es/tooltip/props.mjs +5 -0
  32. package/es/varlet.esm.js +5510 -5485
  33. package/highlight/web-types.en-US.json +27 -1
  34. package/highlight/web-types.zh-CN.json +23 -1
  35. package/lib/style.css +1 -1
  36. package/lib/varlet.cjs.js +70 -32
  37. package/package.json +6 -6
  38. package/types/bottomNavigation.d.ts +5 -5
  39. package/types/bottomNavigationItem.d.ts +2 -2
  40. package/types/menu.d.ts +1 -0
  41. package/types/picker.d.ts +1 -1
  42. package/types/tooltip.d.ts +1 -0
  43. 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.11.7",
4
+ "version": "2.11.9-alpha.1687881786307",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -3767,6 +3767,15 @@
3767
3767
  "type": "boolean",
3768
3768
  "kind": "expression"
3769
3769
  }
3770
+ },
3771
+ {
3772
+ "name": "close-on-click-reference",
3773
+ "description": "Whether to close the menu when clicking the reference element",
3774
+ "default": "false",
3775
+ "value": {
3776
+ "type": "boolean",
3777
+ "kind": "expression"
3778
+ }
3770
3779
  }
3771
3780
  ],
3772
3781
  "events": [
@@ -3785,6 +3794,10 @@
3785
3794
  {
3786
3795
  "name": "closed",
3787
3796
  "description": "Triggered when the closing menu animation ends"
3797
+ },
3798
+ {
3799
+ "name": "click-outside",
3800
+ "description": "Triggered when clicking outside the menu"
3788
3801
  }
3789
3802
  ],
3790
3803
  "slots": [
@@ -6506,6 +6519,15 @@
6506
6519
  "type": "string",
6507
6520
  "kind": "expression"
6508
6521
  }
6522
+ },
6523
+ {
6524
+ "name": "close-on-click-reference",
6525
+ "description": "Whether to close the menu when clicking the reference element",
6526
+ "default": "false",
6527
+ "value": {
6528
+ "type": "boolean",
6529
+ "kind": "expression"
6530
+ }
6509
6531
  }
6510
6532
  ],
6511
6533
  "events": [
@@ -6524,6 +6546,10 @@
6524
6546
  {
6525
6547
  "name": "closed",
6526
6548
  "description": "Triggered when the closing `Tooltip` animation ends"
6549
+ },
6550
+ {
6551
+ "name": "click-outside",
6552
+ "description": "Triggered when clicking outside the menu"
6527
6553
  }
6528
6554
  ],
6529
6555
  "slots": [
@@ -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.11.7",
4
+ "version": "2.11.9-alpha.1687881786307",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -3939,6 +3939,15 @@
3939
3939
  "type": "boolean",
3940
3940
  "kind": "expression"
3941
3941
  }
3942
+ },
3943
+ {
3944
+ "name": "close-on-click-reference",
3945
+ "description": "是否在点击菜单触发元素后关闭菜单",
3946
+ "default": "false",
3947
+ "value": {
3948
+ "type": "boolean",
3949
+ "kind": "expression"
3950
+ }
3942
3951
  }
3943
3952
  ],
3944
3953
  "events": [
@@ -3957,6 +3966,10 @@
3957
3966
  {
3958
3967
  "name": "closed",
3959
3968
  "description": "关闭菜单动画结束时触发"
3969
+ },
3970
+ {
3971
+ "name": "click-outside",
3972
+ "description": "点击菜单外部时触发"
3960
3973
  }
3961
3974
  ],
3962
3975
  "slots": [
@@ -6859,6 +6872,15 @@
6859
6872
  "type": "string",
6860
6873
  "kind": "expression"
6861
6874
  }
6875
+ },
6876
+ {
6877
+ "name": "close-on-click-reference",
6878
+ "description": "是否在点击菜单触发元素后关闭菜单",
6879
+ "default": "false",
6880
+ "value": {
6881
+ "type": "boolean",
6882
+ "kind": "expression"
6883
+ }
6862
6884
  }
6863
6885
  ],
6864
6886
  "events": [