@jumpgroup/jump-design-system 0.2.7 → 0.3.1

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 (324) hide show
  1. package/dist/cjs/{index-41aaa52a.js → index-674508e2.js} +153 -4
  2. package/dist/cjs/index-674508e2.js.map +1 -0
  3. package/dist/cjs/jump-accordion.cjs.entry.js +22 -0
  4. package/dist/cjs/jump-accordion.cjs.entry.js.map +1 -0
  5. package/dist/cjs/jump-badge.cjs.entry.js +6 -3
  6. package/dist/cjs/jump-badge.cjs.entry.js.map +1 -1
  7. package/dist/cjs/jump-button_2.cjs.entry.js +631 -0
  8. package/dist/cjs/jump-button_2.cjs.entry.js.map +1 -0
  9. package/dist/cjs/jump-card-ecommerce.cjs.entry.js +121 -0
  10. package/dist/cjs/jump-card-ecommerce.cjs.entry.js.map +1 -0
  11. package/dist/cjs/jump-card.cjs.entry.js +4 -4
  12. package/dist/cjs/jump-card.cjs.entry.js.map +1 -1
  13. package/dist/cjs/jump-design-system.cjs.js +2 -2
  14. package/dist/cjs/jump-filter.cjs.entry.js +59 -0
  15. package/dist/cjs/jump-filter.cjs.entry.js.map +1 -0
  16. package/dist/cjs/jump-filtergroup.cjs.entry.js +119 -0
  17. package/dist/cjs/jump-filtergroup.cjs.entry.js.map +1 -0
  18. package/dist/cjs/jump-pagination-table.cjs.entry.js +24 -5
  19. package/dist/cjs/jump-pagination-table.cjs.entry.js.map +1 -1
  20. package/dist/cjs/jump-pagination.cjs.entry.js +19 -5
  21. package/dist/cjs/jump-pagination.cjs.entry.js.map +1 -1
  22. package/dist/cjs/jump-quantity.cjs.entry.js +77 -0
  23. package/dist/cjs/jump-quantity.cjs.entry.js.map +1 -0
  24. package/dist/cjs/jump-tab-item.cjs.entry.js +40 -0
  25. package/dist/cjs/jump-tab-item.cjs.entry.js.map +1 -0
  26. package/dist/cjs/jump-tab-panel.cjs.entry.js +24 -0
  27. package/dist/cjs/jump-tab-panel.cjs.entry.js.map +1 -0
  28. package/dist/cjs/jump-tab.cjs.entry.js +72 -9
  29. package/dist/cjs/jump-tab.cjs.entry.js.map +1 -1
  30. package/dist/cjs/loader.cjs.js +2 -2
  31. package/dist/collection/collection-manifest.json +8 -1
  32. package/dist/collection/components/jump-accordion/jump-accordion.css +3 -0
  33. package/dist/collection/components/jump-accordion/jump-accordion.js +19 -0
  34. package/dist/collection/components/jump-accordion/jump-accordion.js.map +1 -0
  35. package/dist/collection/components/jump-accordion/test/jump-accordion.e2e.js +10 -0
  36. package/dist/collection/components/jump-accordion/test/jump-accordion.e2e.js.map +1 -0
  37. package/dist/collection/components/jump-accordion/test/jump-accordion.spec.js +18 -0
  38. package/dist/collection/components/jump-accordion/test/jump-accordion.spec.js.map +1 -0
  39. package/dist/collection/components/jump-badge/jump-badge.css +90 -12
  40. package/dist/collection/components/jump-badge/jump-badge.js +61 -3
  41. package/dist/collection/components/jump-badge/jump-badge.js.map +1 -1
  42. package/dist/collection/components/jump-badge/jump-badge.stories.js +93 -8
  43. package/dist/collection/components/jump-badge/jump-badge.stories.js.map +1 -1
  44. package/dist/collection/components/jump-button/jump-button-anchor.stories.js +38 -29
  45. package/dist/collection/components/jump-button/jump-button-anchor.stories.js.map +1 -1
  46. package/dist/collection/components/jump-button/jump-button-dimension.stories.js +4 -9
  47. package/dist/collection/components/jump-button/jump-button-dimension.stories.js.map +1 -1
  48. package/dist/collection/components/jump-button/jump-button-filled.stories.js +15 -24
  49. package/dist/collection/components/jump-button/jump-button-filled.stories.js.map +1 -1
  50. package/dist/collection/components/jump-button/jump-button-only-icon.stories.js +43 -73
  51. package/dist/collection/components/jump-button/jump-button-only-icon.stories.js.map +1 -1
  52. package/dist/collection/components/jump-button/jump-button.css +2 -1
  53. package/dist/collection/components/jump-button/jump-button.js +1 -1
  54. package/dist/collection/components/jump-button/jump-button.stories.js +199 -0
  55. package/dist/collection/components/jump-button/jump-button.stories.js.map +1 -0
  56. package/dist/collection/components/jump-card/jump-card.css +2 -2
  57. package/dist/collection/components/jump-card/jump-card.js +2 -2
  58. package/dist/collection/components/jump-card-ecommerce/jump-card-ecommerce.css +183 -0
  59. package/dist/collection/components/jump-card-ecommerce/jump-card-ecommerce.js +583 -0
  60. package/dist/collection/components/jump-card-ecommerce/jump-card-ecommerce.js.map +1 -0
  61. package/dist/collection/components/jump-card-ecommerce/jump-card-ecommerce.stories.js +205 -0
  62. package/dist/collection/components/jump-card-ecommerce/jump-card-ecommerce.stories.js.map +1 -0
  63. package/dist/collection/components/jump-card-ecommerce/test/jump-card-ecommerce.e2e.js +10 -0
  64. package/dist/collection/components/jump-card-ecommerce/test/jump-card-ecommerce.e2e.js.map +1 -0
  65. package/dist/collection/components/jump-card-ecommerce/test/jump-card-ecommerce.spec.js +18 -0
  66. package/dist/collection/components/jump-card-ecommerce/test/jump-card-ecommerce.spec.js.map +1 -0
  67. package/dist/collection/components/jump-filter/jump-filter.css +8 -0
  68. package/dist/collection/components/jump-filter/jump-filter.js +212 -0
  69. package/dist/collection/components/jump-filter/jump-filter.js.map +1 -0
  70. package/dist/collection/components/jump-filter/jump-filter.stories.js +122 -0
  71. package/dist/collection/components/jump-filter/jump-filter.stories.js.map +1 -0
  72. package/dist/collection/components/jump-filtergroup/jump-filtergroup.css +17 -0
  73. package/dist/collection/components/jump-filtergroup/jump-filtergroup.js +328 -0
  74. package/dist/collection/components/jump-filtergroup/jump-filtergroup.js.map +1 -0
  75. package/dist/collection/components/jump-filtergroup/jump-filtergroup.stories.js +49 -0
  76. package/dist/collection/components/jump-filtergroup/jump-filtergroup.stories.js.map +1 -0
  77. package/dist/collection/components/jump-icon/jump-icon-custom.stories.js +67 -0
  78. package/dist/collection/components/jump-icon/jump-icon-custom.stories.js.map +1 -0
  79. package/dist/collection/components/jump-icon/jump-icon-fa-brands.stories.js +73 -0
  80. package/dist/collection/components/jump-icon/jump-icon-fa-brands.stories.js.map +1 -0
  81. package/dist/collection/components/jump-icon/jump-icon-fa-duotone.stories.js +73 -0
  82. package/dist/collection/components/jump-icon/jump-icon-fa-duotone.stories.js.map +1 -0
  83. package/dist/collection/components/jump-icon/jump-icon-fa-light.stories.js +73 -0
  84. package/dist/collection/components/jump-icon/jump-icon-fa-light.stories.js.map +1 -0
  85. package/dist/collection/components/jump-icon/jump-icon-fa-regular.stories.js +73 -0
  86. package/dist/collection/components/jump-icon/jump-icon-fa-regular.stories.js.map +1 -0
  87. package/dist/collection/components/jump-icon/jump-icon-fa-sharp-light.stories.js +73 -0
  88. package/dist/collection/components/jump-icon/jump-icon-fa-sharp-light.stories.js.map +1 -0
  89. package/dist/collection/components/jump-icon/jump-icon-fa-sharp-regular.stories.js +73 -0
  90. package/dist/collection/components/jump-icon/jump-icon-fa-sharp-regular.stories.js.map +1 -0
  91. package/dist/collection/components/jump-icon/jump-icon-fa-sharp-solid.stories.js +73 -0
  92. package/dist/collection/components/jump-icon/jump-icon-fa-sharp-solid.stories.js.map +1 -0
  93. package/dist/collection/components/jump-icon/jump-icon-fa-sharp-thin.stories.js +73 -0
  94. package/dist/collection/components/jump-icon/jump-icon-fa-sharp-thin.stories.js.map +1 -0
  95. package/dist/collection/components/jump-icon/jump-icon-fa-solid.stories.js +73 -0
  96. package/dist/collection/components/jump-icon/jump-icon-fa-solid.stories.js.map +1 -0
  97. package/dist/collection/components/jump-icon/jump-icon-fa-thin.stories.js +73 -0
  98. package/dist/collection/components/jump-icon/jump-icon-fa-thin.stories.js.map +1 -0
  99. package/dist/collection/components/jump-icon/jump-icon-lucide.stories.js +67 -0
  100. package/dist/collection/components/jump-icon/jump-icon-lucide.stories.js.map +1 -0
  101. package/dist/collection/components/jump-icon/jump-icon.css +61 -15
  102. package/dist/collection/components/jump-icon/jump-icon.js +132 -12
  103. package/dist/collection/components/jump-icon/jump-icon.js.map +1 -1
  104. package/dist/collection/components/jump-pagination/jump-pagination.css +1 -0
  105. package/dist/collection/components/jump-pagination/jump-pagination.js +21 -6
  106. package/dist/collection/components/jump-pagination/jump-pagination.js.map +1 -1
  107. package/dist/collection/components/jump-pagination/jump-pagination.stories.js +6 -4
  108. package/dist/collection/components/jump-pagination/jump-pagination.stories.js.map +1 -1
  109. package/dist/collection/components/jump-pagination-table/jump-pagination-table.js +28 -9
  110. package/dist/collection/components/jump-pagination-table/jump-pagination-table.js.map +1 -1
  111. package/dist/collection/components/jump-pagination-table/jump-pagination-table.stories.js +25 -7
  112. package/dist/collection/components/jump-pagination-table/jump-pagination-table.stories.js.map +1 -1
  113. package/dist/collection/components/jump-quantity/jump-quantity.css +52 -0
  114. package/dist/collection/components/jump-quantity/jump-quantity.js +245 -0
  115. package/dist/collection/components/jump-quantity/jump-quantity.js.map +1 -0
  116. package/dist/collection/components/jump-quantity/jump-quantity.stories.js +103 -0
  117. package/dist/collection/components/jump-quantity/jump-quantity.stories.js.map +1 -0
  118. package/dist/collection/components/jump-tab/jump-tab.css +9 -0
  119. package/dist/collection/components/jump-tab/jump-tab.js +107 -21
  120. package/dist/collection/components/jump-tab/jump-tab.js.map +1 -1
  121. package/dist/collection/components/jump-tab/jump-tab.stories.js +129 -0
  122. package/dist/collection/components/jump-tab/jump-tab.stories.js.map +1 -0
  123. package/dist/collection/components/jump-tab-item/jump-tab-item-boxed.stories.js +54 -0
  124. package/dist/collection/components/jump-tab-item/jump-tab-item-boxed.stories.js.map +1 -0
  125. package/dist/collection/components/jump-tab-item/jump-tab-item-inline.stories.js +54 -0
  126. package/dist/collection/components/jump-tab-item/jump-tab-item-inline.stories.js.map +1 -0
  127. package/dist/collection/components/jump-tab-item/jump-tab-item-rounded.stories.js +41 -0
  128. package/dist/collection/components/jump-tab-item/jump-tab-item-rounded.stories.js.map +1 -0
  129. package/dist/collection/components/jump-tab-item/jump-tab-item-sheet.stories.js +42 -0
  130. package/dist/collection/components/jump-tab-item/jump-tab-item-sheet.stories.js.map +1 -0
  131. package/dist/collection/components/jump-tab-item/jump-tab-item.css +109 -0
  132. package/dist/collection/components/jump-tab-item/jump-tab-item.js +173 -0
  133. package/dist/collection/components/jump-tab-item/jump-tab-item.js.map +1 -0
  134. package/dist/collection/components/jump-tab-item/test/jump-tab-item.e2e.js +10 -0
  135. package/dist/collection/components/jump-tab-item/test/jump-tab-item.e2e.js.map +1 -0
  136. package/dist/collection/components/jump-tab-item/test/jump-tab-item.spec.js +18 -0
  137. package/dist/collection/components/jump-tab-item/test/jump-tab-item.spec.js.map +1 -0
  138. package/dist/collection/components/jump-tab-panel/jump-tab-panel.css +11 -0
  139. package/dist/collection/components/jump-tab-panel/jump-tab-panel.js +63 -0
  140. package/dist/collection/components/jump-tab-panel/jump-tab-panel.js.map +1 -0
  141. package/dist/collection/components/jump-tab-panel/test/jump-tab-panel.e2e.js +10 -0
  142. package/dist/collection/components/jump-tab-panel/test/jump-tab-panel.e2e.js.map +1 -0
  143. package/dist/collection/components/jump-tab-panel/test/jump-tab-panel.spec.js +18 -0
  144. package/dist/collection/components/jump-tab-panel/test/jump-tab-panel.spec.js.map +1 -0
  145. package/dist/collection/utils/utils.js +41 -8
  146. package/dist/collection/utils/utils.js.map +1 -1
  147. package/dist/components/jump-accordion.d.ts +11 -0
  148. package/dist/components/jump-accordion.js +36 -0
  149. package/dist/components/jump-accordion.js.map +1 -0
  150. package/dist/components/jump-badge.js +1 -33
  151. package/dist/components/jump-badge.js.map +1 -1
  152. package/dist/components/jump-badge2.js +44 -0
  153. package/dist/components/jump-badge2.js.map +1 -0
  154. package/dist/components/jump-button.js +1 -65
  155. package/dist/components/jump-button.js.map +1 -1
  156. package/dist/components/jump-button2.js +69 -0
  157. package/dist/components/jump-button2.js.map +1 -0
  158. package/dist/components/jump-card-ecommerce.d.ts +11 -0
  159. package/dist/components/jump-card-ecommerce.js +177 -0
  160. package/dist/components/jump-card-ecommerce.js.map +1 -0
  161. package/dist/components/jump-card.js +3 -3
  162. package/dist/components/jump-card.js.map +1 -1
  163. package/dist/components/jump-filter.d.ts +11 -0
  164. package/dist/components/jump-filter.js +96 -0
  165. package/dist/components/jump-filter.js.map +1 -0
  166. package/dist/components/jump-filtergroup.d.ts +11 -0
  167. package/dist/components/jump-filtergroup.js +161 -0
  168. package/dist/components/jump-filtergroup.js.map +1 -0
  169. package/dist/components/jump-icon2.js +556 -2375
  170. package/dist/components/jump-icon2.js.map +1 -1
  171. package/dist/components/jump-pagination-table.js +30 -5
  172. package/dist/components/jump-pagination-table.js.map +1 -1
  173. package/dist/components/jump-pagination.js +27 -6
  174. package/dist/components/jump-pagination.js.map +1 -1
  175. package/dist/components/jump-quantity.d.ts +11 -0
  176. package/dist/components/jump-quantity.js +109 -0
  177. package/dist/components/jump-quantity.js.map +1 -0
  178. package/dist/components/jump-tab-item.d.ts +11 -0
  179. package/dist/components/jump-tab-item.js +68 -0
  180. package/dist/components/jump-tab-item.js.map +1 -0
  181. package/dist/components/jump-tab-panel.d.ts +11 -0
  182. package/dist/components/jump-tab-panel.js +41 -0
  183. package/dist/components/jump-tab-panel.js.map +1 -0
  184. package/dist/components/jump-tab.js +75 -12
  185. package/dist/components/jump-tab.js.map +1 -1
  186. package/dist/esm/{index-192aeaf1.js → index-70f1949a.js} +153 -5
  187. package/dist/esm/index-70f1949a.js.map +1 -0
  188. package/dist/esm/jump-accordion.entry.js +18 -0
  189. package/dist/esm/jump-accordion.entry.js.map +1 -0
  190. package/dist/esm/jump-badge.entry.js +6 -3
  191. package/dist/esm/jump-badge.entry.js.map +1 -1
  192. package/dist/esm/jump-button_2.entry.js +626 -0
  193. package/dist/esm/jump-button_2.entry.js.map +1 -0
  194. package/dist/esm/jump-card-ecommerce.entry.js +117 -0
  195. package/dist/esm/jump-card-ecommerce.entry.js.map +1 -0
  196. package/dist/esm/jump-card.entry.js +4 -4
  197. package/dist/esm/jump-card.entry.js.map +1 -1
  198. package/dist/esm/jump-design-system.js +3 -3
  199. package/dist/esm/jump-filter.entry.js +55 -0
  200. package/dist/esm/jump-filter.entry.js.map +1 -0
  201. package/dist/esm/jump-filtergroup.entry.js +115 -0
  202. package/dist/esm/jump-filtergroup.entry.js.map +1 -0
  203. package/dist/esm/jump-pagination-table.entry.js +24 -5
  204. package/dist/esm/jump-pagination-table.entry.js.map +1 -1
  205. package/dist/esm/jump-pagination.entry.js +19 -5
  206. package/dist/esm/jump-pagination.entry.js.map +1 -1
  207. package/dist/esm/jump-quantity.entry.js +73 -0
  208. package/dist/esm/jump-quantity.entry.js.map +1 -0
  209. package/dist/esm/jump-tab-item.entry.js +36 -0
  210. package/dist/esm/jump-tab-item.entry.js.map +1 -0
  211. package/dist/esm/jump-tab-panel.entry.js +20 -0
  212. package/dist/esm/jump-tab-panel.entry.js.map +1 -0
  213. package/dist/esm/jump-tab.entry.js +72 -9
  214. package/dist/esm/jump-tab.entry.js.map +1 -1
  215. package/dist/esm/loader.js +3 -3
  216. package/dist/jump-design-system/jump-design-system.esm.js +1 -1
  217. package/dist/jump-design-system/jump-design-system.esm.js.map +1 -1
  218. package/dist/jump-design-system/p-2cb7d817.entry.js +2 -0
  219. package/dist/jump-design-system/p-2cb7d817.entry.js.map +1 -0
  220. package/dist/jump-design-system/p-34a46a10.entry.js +2 -0
  221. package/dist/jump-design-system/p-34a46a10.entry.js.map +1 -0
  222. package/dist/jump-design-system/p-377a769b.entry.js +2 -0
  223. package/dist/jump-design-system/p-377a769b.entry.js.map +1 -0
  224. package/dist/jump-design-system/p-493c7f4a.entry.js +2 -0
  225. package/dist/jump-design-system/p-493c7f4a.entry.js.map +1 -0
  226. package/dist/jump-design-system/p-4d6cc90d.js +3 -0
  227. package/dist/jump-design-system/p-4d6cc90d.js.map +1 -0
  228. package/dist/jump-design-system/p-56609b82.entry.js +2 -0
  229. package/dist/jump-design-system/p-56609b82.entry.js.map +1 -0
  230. package/dist/jump-design-system/p-5a6fbc53.entry.js +2 -0
  231. package/dist/jump-design-system/p-5a6fbc53.entry.js.map +1 -0
  232. package/dist/jump-design-system/p-5d713084.entry.js +2 -0
  233. package/dist/jump-design-system/p-5d713084.entry.js.map +1 -0
  234. package/dist/jump-design-system/p-7696c03d.entry.js +2 -0
  235. package/dist/jump-design-system/p-7696c03d.entry.js.map +1 -0
  236. package/dist/jump-design-system/p-8343b4f5.entry.js +2 -0
  237. package/dist/jump-design-system/p-8343b4f5.entry.js.map +1 -0
  238. package/dist/jump-design-system/p-a6fc23f7.entry.js +2 -0
  239. package/dist/jump-design-system/p-a6fc23f7.entry.js.map +1 -0
  240. package/dist/jump-design-system/p-c1665537.entry.js +2 -0
  241. package/dist/jump-design-system/p-c1665537.entry.js.map +1 -0
  242. package/dist/jump-design-system/p-c2bc6395.entry.js +66 -0
  243. package/dist/jump-design-system/p-c2bc6395.entry.js.map +1 -0
  244. package/dist/jump-design-system/p-fafe6478.entry.js +2 -0
  245. package/dist/jump-design-system/p-fafe6478.entry.js.map +1 -0
  246. package/dist/jump-design-system-elements.json +396 -9
  247. package/dist/types/components/jump-accordion/jump-accordion.d.ts +3 -0
  248. package/dist/types/components/jump-badge/jump-badge.d.ts +13 -1
  249. package/dist/types/components/jump-badge/jump-badge.stories.d.ts +22 -0
  250. package/dist/types/components/jump-button/jump-button-anchor.stories.d.ts +18 -4
  251. package/dist/types/components/jump-button/jump-button-dimension.stories.d.ts +0 -5
  252. package/dist/types/components/jump-button/jump-button-only-icon.stories.d.ts +4 -11
  253. package/dist/types/components/jump-button/jump-button.stories.d.ts +98 -0
  254. package/dist/types/components/jump-card-ecommerce/jump-card-ecommerce.d.ts +65 -0
  255. package/dist/types/components/jump-card-ecommerce/jump-card-ecommerce.stories.d.ts +117 -0
  256. package/dist/types/components/jump-filter/jump-filter.d.ts +22 -0
  257. package/dist/types/components/jump-filter/jump-filter.stories.d.ts +40 -0
  258. package/dist/types/components/jump-filtergroup/jump-filtergroup.d.ts +24 -0
  259. package/dist/types/components/jump-filtergroup/jump-filtergroup.stories.d.ts +43 -0
  260. package/dist/types/components/jump-icon/jump-icon-custom.stories.d.ts +40 -0
  261. package/dist/types/components/{jump-button/jump-button-outline.stories.d.ts → jump-icon/jump-icon-fa-brands.stories.d.ts} +19 -30
  262. package/dist/types/components/jump-icon/jump-icon-fa-duotone.stories.d.ts +45 -0
  263. package/dist/types/components/jump-icon/jump-icon-fa-light.stories.d.ts +45 -0
  264. package/dist/types/components/jump-icon/jump-icon-fa-regular.stories.d.ts +45 -0
  265. package/dist/types/components/jump-icon/jump-icon-fa-sharp-light.stories.d.ts +45 -0
  266. package/dist/types/components/jump-icon/jump-icon-fa-sharp-regular.stories.d.ts +45 -0
  267. package/dist/types/components/jump-icon/jump-icon-fa-sharp-solid.stories.d.ts +45 -0
  268. package/dist/types/components/jump-icon/jump-icon-fa-sharp-thin.stories.d.ts +45 -0
  269. package/dist/types/components/jump-icon/jump-icon-fa-solid.stories.d.ts +45 -0
  270. package/dist/types/components/jump-icon/jump-icon-fa-thin.stories.d.ts +45 -0
  271. package/dist/types/components/{jump-button/jump-button-text.stories.d.ts → jump-icon/jump-icon-lucide.stories.d.ts} +16 -16
  272. package/dist/types/components/jump-icon/jump-icon.d.ts +29 -4
  273. package/dist/types/components/jump-pagination/jump-pagination.d.ts +9 -0
  274. package/dist/types/components/jump-pagination-table/jump-pagination-table.d.ts +18 -2
  275. package/dist/types/components/jump-pagination-table/jump-pagination-table.stories.d.ts +5 -1
  276. package/dist/types/components/jump-quantity/jump-quantity.d.ts +24 -0
  277. package/dist/types/components/jump-quantity/jump-quantity.stories.d.ts +41 -0
  278. package/dist/types/components/jump-tab/jump-tab.d.ts +11 -3
  279. package/dist/types/components/jump-tab/jump-tab.stories.d.ts +27 -0
  280. package/dist/types/components/jump-tab-item/jump-tab-item-boxed.stories.d.ts +39 -0
  281. package/dist/types/components/jump-tab-item/jump-tab-item-inline.stories.d.ts +39 -0
  282. package/dist/types/components/jump-tab-item/jump-tab-item-rounded.stories.d.ts +28 -0
  283. package/dist/types/components/jump-tab-item/jump-tab-item-sheet.stories.d.ts +28 -0
  284. package/dist/types/components/jump-tab-item/jump-tab-item.d.ts +29 -0
  285. package/dist/types/components/jump-tab-panel/jump-tab-panel.d.ts +5 -0
  286. package/dist/types/components.d.ts +563 -8
  287. package/dist/types/utils/utils.d.ts +2 -0
  288. package/package.json +3 -2
  289. package/dist/cjs/index-41aaa52a.js.map +0 -1
  290. package/dist/cjs/jump-button.cjs.entry.js +0 -41
  291. package/dist/cjs/jump-button.cjs.entry.js.map +0 -1
  292. package/dist/cjs/jump-icon.cjs.entry.js +0 -2422
  293. package/dist/cjs/jump-icon.cjs.entry.js.map +0 -1
  294. package/dist/collection/components/jump-button/jump-button-outline.stories.js +0 -111
  295. package/dist/collection/components/jump-button/jump-button-outline.stories.js.map +0 -1
  296. package/dist/collection/components/jump-button/jump-button-text.stories.js +0 -83
  297. package/dist/collection/components/jump-button/jump-button-text.stories.js.map +0 -1
  298. package/dist/collection/components/jump-icon/jump-icon.stories.js +0 -35
  299. package/dist/collection/components/jump-icon/jump-icon.stories.js.map +0 -1
  300. package/dist/collection/components/jump-tab/jump-tab-inline.stories.js +0 -28
  301. package/dist/collection/components/jump-tab/jump-tab-inline.stories.js.map +0 -1
  302. package/dist/esm/index-192aeaf1.js.map +0 -1
  303. package/dist/esm/jump-button.entry.js +0 -37
  304. package/dist/esm/jump-button.entry.js.map +0 -1
  305. package/dist/esm/jump-icon.entry.js +0 -2418
  306. package/dist/esm/jump-icon.entry.js.map +0 -1
  307. package/dist/jump-design-system/p-02914b1e.entry.js +0 -2
  308. package/dist/jump-design-system/p-02914b1e.entry.js.map +0 -1
  309. package/dist/jump-design-system/p-1a533536.entry.js +0 -2
  310. package/dist/jump-design-system/p-1a533536.entry.js.map +0 -1
  311. package/dist/jump-design-system/p-20ceb40c.js +0 -3
  312. package/dist/jump-design-system/p-20ceb40c.js.map +0 -1
  313. package/dist/jump-design-system/p-93d8245f.entry.js +0 -2
  314. package/dist/jump-design-system/p-93d8245f.entry.js.map +0 -1
  315. package/dist/jump-design-system/p-e69ee35f.entry.js +0 -2
  316. package/dist/jump-design-system/p-e69ee35f.entry.js.map +0 -1
  317. package/dist/jump-design-system/p-eb16952a.entry.js +0 -2
  318. package/dist/jump-design-system/p-eb16952a.entry.js.map +0 -1
  319. package/dist/jump-design-system/p-ed65e359.entry.js +0 -2
  320. package/dist/jump-design-system/p-ed65e359.entry.js.map +0 -1
  321. package/dist/jump-design-system/p-fa148b53.entry.js +0 -331
  322. package/dist/jump-design-system/p-fa148b53.entry.js.map +0 -1
  323. package/dist/types/components/jump-icon/jump-icon.stories.d.ts +0 -21
  324. package/dist/types/components/jump-tab/jump-tab-inline.stories.d.ts +0 -18
@@ -0,0 +1,626 @@
1
+ import { r as registerInstance, h as h$2, H as Host } from './index-70f1949a.js';
2
+
3
+ const jumpButtonCss = ":host button,:host a{background-color:transparent;border:none;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer}:host{--jump-button-color:#ffffff;--jump-button-color-disabled:#cbcbcb;--jump-button-background:var(--primary-standard);--jump-button-background-outline:transparent;--jump-button-color-hover:#ffffff;--jump-button-background-hover:var(--primary-hard);--jump-button-border-radius:var(--border-radius-1, 0.1875rem) var(--border-radius-1, 0.1875rem) var(--border-radius-1, 0.1875rem) var(--border-radius-1, 0.1875rem);--jump-button-padding:1rem 1.25rem;display:flex}:host button{display:flex}:host a{display:inline-flex;box-sizing:border-box}:host button,:host a{background-color:var(--jump-button-background);border-radius:var(--jump-button-border-radius);color:var(--jump-button-color);position:relative;font-family:var(--ff-primary, \"Arial\"), sans-serif;font-weight:var(--fw-700, 700);font-size:var(--fs-400, 1rem);line-height:1.2;align-items:center;gap:var(--jump-button-gap, 0.5rem);text-decoration:none;padding:var(--jump-button-padding)}:host button:hover,:host a:hover{background-color:var(--jump-button-background-hover);color:var(--jump-button-color-hover)}:host button[data-variant=primary],:host a[data-variant=primary]{--jump-button-color:var(--neutral-white);--jump-button-background:var(--primary-standard);--jump-button-color-hover:var(--neutral-white);--jump-button-background-hover:var(--primary-hard)}:host button[data-variant=secondary],:host a[data-variant=secondary]{--jump-button-color:var(--neutral-white);--jump-button-background:var(--secondary-standard);--jump-button-color-hover:var(--neutral-white);--jump-button-background-hover:var(--secondary-hard)}:host button[data-variant=neutral],:host a[data-variant=neutral]{--jump-button-color:var(--neutral-white);--jump-button-background:var(--neutral-grey-secondary);--jump-button-color-hover:var(--neutral-white);--jump-button-background-hover:var(--neutral-grey-primary)}:host button[data-variant=white],:host a[data-variant=white]{--jump-button-color:var(--neutral-grey-primary);--jump-button-background:var(--neutral-white);--jump-button-color-hover:var(--neutral-grey-primary);--jump-button-background-hover:var(--neutral-grey-background)}:host button[disabled],:host a[disabled]{--jump-button-background:var(--jump-button-color-disabled);--jump-button-background-hover:var(--jump-button-color-disabled);cursor:not-allowed}:host button[data-pill],:host a[data-pill]{border-radius:100rem}:host button[data-size=small],:host a[data-size=small]{font-size:var(--fs-300, 0.875rem);--jump-button-padding:0.65rem 1rem}:host button[data-size=medium],:host a[data-size=medium]{font-size:var(--fs-400, 1rem);--jump-button-padding:0.75rem 1.25rem}:host button[data-size=large],:host a[data-size=large]{font-size:var(--fs-500, 1.125rem);--jump-button-padding:1rem 1.5rem}:host button[data-outline],:host a[data-outline]{background-color:var(--jump-button-background-outline);border:1px solid var(--jump-button-background);color:var(--jump-button-background)}:host button[data-outline]:hover,:host a[data-outline]:hover{background-color:var(--jump-button-background-hover);border:1px solid var(--jump-button-background-hover);color:var(--jump-button-color-hover)}:host button[data-text],:host a[data-text]{background-color:transparent;border:none;color:var(--jump-button-background);padding:0}:host button[data-text]:hover,:host a[data-text]:hover{background-color:transparent;border:none;color:var(--jump-button-background-hover)}:host button[data-only-icon],:host a[data-only-icon]{--jump-button-padding:0.5rem}:host button[data-only-icon][data-size=small],:host a[data-only-icon][data-size=small]{--jump-button-padding:0.5rem}:host button[data-only-icon][data-size=medium],:host a[data-only-icon][data-size=medium]{--jump-button-padding:0.875rem}:host button[data-only-icon][data-size=large],:host a[data-only-icon][data-size=large]{--jump-button-padding:1rem}:host button[data-full],:host a[data-full]{width:100%;justify-content:center}:host button.chat,:host a.chat{--jump-button-color:var(--neutral-white);--jump-button-background:hsla(133, 54%, 58%, 1);--jump-button-color-hover:var(--neutral-white);--jump-button-background-hover:hsla(161, 63%, 31%, 1)}";
4
+ const JumpButtonStyle0 = jumpButtonCss;
5
+
6
+ const JumpButton = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.disabled = false;
10
+ this.variant = 'primary';
11
+ this.outline = false;
12
+ this.size = 'medium';
13
+ this.full = false;
14
+ this.pill = false;
15
+ this.text = false;
16
+ this.onlyIcon = false;
17
+ this.href = undefined;
18
+ this.target = undefined;
19
+ this.type = 'button';
20
+ this.name = undefined;
21
+ this.value = undefined;
22
+ this.ariaLabel = undefined;
23
+ this.class = undefined;
24
+ this.buttonId = undefined;
25
+ }
26
+ componentWillLoad() {
27
+ this.target = this.href ? this.target : '_self';
28
+ }
29
+ render() {
30
+ return (h$2(Host, { key: '654a8147c4251ebab7834f6ddb569e0a3ebe2b77' }, this.href ? (h$2("a", { href: this.href, id: this.buttonId, class: this.class, "data-variant": this.variant, "data-outline": this.outline, "data-size": this.size, "data-full": this.full, "data-pill": this.pill, "data-text": this.text, "data-only-icon": this.onlyIcon, "aria-label": this.ariaLabel, target: this.target }, h$2("slot", { name: "prefix" }), !this.onlyIcon && h$2("slot", null), h$2("slot", { name: "suffix" }))) : (h$2("button", { id: this.buttonId, class: this.class, "data-variant": this.variant, "data-outline": this.outline, "data-size": this.size, "data-full": this.full, "data-pill": this.pill, "data-text": this.text, "data-only-icon": this.onlyIcon, disabled: this.disabled, "aria-label": this.ariaLabel, type: this.type, name: this.name, value: this.value }, h$2("slot", { name: "prefix" }), !this.onlyIcon && h$2("slot", null), h$2("slot", { name: "suffix" })))));
31
+ }
32
+ };
33
+ JumpButton.style = JumpButtonStyle0;
34
+
35
+ // src/utilities/base-path.ts
36
+ var basePath = "";
37
+ function setBasePath(path) {
38
+ basePath = path;
39
+ }
40
+ function getBasePath(subpath = "") {
41
+ if (!basePath) {
42
+ const scripts = [...document.getElementsByTagName("script")];
43
+ const configScript = scripts.find((script) => script.hasAttribute("data-shoelace"));
44
+ if (configScript) {
45
+ setBasePath(configScript.getAttribute("data-shoelace"));
46
+ } else {
47
+ const fallbackScript = scripts.find((s) => {
48
+ return /shoelace(\.min)?\.js($|\?)/.test(s.src) || /shoelace-autoloader(\.min)?\.js($|\?)/.test(s.src);
49
+ });
50
+ let path = "";
51
+ if (fallbackScript) {
52
+ path = fallbackScript.getAttribute("src");
53
+ }
54
+ setBasePath(path.split("/").slice(0, -1).join("/"));
55
+ }
56
+ }
57
+ return basePath.replace(/\/$/, "") + (subpath ? `/${subpath.replace(/^\//, "")}` : ``);
58
+ }
59
+
60
+ // src/components/icon/library.default.ts
61
+ var library = {
62
+ name: "default",
63
+ resolver: (name) => getBasePath(`assets/icons/${name}.svg`)
64
+ };
65
+ var library_default_default = library;
66
+
67
+ // src/components/icon/library.system.ts
68
+ var icons = {
69
+ caret: `
70
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
71
+ <polyline points="6 9 12 15 18 9"></polyline>
72
+ </svg>
73
+ `,
74
+ check: `
75
+ <svg part="checked-icon" class="checkbox__icon" viewBox="0 0 16 16">
76
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">
77
+ <g stroke="currentColor">
78
+ <g transform="translate(3.428571, 3.428571)">
79
+ <path d="M0,5.71428571 L3.42857143,9.14285714"></path>
80
+ <path d="M9.14285714,0 L3.42857143,9.14285714"></path>
81
+ </g>
82
+ </g>
83
+ </g>
84
+ </svg>
85
+ `,
86
+ "chevron-down": `
87
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">
88
+ <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>
89
+ </svg>
90
+ `,
91
+ "chevron-left": `
92
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">
93
+ <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>
94
+ </svg>
95
+ `,
96
+ "chevron-right": `
97
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">
98
+ <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>
99
+ </svg>
100
+ `,
101
+ copy: `
102
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-copy" viewBox="0 0 16 16">
103
+ <path fill-rule="evenodd" d="M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z"/>
104
+ </svg>
105
+ `,
106
+ eye: `
107
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">
108
+ <path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"/>
109
+ <path d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>
110
+ </svg>
111
+ `,
112
+ "eye-slash": `
113
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-slash" viewBox="0 0 16 16">
114
+ <path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/>
115
+ <path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/>
116
+ <path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z"/>
117
+ </svg>
118
+ `,
119
+ eyedropper: `
120
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eyedropper" viewBox="0 0 16 16">
121
+ <path d="M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z"></path>
122
+ </svg>
123
+ `,
124
+ "grip-vertical": `
125
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grip-vertical" viewBox="0 0 16 16">
126
+ <path d="M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>
127
+ </svg>
128
+ `,
129
+ indeterminate: `
130
+ <svg part="indeterminate-icon" class="checkbox__icon" viewBox="0 0 16 16">
131
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">
132
+ <g stroke="currentColor" stroke-width="2">
133
+ <g transform="translate(2.285714, 6.857143)">
134
+ <path d="M10.2857143,1.14285714 L1.14285714,1.14285714"></path>
135
+ </g>
136
+ </g>
137
+ </g>
138
+ </svg>
139
+ `,
140
+ "person-fill": `
141
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">
142
+ <path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>
143
+ </svg>
144
+ `,
145
+ "play-fill": `
146
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">
147
+ <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"></path>
148
+ </svg>
149
+ `,
150
+ "pause-fill": `
151
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pause-fill" viewBox="0 0 16 16">
152
+ <path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z"></path>
153
+ </svg>
154
+ `,
155
+ radio: `
156
+ <svg part="checked-icon" class="radio__icon" viewBox="0 0 16 16">
157
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
158
+ <g fill="currentColor">
159
+ <circle cx="8" cy="8" r="3.42857143"></circle>
160
+ </g>
161
+ </g>
162
+ </svg>
163
+ `,
164
+ "star-fill": `
165
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">
166
+ <path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>
167
+ </svg>
168
+ `,
169
+ "x-lg": `
170
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">
171
+ <path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>
172
+ </svg>
173
+ `,
174
+ "x-circle-fill": `
175
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">
176
+ <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>
177
+ </svg>
178
+ `
179
+ };
180
+ var systemLibrary = {
181
+ name: "system",
182
+ resolver: (name) => {
183
+ if (name in icons) {
184
+ return `data:image/svg+xml,${encodeURIComponent(icons[name])}`;
185
+ }
186
+ return "";
187
+ }
188
+ };
189
+ var library_system_default = systemLibrary;
190
+
191
+ // src/components/icon/library.ts
192
+ var registry = [library_default_default, library_system_default];
193
+ var watchedIcons = [];
194
+ function watchIcon(icon) {
195
+ watchedIcons.push(icon);
196
+ }
197
+ function unwatchIcon(icon) {
198
+ watchedIcons = watchedIcons.filter((el) => el !== icon);
199
+ }
200
+ function getIconLibrary(name) {
201
+ return registry.find((lib) => lib.name === name);
202
+ }
203
+ function registerIconLibrary(name, options) {
204
+ unregisterIconLibrary(name);
205
+ registry.push({
206
+ name,
207
+ resolver: options.resolver,
208
+ mutator: options.mutator,
209
+ spriteSheet: options.spriteSheet
210
+ });
211
+ watchedIcons.forEach((icon) => {
212
+ if (icon.library === name) {
213
+ icon.setIcon();
214
+ }
215
+ });
216
+ }
217
+ function unregisterIconLibrary(name) {
218
+ registry = registry.filter((lib) => lib.name !== name);
219
+ }
220
+
221
+ /**
222
+ * @license
223
+ * Copyright 2019 Google LLC
224
+ * SPDX-License-Identifier: BSD-3-Clause
225
+ */
226
+ const t$1=globalThis,e$3=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2=Symbol(),o$3=new WeakMap;class n$3{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$2)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$3&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$3.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$3.set(s,t));}return t}toString(){return this.cssText}}const r$5=t=>new n$3("string"==typeof t?t:t+"",void 0,s$2),i$2=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$3(o,t,s$2)},S$1=(s,o)=>{if(e$3)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$3?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$5(e)})(t):t;
227
+
228
+ /**
229
+ * @license
230
+ * Copyright 2017 Google LLC
231
+ * SPDX-License-Identifier: BSD-3-Clause
232
+ */const{is:i$1,defineProperty:e$2,getOwnPropertyDescriptor:r$4,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$2,getPrototypeOf:n$2}=Object,a$1=globalThis,c$1=a$1.trustedTypes,l$1=c$1?c$1.emptyScript:"",p$1=a$1.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$1(t,s),y$1={attribute:!0,type:String,converter:u$1,reflect:!1,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$1.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$2(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$4(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$2(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$2(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else void 0!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1)(this[t],s))return;this.P(t,s,i);}!1===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=!0;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return !0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$1?.({ReactiveElement:b}),(a$1.reactiveElementVersions??=[]).push("2.0.4");
233
+
234
+ /**
235
+ * @license
236
+ * Copyright 2017 Google LLC
237
+ * SPDX-License-Identifier: BSD-3-Clause
238
+ */
239
+ const t=globalThis,i=t.trustedTypes,s$1=i?i.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$1="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o$1="?"+h,n$1=`<${o$1}>`,r$3=document,l=()=>r$3.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),w=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),A=new WeakMap,E=r$3.createTreeWalker(r$3,129);function C(t,i){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$1?s$1.createHTML(i):i}const P=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n$1:d>=0?(o.push(a),s.slice(0,d)+e$1+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [C(t,l+(t[s]||"<?>")+(2===i?"</svg>":"")),o]};class V{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=P(t,s);if(this.el=V.createElement(f,n),E.currentNode=this.el.content,2===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=E.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$1)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?k:"?"===e[1]?H:"@"===e[1]?I:R}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i?i.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),E.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$3.createElement("template");return s.innerHTML=t,s}}function N(t,i,s=t,e){if(i===w)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=N(t,h._$AS(t,i.values),h,e)),i}class S{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$3).importNode(i,!0);E.currentNode=e;let h=E.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new M(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new L(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=E.nextNode(),o++);}return E.currentNode=r$3,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class M{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=N(this,t,i),c(t)?t===T||null==t||""===t?(this._$AH!==T&&this._$AR(),this._$AH=T):t!==this._$AH&&t!==w&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t));}_(t){this._$AH!==T&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$3.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=V.createElement(C(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new S(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new V(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new M(this.S(l()),this.S(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class R{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=T,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=T;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=N(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==w,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=N(this,e[s+n],i,n),r===w&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===T?t=T:t!==T&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class k extends R{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===T?void 0:t;}}class H extends R{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==T);}}class I extends R{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=N(this,t,i,0)??T)===w)return;const s=this._$AH,e=t===T&&s!==T||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==T&&(s===T||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class L{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t);}}const Z=t.litHtmlPolyfillSupport;Z?.(V,M),(t.litHtmlVersions??=[]).push("3.1.3");const j=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new M(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
240
+
241
+ /**
242
+ * @license
243
+ * Copyright 2017 Google LLC
244
+ * SPDX-License-Identifier: BSD-3-Clause
245
+ */class s extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=j(i,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return w}}s._$litElement$=!0,s[("finalized")]=!0,globalThis.litElementHydrateSupport?.({LitElement:s});const r$2=globalThis.litElementPolyfillSupport;r$2?.({LitElement:s});(globalThis.litElementVersions??=[]).push("4.0.5");
246
+
247
+ // src/components/icon/icon.styles.ts
248
+ var icon_styles_default = i$2`
249
+ :host {
250
+ display: inline-block;
251
+ width: 1em;
252
+ height: 1em;
253
+ box-sizing: content-box !important;
254
+ }
255
+
256
+ svg {
257
+ display: block;
258
+ height: 100%;
259
+ width: 100%;
260
+ }
261
+ `;
262
+
263
+ var __defProp = Object.defineProperty;
264
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
265
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
266
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
267
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
268
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
269
+ var __spreadValues = (a, b) => {
270
+ for (var prop in b || (b = {}))
271
+ if (__hasOwnProp.call(b, prop))
272
+ __defNormalProp(a, prop, b[prop]);
273
+ if (__getOwnPropSymbols)
274
+ for (var prop of __getOwnPropSymbols(b)) {
275
+ if (__propIsEnum.call(b, prop))
276
+ __defNormalProp(a, prop, b[prop]);
277
+ }
278
+ return a;
279
+ };
280
+ var __decorateClass = (decorators, target, key, kind) => {
281
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
282
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
283
+ if (decorator = decorators[i])
284
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
285
+ if (kind && result)
286
+ __defProp(target, key, result);
287
+ return result;
288
+ };
289
+
290
+ // src/internal/watch.ts
291
+ function watch(propertyName, options) {
292
+ const resolvedOptions = __spreadValues({
293
+ waitUntilFirstUpdate: false
294
+ }, options);
295
+ return (proto, decoratedFnName) => {
296
+ const { update } = proto;
297
+ const watchedProperties = Array.isArray(propertyName) ? propertyName : [propertyName];
298
+ proto.update = function(changedProps) {
299
+ watchedProperties.forEach((property) => {
300
+ const key = property;
301
+ if (changedProps.has(key)) {
302
+ const oldValue = changedProps.get(key);
303
+ const newValue = this[key];
304
+ if (oldValue !== newValue) {
305
+ if (!resolvedOptions.waitUntilFirstUpdate || this.hasUpdated) {
306
+ this[decoratedFnName](oldValue, newValue);
307
+ }
308
+ }
309
+ }
310
+ });
311
+ update.call(this, changedProps);
312
+ };
313
+ };
314
+ }
315
+
316
+ // src/styles/component.styles.ts
317
+ var component_styles_default = i$2`
318
+ :host {
319
+ box-sizing: border-box;
320
+ }
321
+
322
+ :host *,
323
+ :host *::before,
324
+ :host *::after {
325
+ box-sizing: inherit;
326
+ }
327
+
328
+ [hidden] {
329
+ display: none !important;
330
+ }
331
+ `;
332
+
333
+ /**
334
+ * @license
335
+ * Copyright 2017 Google LLC
336
+ * SPDX-License-Identifier: BSD-3-Clause
337
+ */const o={attribute:!0,type:String,converter:u$1,reflect:!1,hasChanged:f$1},r$1=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),"accessor"===n){const{name:o}=r;return {set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t);},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if("setter"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t);}}throw Error("Unsupported decorator location: "+n)};function n(t){return (e,o)=>"object"==typeof o?r$1(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}
338
+
339
+ /**
340
+ * @license
341
+ * Copyright 2017 Google LLC
342
+ * SPDX-License-Identifier: BSD-3-Clause
343
+ */function r(r){return n({...r,state:!0,attribute:!1})}
344
+
345
+ var ShoelaceElement = class extends s {
346
+ constructor() {
347
+ super();
348
+ Object.entries(this.constructor.dependencies).forEach(([name, component]) => {
349
+ this.constructor.define(name, component);
350
+ });
351
+ }
352
+ emit(name, options) {
353
+ const event = new CustomEvent(name, __spreadValues({
354
+ bubbles: true,
355
+ cancelable: false,
356
+ composed: true,
357
+ detail: {}
358
+ }, options));
359
+ this.dispatchEvent(event);
360
+ return event;
361
+ }
362
+ /* eslint-enable */
363
+ static define(name, elementConstructor = this, options = {}) {
364
+ const currentlyRegisteredConstructor = customElements.get(name);
365
+ if (!currentlyRegisteredConstructor) {
366
+ customElements.define(name, class extends elementConstructor {
367
+ }, options);
368
+ return;
369
+ }
370
+ let newVersion = " (unknown version)";
371
+ let existingVersion = newVersion;
372
+ if ("version" in elementConstructor && elementConstructor.version) {
373
+ newVersion = " v" + elementConstructor.version;
374
+ }
375
+ if ("version" in currentlyRegisteredConstructor && currentlyRegisteredConstructor.version) {
376
+ existingVersion = " v" + currentlyRegisteredConstructor.version;
377
+ }
378
+ if (newVersion && existingVersion && newVersion === existingVersion) {
379
+ return;
380
+ }
381
+ console.warn(
382
+ `Attempted to register <${name}>${newVersion}, but <${name}>${existingVersion} has already been registered.`
383
+ );
384
+ }
385
+ };
386
+ /* eslint-disable */
387
+ // @ts-expect-error This is auto-injected at build time.
388
+ ShoelaceElement.version = "2.15.0";
389
+ ShoelaceElement.dependencies = {};
390
+ __decorateClass([
391
+ n()
392
+ ], ShoelaceElement.prototype, "dir", 2);
393
+ __decorateClass([
394
+ n()
395
+ ], ShoelaceElement.prototype, "lang", 2);
396
+
397
+ /**
398
+ * @license
399
+ * Copyright 2020 Google LLC
400
+ * SPDX-License-Identifier: BSD-3-Clause
401
+ */const e=(o,t)=>void 0===t?void 0!==o?._$litType$:o?._$litType$===t;
402
+
403
+ var CACHEABLE_ERROR = Symbol();
404
+ var RETRYABLE_ERROR = Symbol();
405
+ var parser;
406
+ var iconCache = /* @__PURE__ */ new Map();
407
+ var SlIcon = class extends ShoelaceElement {
408
+ constructor() {
409
+ super(...arguments);
410
+ this.initialRender = false;
411
+ this.svg = null;
412
+ this.label = "";
413
+ this.library = "default";
414
+ }
415
+ /** Given a URL, this function returns the resulting SVG element or an appropriate error symbol. */
416
+ async resolveIcon(url, library) {
417
+ var _a;
418
+ let fileData;
419
+ if (library == null ? void 0 : library.spriteSheet) {
420
+ this.svg = x`<svg part="svg">
421
+ <use part="use" href="${url}"></use>
422
+ </svg>`;
423
+ await this.updateComplete;
424
+ const svg = this.shadowRoot.querySelector("[part='svg']");
425
+ if (typeof library.mutator === "function") {
426
+ library.mutator(svg);
427
+ }
428
+ return this.svg;
429
+ }
430
+ try {
431
+ fileData = await fetch(url, { mode: "cors" });
432
+ if (!fileData.ok)
433
+ return fileData.status === 410 ? CACHEABLE_ERROR : RETRYABLE_ERROR;
434
+ } catch (e) {
435
+ return RETRYABLE_ERROR;
436
+ }
437
+ try {
438
+ const div = document.createElement("div");
439
+ div.innerHTML = await fileData.text();
440
+ const svg = div.firstElementChild;
441
+ if (((_a = svg == null ? void 0 : svg.tagName) == null ? void 0 : _a.toLowerCase()) !== "svg")
442
+ return CACHEABLE_ERROR;
443
+ if (!parser)
444
+ parser = new DOMParser();
445
+ const doc = parser.parseFromString(svg.outerHTML, "text/html");
446
+ const svgEl = doc.body.querySelector("svg");
447
+ if (!svgEl)
448
+ return CACHEABLE_ERROR;
449
+ svgEl.part.add("svg");
450
+ return document.adoptNode(svgEl);
451
+ } catch (e) {
452
+ return CACHEABLE_ERROR;
453
+ }
454
+ }
455
+ connectedCallback() {
456
+ super.connectedCallback();
457
+ watchIcon(this);
458
+ }
459
+ firstUpdated() {
460
+ this.initialRender = true;
461
+ this.setIcon();
462
+ }
463
+ disconnectedCallback() {
464
+ super.disconnectedCallback();
465
+ unwatchIcon(this);
466
+ }
467
+ getIconSource() {
468
+ const library = getIconLibrary(this.library);
469
+ if (this.name && library) {
470
+ return {
471
+ url: library.resolver(this.name),
472
+ fromLibrary: true
473
+ };
474
+ }
475
+ return {
476
+ url: this.src,
477
+ fromLibrary: false
478
+ };
479
+ }
480
+ handleLabelChange() {
481
+ const hasLabel = typeof this.label === "string" && this.label.length > 0;
482
+ if (hasLabel) {
483
+ this.setAttribute("role", "img");
484
+ this.setAttribute("aria-label", this.label);
485
+ this.removeAttribute("aria-hidden");
486
+ } else {
487
+ this.removeAttribute("role");
488
+ this.removeAttribute("aria-label");
489
+ this.setAttribute("aria-hidden", "true");
490
+ }
491
+ }
492
+ async setIcon() {
493
+ var _a;
494
+ const { url, fromLibrary } = this.getIconSource();
495
+ const library = fromLibrary ? getIconLibrary(this.library) : void 0;
496
+ if (!url) {
497
+ this.svg = null;
498
+ return;
499
+ }
500
+ let iconResolver = iconCache.get(url);
501
+ if (!iconResolver) {
502
+ iconResolver = this.resolveIcon(url, library);
503
+ iconCache.set(url, iconResolver);
504
+ }
505
+ if (!this.initialRender) {
506
+ return;
507
+ }
508
+ const svg = await iconResolver;
509
+ if (svg === RETRYABLE_ERROR) {
510
+ iconCache.delete(url);
511
+ }
512
+ if (url !== this.getIconSource().url) {
513
+ return;
514
+ }
515
+ if (e(svg)) {
516
+ this.svg = svg;
517
+ return;
518
+ }
519
+ switch (svg) {
520
+ case RETRYABLE_ERROR:
521
+ case CACHEABLE_ERROR:
522
+ this.svg = null;
523
+ this.emit("sl-error");
524
+ break;
525
+ default:
526
+ this.svg = svg.cloneNode(true);
527
+ (_a = library == null ? void 0 : library.mutator) == null ? void 0 : _a.call(library, this.svg);
528
+ this.emit("sl-load");
529
+ }
530
+ }
531
+ render() {
532
+ return this.svg;
533
+ }
534
+ };
535
+ SlIcon.styles = [component_styles_default, icon_styles_default];
536
+ __decorateClass([
537
+ r()
538
+ ], SlIcon.prototype, "svg", 2);
539
+ __decorateClass([
540
+ n({ reflect: true })
541
+ ], SlIcon.prototype, "name", 2);
542
+ __decorateClass([
543
+ n()
544
+ ], SlIcon.prototype, "src", 2);
545
+ __decorateClass([
546
+ n()
547
+ ], SlIcon.prototype, "label", 2);
548
+ __decorateClass([
549
+ n({ reflect: true })
550
+ ], SlIcon.prototype, "library", 2);
551
+ __decorateClass([
552
+ watch("label")
553
+ ], SlIcon.prototype, "handleLabelChange", 1);
554
+ __decorateClass([
555
+ watch(["name", "src", "library"])
556
+ ], SlIcon.prototype, "setIcon", 1);
557
+
558
+ SlIcon.define("sl-icon");
559
+
560
+ const jumpIconCss = ":host{display:inline-flex}sl-icon{display:inline-flex}sl-icon[library=lucide]{width:var(--sl-icon-width);height:var(--sl-icon-height)}sl-icon[library=lucide][size=small]{--sl-icon-width:var(--fs-400, 1rem);--sl-icon-height:var(--fs-400, 1rem)}sl-icon[library=lucide][size=medium]{--sl-icon-width:var(--fs-500, 1.125rem);--sl-icon-height:var(--fs-500, 1.125rem)}sl-icon[library=lucide][size=large]{--sl-icon-width:var(--fs-600, 1.5rem);--sl-icon-height:var(--fs-600, 1.5rem)}sl-icon[library=lucide][size=inherit]{width:100%;height:100%}sl-icon[library=custom]{width:var(--sl-icon-width);height:var(--sl-icon-height)}sl-icon[library=custom][size=small]{--sl-icon-width:var(--fs-400, 1rem);--sl-icon-height:var(--fs-400, 1rem)}sl-icon[library=custom][size=medium]{--sl-icon-width:var(--fs-500, 1.125rem);--sl-icon-height:var(--fs-500, 1.125rem)}sl-icon[library=custom][size=large]{--sl-icon-width:var(--fs-600, 1.5rem);--sl-icon-height:var(--fs-600, 1.5rem)}sl-icon[library=custom][size=inherit]{width:inherit;height:inherit}sl-icon[library=fa]{font-size:var(--font-size);line-height:var(--line-height)}sl-icon[library=fa][size=small]{--font-size:var(--fs-400, 1rem);--line-height:var(--fs-400, 1rem)}sl-icon[library=fa][size=medium]{--font-size:var(--fs-500, 1.125rem);--line-height:var(--fs-500, 1.125rem)}sl-icon[library=fa][size=large]{--font-size:var(--fs-600, 1.5rem);--line-height:var(--fs-600, 1.5rem)}sl-icon[library=fa][size=inherit]{font-size:inherit;line-height:inherit}";
561
+ const JumpIconStyle0 = jumpIconCss;
562
+
563
+ const JumpIcon = class {
564
+ constructor(hostRef) {
565
+ registerInstance(this, hostRef);
566
+ this.fontAwesomeClassGenerator = (name, category) => {
567
+ let fa_class = [];
568
+ let category_class = !category ? 'category-classic' : `category-${category}`;
569
+ category_class && fa_class.push(category_class);
570
+ let name_class = `name-${name}`;
571
+ name_class && fa_class.push(name_class);
572
+ return fa_class.join(' ');
573
+ };
574
+ this.fontAwesomeLibrary = {
575
+ resolver: name => {
576
+ const found_classes = name.split(' ');
577
+ const category = found_classes.find(c => c.startsWith('category-')).replace('category-', '');
578
+ const icon_name = found_classes.find(c => c.startsWith('name-')).replace('name-', '');
579
+ return `https://designsystem-media.jumpgroup.it/svgs/${category}/${icon_name}.svg`;
580
+ },
581
+ mutator: svg => svg.setAttribute('fill', 'currentColor'),
582
+ };
583
+ this.lucideLibrary = {
584
+ resolver: name => `https://cdn.jsdelivr.net/npm/lucide-static@0.16.29/icons/${name}.svg`,
585
+ };
586
+ this.class = undefined;
587
+ this.library = 'fa';
588
+ this.name = 'heart';
589
+ this.category = 'solid';
590
+ this.size = undefined;
591
+ this.label = undefined;
592
+ this.src = undefined;
593
+ }
594
+ componentWillLoad() {
595
+ let libraryConfig = this.lucideLibrary;
596
+ this.size = this.size || 'inherit';
597
+ switch (this.library) {
598
+ case 'fa':
599
+ libraryConfig = this.fontAwesomeLibrary;
600
+ break;
601
+ case 'lucide':
602
+ libraryConfig = this.lucideLibrary;
603
+ break;
604
+ }
605
+ registerIconLibrary(this.library, libraryConfig);
606
+ }
607
+ render() {
608
+ if (!this.name && !this.src) {
609
+ return `Please set the 'name' or 'src' property to display the icon`;
610
+ }
611
+ if (this.library === 'custom') {
612
+ return h$2("sl-icon", { library: this.library, src: this.src, size: this.size, label: this.label });
613
+ }
614
+ if (this.library === 'lucide') {
615
+ return h$2("sl-icon", { library: this.library, name: this.name, size: this.size, label: this.label });
616
+ }
617
+ if (this.library === 'fa') {
618
+ return h$2("sl-icon", { library: this.library, name: this.fontAwesomeClassGenerator(this.name, this.category), class: this.class, size: this.size, label: this.label });
619
+ }
620
+ }
621
+ };
622
+ JumpIcon.style = JumpIconStyle0;
623
+
624
+ export { JumpButton as jump_button, JumpIcon as jump_icon };
625
+
626
+ //# sourceMappingURL=jump-button_2.entry.js.map