@synergy-design-system/components 1.14.0 → 1.15.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 (234) hide show
  1. package/dist/chunks/{chunk.UEQDHG7J.js → chunk.2BEBXBDJ.js} +2 -2
  2. package/dist/chunks/{chunk.2KV3G5JF.js → chunk.2LMCM7HQ.js} +2 -2
  3. package/dist/chunks/{chunk.QQB6JCQY.js → chunk.3JBPXBYC.js} +5 -5
  4. package/dist/chunks/{chunk.2SLHEFOH.js → chunk.3QNVV7DW.js} +5 -5
  5. package/dist/chunks/{chunk.GDHER3FZ.js → chunk.4LD5UMX7.js} +2 -2
  6. package/dist/chunks/{chunk.GGY5VQYA.js → chunk.4TWUWTOI.js} +2 -2
  7. package/dist/chunks/{chunk.COFVSXEF.js → chunk.5UETQYQR.js} +5 -5
  8. package/dist/chunks/{chunk.MQCFDVLW.js → chunk.63JWIOGL.js} +2 -2
  9. package/dist/chunks/{chunk.7UVCYUNR.js → chunk.66MOXMDP.js} +2 -2
  10. package/dist/chunks/chunk.74N5WLM5.js +53 -0
  11. package/dist/chunks/chunk.74N5WLM5.js.map +7 -0
  12. package/dist/chunks/{chunk.JDXKGJ63.js → chunk.AOKNP4QD.js} +42 -2
  13. package/dist/chunks/{chunk.JDXKGJ63.js.map → chunk.AOKNP4QD.js.map} +2 -2
  14. package/dist/chunks/chunk.BHTLGDWT.js +166 -0
  15. package/dist/chunks/chunk.BHTLGDWT.js.map +7 -0
  16. package/dist/chunks/{chunk.3HTXK6WY.js → chunk.CHJC6OSN.js} +2 -2
  17. package/dist/chunks/{chunk.EWGDHM27.js → chunk.EFV5UWMX.js} +2 -2
  18. package/dist/chunks/{chunk.DXL3JN6D.js → chunk.FHEH5OSL.js} +2 -2
  19. package/dist/chunks/{chunk.2OLQHFOR.js → chunk.FKT4RXN7.js} +3 -3
  20. package/dist/chunks/{chunk.P2D7PUR2.js → chunk.FYN26TFO.js} +3 -3
  21. package/dist/chunks/{chunk.Q4CT57M2.js → chunk.G7XEHN2F.js} +2 -2
  22. package/dist/chunks/{chunk.SRZMRKLQ.js → chunk.GARWLAOJ.js} +2 -2
  23. package/dist/chunks/{chunk.A6S4OYWD.js → chunk.GCHIBXQT.js} +6 -6
  24. package/dist/chunks/{chunk.RK7OBPZ5.js → chunk.GEHO4WRP.js} +2 -2
  25. package/dist/chunks/{chunk.RK7OBPZ5.js.map → chunk.GEHO4WRP.js.map} +1 -1
  26. package/dist/chunks/chunk.GO3CCKC3.js +96 -0
  27. package/dist/chunks/chunk.GO3CCKC3.js.map +7 -0
  28. package/dist/chunks/{chunk.YRMXDJFM.js → chunk.H46CGP6A.js} +2 -2
  29. package/dist/chunks/{chunk.7UUZ5ISH.js → chunk.H7APDHTS.js} +3 -3
  30. package/dist/chunks/chunk.IJCD3LMC.js +12 -0
  31. package/dist/chunks/chunk.IJCD3LMC.js.map +7 -0
  32. package/dist/chunks/{chunk.B57ZVQ2Q.js → chunk.IUHZVWPW.js} +2 -2
  33. package/dist/chunks/chunk.IYGOMLU7.js +208 -0
  34. package/dist/chunks/chunk.IYGOMLU7.js.map +7 -0
  35. package/dist/chunks/{chunk.CG753OYA.js → chunk.JCFKRHGM.js} +2 -2
  36. package/dist/chunks/{chunk.ETREUSYO.js → chunk.JL53VHSP.js} +4 -4
  37. package/dist/chunks/{chunk.ZLEQ5DOF.js → chunk.JUD3T56D.js} +2 -2
  38. package/dist/chunks/{chunk.34NAFEQ7.js → chunk.KC6TXACE.js} +2 -2
  39. package/dist/chunks/{chunk.UYD2OVFV.js → chunk.KZMWNTUS.js} +2 -2
  40. package/dist/chunks/chunk.KZMWNTUS.js.map +7 -0
  41. package/dist/chunks/chunk.L4UUXVRZ.js +312 -0
  42. package/dist/chunks/chunk.L4UUXVRZ.js.map +7 -0
  43. package/dist/chunks/{chunk.64MHCKTF.js → chunk.LNUIMITL.js} +6 -6
  44. package/dist/chunks/{chunk.5TOD3QS2.js → chunk.MCJTXOVV.js} +2 -2
  45. package/dist/chunks/{chunk.5TOD3QS2.js.map → chunk.MCJTXOVV.js.map} +1 -1
  46. package/dist/chunks/chunk.MJYZDU37.js +318 -0
  47. package/dist/chunks/chunk.MJYZDU37.js.map +7 -0
  48. package/dist/chunks/{chunk.CSOIUDS4.js → chunk.MMDRQ7JM.js} +2 -2
  49. package/dist/chunks/{chunk.525LGYB4.js → chunk.NBHBC5FQ.js} +4 -4
  50. package/dist/chunks/{chunk.MEDX62IL.js → chunk.O3A57CXO.js} +3 -3
  51. package/dist/chunks/{chunk.PEMSU7RY.js → chunk.OLUNOSLX.js} +2 -2
  52. package/dist/chunks/{chunk.722JR5BD.js → chunk.ON2HXIFZ.js} +3 -3
  53. package/dist/chunks/{chunk.4MRXASVT.js → chunk.OVUVBTHH.js} +2 -2
  54. package/dist/chunks/chunk.P43W2NFX.js +12 -0
  55. package/dist/chunks/chunk.P43W2NFX.js.map +7 -0
  56. package/dist/chunks/chunk.QJGWS4TQ.js +12 -0
  57. package/dist/chunks/chunk.QJGWS4TQ.js.map +7 -0
  58. package/dist/chunks/{chunk.V53WYKEU.js → chunk.QY3GFWGZ.js} +6 -1
  59. package/dist/chunks/{chunk.V53WYKEU.js.map → chunk.QY3GFWGZ.js.map} +2 -2
  60. package/dist/chunks/{chunk.2ZEMD2N7.js → chunk.SBHXUKMY.js} +2 -2
  61. package/dist/chunks/{chunk.H33SDUY3.js → chunk.SE4NF6AN.js} +2 -2
  62. package/dist/chunks/{chunk.VCXIV7H4.js → chunk.SWPVARPP.js} +3 -3
  63. package/dist/chunks/{chunk.OLM7IVHA.js → chunk.T43ZXJKG.js} +6 -6
  64. package/dist/chunks/{chunk.PSTO5STZ.js → chunk.TFWNKCFJ.js} +2 -2
  65. package/dist/chunks/{chunk.2NRG7KJT.js → chunk.TRMXLYYL.js} +2 -2
  66. package/dist/chunks/{chunk.NXX572OD.js → chunk.V3JANQYN.js} +2 -2
  67. package/dist/chunks/{chunk.PAK472WN.js → chunk.V6OK2ECX.js} +2 -2
  68. package/dist/chunks/chunk.VDA7H6VI.js +286 -0
  69. package/dist/chunks/chunk.VDA7H6VI.js.map +7 -0
  70. package/dist/chunks/{chunk.VDYPXC2H.js → chunk.VPW6WZNZ.js} +2 -2
  71. package/dist/chunks/{chunk.N4VSEIRQ.js → chunk.VTKIDI7N.js} +7 -1
  72. package/dist/chunks/{chunk.N4VSEIRQ.js.map → chunk.VTKIDI7N.js.map} +2 -2
  73. package/dist/chunks/{chunk.QFMUPETV.js → chunk.VUROYPEC.js} +3 -3
  74. package/dist/chunks/{chunk.BUIBP2TA.js → chunk.VZEN3JIH.js} +2 -2
  75. package/dist/chunks/{chunk.VSEAHAW7.js → chunk.WCIAL36G.js} +2 -2
  76. package/dist/chunks/{chunk.4LMFTSOM.js → chunk.WHYX7AY4.js} +3 -3
  77. package/dist/chunks/{chunk.KEEDSK2V.js → chunk.WV2VTAP2.js} +4 -4
  78. package/dist/chunks/chunk.XNP4OTUB.js +16 -0
  79. package/dist/chunks/chunk.XNP4OTUB.js.map +7 -0
  80. package/dist/chunks/{chunk.ITUSK365.js → chunk.XSVH753L.js} +2 -2
  81. package/dist/chunks/{chunk.5HAKNNIR.js → chunk.YBPWZ4QI.js} +2 -2
  82. package/dist/chunks/{chunk.H7XP6JAS.js → chunk.YNWVXDDQ.js} +2 -2
  83. package/dist/chunks/{chunk.EZE5M5XB.js → chunk.ZMIBKG2N.js} +2 -2
  84. package/dist/components/badge/badge.component.js +4 -4
  85. package/dist/components/badge/badge.js +5 -5
  86. package/dist/components/button/button.component.js +8 -8
  87. package/dist/components/button/button.js +9 -9
  88. package/dist/components/button-group/button-group.component.js +2 -2
  89. package/dist/components/button-group/button-group.js +3 -3
  90. package/dist/components/checkbox/checkbox.component.js +5 -5
  91. package/dist/components/checkbox/checkbox.js +6 -6
  92. package/dist/components/divider/divider.component.js +2 -2
  93. package/dist/components/divider/divider.js +3 -3
  94. package/dist/components/drawer/drawer.component.js +9 -9
  95. package/dist/components/drawer/drawer.custom.styles.js +1 -1
  96. package/dist/components/drawer/drawer.js +10 -10
  97. package/dist/components/dropdown/dropdown.component.js +5 -5
  98. package/dist/components/dropdown/dropdown.js +6 -6
  99. package/dist/components/header/header.component.d.ts +42 -1
  100. package/dist/components/header/header.component.js +9 -7
  101. package/dist/components/header/header.js +10 -8
  102. package/dist/components/header/header.styles.js +1 -1
  103. package/dist/components/icon/icon.component.js +4 -4
  104. package/dist/components/icon/icon.js +5 -5
  105. package/dist/components/icon/library.js +2 -2
  106. package/dist/components/icon/library.system.js +1 -1
  107. package/dist/components/icon-button/icon-button.component.js +5 -5
  108. package/dist/components/icon-button/icon-button.js +6 -6
  109. package/dist/components/input/input.component.js +8 -8
  110. package/dist/components/input/input.js +9 -9
  111. package/dist/components/menu/menu.component.js +2 -2
  112. package/dist/components/menu/menu.js +3 -3
  113. package/dist/components/menu-item/menu-item.component.js +9 -9
  114. package/dist/components/menu-item/menu-item.js +10 -10
  115. package/dist/components/menu-item/submenu-controller.js +2 -2
  116. package/dist/components/menu-label/menu-label.component.js +3 -3
  117. package/dist/components/menu-label/menu-label.js +4 -4
  118. package/dist/components/nav-item/nav-item.component.d.ts +145 -0
  119. package/dist/components/nav-item/nav-item.component.js +15 -0
  120. package/dist/components/nav-item/nav-item.component.js.map +7 -0
  121. package/dist/components/nav-item/nav-item.d.ts +8 -0
  122. package/dist/components/nav-item/nav-item.js +16 -0
  123. package/dist/components/nav-item/nav-item.js.map +7 -0
  124. package/dist/components/nav-item/nav-item.styles.d.ts +2 -0
  125. package/dist/components/nav-item/nav-item.styles.js +8 -0
  126. package/dist/components/nav-item/nav-item.styles.js.map +7 -0
  127. package/dist/components/optgroup/optgroup.component.js +3 -3
  128. package/dist/components/optgroup/optgroup.js +4 -4
  129. package/dist/components/option/option.component.js +7 -7
  130. package/dist/components/option/option.js +8 -8
  131. package/dist/components/popup/popup.component.js +2 -2
  132. package/dist/components/popup/popup.js +3 -3
  133. package/dist/components/prio-nav/prio-nav.component.d.ts +110 -0
  134. package/dist/components/prio-nav/prio-nav.component.js +38 -0
  135. package/dist/components/prio-nav/prio-nav.component.js.map +7 -0
  136. package/dist/components/prio-nav/prio-nav.d.ts +8 -0
  137. package/dist/components/prio-nav/prio-nav.js +39 -0
  138. package/dist/components/prio-nav/prio-nav.js.map +7 -0
  139. package/dist/components/prio-nav/prio-nav.styles.d.ts +2 -0
  140. package/dist/components/prio-nav/prio-nav.styles.js +8 -0
  141. package/dist/components/prio-nav/prio-nav.styles.js.map +7 -0
  142. package/dist/components/prio-nav/utils.d.ts +20 -0
  143. package/dist/components/prio-nav/utils.js +12 -0
  144. package/dist/components/prio-nav/utils.js.map +7 -0
  145. package/dist/components/radio/radio.component.js +6 -6
  146. package/dist/components/radio/radio.js +7 -7
  147. package/dist/components/radio-button/radio-button.component.js +2 -2
  148. package/dist/components/radio-button/radio-button.js +3 -3
  149. package/dist/components/radio-group/radio-group.component.js +3 -3
  150. package/dist/components/radio-group/radio-group.js +4 -4
  151. package/dist/components/select/select.component.js +10 -10
  152. package/dist/components/select/select.js +11 -11
  153. package/dist/components/side-nav/side-nav.component.d.ts +122 -0
  154. package/dist/components/side-nav/side-nav.component.js +34 -0
  155. package/dist/components/side-nav/side-nav.component.js.map +7 -0
  156. package/dist/components/side-nav/side-nav.d.ts +8 -0
  157. package/dist/components/side-nav/side-nav.js +35 -0
  158. package/dist/components/side-nav/side-nav.js.map +7 -0
  159. package/dist/components/side-nav/side-nav.styles.d.ts +2 -0
  160. package/dist/components/side-nav/side-nav.styles.js +8 -0
  161. package/dist/components/side-nav/side-nav.styles.js.map +7 -0
  162. package/dist/components/spinner/spinner.component.js +4 -4
  163. package/dist/components/switch/switch.component.js +2 -2
  164. package/dist/components/switch/switch.js +3 -3
  165. package/dist/components/tag/tag.component.js +8 -8
  166. package/dist/components/tag/tag.js +9 -9
  167. package/dist/components/textarea/textarea.component.js +2 -2
  168. package/dist/components/textarea/textarea.js +3 -3
  169. package/dist/custom-elements.json +1814 -611
  170. package/dist/events/events.d.ts +2 -0
  171. package/dist/events/syn-burger-menu-hide.d.ts +6 -0
  172. package/dist/events/syn-burger-menu-show.d.ts +6 -0
  173. package/dist/synergy.d.ts +3 -0
  174. package/dist/synergy.js +89 -70
  175. package/dist/translations/de.js +7 -2
  176. package/dist/translations/de.js.map +2 -2
  177. package/dist/translations/en.js +1 -1
  178. package/dist/utilities/icon-library.js +2 -2
  179. package/dist/utilities/localize.d.ts +3 -0
  180. package/dist/utilities/localize.js +2 -2
  181. package/dist/vscode.html-custom-data.json +99 -2
  182. package/package.json +4 -3
  183. package/dist/chunks/chunk.L6ZUZPOW.js +0 -80
  184. package/dist/chunks/chunk.L6ZUZPOW.js.map +0 -7
  185. package/dist/chunks/chunk.UYD2OVFV.js.map +0 -7
  186. /package/dist/chunks/{chunk.UEQDHG7J.js.map → chunk.2BEBXBDJ.js.map} +0 -0
  187. /package/dist/chunks/{chunk.2KV3G5JF.js.map → chunk.2LMCM7HQ.js.map} +0 -0
  188. /package/dist/chunks/{chunk.QQB6JCQY.js.map → chunk.3JBPXBYC.js.map} +0 -0
  189. /package/dist/chunks/{chunk.2SLHEFOH.js.map → chunk.3QNVV7DW.js.map} +0 -0
  190. /package/dist/chunks/{chunk.GDHER3FZ.js.map → chunk.4LD5UMX7.js.map} +0 -0
  191. /package/dist/chunks/{chunk.GGY5VQYA.js.map → chunk.4TWUWTOI.js.map} +0 -0
  192. /package/dist/chunks/{chunk.COFVSXEF.js.map → chunk.5UETQYQR.js.map} +0 -0
  193. /package/dist/chunks/{chunk.MQCFDVLW.js.map → chunk.63JWIOGL.js.map} +0 -0
  194. /package/dist/chunks/{chunk.7UVCYUNR.js.map → chunk.66MOXMDP.js.map} +0 -0
  195. /package/dist/chunks/{chunk.3HTXK6WY.js.map → chunk.CHJC6OSN.js.map} +0 -0
  196. /package/dist/chunks/{chunk.EWGDHM27.js.map → chunk.EFV5UWMX.js.map} +0 -0
  197. /package/dist/chunks/{chunk.DXL3JN6D.js.map → chunk.FHEH5OSL.js.map} +0 -0
  198. /package/dist/chunks/{chunk.2OLQHFOR.js.map → chunk.FKT4RXN7.js.map} +0 -0
  199. /package/dist/chunks/{chunk.P2D7PUR2.js.map → chunk.FYN26TFO.js.map} +0 -0
  200. /package/dist/chunks/{chunk.Q4CT57M2.js.map → chunk.G7XEHN2F.js.map} +0 -0
  201. /package/dist/chunks/{chunk.SRZMRKLQ.js.map → chunk.GARWLAOJ.js.map} +0 -0
  202. /package/dist/chunks/{chunk.A6S4OYWD.js.map → chunk.GCHIBXQT.js.map} +0 -0
  203. /package/dist/chunks/{chunk.YRMXDJFM.js.map → chunk.H46CGP6A.js.map} +0 -0
  204. /package/dist/chunks/{chunk.7UUZ5ISH.js.map → chunk.H7APDHTS.js.map} +0 -0
  205. /package/dist/chunks/{chunk.B57ZVQ2Q.js.map → chunk.IUHZVWPW.js.map} +0 -0
  206. /package/dist/chunks/{chunk.CG753OYA.js.map → chunk.JCFKRHGM.js.map} +0 -0
  207. /package/dist/chunks/{chunk.ETREUSYO.js.map → chunk.JL53VHSP.js.map} +0 -0
  208. /package/dist/chunks/{chunk.ZLEQ5DOF.js.map → chunk.JUD3T56D.js.map} +0 -0
  209. /package/dist/chunks/{chunk.34NAFEQ7.js.map → chunk.KC6TXACE.js.map} +0 -0
  210. /package/dist/chunks/{chunk.64MHCKTF.js.map → chunk.LNUIMITL.js.map} +0 -0
  211. /package/dist/chunks/{chunk.CSOIUDS4.js.map → chunk.MMDRQ7JM.js.map} +0 -0
  212. /package/dist/chunks/{chunk.525LGYB4.js.map → chunk.NBHBC5FQ.js.map} +0 -0
  213. /package/dist/chunks/{chunk.MEDX62IL.js.map → chunk.O3A57CXO.js.map} +0 -0
  214. /package/dist/chunks/{chunk.PEMSU7RY.js.map → chunk.OLUNOSLX.js.map} +0 -0
  215. /package/dist/chunks/{chunk.722JR5BD.js.map → chunk.ON2HXIFZ.js.map} +0 -0
  216. /package/dist/chunks/{chunk.4MRXASVT.js.map → chunk.OVUVBTHH.js.map} +0 -0
  217. /package/dist/chunks/{chunk.2ZEMD2N7.js.map → chunk.SBHXUKMY.js.map} +0 -0
  218. /package/dist/chunks/{chunk.H33SDUY3.js.map → chunk.SE4NF6AN.js.map} +0 -0
  219. /package/dist/chunks/{chunk.VCXIV7H4.js.map → chunk.SWPVARPP.js.map} +0 -0
  220. /package/dist/chunks/{chunk.OLM7IVHA.js.map → chunk.T43ZXJKG.js.map} +0 -0
  221. /package/dist/chunks/{chunk.PSTO5STZ.js.map → chunk.TFWNKCFJ.js.map} +0 -0
  222. /package/dist/chunks/{chunk.2NRG7KJT.js.map → chunk.TRMXLYYL.js.map} +0 -0
  223. /package/dist/chunks/{chunk.NXX572OD.js.map → chunk.V3JANQYN.js.map} +0 -0
  224. /package/dist/chunks/{chunk.PAK472WN.js.map → chunk.V6OK2ECX.js.map} +0 -0
  225. /package/dist/chunks/{chunk.VDYPXC2H.js.map → chunk.VPW6WZNZ.js.map} +0 -0
  226. /package/dist/chunks/{chunk.QFMUPETV.js.map → chunk.VUROYPEC.js.map} +0 -0
  227. /package/dist/chunks/{chunk.BUIBP2TA.js.map → chunk.VZEN3JIH.js.map} +0 -0
  228. /package/dist/chunks/{chunk.VSEAHAW7.js.map → chunk.WCIAL36G.js.map} +0 -0
  229. /package/dist/chunks/{chunk.4LMFTSOM.js.map → chunk.WHYX7AY4.js.map} +0 -0
  230. /package/dist/chunks/{chunk.KEEDSK2V.js.map → chunk.WV2VTAP2.js.map} +0 -0
  231. /package/dist/chunks/{chunk.ITUSK365.js.map → chunk.XSVH753L.js.map} +0 -0
  232. /package/dist/chunks/{chunk.5HAKNNIR.js.map → chunk.YBPWZ4QI.js.map} +0 -0
  233. /package/dist/chunks/{chunk.H7XP6JAS.js.map → chunk.YNWVXDDQ.js.map} +0 -0
  234. /package/dist/chunks/{chunk.EZE5M5XB.js.map → chunk.ZMIBKG2N.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynBadge
3
- } from "./chunk.VCXIV7H4.js";
3
+ } from "./chunk.SWPVARPP.js";
4
4
 
5
5
  // src/components/badge/badge.ts
6
6
  var badge_default = SynBadge;
@@ -9,4 +9,4 @@ SynBadge.define("syn-badge");
9
9
  export {
10
10
  badge_default
11
11
  };
12
- //# sourceMappingURL=chunk.2NRG7KJT.js.map
12
+ //# sourceMappingURL=chunk.TRMXLYYL.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynMenuLabel
3
- } from "./chunk.MEDX62IL.js";
3
+ } from "./chunk.O3A57CXO.js";
4
4
 
5
5
  // src/components/menu-label/menu-label.ts
6
6
  var menu_label_default = SynMenuLabel;
@@ -9,4 +9,4 @@ SynMenuLabel.define("syn-menu-label");
9
9
  export {
10
10
  menu_label_default
11
11
  };
12
- //# sourceMappingURL=chunk.NXX572OD.js.map
12
+ //# sourceMappingURL=chunk.V3JANQYN.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynInput
3
- } from "./chunk.QQB6JCQY.js";
3
+ } from "./chunk.3JBPXBYC.js";
4
4
 
5
5
  // src/components/input/input.ts
6
6
  var input_default = SynInput;
@@ -9,4 +9,4 @@ SynInput.define("syn-input");
9
9
  export {
10
10
  input_default
11
11
  };
12
- //# sourceMappingURL=chunk.PAK472WN.js.map
12
+ //# sourceMappingURL=chunk.V6OK2ECX.js.map
@@ -0,0 +1,286 @@
1
+ import {
2
+ side_nav_styles_default
3
+ } from "./chunk.GO3CCKC3.js";
4
+ import {
5
+ SynDivider
6
+ } from "./chunk.YBPWZ4QI.js";
7
+ import {
8
+ SynDrawer
9
+ } from "./chunk.5UETQYQR.js";
10
+ import {
11
+ unlockBodyScrolling
12
+ } from "./chunk.2QYALZBT.js";
13
+ import {
14
+ waitForEvent
15
+ } from "./chunk.7BEVGRQ2.js";
16
+ import {
17
+ getAnimation,
18
+ setAnimation,
19
+ setDefaultAnimation
20
+ } from "./chunk.QAUTITK3.js";
21
+ import {
22
+ HasSlotController
23
+ } from "./chunk.66WXVGAW.js";
24
+ import {
25
+ watch
26
+ } from "./chunk.AVTU2BGE.js";
27
+ import {
28
+ LocalizeController
29
+ } from "./chunk.GEHO4WRP.js";
30
+ import {
31
+ SynergyElement,
32
+ component_styles_default
33
+ } from "./chunk.MCJTXOVV.js";
34
+ import {
35
+ __decorateClass
36
+ } from "./chunk.QNDC5KWA.js";
37
+
38
+ // src/components/side-nav/side-nav.component.ts
39
+ import { classMap } from "lit/directives/class-map.js";
40
+ import { html } from "lit/static-html.js";
41
+ import { property, query, state } from "lit/decorators.js";
42
+ var SynSideNav = class extends SynergyElement {
43
+ constructor() {
44
+ super();
45
+ this.hasSlotController = new HasSlotController(this, "[default]", "footer");
46
+ this.localize = new LocalizeController(this);
47
+ this.isAnimationActive = false;
48
+ this.open = false;
49
+ this.rail = false;
50
+ this.noFocusTrapping = false;
51
+ this.handleMouseEnter = this.handleMouseEnter.bind(this);
52
+ this.handleMouseLeave = this.handleMouseLeave.bind(this);
53
+ }
54
+ setDelayedCallback(callback) {
55
+ clearTimeout(this.timeout);
56
+ this.timeout = setTimeout(callback, 100);
57
+ }
58
+ handleMouseEnter() {
59
+ this.setDelayedCallback(() => {
60
+ this.open = true;
61
+ });
62
+ }
63
+ handleMouseLeave() {
64
+ this.setDelayedCallback(() => {
65
+ this.open = false;
66
+ });
67
+ }
68
+ handleRequestClose() {
69
+ if (this.open) {
70
+ this.open = false;
71
+ }
72
+ }
73
+ addMouseListener() {
74
+ var _a, _b;
75
+ (_a = this.drawer.shadowRoot.querySelector(".drawer__panel")) == null ? void 0 : _a.addEventListener("mouseenter", this.handleMouseEnter);
76
+ (_b = this.drawer.shadowRoot.querySelector(".drawer__panel")) == null ? void 0 : _b.addEventListener("mouseleave", this.handleMouseLeave);
77
+ }
78
+ removeMouseListener() {
79
+ var _a, _b;
80
+ (_a = this.drawer.shadowRoot.querySelector(".drawer__panel")) == null ? void 0 : _a.removeEventListener("mouseenter", this.handleMouseEnter);
81
+ (_b = this.drawer.shadowRoot.querySelector(".drawer__panel")) == null ? void 0 : _b.removeEventListener("mouseleave", this.handleMouseLeave);
82
+ }
83
+ setDrawerVisibility(isVisible) {
84
+ var _a;
85
+ this.drawer.shadowRoot.querySelector(".drawer").hidden = !isVisible;
86
+ (_a = this.drawer.shadowRoot.querySelector(".drawer__panel")) == null ? void 0 : _a.setAttribute("aria-hidden", isVisible ? "false" : "true");
87
+ }
88
+ forceDrawerVisibilityForRailMode() {
89
+ return waitForEvent(this, "syn-after-hide").then(() => {
90
+ this.setDrawerVisibility(true);
91
+ this.isAnimationActive = false;
92
+ });
93
+ }
94
+ setDrawerAnimations() {
95
+ const showAnimation = getAnimation(this, `sideNav.show${this.rail ? "Rail" : "NonRail"}`, { dir: this.localize.dir() });
96
+ const hideAnimation = getAnimation(this, `sideNav.hide${this.rail ? "Rail" : "NonRail"}`, { dir: this.localize.dir() });
97
+ const hideOverlay = getAnimation(this, "sideNav.overlay.hide", { dir: this.localize.dir() });
98
+ const showOverlay = getAnimation(this, "sideNav.overlay.show", { dir: this.localize.dir() });
99
+ setAnimation(this.drawer, "drawer.showStart", showAnimation);
100
+ setAnimation(this.drawer, "drawer.hideStart", hideAnimation);
101
+ setAnimation(this.drawer, "drawer.overlay.hide", hideOverlay);
102
+ setAnimation(this.drawer, "drawer.overlay.show", showOverlay);
103
+ }
104
+ handleModeChange() {
105
+ this.setDrawerAnimations();
106
+ if (this.rail) {
107
+ this.addMouseListener();
108
+ this.setDrawerVisibility(true);
109
+ } else {
110
+ this.removeMouseListener();
111
+ if (!this.open) {
112
+ this.setDrawerVisibility(false);
113
+ }
114
+ }
115
+ }
116
+ handleOpenChange() {
117
+ if (this.rail) {
118
+ this.isAnimationActive = true;
119
+ if (!this.open) {
120
+ this.forceDrawerVisibilityForRailMode();
121
+ } else {
122
+ waitForEvent(this.drawer, "syn-after-show").then(() => {
123
+ this.isAnimationActive = false;
124
+ });
125
+ }
126
+ }
127
+ }
128
+ handleFocusTrapping() {
129
+ if (!this.rail) {
130
+ if (this.noFocusTrapping) {
131
+ this.drawer.modal.activateExternal();
132
+ } else {
133
+ this.drawer.modal.deactivateExternal();
134
+ }
135
+ }
136
+ }
137
+ /** Shows the side-nav. */
138
+ async show() {
139
+ if (this.open) {
140
+ return void 0;
141
+ }
142
+ this.open = true;
143
+ return waitForEvent(this, "syn-after-show");
144
+ }
145
+ /** Hides the side-nav */
146
+ async hide() {
147
+ if (!this.open) {
148
+ return void 0;
149
+ }
150
+ this.open = false;
151
+ return waitForEvent(this, "syn-after-hide");
152
+ }
153
+ /**
154
+ * Initial setup for first render like special rail mode handling and drawer animations.
155
+ * */
156
+ firstUpdated() {
157
+ this.setDrawerAnimations();
158
+ if (this.rail) {
159
+ this.drawer.updateComplete.then(() => {
160
+ this.addMouseListener();
161
+ this.setDrawerVisibility(true);
162
+ });
163
+ } else if (this.noFocusTrapping) {
164
+ this.drawer.modal.activateExternal();
165
+ }
166
+ }
167
+ disconnectedCallback() {
168
+ super.disconnectedCallback();
169
+ unlockBodyScrolling(this.drawer);
170
+ this.drawer.modal.deactivate();
171
+ }
172
+ render() {
173
+ const isTouch = window.navigator.maxTouchPoints > 0 || !!("ontouchstart" in window);
174
+ const hasFooter = this.hasSlotController.test("footer");
175
+ return html`
176
+ <nav
177
+ class=${classMap({
178
+ "side-nav": true,
179
+ "side-nav--animation": this.isAnimationActive,
180
+ "side-nav--fix": !this.rail,
181
+ "side-nav--has-footer": hasFooter,
182
+ "side-nav--open": this.open,
183
+ "side-nav--rail": this.rail,
184
+ "side-nav--touch": isTouch
185
+ })}
186
+ part="base"
187
+ >
188
+
189
+ <syn-drawer
190
+ class="side-nav__drawer"
191
+ ?contained=${this.rail}
192
+ exportparts="overlay"
193
+ label=${this.localize.term("sideNav")}
194
+ no-header
195
+ ?open=${this.open}
196
+ part="drawer"
197
+ placement="start"
198
+ @syn-request-close=${this.handleRequestClose}
199
+ >
200
+ <div part="content-container" class="side-nav__content-container">
201
+ <slot part="content" ></slot>
202
+ </div>
203
+
204
+ <footer class="side-nav__footer" part="footer-container" slot="footer">
205
+
206
+ ${hasFooter ? html`<syn-divider part="footer-divider" class="side-nav__footer-divider"></syn-divider>` : ""}
207
+ <slot name="footer" part="footer" ></slot>
208
+
209
+ </footer>
210
+
211
+ </syn-drawer>
212
+
213
+ </nav>
214
+ `;
215
+ }
216
+ };
217
+ SynSideNav.styles = [component_styles_default, side_nav_styles_default];
218
+ SynSideNav.dependencies = {
219
+ "syn-divider": SynDivider,
220
+ "syn-drawer": SynDrawer
221
+ };
222
+ __decorateClass([
223
+ state()
224
+ ], SynSideNav.prototype, "isAnimationActive", 2);
225
+ __decorateClass([
226
+ query(".side-nav__drawer")
227
+ ], SynSideNav.prototype, "drawer", 2);
228
+ __decorateClass([
229
+ property({ reflect: true, type: Boolean })
230
+ ], SynSideNav.prototype, "open", 2);
231
+ __decorateClass([
232
+ property({ reflect: true, type: Boolean })
233
+ ], SynSideNav.prototype, "rail", 2);
234
+ __decorateClass([
235
+ property({ attribute: "no-focus-trapping", reflect: true, type: Boolean })
236
+ ], SynSideNav.prototype, "noFocusTrapping", 2);
237
+ __decorateClass([
238
+ watch("rail", { waitUntilFirstUpdate: true })
239
+ ], SynSideNav.prototype, "handleModeChange", 1);
240
+ __decorateClass([
241
+ watch("open", { waitUntilFirstUpdate: true })
242
+ ], SynSideNav.prototype, "handleOpenChange", 1);
243
+ __decorateClass([
244
+ watch("noFocusTrapping", { waitUntilFirstUpdate: true })
245
+ ], SynSideNav.prototype, "handleFocusTrapping", 1);
246
+ setDefaultAnimation("sideNav.showRail", {
247
+ keyframes: [
248
+ { width: "4.5rem" },
249
+ { width: "25rem" }
250
+ ],
251
+ options: { duration: 250, easing: "ease" }
252
+ });
253
+ setDefaultAnimation("sideNav.showNonRail", {
254
+ keyframes: [
255
+ { opacity: 0, translate: "-100%" },
256
+ { opacity: 1, translate: "0" }
257
+ ],
258
+ options: { duration: 250, easing: "ease" }
259
+ });
260
+ setDefaultAnimation("sideNav.hideNonRail", {
261
+ keyframes: [
262
+ { opacity: 1, translate: "0" },
263
+ { opacity: 0, translate: "-100%" }
264
+ ],
265
+ options: { duration: 250, easing: "ease" }
266
+ });
267
+ setDefaultAnimation("sideNav.hideRail", {
268
+ keyframes: [
269
+ { width: "25rem" },
270
+ { width: "4.5rem" }
271
+ ],
272
+ options: { duration: 250, easing: "ease" }
273
+ });
274
+ setDefaultAnimation("sideNav.overlay.show", {
275
+ keyframes: [{ opacity: 0 }, { opacity: 1 }],
276
+ options: { duration: 250 }
277
+ });
278
+ setDefaultAnimation("sideNav.overlay.hide", {
279
+ keyframes: [{ opacity: 1 }, { opacity: 0 }],
280
+ options: { duration: 250 }
281
+ });
282
+
283
+ export {
284
+ SynSideNav
285
+ };
286
+ //# sourceMappingURL=chunk.VDA7H6VI.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/side-nav/side-nav.component.ts"],
4
+ "sourcesContent": ["/* eslint-disable @typescript-eslint/unbound-method */\nimport { classMap } from 'lit/directives/class-map.js';\nimport type { CSSResultGroup } from 'lit';\nimport { html } from 'lit/static-html.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport styles from './side-nav.styles.js';\nimport SynDrawer from '../drawer/drawer.component.js';\nimport SynDivider from '../divider/divider.component.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport { getAnimation, setAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { unlockBodyScrolling } from '../../internal/scroll.js';\n\n/**\n * @summary The <syn-side-nav /> element contains secondary navigation and fits below the header.\n * It can be used to group multiple navigation items (<syn-nav-item />s) together.\n *\n * @example\n * <syn-side-nav open>\n * <syn-nav-item >Item 1</syn-nav-item>\n * <syn-nav-item divider>Item 2</syn-nav-item>\n * </syn-side-nav>\n *\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-side-nav--docs\n * @status stable\n * @since 1.14.0\n *\n * @dependency syn-divider\n * @dependency syn-drawer\n *\n * @slot - The main content of the side-nav. Used for <syn-nav-item /> elements.\n * @slot footer - The footer content of the side-nav. Used for <syn-nav-item /> elements.\n * Please avoid having to many nav-items as it can massively influence the user experience.\n *\n * @event syn-show - Emitted when the side-nav opens.\n * @event syn-after-show - Emitted after the side-nav opens and all animations are complete.\n * @event syn-hide - Emitted when the side-nav closes.\n * @event syn-after-hide - Emitted after the side-nav closes and all animations are complete.\n *\n * @csspart base - The components base wrapper\n * @csspart drawer - The drawer that is used under the hood for creating the side-nav\n * @csspart content-container - The components main content container\n * @csspart content - The components main content\n * @csspart footer-container - The components footer content container\n * @csspart footer-divider - The components footer divider\n * @csspart footer - The components footer content\n * @csspart overlay - The overlay that covers the screen behind the side-nav.\n *\n * @cssproperty --side-nav-open-width - The width of the side-nav if in open state\n * @cssproperty --side-nav-rail-width - The width of the side-nav if in rail mode without open\n *\n * @animation sideNav.showNonRail - The animation to use when showing the side-nav in non-rail mode.\n * @animation sideNav.showRail - The animation to use when showing the side-nav in rail mode.\n * @animation sideNav.hideNonRail - The animation to use when hiding the side-nav in non-rail mode.\n * @animation sideNav.hideRail - The animation to use when hiding the side-nav in rail mode.\n * @animation sideNav.overlay.show - The animation to use when showing the side-nav's overlay.\n * @animation sideNav.overlay.hide - The animation to use when hiding the side-nav's overlay.\n */\nexport default class SynSideNav extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n\n static dependencies = {\n 'syn-divider': SynDivider,\n 'syn-drawer': SynDrawer,\n };\n\n private readonly hasSlotController = new HasSlotController(this, '[default]', 'footer');\n\n private readonly localize = new LocalizeController(this);\n\n private timeout: NodeJS.Timeout;\n\n /**\n * Current animation active state\n */\n @state() private isAnimationActive = false;\n\n /**\n * Reference to the drawer\n */\n @query('.side-nav__drawer') private drawer: SynDrawer;\n\n /**\n * Indicates whether or not the side-nav is open.\n * You can toggle this attribute to show and hide the side-nav, or you can use the `show()` and\n * `hide()` methods and this attribute will reflect the side-nav's open state.\n *\n * Depending if the rail attribute is set or not, the behavior will differ.\n *\n * __Non rail__:\n * With `open` will show the side-nav.\n * Without `open`, the side-nav will be hidden.\n *\n * __Rail__:\n * With `open` will show the whole side-nav with an overlay for touch devices\n * or without an overlay for non-touch devices.\n * Without `open`, the side-nav will only show the prefix of nav-item's.\n *\n */\n @property({ reflect: true, type: Boolean }) open = false;\n\n /**\n * Use the rail attribute to only show the prefix of navigation items in closed state.\n * This will open on hover on the rail navigation.\n * On touch devices the navigation opens on click and shows an overlay.\n *\n * Note: The Rail is only an option if all Navigation Items on the first level have an Icon.\n * If this is not the case you should use a burger navigation.\n */\n @property({ reflect: true, type: Boolean }) rail = false;\n\n /**\n * By default, the side-nav traps the focus if in non-rail mode and open.\n * To disable the focus trapping, set this attribute.\n */\n @property({ attribute: 'no-focus-trapping', reflect: true, type: Boolean }) noFocusTrapping = false;\n\n private setDelayedCallback(callback: () => void) {\n clearTimeout(this.timeout);\n this.timeout = setTimeout(callback, 100);\n }\n\n private handleMouseEnter() {\n // Debounce mouse events, to avoid infinite loop of open / closing in rail mode\n this.setDelayedCallback(() => {\n this.open = true;\n });\n }\n\n private handleMouseLeave() {\n // Debounce mouse events, to avoid infinite loop of open / closing in rail mode\n this.setDelayedCallback(() => {\n this.open = false;\n });\n }\n\n private handleRequestClose() {\n if (this.open) {\n this.open = false;\n }\n }\n\n private addMouseListener() {\n this.drawer.shadowRoot!.querySelector('.drawer__panel')?.addEventListener('mouseenter', this.handleMouseEnter);\n this.drawer.shadowRoot!.querySelector('.drawer__panel')?.addEventListener('mouseleave', this.handleMouseLeave);\n }\n\n private removeMouseListener() {\n this.drawer.shadowRoot!.querySelector('.drawer__panel')?.removeEventListener('mouseenter', this.handleMouseEnter);\n this.drawer.shadowRoot!.querySelector('.drawer__panel')?.removeEventListener('mouseleave', this.handleMouseLeave);\n }\n\n private setDrawerVisibility(isVisible: boolean) {\n (this.drawer.shadowRoot!.querySelector('.drawer') as HTMLElement).hidden = !isVisible;\n this.drawer.shadowRoot!.querySelector('.drawer__panel')?.setAttribute('aria-hidden', isVisible ? 'false' : 'true');\n }\n\n private forceDrawerVisibilityForRailMode() {\n return waitForEvent(this, 'syn-after-hide').then(() => {\n this.setDrawerVisibility(true);\n this.isAnimationActive = false;\n });\n }\n\n private setDrawerAnimations() {\n const showAnimation = getAnimation(this, `sideNav.show${this.rail ? 'Rail' : 'NonRail'}`, { dir: this.localize.dir() });\n const hideAnimation = getAnimation(this, `sideNav.hide${this.rail ? 'Rail' : 'NonRail'}`, { dir: this.localize.dir() });\n const hideOverlay = getAnimation(this, 'sideNav.overlay.hide', { dir: this.localize.dir() });\n const showOverlay = getAnimation(this, 'sideNav.overlay.show', { dir: this.localize.dir() });\n\n setAnimation(this.drawer, 'drawer.showStart', showAnimation);\n setAnimation(this.drawer, 'drawer.hideStart', hideAnimation);\n setAnimation(this.drawer, 'drawer.overlay.hide', hideOverlay);\n setAnimation(this.drawer, 'drawer.overlay.show', showOverlay);\n }\n\n @watch('rail', { waitUntilFirstUpdate: true })\n handleModeChange() {\n this.setDrawerAnimations();\n\n if (this.rail) {\n this.addMouseListener();\n // Force drawer visibility for rail mode\n this.setDrawerVisibility(true);\n } else {\n this.removeMouseListener();\n // Remove forcing of drawer visibility for rail mode if not open\n if (!this.open) {\n this.setDrawerVisibility(false);\n }\n }\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n handleOpenChange() {\n if (this.rail) {\n this.isAnimationActive = true;\n\n if (!this.open) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.forceDrawerVisibilityForRailMode();\n } else {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n waitForEvent(this.drawer, 'syn-after-show').then(() => {\n this.isAnimationActive = false;\n });\n }\n }\n }\n\n @watch('noFocusTrapping', { waitUntilFirstUpdate: true })\n handleFocusTrapping() {\n if (!this.rail) {\n if (this.noFocusTrapping) {\n this.drawer.modal.activateExternal();\n } else {\n this.drawer.modal.deactivateExternal();\n }\n }\n }\n\n /** Shows the side-nav. */\n async show() {\n if (this.open) {\n return undefined;\n }\n this.open = true;\n\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the side-nav */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n\n return waitForEvent(this, 'syn-after-hide');\n }\n\n constructor() {\n super();\n this.handleMouseEnter = this.handleMouseEnter.bind(this);\n this.handleMouseLeave = this.handleMouseLeave.bind(this);\n }\n\n /**\n * Initial setup for first render like special rail mode handling and drawer animations.\n * */\n firstUpdated() {\n this.setDrawerAnimations();\n if (this.rail) {\n // Wait for the drawer`s update to be completed\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.drawer.updateComplete.then(() => {\n this.addMouseListener();\n // set initial visibility of drawer for rail mode\n this.setDrawerVisibility(true);\n });\n } else if (this.noFocusTrapping) {\n // Disable the focus trapping of the modal\n this.drawer.modal.activateExternal();\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n\n // Remove modal listeners\n unlockBodyScrolling(this.drawer);\n this.drawer.modal.deactivate();\n }\n\n render() {\n const isTouch = window.navigator.maxTouchPoints > 0 || !!('ontouchstart' in window);\n const hasFooter = this.hasSlotController.test('footer');\n\n /* eslint-disable lit/no-invalid-html */\n /* eslint-disable @typescript-eslint/unbound-method */\n return html`\n <nav\n class=${classMap({\n 'side-nav': true,\n 'side-nav--animation': this.isAnimationActive,\n 'side-nav--fix': !this.rail,\n 'side-nav--has-footer': hasFooter,\n 'side-nav--open': this.open,\n 'side-nav--rail': this.rail,\n 'side-nav--touch': isTouch,\n })}\n part=\"base\"\n >\n \n <syn-drawer\n class=\"side-nav__drawer\"\n ?contained=${this.rail}\n exportparts=\"overlay\"\n label=${this.localize.term('sideNav')}\n no-header\n ?open=${this.open}\n part=\"drawer\"\n placement=\"start\"\n @syn-request-close=${this.handleRequestClose} \n >\n <div part=\"content-container\" class=\"side-nav__content-container\">\n <slot part=\"content\" ></slot>\n </div>\n \n <footer class=\"side-nav__footer\" part=\"footer-container\" slot=\"footer\"> \n\n ${hasFooter ? html`<syn-divider part=\"footer-divider\" class=\"side-nav__footer-divider\"></syn-divider>` : ''}\n <slot name=\"footer\" part=\"footer\" ></slot> \n \n </footer>\n\n </syn-drawer>\n\n </nav>\n `;\n /* eslint-enable lit/no-invalid-html */\n /* eslint-enable @typescript-eslint/unbound-method */\n }\n}\n\n// Show animations\nsetDefaultAnimation('sideNav.showRail', {\n keyframes: [\n { width: '4.5rem' },\n { width: '25rem' },\n ],\n options: { duration: 250, easing: 'ease' },\n});\n\nsetDefaultAnimation('sideNav.showNonRail', {\n keyframes: [\n { opacity: 0, translate: '-100%' },\n { opacity: 1, translate: '0' },\n ],\n options: { duration: 250, easing: 'ease' },\n});\n\n// Hide animations\nsetDefaultAnimation('sideNav.hideNonRail', {\n keyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '-100%' },\n ],\n options: { duration: 250, easing: 'ease' },\n});\n\nsetDefaultAnimation('sideNav.hideRail', {\n keyframes: [\n { width: '25rem' },\n { width: '4.5rem' },\n ],\n options: { duration: 250, easing: 'ease' },\n});\n\n// Overlay animations\nsetDefaultAnimation('sideNav.overlay.show', {\n keyframes: [{ opacity: 0 }, { opacity: 1 }],\n options: { duration: 250 },\n});\n\nsetDefaultAnimation('sideNav.overlay.hide', {\n keyframes: [{ opacity: 1 }, { opacity: 0 }],\n options: { duration: 250 },\n});\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,gBAAgB;AAEzB,SAAS,YAAY;AACrB,SAAS,UAAU,OAAO,aAAa;AA0DvC,IAAqB,aAArB,cAAwC,eAAe;AAAA,EAwLrD,cAAc;AACZ,UAAM;AAjLR,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,QAAQ;AAEtF,SAAiB,WAAW,IAAI,mBAA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AS,GAAG,WAAW,IAAI;AAAA,EAC/B;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAGD,oBAAoB,uBAAuB;AAAA,EACzC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,WAAW,IAAI;AAAA,IAC7B,EAAE,SAAS,GAAG,WAAW,QAAQ;AAAA,EACnC;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,oBAAoB;AAAA,EACtC,WAAW;AAAA,IACT,EAAE,OAAO,QAAQ;AAAA,IACjB,EAAE,OAAO,SAAS;AAAA,EACpB;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAGD,oBAAoB,wBAAwB;AAAA,EAC1C,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;AAED,oBAAoB,wBAAwB;AAAA,EAC1C,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;",
6
+ "names": []
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynRadio
3
- } from "./chunk.OLM7IVHA.js";
3
+ } from "./chunk.T43ZXJKG.js";
4
4
 
5
5
  // src/components/radio/radio.ts
6
6
  var radio_default = SynRadio;
@@ -9,4 +9,4 @@ SynRadio.define("syn-radio");
9
9
  export {
10
10
  radio_default
11
11
  };
12
- //# sourceMappingURL=chunk.VDYPXC2H.js.map
12
+ //# sourceMappingURL=chunk.VPW6WZNZ.js.map
@@ -16,6 +16,12 @@ var icons = {
16
16
  <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill='currentColor'><path d="M19 13H5V11H19V13Z"/></svg>`,
17
17
  "logo-color": `
18
18
  <svg width="295" height="94" viewBox="0 0 295 94" xmlns="http://www.w3.org/2000/svg" fill='currentColor'><g clip-path="url(#clip0_9951_9907)"><path fill-rule="evenodd" clip-rule="evenodd" d="M207.961 69.0591C200.132 83.8898 184.613 93.983 166.804 93.983C141.096 93.983 120.257 72.9431 120.257 46.9915C120.257 21.0399 141.096 0 166.804 0C184.439 0 199.775 9.89295 207.674 24.4885L188.602 34.7821C184.335 26.9182 176.088 21.6757 166.804 21.6757C153.262 21.6757 141.932 32.8139 141.932 46.9915C141.932 61.1691 153.262 72.3074 166.804 72.3074C176.279 72.3074 184.726 66.8558 188.907 58.7133L207.961 69.0591ZM111.078 1.66335H89.7768V91.8668H111.078V1.66335ZM26.0822 91.8669C13.9511 91.8669 0.592136 85.318 0.592136 70.1128C0.592136 70.1128 47.1743 70.1128 54.5941 70.1215C62.4927 68.5453 61.6132 58.5826 54.5941 57.2067H26.8746C12.1223 57.2067 0.444092 44.6141 0.444092 29.6092C0.444092 15.1791 11.234 1.67206 26.8746 1.67206H57.285C69.8254 1.67206 78.7778 11.0599 78.7778 22.9645H26.8746C19.8991 23.9573 19.4549 34.6602 26.8746 35.8707H54.5157C69.6773 36.28 81.7735 48.3501 81.7735 63.6336C81.7735 77.7154 69.8254 91.8669 54.5853 91.8669H26.0822ZM215.99 91.8668V1.66335H237.535V37.8388H245.826L268.224 1.66335H294.716L264.192 47.3399L294.272 91.8668H267.771L245.103 56.9193H237.535V91.8668H215.99Z"/></g><defs><clipPath id="clip0_9951_9907"><rect width="295" height="94"/></clipPath></defs></svg>`,
19
+ "menu": `
20
+ <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill='currentColor'><path d="M3 18H21V16H3V18ZM3 13H21V11H3V13ZM3 6V8H21V6H3Z"/></svg>`,
21
+ "more": `
22
+ <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill='currentColor'><path d="M6 10C4.9 10 4 10.9 4 12C4 13.1 4.9 14 6 14C7.1 14 8 13.1 8 12C8 10.9 7.1 10 6 10ZM18 10C16.9 10 16 10.9 16 12C16 13.1 16.9 14 18 14C19.1 14 20 13.1 20 12C20 10.9 19.1 10 18 10ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z"/></svg>`,
23
+ "more_vert": `
24
+ <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill='currentColor'><path d="M12 8C13.1 8 14 7.1 14 6C14 4.9 13.1 4 12 4C10.9 4 10 4.9 10 6C10 7.1 10.9 8 12 8ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM12 16C10.9 16 10 16.9 10 18C10 19.1 10.9 20 12 20C13.1 20 14 19.1 14 18C14 16.9 13.1 16 12 16Z"/></svg>`,
19
25
  "radio": `
20
26
  <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill='currentColor'><path d="M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12Z"/></svg>`,
21
27
  "x-circle-fill": `
@@ -37,4 +43,4 @@ var library_system_default = systemLibrary;
37
43
  export {
38
44
  library_system_default
39
45
  };
40
- //# sourceMappingURL=chunk.N4VSEIRQ.js.map
46
+ //# sourceMappingURL=chunk.VTKIDI7N.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/components/icon/library.system.ts"],
4
- "sourcesContent": ["/* eslint-disable */\nimport type { IconLibrary } from './library.js';\n\n//\n// System icons are a separate library to ensure they're always available, regardless of how the default icon library is\n// configured or if its icons resolve properly.\n//\n// All Synergy components must use the system library instead of the default library. For visual consistency, system\n// icons are a subset of Bootstrap Icons.\n//\n// **Start system icons**\nconst icons = {\n\t'add': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z\"/></svg>`,\n\t'caret': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M16.59 8.29498L12 12.875L7.41 8.29498L6 9.70498L12 15.705L18 9.70498L16.59 8.29498Z\"/></svg>`,\n\t'check': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M8.79496 15.875L4.62496 11.705L3.20496 13.115L8.79496 18.705L20.795 6.70498L19.385 5.29498L8.79496 15.875Z\"/></svg>`,\n\t'chevron-down': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M16.59 8.29498L12 12.875L7.41 8.29498L6 9.70498L12 15.705L18 9.70498L16.59 8.29498Z\"/></svg>`,\n\t'eye-slash': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M12.005 6.5C14.765 6.5 17.005 8.74 17.005 11.5C17.005 12.15 16.875 12.76 16.645 13.33L19.565 16.25C21.075 14.99 22.265 13.36 22.995 11.5C21.265 7.11 16.995 4 11.995 4C10.595 4 9.255 4.25 8.01501 4.7L10.175 6.86C10.745 6.63 11.355 6.5 12.005 6.5ZM2.005 3.77L4.745 6.51C3.085 7.8 1.785 9.52 1.005 11.5C2.735 15.89 7.005 19 12.005 19C13.555 19 15.035 18.7 16.385 18.16L16.805 18.58L19.735 21.5L21.005 20.23L3.275 2.5L2.005 3.77ZM7.53501 9.3L9.085 10.85C9.035 11.06 9.005 11.28 9.005 11.5C9.005 13.16 10.345 14.5 12.005 14.5C12.225 14.5 12.445 14.47 12.655 14.42L14.205 15.97C13.535 16.3 12.795 16.5 12.005 16.5C9.245 16.5 7.005 14.26 7.005 11.5C7.005 10.71 7.20501 9.97 7.53501 9.3ZM11.845 8.52L14.995 11.67L15.015 11.51C15.015 9.85 13.675 8.51 12.015 8.51L11.845 8.52Z\"/></svg>`,\n\t'eye': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M12 4.5C7 4.5 2.73 7.61 1 12C2.73 16.39 7 19.5 12 19.5C17 19.5 21.27 16.39 23 12C21.27 7.61 17 4.5 12 4.5ZM12 17C9.24 17 7 14.76 7 12C7 9.24 9.24 7 12 7C14.76 7 17 9.24 17 12C17 14.76 14.76 17 12 17ZM12 9C10.34 9 9 10.34 9 12C9 13.66 10.34 15 12 15C13.66 15 15 13.66 15 12C15 10.34 13.66 9 12 9Z\"/></svg>`,\n\t'indeterminate': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M19 13H5V11H19V13Z\"/></svg>`,\n\t'logo-color': `\n\t\t<svg width=\"295\" height=\"94\" viewBox=\"0 0 295 94\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><g clip-path=\"url(#clip0_9951_9907)\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M207.961 69.0591C200.132 83.8898 184.613 93.983 166.804 93.983C141.096 93.983 120.257 72.9431 120.257 46.9915C120.257 21.0399 141.096 0 166.804 0C184.439 0 199.775 9.89295 207.674 24.4885L188.602 34.7821C184.335 26.9182 176.088 21.6757 166.804 21.6757C153.262 21.6757 141.932 32.8139 141.932 46.9915C141.932 61.1691 153.262 72.3074 166.804 72.3074C176.279 72.3074 184.726 66.8558 188.907 58.7133L207.961 69.0591ZM111.078 1.66335H89.7768V91.8668H111.078V1.66335ZM26.0822 91.8669C13.9511 91.8669 0.592136 85.318 0.592136 70.1128C0.592136 70.1128 47.1743 70.1128 54.5941 70.1215C62.4927 68.5453 61.6132 58.5826 54.5941 57.2067H26.8746C12.1223 57.2067 0.444092 44.6141 0.444092 29.6092C0.444092 15.1791 11.234 1.67206 26.8746 1.67206H57.285C69.8254 1.67206 78.7778 11.0599 78.7778 22.9645H26.8746C19.8991 23.9573 19.4549 34.6602 26.8746 35.8707H54.5157C69.6773 36.28 81.7735 48.3501 81.7735 63.6336C81.7735 77.7154 69.8254 91.8669 54.5853 91.8669H26.0822ZM215.99 91.8668V1.66335H237.535V37.8388H245.826L268.224 1.66335H294.716L264.192 47.3399L294.272 91.8668H267.771L245.103 56.9193H237.535V91.8668H215.99Z\"/></g><defs><clipPath id=\"clip0_9951_9907\"><rect width=\"295\" height=\"94\"/></clipPath></defs></svg>`,\n\t'radio': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12Z\"/></svg>`,\n\t'x-circle-fill': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM17 15.59L15.59 17L12 13.41L8.41 17L7 15.59L10.59 12L7 8.41L8.41 7L12 10.59L15.59 7L17 8.41L13.41 12L17 15.59Z\"/></svg>`,\n\t'x-lg': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z\"/></svg>`\n};\n// **End system icons**\n\nconst systemLibrary: IconLibrary = {\n name: 'system',\n resolver: (name: keyof typeof icons) => {\n if (name in icons) {\n return `data:image/svg+xml,${encodeURIComponent(icons[name])}`;\n }\n return '';\n }\n};\n\nexport default systemLibrary;\n"],
5
- "mappings": ";AAWA,IAAM,QAAQ;AAAA,EACb,OAAO;AAAA;AAAA,EAEP,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,gBAAgB;AAAA;AAAA,EAEhB,aAAa;AAAA;AAAA,EAEb,OAAO;AAAA;AAAA,EAEP,iBAAiB;AAAA;AAAA,EAEjB,cAAc;AAAA;AAAA,EAEd,SAAS;AAAA;AAAA,EAET,iBAAiB;AAAA;AAAA,EAEjB,QAAQ;AAAA;AAET;AAGA,IAAM,gBAA6B;AAAA,EACjC,MAAM;AAAA,EACN,UAAU,CAAC,SAA6B;AACtC,QAAI,QAAQ,OAAO;AACjB,aAAO,sBAAsB,mBAAmB,MAAM,IAAI,CAAC,CAAC;AAAA,IAC9D;AACA,WAAO;AAAA,EACT;AACF;AAEA,IAAO,yBAAQ;",
4
+ "sourcesContent": ["/* eslint-disable */\nimport type { IconLibrary } from './library.js';\n\n//\n// System icons are a separate library to ensure they're always available, regardless of how the default icon library is\n// configured or if its icons resolve properly.\n//\n// All Synergy components must use the system library instead of the default library. For visual consistency, system\n// icons are a subset of Bootstrap Icons.\n//\n// **Start system icons**\nconst icons = {\n\t'add': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z\"/></svg>`,\n\t'caret': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M16.59 8.29498L12 12.875L7.41 8.29498L6 9.70498L12 15.705L18 9.70498L16.59 8.29498Z\"/></svg>`,\n\t'check': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M8.79496 15.875L4.62496 11.705L3.20496 13.115L8.79496 18.705L20.795 6.70498L19.385 5.29498L8.79496 15.875Z\"/></svg>`,\n\t'chevron-down': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M16.59 8.29498L12 12.875L7.41 8.29498L6 9.70498L12 15.705L18 9.70498L16.59 8.29498Z\"/></svg>`,\n\t'eye-slash': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M12.005 6.5C14.765 6.5 17.005 8.74 17.005 11.5C17.005 12.15 16.875 12.76 16.645 13.33L19.565 16.25C21.075 14.99 22.265 13.36 22.995 11.5C21.265 7.11 16.995 4 11.995 4C10.595 4 9.255 4.25 8.01501 4.7L10.175 6.86C10.745 6.63 11.355 6.5 12.005 6.5ZM2.005 3.77L4.745 6.51C3.085 7.8 1.785 9.52 1.005 11.5C2.735 15.89 7.005 19 12.005 19C13.555 19 15.035 18.7 16.385 18.16L16.805 18.58L19.735 21.5L21.005 20.23L3.275 2.5L2.005 3.77ZM7.53501 9.3L9.085 10.85C9.035 11.06 9.005 11.28 9.005 11.5C9.005 13.16 10.345 14.5 12.005 14.5C12.225 14.5 12.445 14.47 12.655 14.42L14.205 15.97C13.535 16.3 12.795 16.5 12.005 16.5C9.245 16.5 7.005 14.26 7.005 11.5C7.005 10.71 7.20501 9.97 7.53501 9.3ZM11.845 8.52L14.995 11.67L15.015 11.51C15.015 9.85 13.675 8.51 12.015 8.51L11.845 8.52Z\"/></svg>`,\n\t'eye': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M12 4.5C7 4.5 2.73 7.61 1 12C2.73 16.39 7 19.5 12 19.5C17 19.5 21.27 16.39 23 12C21.27 7.61 17 4.5 12 4.5ZM12 17C9.24 17 7 14.76 7 12C7 9.24 9.24 7 12 7C14.76 7 17 9.24 17 12C17 14.76 14.76 17 12 17ZM12 9C10.34 9 9 10.34 9 12C9 13.66 10.34 15 12 15C13.66 15 15 13.66 15 12C15 10.34 13.66 9 12 9Z\"/></svg>`,\n\t'indeterminate': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M19 13H5V11H19V13Z\"/></svg>`,\n\t'logo-color': `\n\t\t<svg width=\"295\" height=\"94\" viewBox=\"0 0 295 94\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><g clip-path=\"url(#clip0_9951_9907)\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M207.961 69.0591C200.132 83.8898 184.613 93.983 166.804 93.983C141.096 93.983 120.257 72.9431 120.257 46.9915C120.257 21.0399 141.096 0 166.804 0C184.439 0 199.775 9.89295 207.674 24.4885L188.602 34.7821C184.335 26.9182 176.088 21.6757 166.804 21.6757C153.262 21.6757 141.932 32.8139 141.932 46.9915C141.932 61.1691 153.262 72.3074 166.804 72.3074C176.279 72.3074 184.726 66.8558 188.907 58.7133L207.961 69.0591ZM111.078 1.66335H89.7768V91.8668H111.078V1.66335ZM26.0822 91.8669C13.9511 91.8669 0.592136 85.318 0.592136 70.1128C0.592136 70.1128 47.1743 70.1128 54.5941 70.1215C62.4927 68.5453 61.6132 58.5826 54.5941 57.2067H26.8746C12.1223 57.2067 0.444092 44.6141 0.444092 29.6092C0.444092 15.1791 11.234 1.67206 26.8746 1.67206H57.285C69.8254 1.67206 78.7778 11.0599 78.7778 22.9645H26.8746C19.8991 23.9573 19.4549 34.6602 26.8746 35.8707H54.5157C69.6773 36.28 81.7735 48.3501 81.7735 63.6336C81.7735 77.7154 69.8254 91.8669 54.5853 91.8669H26.0822ZM215.99 91.8668V1.66335H237.535V37.8388H245.826L268.224 1.66335H294.716L264.192 47.3399L294.272 91.8668H267.771L245.103 56.9193H237.535V91.8668H215.99Z\"/></g><defs><clipPath id=\"clip0_9951_9907\"><rect width=\"295\" height=\"94\"/></clipPath></defs></svg>`,\n\t'menu': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M3 18H21V16H3V18ZM3 13H21V11H3V13ZM3 6V8H21V6H3Z\"/></svg>`,\n\t'more': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M6 10C4.9 10 4 10.9 4 12C4 13.1 4.9 14 6 14C7.1 14 8 13.1 8 12C8 10.9 7.1 10 6 10ZM18 10C16.9 10 16 10.9 16 12C16 13.1 16.9 14 18 14C19.1 14 20 13.1 20 12C20 10.9 19.1 10 18 10ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z\"/></svg>`,\n\t'more_vert': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M12 8C13.1 8 14 7.1 14 6C14 4.9 13.1 4 12 4C10.9 4 10 4.9 10 6C10 7.1 10.9 8 12 8ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM12 16C10.9 16 10 16.9 10 18C10 19.1 10.9 20 12 20C13.1 20 14 19.1 14 18C14 16.9 13.1 16 12 16Z\"/></svg>`,\n\t'radio': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12Z\"/></svg>`,\n\t'x-circle-fill': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM17 15.59L15.59 17L12 13.41L8.41 17L7 15.59L10.59 12L7 8.41L8.41 7L12 10.59L15.59 7L17 8.41L13.41 12L17 15.59Z\"/></svg>`,\n\t'x-lg': `\n\t\t<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" fill='currentColor'><path d=\"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z\"/></svg>`\n};\n// **End system icons**\n\nconst systemLibrary: IconLibrary = {\n name: 'system',\n resolver: (name: keyof typeof icons) => {\n if (name in icons) {\n return `data:image/svg+xml,${encodeURIComponent(icons[name])}`;\n }\n return '';\n }\n};\n\nexport default systemLibrary;\n"],
5
+ "mappings": ";AAWA,IAAM,QAAQ;AAAA,EACb,OAAO;AAAA;AAAA,EAEP,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,gBAAgB;AAAA;AAAA,EAEhB,aAAa;AAAA;AAAA,EAEb,OAAO;AAAA;AAAA,EAEP,iBAAiB;AAAA;AAAA,EAEjB,cAAc;AAAA;AAAA,EAEd,QAAQ;AAAA;AAAA,EAER,QAAQ;AAAA;AAAA,EAER,aAAa;AAAA;AAAA,EAEb,SAAS;AAAA;AAAA,EAET,iBAAiB;AAAA;AAAA,EAEjB,QAAQ;AAAA;AAET;AAGA,IAAM,gBAA6B;AAAA,EACjC,MAAM;AAAA,EACN,UAAU,CAAC,SAA6B;AACtC,QAAI,QAAQ,OAAO;AACjB,aAAO,sBAAsB,mBAAmB,MAAM,IAAI,CAAC,CAAC;AAAA,IAC9D;AACA,WAAO;AAAA,EACT;AACF;AAEA,IAAO,yBAAQ;",
6
6
  "names": []
7
7
  }
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.KG52EHDB.js";
4
4
  import {
5
5
  SynDivider
6
- } from "./chunk.5HAKNNIR.js";
6
+ } from "./chunk.YBPWZ4QI.js";
7
7
  import {
8
8
  HasSlotController
9
9
  } from "./chunk.66WXVGAW.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk.AVTU2BGE.js";
13
13
  import {
14
14
  SynergyElement
15
- } from "./chunk.5TOD3QS2.js";
15
+ } from "./chunk.MCJTXOVV.js";
16
16
  import {
17
17
  __decorateClass
18
18
  } from "./chunk.QNDC5KWA.js";
@@ -93,4 +93,4 @@ __decorateClass([
93
93
  export {
94
94
  SynOptgroup
95
95
  };
96
- //# sourceMappingURL=chunk.QFMUPETV.js.map
96
+ //# sourceMappingURL=chunk.VUROYPEC.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynButtonGroup
3
- } from "./chunk.H33SDUY3.js";
3
+ } from "./chunk.SE4NF6AN.js";
4
4
 
5
5
  // src/components/button-group/button-group.ts
6
6
  var button_group_default = SynButtonGroup;
@@ -9,4 +9,4 @@ SynButtonGroup.define("syn-button-group");
9
9
  export {
10
10
  button_group_default
11
11
  };
12
- //# sourceMappingURL=chunk.BUIBP2TA.js.map
12
+ //# sourceMappingURL=chunk.VZEN3JIH.js.map
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  SynergyElement,
12
12
  component_styles_default
13
- } from "./chunk.5TOD3QS2.js";
13
+ } from "./chunk.MCJTXOVV.js";
14
14
  import {
15
15
  __decorateClass
16
16
  } from "./chunk.QNDC5KWA.js";
@@ -125,4 +125,4 @@ __decorateClass([
125
125
  export {
126
126
  SynRadioButton
127
127
  };
128
- //# sourceMappingURL=chunk.VSEAHAW7.js.map
128
+ //# sourceMappingURL=chunk.WCIAL36G.js.map
@@ -8,14 +8,14 @@ import {
8
8
  getIconLibrary,
9
9
  unwatchIcon,
10
10
  watchIcon
11
- } from "./chunk.7UVCYUNR.js";
11
+ } from "./chunk.66MOXMDP.js";
12
12
  import {
13
13
  watch
14
14
  } from "./chunk.AVTU2BGE.js";
15
15
  import {
16
16
  SynergyElement,
17
17
  component_styles_default
18
- } from "./chunk.5TOD3QS2.js";
18
+ } from "./chunk.MCJTXOVV.js";
19
19
  import {
20
20
  __decorateClass
21
21
  } from "./chunk.QNDC5KWA.js";
@@ -176,4 +176,4 @@ __decorateClass([
176
176
  export {
177
177
  SynIcon
178
178
  };
179
- //# sourceMappingURL=chunk.4LMFTSOM.js.map
179
+ //# sourceMappingURL=chunk.WHYX7AY4.js.map
@@ -6,14 +6,14 @@ import {
6
6
  } from "./chunk.BGHK4NQA.js";
7
7
  import {
8
8
  SynIconButton
9
- } from "./chunk.7UUZ5ISH.js";
9
+ } from "./chunk.H7APDHTS.js";
10
10
  import {
11
11
  LocalizeController
12
- } from "./chunk.RK7OBPZ5.js";
12
+ } from "./chunk.GEHO4WRP.js";
13
13
  import {
14
14
  SynergyElement,
15
15
  component_styles_default
16
- } from "./chunk.5TOD3QS2.js";
16
+ } from "./chunk.MCJTXOVV.js";
17
17
  import {
18
18
  __decorateClass
19
19
  } from "./chunk.QNDC5KWA.js";
@@ -76,4 +76,4 @@ __decorateClass([
76
76
  export {
77
77
  SynTag
78
78
  };
79
- //# sourceMappingURL=chunk.KEEDSK2V.js.map
79
+ //# sourceMappingURL=chunk.WV2VTAP2.js.map
@@ -0,0 +1,16 @@
1
+ // src/components/prio-nav/utils.ts
2
+ var getAssignedElementsForSlot = (slot) => Array.from(
3
+ slot.assignedElements({ flatten: true })
4
+ );
5
+ var isNavItem = (item) => {
6
+ var _a;
7
+ return item.tagName.toLocaleLowerCase() === "syn-nav-item" || ((_a = item.getAttribute("role")) != null ? _a : "") === "menuitem";
8
+ };
9
+ var filterOnlyNavItems = (items) => items.filter(isNavItem);
10
+
11
+ export {
12
+ getAssignedElementsForSlot,
13
+ isNavItem,
14
+ filterOnlyNavItems
15
+ };
16
+ //# sourceMappingURL=chunk.XNP4OTUB.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/prio-nav/utils.ts"],
4
+ "sourcesContent": ["import type SynNavItem from '../nav-item/nav-item.component.js';\n\n/**\n * Get a list of all assigned elements for a given slot\n * @param slot The slot to query\n * @returns Flattened list of assigned elements\n */\nexport const getAssignedElementsForSlot = (slot: HTMLSlotElement) => Array.from(\n slot.assignedElements({ flatten: true }),\n) as HTMLElement[];\n\n/**\n * Check if an item is a SynNavItem or otherwise an item that has a role of menuitem.\n * Note we always treat all items as SynNavItems here\n * @param item The item to check for\n * @returns True if the item is a SynNavItem, false otherwise\n */\nexport const isNavItem = (item: HTMLElement): item is SynNavItem => (\n item.tagName.toLocaleLowerCase() === 'syn-nav-item'\n || (item.getAttribute('role') ?? '') === 'menuitem'\n);\n\n/**\n * Get a list of only SynNavItem elements\n * @param items List of items to check for\n * @returns New array of all found syn-nav-items\n */\nexport const filterOnlyNavItems = (items: HTMLElement[]) => items.filter(isNavItem);\n"],
5
+ "mappings": ";AAOO,IAAM,6BAA6B,CAAC,SAA0B,MAAM;AAAA,EACzE,KAAK,iBAAiB,EAAE,SAAS,KAAK,CAAC;AACzC;AAQO,IAAM,YAAY,CAAC,SAAuC;AAjBjE;AAkBE,cAAK,QAAQ,kBAAkB,MAAM,oBACjC,UAAK,aAAa,MAAM,MAAxB,YAA6B,QAAQ;AAAA;AAQpC,IAAM,qBAAqB,CAAC,UAAyB,MAAM,OAAO,SAAS;",
6
+ "names": []
7
+ }
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  SynergyElement,
9
9
  component_styles_default
10
- } from "./chunk.5TOD3QS2.js";
10
+ } from "./chunk.MCJTXOVV.js";
11
11
  import {
12
12
  __decorateClass
13
13
  } from "./chunk.QNDC5KWA.js";
@@ -128,4 +128,4 @@ __decorateClass([
128
128
  export {
129
129
  SynMenu
130
130
  };
131
- //# sourceMappingURL=chunk.ITUSK365.js.map
131
+ //# sourceMappingURL=chunk.XSVH753L.js.map
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  SynergyElement,
12
12
  component_styles_default
13
- } from "./chunk.5TOD3QS2.js";
13
+ } from "./chunk.MCJTXOVV.js";
14
14
  import {
15
15
  __decorateClass
16
16
  } from "./chunk.QNDC5KWA.js";
@@ -41,4 +41,4 @@ __decorateClass([
41
41
  export {
42
42
  SynDivider
43
43
  };
44
- //# sourceMappingURL=chunk.5HAKNNIR.js.map
44
+ //# sourceMappingURL=chunk.YBPWZ4QI.js.map
@@ -23,7 +23,7 @@ import {
23
23
  import {
24
24
  SynergyElement,
25
25
  component_styles_default
26
- } from "./chunk.5TOD3QS2.js";
26
+ } from "./chunk.MCJTXOVV.js";
27
27
  import {
28
28
  __decorateClass
29
29
  } from "./chunk.QNDC5KWA.js";
@@ -364,4 +364,4 @@ __decorateClass([
364
364
  export {
365
365
  SynTextarea
366
366
  };
367
- //# sourceMappingURL=chunk.H7XP6JAS.js.map
367
+ //# sourceMappingURL=chunk.YNWVXDDQ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynOption
3
- } from "./chunk.ETREUSYO.js";
3
+ } from "./chunk.JL53VHSP.js";
4
4
 
5
5
  // src/components/option/option.ts
6
6
  var option_default = SynOption;
@@ -9,4 +9,4 @@ SynOption.define("syn-option");
9
9
  export {
10
10
  option_default
11
11
  };
12
- //# sourceMappingURL=chunk.EZE5M5XB.js.map
12
+ //# sourceMappingURL=chunk.ZMIBKG2N.js.map