@six-group/ui-library 0.0.0-insider.f272114 → 0.0.0-insider.f658e4f

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 (1149) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  3. package/dist/cjs/error-messages-6e8049a4.js +119 -0
  4. package/dist/cjs/error-messages-6e8049a4.js.map +1 -0
  5. package/dist/cjs/event-listeners-9fb878f1.js +61 -0
  6. package/dist/cjs/event-listeners-9fb878f1.js.map +1 -0
  7. package/dist/cjs/{execution-control-b4707294.js → execution-control-d728da70.js} +15 -15
  8. package/dist/cjs/{execution-control-b4707294.js.map → execution-control-d728da70.js.map} +1 -1
  9. package/dist/cjs/focus-visible-e2c9255a.js +47 -0
  10. package/dist/cjs/{focus-visible-ae2470dd.js.map → focus-visible-e2c9255a.js.map} +1 -1
  11. package/dist/cjs/form-9ebaae7c.js +20 -0
  12. package/dist/cjs/{form-2df8c5bb.js.map → form-9ebaae7c.js.map} +1 -1
  13. package/dist/cjs/form-control-de259450.js +36 -0
  14. package/dist/cjs/form-control-de259450.js.map +1 -0
  15. package/dist/{esm/index-8a74f992.js → cjs/index-1f707a55.js} +656 -378
  16. package/dist/cjs/index-1f707a55.js.map +1 -0
  17. package/dist/cjs/index.cjs.js +55 -87
  18. package/dist/cjs/index.cjs.js.map +1 -1
  19. package/dist/cjs/loader.cjs.js +5 -3
  20. package/dist/cjs/loader.cjs.js.map +1 -1
  21. package/dist/cjs/modal-bd7fc5bc.js +35 -0
  22. package/dist/cjs/modal-bd7fc5bc.js.map +1 -0
  23. package/dist/cjs/{popover-2df7e154.js → popover-1e7c09f1.js} +99 -99
  24. package/dist/cjs/popover-1e7c09f1.js.map +1 -0
  25. package/dist/cjs/popup-e854acda.js +103 -0
  26. package/dist/cjs/popup-e854acda.js.map +1 -0
  27. package/dist/cjs/scroll-68033901.js +68 -0
  28. package/dist/cjs/scroll-68033901.js.map +1 -0
  29. package/dist/cjs/six-alert.cjs.entry.js +144 -111
  30. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  31. package/dist/cjs/six-avatar.cjs.entry.js +23 -22
  32. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  33. package/dist/cjs/six-badge.cjs.entry.js +25 -24
  34. package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
  35. package/dist/cjs/six-button.cjs.entry.js +98 -96
  36. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  37. package/dist/cjs/six-card.cjs.entry.js +10 -9
  38. package/dist/cjs/six-card.cjs.entry.js.map +1 -1
  39. package/dist/cjs/six-checkbox_2.cjs.entry.js +192 -0
  40. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -0
  41. package/dist/cjs/six-datepicker.cjs.entry.js +864 -835
  42. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  43. package/dist/cjs/six-details.cjs.entry.js +129 -128
  44. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  45. package/dist/cjs/six-dialog.cjs.entry.js +115 -131
  46. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  47. package/dist/cjs/six-drawer.cjs.entry.js +132 -149
  48. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  49. package/dist/cjs/six-dropdown_2.cjs.entry.js +722 -639
  50. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
  51. package/dist/cjs/six-error-page.cjs.entry.js +84 -83
  52. package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
  53. package/dist/cjs/six-error.cjs.entry.js +10 -9
  54. package/dist/cjs/six-error.cjs.entry.js.map +1 -1
  55. package/dist/cjs/six-file-list-item.cjs.entry.js +36 -35
  56. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  57. package/dist/cjs/six-file-list.cjs.entry.js +9 -8
  58. package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
  59. package/dist/cjs/six-file-upload.cjs.entry.js +123 -100
  60. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  61. package/dist/cjs/six-footer.cjs.entry.js +10 -9
  62. package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
  63. package/dist/cjs/six-group-label.cjs.entry.js +45 -44
  64. package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
  65. package/dist/cjs/six-header.cjs.entry.js +180 -157
  66. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  67. package/dist/cjs/six-icon-button.cjs.entry.js +34 -33
  68. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  69. package/dist/cjs/six-icon.cjs.entry.js +24 -23
  70. package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
  71. package/dist/cjs/six-input.cjs.entry.js +203 -191
  72. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  73. package/dist/cjs/six-item-picker.cjs.entry.js +407 -310
  74. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
  75. package/dist/cjs/six-language-switcher.cjs.entry.js +53 -48
  76. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
  77. package/dist/cjs/six-layout-grid.cjs.entry.js +22 -21
  78. package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
  79. package/dist/cjs/six-main-container.cjs.entry.js +11 -10
  80. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
  81. package/dist/cjs/six-menu-divider.cjs.entry.js +10 -9
  82. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
  83. package/dist/cjs/six-menu-label.cjs.entry.js +10 -9
  84. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
  85. package/dist/cjs/six-picto.cjs.entry.js +16 -15
  86. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  87. package/dist/cjs/six-progress-bar.cjs.entry.js +17 -16
  88. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  89. package/dist/cjs/six-progress-ring.cjs.entry.js +32 -31
  90. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  91. package/dist/cjs/six-radio.cjs.entry.js +106 -105
  92. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  93. package/dist/cjs/six-range.cjs.entry.js +200 -189
  94. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  95. package/dist/cjs/six-root.cjs.entry.js +13 -31
  96. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  97. package/dist/cjs/six-search-field.cjs.entry.js +46 -45
  98. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
  99. package/dist/cjs/six-select.cjs.entry.js +523 -366
  100. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  101. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +58 -47
  102. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  103. package/dist/cjs/six-sidebar-item.cjs.entry.js +19 -16
  104. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  105. package/dist/cjs/six-sidebar.cjs.entry.js +176 -175
  106. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
  107. package/dist/cjs/six-spinner.cjs.entry.js +17 -16
  108. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  109. package/dist/cjs/six-stage-indicator.cjs.entry.js +23 -0
  110. package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -0
  111. package/dist/cjs/six-switch.cjs.entry.js +109 -108
  112. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  113. package/dist/cjs/six-tab-group.cjs.entry.js +256 -235
  114. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  115. package/dist/cjs/six-tab-panel.cjs.entry.js +16 -15
  116. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
  117. package/dist/cjs/six-tab.cjs.entry.js +57 -40
  118. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  119. package/dist/cjs/six-tag.cjs.entry.js +55 -54
  120. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  121. package/dist/cjs/six-textarea.cjs.entry.js +183 -182
  122. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  123. package/dist/cjs/six-tile.cjs.entry.js +79 -78
  124. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  125. package/dist/cjs/six-timepicker.cjs.entry.js +351 -350
  126. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  127. package/dist/cjs/six-tooltip.cjs.entry.js +150 -149
  128. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
  129. package/dist/cjs/slot-1b1232a1.js +51 -0
  130. package/dist/cjs/slot-1b1232a1.js.map +1 -0
  131. package/dist/cjs/types-d3da200b.js +19 -0
  132. package/dist/cjs/types-d3da200b.js.map +1 -0
  133. package/dist/cjs/ui-library.cjs.js +6 -4
  134. package/dist/cjs/ui-library.cjs.js.map +1 -1
  135. package/dist/collection/assets/TRADEMARKS.md +3 -3
  136. package/dist/collection/collection-manifest.json +6 -7
  137. package/dist/collection/components/six-alert/six-alert.css +5 -1
  138. package/dist/collection/components/six-alert/six-alert.js +382 -337
  139. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  140. package/dist/collection/components/six-alert/test/six-alert.spec.js +7 -7
  141. package/dist/collection/components/six-alert/test/six-alert.spec.js.map +1 -1
  142. package/dist/collection/components/six-avatar/six-avatar.css +2 -2
  143. package/dist/collection/components/six-avatar/six-avatar.js +111 -111
  144. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  145. package/dist/collection/components/six-avatar/test/six-avatar.spec.js +7 -7
  146. package/dist/collection/components/six-avatar/test/six-avatar.spec.js.map +1 -1
  147. package/dist/collection/components/six-badge/six-badge.css +1 -1
  148. package/dist/collection/components/six-badge/six-badge.js +90 -90
  149. package/dist/collection/components/six-badge/six-badge.js.map +1 -1
  150. package/dist/collection/components/six-badge/test/six-badge.spec.js +7 -7
  151. package/dist/collection/components/six-badge/test/six-badge.spec.js.map +1 -1
  152. package/dist/collection/components/six-button/six-button.css +23 -30
  153. package/dist/collection/components/six-button/six-button.js +448 -446
  154. package/dist/collection/components/six-button/six-button.js.map +1 -1
  155. package/dist/collection/components/six-button/test/six-button.spec.js +44 -44
  156. package/dist/collection/components/six-button/test/six-button.spec.js.map +1 -1
  157. package/dist/collection/components/six-card/six-card.css +4 -5
  158. package/dist/collection/components/six-card/six-card.js +15 -15
  159. package/dist/collection/components/six-card/six-card.js.map +1 -1
  160. package/dist/collection/components/six-card/test/six-card.spec.js +7 -7
  161. package/dist/collection/components/six-card/test/six-card.spec.js.map +1 -1
  162. package/dist/collection/components/six-checkbox/six-checkbox.css +11 -1
  163. package/dist/collection/components/six-checkbox/six-checkbox.js +421 -420
  164. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  165. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +13 -13
  166. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +1 -1
  167. package/dist/collection/components/six-datepicker/components/day-selection.js +8 -8
  168. package/dist/collection/components/six-datepicker/components/day-selection.js.map +1 -1
  169. package/dist/collection/components/six-datepicker/components/month-selection.js +8 -8
  170. package/dist/collection/components/six-datepicker/components/month-selection.js.map +1 -1
  171. package/dist/collection/components/six-datepicker/components/year-selection.js +8 -8
  172. package/dist/collection/components/six-datepicker/components/year-selection.js.map +1 -1
  173. package/dist/collection/components/six-datepicker/six-date-formats.js +21 -20
  174. package/dist/collection/components/six-datepicker/six-date-formats.js.map +1 -1
  175. package/dist/collection/components/six-datepicker/six-datepicker.css +1 -1
  176. package/dist/collection/components/six-datepicker/six-datepicker.js +1054 -1050
  177. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  178. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +7 -7
  179. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +1 -1
  180. package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js +14 -14
  181. package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js.map +1 -1
  182. package/dist/collection/components/six-details/six-details.css +1 -5
  183. package/dist/collection/components/six-details/six-details.js +410 -410
  184. package/dist/collection/components/six-details/six-details.js.map +1 -1
  185. package/dist/collection/components/six-details/test/six-details.spec.js +7 -7
  186. package/dist/collection/components/six-details/test/six-details.spec.js.map +1 -1
  187. package/dist/collection/components/six-dialog/six-dialog.css +2 -2
  188. package/dist/collection/components/six-dialog/six-dialog.js +340 -358
  189. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  190. package/dist/collection/components/six-dialog/test/six-dialog.spec.js +7 -7
  191. package/dist/collection/components/six-dialog/test/six-dialog.spec.js.map +1 -1
  192. package/dist/collection/components/six-drawer/six-drawer.css +2 -2
  193. package/dist/collection/components/six-drawer/six-drawer.js +393 -412
  194. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  195. package/dist/collection/components/six-drawer/test/six-drawer.spec.js +8 -8
  196. package/dist/collection/components/six-drawer/test/six-drawer.spec.js.map +1 -1
  197. package/dist/collection/components/six-dropdown/six-dropdown.css +22 -7
  198. package/dist/collection/components/six-dropdown/six-dropdown.js +983 -891
  199. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  200. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +92 -67
  201. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +1 -1
  202. package/dist/collection/components/six-error/six-error.css +1 -0
  203. package/dist/collection/components/six-error/six-error.js +15 -15
  204. package/dist/collection/components/six-error/six-error.js.map +1 -1
  205. package/dist/collection/components/six-error-page/six-error-page.js +177 -177
  206. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
  207. package/dist/collection/components/six-error-page/test/six-error-page.spec.js +77 -77
  208. package/dist/collection/components/six-error-page/test/six-error-page.spec.js.map +1 -1
  209. package/dist/collection/components/six-file-list/six-file-list.js +15 -15
  210. package/dist/collection/components/six-file-list/six-file-list.js.map +1 -1
  211. package/dist/collection/components/six-file-list/test/six-file-list.spec.js +16 -16
  212. package/dist/collection/components/six-file-list/test/six-file-list.spec.js.map +1 -1
  213. package/dist/collection/components/six-file-list-item/six-file-list-item.css +1 -1
  214. package/dist/collection/components/six-file-list-item/six-file-list-item.js +195 -195
  215. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  216. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js +42 -42
  217. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js.map +1 -1
  218. package/dist/collection/components/six-file-upload/six-file-upload.css +12 -4
  219. package/dist/collection/components/six-file-upload/six-file-upload.js +369 -291
  220. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  221. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +214 -51
  222. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +1 -1
  223. package/dist/collection/components/six-footer/six-footer.css +2 -2
  224. package/dist/collection/components/six-footer/six-footer.js +15 -15
  225. package/dist/collection/components/six-footer/six-footer.js.map +1 -1
  226. package/dist/collection/components/six-footer/test/six-footer.spec.js +7 -7
  227. package/dist/collection/components/six-footer/test/six-footer.spec.js.map +1 -1
  228. package/dist/collection/components/six-group-label/six-group-label.css +4 -1
  229. package/dist/collection/components/six-group-label/six-group-label.js +155 -155
  230. package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
  231. package/dist/collection/components/six-group-label/test/six-group-label.spec.js +12 -12
  232. package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +1 -1
  233. package/dist/collection/components/six-header/six-header.css +15 -2
  234. package/dist/collection/components/six-header/six-header.js +464 -405
  235. package/dist/collection/components/six-header/six-header.js.map +1 -1
  236. package/dist/collection/components/six-icon/six-icon.css +5 -2
  237. package/dist/collection/components/six-icon/six-icon.js +71 -71
  238. package/dist/collection/components/six-icon/six-icon.js.map +1 -1
  239. package/dist/collection/components/six-icon/test/six-icon.spec.js +7 -7
  240. package/dist/collection/components/six-icon/test/six-icon.spec.js.map +1 -1
  241. package/dist/collection/components/six-icon-button/six-icon-button.css +5 -5
  242. package/dist/collection/components/six-icon-button/six-icon-button.js +131 -131
  243. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  244. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js +7 -7
  245. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js.map +1 -1
  246. package/dist/collection/components/six-input/six-input.css +14 -1
  247. package/dist/collection/components/six-input/six-input.js +1003 -939
  248. package/dist/collection/components/six-input/six-input.js.map +1 -1
  249. package/dist/collection/components/six-input/test/six-input.spec.js +7 -7
  250. package/dist/collection/components/six-input/test/six-input.spec.js.map +1 -1
  251. package/dist/collection/components/six-item-picker/six-item-picker.css +8 -0
  252. package/dist/collection/components/six-item-picker/six-item-picker.js +727 -631
  253. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  254. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js +82 -82
  255. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js.map +1 -1
  256. package/dist/collection/components/six-item-picker/types.js +9 -7
  257. package/dist/collection/components/six-item-picker/types.js.map +1 -1
  258. package/dist/collection/components/six-language-switcher/six-language-switcher.css +7 -2
  259. package/dist/collection/components/six-language-switcher/six-language-switcher.js +128 -124
  260. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  261. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +99 -99
  262. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +1 -1
  263. package/dist/collection/components/six-layout-grid/six-layout-grid.js +54 -54
  264. package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
  265. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js +7 -7
  266. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js.map +1 -1
  267. package/dist/collection/components/six-main-container/six-main-container.js +41 -41
  268. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
  269. package/dist/collection/components/six-main-container/test/six-main-container.spec.js +7 -7
  270. package/dist/collection/components/six-main-container/test/six-main-container.spec.js.map +1 -1
  271. package/dist/collection/components/six-menu/six-menu.css +8 -7
  272. package/dist/collection/components/six-menu/six-menu.js +397 -366
  273. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  274. package/dist/collection/components/six-menu/test/six-menu.spec.js +41 -41
  275. package/dist/collection/components/six-menu/test/six-menu.spec.js.map +1 -1
  276. package/dist/collection/components/six-menu-divider/six-menu-divider.css +3 -2
  277. package/dist/collection/components/six-menu-divider/six-menu-divider.js +15 -15
  278. package/dist/collection/components/six-menu-divider/six-menu-divider.js.map +1 -1
  279. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js +7 -7
  280. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js.map +1 -1
  281. package/dist/collection/components/six-menu-item/six-menu-item.css +13 -2
  282. package/dist/collection/components/six-menu-item/six-menu-item.js +209 -180
  283. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  284. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js +7 -7
  285. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js.map +1 -1
  286. package/dist/collection/components/six-menu-label/six-menu-label.css +1 -1
  287. package/dist/collection/components/six-menu-label/six-menu-label.js +15 -15
  288. package/dist/collection/components/six-menu-label/six-menu-label.js.map +1 -1
  289. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js +7 -7
  290. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js.map +1 -1
  291. package/dist/collection/components/six-picto/six-picto.js +46 -46
  292. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  293. package/dist/collection/components/six-picto/test/six-picto.spec.js +13 -13
  294. package/dist/collection/components/six-picto/test/six-picto.spec.js.map +1 -1
  295. package/dist/collection/components/six-progress-bar/six-progress-bar.css +1 -1
  296. package/dist/collection/components/six-progress-bar/six-progress-bar.js +64 -64
  297. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  298. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js +7 -7
  299. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js.map +1 -1
  300. package/dist/collection/components/six-progress-ring/six-progress-ring.css +1 -1
  301. package/dist/collection/components/six-progress-ring/six-progress-ring.js +100 -100
  302. package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
  303. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js +7 -7
  304. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js.map +1 -1
  305. package/dist/collection/components/six-radio/six-radio.css +1 -1
  306. package/dist/collection/components/six-radio/six-radio.js +321 -320
  307. package/dist/collection/components/six-radio/six-radio.js.map +1 -1
  308. package/dist/collection/components/six-radio/test/six-radio.spec.js +13 -13
  309. package/dist/collection/components/six-radio/test/six-radio.spec.js.map +1 -1
  310. package/dist/collection/components/six-range/six-range.css +5 -2
  311. package/dist/collection/components/six-range/six-range.js +574 -563
  312. package/dist/collection/components/six-range/six-range.js.map +1 -1
  313. package/dist/collection/components/six-range/test/six-range.spec.js +8 -8
  314. package/dist/collection/components/six-range/test/six-range.spec.js.map +1 -1
  315. package/dist/collection/components/six-root/six-root.js +84 -152
  316. package/dist/collection/components/six-root/six-root.js.map +1 -1
  317. package/dist/collection/components/six-root/test/six-root.spec.js +7 -14
  318. package/dist/collection/components/six-root/test/six-root.spec.js.map +1 -1
  319. package/dist/collection/components/six-search-field/six-search-field.css +1 -1
  320. package/dist/collection/components/six-search-field/six-search-field.js +169 -169
  321. package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
  322. package/dist/collection/components/six-search-field/test/six-search-field.spec.js +7 -7
  323. package/dist/collection/components/six-search-field/test/six-search-field.spec.js.map +1 -1
  324. package/dist/collection/components/six-select/six-select.css +57 -66
  325. package/dist/collection/components/six-select/six-select.js +1109 -942
  326. package/dist/collection/components/six-select/six-select.js.map +1 -1
  327. package/dist/collection/components/six-select/test/six-select.spec.js +45 -29
  328. package/dist/collection/components/six-select/test/six-select.spec.js.map +1 -1
  329. package/dist/collection/components/six-select/test/util.spec.js +96 -74
  330. package/dist/collection/components/six-select/test/util.spec.js.map +1 -1
  331. package/dist/collection/components/six-select/util.js +58 -34
  332. package/dist/collection/components/six-select/util.js.map +1 -1
  333. package/dist/collection/components/six-sidebar/six-sidebar.css +2 -2
  334. package/dist/collection/components/six-sidebar/six-sidebar.js +466 -464
  335. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
  336. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js +7 -7
  337. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js.map +1 -1
  338. package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +6 -1
  339. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +101 -82
  340. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
  341. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js +19 -19
  342. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js.map +1 -1
  343. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +9 -1
  344. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +180 -153
  345. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  346. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +14 -14
  347. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +1 -1
  348. package/dist/collection/components/six-spinner/six-spinner.css +1 -1
  349. package/dist/collection/components/six-spinner/six-spinner.js +47 -46
  350. package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
  351. package/dist/collection/components/six-spinner/test/six-spinner.spec.js +14 -14
  352. package/dist/collection/components/six-spinner/test/six-spinner.spec.js.map +1 -1
  353. package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +1 -1
  354. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +45 -45
  355. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js.map +1 -1
  356. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js +37 -37
  357. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js.map +1 -1
  358. package/dist/collection/components/six-switch/six-switch.css +4 -1
  359. package/dist/collection/components/six-switch/six-switch.js +384 -383
  360. package/dist/collection/components/six-switch/six-switch.js.map +1 -1
  361. package/dist/collection/components/six-switch/test/six-switch.spec.js +13 -13
  362. package/dist/collection/components/six-switch/test/six-switch.spec.js.map +1 -1
  363. package/dist/collection/components/six-tab/six-tab.css +55 -6
  364. package/dist/collection/components/six-tab/six-tab.js +206 -189
  365. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  366. package/dist/collection/components/six-tab-group/six-tab-group.css +1 -32
  367. package/dist/collection/components/six-tab-group/six-tab-group.js +343 -357
  368. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  369. package/dist/collection/components/six-tab-panel/six-tab-panel.css +1 -1
  370. package/dist/collection/components/six-tab-panel/six-tab-panel.js +63 -63
  371. package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
  372. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js +7 -7
  373. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js.map +1 -1
  374. package/dist/collection/components/six-tag/six-tag.css +1 -1
  375. package/dist/collection/components/six-tag/six-tag.js +158 -158
  376. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  377. package/dist/collection/components/six-tag/test/six-tag.spec.js +19 -19
  378. package/dist/collection/components/six-tag/test/six-tag.spec.js.map +1 -1
  379. package/dist/collection/components/six-textarea/six-textarea.css +9 -1
  380. package/dist/collection/components/six-textarea/six-textarea.js +792 -784
  381. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
  382. package/dist/collection/components/six-textarea/test/six-textarea.spec.js +94 -94
  383. package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +1 -1
  384. package/dist/collection/components/six-tile/six-tile.css +2 -2
  385. package/dist/collection/components/six-tile/six-tile.js +298 -298
  386. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  387. package/dist/collection/components/six-tile/test/six-tile.spec.js +14 -14
  388. package/dist/collection/components/six-tile/test/six-tile.spec.js.map +1 -1
  389. package/dist/collection/components/six-timepicker/six-timepicker.css +1 -1
  390. package/dist/collection/components/six-timepicker/six-timepicker.js +823 -822
  391. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  392. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +155 -155
  393. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +1 -1
  394. package/dist/collection/components/six-tooltip/six-tooltip.css +1 -1
  395. package/dist/collection/components/six-tooltip/six-tooltip.js +407 -407
  396. package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
  397. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js +7 -7
  398. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js.map +1 -1
  399. package/dist/collection/functional-components/form-control/form-control.js +19 -19
  400. package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
  401. package/dist/collection/index.js +1 -0
  402. package/dist/collection/index.js.map +1 -1
  403. package/dist/collection/testUtil/delay.js +1 -1
  404. package/dist/collection/testUtil/delay.js.map +1 -1
  405. package/dist/collection/utils/alert.js +54 -0
  406. package/dist/collection/utils/alert.js.map +1 -0
  407. package/dist/collection/utils/animation.js +34 -0
  408. package/dist/collection/utils/animation.js.map +1 -0
  409. package/dist/collection/utils/date-util.js +525 -500
  410. package/dist/collection/utils/date-util.js.map +1 -1
  411. package/dist/collection/utils/date-util.spec.js +984 -984
  412. package/dist/collection/utils/date-util.spec.js.map +1 -1
  413. package/dist/collection/utils/error-messages.js +102 -81
  414. package/dist/collection/utils/error-messages.js.map +1 -1
  415. package/dist/collection/utils/event-listeners.js +51 -51
  416. package/dist/collection/utils/event-listeners.js.map +1 -1
  417. package/dist/collection/utils/execution-control.js +14 -14
  418. package/dist/collection/utils/execution-control.js.map +1 -1
  419. package/dist/collection/utils/focus-visible.js +28 -28
  420. package/dist/collection/utils/focus-visible.js.map +1 -1
  421. package/dist/collection/utils/form.js +12 -12
  422. package/dist/collection/utils/form.js.map +1 -1
  423. package/dist/collection/utils/modal.js +25 -25
  424. package/dist/collection/utils/modal.js.map +1 -1
  425. package/dist/collection/utils/offset.js +4 -4
  426. package/dist/collection/utils/offset.js.map +1 -1
  427. package/dist/collection/utils/popover.js +99 -99
  428. package/dist/collection/utils/popover.js.map +1 -1
  429. package/dist/collection/utils/popup.js +71 -71
  430. package/dist/collection/utils/popup.js.map +1 -1
  431. package/dist/collection/utils/scroll.js +27 -27
  432. package/dist/collection/utils/scroll.js.map +1 -1
  433. package/dist/collection/utils/scroll.spec.js +116 -116
  434. package/dist/collection/utils/scroll.spec.js.map +1 -1
  435. package/dist/collection/utils/slot.js +28 -29
  436. package/dist/collection/utils/slot.js.map +1 -1
  437. package/dist/collection/utils/tabbable.js +17 -17
  438. package/dist/collection/utils/tabbable.js.map +1 -1
  439. package/dist/collection/utils/time.util.js +72 -72
  440. package/dist/collection/utils/time.util.js.map +1 -1
  441. package/dist/collection/utils/time.util.spec.js +353 -353
  442. package/dist/collection/utils/time.util.spec.js.map +1 -1
  443. package/dist/components/event-listeners.js +51 -51
  444. package/dist/components/event-listeners.js.map +1 -1
  445. package/dist/components/execution-control.js +14 -14
  446. package/dist/components/execution-control.js.map +1 -1
  447. package/dist/components/focus-visible.js +28 -28
  448. package/dist/components/focus-visible.js.map +1 -1
  449. package/dist/components/form-control.js +26 -26
  450. package/dist/components/form-control.js.map +1 -1
  451. package/dist/components/form.js +12 -12
  452. package/dist/components/form.js.map +1 -1
  453. package/dist/components/index.d.ts +6 -0
  454. package/dist/components/index.js +112 -150
  455. package/dist/components/index.js.map +1 -1
  456. package/dist/components/modal.js +26 -42
  457. package/dist/components/modal.js.map +1 -1
  458. package/dist/components/popover.js +98 -98
  459. package/dist/components/popover.js.map +1 -1
  460. package/dist/components/scroll.js +32 -32
  461. package/dist/components/scroll.js.map +1 -1
  462. package/dist/components/six-alert.d.ts +2 -2
  463. package/dist/components/six-alert.js +178 -142
  464. package/dist/components/six-alert.js.map +1 -1
  465. package/dist/components/six-avatar.d.ts +2 -2
  466. package/dist/components/six-avatar.js +46 -45
  467. package/dist/components/six-avatar.js.map +1 -1
  468. package/dist/components/six-badge.d.ts +2 -2
  469. package/dist/components/six-badge.js +41 -40
  470. package/dist/components/six-badge.js.map +1 -1
  471. package/dist/components/six-button.d.ts +2 -2
  472. package/dist/components/six-button.js +1 -142
  473. package/dist/components/six-button.js.map +1 -1
  474. package/dist/components/six-button2.js +148 -0
  475. package/dist/components/six-button2.js.map +1 -0
  476. package/dist/components/six-card.d.ts +2 -2
  477. package/dist/components/six-card.js +22 -21
  478. package/dist/components/six-card.js.map +1 -1
  479. package/dist/components/six-checkbox.d.ts +2 -2
  480. package/dist/components/six-checkbox.js +1 -156
  481. package/dist/components/six-checkbox.js.map +1 -1
  482. package/dist/components/six-checkbox2.js +166 -0
  483. package/dist/components/six-checkbox2.js.map +1 -0
  484. package/dist/components/six-datepicker.d.ts +2 -2
  485. package/dist/components/six-datepicker.js +933 -901
  486. package/dist/components/six-datepicker.js.map +1 -1
  487. package/dist/components/six-details.d.ts +2 -2
  488. package/dist/components/six-details2.js +159 -156
  489. package/dist/components/six-details2.js.map +1 -1
  490. package/dist/components/six-dialog.d.ts +2 -2
  491. package/dist/components/six-dialog.js +145 -159
  492. package/dist/components/six-dialog.js.map +1 -1
  493. package/dist/components/six-drawer.d.ts +2 -2
  494. package/dist/components/six-drawer.js +164 -179
  495. package/dist/components/six-drawer.js.map +1 -1
  496. package/dist/components/six-dropdown.d.ts +2 -2
  497. package/dist/components/six-dropdown2.js +553 -469
  498. package/dist/components/six-dropdown2.js.map +1 -1
  499. package/dist/components/six-error-page.d.ts +2 -2
  500. package/dist/components/six-error-page.js +107 -106
  501. package/dist/components/six-error-page.js.map +1 -1
  502. package/dist/components/six-error.d.ts +2 -2
  503. package/dist/components/six-error2.js +22 -21
  504. package/dist/components/six-error2.js.map +1 -1
  505. package/dist/components/six-file-list-item.d.ts +2 -2
  506. package/dist/components/six-file-list-item.js +60 -59
  507. package/dist/components/six-file-list-item.js.map +1 -1
  508. package/dist/components/six-file-list.d.ts +2 -2
  509. package/dist/components/six-file-list.js +21 -20
  510. package/dist/components/six-file-list.js.map +1 -1
  511. package/dist/components/six-file-upload.d.ts +2 -2
  512. package/dist/components/six-file-upload.js +165 -126
  513. package/dist/components/six-file-upload.js.map +1 -1
  514. package/dist/components/six-footer.d.ts +2 -2
  515. package/dist/components/six-footer.js +22 -21
  516. package/dist/components/six-footer.js.map +1 -1
  517. package/dist/components/six-group-label.d.ts +2 -2
  518. package/dist/components/six-group-label.js +71 -67
  519. package/dist/components/six-group-label.js.map +1 -1
  520. package/dist/components/six-header.d.ts +2 -2
  521. package/dist/components/six-header.js +244 -211
  522. package/dist/components/six-header.js.map +1 -1
  523. package/dist/components/six-icon-button.d.ts +2 -2
  524. package/dist/components/six-icon-button2.js +56 -55
  525. package/dist/components/six-icon-button2.js.map +1 -1
  526. package/dist/components/six-icon.d.ts +2 -2
  527. package/dist/components/six-icon2.js +39 -38
  528. package/dist/components/six-icon2.js.map +1 -1
  529. package/dist/components/six-input.d.ts +2 -2
  530. package/dist/components/six-input2.js +268 -249
  531. package/dist/components/six-input2.js.map +1 -1
  532. package/dist/components/six-item-picker.d.ts +2 -2
  533. package/dist/components/six-item-picker2.js +451 -348
  534. package/dist/components/six-item-picker2.js.map +1 -1
  535. package/dist/components/six-language-switcher.d.ts +2 -2
  536. package/dist/components/six-language-switcher.js +70 -63
  537. package/dist/components/six-language-switcher.js.map +1 -1
  538. package/dist/components/six-layout-grid.d.ts +2 -2
  539. package/dist/components/six-layout-grid.js +38 -35
  540. package/dist/components/six-layout-grid.js.map +1 -1
  541. package/dist/components/six-main-container.d.ts +2 -2
  542. package/dist/components/six-main-container.js +25 -24
  543. package/dist/components/six-main-container.js.map +1 -1
  544. package/dist/components/six-menu-divider.d.ts +2 -2
  545. package/dist/components/six-menu-divider.js +22 -21
  546. package/dist/components/six-menu-divider.js.map +1 -1
  547. package/dist/components/six-menu-item.d.ts +2 -2
  548. package/dist/components/six-menu-item2.js +99 -75
  549. package/dist/components/six-menu-item2.js.map +1 -1
  550. package/dist/components/six-menu-label.d.ts +2 -2
  551. package/dist/components/six-menu-label.js +22 -21
  552. package/dist/components/six-menu-label.js.map +1 -1
  553. package/dist/components/six-menu.d.ts +2 -2
  554. package/dist/components/six-menu2.js +246 -220
  555. package/dist/components/six-menu2.js.map +1 -1
  556. package/dist/components/six-picto.d.ts +2 -2
  557. package/dist/components/six-picto2.js +30 -29
  558. package/dist/components/six-picto2.js.map +1 -1
  559. package/dist/components/six-progress-bar.d.ts +2 -2
  560. package/dist/components/six-progress-bar.js +32 -31
  561. package/dist/components/six-progress-bar.js.map +1 -1
  562. package/dist/components/six-progress-ring.d.ts +2 -2
  563. package/dist/components/six-progress-ring.js +50 -47
  564. package/dist/components/six-progress-ring.js.map +1 -1
  565. package/dist/components/six-radio.d.ts +2 -2
  566. package/dist/components/six-radio.js +129 -125
  567. package/dist/components/six-radio.js.map +1 -1
  568. package/dist/components/six-range.d.ts +2 -2
  569. package/dist/components/six-range.js +243 -225
  570. package/dist/components/six-range.js.map +1 -1
  571. package/dist/components/six-root.d.ts +2 -2
  572. package/dist/components/six-root.js +40 -66
  573. package/dist/components/six-root.js.map +1 -1
  574. package/dist/components/six-search-field.d.ts +2 -2
  575. package/dist/components/six-search-field.js +79 -76
  576. package/dist/components/six-search-field.js.map +1 -1
  577. package/dist/components/six-select.d.ts +2 -2
  578. package/dist/components/six-select.js +754 -471
  579. package/dist/components/six-select.js.map +1 -1
  580. package/dist/components/six-sidebar-item-group.d.ts +2 -2
  581. package/dist/components/six-sidebar-item-group.js +88 -76
  582. package/dist/components/six-sidebar-item-group.js.map +1 -1
  583. package/dist/components/six-sidebar-item.d.ts +2 -2
  584. package/dist/components/six-sidebar-item.js +36 -32
  585. package/dist/components/six-sidebar-item.js.map +1 -1
  586. package/dist/components/six-sidebar.d.ts +2 -2
  587. package/dist/components/six-sidebar.js +200 -197
  588. package/dist/components/six-sidebar.js.map +1 -1
  589. package/dist/components/six-spinner.d.ts +2 -2
  590. package/dist/components/six-spinner2.js +31 -30
  591. package/dist/components/six-spinner2.js.map +1 -1
  592. package/dist/components/six-stage-indicator.d.ts +2 -2
  593. package/dist/components/six-stage-indicator2.js +30 -29
  594. package/dist/components/six-stage-indicator2.js.map +1 -1
  595. package/dist/components/six-switch.d.ts +2 -2
  596. package/dist/components/six-switch.js +141 -136
  597. package/dist/components/six-switch.js.map +1 -1
  598. package/dist/components/six-tab-group.d.ts +2 -2
  599. package/dist/components/six-tab-group.js +286 -262
  600. package/dist/components/six-tab-group.js.map +1 -1
  601. package/dist/components/six-tab-panel.d.ts +2 -2
  602. package/dist/components/six-tab-panel.js +31 -30
  603. package/dist/components/six-tab-panel.js.map +1 -1
  604. package/dist/components/six-tab.d.ts +2 -2
  605. package/dist/components/six-tab.js +86 -69
  606. package/dist/components/six-tab.js.map +1 -1
  607. package/dist/components/six-tag.d.ts +2 -2
  608. package/dist/components/six-tag.js +99 -1
  609. package/dist/components/six-tag.js.map +1 -1
  610. package/dist/components/six-textarea.d.ts +2 -2
  611. package/dist/components/six-textarea.js +235 -228
  612. package/dist/components/six-textarea.js.map +1 -1
  613. package/dist/components/six-tile.d.ts +2 -2
  614. package/dist/components/six-tile.js +118 -117
  615. package/dist/components/six-tile.js.map +1 -1
  616. package/dist/components/six-timepicker.d.ts +2 -2
  617. package/dist/components/six-timepicker2.js +491 -488
  618. package/dist/components/six-timepicker2.js.map +1 -1
  619. package/dist/components/six-tooltip.d.ts +2 -2
  620. package/dist/components/six-tooltip2.js +173 -170
  621. package/dist/components/six-tooltip2.js.map +1 -1
  622. package/dist/components/slot.js +29 -30
  623. package/dist/components/slot.js.map +1 -1
  624. package/dist/components.d.ts +1 -21
  625. package/dist/components.json +841 -252
  626. package/dist/esm/app-globals-0f993ce5.js +5 -0
  627. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  628. package/dist/esm/error-messages-1eaaad23.js +115 -0
  629. package/dist/esm/error-messages-1eaaad23.js.map +1 -0
  630. package/dist/esm/event-listeners-706d4309.js +59 -0
  631. package/dist/esm/event-listeners-706d4309.js.map +1 -0
  632. package/dist/esm/{execution-control-e0892a05.js → execution-control-2ebaf4ef.js} +15 -15
  633. package/dist/esm/{execution-control-e0892a05.js.map → execution-control-2ebaf4ef.js.map} +1 -1
  634. package/dist/esm/focus-visible-d9dbfeef.js +45 -0
  635. package/dist/esm/{focus-visible-fc6ac671.js.map → focus-visible-d9dbfeef.js.map} +1 -1
  636. package/dist/esm/form-4b145b7a.js +18 -0
  637. package/dist/esm/{form-81252534.js.map → form-4b145b7a.js.map} +1 -1
  638. package/dist/esm/form-control-30c5bd8b.js +34 -0
  639. package/dist/esm/form-control-30c5bd8b.js.map +1 -0
  640. package/dist/{cjs/index-900437fc.js → esm/index-5390c1d6.js} +627 -407
  641. package/dist/esm/index-5390c1d6.js.map +1 -0
  642. package/dist/esm/index.js +52 -87
  643. package/dist/esm/index.js.map +1 -1
  644. package/dist/esm/loader.js +6 -4
  645. package/dist/esm/loader.js.map +1 -1
  646. package/dist/esm/modal-6c1288e3.js +33 -0
  647. package/dist/esm/modal-6c1288e3.js.map +1 -0
  648. package/dist/esm/{popover-136d1f73.js → popover-25996e62.js} +99 -99
  649. package/dist/esm/popover-25996e62.js.map +1 -0
  650. package/dist/esm/popup-7209e9d5.js +98 -0
  651. package/dist/esm/popup-7209e9d5.js.map +1 -0
  652. package/dist/esm/scroll-3e16851e.js +64 -0
  653. package/dist/esm/{scroll-3fb087a2.js.map → scroll-3e16851e.js.map} +1 -1
  654. package/dist/esm/six-alert.entry.js +144 -111
  655. package/dist/esm/six-alert.entry.js.map +1 -1
  656. package/dist/esm/six-avatar.entry.js +23 -22
  657. package/dist/esm/six-avatar.entry.js.map +1 -1
  658. package/dist/esm/six-badge.entry.js +25 -24
  659. package/dist/esm/six-badge.entry.js.map +1 -1
  660. package/dist/esm/six-button.entry.js +98 -96
  661. package/dist/esm/six-button.entry.js.map +1 -1
  662. package/dist/esm/six-card.entry.js +10 -9
  663. package/dist/esm/six-card.entry.js.map +1 -1
  664. package/dist/esm/six-checkbox_2.entry.js +187 -0
  665. package/dist/esm/six-checkbox_2.entry.js.map +1 -0
  666. package/dist/esm/six-datepicker.entry.js +864 -835
  667. package/dist/esm/six-datepicker.entry.js.map +1 -1
  668. package/dist/esm/six-details.entry.js +129 -128
  669. package/dist/esm/six-details.entry.js.map +1 -1
  670. package/dist/esm/six-dialog.entry.js +115 -131
  671. package/dist/esm/six-dialog.entry.js.map +1 -1
  672. package/dist/esm/six-drawer.entry.js +132 -149
  673. package/dist/esm/six-drawer.entry.js.map +1 -1
  674. package/dist/esm/six-dropdown_2.entry.js +722 -639
  675. package/dist/esm/six-dropdown_2.entry.js.map +1 -1
  676. package/dist/esm/six-error-page.entry.js +84 -83
  677. package/dist/esm/six-error-page.entry.js.map +1 -1
  678. package/dist/esm/six-error.entry.js +10 -9
  679. package/dist/esm/six-error.entry.js.map +1 -1
  680. package/dist/esm/six-file-list-item.entry.js +36 -35
  681. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  682. package/dist/esm/six-file-list.entry.js +9 -8
  683. package/dist/esm/six-file-list.entry.js.map +1 -1
  684. package/dist/esm/six-file-upload.entry.js +123 -100
  685. package/dist/esm/six-file-upload.entry.js.map +1 -1
  686. package/dist/esm/six-footer.entry.js +10 -9
  687. package/dist/esm/six-footer.entry.js.map +1 -1
  688. package/dist/esm/six-group-label.entry.js +45 -44
  689. package/dist/esm/six-group-label.entry.js.map +1 -1
  690. package/dist/esm/six-header.entry.js +180 -157
  691. package/dist/esm/six-header.entry.js.map +1 -1
  692. package/dist/esm/six-icon-button.entry.js +34 -33
  693. package/dist/esm/six-icon-button.entry.js.map +1 -1
  694. package/dist/esm/six-icon.entry.js +24 -23
  695. package/dist/esm/six-icon.entry.js.map +1 -1
  696. package/dist/esm/six-input.entry.js +203 -191
  697. package/dist/esm/six-input.entry.js.map +1 -1
  698. package/dist/esm/six-item-picker.entry.js +407 -310
  699. package/dist/esm/six-item-picker.entry.js.map +1 -1
  700. package/dist/esm/six-language-switcher.entry.js +53 -48
  701. package/dist/esm/six-language-switcher.entry.js.map +1 -1
  702. package/dist/esm/six-layout-grid.entry.js +22 -21
  703. package/dist/esm/six-layout-grid.entry.js.map +1 -1
  704. package/dist/esm/six-main-container.entry.js +11 -10
  705. package/dist/esm/six-main-container.entry.js.map +1 -1
  706. package/dist/esm/six-menu-divider.entry.js +10 -9
  707. package/dist/esm/six-menu-divider.entry.js.map +1 -1
  708. package/dist/esm/six-menu-label.entry.js +10 -9
  709. package/dist/esm/six-menu-label.entry.js.map +1 -1
  710. package/dist/esm/six-picto.entry.js +16 -15
  711. package/dist/esm/six-picto.entry.js.map +1 -1
  712. package/dist/esm/six-progress-bar.entry.js +17 -16
  713. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  714. package/dist/esm/six-progress-ring.entry.js +32 -31
  715. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  716. package/dist/esm/six-radio.entry.js +106 -105
  717. package/dist/esm/six-radio.entry.js.map +1 -1
  718. package/dist/esm/six-range.entry.js +200 -189
  719. package/dist/esm/six-range.entry.js.map +1 -1
  720. package/dist/esm/six-root.entry.js +13 -31
  721. package/dist/esm/six-root.entry.js.map +1 -1
  722. package/dist/esm/six-search-field.entry.js +46 -45
  723. package/dist/esm/six-search-field.entry.js.map +1 -1
  724. package/dist/esm/six-select.entry.js +523 -366
  725. package/dist/esm/six-select.entry.js.map +1 -1
  726. package/dist/esm/six-sidebar-item-group.entry.js +58 -47
  727. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  728. package/dist/esm/six-sidebar-item.entry.js +19 -16
  729. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  730. package/dist/esm/six-sidebar.entry.js +176 -175
  731. package/dist/esm/six-sidebar.entry.js.map +1 -1
  732. package/dist/esm/six-spinner.entry.js +17 -16
  733. package/dist/esm/six-spinner.entry.js.map +1 -1
  734. package/dist/esm/six-stage-indicator.entry.js +19 -0
  735. package/dist/esm/six-stage-indicator.entry.js.map +1 -0
  736. package/dist/esm/six-switch.entry.js +109 -108
  737. package/dist/esm/six-switch.entry.js.map +1 -1
  738. package/dist/esm/six-tab-group.entry.js +256 -235
  739. package/dist/esm/six-tab-group.entry.js.map +1 -1
  740. package/dist/esm/six-tab-panel.entry.js +16 -15
  741. package/dist/esm/six-tab-panel.entry.js.map +1 -1
  742. package/dist/esm/six-tab.entry.js +57 -40
  743. package/dist/esm/six-tab.entry.js.map +1 -1
  744. package/dist/esm/six-tag.entry.js +55 -54
  745. package/dist/esm/six-tag.entry.js.map +1 -1
  746. package/dist/esm/six-textarea.entry.js +183 -182
  747. package/dist/esm/six-textarea.entry.js.map +1 -1
  748. package/dist/esm/six-tile.entry.js +79 -78
  749. package/dist/esm/six-tile.entry.js.map +1 -1
  750. package/dist/esm/six-timepicker.entry.js +351 -350
  751. package/dist/esm/six-timepicker.entry.js.map +1 -1
  752. package/dist/esm/six-tooltip.entry.js +150 -149
  753. package/dist/esm/six-tooltip.entry.js.map +1 -1
  754. package/dist/esm/slot-56531341.js +47 -0
  755. package/dist/esm/slot-56531341.js.map +1 -0
  756. package/dist/esm/types-a07bb999.js +19 -0
  757. package/dist/esm/types-a07bb999.js.map +1 -0
  758. package/dist/esm/ui-library.js +7 -5
  759. package/dist/esm/ui-library.js.map +1 -1
  760. package/dist/types/components/six-alert/six-alert.d.ts +47 -40
  761. package/dist/types/components/six-avatar/six-avatar.d.ts +11 -11
  762. package/dist/types/components/six-badge/six-badge.d.ts +7 -7
  763. package/dist/types/components/six-button/six-button.d.ts +48 -48
  764. package/dist/types/components/six-card/six-card.d.ts +1 -1
  765. package/dist/types/components/six-checkbox/six-checkbox.d.ts +58 -58
  766. package/dist/types/components/six-datepicker/components/day-selection.d.ts +3 -3
  767. package/dist/types/components/six-datepicker/components/month-selection.d.ts +3 -3
  768. package/dist/types/components/six-datepicker/components/year-selection.d.ts +3 -3
  769. package/dist/types/components/six-datepicker/six-date-formats.d.ts +20 -20
  770. package/dist/types/components/six-datepicker/six-datepicker.d.ts +187 -187
  771. package/dist/types/components/six-details/six-details.d.ts +42 -42
  772. package/dist/types/components/six-dialog/six-dialog.d.ts +51 -50
  773. package/dist/types/components/six-drawer/six-drawer.d.ts +58 -58
  774. package/dist/types/components/six-dropdown/six-dropdown.d.ts +131 -112
  775. package/dist/types/components/six-error/six-error.d.ts +1 -1
  776. package/dist/types/components/six-error-page/six-error-page.d.ts +25 -25
  777. package/dist/types/components/six-file-list/six-file-list.d.ts +1 -1
  778. package/dist/types/components/six-file-list-item/six-file-list-item.d.ts +23 -23
  779. package/dist/types/components/six-file-upload/six-file-upload.d.ts +43 -33
  780. package/dist/types/components/six-footer/six-footer.d.ts +1 -1
  781. package/dist/types/components/six-group-label/six-group-label.d.ts +22 -22
  782. package/dist/types/components/six-header/six-header.d.ts +61 -55
  783. package/dist/types/components/six-icon/six-icon.d.ts +5 -5
  784. package/dist/types/components/six-icon-button/six-icon-button.d.ts +18 -18
  785. package/dist/types/components/six-input/six-input.d.ts +117 -105
  786. package/dist/types/components/six-item-picker/six-item-picker.d.ts +95 -88
  787. package/dist/types/components/six-item-picker/types.d.ts +7 -7
  788. package/dist/types/components/six-language-switcher/six-language-switcher.d.ts +15 -15
  789. package/dist/types/components/six-layout-grid/six-layout-grid.d.ts +6 -6
  790. package/dist/types/components/six-main-container/six-main-container.d.ts +4 -4
  791. package/dist/types/components/six-menu/six-menu.d.ts +67 -63
  792. package/dist/types/components/six-menu-divider/six-menu-divider.d.ts +1 -1
  793. package/dist/types/components/six-menu-item/six-menu-item.d.ts +27 -21
  794. package/dist/types/components/six-menu-label/six-menu-label.d.ts +1 -1
  795. package/dist/types/components/six-picto/six-picto.d.ts +6 -6
  796. package/dist/types/components/six-progress-bar/six-progress-bar.d.ts +5 -5
  797. package/dist/types/components/six-progress-ring/six-progress-ring.d.ts +11 -11
  798. package/dist/types/components/six-radio/six-radio.d.ts +38 -38
  799. package/dist/types/components/six-range/six-range.d.ts +77 -75
  800. package/dist/types/components/six-root/six-root.d.ts +8 -21
  801. package/dist/types/components/six-search-field/six-search-field.d.ts +20 -20
  802. package/dist/types/components/six-select/six-select.d.ts +135 -122
  803. package/dist/types/components/six-select/util.d.ts +3 -1
  804. package/dist/types/components/six-sidebar/six-sidebar.d.ts +45 -45
  805. package/dist/types/components/six-sidebar-item/six-sidebar-item.d.ts +12 -7
  806. package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +25 -19
  807. package/dist/types/components/six-spinner/six-spinner.d.ts +6 -5
  808. package/dist/types/components/six-stage-indicator/six-stage-indicator.d.ts +3 -3
  809. package/dist/types/components/six-switch/six-switch.d.ts +48 -48
  810. package/dist/types/components/six-tab/six-tab.d.ts +20 -20
  811. package/dist/types/components/six-tab-group/six-tab-group.d.ts +38 -38
  812. package/dist/types/components/six-tab-panel/six-tab-panel.d.ts +7 -7
  813. package/dist/types/components/six-tag/six-tag.d.ts +20 -20
  814. package/dist/types/components/six-textarea/six-textarea.d.ts +89 -89
  815. package/dist/types/components/six-tile/six-tile.d.ts +31 -31
  816. package/dist/types/components/six-timepicker/six-timepicker.d.ts +152 -152
  817. package/dist/types/components/six-tooltip/six-tooltip.d.ts +55 -55
  818. package/dist/types/components.d.ts +511 -51
  819. package/dist/types/functional-components/form-control/form-control.d.ts +32 -32
  820. package/dist/types/index.d.ts +1 -0
  821. package/dist/types/stencil-public-runtime.d.ts +34 -3
  822. package/dist/types/types.d.ts +1 -0
  823. package/dist/types/utils/alert.d.ts +10 -0
  824. package/dist/types/utils/animation.d.ts +12 -0
  825. package/dist/types/utils/date-util.d.ts +58 -50
  826. package/dist/types/utils/error-messages.d.ts +27 -25
  827. package/dist/types/utils/event-listeners.d.ts +11 -11
  828. package/dist/types/utils/focus-visible.d.ts +2 -2
  829. package/dist/types/utils/modal.d.ts +8 -8
  830. package/dist/types/utils/offset.d.ts +2 -2
  831. package/dist/types/utils/popover.d.ts +21 -21
  832. package/dist/types/utils/slot.d.ts +0 -1
  833. package/dist/types/utils/time.util.d.ts +6 -6
  834. package/dist/types/utils/types.d.ts +1 -1
  835. package/dist/ui-library/assets/TRADEMARKS.md +3 -3
  836. package/dist/ui-library/index.esm.js +1 -1
  837. package/dist/ui-library/index.esm.js.map +1 -1
  838. package/dist/ui-library/p-030fa1fa.entry.js +2 -0
  839. package/dist/ui-library/p-030fa1fa.entry.js.map +1 -0
  840. package/dist/ui-library/p-037afc74.entry.js +2 -0
  841. package/dist/ui-library/p-037afc74.entry.js.map +1 -0
  842. package/dist/ui-library/p-047d02ad.entry.js +2 -0
  843. package/dist/ui-library/p-047d02ad.entry.js.map +1 -0
  844. package/dist/ui-library/p-049c8910.entry.js +2 -0
  845. package/dist/ui-library/p-049c8910.entry.js.map +1 -0
  846. package/dist/ui-library/p-05eb1bab.js +3 -0
  847. package/dist/ui-library/p-05eb1bab.js.map +1 -0
  848. package/dist/ui-library/{p-5654e4c7.js → p-06ba4450.js} +1 -1
  849. package/dist/ui-library/p-06ba653e.entry.js +2 -0
  850. package/dist/ui-library/p-06ba653e.entry.js.map +1 -0
  851. package/dist/ui-library/p-07c8de65.entry.js +2 -0
  852. package/dist/ui-library/p-07c8de65.entry.js.map +1 -0
  853. package/dist/ui-library/p-0c129b61.entry.js +2 -0
  854. package/dist/ui-library/p-0c129b61.entry.js.map +1 -0
  855. package/dist/ui-library/p-0cebf1d2.js +2 -0
  856. package/dist/ui-library/p-0cebf1d2.js.map +1 -0
  857. package/dist/ui-library/p-11344bb8.entry.js +2 -0
  858. package/dist/ui-library/p-11344bb8.entry.js.map +1 -0
  859. package/dist/ui-library/p-14e5fccc.entry.js +2 -0
  860. package/dist/ui-library/p-14e5fccc.entry.js.map +1 -0
  861. package/dist/ui-library/p-189602e4.entry.js +2 -0
  862. package/dist/ui-library/p-189602e4.entry.js.map +1 -0
  863. package/dist/ui-library/p-18b9189f.entry.js +2 -0
  864. package/dist/ui-library/p-18b9189f.entry.js.map +1 -0
  865. package/dist/ui-library/p-1adc26f2.entry.js +2 -0
  866. package/dist/ui-library/p-1adc26f2.entry.js.map +1 -0
  867. package/dist/ui-library/p-2386627e.entry.js +2 -0
  868. package/dist/ui-library/p-2386627e.entry.js.map +1 -0
  869. package/dist/ui-library/p-32e421a3.entry.js +2 -0
  870. package/dist/ui-library/p-32e421a3.entry.js.map +1 -0
  871. package/dist/ui-library/p-347e568f.entry.js +2 -0
  872. package/dist/ui-library/p-347e568f.entry.js.map +1 -0
  873. package/dist/ui-library/p-36d5f98a.entry.js +2 -0
  874. package/dist/ui-library/p-36d5f98a.entry.js.map +1 -0
  875. package/dist/ui-library/p-37433242.entry.js +2 -0
  876. package/dist/ui-library/p-37433242.entry.js.map +1 -0
  877. package/dist/ui-library/p-3b5a76ea.entry.js +2 -0
  878. package/dist/ui-library/p-3b5a76ea.entry.js.map +1 -0
  879. package/dist/ui-library/p-416b0439.entry.js +2 -0
  880. package/dist/ui-library/p-416b0439.entry.js.map +1 -0
  881. package/dist/ui-library/p-419ed003.entry.js +2 -0
  882. package/dist/ui-library/p-419ed003.entry.js.map +1 -0
  883. package/dist/ui-library/p-4963f03c.entry.js +2 -0
  884. package/dist/ui-library/p-4963f03c.entry.js.map +1 -0
  885. package/dist/ui-library/p-4bc7bbdb.entry.js +2 -0
  886. package/dist/ui-library/p-4bc7bbdb.entry.js.map +1 -0
  887. package/dist/ui-library/p-4d89932f.entry.js +2 -0
  888. package/dist/ui-library/p-4d89932f.entry.js.map +1 -0
  889. package/dist/ui-library/{p-e5020f0d.js → p-605bdd81.js} +2 -2
  890. package/dist/ui-library/p-63acceb6.entry.js +2 -0
  891. package/dist/ui-library/p-63acceb6.entry.js.map +1 -0
  892. package/dist/ui-library/p-63ee5e7e.entry.js +2 -0
  893. package/dist/ui-library/p-63ee5e7e.entry.js.map +1 -0
  894. package/dist/ui-library/p-651293e7.js +2 -0
  895. package/dist/ui-library/p-651293e7.js.map +1 -0
  896. package/dist/ui-library/p-6b40c40c.entry.js +2 -0
  897. package/dist/ui-library/p-6b40c40c.entry.js.map +1 -0
  898. package/dist/ui-library/p-6f9153be.entry.js +2 -0
  899. package/dist/ui-library/p-6f9153be.entry.js.map +1 -0
  900. package/dist/ui-library/p-7bdd1116.entry.js +2 -0
  901. package/dist/ui-library/p-7bdd1116.entry.js.map +1 -0
  902. package/dist/ui-library/p-7c18b8ca.entry.js +2 -0
  903. package/dist/ui-library/p-7c18b8ca.entry.js.map +1 -0
  904. package/dist/ui-library/{p-0fdb185d.js → p-7f856f00.js} +1 -1
  905. package/dist/ui-library/{p-1f18768a.js → p-8227aaed.js} +2 -2
  906. package/dist/ui-library/{p-8c0971e0.js → p-842b492e.js} +1 -1
  907. package/dist/ui-library/{p-0f510624.js → p-862d474e.js} +1 -1
  908. package/dist/ui-library/p-862d474e.js.map +1 -0
  909. package/dist/ui-library/{p-7d95def3.js → p-8bfb4bfc.js} +1 -1
  910. package/dist/ui-library/{p-13b43e04.entry.js → p-8f1d3461.entry.js} +2 -2
  911. package/dist/ui-library/p-8f1d3461.entry.js.map +1 -0
  912. package/dist/ui-library/p-96d441e9.entry.js +2 -0
  913. package/dist/ui-library/p-96d441e9.entry.js.map +1 -0
  914. package/dist/ui-library/p-99f6fe01.entry.js +2 -0
  915. package/dist/ui-library/p-99f6fe01.entry.js.map +1 -0
  916. package/dist/ui-library/p-9cb83369.entry.js +2 -0
  917. package/dist/ui-library/p-9cb83369.entry.js.map +1 -0
  918. package/dist/ui-library/{p-698bb2c8.js → p-a1502802.js} +1 -1
  919. package/dist/ui-library/p-a398e3eb.entry.js +2 -0
  920. package/dist/ui-library/p-a398e3eb.entry.js.map +1 -0
  921. package/dist/ui-library/p-a9e009af.entry.js +2 -0
  922. package/dist/ui-library/p-a9e009af.entry.js.map +1 -0
  923. package/dist/ui-library/p-b335ed9c.entry.js +2 -0
  924. package/dist/ui-library/p-b335ed9c.entry.js.map +1 -0
  925. package/dist/ui-library/p-b5acf54d.entry.js +2 -0
  926. package/dist/ui-library/p-b5acf54d.entry.js.map +1 -0
  927. package/dist/ui-library/p-b60c20aa.entry.js +2 -0
  928. package/dist/ui-library/p-b60c20aa.entry.js.map +1 -0
  929. package/dist/ui-library/p-b7c68f74.entry.js +2 -0
  930. package/dist/ui-library/p-b7c68f74.entry.js.map +1 -0
  931. package/dist/ui-library/p-c62893e5.entry.js +2 -0
  932. package/dist/ui-library/p-c62893e5.entry.js.map +1 -0
  933. package/dist/ui-library/p-c6464bfe.entry.js +2 -0
  934. package/dist/ui-library/p-c6464bfe.entry.js.map +1 -0
  935. package/dist/ui-library/p-cf109cbf.entry.js +2 -0
  936. package/dist/ui-library/p-cf109cbf.entry.js.map +1 -0
  937. package/dist/ui-library/p-d1a2f84b.entry.js +2 -0
  938. package/dist/ui-library/p-d1a2f84b.entry.js.map +1 -0
  939. package/dist/ui-library/p-d42f1ea9.entry.js +2 -0
  940. package/dist/ui-library/p-d42f1ea9.entry.js.map +1 -0
  941. package/dist/ui-library/p-d88b9c16.entry.js +2 -0
  942. package/dist/ui-library/p-d88b9c16.entry.js.map +1 -0
  943. package/dist/ui-library/p-d9586999.entry.js +2 -0
  944. package/dist/ui-library/p-d9586999.entry.js.map +1 -0
  945. package/dist/ui-library/p-e080d5b6.js +2 -0
  946. package/dist/ui-library/p-e080d5b6.js.map +1 -0
  947. package/dist/ui-library/p-e1255160.js +2 -0
  948. package/dist/ui-library/p-e1255160.js.map +1 -0
  949. package/dist/ui-library/p-e14d78e9.entry.js +2 -0
  950. package/dist/ui-library/p-e14d78e9.entry.js.map +1 -0
  951. package/dist/ui-library/p-e9b8ad98.entry.js +2 -0
  952. package/dist/ui-library/p-e9b8ad98.entry.js.map +1 -0
  953. package/dist/ui-library/p-ebbe9bdc.entry.js +2 -0
  954. package/dist/ui-library/p-ebbe9bdc.entry.js.map +1 -0
  955. package/dist/ui-library/p-f136a6b2.js +2 -0
  956. package/dist/ui-library/p-f136a6b2.js.map +1 -0
  957. package/dist/ui-library/p-fe89a7c4.entry.js +2 -0
  958. package/dist/ui-library/p-fe89a7c4.entry.js.map +1 -0
  959. package/dist/ui-library/ui-library.css +1 -10
  960. package/dist/ui-library/ui-library.esm.js +1 -1
  961. package/dist/ui-library/ui-library.esm.js.map +1 -1
  962. package/package.json +20 -21
  963. package/dist/cjs/event-listeners-fdfe838c.js +0 -61
  964. package/dist/cjs/event-listeners-fdfe838c.js.map +0 -1
  965. package/dist/cjs/focus-visible-ae2470dd.js +0 -47
  966. package/dist/cjs/form-2df8c5bb.js +0 -20
  967. package/dist/cjs/form-control-9769b310.js +0 -36
  968. package/dist/cjs/form-control-9769b310.js.map +0 -1
  969. package/dist/cjs/index-900437fc.js.map +0 -1
  970. package/dist/cjs/modal-d5f074c7.js +0 -52
  971. package/dist/cjs/modal-d5f074c7.js.map +0 -1
  972. package/dist/cjs/popover-2df7e154.js.map +0 -1
  973. package/dist/cjs/popup-f1d9910f.js +0 -103
  974. package/dist/cjs/popup-f1d9910f.js.map +0 -1
  975. package/dist/cjs/scroll-03678de1.js +0 -69
  976. package/dist/cjs/scroll-03678de1.js.map +0 -1
  977. package/dist/cjs/set-attributes_2.cjs.entry.js +0 -73
  978. package/dist/cjs/set-attributes_2.cjs.entry.js.map +0 -1
  979. package/dist/cjs/six-checkbox.cjs.entry.js +0 -127
  980. package/dist/cjs/six-checkbox.cjs.entry.js.map +0 -1
  981. package/dist/cjs/six-menu-item.cjs.entry.js +0 -63
  982. package/dist/cjs/six-menu-item.cjs.entry.js.map +0 -1
  983. package/dist/cjs/slot-6e6a400f.js +0 -53
  984. package/dist/cjs/slot-6e6a400f.js.map +0 -1
  985. package/dist/cjs/types-47199040.js +0 -17
  986. package/dist/cjs/types-47199040.js.map +0 -1
  987. package/dist/collection/components/six-header/assets/six-logo.svg +0 -1
  988. package/dist/collection/components/six-header/test/six-header.spec.js +0 -133
  989. package/dist/collection/components/six-header/test/six-header.spec.js.map +0 -1
  990. package/dist/collection/components/six-tab/test/six-tab.spec.js +0 -20
  991. package/dist/collection/components/six-tab/test/six-tab.spec.js.map +0 -1
  992. package/dist/collection/components/six-tab-group/test/six-tab-group.spec.js +0 -45
  993. package/dist/collection/components/six-tab-group/test/six-tab-group.spec.js.map +0 -1
  994. package/dist/collection/utils/support.js +0 -16
  995. package/dist/collection/utils/support.js.map +0 -1
  996. package/dist/collection/wrappers/set-attributes/set-attributes.js +0 -74
  997. package/dist/collection/wrappers/set-attributes/set-attributes.js.map +0 -1
  998. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js +0 -16
  999. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js.map +0 -1
  1000. package/dist/components/set-attributes.d.ts +0 -11
  1001. package/dist/components/set-attributes.js +0 -8
  1002. package/dist/components/set-attributes.js.map +0 -1
  1003. package/dist/components/set-attributes2.js +0 -71
  1004. package/dist/components/set-attributes2.js.map +0 -1
  1005. package/dist/components/six-tag2.js +0 -102
  1006. package/dist/components/six-tag2.js.map +0 -1
  1007. package/dist/esm/event-listeners-f6e5b0ab.js +0 -59
  1008. package/dist/esm/event-listeners-f6e5b0ab.js.map +0 -1
  1009. package/dist/esm/focus-visible-fc6ac671.js +0 -45
  1010. package/dist/esm/form-81252534.js +0 -18
  1011. package/dist/esm/form-control-b0febe88.js +0 -34
  1012. package/dist/esm/form-control-b0febe88.js.map +0 -1
  1013. package/dist/esm/index-8a74f992.js.map +0 -1
  1014. package/dist/esm/modal-7d32e141.js +0 -49
  1015. package/dist/esm/modal-7d32e141.js.map +0 -1
  1016. package/dist/esm/popover-136d1f73.js.map +0 -1
  1017. package/dist/esm/popup-7f89a001.js +0 -98
  1018. package/dist/esm/popup-7f89a001.js.map +0 -1
  1019. package/dist/esm/scroll-3fb087a2.js +0 -64
  1020. package/dist/esm/set-attributes_2.entry.js +0 -68
  1021. package/dist/esm/set-attributes_2.entry.js.map +0 -1
  1022. package/dist/esm/six-checkbox.entry.js +0 -123
  1023. package/dist/esm/six-checkbox.entry.js.map +0 -1
  1024. package/dist/esm/six-menu-item.entry.js +0 -59
  1025. package/dist/esm/six-menu-item.entry.js.map +0 -1
  1026. package/dist/esm/slot-ad36df3a.js +0 -48
  1027. package/dist/esm/slot-ad36df3a.js.map +0 -1
  1028. package/dist/esm/types-59b455aa.js +0 -17
  1029. package/dist/esm/types-59b455aa.js.map +0 -1
  1030. package/dist/types/utils/support.d.ts +0 -1
  1031. package/dist/types/wrappers/set-attributes/set-attributes.d.ts +0 -9
  1032. package/dist/ui-library/assets/six-logo.svg +0 -1
  1033. package/dist/ui-library/p-0f510624.js.map +0 -1
  1034. package/dist/ui-library/p-1256cc0a.entry.js +0 -2
  1035. package/dist/ui-library/p-1256cc0a.entry.js.map +0 -1
  1036. package/dist/ui-library/p-13b43e04.entry.js.map +0 -1
  1037. package/dist/ui-library/p-14c1ec31.entry.js +0 -2
  1038. package/dist/ui-library/p-14c1ec31.entry.js.map +0 -1
  1039. package/dist/ui-library/p-15559d38.js +0 -2
  1040. package/dist/ui-library/p-15559d38.js.map +0 -1
  1041. package/dist/ui-library/p-19ed7a4c.entry.js +0 -2
  1042. package/dist/ui-library/p-19ed7a4c.entry.js.map +0 -1
  1043. package/dist/ui-library/p-1d5ee1a0.entry.js +0 -2
  1044. package/dist/ui-library/p-1d5ee1a0.entry.js.map +0 -1
  1045. package/dist/ui-library/p-25bb1752.entry.js +0 -2
  1046. package/dist/ui-library/p-25bb1752.entry.js.map +0 -1
  1047. package/dist/ui-library/p-264d4ea8.entry.js +0 -2
  1048. package/dist/ui-library/p-264d4ea8.entry.js.map +0 -1
  1049. package/dist/ui-library/p-29ac3d7d.entry.js +0 -2
  1050. package/dist/ui-library/p-29ac3d7d.entry.js.map +0 -1
  1051. package/dist/ui-library/p-330a4988.entry.js +0 -2
  1052. package/dist/ui-library/p-330a4988.entry.js.map +0 -1
  1053. package/dist/ui-library/p-346f9557.entry.js +0 -2
  1054. package/dist/ui-library/p-346f9557.entry.js.map +0 -1
  1055. package/dist/ui-library/p-37557787.entry.js +0 -2
  1056. package/dist/ui-library/p-37557787.entry.js.map +0 -1
  1057. package/dist/ui-library/p-3cc5addb.entry.js +0 -2
  1058. package/dist/ui-library/p-3cc5addb.entry.js.map +0 -1
  1059. package/dist/ui-library/p-411ed539.entry.js +0 -2
  1060. package/dist/ui-library/p-411ed539.entry.js.map +0 -1
  1061. package/dist/ui-library/p-4435ff73.entry.js +0 -2
  1062. package/dist/ui-library/p-4435ff73.entry.js.map +0 -1
  1063. package/dist/ui-library/p-4705a51e.entry.js +0 -2
  1064. package/dist/ui-library/p-4705a51e.entry.js.map +0 -1
  1065. package/dist/ui-library/p-538f3c50.entry.js +0 -2
  1066. package/dist/ui-library/p-538f3c50.entry.js.map +0 -1
  1067. package/dist/ui-library/p-59210f0b.js +0 -2
  1068. package/dist/ui-library/p-59210f0b.js.map +0 -1
  1069. package/dist/ui-library/p-5af44076.entry.js +0 -2
  1070. package/dist/ui-library/p-5af44076.entry.js.map +0 -1
  1071. package/dist/ui-library/p-5ba3a0fe.entry.js +0 -2
  1072. package/dist/ui-library/p-5ba3a0fe.entry.js.map +0 -1
  1073. package/dist/ui-library/p-613283a7.entry.js +0 -2
  1074. package/dist/ui-library/p-613283a7.entry.js.map +0 -1
  1075. package/dist/ui-library/p-6153045b.js +0 -3
  1076. package/dist/ui-library/p-6153045b.js.map +0 -1
  1077. package/dist/ui-library/p-6197fe2f.entry.js +0 -2
  1078. package/dist/ui-library/p-6197fe2f.entry.js.map +0 -1
  1079. package/dist/ui-library/p-724875b0.entry.js +0 -2
  1080. package/dist/ui-library/p-724875b0.entry.js.map +0 -1
  1081. package/dist/ui-library/p-7afafb9d.entry.js +0 -2
  1082. package/dist/ui-library/p-7afafb9d.entry.js.map +0 -1
  1083. package/dist/ui-library/p-7e3ad38a.entry.js +0 -2
  1084. package/dist/ui-library/p-7e3ad38a.entry.js.map +0 -1
  1085. package/dist/ui-library/p-878226a0.entry.js +0 -2
  1086. package/dist/ui-library/p-878226a0.entry.js.map +0 -1
  1087. package/dist/ui-library/p-91b51800.entry.js +0 -2
  1088. package/dist/ui-library/p-91b51800.entry.js.map +0 -1
  1089. package/dist/ui-library/p-95fbdd0b.entry.js +0 -2
  1090. package/dist/ui-library/p-95fbdd0b.entry.js.map +0 -1
  1091. package/dist/ui-library/p-99e24daf.entry.js +0 -2
  1092. package/dist/ui-library/p-99e24daf.entry.js.map +0 -1
  1093. package/dist/ui-library/p-9ace84c7.js +0 -2
  1094. package/dist/ui-library/p-9ace84c7.js.map +0 -1
  1095. package/dist/ui-library/p-9b354f5d.entry.js +0 -2
  1096. package/dist/ui-library/p-9b354f5d.entry.js.map +0 -1
  1097. package/dist/ui-library/p-9c1be3fb.entry.js +0 -2
  1098. package/dist/ui-library/p-9c1be3fb.entry.js.map +0 -1
  1099. package/dist/ui-library/p-a0f290d0.entry.js +0 -2
  1100. package/dist/ui-library/p-a0f290d0.entry.js.map +0 -1
  1101. package/dist/ui-library/p-a457fee8.entry.js +0 -2
  1102. package/dist/ui-library/p-a457fee8.entry.js.map +0 -1
  1103. package/dist/ui-library/p-a55c7258.entry.js +0 -2
  1104. package/dist/ui-library/p-a55c7258.entry.js.map +0 -1
  1105. package/dist/ui-library/p-a6a9ee96.entry.js +0 -2
  1106. package/dist/ui-library/p-a6a9ee96.entry.js.map +0 -1
  1107. package/dist/ui-library/p-ab91c2a9.entry.js +0 -2
  1108. package/dist/ui-library/p-ab91c2a9.entry.js.map +0 -1
  1109. package/dist/ui-library/p-ac099e6b.entry.js +0 -2
  1110. package/dist/ui-library/p-ac099e6b.entry.js.map +0 -1
  1111. package/dist/ui-library/p-ae601a0f.entry.js +0 -2
  1112. package/dist/ui-library/p-ae601a0f.entry.js.map +0 -1
  1113. package/dist/ui-library/p-b351f889.entry.js +0 -2
  1114. package/dist/ui-library/p-b351f889.entry.js.map +0 -1
  1115. package/dist/ui-library/p-b57afbe4.entry.js +0 -2
  1116. package/dist/ui-library/p-b57afbe4.entry.js.map +0 -1
  1117. package/dist/ui-library/p-b6f47c9d.entry.js +0 -2
  1118. package/dist/ui-library/p-b6f47c9d.entry.js.map +0 -1
  1119. package/dist/ui-library/p-c03ebf7d.entry.js +0 -2
  1120. package/dist/ui-library/p-c03ebf7d.entry.js.map +0 -1
  1121. package/dist/ui-library/p-cba69e9d.entry.js +0 -2
  1122. package/dist/ui-library/p-cba69e9d.entry.js.map +0 -1
  1123. package/dist/ui-library/p-cd67da3d.entry.js +0 -2
  1124. package/dist/ui-library/p-cd67da3d.entry.js.map +0 -1
  1125. package/dist/ui-library/p-cdaed936.entry.js +0 -2
  1126. package/dist/ui-library/p-cdaed936.entry.js.map +0 -1
  1127. package/dist/ui-library/p-db34a6cc.entry.js +0 -2
  1128. package/dist/ui-library/p-db34a6cc.entry.js.map +0 -1
  1129. package/dist/ui-library/p-db936ad7.entry.js +0 -2
  1130. package/dist/ui-library/p-db936ad7.entry.js.map +0 -1
  1131. package/dist/ui-library/p-dc4f41d8.entry.js +0 -2
  1132. package/dist/ui-library/p-dc4f41d8.entry.js.map +0 -1
  1133. package/dist/ui-library/p-dfed33c5.entry.js +0 -2
  1134. package/dist/ui-library/p-dfed33c5.entry.js.map +0 -1
  1135. package/dist/ui-library/p-e775dcb4.entry.js +0 -2
  1136. package/dist/ui-library/p-e775dcb4.entry.js.map +0 -1
  1137. package/dist/ui-library/p-ee8342e1.entry.js +0 -2
  1138. package/dist/ui-library/p-ee8342e1.entry.js.map +0 -1
  1139. package/dist/ui-library/p-ee950ce2.entry.js +0 -2
  1140. package/dist/ui-library/p-ee950ce2.entry.js.map +0 -1
  1141. package/dist/ui-library/p-f1dc3a88.entry.js +0 -2
  1142. package/dist/ui-library/p-f1dc3a88.entry.js.map +0 -1
  1143. /package/dist/ui-library/{p-5654e4c7.js.map → p-06ba4450.js.map} +0 -0
  1144. /package/dist/ui-library/{p-e5020f0d.js.map → p-605bdd81.js.map} +0 -0
  1145. /package/dist/ui-library/{p-0fdb185d.js.map → p-7f856f00.js.map} +0 -0
  1146. /package/dist/ui-library/{p-1f18768a.js.map → p-8227aaed.js.map} +0 -0
  1147. /package/dist/ui-library/{p-8c0971e0.js.map → p-842b492e.js.map} +0 -0
  1148. /package/dist/ui-library/{p-7d95def3.js.map → p-8bfb4bfc.js.map} +0 -0
  1149. /package/dist/ui-library/{p-698bb2c8.js.map → p-a1502802.js.map} +0 -0
@@ -1,73 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-900437fc.js');
6
-
7
- const SetAttributes = class {
8
- constructor(hostRef) {
9
- index.registerInstance(this, hostRef);
10
- this.value = {};
11
- }
12
- componentWillLoad() {
13
- this.injectAttrs();
14
- }
15
- attrsUpdated() {
16
- this.injectAttrs();
17
- }
18
- injectAttrs() {
19
- const slot = this.host.firstElementChild;
20
- if (typeof (slot === null || slot === void 0 ? void 0 : slot.assignedElements) !== 'function') {
21
- return;
22
- }
23
- const child = slot.assignedElements().pop();
24
- if (!child) {
25
- return;
26
- }
27
- const types = {
28
- // no need for function and bigint
29
- undefined: (key) => child.removeAttribute(key),
30
- boolean: (key, value) => {
31
- if (value != null) {
32
- child.setAttribute(key, '');
33
- }
34
- else {
35
- child.removeAttribute(key);
36
- }
37
- },
38
- number: (key, value) => child.setAttribute(key, value),
39
- string: (key, value) => child.setAttribute(key, value),
40
- object: (key, value) => child.setAttribute(key, JSON.stringify(value)),
41
- };
42
- for (const [key, value] of Object.entries(this.value)) {
43
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
44
- // @ts-ignore
45
- types[typeof value](key, value);
46
- }
47
- }
48
- render() {
49
- return index.h("slot", null);
50
- }
51
- get host() { return index.getElement(this); }
52
- static get watchers() { return {
53
- "value": ["attrsUpdated"]
54
- }; }
55
- };
56
-
57
- const sixStageIndicatorCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:grid}.center-content{display:grid;align-self:center;justify-self:center;grid-gap:5px;grid-auto-flow:column}.align-item{margin:auto}.indicator,.indicator--acceptance,.indicator--etu,.indicator--dev,.indicator--itu{font-family:var(--six-font-family);font-size:14px;font-weight:var(--six-font-weight-bold);display:grid;align-content:center;width:100%;height:24px}.indicator--itu{background-color:var(--six-color-success-600);color:var(--six-color-web-rock-900)}.indicator--dev{background-color:var(--six-color-web-rock-900);color:var(--six-color-white)}.indicator--etu{background-color:var(--six-color-action-600);color:var(--six-color-white)}.indicator--acceptance{background-color:var(--six-color-warning-800);color:var(--six-color-web-rock-900)}";
58
-
59
- const SixStageIndicator = class {
60
- constructor(hostRef) {
61
- index.registerInstance(this, hostRef);
62
- this.stage = null;
63
- }
64
- render() {
65
- return this.stage == null || this.stage == 'PROD' ? null : (index.h("div", { class: `indicator--${this.stage.toLowerCase()}` }, index.h("div", { class: "center-content" }, index.h("six-icon", { class: "align-item", size: "small" }, "error_outline"), index.h("span", { class: 'align-item' }, index.h("slot", null)))));
66
- }
67
- };
68
- SixStageIndicator.style = sixStageIndicatorCss;
69
-
70
- exports.set_attributes = SetAttributes;
71
- exports.six_stage_indicator = SixStageIndicator;
72
-
73
- //# sourceMappingURL=set-attributes_2.cjs.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"set-attributes.six-stage-indicator.entry.cjs.js","mappings":";;;;;;MAKa,aAAa;;;iBAIR,EAAE;;EAElB,iBAAiB;IACf,IAAI,CAAC,WAAW,EAAE,CAAC;GACpB;EAGD,YAAY;IACV,IAAI,CAAC,WAAW,EAAE,CAAC;GACpB;EAEO,WAAW;IACjB,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,iBAAoC,CAAC;IAE5D,IAAI,QAAO,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,gBAAgB,CAAA,KAAK,UAAU,EAAE;MAChD,OAAO;KACR;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC,GAAG,EAAE,CAAC;IAE5C,IAAI,CAAC,KAAK,EAAE;MACV,OAAO;KACR;IAED,MAAM,KAAK,GAAG;;MAEZ,SAAS,EAAE,CAAC,GAAW,KAAK,KAAK,CAAC,eAAe,CAAC,GAAG,CAAC;MACtD,OAAO,EAAE,CAAC,GAAW,EAAE,KAAc;QACnC,IAAI,KAAK,IAAI,IAAI,EAAE;UACjB,KAAK,CAAC,YAAY,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;SAC7B;aAAM;UACL,KAAK,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;SAC5B;OACF;MACD,MAAM,EAAE,CAAC,GAAW,EAAE,KAAa,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC;MACtE,MAAM,EAAE,CAAC,GAAW,EAAE,KAAa,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC;MACtE,MAAM,EAAE,CAAC,GAAW,EAAE,KAAa,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;KACvF,CAAC;IAEF,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;;;MAGrD,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;KACjC;GACF;EAED,MAAM;IACJ,OAAOA,qBAAQ,CAAC;GACjB;;;;;;;ACzDH,MAAM,oBAAoB,GAAG,+1BAA+1B;;MCS/2B,iBAAiB;;;iBAED,IAAI;;EAE/B,MAAM;IACJ,OAAO,IAAI,CAAC,KAAK,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,IAAI,MAAM,GAAG,IAAI,IACtDA,iBAAK,KAAK,EAAE,cAAc,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,EAAE,IAClDA,iBAAK,KAAK,EAAC,gBAAgB,IACzBA,sBAAU,KAAK,EAAC,YAAY,EAAC,IAAI,EAAC,OAAO,oBAE9B,EACXA,kBAAM,KAAK,EAAE,YAAY,IACvBA,qBAAQ,CACH,CACH,CACF,CACP,CAAC;GACH;;;;;;;","names":["h"],"sources":["src/wrappers/set-attributes/set-attributes.tsx","src/components/six-stage-indicator/six-stage-indicator.scss?tag=six-stage-indicator&encapsulation=shadow","src/components/six-stage-indicator/six-stage-indicator.tsx"],"sourcesContent":["import { Component, Element, h, Prop, Watch } from '@stencil/core';\n\n@Component({\n tag: 'set-attributes',\n})\nexport class SetAttributes {\n @Element() host!: HTMLSetAttributesElement;\n\n /** Attributes map */\n @Prop() value = {};\n\n componentWillLoad() {\n this.injectAttrs();\n }\n\n @Watch('value')\n attrsUpdated() {\n this.injectAttrs();\n }\n\n private injectAttrs() {\n const slot = this.host.firstElementChild as HTMLSlotElement;\n\n if (typeof slot?.assignedElements !== 'function') {\n return;\n }\n\n const child = slot.assignedElements().pop();\n\n if (!child) {\n return;\n }\n\n const types = {\n // no need for function and bigint\n undefined: (key: string) => child.removeAttribute(key),\n boolean: (key: string, value: unknown) => {\n if (value != null) {\n child.setAttribute(key, '');\n } else {\n child.removeAttribute(key);\n }\n },\n number: (key: string, value: string) => child.setAttribute(key, value),\n string: (key: string, value: string) => child.setAttribute(key, value),\n object: (key: string, value: string) => child.setAttribute(key, JSON.stringify(value)),\n };\n\n for (const [key, value] of Object.entries(this.value)) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n types[typeof value](key, value);\n }\n }\n\n render() {\n return <slot />;\n }\n}\n","@import 'src/global/component';\n\n:host {\n display: grid;\n}\n\n.center-content {\n display: grid;\n align-self: center;\n justify-self: center;\n grid-gap: 5px;\n grid-auto-flow: column;\n}\n\n.align-item {\n margin: auto;\n}\n\n.indicator {\n font-family: var(--six-font-family);\n font-size: 14px;\n font-weight: var(--six-font-weight-bold);\n display: grid;\n align-content: center;\n width: 100%;\n height: 24px;\n\n &--itu {\n @extend .indicator;\n background-color: var(--six-color-success-600);\n color: var(--six-color-web-rock-900);\n }\n\n &--dev {\n @extend .indicator;\n background-color: var(--six-color-web-rock-900);\n color: var(--six-color-white);\n }\n\n &--etu {\n @extend .indicator;\n background-color: var(--six-color-action-600);\n color: var(--six-color-white);\n }\n\n &--acceptance {\n @extend .indicator;\n background-color: var(--six-color-warning-800);\n color: var(--six-color-web-rock-900);\n }\n}\n","import { Component, h, Prop } from '@stencil/core';\n\nexport type StageType = 'DEV' | 'ITU' | 'ETU' | 'ACCEPTANCE' | 'PROD' | null;\n\n@Component({\n tag: 'six-stage-indicator',\n styleUrl: 'six-stage-indicator.scss',\n shadow: true,\n})\nexport class SixStageIndicator {\n /** The indicators value attribute */\n @Prop() stage: StageType = null;\n\n render() {\n return this.stage == null || this.stage == 'PROD' ? null : (\n <div class={`indicator--${this.stage.toLowerCase()}`}>\n <div class=\"center-content\">\n <six-icon class=\"align-item\" size=\"small\">\n error_outline\n </six-icon>\n <span class={'align-item'}>\n <slot />\n </span>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
@@ -1,127 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-900437fc.js');
6
- const formControl = require('./form-control-9769b310.js');
7
- const slot = require('./slot-6e6a400f.js');
8
- const eventListeners = require('./event-listeners-fdfe838c.js');
9
-
10
- const sixCheckboxCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}.form-control .form-control__label{display:none}.form-control .form-control__help-text{display:none}.form-control .form-control__error-text{display:none;text-align:left}.form-control--has-label .form-control__label{display:inline-block;color:var(--six-input-label-color);font-weight:var(--six-font-weight-bold);margin-bottom:var(--six-spacing-x-small)}.form-control--has-label .form-control__label__required::after{color:var(--six-color-danger-800);content:\"*\"}.form-control--has-label.form-control--small .form-control__label{font-size:var(--six-input-label-font-size-small)}.form-control--has-label.form-control--medium .form-control__label{font-size:var(--six-input-label-font-size-medium)}.form-control--has-label.form-control--large .form-control_label{font-size:var(--six-input-label-font-size-large)}.form-control--has-help-text .form-control__help-text{display:block;color:var(--six-input-help-text-color);margin-top:var(--six-spacing-x-small)}.form-control--has-help-text .form-control__help-text ::slotted(*){margin-top:var(--six-spacing-xxx-small)}.form-control--has-help-text.form-control--small .form-control__help-text{font-size:var(--six-input-help-text-font-size-small)}.form-control--has-help-text.form-control--medium .form-control__help-text{font-size:var(--six-input-help-text-font-size-medium)}.form-control--has-help-text.form-control--large .form-control__help-text{font-size:var(--six-input-help-text-font-size-large)}.form-control--has-error-text .form-control__error-text{display:block;margin-top:var(--six-spacing-xxx-small)}.form-control--has-error-text .form-control__error-text ::slotted(*){margin-top:var(--six-spacing-xxx-small)}.form-control--has-error-text.form-control--small .form-control__error-text{font-size:var(--six-input-help-text-font-size-small)}.form-control--has-error-text.form-control--medium .form-control__error-text{font-size:var(--six-input-help-text-font-size-medium)}.form-control--has-error-text.form-control--large .form-control__error-text{font-size:var(--six-input-help-text-font-size-large)}.form-control--disabled .form-control__help-text{color:var(--six-input-help-text-color-disabled)}.form-control--disabled .form-control__label{color:var(--six-input-label-color-disabled)}.form-control--invalid:not(.form-control--disabled) .form-control__label{color:var(--six-input-label-color)}:host{display:inline-block}.checkbox{display:inline-flex;align-items:center;font-family:var(--six-font-family);font-size:var(--six-input-font-size-medium);font-weight:var(--six-input-font-weight);color:var(--six-input-color);vertical-align:middle;cursor:pointer}.checkbox__control{position:relative;display:inline-flex;align-items:center;justify-content:center;width:var(--six-selection-control-toggle-size);height:var(--six-selection-control-toggle-size);border:solid var(--six-border-width) var(--six-input-border-color);border-radius:0;background-color:var(--six-input-background-color);color:var(--six-checkbox-color);transition:var(--six-transition-fast) border-color, var(--six-transition-fast) background-color, var(--six-transition-fast) color, var(--six-transition-fast) box-shadow}.checkbox__control input[type=checkbox]{position:absolute;opacity:0;padding:0;margin:0;pointer-events:none}.checkbox__control .checkbox__icon{display:inline-flex;width:var(--six-selection-control-toggle-size);height:var(--six-selection-control-toggle-size)}.checkbox__control .checkbox__icon svg{width:100%;height:100%}.checkbox:not(.checkbox--checked):not(.checkbox--disabled) .checkbox__control:hover{border-color:var(--six-input-border-color-hover)}.checkbox--checked .checkbox__control,.checkbox--indeterminate .checkbox__control{border-color:var(--six-selection-control-color);background-color:var(--six-selection-control-color)}.checkbox.checkbox--checked:not(.checkbox--disabled) .checkbox__control:hover,.checkbox.checkbox--indeterminate:not(.checkbox--disabled) .checkbox__control:hover{border-color:var(--six-input-border-color-focus);background-color:var(--six-input-border-color-focus)}.checkbox--disabled{cursor:not-allowed;color:var(--six-input-color-disabled)}.checkbox--disabled .checkbox__control{border-color:var(--six-input-border-color-disabled)}.checkbox--disabled.checkbox--checked .checkbox__control,.checkbox--disabled.checkbox--indeterminate .checkbox__control{background-color:var(--six-selection-control-color-disabled)}.checkbox--invalid:not(.checkbox--disabled) .checkbox__control{border-color:var(--six-input-border-color-danger)}.checkbox__text{line-height:var(--six-selection-control-toggle-size);margin-left:0.5em;user-select:none}";
11
-
12
- let id = 0;
13
- const SixCheckbox = class {
14
- constructor(hostRef) {
15
- index.registerInstance(this, hostRef);
16
- this.sixBlur = index.createEvent(this, "six-checkbox-blur", 7);
17
- this.sixChange = index.createEvent(this, "six-checkbox-change", 7);
18
- this.sixFocus = index.createEvent(this, "six-checkbox-focus", 7);
19
- this.inputId = `checkbox-${++id}`;
20
- this.labelId = `checkbox-label-${id}`;
21
- this.textId = `checkbox-text-${id}`;
22
- this.errorTextId = `input-error-text-${id}`;
23
- this.eventListeners = new eventListeners.EventListeners();
24
- this.handleChange = () => {
25
- if (this.nativeInput != null) {
26
- this.checked = this.nativeInput.checked;
27
- this.indeterminate = false;
28
- this.sixChange.emit();
29
- }
30
- };
31
- this.handleBlur = () => {
32
- this.hasFocus = false;
33
- this.sixBlur.emit();
34
- };
35
- this.handleFocus = () => {
36
- this.hasFocus = true;
37
- this.sixFocus.emit();
38
- };
39
- this.handleMouseDown = (event) => {
40
- var _a;
41
- // Prevent clicks on the label from briefly blurring the input
42
- event.preventDefault();
43
- (_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.focus();
44
- };
45
- this.hasFocus = false;
46
- this.hasLabelSlot = false;
47
- this.hasErrorSlot = false;
48
- this.name = '';
49
- this.value = 'on';
50
- this.disabled = false;
51
- this.required = false;
52
- this.label = '';
53
- this.errorText = '';
54
- this.errorTextCount = undefined;
55
- this.invalid = false;
56
- this.checked = false;
57
- this.indeterminate = false;
58
- }
59
- handleCheckedChange() {
60
- if (this.nativeInput == null)
61
- return;
62
- this.nativeInput.checked = this.checked;
63
- this.checked = this.nativeInput.checked;
64
- this.nativeInput.indeterminate = this.indeterminate;
65
- }
66
- handleLabelChange() {
67
- this.handleSlotChange();
68
- }
69
- connectedCallback() {
70
- var _a;
71
- (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.addEventListener('slotchange', this.handleSlotChange);
72
- this.eventListeners.forward('six-checkbox-change', 'change', this.host);
73
- this.eventListeners.forward('six-checkbox-blur', 'blur', this.host);
74
- this.eventListeners.forward('six-checkbox-focus', 'focus', this.host);
75
- }
76
- disconnectedCallback() {
77
- var _a;
78
- (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.removeEventListener('slotchange', this.handleSlotChange);
79
- this.eventListeners.removeAll();
80
- }
81
- componentWillLoad() {
82
- this.handleSlotChange();
83
- }
84
- componentDidLoad() {
85
- const nativeInput = this.nativeInput;
86
- if (nativeInput == null) {
87
- return;
88
- }
89
- nativeInput.indeterminate = this.indeterminate;
90
- }
91
- /** Sets focus on the checkbox. */
92
- async setFocus(options) {
93
- var _a;
94
- (_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.focus(options);
95
- }
96
- /** Removes focus from the checkbox. */
97
- async removeFocus() {
98
- var _a;
99
- (_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.blur();
100
- }
101
- handleSlotChange() {
102
- this.hasLabelSlot = slot.hasSlot(this.host, 'label');
103
- this.hasErrorSlot = slot.hasSlot(this.host, 'error-text');
104
- }
105
- render() {
106
- return (index.h(formControl.FormControl, { inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, errorTextId: this.errorTextId, hasErrorTextSlot: this.hasErrorSlot, errorText: this.errorText, errorTextCount: this.errorTextCount, size: "medium", disabled: this.disabled, required: this.required, displayError: this.invalid }, index.h("label", { part: "base", class: {
107
- checkbox: true,
108
- 'checkbox--checked': this.checked,
109
- 'checkbox--disabled': this.disabled,
110
- 'checkbox--focused': this.hasFocus,
111
- 'checkbox--invalid': this.invalid,
112
- 'checkbox--indeterminate': this.indeterminate,
113
- }, htmlFor: this.inputId, onMouseDown: this.handleMouseDown }, index.h("span", { part: "control", class: "checkbox__control" }, this.checked && (index.h("span", { part: "checked-icon", class: "checkbox__icon" }, index.h("svg", { viewBox: "0 0 16 16" }, index.h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" }, index.h("g", { stroke: "currentColor", "stroke-width": "2" }, index.h("g", { transform: "translate(3.428571, 3.428571)" }, index.h("path", { d: "M0,5.71428571 L3.42857143,9.14285714" }), index.h("path", { d: "M9.14285714,0 L3.42857143,9.14285714" }))))))), !this.checked && this.indeterminate && (index.h("span", { part: "indeterminate-icon", class: "checkbox__icon" }, index.h("svg", { viewBox: "0 0 16 16" }, index.h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" }, index.h("g", { stroke: "currentColor", "stroke-width": "2" }, index.h("g", { transform: "translate(2.285714, 6.857143)" }, index.h("path", { d: "M10.2857143,1.14285714 L1.14285714,1.14285714" }))))))), index.h("input", { ref: (el) => (this.nativeInput = el), id: this.inputId, type: "checkbox", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, required: this.required, role: "checkbox", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus })), index.h("span", { part: "text", id: this.textId, class: "checkbox__text" }, index.h("slot", null)))));
114
- }
115
- get host() { return index.getElement(this); }
116
- static get watchers() { return {
117
- "checked": ["handleCheckedChange"],
118
- "indeterminate": ["handleCheckedChange"],
119
- "errorText": ["handleLabelChange"],
120
- "label": ["handleLabelChange"]
121
- }; }
122
- };
123
- SixCheckbox.style = sixCheckboxCss;
124
-
125
- exports.six_checkbox = SixCheckbox;
126
-
127
- //# sourceMappingURL=six-checkbox.cjs.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"six-checkbox.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,cAAc,GAAG,imJAAimJ;;ACMxnJ,IAAI,EAAE,GAAG,CAAC,CAAC;MAuBE,WAAW;;;;;;IACd,YAAO,GAAG,YAAY,EAAE,EAAE,EAAE,CAAC;IAC7B,YAAO,GAAG,kBAAkB,EAAE,EAAE,CAAC;IACjC,WAAM,GAAG,iBAAiB,EAAE,EAAE,CAAC;IAC/B,gBAAW,GAAG,oBAAoB,EAAE,EAAE,CAAC;IAEvC,mBAAc,GAAG,IAAIA,6BAAc,EAAE,CAAC;IA0GtC,iBAAY,GAAG;MACrB,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;QAC5B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;QACxC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC3B,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;OACvB;KACF,CAAC;IAEM,eAAU,GAAG;MACnB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;MACtB,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;KACrB,CAAC;IAEM,gBAAW,GAAG;MACpB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;MACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;KACtB,CAAC;IAEM,oBAAe,GAAG,CAAC,KAAiB;;;MAE1C,KAAK,CAAC,cAAc,EAAE,CAAC;MACvB,MAAA,IAAI,CAAC,WAAW,0CAAE,KAAK,EAAE,CAAC;KAC3B,CAAC;oBA5HkB,KAAK;wBACD,KAAK;wBACL,KAAK;gBAGd,EAAE;iBASD,IAAI;oBAGD,KAAK;oBAGL,KAAK;iBAGR,EAAE;qBAGqB,EAAE;;mBAMN,KAAK;mBAGU,KAAK;yBAGC,KAAK;;EAa7D,mBAAmB;IACjB,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI;MAAE,OAAO;IAErC,IAAI,CAAC,WAAW,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;IACxC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;IACxC,IAAI,CAAC,WAAW,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC;GACrD;EAID,iBAAiB;IACf,IAAI,CAAC,gBAAgB,EAAE,CAAC;GACzB;EAED,iBAAiB;;IACf,MAAA,IAAI,CAAC,IAAI,CAAC,UAAU,0CAAE,gBAAgB,CAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC5E,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,qBAAqB,EAAE,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACxE,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,mBAAmB,EAAE,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpE,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,oBAAoB,EAAE,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;GACvE;EAED,oBAAoB;;IAClB,MAAA,IAAI,CAAC,IAAI,CAAC,UAAU,0CAAE,mBAAmB,CAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC/E,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,CAAC;GACjC;EAED,iBAAiB;IACf,IAAI,CAAC,gBAAgB,EAAE,CAAC;GACzB;EAED,gBAAgB;IACd,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;IACrC,IAAI,WAAW,IAAI,IAAI,EAAE;MACvB,OAAO;KACR;IAED,WAAW,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC;GAChD;;EAID,MAAM,QAAQ,CAAC,OAAsB;;IACnC,MAAA,IAAI,CAAC,WAAW,0CAAE,KAAK,CAAC,OAAO,CAAC,CAAC;GAClC;;EAID,MAAM,WAAW;;IACf,MAAA,IAAI,CAAC,WAAW,0CAAE,IAAI,EAAE,CAAC;GAC1B;EA0BO,gBAAgB;IACtB,IAAI,CAAC,YAAY,GAAGC,YAAO,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAChD,IAAI,CAAC,YAAY,GAAGA,YAAO,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;GACtD;EAED,MAAM;IACJ,QACEC,QAACC,uBAAW,IACV,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,gBAAgB,EAAE,IAAI,CAAC,YAAY,EACnC,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,cAAc,EAAE,IAAI,CAAC,cAAc,EACnC,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,YAAY,EAAE,IAAI,CAAC,OAAO,IAE1BD,mBACE,IAAI,EAAC,MAAM,EACX,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI;QACd,mBAAmB,EAAE,IAAI,CAAC,OAAO;QACjC,oBAAoB,EAAE,IAAI,CAAC,QAAQ;QACnC,mBAAmB,EAAE,IAAI,CAAC,QAAQ;QAClC,mBAAmB,EAAE,IAAI,CAAC,OAAO;QACjC,yBAAyB,EAAE,IAAI,CAAC,aAAa;OAC9C,EACD,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,WAAW,EAAE,IAAI,CAAC,eAAe,IAEjCA,kBAAM,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,mBAAmB,IAC3C,IAAI,CAAC,OAAO,KACXA,kBAAM,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,gBAAgB,IAC9CA,iBAAK,OAAO,EAAC,WAAW,IACtBA,eAAG,MAAM,EAAC,MAAM,kBAAc,GAAG,EAAC,IAAI,EAAC,MAAM,eAAW,SAAS,oBAAgB,OAAO,IACtFA,eAAG,MAAM,EAAC,cAAc,kBAAc,GAAG,IACvCA,eAAG,SAAS,EAAC,+BAA+B,IAC1CA,kBAAM,CAAC,EAAC,sCAAsC,GAAQ,EACtDA,kBAAM,CAAC,EAAC,sCAAsC,GAAQ,CACpD,CACF,CACF,CACA,CACD,CACR,EAEA,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,aAAa,KAClCA,kBAAM,IAAI,EAAC,oBAAoB,EAAC,KAAK,EAAC,gBAAgB,IACpDA,iBAAK,OAAO,EAAC,WAAW,IACtBA,eAAG,MAAM,EAAC,MAAM,kBAAc,GAAG,EAAC,IAAI,EAAC,MAAM,eAAW,SAAS,oBAAgB,OAAO,IACtFA,eAAG,MAAM,EAAC,cAAc,kBAAc,GAAG,IACvCA,eAAG,SAAS,EAAC,+BAA+B,IAC1CA,kBAAM,CAAC,EAAC,+CAA+C,GAAQ,CAC7D,CACF,CACF,CACA,CACD,CACR,EAEDA,mBACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,EACpC,EAAE,EAAE,IAAI,CAAC,OAAO,EAChB,IAAI,EAAC,UAAU,EACf,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAC,UAAU,kBACD,IAAI,CAAC,OAAO,GAAG,MAAM,GAAG,OAAO,qBAC5B,IAAI,CAAC,OAAO,EAC7B,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,MAAM,EAAE,IAAI,CAAC,UAAU,EACvB,OAAO,EAAE,IAAI,CAAC,WAAW,GACzB,CACG,EAEPA,kBAAM,IAAI,EAAC,MAAM,EAAC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,EAAC,gBAAgB,IACvDA,qBAAQ,CACH,CACD,CACI,EACd;GACH;;;;;;;;;;;;;","names":["EventListeners","hasSlot","h","FormControl"],"sources":["src/components/six-checkbox/six-checkbox.scss?tag=six-checkbox&encapsulation=shadow","src/components/six-checkbox/six-checkbox.tsx"],"sourcesContent":["@import 'src/global/component';\n@import '../../functional-components/form-control/form-control';\n\n:host {\n display: inline-block;\n}\n\n.checkbox {\n display: inline-flex;\n align-items: center;\n font-family: var(--six-font-family);\n font-size: var(--six-input-font-size-medium);\n font-weight: var(--six-input-font-weight);\n color: var(--six-input-color);\n vertical-align: middle;\n cursor: pointer;\n}\n\n.checkbox__control {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--six-selection-control-toggle-size);\n height: var(--six-selection-control-toggle-size);\n border: solid var(--six-border-width) var(--six-input-border-color);\n border-radius: 0;\n background-color: var(--six-input-background-color);\n color: var(--six-checkbox-color);\n transition: var(--six-transition-fast) border-color, var(--six-transition-fast) background-color,\n var(--six-transition-fast) color, var(--six-transition-fast) box-shadow;\n\n input[type='checkbox'] {\n position: absolute;\n opacity: 0;\n padding: 0;\n margin: 0;\n pointer-events: none;\n }\n\n .checkbox__icon {\n display: inline-flex;\n width: var(--six-selection-control-toggle-size);\n height: var(--six-selection-control-toggle-size);\n\n svg {\n width: 100%;\n height: 100%;\n }\n }\n}\n\n// Hover\n.checkbox:not(.checkbox--checked):not(.checkbox--disabled) .checkbox__control:hover {\n border-color: var(--six-input-border-color-hover);\n}\n\n// Checked/indeterminate\n.checkbox--checked .checkbox__control,\n.checkbox--indeterminate .checkbox__control {\n border-color: var(--six-selection-control-color);\n background-color: var(--six-selection-control-color);\n}\n\n// Checked/indeterminate + hover\n.checkbox.checkbox--checked:not(.checkbox--disabled) .checkbox__control:hover,\n.checkbox.checkbox--indeterminate:not(.checkbox--disabled) .checkbox__control:hover {\n border-color: var(--six-input-border-color-focus);\n background-color: var(--six-input-border-color-focus);\n}\n\n// Disabled\n.checkbox--disabled {\n cursor: not-allowed;\n color: var(--six-input-color-disabled);\n\n .checkbox__control {\n border-color: var(--six-input-border-color-disabled);\n }\n\n &.checkbox--checked .checkbox__control,\n &.checkbox--indeterminate .checkbox__control {\n background-color: var(--six-selection-control-color-disabled);\n }\n}\n\n// Invalid\n.checkbox--invalid:not(.checkbox--disabled) {\n .checkbox__control {\n border-color: var(--six-input-border-color-danger);\n }\n}\n\n.checkbox__text {\n line-height: var(--six-selection-control-toggle-size);\n margin-left: 0.5em;\n user-select: none;\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport FormControl from '../../functional-components/form-control/form-control';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot label - The checkbox label.\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part control - The checkbox control.\n * @part checked-icon - The container the wraps the checked icon.\n * @part indeterminate-icon - The container that wraps the indeterminate icon.\n * @part text - The checkbox text rendered to the right.\n */\n\n@Component({\n tag: 'six-checkbox',\n styleUrl: 'six-checkbox.scss',\n shadow: true,\n})\nexport class SixCheckbox {\n private inputId = `checkbox-${++id}`;\n private labelId = `checkbox-label-${id}`;\n private textId = `checkbox-text-${id}`;\n private errorTextId = `input-error-text-${id}`;\n private nativeInput?: HTMLInputElement;\n private eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixCheckboxElement;\n\n @State() hasFocus = false;\n @State() hasLabelSlot = false;\n @State() hasErrorSlot = false;\n\n /** The checkbox's name attribute. */\n @Prop() name = '';\n\n /**\n * The value of the checkbox does not mean if it's checked or not, use the `checked`\n * property for that.\n *\n * The value of a checkbox is analogous to the value of an `<input type=\"checkbox\">`,\n * it's only used when the checkbox participates in a native `<form>`.\n */\n @Prop() value = 'on';\n\n /** Set to true to disable the checkbox. */\n @Prop() disabled = false;\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** The label text. */\n @Prop() label = '';\n\n /** The error message shown, if `invalid` is set to true. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n /** Set to true to draw the checkbox in a checked state. */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /** Set to true to draw the checkbox in an indeterminate state. */\n @Prop({ mutable: true, reflect: true }) indeterminate = false;\n\n /** Emitted when the control loses focus. */\n @Event({ eventName: 'six-checkbox-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control's checked state changes. */\n @Event({ eventName: 'six-checkbox-change' }) sixChange!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-checkbox-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n @Watch('checked')\n @Watch('indeterminate')\n handleCheckedChange() {\n if (this.nativeInput == null) return;\n\n this.nativeInput.checked = this.checked;\n this.checked = this.nativeInput.checked;\n this.nativeInput.indeterminate = this.indeterminate;\n }\n\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-checkbox-change', 'change', this.host);\n this.eventListeners.forward('six-checkbox-blur', 'blur', this.host);\n this.eventListeners.forward('six-checkbox-focus', 'focus', this.host);\n }\n\n disconnectedCallback() {\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n componentDidLoad() {\n const nativeInput = this.nativeInput;\n if (nativeInput == null) {\n return;\n }\n\n nativeInput.indeterminate = this.indeterminate;\n }\n\n /** Sets focus on the checkbox. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.nativeInput?.focus(options);\n }\n\n /** Removes focus from the checkbox. */\n @Method()\n async removeFocus() {\n this.nativeInput?.blur();\n }\n\n private handleChange = () => {\n if (this.nativeInput != null) {\n this.checked = this.nativeInput.checked;\n this.indeterminate = false;\n this.sixChange.emit();\n }\n };\n\n private handleBlur = () => {\n this.hasFocus = false;\n this.sixBlur.emit();\n };\n\n private handleFocus = () => {\n this.hasFocus = true;\n this.sixFocus.emit();\n };\n\n private handleMouseDown = (event: MouseEvent) => {\n // Prevent clicks on the label from briefly blurring the input\n event.preventDefault();\n this.nativeInput?.focus();\n };\n\n private handleSlotChange() {\n this.hasLabelSlot = hasSlot(this.host, 'label');\n this.hasErrorSlot = hasSlot(this.host, 'error-text');\n }\n\n render() {\n return (\n <FormControl\n inputId={this.inputId}\n label={this.label}\n labelId={this.labelId}\n hasLabelSlot={this.hasLabelSlot}\n errorTextId={this.errorTextId}\n hasErrorTextSlot={this.hasErrorSlot}\n errorText={this.errorText}\n errorTextCount={this.errorTextCount}\n size=\"medium\"\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <label\n part=\"base\"\n class={{\n checkbox: true,\n 'checkbox--checked': this.checked,\n 'checkbox--disabled': this.disabled,\n 'checkbox--focused': this.hasFocus,\n 'checkbox--invalid': this.invalid,\n 'checkbox--indeterminate': this.indeterminate,\n }}\n htmlFor={this.inputId}\n onMouseDown={this.handleMouseDown}\n >\n <span part=\"control\" class=\"checkbox__control\">\n {this.checked && (\n <span part=\"checked-icon\" class=\"checkbox__icon\">\n <svg viewBox=\"0 0 16 16\">\n <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" stroke-linecap=\"round\">\n <g stroke=\"currentColor\" stroke-width=\"2\">\n <g transform=\"translate(3.428571, 3.428571)\">\n <path d=\"M0,5.71428571 L3.42857143,9.14285714\"></path>\n <path d=\"M9.14285714,0 L3.42857143,9.14285714\"></path>\n </g>\n </g>\n </g>\n </svg>\n </span>\n )}\n\n {!this.checked && this.indeterminate && (\n <span part=\"indeterminate-icon\" class=\"checkbox__icon\">\n <svg viewBox=\"0 0 16 16\">\n <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" stroke-linecap=\"round\">\n <g stroke=\"currentColor\" stroke-width=\"2\">\n <g transform=\"translate(2.285714, 6.857143)\">\n <path d=\"M10.2857143,1.14285714 L1.14285714,1.14285714\"></path>\n </g>\n </g>\n </g>\n </svg>\n </span>\n )}\n\n <input\n ref={(el) => (this.nativeInput = el)}\n id={this.inputId}\n type=\"checkbox\"\n name={this.name}\n value={this.value}\n checked={this.checked}\n disabled={this.disabled}\n required={this.required}\n role=\"checkbox\"\n aria-checked={this.checked ? 'true' : 'false'}\n aria-labelledby={this.labelId}\n onChange={this.handleChange}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n />\n </span>\n\n <span part=\"text\" id={this.textId} class=\"checkbox__text\">\n <slot />\n </span>\n </label>\n </FormControl>\n );\n }\n}\n"],"version":3}
@@ -1,63 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-900437fc.js');
6
- const slot = require('./slot-6e6a400f.js');
7
-
8
- const sixMenuItemCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:block}.menu-item{position:relative;display:flex;align-items:stretch;font-family:var(--six-font-sans);font-size:var(--six-font-size-small);font-weight:var(--six-font-weight-normal);line-height:var(--six-line-height-normal);letter-spacing:var(--six-letter-spacing-normal);text-align:left;color:var(--six-input-color);border-radius:var(--six-border-radius-medium);padding:var(--six-spacing-medium) var(--six-spacing-medium);transition:var(--six-transition-fast) fill;user-select:none;white-space:nowrap;cursor:pointer}.menu-item.menu-item--focused:not(.menu-item--disabled){outline:none;background-color:var(--six-menu-item-background-color)}.menu-item.menu-item--disabled{outline:none;color:var(--six-input-color-disabled);cursor:not-allowed}.menu-item .menu-item__label{flex:1 1 auto;align-self:center}.menu-item .menu-item__prefix{flex:0 0 auto;display:flex;align-items:center}.menu-item .menu-item__prefix ::slotted(:last-child){margin-right:0.5em}.menu-item .menu-item__suffix{flex:0 0 auto;display:flex;align-items:center}.menu-item .menu-item__suffix ::slotted(:first-child){margin-left:0.5em}.menu-item .menu-item__check{flex:0 0 auto;display:flex;align-items:center;margin-left:var(--six-spacing-small);visibility:hidden;font-size:inherit}.menu-item--checked .menu-item__check{visibility:visible}";
9
-
10
- const SixMenuItem = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.hasFocus = false;
14
- this.checked = false;
15
- this.value = '';
16
- this.disabled = false;
17
- }
18
- connectedCallback() {
19
- this.handleBlur = this.handleBlur.bind(this);
20
- this.handleFocus = this.handleFocus.bind(this);
21
- this.handleMouseEnter = this.handleMouseEnter.bind(this);
22
- this.handleMouseLeave = this.handleMouseLeave.bind(this);
23
- }
24
- /** Sets focus on the button. */
25
- async setFocus(options) {
26
- var _a;
27
- (_a = this.menuItem) === null || _a === void 0 ? void 0 : _a.focus(options);
28
- }
29
- /** Removes focus from the button. */
30
- async removeFocus() {
31
- var _a;
32
- (_a = this.menuItem) === null || _a === void 0 ? void 0 : _a.blur();
33
- }
34
- /** Returns a text label based on the contents of the menu item's default slot. */
35
- getTextLabel() {
36
- return Promise.resolve(slot.getTextContent(this.defaultSlot));
37
- }
38
- handleBlur() {
39
- this.hasFocus = false;
40
- }
41
- handleFocus() {
42
- this.hasFocus = true;
43
- }
44
- handleMouseEnter() {
45
- return this.setFocus();
46
- }
47
- handleMouseLeave() {
48
- return this.removeFocus();
49
- }
50
- render() {
51
- return (index.h("div", { ref: (el) => (this.menuItem = el), part: "base", class: {
52
- 'menu-item': true,
53
- 'menu-item--checked': this.checked,
54
- 'menu-item--disabled': this.disabled,
55
- 'menu-item--focused': this.hasFocus,
56
- }, role: "menuitem", "aria-disabled": this.disabled ? 'true' : 'false', "aria-checked": this.checked ? 'true' : 'false', tabIndex: !this.disabled ? 0 : undefined, onFocus: this.handleFocus, onBlur: this.handleBlur, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, index.h("span", { part: "prefix", class: "menu-item__prefix" }, index.h("slot", { name: "prefix" })), index.h("span", { part: "label", class: "menu-item__label" }, index.h("slot", { ref: (el) => (this.defaultSlot = el) })), index.h("span", { part: "suffix", class: "menu-item__suffix" }, index.h("slot", { name: "suffix" })), index.h("span", { part: "checked-icon", class: "menu-item__check" }, index.h("six-icon", { size: "small", "aria-hidden": "true" }, "check"))));
57
- }
58
- };
59
- SixMenuItem.style = sixMenuItemCss;
60
-
61
- exports.six_menu_item = SixMenuItem;
62
-
63
- //# sourceMappingURL=six-menu-item.cjs.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"six-menu-item.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,cAAc,GAAG,44CAA44C;;MCyBt5C,WAAW;;;oBAIF,KAAK;mBAGU,KAAK;iBAGP,EAAE;oBAGC,KAAK;;EAEzC,iBAAiB;IACf,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/C,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACzD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;GAC1D;;EAID,MAAM,QAAQ,CAAC,OAAsB;;IACnC,MAAA,IAAI,CAAC,QAAQ,0CAAE,KAAK,CAAC,OAAO,CAAC,CAAC;GAC/B;;EAID,MAAM,WAAW;;IACf,MAAA,IAAI,CAAC,QAAQ,0CAAE,IAAI,EAAE,CAAC;GACvB;;EAID,YAAY;IACV,OAAO,OAAO,CAAC,OAAO,CAACA,mBAAc,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;GAC1D;EAEO,UAAU;IAChB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;GACvB;EAEO,WAAW;IACjB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;GACtB;EAEO,gBAAgB;IACtB,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;GACxB;EAEO,gBAAgB;IACtB,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC;GAC3B;EAED,MAAM;IACJ,QACEC,iBACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC,EACjC,IAAI,EAAC,MAAM,EACX,KAAK,EAAE;QACL,WAAW,EAAE,IAAI;QACjB,oBAAoB,EAAE,IAAI,CAAC,OAAO;QAClC,qBAAqB,EAAE,IAAI,CAAC,QAAQ;QACpC,oBAAoB,EAAE,IAAI,CAAC,QAAQ;OACpC,EACD,IAAI,EAAC,UAAU,mBACA,IAAI,CAAC,QAAQ,GAAG,MAAM,GAAG,OAAO,kBACjC,IAAI,CAAC,OAAO,GAAG,MAAM,GAAG,OAAO,EAC7C,QAAQ,EAAE,CAAC,IAAI,CAAC,QAAQ,GAAG,CAAC,GAAG,SAAS,EACxC,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,MAAM,EAAE,IAAI,CAAC,UAAU,EACvB,YAAY,EAAE,IAAI,CAAC,gBAAgB,EACnC,YAAY,EAAE,IAAI,CAAC,gBAAgB,IAEnCA,kBAAM,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,mBAAmB,IAC3CA,kBAAM,IAAI,EAAC,QAAQ,GAAG,CACjB,EAEPA,kBAAM,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,kBAAkB,IACzCA,kBAAM,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,WAAW,GAAG,EAAqB,CAAC,GAAI,CAC5D,EAEPA,kBAAM,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,mBAAmB,IAC3CA,kBAAM,IAAI,EAAC,QAAQ,GAAG,CACjB,EAEPA,kBAAM,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,kBAAkB,IAChDA,sBAAU,IAAI,EAAC,OAAO,iBAAa,MAAM,YAE9B,CACN,CACH,EACN;GACH;;;;;;","names":["getTextContent","h"],"sources":["src/components/six-menu-item/six-menu-item.scss?tag=six-menu-item&encapsulation=shadow","src/components/six-menu-item/six-menu-item.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: block;\n}\n\n.menu-item {\n position: relative;\n display: flex;\n align-items: stretch;\n font-family: var(--six-font-sans);\n font-size: var(--six-font-size-small);\n font-weight: var(--six-font-weight-normal);\n line-height: var(--six-line-height-normal);\n letter-spacing: var(--six-letter-spacing-normal);\n text-align: left;\n color: var(--six-input-color);\n border-radius: var(--six-border-radius-medium);\n padding: var(--six-spacing-medium) var(--six-spacing-medium);\n transition: var(--six-transition-fast) fill;\n user-select: none;\n white-space: nowrap;\n cursor: pointer;\n\n &.menu-item--focused:not(.menu-item--disabled) {\n outline: none;\n background-color: var(--six-menu-item-background-color);\n }\n\n &.menu-item--disabled {\n outline: none;\n color: var(--six-input-color-disabled);\n cursor: not-allowed;\n }\n\n .menu-item__label {\n flex: 1 1 auto;\n align-self: center;\n }\n\n .menu-item__prefix {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n\n ::slotted(:last-child) {\n margin-right: 0.5em;\n }\n }\n\n .menu-item__suffix {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n\n ::slotted(:first-child) {\n margin-left: 0.5em;\n }\n }\n\n .menu-item__check {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n margin-left: var(--six-spacing-small);\n visibility: hidden;\n font-size: inherit;\n }\n}\n\n.menu-item--checked .menu-item__check {\n visibility: visible;\n}\n","import { Component, h, Method, Prop, State } from '@stencil/core';\nimport { getTextContent } from '../../utils/slot';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The menu item's label.\n * @slot prefix - Used to prepend an icon or similar element to the menu item.\n * @slot suffix - Used to append an icon or similar element to the menu item.\n *\n * @part base - The component's base wrapper.\n * @part checked-icon - The container that wraps the checked icon.\n * @part prefix - The prefix container.\n * @part label - The menu item label.\n * @part suffix - The suffix container.\n */\n\n@Component({\n tag: 'six-menu-item',\n styleUrl: 'six-menu-item.scss',\n shadow: true,\n})\nexport class SixMenuItem {\n private menuItem?: HTMLElement;\n private defaultSlot?: HTMLSlotElement;\n\n @State() hasFocus = false;\n\n /** Set to true to draw the item in a checked state. */\n @Prop({ reflect: true }) checked = false;\n\n /** A unique value to store in the menu item. This can be used as a way to identify menu items when selected. */\n @Prop({ reflect: true }) value = '';\n\n /** Set to true to draw the menu item in a disabled state. */\n @Prop({ reflect: true }) disabled = false;\n\n connectedCallback() {\n this.handleBlur = this.handleBlur.bind(this);\n this.handleFocus = this.handleFocus.bind(this);\n this.handleMouseEnter = this.handleMouseEnter.bind(this);\n this.handleMouseLeave = this.handleMouseLeave.bind(this);\n }\n\n /** Sets focus on the button. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.menuItem?.focus(options);\n }\n\n /** Removes focus from the button. */\n @Method()\n async removeFocus() {\n this.menuItem?.blur();\n }\n\n /** Returns a text label based on the contents of the menu item's default slot. */\n @Method()\n getTextLabel() {\n return Promise.resolve(getTextContent(this.defaultSlot));\n }\n\n private handleBlur() {\n this.hasFocus = false;\n }\n\n private handleFocus() {\n this.hasFocus = true;\n }\n\n private handleMouseEnter() {\n return this.setFocus();\n }\n\n private handleMouseLeave() {\n return this.removeFocus();\n }\n\n render() {\n return (\n <div\n ref={(el) => (this.menuItem = el)}\n part=\"base\"\n class={{\n 'menu-item': true,\n 'menu-item--checked': this.checked,\n 'menu-item--disabled': this.disabled,\n 'menu-item--focused': this.hasFocus,\n }}\n role=\"menuitem\"\n aria-disabled={this.disabled ? 'true' : 'false'}\n aria-checked={this.checked ? 'true' : 'false'}\n tabIndex={!this.disabled ? 0 : undefined}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n >\n <span part=\"prefix\" class=\"menu-item__prefix\">\n <slot name=\"prefix\" />\n </span>\n\n <span part=\"label\" class=\"menu-item__label\">\n <slot ref={(el) => (this.defaultSlot = el as HTMLSlotElement)} />\n </span>\n\n <span part=\"suffix\" class=\"menu-item__suffix\">\n <slot name=\"suffix\" />\n </span>\n\n <span part=\"checked-icon\" class=\"menu-item__check\">\n <six-icon size=\"small\" aria-hidden=\"true\">\n check\n </six-icon>\n </span>\n </div>\n );\n }\n}\n"],"version":3}
@@ -1,53 +0,0 @@
1
- 'use strict';
2
-
3
- //
4
- // Given a slot, this function iterates over all of its assigned text nodes and returns the concatenated text as a
5
- // string. This is useful because we can't use slot.textContent as an alternative.
6
- //
7
- function getTextContent(slot) {
8
- const nodes = slot != null ? slot.assignedNodes({ flatten: true }) : [];
9
- let text = '';
10
- [...nodes].map((node) => {
11
- if (node.nodeType === Node.TEXT_NODE) {
12
- text += node.textContent;
13
- }
14
- });
15
- return text;
16
- }
17
- //
18
- // Determines whether an element has a slot. If name is specified, the function will look for a corresponding named
19
- // slot, otherwise it will look for a "default" slot (e.g. a non-empty text node or an element with no slot attribute).
20
- //
21
- function hasSlot(el, name) {
22
- // Look for a named slot
23
- if (name != null && name !== '') {
24
- return el.querySelector(`[slot="${name}"]`) !== null;
25
- }
26
- // Look for a default slot
27
- return Array.from(el.childNodes).some((node) => {
28
- var _a;
29
- if (node.nodeType === node.TEXT_NODE && ((_a = node.textContent) === null || _a === void 0 ? void 0 : _a.trim()) !== '') {
30
- return true;
31
- }
32
- if (node.nodeType === node.ELEMENT_NODE) {
33
- const el = node;
34
- if (!el.hasAttribute('slot')) {
35
- return true;
36
- }
37
- }
38
- return false;
39
- });
40
- }
41
- const getSlotChildren = (el) => { var _a; return (_a = el.querySelector('slot')) === null || _a === void 0 ? void 0 : _a.assignedElements({ flatten: true }); };
42
- function getSlot(element, slotName) {
43
- if (element == null)
44
- return null;
45
- return element.querySelector(`[slot="${slotName}"]`);
46
- }
47
-
48
- exports.getSlot = getSlot;
49
- exports.getSlotChildren = getSlotChildren;
50
- exports.getTextContent = getTextContent;
51
- exports.hasSlot = hasSlot;
52
-
53
- //# sourceMappingURL=slot-6e6a400f.js.map
@@ -1 +0,0 @@
1
- {"file":"slot-6e6a400f.js","mappings":";;AAAA;AACA;AACA;AACA;SACgB,cAAc,CAAC,IAAsB;EACnD,MAAM,KAAK,GAAG,IAAI,IAAI,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,GAAG,EAAE,CAAC;EACxE,IAAI,IAAI,GAAG,EAAE,CAAC;EAEd,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI;IAClB,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,SAAS,EAAE;MACpC,IAAI,IAAI,IAAI,CAAC,WAAW,CAAC;KAC1B;GACF,CAAC,CAAC;EAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED;AACA;AACA;AACA;SACgB,OAAO,CAAC,EAAe,EAAE,IAAa;;EAEpD,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,KAAK,EAAE,EAAE;IAC/B,OAAO,EAAE,CAAC,aAAa,CAAC,UAAU,IAAI,IAAI,CAAC,KAAK,IAAI,CAAC;GACtD;;EAGD,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI;;IACzC,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,SAAS,IAAI,CAAA,MAAA,IAAI,CAAC,WAAW,0CAAE,IAAI,EAAE,MAAK,EAAE,EAAE;MACvE,OAAO,IAAI,CAAC;KACb;IAED,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,YAAY,EAAE;MACvC,MAAM,EAAE,GAAG,IAAmB,CAAC;MAC/B,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE;QAC5B,OAAO,IAAI,CAAC;OACb;KACF;IAED,OAAO,KAAK,CAAC;GACd,CAAC,CAAC;AACL,CAAC;MAEY,eAAe,GAAG,CAAwB,EAAe,eACpE,OAAA,MAAA,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,0CAAE,gBAAgB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAQ,CAAA,GAAC;SAEvD,OAAO,CAAC,OAAsC,EAAE,QAAgB;EAC9E,IAAI,OAAO,IAAI,IAAI;IAAE,OAAO,IAAI,CAAC;EACjC,OAAO,OAAO,CAAC,aAAa,CAAC,UAAU,QAAQ,IAAI,CAAC,CAAC;AACvD;;;;;;;","names":[],"sources":["src/utils/slot.ts"],"sourcesContent":["//\n// Given a slot, this function iterates over all of its assigned text nodes and returns the concatenated text as a\n// string. This is useful because we can't use slot.textContent as an alternative.\n//\nexport function getTextContent(slot?: HTMLSlotElement): string {\n const nodes = slot != null ? slot.assignedNodes({ flatten: true }) : [];\n let text = '';\n\n [...nodes].map((node) => {\n if (node.nodeType === Node.TEXT_NODE) {\n text += node.textContent;\n }\n });\n\n return text;\n}\n\n//\n// Determines whether an element has a slot. If name is specified, the function will look for a corresponding named\n// slot, otherwise it will look for a \"default\" slot (e.g. a non-empty text node or an element with no slot attribute).\n//\nexport function hasSlot(el: HTMLElement, name?: string): boolean {\n // Look for a named slot\n if (name != null && name !== '') {\n return el.querySelector(`[slot=\"${name}\"]`) !== null;\n }\n\n // Look for a default slot\n return Array.from(el.childNodes).some((node) => {\n if (node.nodeType === node.TEXT_NODE && node.textContent?.trim() !== '') {\n return true;\n }\n\n if (node.nodeType === node.ELEMENT_NODE) {\n const el = node as HTMLElement;\n if (!el.hasAttribute('slot')) {\n return true;\n }\n }\n\n return false;\n });\n}\n\nexport const getSlotChildren = <T extends HTMLElement>(el: HTMLElement) =>\n el.querySelector('slot')?.assignedElements({ flatten: true }) as T[];\n\nexport function getSlot(element: ParentNode | null | undefined, slotName: string): HTMLElement | null {\n if (element == null) return null;\n return element.querySelector(`[slot=\"${slotName}\"]`);\n}\n"],"version":3}
@@ -1,17 +0,0 @@
1
- 'use strict';
2
-
3
- exports.ItemPickerType = void 0;
4
- (function (ItemPickerType) {
5
- ItemPickerType["NUMBER"] = "number";
6
- ItemPickerType["LETTER"] = "letter";
7
- ItemPickerType["CAPITAL_LETTER"] = "capital-letter";
8
- ItemPickerType["LOWER_LETTER"] = "lower-letter";
9
- ItemPickerType["CUSTOM"] = "custom";
10
- })(exports.ItemPickerType || (exports.ItemPickerType = {}));
11
- exports.ItemPickerPaddingDirection = void 0;
12
- (function (ItemPickerPaddingDirection) {
13
- ItemPickerPaddingDirection["BEFORE"] = "before";
14
- ItemPickerPaddingDirection["AFTER"] = "after";
15
- })(exports.ItemPickerPaddingDirection || (exports.ItemPickerPaddingDirection = {}));
16
-
17
- //# sourceMappingURL=types-47199040.js.map
@@ -1 +0,0 @@
1
- {"file":"types-47199040.js","mappings":";;AAAYA;AAAZ,WAAY,cAAc;EACxB,mCAAiB,CAAA;EACjB,mCAAiB,CAAA;EACjB,mDAAiC,CAAA;EACjC,+CAA6B,CAAA;EAC7B,mCAAiB,CAAA;AACnB,CAAC,EANWA,sBAAc,KAAdA,sBAAc,QAMzB;AAEWC;AAAZ,WAAY,0BAA0B;EACpC,+CAAiB,CAAA;EACjB,6CAAe,CAAA;AACjB,CAAC,EAHWA,kCAA0B,KAA1BA,kCAA0B;;","names":["ItemPickerType","ItemPickerPaddingDirection"],"sources":["src/components/six-item-picker/types.ts"],"sourcesContent":["export enum ItemPickerType {\n NUMBER = 'number',\n LETTER = 'letter',\n CAPITAL_LETTER = 'capital-letter',\n LOWER_LETTER = 'lower-letter',\n CUSTOM = 'custom',\n}\n\nexport enum ItemPickerPaddingDirection {\n BEFORE = 'before',\n AFTER = 'after',\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 90 26" xmlns="http://www.w3.org/2000/svg"><g fill="#DE3919" fill-rule="nonzero"><path d="m22.798 3.869c1.82-2.168 4.549-3.545 7.6-3.545h6.807v4.961h-6.807c-1.526 0-2.89.689-3.8 1.771l-12.19 14.526c-1.82 2.166-4.549 3.545-7.6 3.545h-6.808v-4.961h6.808c1.525 0 2.889-.689 3.799-1.773l12.191-14.525"/><path d="m42.16.324h5.21v24.806h-5.21z"/><path d="m66.743 3.869l4.195 4.999 4.195-4.999c1.819-2.168 4.549-3.545 7.6-3.545h6.806v4.961h-6.806c-1.526 0-2.89.689-3.8 1.771l-4.758 5.669 4.758 5.669c.91 1.084 2.274 1.773 3.8 1.773h6.806v4.961h-6.806c-3.051 0-5.781-1.379-7.6-3.545l-4.195-4.999-4.195 4.999c-1.82 2.166-4.55 3.545-7.6 3.545h-6.807v-4.961h6.807c1.525 0 2.889-.689 3.799-1.773l4.758-5.669-4.758-5.669c-.91-1.083-2.274-1.771-3.799-1.771h-6.807v-4.961h6.807c3.05 0 5.78 1.378 7.6 3.545"/></g></svg>
@@ -1,133 +0,0 @@
1
- import { newSpecPage } from "@stencil/core/testing";
2
- import { SixHeader } from "../six-header";
3
- describe('six-header', () => {
4
- it('renders', async () => {
5
- const page = await newSpecPage({
6
- components: [SixHeader],
7
- html: `<six-header></six-header>`,
8
- });
9
- expect(page.root).toEqualHtml(`
10
- <six-header>
11
- <mock:shadow-root>
12
- <header class="six-header">
13
- <section class="six-header__menu">
14
- <six-icon-button name="menu"></six-icon-button>
15
- </section>
16
- <section class="six-header__logo">
17
- <svg height="20" viewBox="0 0 90 26" xmlns="http://www.w3.org/2000/svg">
18
- <title>
19
- SIX
20
- </title>
21
- <g fill="#DE3919" fill-rule="nonzero">
22
- <path d="m22.798 3.869c1.82-2.168 4.549-3.545 7.6-3.545h6.807v4.961h-6.807c-1.526 0-2.89.689-3.8 1.771l-12.19 14.526c-1.82 2.166-4.549 3.545-7.6 3.545h-6.808v-4.961h6.808c1.525 0 2.889-.689 3.799-1.773l12.191-14.525"></path>
23
- <path d="m42.16.324h5.21v24.806h-5.21z"></path>
24
- <path d="m66.743 3.869l4.195 4.999 4.195-4.999c1.819-2.168 4.549-3.545 7.6-3.545h6.806v4.961h-6.806c-1.526 0-2.89.689-3.8 1.771l-4.758 5.669 4.758 5.669c.91 1.084 2.274 1.773 3.8 1.773h6.806v4.961h-6.806c-3.051 0-5.781-1.379-7.6-3.545l-4.195-4.999-4.195 4.999c-1.82 2.166-4.55 3.545-7.6 3.545h-6.807v-4.961h6.807c1.525 0 2.889-.689 3.799-1.773l4.758-5.669-4.758-5.669c-.91-1.083-2.274-1.771-3.799-1.771h-6.807v-4.961h6.807c3.05 0 5.78 1.378 7.6 3.545"></path>
25
- </g>
26
- </svg>
27
-
28
- </section>
29
- <section class="six-header__placeholder"></section>
30
- <section class="six-header__custom">
31
- <slot></slot>
32
- </section>
33
- </header>
34
- <div class="six-header__search-field">
35
- <slot name="search-field"></slot>
36
- </div>
37
- </mock:shadow-root>
38
- </six-header>
39
- `);
40
- });
41
- it('should render custom logo ', async () => {
42
- // given
43
- const html = `<six-header><div slot="logo">custom logo</div></six-header>`;
44
- // when
45
- const page = await newSpecPage({
46
- components: [SixHeader],
47
- html: html,
48
- });
49
- // then
50
- expect(page.root).toEqualHtml(`
51
- <six-header>
52
- <mock:shadow-root>
53
- <header class="six-header">
54
- <section class="six-header__menu">
55
- <six-icon-button name="menu"></six-icon-button>
56
- </section>
57
- <section>
58
- <slot name="logo"></slot>
59
- </section>
60
- <section class="six-header__placeholder"></section>
61
- <section class="six-header__custom">
62
- <slot></slot>
63
- </section>
64
- </header>
65
- <div class="six-header__search-field">
66
- <slot name="search-field"></slot>
67
- </div>
68
- </mock:shadow-root>
69
- <div slot="logo">
70
- custom logo
71
- </div>
72
- </six-header>
73
- `);
74
- });
75
- it('should render app switcher', async () => {
76
- // given
77
- const html = `<six-header>
78
- <six-menu slot="app-switcher-menu">
79
- <six-menu-item checked="checked">Custody</six-menu-item>
80
- <six-menu-item>Swiss Interbank Clearing</six-menu-item>
81
- </six-menu>
82
- </six-header>`;
83
- // when
84
- const page = await newSpecPage({
85
- components: [SixHeader],
86
- html: html,
87
- });
88
- // then
89
- expect(page.root).toEqualHtml(`
90
- <six-header>
91
- <mock:shadow-root>
92
- <header class="six-header">
93
- <section class="six-header__menu">
94
- <six-icon-button name="menu"></six-icon-button>
95
- </section>
96
- <section class="six-header__logo">
97
- <svg height="20" viewBox="0 0 90 26" xmlns="http://www.w3.org/2000/svg">
98
- <title>
99
- SIX
100
- </title>
101
- <g fill="#DE3919" fill-rule="nonzero">
102
- <path d="m22.798 3.869c1.82-2.168 4.549-3.545 7.6-3.545h6.807v4.961h-6.807c-1.526 0-2.89.689-3.8 1.771l-12.19 14.526c-1.82 2.166-4.549 3.545-7.6 3.545h-6.808v-4.961h6.808c1.525 0 2.889-.689 3.799-1.773l12.191-14.525"></path>
103
- <path d="m42.16.324h5.21v24.806h-5.21z"></path>
104
- <path d="m66.743 3.869l4.195 4.999 4.195-4.999c1.819-2.168 4.549-3.545 7.6-3.545h6.806v4.961h-6.806c-1.526 0-2.89.689-3.8 1.771l-4.758 5.669 4.758 5.669c.91 1.084 2.274 1.773 3.8 1.773h6.806v4.961h-6.806c-3.051 0-5.781-1.379-7.6-3.545l-4.195-4.999-4.195 4.999c-1.82 2.166-4.55 3.545-7.6 3.545h-6.807v-4.961h6.807c1.525 0 2.889-.689 3.799-1.773l4.758-5.669-4.758-5.669c-.91-1.083-2.274-1.771-3.799-1.771h-6.807v-4.961h6.807c3.05 0 5.78 1.378 7.6 3.545"></path>
105
- </g>
106
- </svg>
107
-
108
- </section>
109
- <section class="six-header__placeholder"></section>
110
- <section class="six-header__custom">
111
- <slot></slot>
112
- </section>
113
- <section class="six-header__app-switcher">
114
- <a class="six-header__selected-app">Custody</a>
115
- <six-dropdown distance="13" placement="bottom-end" skidding="20">
116
- <six-icon-button name="apps" slot="trigger"></six-icon-button>
117
- <slot name="app-switcher-menu"></slot>
118
- </six-dropdown>
119
- </section>
120
- </header>
121
- <div class="six-header__search-field">
122
- <slot name="search-field"></slot>
123
- </div>
124
- </mock:shadow-root>
125
- <six-menu slot="app-switcher-menu">
126
- <six-menu-item checked="checked">Custody</six-menu-item>
127
- <six-menu-item>Swiss Interbank Clearing</six-menu-item>
128
- </six-menu>
129
- </six-header>
130
- `);
131
- });
132
- });
133
- //# sourceMappingURL=six-header.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"six-header.spec.js","sourceRoot":"","sources":["../../../../src/components/six-header/test/six-header.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,QAAQ,CAAC,YAAY,EAAE,GAAG,EAAE;EAC1B,EAAE,CAAC,SAAS,EAAE,KAAK,IAAI,EAAE;IACvB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,SAAS,CAAC;MACvB,IAAI,EAAE,2BAA2B;KAClC,CAAC,CAAC;IACH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA8B7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,4BAA4B,EAAE,KAAK,IAAI,EAAE;IAC1C,QAAQ;IACR,MAAM,IAAI,GAAG,6DAA6D,CAAC;IAE3E,OAAO;IACP,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,SAAS,CAAC;MACvB,IAAI,EAAE,IAAI;KACX,CAAC,CAAC;IAEH,OAAO;IACP,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;KAuB7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,4BAA4B,EAAE,KAAK,IAAI,EAAE;IAC1C,QAAQ;IACR,MAAM,IAAI,GAAG;;;;;gCAKe,CAAC;IAE7B,OAAO;IACP,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,SAAS,CAAC;MACvB,IAAI,EAAE,IAAI;KACX,CAAC,CAAC;IAEH,OAAO;IACP,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAyC7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from '@stencil/core/testing';\nimport { SixHeader } from '../six-header';\n\ndescribe('six-header', () => {\n it('renders', async () => {\n const page = await newSpecPage({\n components: [SixHeader],\n html: `<six-header></six-header>`,\n });\n expect(page.root).toEqualHtml(`\n <six-header>\n <mock:shadow-root>\n <header class=\"six-header\">\n <section class=\"six-header__menu\">\n <six-icon-button name=\"menu\"></six-icon-button>\n </section>\n <section class=\"six-header__logo\">\n <svg height=\"20\" viewBox=\"0 0 90 26\" xmlns=\"http://www.w3.org/2000/svg\">\n <title>\n SIX\n </title>\n <g fill=\"#DE3919\" fill-rule=\"nonzero\">\n <path d=\"m22.798 3.869c1.82-2.168 4.549-3.545 7.6-3.545h6.807v4.961h-6.807c-1.526 0-2.89.689-3.8 1.771l-12.19 14.526c-1.82 2.166-4.549 3.545-7.6 3.545h-6.808v-4.961h6.808c1.525 0 2.889-.689 3.799-1.773l12.191-14.525\"></path>\n <path d=\"m42.16.324h5.21v24.806h-5.21z\"></path>\n <path d=\"m66.743 3.869l4.195 4.999 4.195-4.999c1.819-2.168 4.549-3.545 7.6-3.545h6.806v4.961h-6.806c-1.526 0-2.89.689-3.8 1.771l-4.758 5.669 4.758 5.669c.91 1.084 2.274 1.773 3.8 1.773h6.806v4.961h-6.806c-3.051 0-5.781-1.379-7.6-3.545l-4.195-4.999-4.195 4.999c-1.82 2.166-4.55 3.545-7.6 3.545h-6.807v-4.961h6.807c1.525 0 2.889-.689 3.799-1.773l4.758-5.669-4.758-5.669c-.91-1.083-2.274-1.771-3.799-1.771h-6.807v-4.961h6.807c3.05 0 5.78 1.378 7.6 3.545\"></path>\n </g>\n </svg>\n\n </section>\n <section class=\"six-header__placeholder\"></section>\n <section class=\"six-header__custom\">\n <slot></slot>\n </section>\n </header>\n <div class=\"six-header__search-field\">\n <slot name=\"search-field\"></slot>\n </div>\n </mock:shadow-root>\n </six-header>\n `);\n });\n\n it('should render custom logo ', async () => {\n // given\n const html = `<six-header><div slot=\"logo\">custom logo</div></six-header>`;\n\n // when\n const page = await newSpecPage({\n components: [SixHeader],\n html: html,\n });\n\n // then\n expect(page.root).toEqualHtml(`\n <six-header>\n <mock:shadow-root>\n <header class=\"six-header\">\n <section class=\"six-header__menu\">\n <six-icon-button name=\"menu\"></six-icon-button>\n </section>\n <section>\n <slot name=\"logo\"></slot>\n </section>\n <section class=\"six-header__placeholder\"></section>\n <section class=\"six-header__custom\">\n <slot></slot>\n </section>\n </header>\n <div class=\"six-header__search-field\">\n <slot name=\"search-field\"></slot>\n </div>\n </mock:shadow-root>\n <div slot=\"logo\">\n custom logo\n </div>\n </six-header>\n `);\n });\n\n it('should render app switcher', async () => {\n // given\n const html = `<six-header>\n <six-menu slot=\"app-switcher-menu\">\n <six-menu-item checked=\"checked\">Custody</six-menu-item>\n <six-menu-item>Swiss Interbank Clearing</six-menu-item>\n </six-menu>\n </six-header>`;\n\n // when\n const page = await newSpecPage({\n components: [SixHeader],\n html: html,\n });\n\n // then\n expect(page.root).toEqualHtml(`\n <six-header>\n <mock:shadow-root>\n <header class=\"six-header\">\n <section class=\"six-header__menu\">\n <six-icon-button name=\"menu\"></six-icon-button>\n </section>\n <section class=\"six-header__logo\">\n <svg height=\"20\" viewBox=\"0 0 90 26\" xmlns=\"http://www.w3.org/2000/svg\">\n <title>\n SIX\n </title>\n <g fill=\"#DE3919\" fill-rule=\"nonzero\">\n <path d=\"m22.798 3.869c1.82-2.168 4.549-3.545 7.6-3.545h6.807v4.961h-6.807c-1.526 0-2.89.689-3.8 1.771l-12.19 14.526c-1.82 2.166-4.549 3.545-7.6 3.545h-6.808v-4.961h6.808c1.525 0 2.889-.689 3.799-1.773l12.191-14.525\"></path>\n <path d=\"m42.16.324h5.21v24.806h-5.21z\"></path>\n <path d=\"m66.743 3.869l4.195 4.999 4.195-4.999c1.819-2.168 4.549-3.545 7.6-3.545h6.806v4.961h-6.806c-1.526 0-2.89.689-3.8 1.771l-4.758 5.669 4.758 5.669c.91 1.084 2.274 1.773 3.8 1.773h6.806v4.961h-6.806c-3.051 0-5.781-1.379-7.6-3.545l-4.195-4.999-4.195 4.999c-1.82 2.166-4.55 3.545-7.6 3.545h-6.807v-4.961h6.807c1.525 0 2.889-.689 3.799-1.773l4.758-5.669-4.758-5.669c-.91-1.083-2.274-1.771-3.799-1.771h-6.807v-4.961h6.807c3.05 0 5.78 1.378 7.6 3.545\"></path>\n </g>\n </svg>\n\n </section>\n <section class=\"six-header__placeholder\"></section>\n <section class=\"six-header__custom\">\n <slot></slot>\n </section>\n <section class=\"six-header__app-switcher\">\n <a class=\"six-header__selected-app\">Custody</a>\n <six-dropdown distance=\"13\" placement=\"bottom-end\" skidding=\"20\">\n <six-icon-button name=\"apps\" slot=\"trigger\"></six-icon-button>\n <slot name=\"app-switcher-menu\"></slot>\n </six-dropdown>\n </section>\n </header>\n <div class=\"six-header__search-field\">\n <slot name=\"search-field\"></slot>\n </div>\n </mock:shadow-root>\n <six-menu slot=\"app-switcher-menu\">\n <six-menu-item checked=\"checked\">Custody</six-menu-item>\n <six-menu-item>Swiss Interbank Clearing</six-menu-item>\n </six-menu>\n </six-header>\n `);\n });\n});\n"]}
@@ -1,20 +0,0 @@
1
- import { newSpecPage } from "@stencil/core/testing";
2
- import { SixTab } from "../six-tab";
3
- describe('six-tab', () => {
4
- it('renders', async () => {
5
- const page = await newSpecPage({
6
- components: [SixTab],
7
- html: `<six-tab></six-tab>`,
8
- });
9
- expect(page.root).toEqualHtml(`
10
- <six-tab id="tab-1" panel="">
11
- <mock:shadow-root>
12
- <div aria-disabled="false" aria-selected="false" class="tab" part="base" role="tab" tabindex="-1">
13
- <slot></slot>
14
- </div>
15
- </mock:shadow-root>
16
- </six-tab>
17
- `);
18
- });
19
- });
20
- //# sourceMappingURL=six-tab.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"six-tab.spec.js","sourceRoot":"","sources":["../../../../src/components/six-tab/test/six-tab.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEpC,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;EACvB,EAAE,CAAC,SAAS,EAAE,KAAK,IAAI,EAAE;IACvB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,MAAM,CAAC;MACpB,IAAI,EAAE,qBAAqB;KAC5B,CAAC,CAAC;IACH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;KAQ7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from '@stencil/core/testing';\nimport { SixTab } from '../six-tab';\n\ndescribe('six-tab', () => {\n it('renders', async () => {\n const page = await newSpecPage({\n components: [SixTab],\n html: `<six-tab></six-tab>`,\n });\n expect(page.root).toEqualHtml(`\n <six-tab id=\"tab-1\" panel=\"\">\n <mock:shadow-root>\n <div aria-disabled=\"false\" aria-selected=\"false\" class=\"tab\" part=\"base\" role=\"tab\" tabindex=\"-1\">\n <slot></slot>\n </div>\n </mock:shadow-root>\n </six-tab>\n `);\n });\n});\n"]}