@synergy-design-system/components 1.8.0 → 1.9.0

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 (230) hide show
  1. package/dist/chunks/{chunk.23HTU3YE.js → chunk.2EI3TNL7.js} +1 -16
  2. package/dist/chunks/chunk.2EI3TNL7.js.map +7 -0
  3. package/dist/chunks/{chunk.RSONAU45.js → chunk.2RF7KO5I.js} +1 -12
  4. package/dist/chunks/chunk.2RF7KO5I.js.map +7 -0
  5. package/dist/chunks/{chunk.WDX7XUUK.js → chunk.3DE5ARIC.js} +22 -2
  6. package/dist/chunks/chunk.3DE5ARIC.js.map +7 -0
  7. package/dist/chunks/{chunk.2IBWQADW.js → chunk.3O5WTWSN.js} +2 -2
  8. package/dist/chunks/{chunk.4CBN5LPQ.js → chunk.3STW62TA.js} +1 -12
  9. package/dist/chunks/chunk.3STW62TA.js.map +7 -0
  10. package/dist/chunks/{chunk.EKOK7YPB.js → chunk.4QS5IWYB.js} +1 -16
  11. package/dist/chunks/chunk.4QS5IWYB.js.map +7 -0
  12. package/dist/chunks/{chunk.6PWB7EUW.js → chunk.5BMNRZ7L.js} +2 -2
  13. package/dist/chunks/{chunk.A2WGLZOL.js → chunk.5CB3CVZ7.js} +2 -2
  14. package/dist/chunks/{chunk.UVYPEAQZ.js → chunk.5R3OVMH2.js} +23 -8
  15. package/dist/chunks/chunk.5R3OVMH2.js.map +7 -0
  16. package/dist/chunks/{chunk.MB3YZTYP.js → chunk.6MS3WNDW.js} +6 -5
  17. package/dist/chunks/chunk.6MS3WNDW.js.map +7 -0
  18. package/dist/chunks/{chunk.4ZURABYO.js → chunk.A7IIJ2LL.js} +1 -7
  19. package/dist/chunks/{chunk.O7USYXBT.js.map → chunk.A7IIJ2LL.js.map} +3 -3
  20. package/dist/chunks/{chunk.PGCXJ2PT.js → chunk.ACTJFDNK.js} +1 -12
  21. package/dist/chunks/chunk.ACTJFDNK.js.map +7 -0
  22. package/dist/chunks/{chunk.MNMITYTH.js → chunk.ADRKUQGR.js} +1 -12
  23. package/dist/chunks/chunk.ADRKUQGR.js.map +7 -0
  24. package/dist/chunks/{chunk.CUU2VBEZ.js → chunk.AJU6C4KC.js} +2 -2
  25. package/dist/chunks/{chunk.QHFGD6WW.js → chunk.BGHK4NQA.js} +1 -12
  26. package/dist/chunks/chunk.BGHK4NQA.js.map +7 -0
  27. package/dist/chunks/{chunk.HW5TASOL.js → chunk.BGKFRWWO.js} +3 -3
  28. package/dist/chunks/{chunk.XI6MSNHF.js → chunk.BJYVLDYR.js} +83 -5
  29. package/dist/chunks/chunk.BJYVLDYR.js.map +7 -0
  30. package/dist/chunks/{chunk.GZVDP7WZ.js → chunk.BLOH2ZNU.js} +137 -42
  31. package/dist/chunks/chunk.BLOH2ZNU.js.map +7 -0
  32. package/dist/chunks/{chunk.F3YEAZYJ.js → chunk.BTZX6ZFZ.js} +2 -2
  33. package/dist/chunks/{chunk.W6V7TPGK.js → chunk.CFIQXXMW.js} +1 -12
  34. package/dist/chunks/chunk.CFIQXXMW.js.map +7 -0
  35. package/dist/chunks/{chunk.K4ELZCXB.js → chunk.F4THECWA.js} +2 -2
  36. package/dist/chunks/{chunk.AWZ4FSAL.js → chunk.FSONLJTT.js} +15 -11
  37. package/dist/chunks/chunk.FSONLJTT.js.map +7 -0
  38. package/dist/chunks/{chunk.COKV3ZN7.js → chunk.FUNZW7ES.js} +2 -2
  39. package/dist/chunks/{chunk.4ZGN7AEC.js → chunk.GAPQVJGQ.js} +18 -10
  40. package/dist/chunks/chunk.GAPQVJGQ.js.map +7 -0
  41. package/dist/chunks/{chunk.GUQN6XL4.js → chunk.GBOII6N4.js} +10 -6
  42. package/dist/chunks/chunk.GBOII6N4.js.map +7 -0
  43. package/dist/chunks/{chunk.2KKPNUPU.js → chunk.GTSRMEPE.js} +2 -4
  44. package/dist/chunks/chunk.GTSRMEPE.js.map +7 -0
  45. package/dist/chunks/{chunk.KA7L2PMA.js → chunk.HF75YRVS.js} +20 -13
  46. package/dist/chunks/chunk.HF75YRVS.js.map +7 -0
  47. package/dist/chunks/{chunk.NWWHBSV7.js → chunk.IOPUYG6Q.js} +2 -2
  48. package/dist/chunks/{chunk.BGPAHVPK.js → chunk.IR2PZHC7.js} +2 -2
  49. package/dist/chunks/{chunk.HNRD7DBS.js → chunk.K3O2PP7X.js} +6 -5
  50. package/dist/chunks/chunk.K3O2PP7X.js.map +7 -0
  51. package/dist/chunks/{chunk.JBHQJWOB.js → chunk.KDDTDU4B.js} +71 -33
  52. package/dist/chunks/chunk.KDDTDU4B.js.map +7 -0
  53. package/dist/chunks/{chunk.Y4QKFZLK.js → chunk.KNXO2FGQ.js} +84 -46
  54. package/dist/chunks/chunk.KNXO2FGQ.js.map +7 -0
  55. package/dist/chunks/{chunk.JSO3PKB4.js → chunk.KUO3KJOC.js} +2 -2
  56. package/dist/chunks/{chunk.WP6T5CG2.js → chunk.LF2XSSHD.js} +2 -2
  57. package/dist/chunks/{chunk.2FN5DTS6.js → chunk.LJQ7LEPV.js} +1 -12
  58. package/dist/chunks/chunk.LJQ7LEPV.js.map +7 -0
  59. package/dist/chunks/{chunk.OJUBVHIK.js → chunk.LZE7OXKV.js} +2 -2
  60. package/dist/chunks/{chunk.RS4Z4KDT.js → chunk.MDZ22YWD.js} +10 -6
  61. package/dist/chunks/chunk.MDZ22YWD.js.map +7 -0
  62. package/dist/chunks/{chunk.JN7CLMQZ.js → chunk.MIMALEWP.js} +21 -7
  63. package/dist/chunks/chunk.MIMALEWP.js.map +7 -0
  64. package/dist/chunks/{chunk.DAROCSFO.js → chunk.O6AXKVFJ.js} +10 -6
  65. package/dist/chunks/chunk.O6AXKVFJ.js.map +7 -0
  66. package/dist/chunks/{chunk.N2I6HVX3.js → chunk.OSBC36KQ.js} +4 -9
  67. package/dist/chunks/chunk.OSBC36KQ.js.map +7 -0
  68. package/dist/chunks/{chunk.NV7W5R6V.js → chunk.PHSJD47V.js} +1 -12
  69. package/dist/chunks/chunk.PHSJD47V.js.map +7 -0
  70. package/dist/chunks/{chunk.JBYBQ5TQ.js → chunk.PKO6FEOM.js} +1 -12
  71. package/dist/chunks/chunk.PKO6FEOM.js.map +7 -0
  72. package/dist/chunks/{chunk.MRAXEK5D.js → chunk.PRZRH7SN.js} +2 -2
  73. package/dist/chunks/{chunk.35PHCFSV.js → chunk.PWMSNMDF.js} +9 -5
  74. package/dist/chunks/chunk.PWMSNMDF.js.map +7 -0
  75. package/dist/chunks/{chunk.6XU6OLZ3.js → chunk.QNQNR3RY.js} +1 -16
  76. package/dist/chunks/chunk.QNQNR3RY.js.map +7 -0
  77. package/dist/chunks/{chunk.2XCLA4MQ.js → chunk.QY6MKIMK.js} +2 -2
  78. package/dist/chunks/{chunk.RVFNEWM3.js → chunk.RMQZMRVP.js} +2 -2
  79. package/dist/chunks/{chunk.AJWDVZRI.js → chunk.RMZBSKRR.js} +45 -19
  80. package/dist/chunks/chunk.RMZBSKRR.js.map +7 -0
  81. package/dist/chunks/{chunk.OJ4KOC7R.js → chunk.SJMMPKWP.js} +1 -12
  82. package/dist/chunks/chunk.SJMMPKWP.js.map +7 -0
  83. package/dist/chunks/{chunk.2Z2GYRLO.js → chunk.SZCGMXW5.js} +2 -2
  84. package/dist/chunks/chunk.SZCGMXW5.js.map +7 -0
  85. package/dist/chunks/{chunk.JHXCBOUD.js → chunk.TTL762VF.js} +57 -60
  86. package/dist/chunks/chunk.TTL762VF.js.map +7 -0
  87. package/dist/chunks/{chunk.B75SET3J.js → chunk.UZFPGR6M.js} +6 -5
  88. package/dist/chunks/chunk.UZFPGR6M.js.map +7 -0
  89. package/dist/chunks/{chunk.NAAFLDZ3.js → chunk.VATYXV2O.js} +2 -2
  90. package/dist/chunks/{chunk.AFEABUNX.js → chunk.W5JK7V7K.js} +6 -1
  91. package/dist/chunks/chunk.W5JK7V7K.js.map +7 -0
  92. package/dist/chunks/{chunk.G66TSLVT.js → chunk.WC5SV4TV.js} +23 -13
  93. package/dist/chunks/chunk.WC5SV4TV.js.map +7 -0
  94. package/dist/chunks/{chunk.ERNEIORV.js → chunk.XEI5ZP7Y.js} +9 -5
  95. package/dist/chunks/chunk.XEI5ZP7Y.js.map +7 -0
  96. package/dist/chunks/{chunk.4I6M5V6O.js → chunk.XIUSSERX.js} +1 -16
  97. package/dist/chunks/chunk.XIUSSERX.js.map +7 -0
  98. package/dist/chunks/{chunk.5TFG753C.js → chunk.Y72MIUNI.js} +2 -2
  99. package/dist/chunks/{chunk.IKKMWFWH.js → chunk.ZIQXX272.js} +2 -2
  100. package/dist/chunks/{chunk.UG5FC6UD.js → chunk.ZT5DUKVA.js} +2 -2
  101. package/dist/components/button/button.component.js +9 -10
  102. package/dist/components/button/button.js +10 -11
  103. package/dist/components/button/button.styles.js +1 -3
  104. package/dist/components/button-group/button-group.component.js +3 -4
  105. package/dist/components/button-group/button-group.js +4 -5
  106. package/dist/components/button-group/button-group.styles.js +1 -2
  107. package/dist/components/checkbox/checkbox.component.d.ts +5 -0
  108. package/dist/components/checkbox/checkbox.component.js +8 -7
  109. package/dist/components/checkbox/checkbox.js +9 -8
  110. package/dist/components/checkbox/checkbox.styles.js +1 -3
  111. package/dist/components/divider/divider.component.js +3 -4
  112. package/dist/components/divider/divider.js +4 -5
  113. package/dist/components/divider/divider.styles.js +1 -3
  114. package/dist/components/drawer/drawer.component.d.ts +1 -0
  115. package/dist/components/drawer/drawer.component.js +9 -10
  116. package/dist/components/drawer/drawer.js +10 -11
  117. package/dist/components/drawer/drawer.styles.js +1 -3
  118. package/dist/components/icon/icon.component.js +3 -4
  119. package/dist/components/icon/icon.js +4 -5
  120. package/dist/components/icon/icon.styles.js +1 -3
  121. package/dist/components/icon-button/icon-button.component.js +5 -6
  122. package/dist/components/icon-button/icon-button.js +6 -7
  123. package/dist/components/icon-button/icon-button.styles.js +1 -3
  124. package/dist/components/input/input.component.js +10 -11
  125. package/dist/components/input/input.js +11 -12
  126. package/dist/components/input/input.styles.js +1 -4
  127. package/dist/components/optgroup/optgroup.component.js +4 -5
  128. package/dist/components/optgroup/optgroup.js +5 -6
  129. package/dist/components/option/option.component.js +5 -6
  130. package/dist/components/option/option.js +6 -7
  131. package/dist/components/option/option.styles.js +1 -3
  132. package/dist/components/popup/popup.component.d.ts +9 -0
  133. package/dist/components/popup/popup.component.js +3 -4
  134. package/dist/components/popup/popup.styles.js +1 -2
  135. package/dist/components/radio/radio.component.js +5 -6
  136. package/dist/components/radio/radio.js +6 -7
  137. package/dist/components/radio/radio.styles.js +1 -3
  138. package/dist/components/radio-button/radio-button.component.js +4 -6
  139. package/dist/components/radio-button/radio-button.js +5 -7
  140. package/dist/components/radio-button/radio-button.styles.js +2 -4
  141. package/dist/components/radio-group/radio-group.component.d.ts +1 -0
  142. package/dist/components/radio-group/radio-group.component.js +7 -8
  143. package/dist/components/radio-group/radio-group.js +8 -9
  144. package/dist/components/radio-group/radio-group.styles.js +1 -4
  145. package/dist/components/select/select.component.d.ts +1 -0
  146. package/dist/components/select/select.component.js +15 -16
  147. package/dist/components/select/select.js +16 -17
  148. package/dist/components/select/select.styles.js +1 -4
  149. package/dist/components/spinner/spinner.component.js +3 -4
  150. package/dist/components/spinner/spinner.styles.js +1 -2
  151. package/dist/components/switch/switch.component.d.ts +5 -0
  152. package/dist/components/switch/switch.component.js +7 -6
  153. package/dist/components/switch/switch.custom.styles.js +1 -1
  154. package/dist/components/switch/switch.js +8 -7
  155. package/dist/components/switch/switch.styles.js +1 -3
  156. package/dist/components/tag/tag.component.js +7 -8
  157. package/dist/components/tag/tag.js +8 -9
  158. package/dist/components/tag/tag.styles.js +1 -3
  159. package/dist/components/textarea/textarea.component.js +5 -6
  160. package/dist/components/textarea/textarea.js +6 -7
  161. package/dist/components/textarea/textarea.styles.js +1 -4
  162. package/dist/custom-elements.json +263 -147
  163. package/dist/internal/longpress.d.ts +2 -2
  164. package/dist/internal/modal.d.ts +3 -0
  165. package/dist/synergy.js +61 -62
  166. package/dist/utilities/form.js +2 -2
  167. package/dist/vscode.html-custom-data.json +36 -21
  168. package/package.json +2 -4
  169. package/dist/chunks/chunk.23HTU3YE.js.map +0 -7
  170. package/dist/chunks/chunk.2FN5DTS6.js.map +0 -7
  171. package/dist/chunks/chunk.2KKPNUPU.js.map +0 -7
  172. package/dist/chunks/chunk.2Z2GYRLO.js.map +0 -7
  173. package/dist/chunks/chunk.35PHCFSV.js.map +0 -7
  174. package/dist/chunks/chunk.4CBN5LPQ.js.map +0 -7
  175. package/dist/chunks/chunk.4I6M5V6O.js.map +0 -7
  176. package/dist/chunks/chunk.4ZGN7AEC.js.map +0 -7
  177. package/dist/chunks/chunk.4ZURABYO.js.map +0 -7
  178. package/dist/chunks/chunk.6XU6OLZ3.js.map +0 -7
  179. package/dist/chunks/chunk.AFEABUNX.js.map +0 -7
  180. package/dist/chunks/chunk.AJWDVZRI.js.map +0 -7
  181. package/dist/chunks/chunk.AWZ4FSAL.js.map +0 -7
  182. package/dist/chunks/chunk.B75SET3J.js.map +0 -7
  183. package/dist/chunks/chunk.DAROCSFO.js.map +0 -7
  184. package/dist/chunks/chunk.EKOK7YPB.js.map +0 -7
  185. package/dist/chunks/chunk.ERNEIORV.js.map +0 -7
  186. package/dist/chunks/chunk.G66TSLVT.js.map +0 -7
  187. package/dist/chunks/chunk.GUQN6XL4.js.map +0 -7
  188. package/dist/chunks/chunk.GZVDP7WZ.js.map +0 -7
  189. package/dist/chunks/chunk.HNRD7DBS.js.map +0 -7
  190. package/dist/chunks/chunk.JBHQJWOB.js.map +0 -7
  191. package/dist/chunks/chunk.JBYBQ5TQ.js.map +0 -7
  192. package/dist/chunks/chunk.JHXCBOUD.js.map +0 -7
  193. package/dist/chunks/chunk.JN7CLMQZ.js.map +0 -7
  194. package/dist/chunks/chunk.KA7L2PMA.js.map +0 -7
  195. package/dist/chunks/chunk.MB3YZTYP.js.map +0 -7
  196. package/dist/chunks/chunk.MNMITYTH.js.map +0 -7
  197. package/dist/chunks/chunk.N2I6HVX3.js.map +0 -7
  198. package/dist/chunks/chunk.NV7W5R6V.js.map +0 -7
  199. package/dist/chunks/chunk.O7USYXBT.js +0 -23
  200. package/dist/chunks/chunk.OJ4KOC7R.js.map +0 -7
  201. package/dist/chunks/chunk.PGCXJ2PT.js.map +0 -7
  202. package/dist/chunks/chunk.QHFGD6WW.js.map +0 -7
  203. package/dist/chunks/chunk.RS4Z4KDT.js.map +0 -7
  204. package/dist/chunks/chunk.RSONAU45.js.map +0 -7
  205. package/dist/chunks/chunk.UVYPEAQZ.js.map +0 -7
  206. package/dist/chunks/chunk.W6V7TPGK.js.map +0 -7
  207. package/dist/chunks/chunk.WDX7XUUK.js.map +0 -7
  208. package/dist/chunks/chunk.XI6MSNHF.js.map +0 -7
  209. package/dist/chunks/chunk.Y4QKFZLK.js.map +0 -7
  210. package/dist/web-types.json +0 -2580
  211. /package/dist/chunks/{chunk.2IBWQADW.js.map → chunk.3O5WTWSN.js.map} +0 -0
  212. /package/dist/chunks/{chunk.6PWB7EUW.js.map → chunk.5BMNRZ7L.js.map} +0 -0
  213. /package/dist/chunks/{chunk.A2WGLZOL.js.map → chunk.5CB3CVZ7.js.map} +0 -0
  214. /package/dist/chunks/{chunk.CUU2VBEZ.js.map → chunk.AJU6C4KC.js.map} +0 -0
  215. /package/dist/chunks/{chunk.HW5TASOL.js.map → chunk.BGKFRWWO.js.map} +0 -0
  216. /package/dist/chunks/{chunk.F3YEAZYJ.js.map → chunk.BTZX6ZFZ.js.map} +0 -0
  217. /package/dist/chunks/{chunk.K4ELZCXB.js.map → chunk.F4THECWA.js.map} +0 -0
  218. /package/dist/chunks/{chunk.COKV3ZN7.js.map → chunk.FUNZW7ES.js.map} +0 -0
  219. /package/dist/chunks/{chunk.NWWHBSV7.js.map → chunk.IOPUYG6Q.js.map} +0 -0
  220. /package/dist/chunks/{chunk.BGPAHVPK.js.map → chunk.IR2PZHC7.js.map} +0 -0
  221. /package/dist/chunks/{chunk.JSO3PKB4.js.map → chunk.KUO3KJOC.js.map} +0 -0
  222. /package/dist/chunks/{chunk.WP6T5CG2.js.map → chunk.LF2XSSHD.js.map} +0 -0
  223. /package/dist/chunks/{chunk.OJUBVHIK.js.map → chunk.LZE7OXKV.js.map} +0 -0
  224. /package/dist/chunks/{chunk.MRAXEK5D.js.map → chunk.PRZRH7SN.js.map} +0 -0
  225. /package/dist/chunks/{chunk.2XCLA4MQ.js.map → chunk.QY6MKIMK.js.map} +0 -0
  226. /package/dist/chunks/{chunk.RVFNEWM3.js.map → chunk.RMQZMRVP.js.map} +0 -0
  227. /package/dist/chunks/{chunk.NAAFLDZ3.js.map → chunk.VATYXV2O.js.map} +0 -0
  228. /package/dist/chunks/{chunk.5TFG753C.js.map → chunk.Y72MIUNI.js.map} +0 -0
  229. /package/dist/chunks/{chunk.IKKMWFWH.js.map → chunk.ZIQXX272.js.map} +0 -0
  230. /package/dist/chunks/{chunk.UG5FC6UD.js.map → chunk.ZT5DUKVA.js.map} +0 -0
@@ -2,6 +2,146 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "components/button-group/button-group.js",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "",
12
+ "name": "SynButtonGroup",
13
+ "cssParts": [
14
+ {
15
+ "description": "The component's base wrapper.",
16
+ "name": "base"
17
+ }
18
+ ],
19
+ "slots": [
20
+ {
21
+ "description": "One or more `<syn-button>` elements to display in the button group.",
22
+ "name": ""
23
+ }
24
+ ],
25
+ "members": [
26
+ {
27
+ "kind": "field",
28
+ "name": "defaultSlot",
29
+ "type": {
30
+ "text": "HTMLSlotElement"
31
+ }
32
+ },
33
+ {
34
+ "kind": "field",
35
+ "name": "disableRole",
36
+ "type": {
37
+ "text": "boolean"
38
+ },
39
+ "default": "false"
40
+ },
41
+ {
42
+ "kind": "field",
43
+ "name": "label",
44
+ "type": {
45
+ "text": "string"
46
+ },
47
+ "default": "''",
48
+ "description": "A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
49
+ "attribute": "label"
50
+ },
51
+ {
52
+ "kind": "method",
53
+ "name": "handleFocus",
54
+ "privacy": "private",
55
+ "parameters": [
56
+ {
57
+ "name": "event",
58
+ "type": {
59
+ "text": "Event"
60
+ }
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "kind": "method",
66
+ "name": "handleBlur",
67
+ "privacy": "private",
68
+ "parameters": [
69
+ {
70
+ "name": "event",
71
+ "type": {
72
+ "text": "Event"
73
+ }
74
+ }
75
+ ]
76
+ },
77
+ {
78
+ "kind": "method",
79
+ "name": "handleMouseOver",
80
+ "privacy": "private",
81
+ "parameters": [
82
+ {
83
+ "name": "event",
84
+ "type": {
85
+ "text": "Event"
86
+ }
87
+ }
88
+ ]
89
+ },
90
+ {
91
+ "kind": "method",
92
+ "name": "handleMouseOut",
93
+ "privacy": "private",
94
+ "parameters": [
95
+ {
96
+ "name": "event",
97
+ "type": {
98
+ "text": "Event"
99
+ }
100
+ }
101
+ ]
102
+ },
103
+ {
104
+ "kind": "method",
105
+ "name": "handleSlotChange",
106
+ "privacy": "private"
107
+ }
108
+ ],
109
+ "attributes": [
110
+ {
111
+ "name": "label",
112
+ "type": {
113
+ "text": "string"
114
+ },
115
+ "default": "''",
116
+ "description": "A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
117
+ "fieldName": "label"
118
+ }
119
+ ],
120
+ "superclass": {
121
+ "name": "SynergyElement",
122
+ "module": "/src/internal/synergy-element.js"
123
+ },
124
+ "summary": "Button groups can be used to group related buttons into sections.",
125
+ "tagNameWithoutPrefix": "button-group",
126
+ "tagName": "syn-button-group",
127
+ "customElement": true,
128
+ "jsDoc": "/**\n * @summary Button groups can be used to group related buttons into sections.\n * @documentation https://synergy.style/components/button-group\n * @status stable\n * @since 2.0\n *\n * @slot - One or more `<syn-button>` elements to display in the button group.\n *\n * @csspart base - The component's base wrapper.\n */",
129
+ "documentation": "https://synergy.style/components/button-group",
130
+ "status": "stable",
131
+ "since": "2.0"
132
+ }
133
+ ],
134
+ "exports": [
135
+ {
136
+ "kind": "js",
137
+ "name": "default",
138
+ "declaration": {
139
+ "name": "SynButtonGroup",
140
+ "module": "components/button-group/button-group.js"
141
+ }
142
+ }
143
+ ]
144
+ },
5
145
  {
6
146
  "kind": "javascript-module",
7
147
  "path": "components/button/button.js",
@@ -616,146 +756,6 @@
616
756
  }
617
757
  ]
618
758
  },
619
- {
620
- "kind": "javascript-module",
621
- "path": "components/button-group/button-group.js",
622
- "declarations": [
623
- {
624
- "kind": "class",
625
- "description": "",
626
- "name": "SynButtonGroup",
627
- "cssParts": [
628
- {
629
- "description": "The component's base wrapper.",
630
- "name": "base"
631
- }
632
- ],
633
- "slots": [
634
- {
635
- "description": "One or more `<syn-button>` elements to display in the button group.",
636
- "name": ""
637
- }
638
- ],
639
- "members": [
640
- {
641
- "kind": "field",
642
- "name": "defaultSlot",
643
- "type": {
644
- "text": "HTMLSlotElement"
645
- }
646
- },
647
- {
648
- "kind": "field",
649
- "name": "disableRole",
650
- "type": {
651
- "text": "boolean"
652
- },
653
- "default": "false"
654
- },
655
- {
656
- "kind": "field",
657
- "name": "label",
658
- "type": {
659
- "text": "string"
660
- },
661
- "default": "''",
662
- "description": "A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
663
- "attribute": "label"
664
- },
665
- {
666
- "kind": "method",
667
- "name": "handleFocus",
668
- "privacy": "private",
669
- "parameters": [
670
- {
671
- "name": "event",
672
- "type": {
673
- "text": "Event"
674
- }
675
- }
676
- ]
677
- },
678
- {
679
- "kind": "method",
680
- "name": "handleBlur",
681
- "privacy": "private",
682
- "parameters": [
683
- {
684
- "name": "event",
685
- "type": {
686
- "text": "Event"
687
- }
688
- }
689
- ]
690
- },
691
- {
692
- "kind": "method",
693
- "name": "handleMouseOver",
694
- "privacy": "private",
695
- "parameters": [
696
- {
697
- "name": "event",
698
- "type": {
699
- "text": "Event"
700
- }
701
- }
702
- ]
703
- },
704
- {
705
- "kind": "method",
706
- "name": "handleMouseOut",
707
- "privacy": "private",
708
- "parameters": [
709
- {
710
- "name": "event",
711
- "type": {
712
- "text": "Event"
713
- }
714
- }
715
- ]
716
- },
717
- {
718
- "kind": "method",
719
- "name": "handleSlotChange",
720
- "privacy": "private"
721
- }
722
- ],
723
- "attributes": [
724
- {
725
- "name": "label",
726
- "type": {
727
- "text": "string"
728
- },
729
- "default": "''",
730
- "description": "A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive\ndevices when interacting with the control and is strongly recommended.",
731
- "fieldName": "label"
732
- }
733
- ],
734
- "superclass": {
735
- "name": "SynergyElement",
736
- "module": "/src/internal/synergy-element.js"
737
- },
738
- "summary": "Button groups can be used to group related buttons into sections.",
739
- "tagNameWithoutPrefix": "button-group",
740
- "tagName": "syn-button-group",
741
- "customElement": true,
742
- "jsDoc": "/**\n * @summary Button groups can be used to group related buttons into sections.\n * @documentation https://synergy.style/components/button-group\n * @status stable\n * @since 2.0\n *\n * @slot - One or more `<syn-button>` elements to display in the button group.\n *\n * @csspart base - The component's base wrapper.\n */",
743
- "documentation": "https://synergy.style/components/button-group",
744
- "status": "stable",
745
- "since": "2.0"
746
- }
747
- ],
748
- "exports": [
749
- {
750
- "kind": "js",
751
- "name": "default",
752
- "declaration": {
753
- "name": "SynButtonGroup",
754
- "module": "components/button-group/button-group.js"
755
- }
756
- }
757
- ]
758
- },
759
759
  {
760
760
  "kind": "javascript-module",
761
761
  "path": "components/checkbox/checkbox.js",
@@ -792,12 +792,20 @@
792
792
  {
793
793
  "description": "The container that wraps the checkbox's label.",
794
794
  "name": "label"
795
+ },
796
+ {
797
+ "description": "The help text's wrapper.",
798
+ "name": "form-control-help-text"
795
799
  }
796
800
  ],
797
801
  "slots": [
798
802
  {
799
803
  "description": "The checkbox's label.",
800
804
  "name": ""
805
+ },
806
+ {
807
+ "description": "Text that describes how to use the checkbox. Alternatively, you can use the `help-text` attribute.",
808
+ "name": "help-text"
801
809
  }
802
810
  ],
803
811
  "members": [
@@ -817,6 +825,13 @@
817
825
  "readonly": true,
818
826
  "default": "new FormControlController(this, {\n value: (control: SynCheckbox) => (control.checked ? control.value || 'on' : undefined),\n defaultValue: (control: SynCheckbox) => control.defaultChecked,\n setValue: (control: SynCheckbox, checked: boolean) => (control.checked = checked)\n })"
819
827
  },
828
+ {
829
+ "kind": "field",
830
+ "name": "hasSlotController",
831
+ "privacy": "private",
832
+ "readonly": true,
833
+ "default": "new HasSlotController(this, 'help-text')"
834
+ },
820
835
  {
821
836
  "kind": "field",
822
837
  "name": "input",
@@ -936,6 +951,16 @@
936
951
  "attribute": "required",
937
952
  "reflects": true
938
953
  },
954
+ {
955
+ "kind": "field",
956
+ "name": "helpText",
957
+ "type": {
958
+ "text": "string"
959
+ },
960
+ "default": "''",
961
+ "description": "The checkbox's help text. If you need to display HTML, use the `help-text` slot instead.",
962
+ "attribute": "help-text"
963
+ },
939
964
  {
940
965
  "kind": "field",
941
966
  "name": "validity",
@@ -1158,6 +1183,15 @@
1158
1183
  "default": "false",
1159
1184
  "description": "Makes the checkbox a required field.",
1160
1185
  "fieldName": "required"
1186
+ },
1187
+ {
1188
+ "name": "help-text",
1189
+ "type": {
1190
+ "text": "string"
1191
+ },
1192
+ "default": "''",
1193
+ "description": "The checkbox's help text. If you need to display HTML, use the `help-text` slot instead.",
1194
+ "fieldName": "helpText"
1161
1195
  }
1162
1196
  ],
1163
1197
  "superclass": {
@@ -1168,7 +1202,7 @@
1168
1202
  "tagNameWithoutPrefix": "checkbox",
1169
1203
  "tagName": "syn-checkbox",
1170
1204
  "customElement": true,
1171
- "jsDoc": "/**\n * @summary Checkboxes allow the user to toggle an option on or off.\n * @documentation https://synergy.style/components/checkbox\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n *\n * @slot - The checkbox's label.\n *\n * @event syn-blur - Emitted when the checkbox loses focus.\n * @event syn-change - Emitted when the checked state changes.\n * @event syn-focus - Emitted when the checkbox gains focus.\n * @event syn-input - Emitted when the checkbox receives input.\n * @event syn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The square container that wraps the checkbox's checked state.\n * @csspart control--checked - Matches the control part when the checkbox is checked.\n * @csspart control--indeterminate - Matches the control part when the checkbox is indeterminate.\n * @csspart checked-icon - The checked icon, an `<syn-icon>` element.\n * @csspart indeterminate-icon - The indeterminate icon, an `<syn-icon>` element.\n * @csspart label - The container that wraps the checkbox's label.\n */",
1205
+ "jsDoc": "/**\n * @summary Checkboxes allow the user to toggle an option on or off.\n * @documentation https://synergy.style/components/checkbox\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n *\n * @slot - The checkbox's label.\n * @slot help-text - Text that describes how to use the checkbox. Alternatively, you can use the `help-text` attribute.\n *\n * @event syn-blur - Emitted when the checkbox loses focus.\n * @event syn-change - Emitted when the checked state changes.\n * @event syn-focus - Emitted when the checkbox gains focus.\n * @event syn-input - Emitted when the checkbox receives input.\n * @event syn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The square container that wraps the checkbox's checked state.\n * @csspart control--checked - Matches the control part when the checkbox is checked.\n * @csspart control--indeterminate - Matches the control part when the checkbox is indeterminate.\n * @csspart checked-icon - The checked icon, an `<syn-icon>` element.\n * @csspart indeterminate-icon - The indeterminate icon, an `<syn-icon>` element.\n * @csspart label - The container that wraps the checkbox's label.\n * @csspart form-control-help-text - The help text's wrapper.\n */",
1172
1206
  "documentation": "https://synergy.style/components/checkbox",
1173
1207
  "status": "stable",
1174
1208
  "since": "2.0",
@@ -1388,6 +1422,14 @@
1388
1422
  "default": "new Modal(this)",
1389
1423
  "description": "Exposes the internal modal utility that controls focus trapping. To temporarily disable focus trapping and allow third-party modals spawned from an active Synergy modal, call `modal.activateExternal()` when the third-party modal opens. Upon closing, call `modal.deactivateExternal()` to restore Synergy's focus trapping."
1390
1424
  },
1425
+ {
1426
+ "kind": "field",
1427
+ "name": "closeWatcher",
1428
+ "type": {
1429
+ "text": "CloseWatcher | null"
1430
+ },
1431
+ "privacy": "private"
1432
+ },
1391
1433
  {
1392
1434
  "kind": "field",
1393
1435
  "name": "drawer",
@@ -2835,7 +2877,7 @@
2835
2877
  },
2836
2878
  {
2837
2879
  "name": "selectMode",
2838
- "optional": true,
2880
+ "default": "'preserve'",
2839
2881
  "type": {
2840
2882
  "text": "'select' | 'start' | 'end' | 'preserve'"
2841
2883
  }
@@ -3610,6 +3652,10 @@
3610
3652
  {
3611
3653
  "description": "The popup's container. Useful for setting a background color, box shadow, etc.",
3612
3654
  "name": "popup"
3655
+ },
3656
+ {
3657
+ "description": "The hover bridge element. Only available when the `hover-bridge` option is enabled.",
3658
+ "name": "hover-bridge"
3613
3659
  }
3614
3660
  ],
3615
3661
  "slots": [
@@ -3862,6 +3908,16 @@
3862
3908
  "description": "The amount of padding, in pixels, to exceed before the auto-size behavior will occur.",
3863
3909
  "attribute": "auto-size-padding"
3864
3910
  },
3911
+ {
3912
+ "kind": "field",
3913
+ "name": "hoverBridge",
3914
+ "type": {
3915
+ "text": "boolean"
3916
+ },
3917
+ "default": "false",
3918
+ "description": "When a gap exists between the anchor and the popup element, this option will add a \"hover bridge\" that fills the\ngap using an invisible element. This makes listening for events such as `mouseenter` and `mouseleave` more sane\nbecause the pointer never technically leaves the element. The hover bridge will only be drawn when the popover is\nactive.",
3919
+ "attribute": "hover-bridge"
3920
+ },
3865
3921
  {
3866
3922
  "kind": "method",
3867
3923
  "name": "handleAnchorChange",
@@ -3886,6 +3942,11 @@
3886
3942
  "kind": "method",
3887
3943
  "name": "reposition",
3888
3944
  "description": "Forces the popup to recalculate and reposition itself."
3945
+ },
3946
+ {
3947
+ "kind": "field",
3948
+ "name": "updateHoverBridge",
3949
+ "privacy": "private"
3889
3950
  }
3890
3951
  ],
3891
3952
  "events": [
@@ -4079,6 +4140,15 @@
4079
4140
  "default": "0",
4080
4141
  "description": "The amount of padding, in pixels, to exceed before the auto-size behavior will occur.",
4081
4142
  "fieldName": "autoSizePadding"
4143
+ },
4144
+ {
4145
+ "name": "hover-bridge",
4146
+ "type": {
4147
+ "text": "boolean"
4148
+ },
4149
+ "default": "false",
4150
+ "description": "When a gap exists between the anchor and the popup element, this option will add a \"hover bridge\" that fills the\ngap using an invisible element. This makes listening for events such as `mouseenter` and `mouseleave` more sane\nbecause the pointer never technically leaves the element. The hover bridge will only be drawn when the popover is\nactive.",
4151
+ "fieldName": "hoverBridge"
4082
4152
  }
4083
4153
  ],
4084
4154
  "superclass": {
@@ -4089,7 +4159,7 @@
4089
4159
  "tagNameWithoutPrefix": "popup",
4090
4160
  "tagName": "syn-popup",
4091
4161
  "customElement": true,
4092
- "jsDoc": "/**\n * @summary Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n * @documentation https://synergy.style/components/popup\n * @status stable\n * @since 2.0\n *\n * @event syn-reposition - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive\n * operations in your listener or consider debouncing it.\n *\n * @slot - The popup's content.\n * @slot anchor - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the\n * `anchor` attribute or property instead.\n *\n * @csspart arrow - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are\n * assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and\n * maybe a border or box shadow.\n * @csspart popup - The popup's container. Useful for setting a background color, box shadow, etc.\n *\n * @cssproperty [--arrow-size=6px] - The size of the arrow. Note that an arrow won't be shown unless the `arrow`\n * attribute is used.\n * @cssproperty [--arrow-color=var(--syn-color-neutral-0)] - The color of the arrow.\n * @cssproperty [--auto-size-available-width] - A read-only custom property that determines the amount of width the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n * @cssproperty [--auto-size-available-height] - A read-only custom property that determines the amount of height the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n */",
4162
+ "jsDoc": "/**\n * @summary Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n * @documentation https://synergy.style/components/popup\n * @status stable\n * @since 2.0\n *\n * @event syn-reposition - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive\n * operations in your listener or consider debouncing it.\n *\n * @slot - The popup's content.\n * @slot anchor - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the\n * `anchor` attribute or property instead.\n *\n * @csspart arrow - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are\n * assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and\n * maybe a border or box shadow.\n * @csspart popup - The popup's container. Useful for setting a background color, box shadow, etc.\n * @csspart hover-bridge - The hover bridge element. Only available when the `hover-bridge` option is enabled.\n *\n * @cssproperty [--arrow-size=6px] - The size of the arrow. Note that an arrow won't be shown unless the `arrow`\n * attribute is used.\n * @cssproperty [--arrow-color=var(--syn-color-neutral-0)] - The color of the arrow.\n * @cssproperty [--auto-size-available-width] - A read-only custom property that determines the amount of width the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n * @cssproperty [--auto-size-available-height] - A read-only custom property that determines the amount of height the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n */",
4093
4163
  "documentation": "https://synergy.style/components/popup",
4094
4164
  "status": "stable",
4095
4165
  "since": "2.0"
@@ -4565,6 +4635,10 @@
4565
4635
  {
4566
4636
  "description": "The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.",
4567
4637
  "name": "label"
4638
+ },
4639
+ {
4640
+ "description": "Text that describes how to use the radio group. Alternatively, you can use the `help-text` attribute.",
4641
+ "name": "help-text"
4568
4642
  }
4569
4643
  ],
4570
4644
  "members": [
@@ -4936,7 +5010,7 @@
4936
5010
  "tagNameWithoutPrefix": "radio-group",
4937
5011
  "tagName": "syn-radio-group",
4938
5012
  "customElement": true,
4939
- "jsDoc": "/**\n * @summary Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n * @documentation https://synergy.style/components/radio-group\n * @status stable\n * @since 2.0\n *\n * @dependency syn-button-group\n *\n * @slot - The default slot where `<syn-radio>` or `<syn-radio-button>` elements are placed.\n * @slot label - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label`\n * attribute.\n *\n * @event syn-change - Emitted when the radio group's selected value changes.\n * @event syn-input - Emitted when the radio group receives user input.\n * @event syn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart button-group - The button group that wraps radio buttons.\n * @csspart button-group__base - The button group's `base` part.\n */",
5013
+ "jsDoc": "/**\n * @summary Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n * @documentation https://synergy.style/components/radio-group\n * @status stable\n * @since 2.0\n *\n * @dependency syn-button-group\n *\n * @slot - The default slot where `<syn-radio>` or `<syn-radio-button>` elements are placed.\n * @slot label - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label`\n * attribute.\n * @slot help-text - Text that describes how to use the radio group. Alternatively, you can use the `help-text` attribute.\n *\n * @event syn-change - Emitted when the radio group's selected value changes.\n * @event syn-input - Emitted when the radio group receives user input.\n * @event syn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart button-group - The button group that wraps radio buttons.\n * @csspart button-group__base - The button group's `base` part.\n */",
4940
5014
  "documentation": "https://synergy.style/components/radio-group",
4941
5015
  "status": "stable",
4942
5016
  "since": "2.0",
@@ -5104,6 +5178,14 @@
5104
5178
  },
5105
5179
  "privacy": "private"
5106
5180
  },
5181
+ {
5182
+ "kind": "field",
5183
+ "name": "closeWatcher",
5184
+ "type": {
5185
+ "text": "CloseWatcher | null"
5186
+ },
5187
+ "privacy": "private"
5188
+ },
5107
5189
  {
5108
5190
  "kind": "field",
5109
5191
  "name": "popup",
@@ -5983,12 +6065,20 @@
5983
6065
  {
5984
6066
  "description": "The switch's label.",
5985
6067
  "name": "label"
6068
+ },
6069
+ {
6070
+ "description": "The help text's wrapper.",
6071
+ "name": "form-control-help-text"
5986
6072
  }
5987
6073
  ],
5988
6074
  "slots": [
5989
6075
  {
5990
6076
  "description": "The switch's label.",
5991
6077
  "name": ""
6078
+ },
6079
+ {
6080
+ "description": "Text that describes how to use the switch. Alternatively, you can use the `help-text` attribute.",
6081
+ "name": "help-text"
5992
6082
  }
5993
6083
  ],
5994
6084
  "members": [
@@ -5999,6 +6089,13 @@
5999
6089
  "readonly": true,
6000
6090
  "default": "new FormControlController(this, {\n value: (control: SynSwitch) => (control.checked ? control.value || 'on' : undefined),\n defaultValue: (control: SynSwitch) => control.defaultChecked,\n setValue: (control: SynSwitch, checked: boolean) => (control.checked = checked)\n })"
6001
6091
  },
6092
+ {
6093
+ "kind": "field",
6094
+ "name": "hasSlotController",
6095
+ "privacy": "private",
6096
+ "readonly": true,
6097
+ "default": "new HasSlotController(this, 'help-text')"
6098
+ },
6002
6099
  {
6003
6100
  "kind": "field",
6004
6101
  "name": "input",
@@ -6107,6 +6204,16 @@
6107
6204
  "attribute": "required",
6108
6205
  "reflects": true
6109
6206
  },
6207
+ {
6208
+ "kind": "field",
6209
+ "name": "helpText",
6210
+ "type": {
6211
+ "text": "string"
6212
+ },
6213
+ "default": "''",
6214
+ "description": "The switch's help text. If you need to display HTML, use the `help-text` slot instead.",
6215
+ "attribute": "help-text"
6216
+ },
6110
6217
  {
6111
6218
  "kind": "field",
6112
6219
  "name": "validity",
@@ -6333,6 +6440,15 @@
6333
6440
  "default": "false",
6334
6441
  "description": "Makes the switch a required field.",
6335
6442
  "fieldName": "required"
6443
+ },
6444
+ {
6445
+ "name": "help-text",
6446
+ "type": {
6447
+ "text": "string"
6448
+ },
6449
+ "default": "''",
6450
+ "description": "The switch's help text. If you need to display HTML, use the `help-text` slot instead.",
6451
+ "fieldName": "helpText"
6336
6452
  }
6337
6453
  ],
6338
6454
  "superclass": {
@@ -6343,7 +6459,7 @@
6343
6459
  "tagNameWithoutPrefix": "switch",
6344
6460
  "tagName": "syn-switch",
6345
6461
  "customElement": true,
6346
- "jsDoc": "/**\n * @summary Switches allow the user to toggle an option on or off.\n * @documentation https://synergy.style/components/switch\n * @status stable\n * @since 2.0\n *\n * @slot - The switch's label.\n *\n * @event syn-blur - Emitted when the control loses focus.\n * @event syn-change - Emitted when the control's checked state changes.\n * @event syn-input - Emitted when the control receives input.\n * @event syn-focus - Emitted when the control gains focus.\n * @event syn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The control that houses the switch's thumb.\n * @csspart thumb - The switch's thumb.\n * @csspart label - The switch's label.\n *\n * @cssproperty --width - The width of the switch.\n * @cssproperty --height - The height of the switch.\n * @cssproperty --thumb-size - The size of the thumb.\n */",
6462
+ "jsDoc": "/**\n * @summary Switches allow the user to toggle an option on or off.\n * @documentation https://synergy.style/components/switch\n * @status stable\n * @since 2.0\n *\n * @slot - The switch's label.\n * @slot help-text - Text that describes how to use the switch. Alternatively, you can use the `help-text` attribute.\n *\n * @event syn-blur - Emitted when the control loses focus.\n * @event syn-change - Emitted when the control's checked state changes.\n * @event syn-input - Emitted when the control receives input.\n * @event syn-focus - Emitted when the control gains focus.\n * @event syn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The control that houses the switch's thumb.\n * @csspart thumb - The switch's thumb.\n * @csspart label - The switch's label.\n * @csspart form-control-help-text - The help text's wrapper.\n *\n * @cssproperty --width - The width of the switch.\n * @cssproperty --height - The height of the switch.\n * @cssproperty --thumb-size - The size of the thumb.\n */",
6347
6463
  "documentation": "https://synergy.style/components/switch",
6348
6464
  "status": "stable",
6349
6465
  "since": "2.0"
@@ -6957,7 +7073,7 @@
6957
7073
  },
6958
7074
  {
6959
7075
  "name": "selectMode",
6960
- "optional": true,
7076
+ "default": "'preserve'",
6961
7077
  "type": {
6962
7078
  "text": "'select' | 'start' | 'end' | 'preserve'"
6963
7079
  }
@@ -7251,7 +7367,7 @@
7251
7367
  "package": {
7252
7368
  "name": "@synergy-design-system/components",
7253
7369
  "description": "",
7254
- "version": "1.8.0",
7370
+ "version": "1.9.0",
7255
7371
  "author": {
7256
7372
  "name": "SICK Global UX Foundation",
7257
7373
  "url": "https://www.sick.com"
@@ -1,4 +1,4 @@
1
- /// <reference types="node" />
1
+ /// <reference types="node" resolution-mode="require"/>
2
2
  import { type ElementPart, noChange, nothing } from 'lit';
3
3
  import { AsyncDirective, type DirectiveParameters, type Part } from 'lit/async-directive.js';
4
4
  type Callbacks = {
@@ -38,5 +38,5 @@ declare class LongPressDirective extends AsyncDirective {
38
38
  */
39
39
  private stopSpinningAndCleanUp;
40
40
  }
41
- export declare const longPress: (_callback: Callbacks) => import("lit/async-directive").DirectiveResult<typeof LongPressDirective>;
41
+ export declare const longPress: (_callback: Callbacks) => import("lit/async-directive.js").DirectiveResult<typeof LongPressDirective>;
42
42
  export type { LongPressDirective };
@@ -3,6 +3,8 @@ export default class Modal {
3
3
  isExternalActivated: boolean;
4
4
  tabDirection: 'forward' | 'backward';
5
5
  currentFocus: HTMLElement | null;
6
+ previousFocus: HTMLElement | null;
7
+ elementsWithTabbableControls: string[];
6
8
  constructor(element: HTMLElement);
7
9
  /** Activates focus trapping. */
8
10
  activate(): void;
@@ -16,6 +18,7 @@ export default class Modal {
16
18
  deactivateExternal(): void;
17
19
  private checkFocus;
18
20
  private handleFocusIn;
21
+ private possiblyHasTabbableChildren;
19
22
  private handleKeyDown;
20
23
  private handleKeyUp;
21
24
  }