@six-group/ui-library 4.3.2 → 5.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1703) hide show
  1. package/dist/cjs/animation-ZgWV0fC6.js +54 -0
  2. package/dist/cjs/animation-ZgWV0fC6.js.map +1 -0
  3. package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
  4. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
  5. package/dist/cjs/{error-messages-6e8049a4.js → error-messages-Bi-7xy31.js} +5 -4
  6. package/dist/cjs/error-messages-Bi-7xy31.js.map +1 -0
  7. package/dist/cjs/{event-listeners-9fb878f1.js → event-listeners-BrSR7arL.js} +2 -1
  8. package/dist/cjs/event-listeners-BrSR7arL.js.map +1 -0
  9. package/dist/cjs/{execution-control-d728da70.js → execution-control-oU0MWBWI.js} +2 -1
  10. package/dist/cjs/execution-control-oU0MWBWI.js.map +1 -0
  11. package/dist/cjs/{focus-visible-e2c9255a.js → focus-visible-CMftNtQ2.js} +2 -1
  12. package/dist/cjs/focus-visible-CMftNtQ2.js.map +1 -0
  13. package/dist/cjs/{form-9ebaae7c.js → form-CaXKJAMY.js} +2 -1
  14. package/dist/cjs/form-CaXKJAMY.js.map +1 -0
  15. package/dist/cjs/{form-control-b39f1df5.js → form-control-CX8QRq9v.js} +5 -4
  16. package/dist/cjs/form-control-CX8QRq9v.js.map +1 -0
  17. package/dist/cjs/{index-417a06c8.js → index-C8rK7OAe.js} +532 -321
  18. package/dist/cjs/index-C8rK7OAe.js.map +1 -0
  19. package/dist/cjs/index.cjs.js +2 -3
  20. package/dist/cjs/index.cjs.js.map +1 -1
  21. package/dist/cjs/loader.cjs.js +4 -5
  22. package/dist/cjs/loader.cjs.js.map +1 -1
  23. package/dist/cjs/{modal-bd7fc5bc.js → modal-BVAZIrez.js} +2 -1
  24. package/dist/cjs/modal-BVAZIrez.js.map +1 -0
  25. package/dist/cjs/{popover-1e7c09f1.js → popover-BUVXXnz7.js} +26 -12
  26. package/dist/cjs/popover-BUVXXnz7.js.map +1 -0
  27. package/dist/cjs/{popup-e854acda.js → popup-BBJQmXUh.js} +2 -1
  28. package/dist/cjs/popup-BBJQmXUh.js.map +1 -0
  29. package/dist/cjs/{scroll-68033901.js → scroll-BQR9FxnJ.js} +2 -1
  30. package/dist/cjs/scroll-BQR9FxnJ.js.map +1 -0
  31. package/dist/cjs/six-alert.cjs.entry.js +22 -16
  32. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  33. package/dist/cjs/six-alert.entry.cjs.js.map +1 -0
  34. package/dist/cjs/six-avatar.cjs.entry.js +13 -11
  35. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  36. package/dist/cjs/six-avatar.entry.cjs.js.map +1 -0
  37. package/dist/cjs/six-badge.cjs.entry.js +9 -8
  38. package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
  39. package/dist/cjs/six-badge.entry.cjs.js.map +1 -0
  40. package/dist/cjs/six-button.cjs.entry.js +53 -30
  41. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  42. package/dist/cjs/six-button.entry.cjs.js.map +1 -0
  43. package/dist/cjs/six-card.cjs.entry.js +5 -7
  44. package/dist/cjs/six-card.cjs.entry.js.map +1 -1
  45. package/dist/cjs/six-card.entry.cjs.js.map +1 -0
  46. package/dist/cjs/six-checkbox.six-menu-item.entry.cjs.js.map +1 -0
  47. package/dist/cjs/six-checkbox_2.cjs.entry.js +208 -0
  48. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -0
  49. package/dist/cjs/six-date.cjs.entry.js +22700 -0
  50. package/dist/cjs/six-date.cjs.entry.js.map +1 -0
  51. package/dist/cjs/six-date.entry.cjs.js.map +1 -0
  52. package/dist/cjs/six-datepicker.cjs.entry.js +86 -44
  53. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  54. package/dist/cjs/six-datepicker.entry.cjs.js.map +1 -0
  55. package/dist/cjs/six-details.cjs.entry.js +28 -23
  56. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  57. package/dist/cjs/six-details.entry.cjs.js.map +1 -0
  58. package/dist/cjs/six-dialog.cjs.entry.js +41 -28
  59. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  60. package/dist/cjs/six-dialog.entry.cjs.js.map +1 -0
  61. package/dist/cjs/six-drawer.cjs.entry.js +48 -30
  62. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  63. package/dist/cjs/six-drawer.entry.cjs.js.map +1 -0
  64. package/dist/cjs/six-dropdown.six-menu.entry.cjs.js.map +1 -0
  65. package/dist/cjs/{six-dropdown_3.cjs.entry.js → six-dropdown_2.cjs.entry.js} +119 -139
  66. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -0
  67. package/dist/cjs/six-error-page.cjs.entry.js +7 -10
  68. package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
  69. package/dist/cjs/six-error-page.entry.cjs.js.map +1 -0
  70. package/dist/cjs/six-error.cjs.entry.js +4 -6
  71. package/dist/cjs/six-error.cjs.entry.js.map +1 -1
  72. package/dist/cjs/six-error.entry.cjs.js.map +1 -0
  73. package/dist/cjs/six-file-list-item.cjs.entry.js +17 -15
  74. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  75. package/dist/cjs/six-file-list-item.entry.cjs.js.map +1 -0
  76. package/dist/cjs/six-file-list.cjs.entry.js +4 -6
  77. package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
  78. package/dist/cjs/six-file-list.entry.cjs.js.map +1 -0
  79. package/dist/cjs/six-file-upload.cjs.entry.js +34 -29
  80. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  81. package/dist/cjs/six-file-upload.entry.cjs.js.map +1 -0
  82. package/dist/cjs/six-footer.cjs.entry.js +5 -7
  83. package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
  84. package/dist/cjs/six-footer.entry.cjs.js.map +1 -0
  85. package/dist/cjs/six-group-label.cjs.entry.js +16 -13
  86. package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
  87. package/dist/cjs/six-group-label.entry.cjs.js.map +1 -0
  88. package/dist/cjs/six-header-dropdown-item.cjs.entry.js +16 -9
  89. package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -1
  90. package/dist/cjs/six-header-dropdown-item.entry.cjs.js.map +1 -0
  91. package/dist/cjs/six-header-item.cjs.entry.js +28 -0
  92. package/dist/cjs/six-header-item.cjs.entry.js.map +1 -0
  93. package/dist/cjs/six-header-item.entry.cjs.js.map +1 -0
  94. package/dist/cjs/six-header-menu-button.cjs.entry.js +15 -8
  95. package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -1
  96. package/dist/cjs/six-header-menu-button.entry.cjs.js.map +1 -0
  97. package/dist/cjs/six-header.cjs.entry.js +18 -183
  98. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  99. package/dist/cjs/six-header.entry.cjs.js.map +1 -0
  100. package/dist/cjs/six-icon-button.cjs.entry.js +12 -18
  101. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  102. package/dist/cjs/six-icon-button.entry.cjs.js.map +1 -0
  103. package/dist/cjs/six-icon.cjs.entry.js +8 -8
  104. package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
  105. package/dist/cjs/six-icon.entry.cjs.js.map +1 -0
  106. package/dist/cjs/six-input.cjs.entry.js +65 -53
  107. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  108. package/dist/cjs/six-input.entry.cjs.js.map +1 -0
  109. package/dist/cjs/six-item-picker.cjs.entry.js +33 -16
  110. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
  111. package/dist/cjs/six-item-picker.entry.cjs.js.map +1 -0
  112. package/dist/cjs/six-language-switcher.cjs.entry.js +7 -9
  113. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
  114. package/dist/cjs/six-language-switcher.entry.cjs.js.map +1 -0
  115. package/dist/cjs/six-layout-grid.cjs.entry.js +4 -7
  116. package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
  117. package/dist/cjs/six-layout-grid.entry.cjs.js.map +1 -0
  118. package/dist/cjs/six-logo.cjs.entry.js +28 -0
  119. package/dist/cjs/six-logo.cjs.entry.js.map +1 -0
  120. package/dist/cjs/six-logo.entry.cjs.js.map +1 -0
  121. package/dist/cjs/six-main-container.cjs.entry.js +6 -6
  122. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
  123. package/dist/cjs/six-main-container.entry.cjs.js.map +1 -0
  124. package/dist/cjs/six-menu-divider.cjs.entry.js +5 -7
  125. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
  126. package/dist/cjs/six-menu-divider.entry.cjs.js.map +1 -0
  127. package/dist/cjs/six-menu-label.cjs.entry.js +5 -7
  128. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
  129. package/dist/cjs/six-menu-label.entry.cjs.js.map +1 -0
  130. package/dist/cjs/six-picto.cjs.entry.js +7 -6
  131. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  132. package/dist/cjs/six-picto.entry.cjs.js.map +1 -0
  133. package/dist/cjs/six-progress-bar.cjs.entry.js +9 -9
  134. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  135. package/dist/cjs/six-progress-bar.entry.cjs.js.map +1 -0
  136. package/dist/cjs/six-progress-ring.cjs.entry.js +8 -7
  137. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  138. package/dist/cjs/six-progress-ring.entry.cjs.js.map +1 -0
  139. package/dist/cjs/six-radio.cjs.entry.js +21 -18
  140. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  141. package/dist/cjs/six-radio.entry.cjs.js.map +1 -0
  142. package/dist/cjs/six-range.cjs.entry.js +43 -33
  143. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  144. package/dist/cjs/six-range.entry.cjs.js.map +1 -0
  145. package/dist/cjs/six-root.cjs.entry.js +8 -6
  146. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  147. package/dist/cjs/six-root.entry.cjs.js.map +1 -0
  148. package/dist/cjs/six-search-field.cjs.entry.js +16 -15
  149. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
  150. package/dist/cjs/six-search-field.entry.cjs.js.map +1 -0
  151. package/dist/cjs/six-select.cjs.entry.js +90 -56
  152. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  153. package/dist/cjs/six-select.entry.cjs.js.map +1 -0
  154. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +24 -16
  155. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  156. package/dist/cjs/six-sidebar-item-group.entry.cjs.js.map +1 -0
  157. package/dist/cjs/six-sidebar-item.cjs.entry.js +11 -9
  158. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  159. package/dist/cjs/six-sidebar-item.entry.cjs.js.map +1 -0
  160. package/dist/cjs/six-sidebar.cjs.entry.js +21 -19
  161. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
  162. package/dist/cjs/six-sidebar.entry.cjs.js.map +1 -0
  163. package/dist/cjs/six-spinner.cjs.entry.js +4 -8
  164. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  165. package/dist/cjs/six-spinner.entry.cjs.js.map +1 -0
  166. package/dist/cjs/six-stage-indicator.cjs.entry.js +5 -6
  167. package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -1
  168. package/dist/cjs/six-stage-indicator.entry.cjs.js.map +1 -0
  169. package/dist/cjs/six-switch.cjs.entry.js +30 -25
  170. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  171. package/dist/cjs/six-switch.entry.cjs.js.map +1 -0
  172. package/dist/cjs/six-tab-group.cjs.entry.js +17 -50
  173. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  174. package/dist/cjs/six-tab-group.entry.cjs.js.map +1 -0
  175. package/dist/cjs/six-tab-panel.cjs.entry.js +7 -7
  176. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
  177. package/dist/cjs/six-tab-panel.entry.cjs.js.map +1 -0
  178. package/dist/cjs/six-tab.cjs.entry.js +11 -9
  179. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  180. package/dist/cjs/six-tab.entry.cjs.js.map +1 -0
  181. package/dist/cjs/six-tag.cjs.entry.js +17 -15
  182. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  183. package/dist/cjs/six-tag.entry.cjs.js.map +1 -0
  184. package/dist/cjs/six-textarea.cjs.entry.js +51 -41
  185. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  186. package/dist/cjs/six-textarea.entry.cjs.js.map +1 -0
  187. package/dist/cjs/six-tile.cjs.entry.js +29 -24
  188. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  189. package/dist/cjs/six-tile.entry.cjs.js.map +1 -0
  190. package/dist/cjs/six-timepicker.cjs.entry.js +99 -40
  191. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  192. package/dist/cjs/six-timepicker.entry.cjs.js.map +1 -0
  193. package/dist/cjs/six-tooltip.cjs.entry.js +39 -27
  194. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
  195. package/dist/cjs/six-tooltip.entry.cjs.js.map +1 -0
  196. package/dist/cjs/{slot-1b1232a1.js → slot-DBK7c7jH.js} +2 -1
  197. package/dist/cjs/slot-DBK7c7jH.js.map +1 -0
  198. package/dist/cjs/{types-d3da200b.js → types-7ZstPoJD.js} +2 -1
  199. package/dist/cjs/types-7ZstPoJD.js.map +1 -0
  200. package/dist/cjs/ui-library.cjs.js +8 -7
  201. package/dist/cjs/ui-library.cjs.js.map +1 -1
  202. package/dist/collection/collection-manifest.json +6 -5
  203. package/dist/collection/components/six-alert/six-alert.css +11 -0
  204. package/dist/collection/components/six-alert/six-alert.js +25 -9
  205. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  206. package/dist/collection/components/six-avatar/six-avatar.css +11 -0
  207. package/dist/collection/components/six-avatar/six-avatar.js +21 -9
  208. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  209. package/dist/collection/components/six-badge/six-badge.css +11 -0
  210. package/dist/collection/components/six-badge/six-badge.js +14 -5
  211. package/dist/collection/components/six-badge/six-badge.js.map +1 -1
  212. package/dist/collection/components/six-button/six-button.css +14 -1
  213. package/dist/collection/components/six-button/six-button.js +87 -34
  214. package/dist/collection/components/six-button/six-button.js.map +1 -1
  215. package/dist/collection/components/six-card/six-card.css +11 -0
  216. package/dist/collection/components/six-card/six-card.js +1 -1
  217. package/dist/collection/components/six-checkbox/six-checkbox.css +11 -0
  218. package/dist/collection/components/six-checkbox/six-checkbox.js +59 -25
  219. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  220. package/dist/collection/components/six-date/calendar-grid.js +30 -0
  221. package/dist/collection/components/six-date/calendar-grid.js.map +1 -0
  222. package/dist/collection/components/six-date/components/day-selection.js +16 -0
  223. package/dist/collection/components/six-date/components/day-selection.js.map +1 -0
  224. package/dist/collection/components/six-date/components/month-selection.js +17 -0
  225. package/dist/collection/components/six-date/components/month-selection.js.map +1 -0
  226. package/dist/collection/components/six-date/components/year-selection.js +16 -0
  227. package/dist/collection/components/six-date/components/year-selection.js.map +1 -0
  228. package/dist/collection/components/six-date/iso-date.js +92 -0
  229. package/dist/collection/components/six-date/iso-date.js.map +1 -0
  230. package/dist/collection/components/six-date/six-date.css +168 -0
  231. package/dist/collection/components/six-date/six-date.js +735 -0
  232. package/dist/collection/components/six-date/six-date.js.map +1 -0
  233. package/dist/collection/components/six-date/translations.js +110 -0
  234. package/dist/collection/components/six-date/translations.js.map +1 -0
  235. package/dist/collection/components/six-datepicker/six-datepicker.css +11 -0
  236. package/dist/collection/components/six-datepicker/six-datepicker.js +159 -56
  237. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  238. package/dist/collection/components/six-details/six-details.css +11 -0
  239. package/dist/collection/components/six-details/six-details.js +43 -20
  240. package/dist/collection/components/six-details/six-details.js.map +1 -1
  241. package/dist/collection/components/six-dialog/six-dialog.css +11 -0
  242. package/dist/collection/components/six-dialog/six-dialog.js +46 -25
  243. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  244. package/dist/collection/components/six-drawer/six-drawer.css +11 -0
  245. package/dist/collection/components/six-drawer/six-drawer.js +59 -29
  246. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  247. package/dist/collection/components/six-dropdown/six-dropdown.css +11 -0
  248. package/dist/collection/components/six-dropdown/six-dropdown.js +120 -79
  249. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  250. package/dist/collection/components/six-error/six-error.js +1 -1
  251. package/dist/collection/components/six-error-page/six-error-page.js +20 -10
  252. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
  253. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  254. package/dist/collection/components/six-file-list-item/six-file-list-item.js +30 -14
  255. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  256. package/dist/collection/components/six-file-upload/six-file-upload.css +11 -3
  257. package/dist/collection/components/six-file-upload/six-file-upload.js +55 -30
  258. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  259. package/dist/collection/components/six-footer/six-footer.css +11 -0
  260. package/dist/collection/components/six-footer/six-footer.js +1 -1
  261. package/dist/collection/components/six-group-label/six-group-label.css +11 -0
  262. package/dist/collection/components/six-group-label/six-group-label.js +25 -10
  263. package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
  264. package/dist/collection/components/six-header/six-header.css +11 -20
  265. package/dist/collection/components/six-header/six-header.js +20 -487
  266. package/dist/collection/components/six-header/six-header.js.map +1 -1
  267. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +0 -2
  268. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +56 -3
  269. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -1
  270. package/dist/collection/components/six-header-item/six-header-item.css +2 -2
  271. package/dist/collection/components/six-header-item/six-header-item.js +12 -6
  272. package/dist/collection/components/six-header-item/six-header-item.js.map +1 -1
  273. package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +5 -0
  274. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +101 -10
  275. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -1
  276. package/dist/collection/components/six-icon/six-icon.css +11 -0
  277. package/dist/collection/components/six-icon/six-icon.js +10 -4
  278. package/dist/collection/components/six-icon/six-icon.js.map +1 -1
  279. package/dist/collection/components/six-icon-button/six-icon-button.css +11 -0
  280. package/dist/collection/components/six-icon-button/six-icon-button.js +31 -19
  281. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  282. package/dist/collection/components/six-input/six-input.css +11 -0
  283. package/dist/collection/components/six-input/six-input.js +142 -68
  284. package/dist/collection/components/six-input/six-input.js.map +1 -1
  285. package/dist/collection/components/six-item-picker/six-item-picker.js +68 -20
  286. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  287. package/dist/collection/components/six-language-switcher/six-language-switcher.js +9 -4
  288. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  289. package/dist/collection/components/six-layout-grid/six-layout-grid.js +4 -5
  290. package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
  291. package/dist/collection/components/six-logo/six-logo.js +5 -2
  292. package/dist/collection/components/six-logo/six-logo.js.map +1 -1
  293. package/dist/collection/components/six-main-container/six-main-container.js +6 -2
  294. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
  295. package/dist/collection/components/six-menu/six-menu.css +11 -0
  296. package/dist/collection/components/six-menu/six-menu.js +50 -15
  297. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  298. package/dist/collection/components/six-menu-divider/six-menu-divider.css +11 -0
  299. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  300. package/dist/collection/components/six-menu-item/six-menu-item.css +11 -0
  301. package/dist/collection/components/six-menu-item/six-menu-item.js +22 -9
  302. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  303. package/dist/collection/components/six-menu-label/six-menu-label.css +11 -0
  304. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  305. package/dist/collection/components/six-picto/six-picto.js +7 -2
  306. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  307. package/dist/collection/components/six-progress-bar/six-progress-bar.css +11 -0
  308. package/dist/collection/components/six-progress-bar/six-progress-bar.js +11 -5
  309. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  310. package/dist/collection/components/six-progress-ring/six-progress-ring.css +11 -0
  311. package/dist/collection/components/six-progress-ring/six-progress-ring.js +13 -4
  312. package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
  313. package/dist/collection/components/six-radio/six-radio.css +11 -0
  314. package/dist/collection/components/six-radio/six-radio.js +28 -13
  315. package/dist/collection/components/six-radio/six-radio.js.map +1 -1
  316. package/dist/collection/components/six-range/six-range.css +11 -0
  317. package/dist/collection/components/six-range/six-range.js +75 -34
  318. package/dist/collection/components/six-range/six-range.js.map +1 -1
  319. package/dist/collection/components/six-root/six-root.js +14 -4
  320. package/dist/collection/components/six-root/six-root.js.map +1 -1
  321. package/dist/collection/components/six-search-field/six-search-field.css +11 -0
  322. package/dist/collection/components/six-search-field/six-search-field.js +24 -11
  323. package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
  324. package/dist/collection/components/six-select/six-select.css +11 -10
  325. package/dist/collection/components/six-select/six-select.js +157 -89
  326. package/dist/collection/components/six-select/six-select.js.map +1 -1
  327. package/dist/collection/components/six-sidebar/six-sidebar.css +11 -0
  328. package/dist/collection/components/six-sidebar/six-sidebar.js +23 -11
  329. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
  330. package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +8 -2
  331. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +39 -7
  332. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
  333. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +19 -2
  334. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +38 -16
  335. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  336. package/dist/collection/components/six-spinner/six-spinner.css +11 -0
  337. package/dist/collection/components/six-spinner/six-spinner.js +6 -6
  338. package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
  339. package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +11 -0
  340. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +4 -1
  341. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js.map +1 -1
  342. package/dist/collection/components/six-switch/six-switch.css +11 -0
  343. package/dist/collection/components/six-switch/six-switch.js +47 -22
  344. package/dist/collection/components/six-switch/six-switch.js.map +1 -1
  345. package/dist/collection/components/six-tab/six-tab.css +23 -0
  346. package/dist/collection/components/six-tab/six-tab.js +18 -6
  347. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  348. package/dist/collection/components/six-tab-group/six-tab-group.css +11 -0
  349. package/dist/collection/components/six-tab-group/six-tab-group.js +14 -8
  350. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  351. package/dist/collection/components/six-tab-panel/six-tab-panel.css +11 -0
  352. package/dist/collection/components/six-tab-panel/six-tab-panel.js +9 -3
  353. package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
  354. package/dist/collection/components/six-tag/six-tag.css +11 -0
  355. package/dist/collection/components/six-tag/six-tag.js +22 -10
  356. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  357. package/dist/collection/components/six-textarea/six-textarea.css +11 -0
  358. package/dist/collection/components/six-textarea/six-textarea.js +106 -50
  359. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
  360. package/dist/collection/components/six-tile/six-tile.css +11 -0
  361. package/dist/collection/components/six-tile/six-tile.js +43 -22
  362. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  363. package/dist/collection/components/six-timepicker/six-timepicker.css +12 -2
  364. package/dist/collection/components/six-timepicker/six-timepicker.js +156 -49
  365. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  366. package/dist/collection/components/six-tooltip/six-tooltip.css +11 -0
  367. package/dist/collection/components/six-tooltip/six-tooltip.js +51 -23
  368. package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
  369. package/dist/collection/files/material-icons-latin-400-normal.woff +0 -0
  370. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
  371. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  372. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
  373. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  374. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
  375. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  376. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
  377. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  378. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
  379. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  380. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
  381. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  382. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
  383. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  384. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
  385. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  386. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
  387. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  388. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
  389. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  390. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
  391. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  392. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
  393. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  394. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
  395. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  396. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
  397. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  398. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
  399. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  400. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
  401. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  402. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
  403. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  404. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
  405. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  406. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  407. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  408. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  409. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  410. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  411. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  412. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  413. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  414. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  415. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  416. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  417. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  418. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  419. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  420. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  421. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  422. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  423. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  424. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  425. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  426. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  427. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  428. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  429. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  430. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  431. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  432. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  433. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  434. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  435. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  436. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  437. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  438. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  439. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  440. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  441. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  442. package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
  443. package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  444. package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
  445. package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  446. package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
  447. package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  448. package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
  449. package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  450. package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
  451. package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  452. package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
  453. package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  454. package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
  455. package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  456. package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
  457. package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  458. package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
  459. package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  460. package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
  461. package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  462. package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
  463. package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  464. package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
  465. package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  466. package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
  467. package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  468. package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
  469. package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  470. package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
  471. package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  472. package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
  473. package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  474. package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
  475. package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  476. package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
  477. package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  478. package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
  479. package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
  480. package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
  481. package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
  482. package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
  483. package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
  484. package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
  485. package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
  486. package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
  487. package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
  488. package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
  489. package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
  490. package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
  491. package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
  492. package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
  493. package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
  494. package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
  495. package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
  496. package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
  497. package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
  498. package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
  499. package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
  500. package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
  501. package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
  502. package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
  503. package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
  504. package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
  505. package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
  506. package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
  507. package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
  508. package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
  509. package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
  510. package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
  511. package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
  512. package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
  513. package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
  514. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
  515. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  516. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
  517. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  518. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
  519. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  520. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
  521. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  522. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
  523. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  524. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
  525. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  526. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
  527. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  528. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
  529. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  530. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
  531. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  532. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
  533. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  534. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
  535. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  536. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
  537. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  538. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
  539. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  540. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
  541. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  542. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
  543. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  544. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
  545. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  546. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
  547. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  548. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
  549. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  550. package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
  551. package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
  552. package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
  553. package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
  554. package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
  555. package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
  556. package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
  557. package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
  558. package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
  559. package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
  560. package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
  561. package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
  562. package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
  563. package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
  564. package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
  565. package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
  566. package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
  567. package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
  568. package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
  569. package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
  570. package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
  571. package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
  572. package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
  573. package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
  574. package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
  575. package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
  576. package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
  577. package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
  578. package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
  579. package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
  580. package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
  581. package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
  582. package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
  583. package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
  584. package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
  585. package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
  586. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
  587. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  588. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
  589. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  590. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
  591. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  592. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
  593. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  594. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
  595. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  596. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
  597. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  598. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
  599. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  600. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
  601. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  602. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
  603. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  604. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
  605. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  606. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
  607. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  608. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
  609. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  610. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
  611. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  612. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
  613. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  614. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
  615. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  616. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
  617. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  618. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
  619. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  620. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
  621. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  622. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
  623. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  624. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
  625. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  626. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
  627. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  628. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
  629. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  630. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
  631. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  632. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
  633. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  634. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
  635. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  636. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
  637. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  638. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
  639. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  640. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
  641. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  642. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
  643. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  644. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
  645. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  646. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
  647. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  648. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
  649. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  650. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
  651. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  652. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
  653. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  654. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
  655. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  656. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
  657. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  658. package/dist/collection/functional-components/form-control/form-control.js +2 -2
  659. package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
  660. package/dist/collection/utils/animation.js +13 -0
  661. package/dist/collection/utils/animation.js.map +1 -1
  662. package/dist/collection/utils/error-messages.js +3 -3
  663. package/dist/collection/utils/error-messages.js.map +1 -1
  664. package/dist/collection/utils/popover-util.js +8 -0
  665. package/dist/collection/utils/popover-util.js.map +1 -0
  666. package/dist/components/index.js +4 -1
  667. package/dist/components/index.js.map +1 -1
  668. package/dist/components/{six-dropdown2.js → p-9aUb96SZ.js} +95 -69
  669. package/dist/components/p-9aUb96SZ.js.map +1 -0
  670. package/dist/{esm/form-4b145b7a.js → components/p-B1bClJZ6.js} +2 -1
  671. package/dist/components/p-B1bClJZ6.js.map +1 -0
  672. package/dist/components/{six-spinner2.js → p-BB2rei7y.js} +6 -8
  673. package/dist/components/p-BB2rei7y.js.map +1 -0
  674. package/dist/components/{six-item-picker2.js → p-BR2t7cws.js} +35 -16
  675. package/dist/components/p-BR2t7cws.js.map +1 -0
  676. package/dist/components/{six-icon2.js → p-BSHZAiyG.js} +10 -8
  677. package/dist/components/p-BSHZAiyG.js.map +1 -0
  678. package/dist/components/p-BUN8hFmL.js +173 -0
  679. package/dist/components/p-BUN8hFmL.js.map +1 -0
  680. package/dist/{esm/scroll-3e16851e.js → components/p-BY6hIEFX.js} +2 -1
  681. package/dist/components/p-BY6hIEFX.js.map +1 -0
  682. package/dist/components/{six-menu-item2.js → p-C28WDWgL.js} +20 -15
  683. package/dist/components/p-C28WDWgL.js.map +1 -0
  684. package/dist/components/{event-listeners.js → p-C4h4qpGl.js} +2 -1
  685. package/dist/{cjs/event-listeners-9fb878f1.js.map → components/p-C4h4qpGl.js.map} +1 -1
  686. package/dist/components/{execution-control.js → p-CKhg9ibv.js} +2 -1
  687. package/dist/components/p-CKhg9ibv.js.map +1 -0
  688. package/dist/components/{six-menu2.js → p-CSL17OWk.js} +43 -23
  689. package/dist/components/p-CSL17OWk.js.map +1 -0
  690. package/dist/components/{six-error2.js → p-CWKq6Dyt.js} +6 -6
  691. package/dist/components/p-CWKq6Dyt.js.map +1 -0
  692. package/dist/components/{modal.js → p-CfIoyvm-.js} +2 -1
  693. package/dist/components/p-CfIoyvm-.js.map +1 -0
  694. package/dist/components/p-Cfyrva2T.js +180 -0
  695. package/dist/components/p-Cfyrva2T.js.map +1 -0
  696. package/dist/components/p-Cosz73fX.js +76 -0
  697. package/dist/components/p-Cosz73fX.js.map +1 -0
  698. package/dist/components/{six-details2.js → p-Cs1jspzx.js} +31 -24
  699. package/dist/components/p-Cs1jspzx.js.map +1 -0
  700. package/dist/components/{six-tooltip2.js → p-Cs6mMfx-.js} +41 -27
  701. package/dist/components/p-Cs6mMfx-.js.map +1 -0
  702. package/dist/components/p-D512q9rn.js +1709 -0
  703. package/dist/components/p-D512q9rn.js.map +1 -0
  704. package/dist/{esm/form-control-ad1710bf.js → components/p-DIkvCBxr.js} +5 -4
  705. package/dist/components/p-DIkvCBxr.js.map +1 -0
  706. package/dist/components/{six-picto2.js → p-DYlDF9Rw.js} +9 -6
  707. package/dist/components/p-DYlDF9Rw.js.map +1 -0
  708. package/dist/components/{six-timepicker2.js → p-DnLdSdN5.js} +103 -42
  709. package/dist/components/p-DnLdSdN5.js.map +1 -0
  710. package/dist/components/p-DsGIkEDB.js +305 -0
  711. package/dist/components/p-DsGIkEDB.js.map +1 -0
  712. package/dist/components/{six-stage-indicator2.js → p-DyYwMIDQ.js} +8 -7
  713. package/dist/components/p-DyYwMIDQ.js.map +1 -0
  714. package/dist/components/p-SLlDVtvF.js +51 -0
  715. package/dist/components/p-SLlDVtvF.js.map +1 -0
  716. package/dist/{esm/focus-visible-d9dbfeef.js → components/p-Vw_F19Fv.js} +2 -1
  717. package/dist/components/p-Vw_F19Fv.js.map +1 -0
  718. package/dist/{esm/slot-56531341.js → components/p-j3oIB5oT.js} +2 -1
  719. package/dist/components/p-j3oIB5oT.js.map +1 -0
  720. package/dist/{esm/popover-25996e62.js → components/p-kHci8ddv.js} +26 -12
  721. package/dist/components/p-kHci8ddv.js.map +1 -0
  722. package/dist/components/six-alert.js +26 -18
  723. package/dist/components/six-alert.js.map +1 -1
  724. package/dist/components/six-avatar.js +15 -11
  725. package/dist/components/six-avatar.js.map +1 -1
  726. package/dist/components/six-badge.js +10 -7
  727. package/dist/components/six-badge.js.map +1 -1
  728. package/dist/components/six-button.js +2 -1
  729. package/dist/components/six-card.js +6 -6
  730. package/dist/components/six-card.js.map +1 -1
  731. package/dist/components/six-checkbox.js +2 -1
  732. package/dist/components/six-date.d.ts +11 -0
  733. package/dist/components/six-date.js +22764 -0
  734. package/dist/components/six-date.js.map +1 -0
  735. package/dist/components/six-datepicker.js +93 -49
  736. package/dist/components/six-datepicker.js.map +1 -1
  737. package/dist/components/six-details.js +2 -1
  738. package/dist/components/six-dialog.js +44 -29
  739. package/dist/components/six-dialog.js.map +1 -1
  740. package/dist/components/six-drawer.js +51 -31
  741. package/dist/components/six-drawer.js.map +1 -1
  742. package/dist/components/six-dropdown.js +2 -1
  743. package/dist/components/six-error-page.js +10 -11
  744. package/dist/components/six-error-page.js.map +1 -1
  745. package/dist/components/six-error.js +2 -1
  746. package/dist/components/six-file-list-item.js +19 -15
  747. package/dist/components/six-file-list-item.js.map +1 -1
  748. package/dist/components/six-file-list.js +5 -5
  749. package/dist/components/six-file-list.js.map +1 -1
  750. package/dist/components/six-file-upload.js +38 -31
  751. package/dist/components/six-file-upload.js.map +1 -1
  752. package/dist/components/six-footer.js +6 -6
  753. package/dist/components/six-footer.js.map +1 -1
  754. package/dist/components/six-group-label.js +18 -13
  755. package/dist/components/six-group-label.js.map +1 -1
  756. package/dist/components/six-header-dropdown-item.js +26 -15
  757. package/dist/components/six-header-dropdown-item.js.map +1 -1
  758. package/dist/components/six-header-item.js +39 -1
  759. package/dist/components/six-header-item.js.map +1 -1
  760. package/dist/components/six-header-menu-button.js +24 -17
  761. package/dist/components/six-header-menu-button.js.map +1 -1
  762. package/dist/components/six-header.js +21 -253
  763. package/dist/components/six-header.js.map +1 -1
  764. package/dist/components/six-icon-button.js +2 -1
  765. package/dist/components/six-icon.js +2 -1
  766. package/dist/components/six-input.js +2 -1
  767. package/dist/components/six-item-picker.js +2 -1
  768. package/dist/components/six-language-switcher.js +8 -8
  769. package/dist/components/six-language-switcher.js.map +1 -1
  770. package/dist/components/six-layout-grid.js +5 -6
  771. package/dist/components/six-layout-grid.js.map +1 -1
  772. package/dist/components/six-logo.js +39 -1
  773. package/dist/components/six-logo.js.map +1 -1
  774. package/dist/components/six-main-container.js +7 -5
  775. package/dist/components/six-main-container.js.map +1 -1
  776. package/dist/components/six-menu-divider.js +6 -6
  777. package/dist/components/six-menu-divider.js.map +1 -1
  778. package/dist/components/six-menu-item.js +2 -1
  779. package/dist/components/six-menu-label.js +6 -6
  780. package/dist/components/six-menu-label.js.map +1 -1
  781. package/dist/components/six-menu.js +2 -1
  782. package/dist/components/six-picto.js +2 -1
  783. package/dist/components/six-progress-bar.js +10 -8
  784. package/dist/components/six-progress-bar.js.map +1 -1
  785. package/dist/components/six-progress-ring.js +9 -6
  786. package/dist/components/six-progress-ring.js.map +1 -1
  787. package/dist/components/six-radio.js +22 -17
  788. package/dist/components/six-radio.js.map +1 -1
  789. package/dist/components/six-range.js +46 -34
  790. package/dist/components/six-range.js.map +1 -1
  791. package/dist/components/six-root.js +11 -7
  792. package/dist/components/six-root.js.map +1 -1
  793. package/dist/components/six-search-field.js +20 -17
  794. package/dist/components/six-search-field.js.map +1 -1
  795. package/dist/components/six-select.js +103 -68
  796. package/dist/components/six-select.js.map +1 -1
  797. package/dist/components/six-sidebar-item-group.js +28 -18
  798. package/dist/components/six-sidebar-item-group.js.map +1 -1
  799. package/dist/components/six-sidebar-item.js +20 -9
  800. package/dist/components/six-sidebar-item.js.map +1 -1
  801. package/dist/components/six-sidebar.js +22 -18
  802. package/dist/components/six-sidebar.js.map +1 -1
  803. package/dist/components/six-spinner.js +2 -1
  804. package/dist/components/six-stage-indicator.js +2 -1
  805. package/dist/components/six-switch.js +32 -25
  806. package/dist/components/six-switch.js.map +1 -1
  807. package/dist/components/six-tab-group.js +19 -50
  808. package/dist/components/six-tab-group.js.map +1 -1
  809. package/dist/components/six-tab-panel.js +8 -6
  810. package/dist/components/six-tab-panel.js.map +1 -1
  811. package/dist/components/six-tab.js +14 -10
  812. package/dist/components/six-tab.js.map +1 -1
  813. package/dist/components/six-tag.js +21 -17
  814. package/dist/components/six-tag.js.map +1 -1
  815. package/dist/components/six-textarea.js +53 -41
  816. package/dist/components/six-textarea.js.map +1 -1
  817. package/dist/components/six-tile.js +33 -26
  818. package/dist/components/six-tile.js.map +1 -1
  819. package/dist/components/six-timepicker.js +2 -1
  820. package/dist/components/six-tooltip.js +2 -1
  821. package/dist/components.d.ts +8 -0
  822. package/dist/components.json +3990 -1480
  823. package/dist/esm/animation-SLlDVtvF.js +51 -0
  824. package/dist/esm/animation-SLlDVtvF.js.map +1 -0
  825. package/dist/esm/app-globals-DQuL1Twl.js +6 -0
  826. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
  827. package/dist/esm/{error-messages-1eaaad23.js → error-messages-1oJarDAY.js} +5 -4
  828. package/dist/esm/error-messages-1oJarDAY.js.map +1 -0
  829. package/dist/esm/{event-listeners-706d4309.js → event-listeners-C4h4qpGl.js} +2 -1
  830. package/dist/esm/event-listeners-C4h4qpGl.js.map +1 -0
  831. package/dist/esm/{execution-control-2ebaf4ef.js → execution-control-CKhg9ibv.js} +2 -1
  832. package/dist/esm/execution-control-CKhg9ibv.js.map +1 -0
  833. package/dist/{components/focus-visible.js → esm/focus-visible-Vw_F19Fv.js} +2 -1
  834. package/dist/esm/focus-visible-Vw_F19Fv.js.map +1 -0
  835. package/dist/{components/form.js → esm/form-B1bClJZ6.js} +2 -1
  836. package/dist/esm/form-B1bClJZ6.js.map +1 -0
  837. package/dist/{components/form-control.js → esm/form-control-DI6V1ZhR.js} +5 -4
  838. package/dist/esm/form-control-DI6V1ZhR.js.map +1 -0
  839. package/dist/esm/{index-a7bee415.js → index-JoG9I7EO.js} +531 -300
  840. package/dist/esm/index-JoG9I7EO.js.map +1 -0
  841. package/dist/esm/index.js +2 -1
  842. package/dist/esm/index.js.map +1 -1
  843. package/dist/esm/loader.js +5 -4
  844. package/dist/esm/loader.js.map +1 -1
  845. package/dist/esm/{modal-6c1288e3.js → modal-CfIoyvm-.js} +2 -1
  846. package/dist/esm/modal-CfIoyvm-.js.map +1 -0
  847. package/dist/{components/popover.js → esm/popover-kHci8ddv.js} +26 -12
  848. package/dist/esm/popover-kHci8ddv.js.map +1 -0
  849. package/dist/esm/{popup-7209e9d5.js → popup-Dd6pdO8C.js} +2 -1
  850. package/dist/esm/popup-Dd6pdO8C.js.map +1 -0
  851. package/dist/{components/scroll.js → esm/scroll-BY6hIEFX.js} +2 -1
  852. package/dist/esm/scroll-BY6hIEFX.js.map +1 -0
  853. package/dist/esm/six-alert.entry.js +22 -14
  854. package/dist/esm/six-alert.entry.js.map +1 -1
  855. package/dist/esm/six-avatar.entry.js +13 -9
  856. package/dist/esm/six-avatar.entry.js.map +1 -1
  857. package/dist/esm/six-badge.entry.js +9 -6
  858. package/dist/esm/six-badge.entry.js.map +1 -1
  859. package/dist/esm/six-button.entry.js +53 -28
  860. package/dist/esm/six-button.entry.js.map +1 -1
  861. package/dist/esm/six-card.entry.js +5 -5
  862. package/dist/esm/six-card.entry.js.map +1 -1
  863. package/dist/esm/six-checkbox.six-menu-item.entry.js.map +1 -0
  864. package/dist/esm/six-checkbox_2.entry.js +205 -0
  865. package/dist/esm/six-checkbox_2.entry.js.map +1 -0
  866. package/dist/esm/six-date.entry.js +22698 -0
  867. package/dist/esm/six-date.entry.js.map +1 -0
  868. package/dist/esm/six-datepicker.entry.js +86 -42
  869. package/dist/esm/six-datepicker.entry.js.map +1 -1
  870. package/dist/esm/six-details.entry.js +28 -21
  871. package/dist/esm/six-details.entry.js.map +1 -1
  872. package/dist/esm/six-dialog.entry.js +41 -26
  873. package/dist/esm/six-dialog.entry.js.map +1 -1
  874. package/dist/esm/six-drawer.entry.js +48 -28
  875. package/dist/esm/six-drawer.entry.js.map +1 -1
  876. package/dist/esm/six-dropdown.six-menu.entry.js.map +1 -0
  877. package/dist/esm/{six-dropdown_3.entry.js → six-dropdown_2.entry.js} +120 -137
  878. package/dist/esm/six-dropdown_2.entry.js.map +1 -0
  879. package/dist/esm/six-error-page.entry.js +7 -8
  880. package/dist/esm/six-error-page.entry.js.map +1 -1
  881. package/dist/esm/six-error.entry.js +4 -4
  882. package/dist/esm/six-error.entry.js.map +1 -1
  883. package/dist/esm/six-file-list-item.entry.js +17 -13
  884. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  885. package/dist/esm/six-file-list.entry.js +4 -4
  886. package/dist/esm/six-file-list.entry.js.map +1 -1
  887. package/dist/esm/six-file-upload.entry.js +34 -27
  888. package/dist/esm/six-file-upload.entry.js.map +1 -1
  889. package/dist/esm/six-footer.entry.js +5 -5
  890. package/dist/esm/six-footer.entry.js.map +1 -1
  891. package/dist/esm/six-group-label.entry.js +16 -11
  892. package/dist/esm/six-group-label.entry.js.map +1 -1
  893. package/dist/esm/six-header-dropdown-item.entry.js +16 -7
  894. package/dist/esm/six-header-dropdown-item.entry.js.map +1 -1
  895. package/dist/esm/six-header-item.entry.js +26 -0
  896. package/dist/esm/six-header-item.entry.js.map +1 -0
  897. package/dist/esm/six-header-menu-button.entry.js +15 -6
  898. package/dist/esm/six-header-menu-button.entry.js.map +1 -1
  899. package/dist/esm/six-header.entry.js +18 -181
  900. package/dist/esm/six-header.entry.js.map +1 -1
  901. package/dist/esm/six-icon-button.entry.js +12 -16
  902. package/dist/esm/six-icon-button.entry.js.map +1 -1
  903. package/dist/esm/six-icon.entry.js +8 -6
  904. package/dist/esm/six-icon.entry.js.map +1 -1
  905. package/dist/esm/six-input.entry.js +65 -51
  906. package/dist/esm/six-input.entry.js.map +1 -1
  907. package/dist/esm/six-item-picker.entry.js +33 -14
  908. package/dist/esm/six-item-picker.entry.js.map +1 -1
  909. package/dist/esm/six-language-switcher.entry.js +7 -7
  910. package/dist/esm/six-language-switcher.entry.js.map +1 -1
  911. package/dist/esm/six-layout-grid.entry.js +4 -5
  912. package/dist/esm/six-layout-grid.entry.js.map +1 -1
  913. package/dist/esm/six-logo.entry.js +26 -0
  914. package/dist/esm/six-logo.entry.js.map +1 -0
  915. package/dist/esm/six-main-container.entry.js +6 -4
  916. package/dist/esm/six-main-container.entry.js.map +1 -1
  917. package/dist/esm/six-menu-divider.entry.js +5 -5
  918. package/dist/esm/six-menu-divider.entry.js.map +1 -1
  919. package/dist/esm/six-menu-label.entry.js +5 -5
  920. package/dist/esm/six-menu-label.entry.js.map +1 -1
  921. package/dist/esm/six-picto.entry.js +7 -4
  922. package/dist/esm/six-picto.entry.js.map +1 -1
  923. package/dist/esm/six-progress-bar.entry.js +9 -7
  924. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  925. package/dist/esm/six-progress-ring.entry.js +8 -5
  926. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  927. package/dist/esm/six-radio.entry.js +21 -16
  928. package/dist/esm/six-radio.entry.js.map +1 -1
  929. package/dist/esm/six-range.entry.js +43 -31
  930. package/dist/esm/six-range.entry.js.map +1 -1
  931. package/dist/esm/six-root.entry.js +8 -4
  932. package/dist/esm/six-root.entry.js.map +1 -1
  933. package/dist/esm/six-search-field.entry.js +16 -13
  934. package/dist/esm/six-search-field.entry.js.map +1 -1
  935. package/dist/esm/six-select.entry.js +90 -54
  936. package/dist/esm/six-select.entry.js.map +1 -1
  937. package/dist/esm/six-sidebar-item-group.entry.js +24 -14
  938. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  939. package/dist/esm/six-sidebar-item.entry.js +11 -7
  940. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  941. package/dist/esm/six-sidebar.entry.js +21 -17
  942. package/dist/esm/six-sidebar.entry.js.map +1 -1
  943. package/dist/esm/six-spinner.entry.js +4 -6
  944. package/dist/esm/six-spinner.entry.js.map +1 -1
  945. package/dist/esm/six-stage-indicator.entry.js +5 -4
  946. package/dist/esm/six-stage-indicator.entry.js.map +1 -1
  947. package/dist/esm/six-switch.entry.js +30 -23
  948. package/dist/esm/six-switch.entry.js.map +1 -1
  949. package/dist/esm/six-tab-group.entry.js +16 -47
  950. package/dist/esm/six-tab-group.entry.js.map +1 -1
  951. package/dist/esm/six-tab-panel.entry.js +7 -5
  952. package/dist/esm/six-tab-panel.entry.js.map +1 -1
  953. package/dist/esm/six-tab.entry.js +11 -7
  954. package/dist/esm/six-tab.entry.js.map +1 -1
  955. package/dist/esm/six-tag.entry.js +17 -13
  956. package/dist/esm/six-tag.entry.js.map +1 -1
  957. package/dist/esm/six-textarea.entry.js +51 -39
  958. package/dist/esm/six-textarea.entry.js.map +1 -1
  959. package/dist/esm/six-tile.entry.js +29 -22
  960. package/dist/esm/six-tile.entry.js.map +1 -1
  961. package/dist/esm/six-timepicker.entry.js +99 -38
  962. package/dist/esm/six-timepicker.entry.js.map +1 -1
  963. package/dist/esm/six-tooltip.entry.js +39 -25
  964. package/dist/esm/six-tooltip.entry.js.map +1 -1
  965. package/dist/{components/slot.js → esm/slot-j3oIB5oT.js} +2 -1
  966. package/dist/esm/slot-j3oIB5oT.js.map +1 -0
  967. package/dist/esm/{types-a07bb999.js → types-WA6V9mN8.js} +2 -1
  968. package/dist/esm/types-WA6V9mN8.js.map +1 -0
  969. package/dist/esm/ui-library.js +7 -5
  970. package/dist/esm/ui-library.js.map +1 -1
  971. package/dist/types/components/six-button/six-button.d.ts +1 -0
  972. package/dist/types/components/six-date/calendar-grid.d.ts +20 -0
  973. package/dist/types/components/six-date/components/day-selection.d.ts +8 -0
  974. package/dist/types/components/six-date/components/month-selection.d.ts +7 -0
  975. package/dist/types/components/six-date/components/year-selection.d.ts +7 -0
  976. package/dist/types/components/six-date/iso-date.d.ts +57 -0
  977. package/dist/types/components/six-date/six-date.d.ts +143 -0
  978. package/dist/types/components/six-date/translations.d.ts +37 -0
  979. package/dist/types/components/six-dialog/six-dialog.d.ts +10 -2
  980. package/dist/types/components/six-drawer/six-drawer.d.ts +10 -2
  981. package/dist/types/components/six-dropdown/six-dropdown.d.ts +1 -8
  982. package/dist/types/components/six-file-upload/six-file-upload.d.ts +2 -6
  983. package/dist/types/components/six-header/six-header.d.ts +2 -128
  984. package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +10 -1
  985. package/dist/types/components/six-header-item/six-header-item.d.ts +1 -1
  986. package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +11 -5
  987. package/dist/types/components/six-select/six-select.d.ts +1 -7
  988. package/dist/types/components/six-sidebar-item/six-sidebar-item.d.ts +2 -0
  989. package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +2 -0
  990. package/dist/types/components/six-tooltip/six-tooltip.d.ts +1 -1
  991. package/dist/types/components.d.ts +901 -153
  992. package/dist/types/stencil-public-runtime.d.ts +28 -0
  993. package/dist/types/utils/animation.d.ts +4 -0
  994. package/dist/types/utils/error-messages.d.ts +2 -2
  995. package/dist/types/utils/popover-util.d.ts +1 -0
  996. package/dist/ui-library/files/material-icons-latin-400-normal.woff +0 -0
  997. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
  998. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  999. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
  1000. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  1001. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
  1002. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  1003. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
  1004. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  1005. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
  1006. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  1007. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
  1008. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  1009. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
  1010. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  1011. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
  1012. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  1013. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
  1014. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  1015. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
  1016. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  1017. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
  1018. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  1019. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
  1020. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  1021. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
  1022. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  1023. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
  1024. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  1025. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
  1026. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  1027. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
  1028. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  1029. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
  1030. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  1031. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
  1032. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  1033. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  1034. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  1035. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  1036. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  1037. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  1038. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  1039. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  1040. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  1041. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  1042. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  1043. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  1044. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  1045. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  1046. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  1047. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  1048. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  1049. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  1050. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  1051. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  1052. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  1053. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  1054. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  1055. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  1056. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  1057. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  1058. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  1059. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  1060. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  1061. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  1062. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  1063. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  1064. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  1065. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  1066. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  1067. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  1068. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  1069. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
  1070. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  1071. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
  1072. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  1073. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
  1074. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  1075. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
  1076. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  1077. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
  1078. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  1079. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
  1080. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  1081. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
  1082. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  1083. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
  1084. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  1085. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
  1086. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  1087. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
  1088. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  1089. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
  1090. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  1091. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
  1092. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  1093. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
  1094. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  1095. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
  1096. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  1097. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
  1098. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  1099. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
  1100. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  1101. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
  1102. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  1103. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
  1104. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  1105. package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
  1106. package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
  1107. package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
  1108. package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
  1109. package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
  1110. package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
  1111. package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
  1112. package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
  1113. package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
  1114. package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
  1115. package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
  1116. package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
  1117. package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
  1118. package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
  1119. package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
  1120. package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
  1121. package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
  1122. package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
  1123. package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
  1124. package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
  1125. package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
  1126. package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
  1127. package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
  1128. package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
  1129. package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
  1130. package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
  1131. package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
  1132. package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
  1133. package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
  1134. package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
  1135. package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
  1136. package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
  1137. package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
  1138. package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
  1139. package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
  1140. package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
  1141. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
  1142. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  1143. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
  1144. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  1145. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
  1146. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  1147. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
  1148. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  1149. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
  1150. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  1151. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
  1152. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  1153. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
  1154. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  1155. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
  1156. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  1157. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
  1158. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  1159. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
  1160. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  1161. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
  1162. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  1163. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
  1164. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  1165. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
  1166. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  1167. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
  1168. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  1169. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
  1170. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  1171. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
  1172. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  1173. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
  1174. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  1175. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
  1176. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  1177. package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
  1178. package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
  1179. package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
  1180. package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
  1181. package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
  1182. package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
  1183. package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
  1184. package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
  1185. package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
  1186. package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
  1187. package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
  1188. package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
  1189. package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
  1190. package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
  1191. package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
  1192. package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
  1193. package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
  1194. package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
  1195. package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
  1196. package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
  1197. package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
  1198. package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
  1199. package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
  1200. package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
  1201. package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
  1202. package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
  1203. package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
  1204. package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
  1205. package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
  1206. package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
  1207. package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
  1208. package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
  1209. package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
  1210. package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
  1211. package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
  1212. package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
  1213. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
  1214. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  1215. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
  1216. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  1217. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
  1218. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  1219. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
  1220. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  1221. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
  1222. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  1223. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
  1224. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  1225. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
  1226. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  1227. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
  1228. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  1229. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
  1230. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  1231. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
  1232. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  1233. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
  1234. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  1235. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
  1236. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  1237. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
  1238. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  1239. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
  1240. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  1241. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
  1242. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  1243. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
  1244. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  1245. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
  1246. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  1247. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
  1248. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  1249. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
  1250. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  1251. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
  1252. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  1253. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
  1254. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  1255. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
  1256. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  1257. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
  1258. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  1259. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
  1260. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  1261. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
  1262. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  1263. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
  1264. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  1265. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
  1266. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  1267. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
  1268. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  1269. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
  1270. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  1271. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
  1272. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  1273. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
  1274. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  1275. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
  1276. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  1277. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
  1278. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  1279. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
  1280. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  1281. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
  1282. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  1283. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
  1284. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  1285. package/dist/ui-library/index.esm.js +1 -1
  1286. package/dist/ui-library/index.esm.js.map +1 -1
  1287. package/dist/ui-library/loader.esm.js.map +1 -0
  1288. package/dist/ui-library/p-01243b2e.entry.js +2 -0
  1289. package/dist/ui-library/p-01243b2e.entry.js.map +1 -0
  1290. package/dist/ui-library/p-09de2bda.entry.js +2 -0
  1291. package/dist/ui-library/p-09de2bda.entry.js.map +1 -0
  1292. package/dist/ui-library/p-0eb90caf.entry.js +2 -0
  1293. package/dist/ui-library/p-0eb90caf.entry.js.map +1 -0
  1294. package/dist/ui-library/p-14f79bfc.entry.js +2 -0
  1295. package/dist/ui-library/p-14f79bfc.entry.js.map +1 -0
  1296. package/dist/ui-library/p-174dd242.entry.js +2 -0
  1297. package/dist/ui-library/p-174dd242.entry.js.map +1 -0
  1298. package/dist/ui-library/p-18e755bc.entry.js +2 -0
  1299. package/dist/ui-library/p-18e755bc.entry.js.map +1 -0
  1300. package/dist/ui-library/p-194037e9.entry.js +2 -0
  1301. package/dist/ui-library/p-194037e9.entry.js.map +1 -0
  1302. package/dist/ui-library/p-1cfa2df4.entry.js +2 -0
  1303. package/dist/ui-library/p-1cfa2df4.entry.js.map +1 -0
  1304. package/dist/ui-library/p-1oJarDAY.js +2 -0
  1305. package/dist/ui-library/p-1oJarDAY.js.map +1 -0
  1306. package/dist/ui-library/p-22ad3353.entry.js +2 -0
  1307. package/dist/ui-library/p-22ad3353.entry.js.map +1 -0
  1308. package/dist/ui-library/p-25ff87fe.entry.js +2 -0
  1309. package/dist/ui-library/p-25ff87fe.entry.js.map +1 -0
  1310. package/dist/ui-library/p-285666de.entry.js +2 -0
  1311. package/dist/ui-library/p-285666de.entry.js.map +1 -0
  1312. package/dist/ui-library/p-29d79fe3.entry.js +2 -0
  1313. package/dist/ui-library/p-29d79fe3.entry.js.map +1 -0
  1314. package/dist/ui-library/p-2a245a37.entry.js +2 -0
  1315. package/dist/ui-library/p-2a245a37.entry.js.map +1 -0
  1316. package/dist/ui-library/p-2a82de6c.entry.js +2 -0
  1317. package/dist/ui-library/p-2a82de6c.entry.js.map +1 -0
  1318. package/dist/ui-library/p-2fb16281.entry.js +2 -0
  1319. package/dist/ui-library/p-2fb16281.entry.js.map +1 -0
  1320. package/dist/ui-library/p-31c5f8fa.entry.js +2 -0
  1321. package/dist/ui-library/p-31c5f8fa.entry.js.map +1 -0
  1322. package/dist/{components/six-button2.js → ui-library/p-336610a9.entry.js} +2 -148
  1323. package/dist/ui-library/p-336610a9.entry.js.map +1 -0
  1324. package/dist/ui-library/p-362ff192.entry.js +2 -0
  1325. package/dist/ui-library/p-362ff192.entry.js.map +1 -0
  1326. package/dist/ui-library/p-371ef302.entry.js +2 -0
  1327. package/dist/ui-library/p-371ef302.entry.js.map +1 -0
  1328. package/dist/ui-library/p-39109b96.entry.js +2 -0
  1329. package/dist/ui-library/p-39109b96.entry.js.map +1 -0
  1330. package/dist/ui-library/p-3d49deae.entry.js +2 -0
  1331. package/dist/ui-library/p-3d49deae.entry.js.map +1 -0
  1332. package/dist/ui-library/p-3dc98466.entry.js +2 -0
  1333. package/dist/ui-library/p-3dc98466.entry.js.map +1 -0
  1334. package/dist/ui-library/p-4152b371.entry.js +2 -0
  1335. package/dist/ui-library/p-4152b371.entry.js.map +1 -0
  1336. package/dist/ui-library/p-494546c8.entry.js +2 -0
  1337. package/dist/ui-library/p-494546c8.entry.js.map +1 -0
  1338. package/dist/ui-library/p-4f52c56f.entry.js +2 -0
  1339. package/dist/ui-library/p-4f52c56f.entry.js.map +1 -0
  1340. package/dist/ui-library/p-54490d28.entry.js +2 -0
  1341. package/dist/ui-library/p-54490d28.entry.js.map +1 -0
  1342. package/dist/ui-library/p-56e172e0.entry.js +2 -0
  1343. package/dist/ui-library/p-56e172e0.entry.js.map +1 -0
  1344. package/dist/ui-library/p-5b52d097.entry.js +2 -0
  1345. package/dist/ui-library/p-5b52d097.entry.js.map +1 -0
  1346. package/dist/ui-library/p-65e53a1b.entry.js +2 -0
  1347. package/dist/ui-library/p-65e53a1b.entry.js.map +1 -0
  1348. package/dist/ui-library/p-6607d03a.entry.js +2 -0
  1349. package/dist/ui-library/p-6607d03a.entry.js.map +1 -0
  1350. package/dist/ui-library/p-6dd3f54c.entry.js +2 -0
  1351. package/dist/ui-library/p-6dd3f54c.entry.js.map +1 -0
  1352. package/dist/ui-library/p-811ce2a0.entry.js +2 -0
  1353. package/dist/ui-library/p-811ce2a0.entry.js.map +1 -0
  1354. package/dist/ui-library/p-83d5fa7c.entry.js +2 -0
  1355. package/dist/ui-library/p-83d5fa7c.entry.js.map +1 -0
  1356. package/dist/ui-library/p-850aff56.entry.js +2 -0
  1357. package/dist/ui-library/p-850aff56.entry.js.map +1 -0
  1358. package/dist/ui-library/p-8884a48b.entry.js +2 -0
  1359. package/dist/ui-library/p-8884a48b.entry.js.map +1 -0
  1360. package/dist/ui-library/p-91c195d3.entry.js +2 -0
  1361. package/dist/ui-library/{p-70fac778.entry.js.map → p-91c195d3.entry.js.map} +1 -1
  1362. package/dist/ui-library/p-9ec79195.entry.js +2 -0
  1363. package/dist/ui-library/p-9ec79195.entry.js.map +1 -0
  1364. package/dist/ui-library/{p-842b492e.js → p-B1bClJZ6.js} +1 -1
  1365. package/dist/ui-library/p-B1bClJZ6.js.map +1 -0
  1366. package/dist/ui-library/{p-8227aaed.js → p-BY6hIEFX.js} +1 -1
  1367. package/dist/ui-library/p-BY6hIEFX.js.map +1 -0
  1368. package/dist/ui-library/{p-8bfb4bfc.js → p-C4h4qpGl.js} +1 -1
  1369. package/dist/ui-library/p-C4h4qpGl.js.map +1 -0
  1370. package/dist/ui-library/{p-a1502802.js → p-CKhg9ibv.js} +1 -1
  1371. package/dist/ui-library/p-CKhg9ibv.js.map +1 -0
  1372. package/dist/ui-library/{p-651293e7.js → p-CfIoyvm-.js} +1 -1
  1373. package/dist/ui-library/p-CfIoyvm-.js.map +1 -0
  1374. package/dist/ui-library/p-DQuL1Twl.js +2 -0
  1375. package/dist/ui-library/p-DQuL1Twl.js.map +1 -0
  1376. package/dist/ui-library/{p-f136a6b2.js → p-Dd6pdO8C.js} +1 -1
  1377. package/dist/ui-library/p-Dd6pdO8C.js.map +1 -0
  1378. package/dist/ui-library/p-Dg9366Gk.js +2 -0
  1379. package/dist/ui-library/p-Dg9366Gk.js.map +1 -0
  1380. package/dist/ui-library/p-JoG9I7EO.js +3 -0
  1381. package/dist/ui-library/p-JoG9I7EO.js.map +1 -0
  1382. package/dist/ui-library/p-SLlDVtvF.js +2 -0
  1383. package/dist/ui-library/p-SLlDVtvF.js.map +1 -0
  1384. package/dist/ui-library/{p-06ba4450.js → p-Vw_F19Fv.js} +1 -1
  1385. package/dist/ui-library/p-Vw_F19Fv.js.map +1 -0
  1386. package/dist/ui-library/{p-862d474e.js → p-WA6V9mN8.js} +1 -1
  1387. package/dist/ui-library/p-WA6V9mN8.js.map +1 -0
  1388. package/dist/ui-library/p-a43843d6.entry.js +2 -0
  1389. package/dist/ui-library/p-a43843d6.entry.js.map +1 -0
  1390. package/dist/ui-library/p-a4b523ed.entry.js +2 -0
  1391. package/dist/ui-library/p-a4b523ed.entry.js.map +1 -0
  1392. package/dist/ui-library/p-ab043a8c.entry.js +2 -0
  1393. package/dist/ui-library/p-ab043a8c.entry.js.map +1 -0
  1394. package/dist/ui-library/{p-1f7a0cb5.entry.js → p-b37d9771.entry.js} +2 -2
  1395. package/dist/ui-library/p-b37d9771.entry.js.map +1 -0
  1396. package/dist/ui-library/{p-d46acf21.entry.js → p-b6244904.entry.js} +2 -2
  1397. package/dist/ui-library/p-b6244904.entry.js.map +1 -0
  1398. package/dist/ui-library/p-c47f11e4.entry.js +2 -0
  1399. package/dist/ui-library/p-c47f11e4.entry.js.map +1 -0
  1400. package/dist/ui-library/p-c90a59fc.entry.js +2 -0
  1401. package/dist/ui-library/p-c90a59fc.entry.js.map +1 -0
  1402. package/dist/ui-library/p-cea7f777.entry.js +2 -0
  1403. package/dist/ui-library/p-cea7f777.entry.js.map +1 -0
  1404. package/dist/ui-library/p-d36ec323.entry.js +2 -0
  1405. package/dist/ui-library/p-d36ec323.entry.js.map +1 -0
  1406. package/dist/ui-library/p-dc2109d2.entry.js +2 -0
  1407. package/dist/ui-library/p-dc2109d2.entry.js.map +1 -0
  1408. package/dist/ui-library/p-e85be7d2.entry.js +2 -0
  1409. package/dist/ui-library/p-e85be7d2.entry.js.map +1 -0
  1410. package/dist/ui-library/p-e92df84a.entry.js +2 -0
  1411. package/dist/ui-library/p-e92df84a.entry.js.map +1 -0
  1412. package/dist/ui-library/p-ea61b009.entry.js +2 -0
  1413. package/dist/ui-library/p-ea61b009.entry.js.map +1 -0
  1414. package/dist/ui-library/p-ed6625e6.entry.js +2 -0
  1415. package/dist/ui-library/p-ed6625e6.entry.js.map +1 -0
  1416. package/dist/ui-library/p-ee980a0f.entry.js +2 -0
  1417. package/dist/ui-library/p-ee980a0f.entry.js.map +1 -0
  1418. package/dist/ui-library/p-f4dd7b57.entry.js +2 -0
  1419. package/dist/ui-library/p-f4dd7b57.entry.js.map +1 -0
  1420. package/dist/ui-library/p-f6423fca.entry.js +2 -0
  1421. package/dist/ui-library/p-f6423fca.entry.js.map +1 -0
  1422. package/dist/ui-library/p-fe7d3665.entry.js +2 -0
  1423. package/dist/ui-library/p-fe7d3665.entry.js.map +1 -0
  1424. package/dist/ui-library/{p-0cebf1d2.js → p-j3oIB5oT.js} +1 -1
  1425. package/dist/ui-library/p-j3oIB5oT.js.map +1 -0
  1426. package/dist/ui-library/p-kHci8ddv.js +2 -0
  1427. package/dist/{esm/popover-25996e62.js.map → ui-library/p-kHci8ddv.js.map} +1 -1
  1428. package/dist/ui-library/six-alert.entry.esm.js.map +1 -0
  1429. package/dist/ui-library/six-avatar.entry.esm.js.map +1 -0
  1430. package/dist/ui-library/six-badge.entry.esm.js.map +1 -0
  1431. package/dist/ui-library/six-button.entry.esm.js.map +1 -0
  1432. package/dist/ui-library/six-card.entry.esm.js.map +1 -0
  1433. package/dist/ui-library/six-checkbox.six-menu-item.entry.esm.js.map +1 -0
  1434. package/dist/ui-library/six-date.entry.esm.js.map +1 -0
  1435. package/dist/ui-library/six-datepicker.entry.esm.js.map +1 -0
  1436. package/dist/ui-library/six-details.entry.esm.js.map +1 -0
  1437. package/dist/ui-library/six-dialog.entry.esm.js.map +1 -0
  1438. package/dist/ui-library/six-drawer.entry.esm.js.map +1 -0
  1439. package/dist/ui-library/six-dropdown.six-menu.entry.esm.js.map +1 -0
  1440. package/dist/ui-library/six-error-page.entry.esm.js.map +1 -0
  1441. package/dist/ui-library/six-error.entry.esm.js.map +1 -0
  1442. package/dist/ui-library/six-file-list-item.entry.esm.js.map +1 -0
  1443. package/dist/ui-library/six-file-list.entry.esm.js.map +1 -0
  1444. package/dist/ui-library/six-file-upload.entry.esm.js.map +1 -0
  1445. package/dist/ui-library/six-footer.entry.esm.js.map +1 -0
  1446. package/dist/ui-library/six-group-label.entry.esm.js.map +1 -0
  1447. package/dist/ui-library/six-header-dropdown-item.entry.esm.js.map +1 -0
  1448. package/dist/ui-library/six-header-item.entry.esm.js.map +1 -0
  1449. package/dist/ui-library/six-header-menu-button.entry.esm.js.map +1 -0
  1450. package/dist/ui-library/six-header.entry.esm.js.map +1 -0
  1451. package/dist/ui-library/six-icon-button.entry.esm.js.map +1 -0
  1452. package/dist/ui-library/six-icon.entry.esm.js.map +1 -0
  1453. package/dist/ui-library/six-input.entry.esm.js.map +1 -0
  1454. package/dist/ui-library/six-item-picker.entry.esm.js.map +1 -0
  1455. package/dist/ui-library/six-language-switcher.entry.esm.js.map +1 -0
  1456. package/dist/ui-library/six-layout-grid.entry.esm.js.map +1 -0
  1457. package/dist/ui-library/six-logo.entry.esm.js.map +1 -0
  1458. package/dist/ui-library/six-main-container.entry.esm.js.map +1 -0
  1459. package/dist/ui-library/six-menu-divider.entry.esm.js.map +1 -0
  1460. package/dist/ui-library/six-menu-label.entry.esm.js.map +1 -0
  1461. package/dist/ui-library/six-picto.entry.esm.js.map +1 -0
  1462. package/dist/ui-library/six-progress-bar.entry.esm.js.map +1 -0
  1463. package/dist/ui-library/six-progress-ring.entry.esm.js.map +1 -0
  1464. package/dist/ui-library/six-radio.entry.esm.js.map +1 -0
  1465. package/dist/ui-library/six-range.entry.esm.js.map +1 -0
  1466. package/dist/ui-library/six-root.entry.esm.js.map +1 -0
  1467. package/dist/ui-library/six-search-field.entry.esm.js.map +1 -0
  1468. package/dist/ui-library/six-select.entry.esm.js.map +1 -0
  1469. package/dist/ui-library/six-sidebar-item-group.entry.esm.js.map +1 -0
  1470. package/dist/ui-library/six-sidebar-item.entry.esm.js.map +1 -0
  1471. package/dist/ui-library/six-sidebar.entry.esm.js.map +1 -0
  1472. package/dist/ui-library/six-spinner.entry.esm.js.map +1 -0
  1473. package/dist/ui-library/six-stage-indicator.entry.esm.js.map +1 -0
  1474. package/dist/ui-library/six-switch.entry.esm.js.map +1 -0
  1475. package/dist/ui-library/six-tab-group.entry.esm.js.map +1 -0
  1476. package/dist/ui-library/six-tab-panel.entry.esm.js.map +1 -0
  1477. package/dist/ui-library/six-tab.entry.esm.js.map +1 -0
  1478. package/dist/ui-library/six-tag.entry.esm.js.map +1 -0
  1479. package/dist/ui-library/six-textarea.entry.esm.js.map +1 -0
  1480. package/dist/ui-library/six-tile.entry.esm.js.map +1 -0
  1481. package/dist/ui-library/six-timepicker.entry.esm.js.map +1 -0
  1482. package/dist/ui-library/six-tooltip.entry.esm.js.map +1 -0
  1483. package/dist/ui-library/ui-library.css +1 -1
  1484. package/dist/ui-library/ui-library.esm.js +1 -1
  1485. package/dist/ui-library/ui-library.esm.js.map +1 -1
  1486. package/package.json +17 -12
  1487. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  1488. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  1489. package/dist/cjs/error-messages-6e8049a4.js.map +0 -1
  1490. package/dist/cjs/execution-control-d728da70.js.map +0 -1
  1491. package/dist/cjs/focus-visible-e2c9255a.js.map +0 -1
  1492. package/dist/cjs/form-9ebaae7c.js.map +0 -1
  1493. package/dist/cjs/form-control-b39f1df5.js.map +0 -1
  1494. package/dist/cjs/index-417a06c8.js.map +0 -1
  1495. package/dist/cjs/modal-bd7fc5bc.js.map +0 -1
  1496. package/dist/cjs/popover-1e7c09f1.js.map +0 -1
  1497. package/dist/cjs/popup-e854acda.js.map +0 -1
  1498. package/dist/cjs/scroll-68033901.js.map +0 -1
  1499. package/dist/cjs/six-checkbox.cjs.entry.js +0 -128
  1500. package/dist/cjs/six-checkbox.cjs.entry.js.map +0 -1
  1501. package/dist/cjs/six-dropdown_3.cjs.entry.js.map +0 -1
  1502. package/dist/cjs/six-header-item_2.cjs.entry.js +0 -47
  1503. package/dist/cjs/six-header-item_2.cjs.entry.js.map +0 -1
  1504. package/dist/cjs/slot-1b1232a1.js.map +0 -1
  1505. package/dist/cjs/types-d3da200b.js.map +0 -1
  1506. package/dist/collection/material-icons-round.woff +0 -0
  1507. package/dist/collection/material-icons-round.woff2 +0 -0
  1508. package/dist/collection/material-icons-sharp.woff +0 -0
  1509. package/dist/collection/material-icons-sharp.woff2 +0 -0
  1510. package/dist/collection/material-icons-two-tone.woff +0 -0
  1511. package/dist/collection/material-icons-two-tone.woff2 +0 -0
  1512. package/dist/collection/material-icons.css +0 -124
  1513. package/dist/collection/material-icons.scss +0 -5
  1514. package/dist/collection/material-icons.woff +0 -0
  1515. package/dist/components/event-listeners.js.map +0 -1
  1516. package/dist/components/execution-control.js.map +0 -1
  1517. package/dist/components/focus-visible.js.map +0 -1
  1518. package/dist/components/form-control.js.map +0 -1
  1519. package/dist/components/form.js.map +0 -1
  1520. package/dist/components/modal.js.map +0 -1
  1521. package/dist/components/popover.js.map +0 -1
  1522. package/dist/components/scroll.js.map +0 -1
  1523. package/dist/components/six-button2.js.map +0 -1
  1524. package/dist/components/six-checkbox2.js +0 -166
  1525. package/dist/components/six-checkbox2.js.map +0 -1
  1526. package/dist/components/six-details2.js.map +0 -1
  1527. package/dist/components/six-dropdown2.js.map +0 -1
  1528. package/dist/components/six-error2.js.map +0 -1
  1529. package/dist/components/six-header-item2.js +0 -39
  1530. package/dist/components/six-header-item2.js.map +0 -1
  1531. package/dist/components/six-icon-button2.js +0 -80
  1532. package/dist/components/six-icon-button2.js.map +0 -1
  1533. package/dist/components/six-icon2.js.map +0 -1
  1534. package/dist/components/six-input2.js +0 -291
  1535. package/dist/components/six-input2.js.map +0 -1
  1536. package/dist/components/six-item-picker2.js.map +0 -1
  1537. package/dist/components/six-logo2.js +0 -42
  1538. package/dist/components/six-logo2.js.map +0 -1
  1539. package/dist/components/six-menu-item2.js.map +0 -1
  1540. package/dist/components/six-menu2.js.map +0 -1
  1541. package/dist/components/six-picto2.js.map +0 -1
  1542. package/dist/components/six-spinner2.js.map +0 -1
  1543. package/dist/components/six-stage-indicator2.js.map +0 -1
  1544. package/dist/components/six-timepicker2.js.map +0 -1
  1545. package/dist/components/six-tooltip2.js.map +0 -1
  1546. package/dist/components/slot.js.map +0 -1
  1547. package/dist/esm/app-globals-0f993ce5.js +0 -5
  1548. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  1549. package/dist/esm/error-messages-1eaaad23.js.map +0 -1
  1550. package/dist/esm/event-listeners-706d4309.js.map +0 -1
  1551. package/dist/esm/execution-control-2ebaf4ef.js.map +0 -1
  1552. package/dist/esm/focus-visible-d9dbfeef.js.map +0 -1
  1553. package/dist/esm/form-4b145b7a.js.map +0 -1
  1554. package/dist/esm/form-control-ad1710bf.js.map +0 -1
  1555. package/dist/esm/index-a7bee415.js.map +0 -1
  1556. package/dist/esm/modal-6c1288e3.js.map +0 -1
  1557. package/dist/esm/popup-7209e9d5.js.map +0 -1
  1558. package/dist/esm/scroll-3e16851e.js.map +0 -1
  1559. package/dist/esm/six-checkbox.entry.js +0 -124
  1560. package/dist/esm/six-checkbox.entry.js.map +0 -1
  1561. package/dist/esm/six-dropdown_3.entry.js.map +0 -1
  1562. package/dist/esm/six-header-item_2.entry.js +0 -42
  1563. package/dist/esm/six-header-item_2.entry.js.map +0 -1
  1564. package/dist/esm/slot-56531341.js.map +0 -1
  1565. package/dist/esm/types-a07bb999.js.map +0 -1
  1566. package/dist/ui-library/material-icons-round.woff +0 -0
  1567. package/dist/ui-library/material-icons-round.woff2 +0 -0
  1568. package/dist/ui-library/material-icons-sharp.woff +0 -0
  1569. package/dist/ui-library/material-icons-sharp.woff2 +0 -0
  1570. package/dist/ui-library/material-icons-two-tone.woff +0 -0
  1571. package/dist/ui-library/material-icons-two-tone.woff2 +0 -0
  1572. package/dist/ui-library/material-icons.css +0 -124
  1573. package/dist/ui-library/material-icons.scss +0 -5
  1574. package/dist/ui-library/material-icons.woff +0 -0
  1575. package/dist/ui-library/p-03acec96.entry.js +0 -2
  1576. package/dist/ui-library/p-03acec96.entry.js.map +0 -1
  1577. package/dist/ui-library/p-06ba4450.js.map +0 -1
  1578. package/dist/ui-library/p-06d562b7.entry.js +0 -2
  1579. package/dist/ui-library/p-06d562b7.entry.js.map +0 -1
  1580. package/dist/ui-library/p-07b6203f.entry.js +0 -2
  1581. package/dist/ui-library/p-07b6203f.entry.js.map +0 -1
  1582. package/dist/ui-library/p-0a6b6429.entry.js +0 -2
  1583. package/dist/ui-library/p-0a6b6429.entry.js.map +0 -1
  1584. package/dist/ui-library/p-0cebf1d2.js.map +0 -1
  1585. package/dist/ui-library/p-14d09601.entry.js +0 -2
  1586. package/dist/ui-library/p-14d09601.entry.js.map +0 -1
  1587. package/dist/ui-library/p-171df3ad.entry.js +0 -2
  1588. package/dist/ui-library/p-171df3ad.entry.js.map +0 -1
  1589. package/dist/ui-library/p-1cc3b56d.entry.js +0 -2
  1590. package/dist/ui-library/p-1cc3b56d.entry.js.map +0 -1
  1591. package/dist/ui-library/p-1cd09d9b.entry.js +0 -2
  1592. package/dist/ui-library/p-1cd09d9b.entry.js.map +0 -1
  1593. package/dist/ui-library/p-1f7a0cb5.entry.js.map +0 -1
  1594. package/dist/ui-library/p-2355c444.entry.js +0 -2
  1595. package/dist/ui-library/p-2355c444.entry.js.map +0 -1
  1596. package/dist/ui-library/p-281ffc35.entry.js +0 -2
  1597. package/dist/ui-library/p-281ffc35.entry.js.map +0 -1
  1598. package/dist/ui-library/p-2ad904a7.entry.js +0 -2
  1599. package/dist/ui-library/p-2ad904a7.entry.js.map +0 -1
  1600. package/dist/ui-library/p-30000e86.entry.js +0 -2
  1601. package/dist/ui-library/p-30000e86.entry.js.map +0 -1
  1602. package/dist/ui-library/p-42cd3588.entry.js +0 -2
  1603. package/dist/ui-library/p-42cd3588.entry.js.map +0 -1
  1604. package/dist/ui-library/p-48118ce8.js +0 -3
  1605. package/dist/ui-library/p-48118ce8.js.map +0 -1
  1606. package/dist/ui-library/p-49019d6c.entry.js +0 -2
  1607. package/dist/ui-library/p-49019d6c.entry.js.map +0 -1
  1608. package/dist/ui-library/p-4d72b179.entry.js +0 -2
  1609. package/dist/ui-library/p-4d72b179.entry.js.map +0 -1
  1610. package/dist/ui-library/p-4de4ee7a.entry.js +0 -2
  1611. package/dist/ui-library/p-4de4ee7a.entry.js.map +0 -1
  1612. package/dist/ui-library/p-4edde816.entry.js +0 -2
  1613. package/dist/ui-library/p-4edde816.entry.js.map +0 -1
  1614. package/dist/ui-library/p-4f129bb3.entry.js +0 -2
  1615. package/dist/ui-library/p-4f129bb3.entry.js.map +0 -1
  1616. package/dist/ui-library/p-57ea4cb7.entry.js +0 -2
  1617. package/dist/ui-library/p-57ea4cb7.entry.js.map +0 -1
  1618. package/dist/ui-library/p-5ece7986.entry.js +0 -2
  1619. package/dist/ui-library/p-5ece7986.entry.js.map +0 -1
  1620. package/dist/ui-library/p-5f491974.entry.js +0 -2
  1621. package/dist/ui-library/p-5f491974.entry.js.map +0 -1
  1622. package/dist/ui-library/p-5fc9cd7b.entry.js +0 -2
  1623. package/dist/ui-library/p-5fc9cd7b.entry.js.map +0 -1
  1624. package/dist/ui-library/p-618bf750.entry.js +0 -2
  1625. package/dist/ui-library/p-618bf750.entry.js.map +0 -1
  1626. package/dist/ui-library/p-62a1f514.entry.js +0 -2
  1627. package/dist/ui-library/p-62a1f514.entry.js.map +0 -1
  1628. package/dist/ui-library/p-651293e7.js.map +0 -1
  1629. package/dist/ui-library/p-6513b8ce.entry.js +0 -2
  1630. package/dist/ui-library/p-6513b8ce.entry.js.map +0 -1
  1631. package/dist/ui-library/p-6795e0a9.entry.js +0 -2
  1632. package/dist/ui-library/p-6795e0a9.entry.js.map +0 -1
  1633. package/dist/ui-library/p-6ec126f7.entry.js +0 -2
  1634. package/dist/ui-library/p-6ec126f7.entry.js.map +0 -1
  1635. package/dist/ui-library/p-705e3612.entry.js +0 -2
  1636. package/dist/ui-library/p-705e3612.entry.js.map +0 -1
  1637. package/dist/ui-library/p-70fac778.entry.js +0 -2
  1638. package/dist/ui-library/p-7afdff5c.entry.js +0 -2
  1639. package/dist/ui-library/p-7afdff5c.entry.js.map +0 -1
  1640. package/dist/ui-library/p-7eb9ae75.entry.js +0 -2
  1641. package/dist/ui-library/p-7eb9ae75.entry.js.map +0 -1
  1642. package/dist/ui-library/p-7f856f00.js +0 -2
  1643. package/dist/ui-library/p-7f856f00.js.map +0 -1
  1644. package/dist/ui-library/p-8227aaed.js.map +0 -1
  1645. package/dist/ui-library/p-842b492e.js.map +0 -1
  1646. package/dist/ui-library/p-862d474e.js.map +0 -1
  1647. package/dist/ui-library/p-870139dc.entry.js +0 -2
  1648. package/dist/ui-library/p-870139dc.entry.js.map +0 -1
  1649. package/dist/ui-library/p-8bfb4bfc.js.map +0 -1
  1650. package/dist/ui-library/p-a04460e3.js +0 -2
  1651. package/dist/ui-library/p-a04460e3.js.map +0 -1
  1652. package/dist/ui-library/p-a1502802.js.map +0 -1
  1653. package/dist/ui-library/p-a20a702a.entry.js +0 -2
  1654. package/dist/ui-library/p-a20a702a.entry.js.map +0 -1
  1655. package/dist/ui-library/p-adc65fc8.entry.js +0 -2
  1656. package/dist/ui-library/p-adc65fc8.entry.js.map +0 -1
  1657. package/dist/ui-library/p-afb15ea4.entry.js +0 -2
  1658. package/dist/ui-library/p-afb15ea4.entry.js.map +0 -1
  1659. package/dist/ui-library/p-b361d5da.entry.js +0 -2
  1660. package/dist/ui-library/p-b361d5da.entry.js.map +0 -1
  1661. package/dist/ui-library/p-bfb398c6.entry.js +0 -2
  1662. package/dist/ui-library/p-bfb398c6.entry.js.map +0 -1
  1663. package/dist/ui-library/p-cd65e3b2.entry.js +0 -2
  1664. package/dist/ui-library/p-cd65e3b2.entry.js.map +0 -1
  1665. package/dist/ui-library/p-cd79700c.entry.js +0 -2
  1666. package/dist/ui-library/p-cd79700c.entry.js.map +0 -1
  1667. package/dist/ui-library/p-cdc9224d.entry.js +0 -2
  1668. package/dist/ui-library/p-cdc9224d.entry.js.map +0 -1
  1669. package/dist/ui-library/p-cdc94cd6.entry.js +0 -2
  1670. package/dist/ui-library/p-cdc94cd6.entry.js.map +0 -1
  1671. package/dist/ui-library/p-d46acf21.entry.js.map +0 -1
  1672. package/dist/ui-library/p-d67b8482.entry.js +0 -2
  1673. package/dist/ui-library/p-d67b8482.entry.js.map +0 -1
  1674. package/dist/ui-library/p-db193a32.entry.js +0 -2
  1675. package/dist/ui-library/p-db193a32.entry.js.map +0 -1
  1676. package/dist/ui-library/p-e080d5b6.js +0 -2
  1677. package/dist/ui-library/p-e080d5b6.js.map +0 -1
  1678. package/dist/ui-library/p-e1255160.js +0 -2
  1679. package/dist/ui-library/p-e1255160.js.map +0 -1
  1680. package/dist/ui-library/p-e1529ef6.entry.js +0 -2
  1681. package/dist/ui-library/p-e1529ef6.entry.js.map +0 -1
  1682. package/dist/ui-library/p-e181944f.entry.js +0 -2
  1683. package/dist/ui-library/p-e181944f.entry.js.map +0 -1
  1684. package/dist/ui-library/p-e6efc08a.entry.js +0 -2
  1685. package/dist/ui-library/p-e6efc08a.entry.js.map +0 -1
  1686. package/dist/ui-library/p-e9462085.entry.js +0 -2
  1687. package/dist/ui-library/p-e9462085.entry.js.map +0 -1
  1688. package/dist/ui-library/p-ea854ec5.entry.js +0 -2
  1689. package/dist/ui-library/p-ea854ec5.entry.js.map +0 -1
  1690. package/dist/ui-library/p-f12b22bc.entry.js +0 -2
  1691. package/dist/ui-library/p-f12b22bc.entry.js.map +0 -1
  1692. package/dist/ui-library/p-f136a6b2.js.map +0 -1
  1693. package/dist/ui-library/p-f9a1f6ab.entry.js +0 -2
  1694. package/dist/ui-library/p-f9a1f6ab.entry.js.map +0 -1
  1695. package/dist/ui-library/p-ffce31da.entry.js +0 -2
  1696. package/dist/ui-library/p-ffce31da.entry.js.map +0 -1
  1697. package/loader/package.json +0 -11
  1698. /package/dist/collection/{material-icons.woff2 → files/material-icons-latin-400-normal.woff2} +0 -0
  1699. /package/dist/collection/{material-icons-outlined.woff → files/material-icons-outlined-latin-400-normal.woff} +0 -0
  1700. /package/dist/collection/{material-icons-outlined.woff2 → files/material-icons-outlined-latin-400-normal.woff2} +0 -0
  1701. /package/dist/ui-library/{material-icons.woff2 → files/material-icons-latin-400-normal.woff2} +0 -0
  1702. /package/dist/ui-library/{material-icons-outlined.woff → files/material-icons-outlined-latin-400-normal.woff} +0 -0
  1703. /package/dist/ui-library/{material-icons-outlined.woff2 → files/material-icons-outlined-latin-400-normal.woff2} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"names":["isTabbable","el","tabIndex","getNearestTabbableElement","shadowRoot","tabbableShadowChild","children","find","e","map","at","undefined","sixDropdownCss","SixDropdownStyle0","id","SixDropdown","this","componentId","isVisible","resizeObserver","ResizeObserver","debounce","updatePanelPosition","eventListeners","EventListeners","getMenuItems","options","length","sixMenuItems","renderedOptions","option","h","value","label","selectionContainerItems","panel","selectionContainer","_a","panelSlot","assignedElements","flatten","filter","isSelectionContainer","sixMenuElement","_b","isSixMenu","querySelectorAll","_c","querySelector","isSixMenuItem","Array","from","_d","handleDocumentKeyDown","event","keyboardEvent","key","hide","focusOnTrigger","filterInputElement","host","activeElement","item","style","display","setFocus","open","document","preventDefault","setTimeout","container","getRootNode","ShadowRoot","closest","tagName","toLowerCase","handleDocumentMouseDown","path","composedPath","includes","handlePanelSelect","target","closeOnSelect","handleTriggerClick","show","handleTriggerKeyDown","disableHideOnEnterAndSpace","menu","getMenu","menuItems","firstMenuItem","lastMenuItem","ignoredKeys","typeToSelect","handleTriggerKeyUp","handleTriggerSlotChange","updateAccessibleTrigger","handleDropdownScroll","scrollPanel","sixScroll","emit","scrollHeight","scrollTop","scrollbarHeight","offsetHeight","scrollRatio","clientHeight","filterEnabled","asyncFilter","containingElement","handleOpenChange","handlePopoverOptionsChange","popover","setOptions","strategy","hoist","placement","distance","skidding","handleOptionsChange","validateOptions","isArray","virtualScroll","console","error","componentWillLoad","filterDebounce","DEFAULT_DEBOUNCE_FAST","componentDidLoad","init","connectedCallback","initPopover","add","filterValue","applyFilter","emitFilterEvents","filterTerm","lowerCaseFilterTerm","trim","String","selectionContainerValues","s","forEach","async","menuItem","containsFilterTerm","resetFilter","sixAutoFilter","sixAsyncFilterFired","trigger","positioner","Popover","transitionElement","onAfterHide","sixAfterHide","onAfterShow","sixAfterShow","onTransitionEnd","disconnectedCallback","disconnect","removeAll","destroy","sixShow","defaultPrevented","observe","autofocusFilter","requestAnimationFrame","matchTriggerWidth","width","getBoundingClientRect","minWidth","reposition","sixHide","remove","triggerSlot","focus","accessibleTrigger","setAttribute","render","part","class","dropdown","ref","onClick","onKeyDown","onKeyUp","name","onSlotchange","dropdown__positioner","dropdown__positioner__filtered","role","placeholder","filterPlaceholder","slot","size","dropdown__panel__scroll","onScroll","items","getAttribute","getTextLabel","sixMenuCss","SixMenuStyle0","isFocusedMenuItem","classList","contains","isSIXMenuItemElement","mapToMenuItem","DEFAULT_NUMBER_OF_ITEMS_SHOWN_FOR_VIRTUAL_SCROLLING","DEFAULT_SIX_MENU_ITEM_HEIGHT_FOR_VIRTUAL_SCROLLING","DEFAULT_SIX_MENU_ITEM_HEIGHT","SixMenu","typeToSelectString","handleScrolling","menuWrapper","scrollingIndex","Math","floor","sixMenuItemHeight","handleClick","bind","handleKeyDown","setupForVirtualScrollingAfterRendering","clearTimeout","typeToSelectTimeout","getItems","getTextContent","substring","getItemsShown","defaultItemsShown","itemsShown","scrollingDebounce","menuItemHeight","disabled","getActiveItemIndex","selectedItem","getActiveItem","itemIndex","indexOf","extractItemsFromDOM","findIndex","i","setActiveItem","clickedItem","sixMenuItemSelected","disableKeyboardHandling","activeItem","indexOfActiveItem","getMenuWrapperStyle","styles","height","Object","assign","getMenuContainerStyle","transform","getScrollbarGhostStyle","itemSize","renderItems","slice","min","checkType","removeBoxShadow","sixMenuItemCss","SixMenuItemStyle0","SixMenuItem","handleCheckboxChange","dispatchEvent","Event","bubbles","cancelable","handleBlur","handleFocus","handleMouseEnter","handleMouseLeave","removeFocus","blur","Promise","resolve","defaultSlot","hasFocus","active","checked","onFocus","onBlur","onMouseEnter","onMouseLeave"],"sources":["src/utils/tabbable.ts","src/components/six-dropdown/six-dropdown.scss?tag=six-dropdown&encapsulation=shadow","src/components/six-dropdown/six-dropdown.tsx","src/components/six-menu/six-menu.scss?tag=six-menu&encapsulation=shadow","src/components/six-menu/six-menu.tsx","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":["export function isTabbable(el: HTMLElement) {\n const tabIndex = el.tabIndex;\n return tabIndex > -1;\n}\n\nexport function getNearestTabbableElement(el: HTMLElement): HTMLElement | undefined {\n // Check the element\n if (isTabbable(el)) {\n return el;\n }\n\n // Check the element's shadow root\n if (el.shadowRoot != null) {\n const tabbableShadowChild = [...el.shadowRoot.children].find((e) => isTabbable(e as HTMLElement)) as HTMLElement;\n if (tabbableShadowChild != null) {\n return tabbableShadowChild;\n }\n }\n\n // Check the element's children\n if (el.children != null) {\n return [...el.children].map((e) => getNearestTabbableElement(e as HTMLElement)).at(0);\n }\n\n return undefined;\n}\n","@import 'src/global/component';\n@import 'src/global/mixins/scrollbar';\n\n:host {\n display: inline-block;\n}\n\n.dropdown {\n position: relative;\n}\n\n.dropdown__trigger {\n display: block;\n}\n\n.dropdown__positioner {\n position: absolute;\n z-index: var(--six-z-index-dropdown);\n\n &__filtered {\n width: 100%;\n }\n}\n\n.dropdown__panel {\n font-family: var(--six-font-sans);\n font-size: var(--six-font-size-small);\n font-weight: var(--six-font-weight-normal);\n color: var(--color);\n background-color: var(--six-panel-background-color);\n border-radius: var(--six-border-radius-medium);\n border: 1px solid var(--six-color-web-rock-300);\n box-shadow: var(--six-shadow-small);\n opacity: 0;\n pointer-events: none;\n transform: scale(0.9);\n transition: var(--six-transition-fast) opacity, var(--six-transition-fast) transform;\n max-width: 90vw;\n}\n\n.dropdown__panel__scroll {\n max-height: 18.75rem;\n overflow-y: auto;\n overflow-x: hidden;\n overscroll-behavior: none;\n\n &--virtual {\n overflow-y: hidden;\n overflow-x: hidden;\n }\n}\n\n.filter-hidden {\n display: none;\n}\n\n.dropdown__positioner {\n &[data-popper-placement^='top'] .dropdown__panel {\n transform-origin: bottom;\n }\n\n &[data-popper-placement^='bottom'] .dropdown__panel {\n transform-origin: top;\n }\n\n &[data-popper-placement^='left'] .dropdown__panel {\n transform-origin: right;\n }\n\n &[data-popper-placement^='right'] .dropdown__panel {\n transform-origin: left;\n }\n\n &.popover-visible .dropdown__panel {\n opacity: 1;\n transform: none;\n pointer-events: all;\n }\n}\n\n.filter {\n border-bottom: 1px solid var(--six-color-web-rock-300);\n\n &__icon {\n color: var(--six-color-web-rock-600);\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { getNearestTabbableElement } from '../../utils/tabbable';\nimport Popover from '../../utils/popover';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { debounce, DEFAULT_DEBOUNCE_FAST } from '../../utils/execution-control';\nimport { EmptyPayload } from '../../utils/types';\nimport { SixMenuItemData } from '../six-menu/six-menu';\n\nexport interface SixDropdownAutoFilterPayload {\n filterValue: string;\n}\n\nexport interface SixDropdownAsyncFilterPayload {\n filterValue: string;\n}\n\nexport interface SixDropdownScrollPayload {\n scrollHeight: number;\n scrollTop: number;\n scrollbarHeight: number;\n scrollRatio: number;\n}\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 trigger - The dropdown's trigger, usually a `<six-button>` element.\n * @slot dropdown-footer - The dropdown's footer area.\n * @slot - The dropdown's content.\n *\n * @part base - The component's base wrapper.\n * @part trigger - The container that wraps the trigger.\n * @part panel - The panel that gets shown when the dropdown is open.\n */\n\n@Component({\n tag: 'six-dropdown',\n styleUrl: 'six-dropdown.scss',\n shadow: true,\n})\nexport class SixDropdown {\n private componentId = `dropdown-${++id}`;\n private isVisible = false;\n private panel?: HTMLElement;\n private scrollPanel?: HTMLElement;\n private panelSlot?: HTMLSlotElement;\n private positioner?: HTMLElement;\n private popover?: Popover;\n private trigger?: HTMLElement;\n private triggerSlot?: HTMLSlotElement;\n private resizeObserver = new ResizeObserver(debounce(() => this.updatePanelPosition(), 100));\n\n // the input element shown in the dropdown when filter is set to true\n private filterInputElement?: HTMLSixInputElement;\n\n @Element() host!: HTMLSixDropdownElement;\n\n /** Indicates whether the dropdown is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\n * inside the viewport.\n */\n @Prop() placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'bottom-start';\n\n /** Determines whether the dropdown should hide when a menu item is selected. */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop() closeOnSelect = true;\n\n /** The distance in pixels from which to offset the panel away from its trigger. */\n @Prop() distance = 4;\n\n /** The distance in pixels from which to offset the panel along its trigger. */\n @Prop() skidding = 0;\n\n /**\n * Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n * `overflow: auto|scroll`.\n */\n @Prop() hoist = false;\n\n /** The dropdown will close when the user interacts outside of this element (e.g. clicking). */\n @Prop() containingElement?: HTMLElement;\n\n /**\n * Set to true to allow auto filtering for entries in the dropdown.\n * With this flag the dropdown will automatically filter itsel.\n * If you need to coordinate the shown elements yourself,\n * e.g. because you need to call an endpoint use asyncFilter instead\n */\n @Prop() filter = false;\n\n /**\n * Set to true to allow async filtering.\n * When you enter something in the search field the component will only emit an event but not filter any elements itself.\n * You can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself\n */\n @Prop() asyncFilter = false;\n\n /** The filter's placeholder text. */\n @Prop() filterPlaceholder = 'Filter...';\n\n /** By default the search field will be focused when opening a dropdown with filtering enabled. */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop() autofocusFilter = true;\n\n get filterEnabled() {\n return this.filter || this.asyncFilter;\n }\n\n /** The debounce for the filter callbacks. */\n @Prop({ mutable: true }) filterDebounce = 0;\n\n /** The panel can be opend/closed by pressing the spacebar or the enter key. In some cases you might want to avoid this */\n @Prop() disableHideOnEnterAndSpace = false;\n\n /** Set the options to be shown in the dropdown (alternative to setting the elements via html)*/\n @Prop({ mutable: true }) options: SixMenuItemData[] = [];\n\n /** Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around)\n * are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot. */\n @Prop() virtualScroll = false;\n\n /**\n * Determines if the dropdown panel's width should match the width of the trigger element.\n *\n * If set to `true`, the panel will resize its width to align with the trigger's width.\n * If `false` or omitted, the panel will maintain its default width.\n */\n @Prop() matchTriggerWidth = false;\n\n get container() {\n return this.containingElement || this.host;\n }\n\n /** Emitted when the dropdown opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-dropdown-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dropdown opens and all transitions are complete. */\n @Event({ eventName: 'six-dropdown-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the dropdown closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-dropdown-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dropdown closes and all transitions are complete. */\n @Event({ eventName: 'six-dropdown-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the auto filter is triggered */\n @Event({ eventName: 'six-dropdown-auto-filter-fired' }) sixAutoFilter!: EventEmitter<SixDropdownAutoFilterPayload>;\n\n /** Emitted when the async filter is triggered */\n @Event({ eventName: 'six-async-filter-fired' }) sixAsyncFilterFired!: EventEmitter<SixDropdownAsyncFilterPayload>;\n\n /** Emitted when the user scrolls inside dropdown panel.*/\n @Event({ eventName: 'six-dropdown-scroll' }) sixScroll!: EventEmitter<SixDropdownScrollPayload>;\n\n private eventListeners = new EventListeners();\n\n // internal representation of options, so we don't have to make options mutable\n @State() renderedOptions: SixMenuItemData[] = [];\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n this.updateAccessibleTrigger();\n }\n\n @Watch('distance')\n @Watch('hoist')\n @Watch('placement')\n @Watch('skidding')\n handlePopoverOptionsChange() {\n if (this.popover == null) return;\n\n this.popover.setOptions({\n strategy: this.hoist ? 'fixed' : 'absolute',\n placement: this.placement,\n distance: this.distance,\n skidding: this.skidding,\n });\n }\n\n @Watch('options')\n @Watch('virtualScroll')\n handleOptionsChange() {\n this.validateOptions();\n }\n\n private validateOptions() {\n if (!Array.isArray(this.options)) {\n this.options = [];\n }\n if (this.virtualScroll && this.options.length === 0) {\n console.error('Options must be defined when using virtual scrolling');\n }\n this.renderedOptions = [...this.options];\n }\n\n componentWillLoad() {\n this.validateOptions();\n if (this.asyncFilter) {\n this.filterDebounce = DEFAULT_DEBOUNCE_FAST;\n }\n }\n\n componentDidLoad() {\n this.init();\n if (this.open) {\n void this.show();\n }\n }\n\n connectedCallback() {\n this.init();\n }\n\n private init() {\n this.initPopover();\n\n // listen to filter\n const filterInputElement = this.filterInputElement;\n if (filterInputElement != null) {\n this.eventListeners.add(\n filterInputElement,\n 'six-input-input',\n debounce(() => {\n const filterValue = filterInputElement.value ?? '';\n if (this.filter) {\n this.applyFilter(filterValue);\n }\n this.emitFilterEvents(filterValue);\n }, this.filterDebounce)\n );\n }\n }\n\n private applyFilter(filterTerm: string) {\n const lowerCaseFilterTerm = filterTerm.toLowerCase()?.trim() || '';\n if (this.options.length > 0) {\n this.renderedOptions = this.options.filter(\n (option) =>\n (option.label && String(option.label)?.toLowerCase()?.includes(lowerCaseFilterTerm)) ||\n (option.value && String(option.value)?.toLowerCase()?.includes(lowerCaseFilterTerm))\n );\n } else {\n const { selectionContainerItems, sixMenuItems } = this.getMenuItems();\n const selectionContainerValues = selectionContainerItems.map((s) => s.value);\n\n // Filter items in selection container\n selectionContainerItems.forEach(async (menuItem) => {\n menuItem.style.display = (await containsFilterTerm(menuItem, lowerCaseFilterTerm)) ? 'unset' : 'none';\n });\n\n // Filter other items. Always hide items which contained in the selection container.\n sixMenuItems.forEach(async (menuItem) => {\n menuItem.style.display =\n (await containsFilterTerm(menuItem, lowerCaseFilterTerm)) &&\n !selectionContainerValues.includes(menuItem.value)\n ? 'unset'\n : 'none';\n });\n }\n }\n\n private resetFilter() {\n if (this.filterInputElement != null) {\n this.filterInputElement.value = '';\n this.emitFilterEvents('');\n }\n if (this.options.length > 0) {\n this.renderedOptions = [...this.options];\n } else {\n const { selectionContainerItems, sixMenuItems } = this.getMenuItems();\n [...selectionContainerItems, ...sixMenuItems].forEach((item) => (item.style.display = 'unset'));\n }\n }\n\n private emitFilterEvents(filterValue: string) {\n if (this.filter) {\n this.sixAutoFilter.emit({ filterValue });\n } else if (this.asyncFilter) {\n this.sixAsyncFilterFired.emit({ filterValue });\n }\n }\n\n private initPopover() {\n if (this.trigger == null || this.positioner == null) return;\n this.popover = new Popover(this.trigger, this.positioner, {\n strategy: this.hoist ? 'fixed' : 'absolute',\n placement: this.placement,\n distance: this.distance,\n skidding: this.skidding,\n transitionElement: this.panel,\n onAfterHide: () => {\n if (this.filterEnabled) {\n this.resetFilter();\n }\n this.sixAfterHide.emit();\n },\n onAfterShow: async () => {\n this.sixAfterShow.emit();\n },\n onTransitionEnd: () => {\n if (!this.open && this.scrollPanel != null) {\n this.scrollPanel.scrollTop = 0;\n }\n },\n });\n }\n\n private getMenuItems = (): {\n selectionContainerItems: HTMLSixMenuItemElement[];\n sixMenuItems: HTMLSixMenuItemElement[];\n } => {\n if (this.options.length > 0) {\n return {\n sixMenuItems: this.renderedOptions.map((option) => (\n <six-menu-item value={option.value}>{option.label}</six-menu-item>\n )),\n selectionContainerItems: [],\n };\n }\n if (this.panel == null) return { sixMenuItems: [], selectionContainerItems: [] };\n\n // Relies on the implementation of six-select. Its dropdown slot contains two elements,\n // one for the selected menu items, and one for the other items.\n const selectionContainer = this.panelSlot?.assignedElements({ flatten: true }).filter(isSelectionContainer).at(0);\n const sixMenuElement = this.panelSlot?.assignedElements({ flatten: true }).filter(isSixMenu).at(0) as\n | HTMLSixMenuElement\n | undefined;\n const selectionContainerItems = selectionContainer?.querySelectorAll('six-menu-item') || [];\n let sixMenuItems: HTMLSixMenuItemElement[] =\n sixMenuElement\n ?.querySelector('slot')\n ?.assignedElements()\n .filter((el): el is HTMLSixMenuItemElement => isSixMenuItem(el)) || [];\n\n if (sixMenuItems.length === 0) {\n sixMenuItems = Array.from(sixMenuElement?.shadowRoot?.querySelectorAll('six-menu-item') || []);\n }\n\n if (selectionContainerItems.length > 0 || sixMenuItems.length > 0) {\n return { sixMenuItems, selectionContainerItems: [...selectionContainerItems] };\n } else {\n return {\n sixMenuItems: sixMenuElement ? Array.from(sixMenuElement.querySelectorAll('six-menu-item')) : [],\n selectionContainerItems: [],\n };\n }\n };\n\n disconnectedCallback() {\n this.resizeObserver.disconnect();\n this.eventListeners.removeAll();\n void this.hide();\n this.popover?.destroy();\n this.popover = undefined;\n }\n\n /** Shows the dropdown panel */\n @Method()\n async show() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (this.isVisible || this.popover == null || this.panel == null) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.eventListeners.add(this.panel, 'six-menu-item-selected', this.handlePanelSelect);\n this.eventListeners.add(document, 'keydown', this.handleDocumentKeyDown);\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n\n this.isVisible = true;\n this.open = true;\n\n if (this.trigger != null) {\n this.resizeObserver.observe(this.trigger);\n }\n this.updatePanelPosition();\n this.popover.show();\n\n if (this.filterEnabled && this.autofocusFilter) {\n requestAnimationFrame(() => {\n this.filterInputElement?.setFocus();\n });\n }\n }\n\n /**\n * Set min width of dropdown panel to the width of the trigger element\n */\n private updatePanelPosition() {\n if (!this.open) {\n return;\n }\n\n if (this.matchTriggerWidth && this.trigger != null && this.panel != null) {\n const width = this.trigger.getBoundingClientRect().width;\n this.panel.style.minWidth = `${width}px`;\n }\n\n if (this.popover != null) {\n this.popover.reposition();\n }\n }\n\n /** Hides the dropdown panel */\n @Method()\n async hide() {\n this.resizeObserver.disconnect();\n\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (!this.isVisible || this.panel == null || this.popover == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.eventListeners.remove(this.panel, 'six-menu-item-selected', this.handlePanelSelect);\n this.eventListeners.remove(document, 'keydown', this.handleDocumentKeyDown);\n this.eventListeners.remove(document, 'mousedown', this.handleDocumentMouseDown);\n\n this.isVisible = false;\n this.open = false;\n this.popover.hide();\n }\n\n private focusOnTrigger() {\n if (this.trigger == null) return;\n const trigger = this.triggerSlot?.assignedElements({ flatten: true }).at(0) as HTMLSixButtonElement | undefined;\n if (trigger != null) {\n if (typeof trigger.setFocus === 'function') {\n trigger.setFocus();\n } else if (typeof trigger.focus === 'function') {\n trigger.focus();\n }\n }\n }\n\n private getMenu(): HTMLSixMenuElement | undefined {\n return this.panelSlot?.assignedElements({ flatten: true }).filter(isSixMenu).at(0) as\n | HTMLSixMenuElement\n | undefined;\n }\n\n /**\n * Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\n * is activated.\n *\n * @deprecated: use the property `matchTriggerWidth` instead.\n */\n @Method()\n async reposition() {\n if (this.open && this.popover != null) {\n this.popover.reposition();\n }\n }\n\n private handleDocumentKeyDown = (event: Event) => {\n const keyboardEvent = event as KeyboardEvent;\n // Close when escape is pressed\n if (keyboardEvent.key === 'Escape') {\n void this.hide();\n this.focusOnTrigger();\n return;\n }\n\n if (this.filterInputElement === this.host.shadowRoot?.activeElement) {\n if (keyboardEvent.key === 'ArrowDown') {\n const { sixMenuItems, selectionContainerItems } = this.getMenuItems();\n const item = [...selectionContainerItems, ...sixMenuItems].find((item) => item.style.display !== 'none');\n if (item != null) {\n item.setFocus();\n }\n }\n }\n\n // Handle tabbing\n if (keyboardEvent.key === 'Tab') {\n // Tabbing within an open menu should close the dropdown and refocus the trigger\n if (this.open && document.activeElement != null && isSixMenuItem(document.activeElement)) {\n keyboardEvent.preventDefault();\n void this.hide();\n this.focusOnTrigger();\n return;\n }\n\n // Tabbing outside the containing element closes the panel\n //\n // If the dropdown is used within a shadow DOM, we need to obtain the activeElement within that shadowRoot,\n // otherwise `document.activeElement` will only return the name of the parent shadow DOM element.\n setTimeout(() => {\n const activeElement =\n this.container.getRootNode() instanceof ShadowRoot\n ? document.activeElement?.shadowRoot?.activeElement\n : document.activeElement;\n\n if (activeElement?.closest(this.container.tagName.toLowerCase()) !== this.container) {\n void this.hide();\n return;\n }\n });\n }\n };\n\n private handleDocumentMouseDown = (event: Event) => {\n // Close when clicking outside the containing element\n const path = event.composedPath() as EventTarget[];\n if (!path.includes(this.container)) {\n void this.hide();\n return;\n }\n };\n\n private handlePanelSelect = (event: Event) => {\n const target = event.target as HTMLElement;\n\n // Hide the dropdown when a menu item is selected\n if (this.closeOnSelect && isSixMenu(target)) {\n void this.hide();\n this.focusOnTrigger();\n }\n };\n\n private handleTriggerClick = () => {\n this.open ? this.hide() : this.show();\n };\n\n private handleTriggerKeyDown = (event: KeyboardEvent) => {\n // Close when escape or tab is pressed\n if (event.key === 'Escape') {\n this.focusOnTrigger();\n void this.hide();\n return;\n }\n\n // When spacebar/enter is pressed, show the panel but don't focus on the menu. This let's the user press the same\n // key again to hide the menu in case they don't want to make a selection.\n if (!this.disableHideOnEnterAndSpace && [' ', 'Enter'].includes(event.key)) {\n event.preventDefault();\n this.open ? void this.hide() : void this.show();\n return;\n }\n\n const menu = this.getMenu();\n\n // When up/down is pressed, we make the assumption that the user is familiar with the menu and plans to make a\n // selection. Rather than toggle the panel, we focus on the menu (if one exists) and activate the first item for\n // faster navigation.\n if (['ArrowDown', 'ArrowUp'].includes(event.key)) {\n event.preventDefault();\n\n // Show the menu if it's not already open\n if (!this.open) {\n void this.show();\n }\n\n if (menu == null) {\n return;\n }\n const menuItems = [...menu.querySelectorAll('six-menu-item')];\n const firstMenuItem = menuItems.at(0);\n const lastMenuItem = menuItems.at(menuItems.length - 1);\n\n // Focus on a menu item\n if (event.key === 'ArrowDown' && firstMenuItem != null) {\n firstMenuItem.setFocus();\n return;\n }\n\n if (event.key === 'ArrowUp' && lastMenuItem != null) {\n lastMenuItem.setFocus();\n return;\n }\n }\n\n // Other keys bring focus to the menu and initiate type-to-select behavior\n const ignoredKeys = ['Tab', 'Shift', 'Meta', 'Ctrl', 'Alt'];\n if (this.open && menu != null && !ignoredKeys.includes(event.key)) {\n void menu.typeToSelect(event.key);\n return;\n }\n };\n\n private handleTriggerKeyUp = (event: KeyboardEvent) => {\n // Prevent space from triggering a click event in Firefox\n if (event.key === ' ') {\n event.preventDefault();\n }\n };\n\n private handleTriggerSlotChange = () => {\n this.updateAccessibleTrigger();\n };\n\n private handleDropdownScroll = () => {\n if (this.scrollPanel == null) return;\n\n this.sixScroll.emit({\n scrollHeight: this.scrollPanel.scrollHeight,\n scrollTop: this.scrollPanel.scrollTop,\n scrollbarHeight: this.scrollPanel.offsetHeight * (this.scrollPanel.offsetHeight / this.scrollPanel.scrollHeight),\n scrollRatio: this.scrollPanel.scrollTop / (this.scrollPanel.scrollHeight - this.scrollPanel.clientHeight),\n });\n };\n\n //\n // Slotted triggers can be arbitrary content, but we need to link them to the dropdown panel with `aria-haspopup` and\n // `aria-expanded`. These must be applied to the \"accessible trigger\" (the tabbable portion of the trigger element\n // that gets slotted in) so screen readers will understand them. The accessible trigger could be the slotted element,\n // a child of the slotted element, or an element in the slotted element's shadow root.\n //\n // For example, the accessible trigger of an <sl-button> is a <button> located inside its shadow root.\n //\n // To determine this, we assume the first tabbable element in the trigger slot is the \"accessible trigger.\"\n //\n private updateAccessibleTrigger() {\n if (this.trigger == null) return;\n const assignedElements = (this.triggerSlot?.assignedElements({ flatten: true }) || []) as HTMLElement[];\n const accessibleTrigger = assignedElements.map(getNearestTabbableElement).at(0);\n if (accessibleTrigger != null) {\n accessibleTrigger.setAttribute('aria-haspopup', 'true');\n accessibleTrigger.setAttribute('aria-expanded', this.open ? 'true' : 'false');\n }\n }\n\n render() {\n return (\n <div\n part=\"base\"\n id={this.componentId}\n class={{\n dropdown: true,\n 'dropdown--open': this.open,\n }}\n >\n <span\n part=\"trigger\"\n class=\"dropdown__trigger\"\n ref={(el) => (this.trigger = el)}\n onClick={this.handleTriggerClick}\n onKeyDown={this.handleTriggerKeyDown}\n onKeyUp={this.handleTriggerKeyUp}\n >\n <slot\n name=\"trigger\"\n ref={(el) => (this.triggerSlot = el as HTMLSlotElement)}\n onSlotchange={this.handleTriggerSlotChange}\n />\n </span>\n\n {/* Position the panel with a wrapper since the popover makes use of `translate`. This let's us add transitions\n on the panel without interfering with the position. */}\n <div\n ref={(el) => (this.positioner = el)}\n class={{\n dropdown__positioner: true,\n dropdown__positioner__filtered: (this.filter || this.asyncFilter) && !this.hoist,\n }}\n >\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"dropdown__panel\"\n role=\"menu\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-labelledby={this.componentId}\n >\n {this.filterEnabled && (\n <six-input\n class={{\n filter: true,\n 'filter-hidden': !this.open,\n }}\n dropdown-search\n aria-hidden={this.open ? 'false' : 'true'}\n ref={(el) => (this.filterInputElement = el)}\n placeholder={this.filterPlaceholder}\n >\n <six-icon class=\"filter__icon\" slot=\"suffix\" size=\"small\">\n search\n </six-icon>\n </six-input>\n )}\n <div\n class={{\n dropdown__panel__scroll: true,\n 'dropdown__panel__scroll--virtual': this.virtualScroll,\n }}\n onScroll={this.handleDropdownScroll}\n ref={(el) => (this.scrollPanel = el)}\n >\n <slot ref={(el) => (this.panelSlot = el as HTMLSlotElement)} />\n {this.options.length > 0 && (\n <six-menu part=\"menu\" items={this.renderedOptions} virtualScroll={this.virtualScroll}></six-menu>\n )}\n </div>\n <slot name=\"dropdown-footer\"></slot>\n </div>\n </div>\n </div>\n );\n }\n}\n\nfunction isSixMenu(el?: Element): boolean {\n return el?.tagName.toLowerCase() === 'six-menu';\n}\nfunction isSixMenuItem(el?: Element): boolean {\n return el?.tagName.toLowerCase() === 'six-menu-item';\n}\nfunction isSelectionContainer(el?: Element): boolean {\n return el?.getAttribute('class')?.includes('selection-container') || false;\n}\nasync function containsFilterTerm(menuItem: HTMLSixMenuItemElement, lowerCaseFilterTerm: string): Promise<boolean> {\n return (\n menuItem.value.toLowerCase().includes(lowerCaseFilterTerm) ||\n (await menuItem.getTextLabel()).toLowerCase().includes(lowerCaseFilterTerm)\n );\n}\n","@import 'src/global/component';\n\n:host {\n display: block;\n}\n\n.menu {\n padding: var(--six-spacing-xx-small) 0;\n border: none;\n box-shadow: var(--six-shadow-small);\n overflow-y: auto;\n overflow-x: hidden;\n}\n\n.menu:focus {\n outline: none;\n}\n\n.no-shadow {\n box-shadow: none;\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State } from '@stencil/core';\nimport { getTextContent } from '../../utils/slot';\nimport { StyleDeclaration } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { debounce } from '../../utils/execution-control';\n\nexport interface SixMenuItemData {\n label: string;\n value: string;\n}\n\nexport interface SixMenuItemSelectedPayload {\n name: string;\n item: HTMLSixMenuItemElement;\n}\n\nconst isFocusedMenuItem = (menuItem: HTMLSixMenuItemElement) =>\n menuItem?.shadowRoot?.querySelector('.menu-item')?.classList?.contains('menu-item--focused');\n\nconst isSIXMenuItemElement = (el?: Element): el is HTMLSixMenuItemElement =>\n el?.tagName.toLowerCase() === 'six-menu-item';\n\nconst mapToMenuItem = ({ value, label }: SixMenuItemData) => (\n <six-menu-item key={value} value={value}>\n {label}\n </six-menu-item>\n);\n\nconst DEFAULT_NUMBER_OF_ITEMS_SHOWN_FOR_VIRTUAL_SCROLLING = 5;\nconst DEFAULT_SIX_MENU_ITEM_HEIGHT_FOR_VIRTUAL_SCROLLING = 48;\nconst DEFAULT_SIX_MENU_ITEM_HEIGHT = 64;\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's content, including menu items, menu dividers, and menu labels.\n *\n * @part base - The component's base wrapper.\n */\n@Component({\n tag: 'six-menu',\n styleUrl: 'six-menu.scss',\n shadow: true,\n})\nexport class SixMenu {\n private readonly eventListeners = new EventListeners();\n\n private menu?: HTMLElement;\n private menuWrapper?: HTMLElement;\n private typeToSelectString = '';\n private typeToSelectTimeout?: number;\n\n @Element() host!: HTMLSixMenuElement;\n\n /** Emitted when a menu item is selected. */\n @Event({ eventName: 'six-menu-item-selected' }) sixMenuItemSelected!: EventEmitter<SixMenuItemSelectedPayload>;\n\n /** Set to true to remove the box-shadow */\n @Prop() removeBoxShadow = false;\n\n /** Set the options to be shown in the dropdown */\n @Prop() items: SixMenuItemData[] | null = null;\n\n /** Defines how many items should be shown. If the number of items is larger than this property a scrollbar will be shown */\n @Prop() itemsShown?: number;\n\n /** Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around)\n * are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot. */\n @Prop() virtualScroll = false;\n\n /**\n * Used for virtual scrolling\n * Define how many items should be rendered in the DOM when using virtual scrolling\n */\n @Prop() itemSize = 10;\n\n /**\n * Used for virtual scrolling\n * Define the debounce for listening on scrolling changes in milliseconds.\n * The lower the number the more sensitive the component reacts to scrolling changes.\n */\n @Prop() scrollingDebounce = 15;\n\n /**\n * Internal: Disables handling of key presses.\n */\n @Prop() disableKeyboardHandling = false;\n\n /**\n * Used to calculate which items should be rendered in the DOM\n */\n @State()\n private scrollingIndex = 0;\n\n // set a default item height, this variable will be updated with the real value after the first render.\n // However, it's necessary to have a default value because we can only fetch the proper height after the first render\n @State()\n private sixMenuItemHeight = this.virtualScroll\n ? DEFAULT_SIX_MENU_ITEM_HEIGHT_FOR_VIRTUAL_SCROLLING\n : DEFAULT_SIX_MENU_ITEM_HEIGHT;\n\n connectedCallback() {\n this.handleClick = this.handleClick.bind(this);\n this.handleKeyDown = this.handleKeyDown.bind(this);\n }\n\n componentWillLoad() {\n if (this.items === null) {\n return;\n }\n }\n\n private handleScrolling = () => {\n if (this.menuWrapper == null) return;\n // for performance improvements we only update the DOM if the scrollRatio change \"enough\"\n this.scrollingIndex = Math.floor(this.menuWrapper.scrollTop / this.sixMenuItemHeight);\n };\n\n componentDidLoad() {\n this.setupForVirtualScrollingAfterRendering();\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n\n /**\n * Initiates type-to-select logic, which automatically selects an option based on what the user is currently typing.\n * The key passed will be appended to the internal query and the selection will be updated. After a brief period, the\n * internal query is cleared automatically. This method is intended to be used with the keydown event. Useful for\n * enabling type-to-select when the menu doesn't have focus.\n */\n @Method()\n async typeToSelect(key: string) {\n clearTimeout(this.typeToSelectTimeout);\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this.typeToSelectTimeout = setTimeout(() => (this.typeToSelectString = ''), 750);\n this.typeToSelectString += key.toLowerCase();\n const items = this.getItems();\n for (const item of items) {\n const slot = item.shadowRoot?.querySelector('slot:not([name])') as HTMLSlotElement;\n const label = getTextContent(slot).toLowerCase().trim();\n if (label.substring(0, this.typeToSelectString.length) === this.typeToSelectString) {\n item.setFocus();\n break;\n }\n }\n }\n\n private getItemsShown(): number {\n const defaultItemsShown = this.virtualScroll ? DEFAULT_NUMBER_OF_ITEMS_SHOWN_FOR_VIRTUAL_SCROLLING : 0;\n if (this.items && this.items.length === 1) {\n return 0;\n }\n return this.itemsShown ?? defaultItemsShown;\n }\n\n private setupForVirtualScrollingAfterRendering() {\n if (!this.virtualScroll || this.menuWrapper == null) return;\n\n this.eventListeners.add(this.menuWrapper, 'scroll', debounce(this.handleScrolling, this.scrollingDebounce));\n\n // set menu height to proper height once the item is rendered.\n const menuItemHeight = this.menu?.querySelector('six-menu-item')?.clientHeight;\n if (menuItemHeight != null && menuItemHeight > 0) {\n this.sixMenuItemHeight = menuItemHeight;\n }\n }\n\n private getItems(): HTMLSixMenuItemElement[] {\n if (this.menu == null) return [];\n\n if (this.items != null) {\n return this.items.map(mapToMenuItem);\n }\n\n const slot = this.menu.querySelector('slot');\n if (slot == null) return [];\n return [...slot.assignedElements({ flatten: true })].filter(\n (el): el is HTMLSixMenuItemElement => isSIXMenuItemElement(el) && !el.disabled\n );\n }\n\n private getActiveItemIndex() {\n const items = this.getItems();\n const selectedItem = this.getActiveItem();\n if (selectedItem != null) {\n const itemIndex = items.indexOf(selectedItem);\n if (itemIndex > -1) {\n return itemIndex;\n }\n }\n const sixMenuItems = this.extractItemsFromDOM();\n return sixMenuItems.findIndex(isFocusedMenuItem);\n }\n\n private getActiveItem(): HTMLSixMenuItemElement | undefined {\n const activeElement = this.getItems().find((i) => i === document.activeElement);\n if (activeElement != null) {\n return activeElement;\n }\n return this.extractItemsFromDOM()?.find(isFocusedMenuItem);\n }\n\n private extractItemsFromDOM() {\n return Array.from(this.host.shadowRoot?.querySelectorAll('six-menu-item') ?? []);\n }\n\n private setActiveItem(item: HTMLSixMenuItemElement) {\n item?.setFocus();\n }\n\n private handleClick(event: MouseEvent) {\n const target = event.target as HTMLElement;\n const clickedItem = target.closest('six-menu-item');\n if (clickedItem && !clickedItem.disabled) {\n this.sixMenuItemSelected.emit({ name: clickedItem.value, item: clickedItem });\n }\n }\n\n private handleKeyDown(event: KeyboardEvent) {\n if (this.disableKeyboardHandling) {\n return;\n }\n\n // Make a selection when pressing enter\n if (event.key === 'Enter') {\n const activeItem = this.getActiveItem();\n event.preventDefault();\n\n if (activeItem != null) {\n this.sixMenuItemSelected.emit({ name: activeItem.value, item: activeItem });\n }\n }\n\n // Prevent scrolling when space is pressed\n if (event.key === ' ') {\n event.preventDefault();\n }\n\n // Move the selection when pressing down or up\n if (['ArrowDown', 'ArrowUp', 'Home', 'End'].includes(event.key)) {\n const items = this.items === null ? this.getItems() : this.extractItemsFromDOM();\n\n let indexOfActiveItem = this.getActiveItemIndex();\n\n if (items.length > 0) {\n event.preventDefault();\n\n if (event.key === 'ArrowDown') {\n indexOfActiveItem++;\n } else if (event.key === 'ArrowUp') {\n indexOfActiveItem--;\n } else if (event.key === 'Home') {\n indexOfActiveItem = 0;\n } else if (event.key === 'End') {\n indexOfActiveItem = items.length - 1;\n }\n\n if (indexOfActiveItem < 0) indexOfActiveItem = 0;\n if (indexOfActiveItem > items.length - 1) indexOfActiveItem = items.length - 1;\n\n this.setActiveItem(items[indexOfActiveItem]);\n\n return;\n }\n }\n\n void this.typeToSelect(event.key);\n }\n\n private getMenuWrapperStyle() {\n const styles: Partial<StyleDeclaration> = {};\n if (this.getItemsShown() > 0) {\n // calculate the proper height to show the correct number of items\n styles.height = `${(this.getItemsShown() ?? 0) * this.sixMenuItemHeight}px`;\n } else if (this.items && this.items.length === 1) {\n styles.height = 'auto';\n }\n return {\n ...styles,\n };\n }\n\n private getMenuContainerStyle() {\n const styles: Partial<StyleDeclaration> = {};\n\n if (this.virtualScroll) {\n // calculate height of content are if all items would be rendered so the scrollbar has the proper size\n styles.transform = `translateY(${this.sixMenuItemHeight * this.scrollingIndex}px)`;\n }\n\n return {\n ...styles,\n };\n }\n\n private getScrollbarGhostStyle() {\n const styles: Partial<StyleDeclaration> = {};\n if (this.virtualScroll && this.items !== null && this.items.length > 1) {\n styles.height = `${this.items.length * this.sixMenuItemHeight - this.itemSize * this.sixMenuItemHeight}px`;\n }\n return {\n ...styles,\n };\n }\n\n private renderItems() {\n if (this.items === undefined || this.items === null) {\n return;\n }\n\n if (!this.virtualScroll) {\n return this.items.map(mapToMenuItem);\n }\n\n return this.items\n .slice(this.scrollingIndex, Math.min(this.items.length, this.itemSize + this.scrollingIndex))\n .map(({ value, label }: SixMenuItemData) => (\n <six-menu-item checkType=\"check\" key={value} value={value}>\n {label}\n </six-menu-item>\n ));\n }\n\n render() {\n return (\n <div\n ref={(el) => (this.menuWrapper = el)}\n style={this.getMenuWrapperStyle()}\n part=\"wrapper\"\n class={{\n menu: true,\n '.no-shadow': this.removeBoxShadow,\n }}\n >\n <div\n ref={(el) => (this.menu = el)}\n part=\"base\"\n role=\"menu\"\n onClick={this.handleClick}\n onKeyDown={this.handleKeyDown}\n tabIndex={0}\n style={this.getMenuContainerStyle()}\n >\n <slot />\n {this.renderItems()}\n </div>\n {this.virtualScroll && <div style={this.getScrollbarGhostStyle()} />}\n </div>\n );\n }\n}\n","@import 'src/global/component';\n\n:host {\n display: block;\n}\n\n:focus {\n outline: none;\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-x-small) 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--active: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 .menu-item__checkbox {\n margin-top: -1px;\n }\n}\n\n.menu-item--checked .menu-item__check {\n visibility: visible;\n}\n","import { Component, Element, 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 @Element() host!: HTMLSixMenuItemElement;\n\n @State() hasFocus = false;\n\n @State() active = false;\n\n /** Defines if the checked state is displayed as a checkbox or a check-icon */\n @Prop() checkType: 'checkbox' | 'check' = 'check';\n\n /** Internal: Draws the item in a checked state. CheckType needs to be set to 'checkbox' or 'check' to show the\n * 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 this.handleCheckboxChange = this.handleCheckboxChange.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 this.active = true;\n }\n\n private handleMouseLeave() {\n this.active = false;\n this.hasFocus = false;\n }\n\n private handleCheckboxChange = () => {\n this.host.dispatchEvent(new Event('click', { bubbles: true, cancelable: true }));\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 'menu-item--active': this.active,\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 {this.checkType === 'checkbox' && (\n <span class=\"menu-item__checkbox\">\n <six-checkbox\n onSix-checkbox-change={this.handleCheckboxChange}\n disabled={this.disabled}\n checked={this.checked}\n ></six-checkbox>\n </span>\n )}\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 {this.checkType === 'check' && (\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 )}\n </div>\n );\n }\n}\n"],"mappings":"oNAAgBA,EAAWC,GACzB,MAAMC,EAAWD,EAAGC,SACpB,OAAOA,GAAY,CACrB,C,SAEgBC,EAA0BF,GAExC,GAAID,EAAWC,GAAK,CAClB,OAAOA,C,CAIT,GAAIA,EAAGG,YAAc,KAAM,CACzB,MAAMC,EAAsB,IAAIJ,EAAGG,WAAWE,UAAUC,MAAMC,GAAMR,EAAWQ,KAC/E,GAAIH,GAAuB,KAAM,CAC/B,OAAOA,C,EAKX,GAAIJ,EAAGK,UAAY,KAAM,CACvB,MAAO,IAAIL,EAAGK,UAAUG,KAAKD,GAAML,EAA0BK,KAAmBE,GAAG,E,CAGrF,OAAOC,SACT,CCzBA,M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N,SAAW,OAAS,QAAO,eACjCxN,KAAKwQ,QAAU,OAAS,QACtCtR,UAAWc,KAAKwN,SAAW,EAAI7N,UAC/B8Q,QAASzQ,KAAK8P,YACdY,OAAQ1Q,KAAK6P,WACbc,aAAc3Q,KAAK+P,iBACnBa,aAAc5Q,KAAKgQ,kBAElBhQ,KAAKmP,YAAc,YAClBpO,EAAA,QAAAyB,IAAA,2CAAM4H,MAAM,uBACVrJ,EAAA,gBAAAyB,IAAA,mEACyBxC,KAAKwP,qBAC5BhC,SAAUxN,KAAKwN,SACfgD,QAASxQ,KAAKwQ,WAKpBzP,EAAA,QAAAyB,IAAA,2CAAM2H,KAAK,SAASC,MAAM,qBACxBrJ,EAAA,QAAAyB,IAAA,2CAAMkI,KAAK,YAGb3J,EAAA,QAAAyB,IAAA,2CAAM2H,KAAK,QAAQC,MAAM,oBACvBrJ,EAAA,QAAAyB,IAAA,2CAAM8H,IAAMrL,GAAQe,KAAKqQ,YAAcpR,KAGzC8B,EAAA,QAAAyB,IAAA,2CAAM2H,KAAK,SAASC,MAAM,qBACxBrJ,EAAA,QAAAyB,IAAA,2CAAMkI,KAAK,YAGZ1K,KAAKmP,YAAc,SAClBpO,EAAA,QAAAyB,IAAA,2CAAM2H,KAAK,eAAeC,MAAM,oBAC9BrJ,EAAA,YAAAyB,IAAA,2CAAU0I,KAAK,QAAO,cAAa,QAAM,U","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,c as i,h as s,H as t,g as a}from"./p-48118ce8.js";import{E as d}from"./p-8bfb4bfc.js";import{g as h,h as r}from"./p-0cebf1d2.js";const c=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:block;user-select:none;--search-border-width:1px}::slotted(six-search-field){position:absolute;margin-left:var(--search-border-width);width:calc(100% - 2 * var(--search-border-width))}.six-header{display:flex;width:100%;height:var(--six-header-height);background-color:var(--six-header-background-color);align-items:stretch;box-shadow:var(--six-shadow-medium);border-bottom:var(--six-header-border-with) solid var(--six-header-border-color)}.six-header__logo--clickable{cursor:pointer}.six-header__placeholder{flex:1}.six-header__app-switcher-dropdown{display:flex;align-items:center}.six-header__selected-app{cursor:pointer;font-size:var(--six-font-size-small);font-weight:var(--six-font-weight-bold);padding-right:0;padding-left:var(--six-spacing-x-small)}.six-header__selected-app:hover{color:var(--six-header-selected-app-color-hover)}.six-header__search-field{opacity:0;transform:scale(0.9);transition:var(--six-transition-fast) opacity, var(--six-transition-fast) transform;display:none}.six-header__search-field--visible{opacity:1;transform:none;display:block}.six-header__search-field--shift-content.six-header__search-field--visible{height:2.65rem;transition:var(--six-transition-fast) height}.six-header__search-field--shift-content:not(.six-header__search-field--visible){height:0;transition:var(--six-transition-fast) height}";const o=c;var n;(function(e){e[e["None"]=0]="None";e[e["Search"]=1]="Search";e[e["AppSwitcher"]=2]="AppSwitcher";e[e["Profile"]=3]="Profile"})(n||(n={}));var l;(function(e){e["Search"]="search-field";e["Notifications"]="notifications";e["AppSwitcher"]="app-switcher-menu";e["Profile"]="profile-menu";e["Logo"]="logo"})(l||(l={}));const f=class{constructor(s){e(this,s);this.sixAppNameClicked=i(this,"six-header-app-name-clicked",7);this.sixAppSwitcherSelect=i(this,"six-header-app-switcher-select",7);this.sixProfileSelect=i(this,"six-header-profile-select",7);this.sixHamburgerClick=i(this,"six-header-hamburger-menu-clicked",7);this.logoClick=i(this,"six-header-logo-clicked",7);this.sixSearchFieldToggle=i(this,"six-header-search-field-toggle",7);this.eventListeners=new d;this.setupMenu=e=>{if(e==null)return;this.eventListeners.add(e,"click",(()=>this.sixHamburgerClick.emit()))};this.setupLogo=e=>{if(!this.clickableLogo||e==null)return;this.eventListeners.add(e,"click",(()=>this.logoClick.emit()))};this.setupProfile=e=>{if(e==null)return;this.eventListeners.add(e,"six-dropdown-show",this.selectSection(n.Profile));this.eventListeners.add(e,"six-dropdown-hide",this.selectSection(n.None));this.eventListeners.add(e,"six-menu-item-selected",(e=>{const{name:i,item:s}=e.detail;this.sixProfileSelect.emit({selectedLabel:s.innerText,name:i,item:s})}))};this.setupAppSwitcher=e=>{if(e==null)return;this.eventListeners.add(e,"six-dropdown-show",this.selectSection(n.AppSwitcher));this.eventListeners.add(e,"six-dropdown-hide",this.selectSection(n.None));this.eventListeners.add(e,"six-menu-item-selected",(e=>{const{name:i,item:s}=e.detail;this.selectedApp=s.innerText;this.sixAppSwitcherSelect.emit({selectedLabel:s.innerText,name:i,item:s})}))};this.appNameClicked=()=>this.sixAppNameClicked.emit();this.computeSearchOpenState=()=>{this.selectedSection=this.openSearch?n.Search:n.None};this.custom=false;this.shiftContent=false;this.hideHamburgerMenu=false;this.openHamburgerMenu=false;this.openSearch=false;this.clickableLogo=false;this.logo="six";this.selectedApp=undefined;this.selectedSection=undefined}handleOpenSearchChange(){if(this.custom){if(this.openSearch){setTimeout((async()=>{var e,i;const s=h(this.host,l.Search);(i=(e=s===null||s===void 0?void 0:s.shadowRoot)===null||e===void 0?void 0:e.querySelector("six-input"))===null||i===void 0?void 0:i.setFocus()}),50)}}else{this.computeSearchOpenState()}}async setSearchOpenState(e){if(this.selectedSection===n.Search&&!e){this.selectedSection=n.None}else if(e&&this.selectedSection!==n.Search){this.selectedSection=n.Search}}async getIsSearchOpen(){return this.selectedSection===n.Search}hasSlot(e){if(this.slots==null){return false}return this.slots[e]}isSectionSelected(e){return e===this.selectedSection}selectSection(e){return()=>this.selectedSection=e}toggleSearch(){const e=this.selectedSection!==n.Search;this.selectedSection=this.selectedSection===n.Search?n.None:n.Search;this.sixSearchFieldToggle.emit({visible:e});if(this.selectedSection===n.Search){setTimeout((async()=>{var e,i;const s=h(this.host,l.Search);(i=(e=s===null||s===void 0?void 0:s.shadowRoot)===null||e===void 0?void 0:e.querySelector("six-input"))===null||i===void 0?void 0:i.setFocus()}),50)}}componentWillLoad(){this.slots={[l.Search]:r(this.host,l.Search),[l.Notifications]:r(this.host,l.Notifications),[l.AppSwitcher]:r(this.host,l.AppSwitcher),[l.Profile]:r(this.host,l.Profile),[l.Logo]:r(this.host,l.Logo)};if(this.hasSlot(l.AppSwitcher)){this.updateSelectedApp()}if(this.hasSlot(l.Search)){this.computeSearchOpenState()}}connectedCallback(){const e=h(this.host,l.AppSwitcher);if(e){this.mutationObserver=new MutationObserver((e=>{if(e.some((e=>e.type==="childList"||e.type==="attributes"))){this.updateSelectedApp()}}));this.mutationObserver.observe(e,{attributes:true,childList:true,subtree:true})}}updateSelectedApp(){var e;const i=h(this.host,l.AppSwitcher);if(i==null){return undefined}const s=Array.from(i.querySelectorAll("six-menu-item"));const t=s.find((e=>e.hasAttribute("checked")&&e.getAttribute("checked")!=="false"));this.selectedApp=(e=t===null||t===void 0?void 0:t.textContent)!==null&&e!==void 0?e:undefined}disconnectedCallback(){var e;this.eventListeners.removeAll();(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}render(){const e=!this.hideHamburgerMenu&&s("six-header-item",{key:"f5e4bf7b91ab71b6fde280777ef56741c4e8593b"},s("six-icon-button",{key:"691a031db2a0f40177b54d689c2041647977a6f1",name:this.openHamburgerMenu?"menu_open":"menu",ref:this.setupMenu}));const i=this.hasSlot(l.Search)&&s("six-header-item",{key:"d25050b55ff11cd3888fd1cd7a922f850c43d513",active:this.isSectionSelected(n.Search)},s("six-icon-button",{key:"59cb3875f60c30c7829f57b39ad5a49dd58b3f6b",name:"search",onClick:()=>this.toggleSearch(),"data-testid":"search-trigger"}));const a=this.hasSlot(l.Notifications)&&s("six-header-item",{key:"2093e028f6b63d5a746121ce7f34a60ccd8b814c"},s("slot",{key:"14b764a489ccef0d535d990c5827c0bfdcdfadb3",name:l.Notifications}));const d=this.hasSlot(l.AppSwitcher)&&s("six-header-item",{key:"b0640d2560ff7cb738f48985aaf0471cb7b49972",active:this.isSectionSelected(n.AppSwitcher)},s("six-dropdown",{key:"8e25753fce395164ce9cfc5479a46a19975de4b0",distance:14,skidding:20,placement:"bottom-end",ref:this.setupAppSwitcher},s("div",{key:"fe5f0fdf9411f05221c914533732db7be3d3d033",slot:"trigger",class:"six-header__app-switcher-dropdown"},s("a",{key:"81a4d4647b1de8acaadc19d5e58d674c2b930ac4",onClick:this.appNameClicked,class:"six-header__selected-app"},this.selectedApp),s("six-icon-button",{key:"d903125dfa9ceadb186bc1eb56f15799c7705eb3",name:"apps"})),s("slot",{key:"57316a36e610fdedcd49a0eed7c81d3e26df3cca",name:l.AppSwitcher})));const h=this.hasSlot(l.Profile)&&s("six-header-item",{key:"a3133d7f1c50dda15b211fbf46f596e7934aa037",active:this.isSectionSelected(n.Profile)},s("six-dropdown",{key:"c06dc87cd548d08ad0821350a54364e03189ec31",distance:18,skidding:20,placement:"bottom-end",ref:this.setupProfile},s("slot",{key:"2f661377226178aee7fc5915939df0918991e4c6",name:"profile-avatar",slot:"trigger"}),s("slot",{key:"0c9ab4cf7a943e169515a2e73f5d154bf88e0300",name:"profile-menu"})));const r=this.hasSlot(l.Logo)?s("six-header-item",null,s("slot",{name:"logo"})):s("six-header-item",{class:{"six-header__logo--clickable":this.clickableLogo},ref:this.setupLogo},s("six-logo",{brand:this.logo}));const c=s(t,{key:"0b95cbc2c5e2e132f1c6c789c33941efcc4e5a22"},s("header",{key:"e8c71cb2c22f2cdc410d2e678f5e30528e50f074",part:"header",class:"six-header"},s("slot",{key:"c8d3c17a6c3435f9d7338bcdf4e0dee210b5527a"})),s("div",{key:"1cfe987e74fb40b1ee774a0d3e9718e50770ef0e",class:{"six-header__search-field":true,"six-header__search-field--visible":this.openSearch,"six-header__search-field--shift-content":this.shiftContent}},s("slot",{key:"c6f91d3251a01c33281a0437c1273c1851641251",name:l.Search})));const o=s(t,{key:"64fad48c1c9f738ec60d46eca751e0fbaa02121a"},s("header",{key:"96ebb16b846a8f6331fa882dd557fb57bbc19bc1",part:"header",class:"six-header"},e,r,s("six-header-item",{key:"dbf70c1f28a8ac8e5fce05cd5d7d46b219057f59",class:"six-header__placeholder"}),s("six-header-item",{key:"d3c30d7836f81bf58114f1ef9dffcd0ef51f078f"},s("slot",{key:"2a0901b0730ed12d5f8f56f1b1ab575fb4863c6f"})),i,a,d,h),s("div",{key:"aaf0973d3476a29d6ab3f117aa961e9dc6958bbe",class:{"six-header__search-field":true,"six-header__search-field--visible":this.isSectionSelected(n.Search),"six-header__search-field--shift-content":this.shiftContent}},s("slot",{key:"708bead402bdd620a21fa629b4ddf37772fc75e0",name:l.Search})));return this.custom?c:o}static get assetsDirs(){return["assets"]}get host(){return a(this)}static get watchers(){return{openSearch:["handleOpenSearchChange"]}}};f.style=o;export{f as six_header};
2
- //# sourceMappingURL=p-57ea4cb7.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["sixHeaderCss","SixHeaderStyle0","Section","Slot","SixHeader","this","eventListeners","EventListeners","setupMenu","el","add","sixHamburgerClick","emit","setupLogo","clickableLogo","logoClick","setupProfile","selectSection","Profile","None","event","name","item","detail","sixProfileSelect","selectedLabel","innerText","setupAppSwitcher","AppSwitcher","selectedApp","sixAppSwitcherSelect","appNameClicked","sixAppNameClicked","computeSearchOpenState","selectedSection","openSearch","Search","handleOpenSearchChange","custom","setTimeout","async","slot","getSlot","host","_b","_a","shadowRoot","querySelector","setFocus","setSearchOpenState","openState","getIsSearchOpen","hasSlot","slots","isSectionSelected","value","section","toggleSearch","visible","sixSearchFieldToggle","componentWillLoad","Notifications","Logo","updateSelectedApp","connectedCallback","appSwitcherSlot","mutationObserver","MutationObserver","mutations","some","mutation","type","observe","attributes","childList","subtree","element","undefined","items","Array","from","querySelectorAll","firstCheckedMenuItem","find","hasAttribute","getAttribute","textContent","disconnectedCallback","removeAll","disconnect","render","hamburgerMenu","hideHamburgerMenu","h","key","openHamburgerMenu","ref","search","active","onClick","notifications","appSwitcher","distance","skidding","placement","class","profile","logo","brand","customView","Host","part","shiftContent","defaultView"],"sources":["src/components/six-header/six-header.scss?tag=six-header&encapsulation=shadow","src/components/six-header/six-header.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: block;\n user-select: none;\n --search-border-width: 1px;\n}\n\n::slotted(six-search-field) {\n position: absolute;\n margin-left: var(--search-border-width);\n width: calc(100% - 2 * var(--search-border-width));\n}\n\n.six-header {\n display: flex;\n width: 100%;\n height: var(--six-header-height);\n background-color: var(--six-header-background-color);\n align-items: stretch;\n box-shadow: var(--six-shadow-medium);\n border-bottom: var(--six-header-border-with) solid var(--six-header-border-color);\n\n &__logo {\n &--clickable {\n cursor: pointer;\n }\n }\n\n &__placeholder {\n flex: 1;\n }\n\n &__app-switcher-dropdown {\n display: flex;\n align-items: center;\n }\n\n &__selected-app {\n cursor: pointer;\n font-size: var(--six-font-size-small);\n font-weight: var(--six-font-weight-bold);\n padding-right: 0;\n padding-left: var(--six-spacing-x-small);\n &:hover {\n color: var(--six-header-selected-app-color-hover);\n }\n }\n\n &__search-field {\n opacity: 0;\n transform: scale(0.9);\n transition: var(--six-transition-fast) opacity, var(--six-transition-fast) transform;\n display: none;\n\n &--visible {\n opacity: 1;\n transform: none;\n display: block;\n }\n\n &--shift-content.six-header__search-field--visible {\n height: 2.65rem;\n transition: var(--six-transition-fast) height;\n }\n\n &--shift-content:not(.six-header__search-field--visible) {\n height: 0;\n transition: var(--six-transition-fast) height;\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch } from '@stencil/core';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { getSlot, hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\n\nexport interface SixHeaderAppSwitcherSelectPayload {\n selectedLabel: string;\n name: string;\n item: HTMLSixMenuItemElement;\n}\n\nexport interface SixHeaderProfileSelectPayload {\n selectedLabel: string;\n name: string;\n item: HTMLSixMenuItemElement;\n}\n\nexport interface SixHeaderSearchFieldToggle {\n visible: boolean;\n}\n\nenum Section {\n None,\n Search,\n AppSwitcher,\n Profile,\n}\n\nenum Slot {\n Search = 'search-field',\n Notifications = 'notifications',\n AppSwitcher = 'app-switcher-menu',\n Profile = 'profile-menu',\n Logo = 'logo',\n}\n\n/**\n * @since 1.0\n * @status stable\n * @slot - Used to define a custom component that is included in the header.\n * @slot search-field - Used to define the search field component in the header.\n * @slot notifications - <span style=\"color:red\">[Deprecated]</span>, use six-header `custom` property instead. Used to define the notification component in the header.\n * @slot app-switcher-menu - <span style=\"color:red\">[Deprecated]</span>, use six-header `custom` property instead. Used to define the application switcher menu in the header.\n * @slot profile-menu - <span style=\"color:red\">[Deprecated]</span>, use six-header `custom` property instead. Used to define the profile menu in the header.\n * @slot profile-avatar - <span style=\"color:red\">[Deprecated]</span>, use six-header `custom` property instead. Used to define the avator in the header.\n */\n@Component({\n tag: 'six-header',\n styleUrl: 'six-header.scss',\n shadow: true,\n assetsDirs: ['assets'],\n})\nexport class SixHeader {\n /**\n * Set `custom` to `true` for complete control over the header content. When enabled, all other properties and slots\n * are ignored.\n *\n * Use `six-header-item`, `six-header-dropdown-item` and `six-header-menu-button` to structure the content.\n *\n * @since 4.2.7\n * @status beta\n */\n @Prop() custom = false;\n\n /** Indicates if content should be shifted down when search field is visible. */\n @Prop() shiftContent = false;\n\n /**\n * Set whether the hamburger menu should be visible or not\n *\n * @deprecated Use six-header `custom` property instead\n */\n @Prop() hideHamburgerMenu = false;\n\n /**\n * Set the hamburger menu icon to open or closed state\n *\n * @deprecated Use six-header `custom` property instead\n */\n @Prop() openHamburgerMenu = false;\n\n /**\n * Set the header search to be in an open or closed state.\n *\n * If `custom` is `true`, focuses the first `six-input` found in the search slot.\n */\n @Prop() openSearch = false;\n\n /**\n * Set whether the logo should be clickable\n *\n * @deprecated Use six-header `custom` property with `six-logo` instead\n */\n @Prop() clickableLogo = false;\n\n /**\n * The displayed logo. Either six or bme. Defaults to six.\n *\n * @deprecated Use six-header `custom` property with `six-logo` instead\n */\n @Prop() logo: 'six' | 'bme' = 'six';\n\n @Watch('openSearch')\n handleOpenSearchChange() {\n if (this.custom) {\n if (this.openSearch) {\n // setFocus deferred due to https://github.com/ionic-team/stencil/issues/3772\n setTimeout(async () => {\n const slot = getSlot(this.host, Slot.Search);\n slot?.shadowRoot?.querySelector('six-input')?.setFocus();\n }, 50);\n }\n } else {\n this.computeSearchOpenState();\n }\n }\n\n /**\n * Sets open state for search\n *\n * @deprecated Use six-header `custom` property instead\n */\n @Method()\n async setSearchOpenState(openState: boolean) {\n if (this.selectedSection === Section.Search && !openState) {\n this.selectedSection = Section.None;\n } else if (openState && this.selectedSection !== Section.Search) {\n this.selectedSection = Section.Search;\n }\n }\n\n /**\n * Get open state for search\n *\n * @deprecated Use six-header `custom` property instead\n */\n @Method()\n async getIsSearchOpen() {\n return this.selectedSection === Section.Search;\n }\n\n /**\n * Emitted when the name of the selected app is clicked.\n *\n * @deprecated Use six-header `custom` property with `six-header-dropdown-item` and `six-header-menu-button` instead\n */\n @Event({ eventName: 'six-header-app-name-clicked' }) sixAppNameClicked!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when a menu item is in the app switcher menu is selected.\n *\n * @deprecated Use six-header `custom` property with `six-header-dropdown-item` and `six-header-menu-button` instead\n */\n @Event({ eventName: 'six-header-app-switcher-select' })\n sixAppSwitcherSelect!: EventEmitter<SixHeaderAppSwitcherSelectPayload>;\n\n /**\n * Emitted when a menu item is in the profile menu is selected.\n *\n * @deprecated Use six-header `custom` property with `six-header-dropdown-item` and `six-avatar` instead\n */\n @Event({ eventName: 'six-header-profile-select' }) sixProfileSelect!: EventEmitter<SixHeaderProfileSelectPayload>;\n\n /**\n * Emitted when the hamburger menu is clicked.\n *\n * @deprecated Use six-header `custom` property instead\n */\n @Event({ eventName: 'six-header-hamburger-menu-clicked' }) sixHamburgerClick!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the header logo is clicked.\n *\n * @deprecated Use six-header `custom` property instead\n */\n @Event({ eventName: 'six-header-logo-clicked' }) logoClick!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when search field is toggled.\n *\n * @deprecated Use six-header `custom` property instead\n */\n @Event({ eventName: 'six-header-search-field-toggle' })\n sixSearchFieldToggle!: EventEmitter<SixHeaderSearchFieldToggle>;\n\n @Element() host!: HTMLSixHeaderElement;\n\n private eventListeners = new EventListeners();\n\n private slots?: Record<Slot, boolean>;\n\n private mutationObserver?: MutationObserver;\n\n @State() selectedApp?: string;\n @State() selectedSection?: Section;\n\n private hasSlot(slot: Slot): boolean {\n if (this.slots == null) {\n return false;\n }\n return this.slots[slot];\n }\n\n private isSectionSelected(value: Section) {\n return value === this.selectedSection;\n }\n\n private selectSection(section: Section) {\n return () => (this.selectedSection = section);\n }\n\n private toggleSearch() {\n const visible = this.selectedSection !== Section.Search;\n this.selectedSection = this.selectedSection === Section.Search ? Section.None : Section.Search;\n this.sixSearchFieldToggle.emit({ visible });\n if (this.selectedSection === Section.Search) {\n // setFocus deferred due to https://github.com/ionic-team/stencil/issues/3772\n setTimeout(async () => {\n const slot = getSlot(this.host, Slot.Search);\n slot?.shadowRoot?.querySelector('six-input')?.setFocus();\n }, 50);\n }\n }\n\n private setupMenu = (el?: HTMLSixIconButtonElement) => {\n if (el == null) return;\n\n this.eventListeners.add(el, 'click', () => this.sixHamburgerClick.emit());\n };\n\n private setupLogo = (el?: HTMLElement) => {\n if (!this.clickableLogo || el == null) return;\n\n this.eventListeners.add(el, 'click', () => this.logoClick.emit());\n };\n\n private setupProfile = (el?: HTMLSixDropdownElement) => {\n if (el == null) return;\n\n this.eventListeners.add(el, 'six-dropdown-show', this.selectSection(Section.Profile));\n this.eventListeners.add(el, 'six-dropdown-hide', this.selectSection(Section.None));\n this.eventListeners.add(el, 'six-menu-item-selected', (event: Event) => {\n const { name, item } = (event as CustomEvent).detail;\n this.sixProfileSelect.emit({ selectedLabel: item.innerText, name, item });\n });\n };\n\n private setupAppSwitcher = (el?: HTMLSixDropdownElement) => {\n if (el == null) return;\n\n this.eventListeners.add(el, 'six-dropdown-show', this.selectSection(Section.AppSwitcher));\n this.eventListeners.add(el, 'six-dropdown-hide', this.selectSection(Section.None));\n this.eventListeners.add(el, 'six-menu-item-selected', (event: Event) => {\n const { name, item } = (event as CustomEvent).detail;\n this.selectedApp = item.innerText;\n this.sixAppSwitcherSelect.emit({ selectedLabel: item.innerText, name, item });\n });\n };\n\n private appNameClicked = () => this.sixAppNameClicked.emit();\n\n private computeSearchOpenState = () => {\n this.selectedSection = this.openSearch ? Section.Search : Section.None;\n };\n\n componentWillLoad() {\n this.slots = {\n [Slot.Search]: hasSlot(this.host, Slot.Search),\n [Slot.Notifications]: hasSlot(this.host, Slot.Notifications),\n [Slot.AppSwitcher]: hasSlot(this.host, Slot.AppSwitcher),\n [Slot.Profile]: hasSlot(this.host, Slot.Profile),\n [Slot.Logo]: hasSlot(this.host, Slot.Logo),\n };\n\n if (this.hasSlot(Slot.AppSwitcher)) {\n this.updateSelectedApp();\n }\n\n if (this.hasSlot(Slot.Search)) {\n this.computeSearchOpenState();\n }\n }\n\n connectedCallback() {\n const appSwitcherSlot = getSlot(this.host, Slot.AppSwitcher);\n if (appSwitcherSlot) {\n this.mutationObserver = new MutationObserver((mutations) => {\n if (mutations.some((mutation) => mutation.type === 'childList' || mutation.type === 'attributes')) {\n this.updateSelectedApp();\n }\n });\n this.mutationObserver.observe(appSwitcherSlot, { attributes: true, childList: true, subtree: true });\n }\n }\n\n private updateSelectedApp() {\n // there are more concise ways to select the first checked menu item, but this is one that works for jest\n const element = getSlot(this.host, Slot.AppSwitcher);\n if (element == null) {\n return undefined;\n }\n const items = Array.from(element.querySelectorAll('six-menu-item'));\n const firstCheckedMenuItem = items.find(\n (item) => item.hasAttribute('checked') && item.getAttribute('checked') !== 'false'\n );\n this.selectedApp = firstCheckedMenuItem?.textContent ?? undefined;\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n this.mutationObserver?.disconnect();\n }\n\n render() {\n const hamburgerMenu = !this.hideHamburgerMenu && (\n <six-header-item>\n <six-icon-button name={this.openHamburgerMenu ? 'menu_open' : 'menu'} ref={this.setupMenu} />\n </six-header-item>\n );\n\n const search = this.hasSlot(Slot.Search) && (\n <six-header-item active={this.isSectionSelected(Section.Search)}>\n <six-icon-button name=\"search\" onClick={() => this.toggleSearch()} data-testid=\"search-trigger\" />\n </six-header-item>\n );\n\n const notifications = this.hasSlot(Slot.Notifications) && (\n <six-header-item>\n <slot name={Slot.Notifications} />\n </six-header-item>\n );\n\n const appSwitcher = this.hasSlot(Slot.AppSwitcher) && (\n <six-header-item active={this.isSectionSelected(Section.AppSwitcher)}>\n <six-dropdown distance={14} skidding={20} placement=\"bottom-end\" ref={this.setupAppSwitcher}>\n <div slot=\"trigger\" class=\"six-header__app-switcher-dropdown\">\n <a onClick={this.appNameClicked} class=\"six-header__selected-app\">\n {this.selectedApp}\n </a>\n <six-icon-button name=\"apps\" />\n </div>\n <slot name={Slot.AppSwitcher} />\n </six-dropdown>\n </six-header-item>\n );\n\n const profile = this.hasSlot(Slot.Profile) && (\n <six-header-item active={this.isSectionSelected(Section.Profile)}>\n <six-dropdown distance={18} skidding={20} placement=\"bottom-end\" ref={this.setupProfile}>\n <slot name=\"profile-avatar\" slot=\"trigger\" />\n <slot name=\"profile-menu\" />\n </six-dropdown>\n </six-header-item>\n );\n\n const logo = this.hasSlot(Slot.Logo) ? (\n <six-header-item>\n <slot name=\"logo\" />\n </six-header-item>\n ) : (\n <six-header-item class={{ 'six-header__logo--clickable': this.clickableLogo }} ref={this.setupLogo}>\n <six-logo brand={this.logo} />\n </six-header-item>\n );\n\n const customView = (\n <Host>\n <header part=\"header\" class=\"six-header\">\n <slot />\n </header>\n <div\n class={{\n 'six-header__search-field': true,\n 'six-header__search-field--visible': this.openSearch,\n 'six-header__search-field--shift-content': this.shiftContent,\n }}\n >\n <slot name={Slot.Search} />\n </div>\n </Host>\n );\n\n const defaultView = (\n <Host>\n <header part=\"header\" class=\"six-header\">\n {hamburgerMenu}\n {logo}\n <six-header-item class=\"six-header__placeholder\" />\n <six-header-item>\n <slot />\n </six-header-item>\n {search}\n {notifications}\n {appSwitcher}\n {profile}\n </header>\n\n <div\n class={{\n 'six-header__search-field': true,\n 'six-header__search-field--visible': this.isSectionSelected(Section.Search),\n 'six-header__search-field--shift-content': this.shiftContent,\n }}\n >\n <slot name={Slot.Search} />\n </div>\n </Host>\n );\n\n return this.custom ? customView : defaultView;\n }\n}\n"],"mappings":"+IAAA,MAAMA,EAAe,m7CACrB,MAAAC,EAAeD,ECoBf,IAAKE,GAAL,SAAKA,GACHA,IAAA,kBACAA,IAAA,sBACAA,IAAA,gCACAA,IAAA,uBACD,EALD,CAAKA,MAAO,KAOZ,IAAKC,GAAL,SAAKA,GACHA,EAAA,yBACAA,EAAA,iCACAA,EAAA,mCACAA,EAAA,0BACAA,EAAA,cACD,EAND,CAAKA,MAAI,K,MAwBIC,EAAS,M,sZAuIZC,KAAAC,eAAiB,IAAIC,EAqCrBF,KAAAG,UAAaC,IACnB,GAAIA,GAAM,KAAM,OAEhBJ,KAAKC,eAAeI,IAAID,EAAI,SAAS,IAAMJ,KAAKM,kBAAkBC,QAAO,EAGnEP,KAAAQ,UAAaJ,IACnB,IAAKJ,KAAKS,eAAiBL,GAAM,KAAM,OAEvCJ,KAAKC,eAAeI,IAAID,EAAI,SAAS,IAAMJ,KAAKU,UAAUH,QAAO,EAG3DP,KAAAW,aAAgBP,IACtB,GAAIA,GAAM,KAAM,OAEhBJ,KAAKC,eAAeI,IAAID,EAAI,oBAAqBJ,KAAKY,cAAcf,EAAQgB,UAC5Eb,KAAKC,eAAeI,IAAID,EAAI,oBAAqBJ,KAAKY,cAAcf,EAAQiB,OAC5Ed,KAAKC,eAAeI,IAAID,EAAI,0BAA2BW,IACrD,MAAMC,KAAEA,EAAIC,KAAEA,GAAUF,EAAsBG,OAC9ClB,KAAKmB,iBAAiBZ,KAAK,CAAEa,cAAeH,EAAKI,UAAWL,OAAMC,QAAO,GACzE,EAGIjB,KAAAsB,iBAAoBlB,IAC1B,GAAIA,GAAM,KAAM,OAEhBJ,KAAKC,eAAeI,IAAID,EAAI,oBAAqBJ,KAAKY,cAAcf,EAAQ0B,cAC5EvB,KAAKC,eAAeI,IAAID,E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KAAK,SAASN,MAAM,cACzBd,EACAgB,EACDd,EAAA,mBAAAC,IAAA,2CAAiBW,MAAM,4BACvBZ,EAAA,mBAAAC,IAAA,4CACED,EAAA,QAAAC,IAAA,8CAEDG,EACAG,EACAC,EACAK,GAGHb,EAAA,OAAAC,IAAA,2CACEW,MAAO,CACL,2BAA4B,KAC5B,oCAAqCpG,KAAKiD,kBAAkBpD,EAAQkC,QACpE,0CAA2C/B,KAAK2G,eAGlDnB,EAAA,QAAAC,IAAA,2CAAMzE,KAAMlB,EAAKiC,WAKvB,OAAO/B,KAAKiC,OAASuE,EAAaI,C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as a,c as r,h as i}from"./p-48118ce8.js";import{a as s}from"./p-0cebf1d2.js";import{a as t}from"./p-a1502802.js";const o=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:inline-block;overflow:hidden}.tag{display:flex;align-items:center;border:solid 1px;font-family:var(--six-font-family);line-height:1;white-space:nowrap;user-select:none;cursor:default}.tag__content{text-overflow:ellipsis;overflow:hidden}.tag__clear::part(base){color:inherit;padding:0}.tag--info{color:var(--six-color-white);background-color:var(--six-color-web-rock-900);border-color:var(--six-color-web-rock-900)}.tag--success{color:var(--six-color-web-rock-900);border-color:var(--six-color-success-500);background-color:var(--six-color-success-500)}.tag--primary{color:var(--six-color-web-rock-900);border-color:var(--six-color-clay-50);background-color:var(--six-color-clay-50)}.tag--warning{color:var(--six-color-web-rock-900);border-color:var(--six-color-warning-700);background-color:var(--six-color-warning-700)}.tag--danger{color:var(--six-color-white);border-color:var(--six-color-danger-800);background-color:var(--six-color-danger-800)}.tag--action{color:var(--six-color-white);border-color:var(--six-color-action-500);background-color:var(--six-color-action-500)}.tag--small{font-size:var(--six-button-font-size-small);height:calc(var(--six-height-small) * 0.8);line-height:calc(var(--six-height-small) - var(--six-border-width) * 2);border-radius:var(--six-input-border-radius-small);padding:0 var(--six-spacing-x-small)}.tag--small .tag__clear{margin-left:var(--six-spacing-xx-small);margin-right:calc(-1 * var(--six-spacing-xxx-small))}.tag--medium{font-size:var(--six-button-font-size-medium);height:calc(var(--six-height-medium) * 0.8);line-height:calc(var(--six-height-medium) - var(--six-border-width) * 2);border-radius:var(--six-input-border-radius-medium);padding:0 var(--six-spacing-small)}.tag--medium .tag__clear{margin-left:var(--six-spacing-xx-small);margin-right:calc(-1 * var(--six-spacing-xx-small))}.tag--large{font-size:var(--six-button-font-size-large);height:calc(var(--six-height-large) * 0.8);line-height:calc(var(--six-height-large) - var(--six-border-width) * 2);border-radius:var(--six-input-border-radius-large);padding:0 var(--six-spacing-medium)}.tag--large .tag__clear{margin-left:var(--six-spacing-xx-small);margin-right:calc(-1 * var(--six-spacing-x-small))}.tag--pill{border-radius:var(--six-border-radius-pill)}";const e=o;const l=class{constructor(i){a(this,i);this.sixClear=r(this,"six-tag-clear",7);this.resizeObserver=new ResizeObserver(t((()=>this.updateTooltip())));this.updateTooltip=()=>{if(this.tooltipElement!=null&&this.contentSlotElement!=null&&this.contentElement!=null){this.tooltipElement.content=s(this.contentSlotElement);this.tooltipElement.disabled=!(this.contentElement.offsetWidth<this.contentElement.scrollWidth)}};this.handleClearClick=()=>{this.sixClear.emit()};this.type="primary";this.size="medium";this.pill=false;this.clearable=false}connectedCallback(){if(this.contentElement!=null){this.resizeObserver.observe(this.contentElement)}}componentDidLoad(){if(this.contentElement!=null){this.resizeObserver.observe(this.contentElement)}}disconnectedCallback(){this.resizeObserver.disconnect()}render(){return i("span",{key:"cf0f1b63dd4cf2887a1ce4640c9073e24c42e79c",part:"base",class:{tag:true,"tag--primary":this.type==="primary","tag--success":this.type==="success","tag--info":this.type==="info","tag--warning":this.type==="warning","tag--danger":this.type==="danger","tag--action":this.type==="action","tag--text":this.type==="text","tag--small":this.size==="small","tag--medium":this.size==="medium","tag--large":this.size==="large","tag--pill":this.pill,"tag--clear":this.clearable}},i("six-tooltip",{key:"6b8d12fc884f2fd47caea9400e26c283e770dbad",ref:a=>this.tooltipElement=a},i("span",{key:"62a3b5dfa5550c432342bdd5767a39b5b83a3103",ref:a=>this.contentElement=a,part:"content",class:"tag__content"},i("slot",{key:"00a3ef70ceea21c8e807557576f2c4f252cee995",ref:a=>this.contentSlotElement=a}))),this.clearable&&i("six-icon-button",{key:"5eabbf01c5b9d4d2d594c7d3d600cc57b8bd4cec",exportparts:"base:clear-button",size:"xSmall",name:"clear",class:"tag__clear",onClick:this.handleClearClick}))}};l.style=e;export{l as six_tag};
2
- //# sourceMappingURL=p-5ece7986.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["sixTagCss","SixTagStyle0","SixTag","this","resizeObserver","ResizeObserver","debounce","updateTooltip","tooltipElement","contentSlotElement","contentElement","content","getTextContent","disabled","offsetWidth","scrollWidth","handleClearClick","sixClear","emit","connectedCallback","observe","componentDidLoad","disconnectedCallback","disconnect","render","h","key","part","class","tag","type","size","pill","clearable","ref","el","exportparts","name","onClick"],"sources":["src/components/six-tag/six-tag.scss?tag=six-tag&encapsulation=shadow","src/components/six-tag/six-tag.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: inline-block;\n overflow: hidden;\n}\n\n.tag {\n display: flex;\n align-items: center;\n border: solid 1px;\n font-family: var(--six-font-family);\n line-height: 1;\n white-space: nowrap;\n user-select: none;\n cursor: default;\n}\n\n.tag__content {\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.tag__clear::part(base) {\n color: inherit;\n padding: 0;\n}\n\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n// Type modifiers\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\n.tag--info {\n color: var(--six-color-white);\n background-color: var(--six-color-web-rock-900);\n border-color: var(--six-color-web-rock-900);\n}\n\n.tag--success {\n color: var(--six-color-web-rock-900);\n border-color: var(--six-color-success-500);\n background-color: var(--six-color-success-500);\n}\n\n.tag--primary {\n color: var(--six-color-web-rock-900);\n border-color: var(--six-color-clay-50);\n background-color: var(--six-color-clay-50);\n}\n\n.tag--warning {\n color: var(--six-color-web-rock-900);\n border-color: var(--six-color-warning-700);\n background-color: var(--six-color-warning-700);\n}\n\n.tag--danger {\n color: var(--six-color-white);\n border-color: var(--six-color-danger-800);\n background-color: var(--six-color-danger-800);\n}\n\n.tag--action {\n color: var(--six-color-white);\n border-color: var(--six-color-action-500);\n background-color: var(--six-color-action-500);\n}\n\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n// Size modifiers\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\n.tag--small {\n font-size: var(--six-button-font-size-small);\n height: calc(var(--six-height-small) * 0.8);\n line-height: calc(var(--six-height-small) - var(--six-border-width) * 2);\n border-radius: var(--six-input-border-radius-small);\n padding: 0 var(--six-spacing-x-small);\n\n .tag__clear {\n margin-left: var(--six-spacing-xx-small);\n margin-right: calc(-1 * var(--six-spacing-xxx-small));\n }\n}\n\n.tag--medium {\n font-size: var(--six-button-font-size-medium);\n height: calc(var(--six-height-medium) * 0.8);\n line-height: calc(var(--six-height-medium) - var(--six-border-width) * 2);\n border-radius: var(--six-input-border-radius-medium);\n padding: 0 var(--six-spacing-small);\n\n .tag__clear {\n margin-left: var(--six-spacing-xx-small);\n margin-right: calc(-1 * var(--six-spacing-xx-small));\n }\n}\n\n.tag--large {\n font-size: var(--six-button-font-size-large);\n height: calc(var(--six-height-large) * 0.8);\n line-height: calc(var(--six-height-large) - var(--six-border-width) * 2);\n border-radius: var(--six-input-border-radius-large);\n padding: 0 var(--six-spacing-medium);\n\n .tag__clear {\n margin-left: var(--six-spacing-xx-small);\n margin-right: calc(-1 * var(--six-spacing-x-small));\n }\n}\n\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n// Pill modifier\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\n.tag--pill {\n border-radius: var(--six-border-radius-pill);\n}\n","import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { getTextContent } from '../../utils/slot';\nimport { debounce } from '../../utils/execution-control';\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 tag's content.\n *\n * @part base - The component's base wrapper.\n * @part content - The tag content.\n * @part clear-button - The clear button.\n */\n\n@Component({\n tag: 'six-tag',\n styleUrl: 'six-tag.scss',\n shadow: true,\n})\nexport class SixTag {\n /** The tag's type. */\n @Prop({ reflect: true }) type: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'action' | 'text' = 'primary';\n\n /** The tag's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Set to true to draw a pill-style tag with rounded edges. */\n @Prop({ reflect: true }) pill = false;\n\n /** Set to true to make the tag clearable. */\n @Prop({ reflect: true }) clearable = false;\n\n /** Emitted when the clear button is activated. */\n @Event({ eventName: 'six-tag-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n private contentSlotElement: HTMLSlotElement | undefined;\n private tooltipElement: HTMLSixTooltipElement | undefined;\n private contentElement: HTMLElement | undefined;\n private resizeObserver = new ResizeObserver(debounce(() => this.updateTooltip()));\n\n connectedCallback() {\n if (this.contentElement != null) {\n this.resizeObserver.observe(this.contentElement);\n }\n }\n\n componentDidLoad() {\n if (this.contentElement != null) {\n this.resizeObserver.observe(this.contentElement);\n }\n }\n\n disconnectedCallback() {\n this.resizeObserver.disconnect();\n }\n\n private updateTooltip = () => {\n if (this.tooltipElement != null && this.contentSlotElement != null && this.contentElement != null) {\n this.tooltipElement.content = getTextContent(this.contentSlotElement);\n this.tooltipElement.disabled = !(this.contentElement.offsetWidth < this.contentElement.scrollWidth);\n }\n };\n\n private handleClearClick = () => {\n this.sixClear.emit();\n };\n\n render() {\n return (\n <span\n part=\"base\"\n class={{\n tag: true,\n\n // Types\n 'tag--primary': this.type === 'primary',\n 'tag--success': this.type === 'success',\n 'tag--info': this.type === 'info',\n 'tag--warning': this.type === 'warning',\n 'tag--danger': this.type === 'danger',\n 'tag--action': this.type === 'action',\n 'tag--text': this.type === 'text',\n\n // Sizes\n 'tag--small': this.size === 'small',\n 'tag--medium': this.size === 'medium',\n 'tag--large': this.size === 'large',\n\n // Modifers\n 'tag--pill': this.pill,\n 'tag--clear': this.clearable,\n }}\n >\n <six-tooltip ref={(el) => (this.tooltipElement = el)}>\n <span ref={(el) => (this.contentElement = el)} part=\"content\" class=\"tag__content\">\n <slot ref={(el) => (this.contentSlotElement = el as HTMLSlotElement)} />\n </span>\n </six-tooltip>\n\n {this.clearable && (\n <six-icon-button\n exportparts=\"base:clear-button\"\n size=\"xSmall\"\n name=\"clear\"\n class=\"tag__clear\"\n onClick={this.handleClearClick}\n />\n )}\n </span>\n );\n }\n}\n"],"mappings":"0HAAA,MAAMA,EAAY,60EAClB,MAAAC,EAAeD,E,MCsBFE,EAAM,M,iEAmBTC,KAAAC,eAAiB,IAAIC,eAAeC,GAAS,IAAMH,KAAKI,mBAkBxDJ,KAAAI,cAAgB,KACtB,GAAIJ,KAAKK,gBAAkB,MAAQL,KAAKM,oBAAsB,MAAQN,KAAKO,gBAAkB,KAAM,CACjGP,KAAKK,eAAeG,QAAUC,EAAeT,KAAKM,oBAClDN,KAAKK,eAAeK,WAAaV,KAAKO,eAAeI,YAAcX,KAAKO,eAAeK,Y,GAInFZ,KAAAa,iBAAmB,KACzBb,KAAKc,SAASC,MAAM,E,UA3CqF,U,UAG7C,S,UAG9B,M,eAGK,K,CAUrC,iBAAAC,GACE,GAAIhB,KAAKO,gBAAkB,KAAM,CAC/BP,KAAKC,eAAegB,QAAQjB,KAAKO,e,EAIrC,gBAAAW,GACE,GAAIlB,KAAKO,gBAAkB,KAAM,CAC/BP,KAAKC,eAAegB,QAAQjB,KAAKO,e,EAIrC,oBAAAY,GACEnB,KAAKC,eAAemB,Y,CActB,MAAAC,GACE,OACEC,EAAA,QAAAC,IAAA,2CACEC,KAAK,OACLC,MAAO,CACLC,IAAK,KAGL,eAAgB1B,KAAK2B,OAAS,UAC9B,eAAgB3B,KAAK2B,OAAS,UAC9B,YAAa3B,KAAK2B,OAAS,OAC3B,eAAgB3B,KAAK2B,OAAS,UAC9B,cAAe3B,KAAK2B,OAAS,SAC7B,cAAe3B,KAAK2B,OAAS,SAC7B,YAAa3B,KAAK2B,OAAS,OAG3B,aAAc3B,KAAK4B,OAAS,QAC5B,cAAe5B,KAAK4B,OAAS,SAC7B,aAAc5B,KAAK4B,OAAS,QAG5B,YAAa5B,KAAK6B,KAClB,aAAc7B,KAAK8B,YAGrBR,EAAA,eAAAC,IAAA,2CAAaQ,IAAMC,GAAQhC,KAAKK,eAAiB2B,GAC/CV,EAAA,QAAAC,IAAA,2CAAMQ,IAAMC,GAAQhC,KAAKO,eAAiByB,EAAKR,KAAK,UAAUC,MAAM,gBAClEH,EAAA,QAAAC,IAAA,2CAAMQ,IAAMC,GAAQhC,KAAKM,mBAAqB0B,MAIjDhC,KAAK8B,WACJR,EAAA,mBAAAC,IAAA,2CACEU,YAAY,oBACZL,KAAK,SACLM,KAAK,QACLT,MAAM,aACNU,QAASnC,KAAKa,mB","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,h as e}from"./p-48118ce8.js";const a=":host{display:block}six-button::part(base){border:none;padding-right:0}six-button::part(label){border:none;font-weight:var(--six-font-weight-bold);font-size:var(--six-font-size-small);padding-left:0}six-button:focus::part(base),six-button:hover::part(base),six-button:active::part(base){background-color:initial;border-color:initial}six-button:hover::part(base),six-button:active::part(base){color:var(--six-header-selected-app-color-hover)}";const o=a;const s=class{constructor(e){t(this,e);this.icon=""}render(){return e("six-button",{key:"a90b8172714045d7d6a4dfac4d1c2755d6ec5090",type:"secondary"},e("span",{key:"4aa77d118aa8d2b634327e9b62d8e17ee3742e87",slot:"suffix"},e("six-icon",{key:"dc64461f222af85ed126c307a94cd2f4f3020eac"},this.icon)),e("slot",{key:"a611c0d9090a039f682350240c07aa77fb76ebad"}))}};s.style=o;export{s as six_header_menu_button};
2
- //# sourceMappingURL=p-5f491974.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["sixHeaderMenuButtonCss","SixHeaderMenuButtonStyle0","SixHeaderMenuButton","render","h","key","type","slot","this","icon"],"sources":["src/components/six-header-menu-button/six-header-menu-button.scss?tag=six-header-menu-button&encapsulation=shadow","src/components/six-header-menu-button/six-header-menu-button.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\nsix-button::part(base) {\n border: none;\n padding-right: 0;\n}\n\nsix-button::part(label) {\n border: none;\n font-weight: var(--six-font-weight-bold);\n font-size: var(--six-font-size-small);\n padding-left: 0;\n}\n\nsix-button:focus::part(base),\nsix-button:hover::part(base),\nsix-button:active::part(base) {\n background-color: initial;\n border-color: initial;\n}\n\nsix-button:hover::part(base),\nsix-button:active::part(base) {\n color: var(--six-header-selected-app-color-hover);\n}\n","import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @since 4.2.7\n * @status beta\n */\n\n@Component({\n tag: 'six-header-menu-button',\n styleUrl: 'six-header-menu-button.scss',\n shadow: true,\n})\nexport class SixHeaderMenuButton {\n /**\n * The icon of the menu button.\n */\n @Prop({ reflect: true }) icon = '';\n\n render() {\n return (\n <six-button type=\"secondary\">\n <span slot=\"suffix\">\n <six-icon>{this.icon}</six-icon>\n </span>\n <slot />\n </six-button>\n );\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAyB,4bAC/B,MAAAC,EAAeD,E,MCWFE,EAAmB,M,mCAIE,E,CAEhC,MAAAC,GACE,OACEC,EAAA,cAAAC,IAAA,2CAAYC,KAAK,aACfF,EAAA,QAAAC,IAAA,2CAAME,KAAK,UACTH,EAAA,YAAAC,IAAA,4CAAWG,KAAKC,OAElBL,EAAA,QAAAC,IAAA,6C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as i,c as s,h as t}from"./p-48118ce8.js";import{s as e}from"./p-8227aaed.js";const o=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:block;height:100%}.sidebar__container{height:100%;overflow:auto}.sidebar__container.sidebar--open{border-right:1px solid var(--six-color-web-rock-300)}.sidebar__container:not(.sidebar--visible){position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;pointer-events:none;visibility:hidden}.sidebar--left{color:var(--six-sidebar-color);background-color:var(--six-sidebar-background-color);transition:var(--six-transition-medium) margin-left;background-size:300vw 70%;background-position:bottom;background-repeat:no-repeat}.sidebar--right{transition:var(--six-transition-medium) margin-right}.sidebar--open.sidebar--left{margin-right:2px}.sidebar--open.sidebar--right{margin-left:2px}";const r=o;const n=i=>{var s;return((s=i===null||i===void 0?void 0:i.tagName)===null||s===void 0?void 0:s.toLowerCase())==="six-sidebar-item-group"};const a=class{constructor(t){i(this,t);this.sixShow=s(this,"six-sidebar-show",7);this.sixAfterShow=s(this,"six-sidebar-after-show",7);this.sixHide=s(this,"six-sidebar-hide",7);this.sixAfterHide=s(this,"six-sidebar-after-hide",7);this.sixInitialFocus=s(this,"six-sidebar-initial-focus",7);this.willShow=false;this.willHide=false;this.handleTransitionEnd=i=>{const s=i.target;if(i.type==="transitionend"&&s.classList.contains("sidebar__container")){this.resetTransitionVariables()}};this.closeSiblingDetailsOnShow=i=>{const s=i.target;if(this.sidebar!=null){e(s,this.sidebar)}const t=i=>{var t;let e=s;while(i(e)!=null){e=i(e);if(n(e)){const i=(t=e===null||e===void 0?void 0:e.shadowRoot)===null||t===void 0?void 0:t.querySelector("six-details");if(i!=null){i.open=false}}}};t((i=>i===null||i===void 0?void 0:i.previousElementSibling));t((i=>i===null||i===void 0?void 0:i.nextElementSibling))};this.isVisible=false;this.position="left";this.open=false;this.width="16rem";this.toggled=false}handleOpenChange(){this.open?this.show():this.hide()}componentWillLoad(){if(this.open){void this.show();this.resetTransitionVariables()}}componentDidRender(){this.setupTogglableMenuItems()}disconnectedCallback(){var i;(i=this.sidebar)===null||i===void 0?void 0:i.removeEventListener("six-details-show",this.closeSiblingDetailsOnShow)}setupTogglableMenuItems(){if(!this.toggled||this.sidebar==null)return;this.markAllMenuItemsAsSelectableEmpty();this.sidebar.addEventListener("six-details-show",this.closeSiblingDetailsOnShow)}markAllMenuItemsAsSelectableEmpty(){var i;const s=(i=this.sidebar)===null||i===void 0?void 0:i.querySelector("slot");const t=(s===null||s===void 0?void 0:s.assignedElements())||[];const e=[];while(t.length>0){const i=t.pop();if((i===null||i===void 0?void 0:i.shadowRoot)==null){continue}const s=i.shadowRoot.querySelectorAll("six-details");e.push(...s);const o=Array.from(i.children).filter(n);t.push(...o)}e.forEach((i=>i.selectableEmpty=true))}async toggle(){if(this.willShow||this.willHide){return}if(this.open){await this.hide()}else{await this.show()}}async show(){if(this.willShow){return}const i=this.sixShow.emit();if(i.defaultPrevented){this.open=false;return}this.willShow=true;this.isVisible=true;this.open=true}async hide(){if(this.willHide){return}const i=this.sixHide.emit();if(i.defaultPrevented){this.open=true;return}this.willHide=true;this.open=false}async selectItemByIndex(i){if(this.sidebar==null)return;const s=this.sidebar.querySelector("slot");const t=((s===null||s===void 0?void 0:s.assignedElements())||[]).flatMap((i=>{var s;const t=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelector("six-details");if(t==null){return[]}return[t]}));if(i<0||i>t.length-1){console.error(`Tried to access sidebar menu item by index, but provided index out of range. Provided index: ${i}`);return}await t[i].show()}async selectItemByName(i){var s,t,e;const o=(s=this.sidebar)===null||s===void 0?void 0:s.querySelector("slot");const r=o===null||o===void 0?void 0:o.assignedElements();if(r==null){return}const n=r.findIndex((s=>(s===null||s===void 0?void 0:s.name)===i));const a=(e=(t=r.at(n))===null||t===void 0?void 0:t.shadowRoot)===null||e===void 0?void 0:e.querySelector("six-details");await(a===null||a===void 0?void 0:a.show())}resetTransitionVariables(){this.isVisible=this.open;this.willShow=false;this.willHide=false;this.open?this.sixAfterShow.emit():this.sixAfterHide.emit()}render(){return t("host",{key:"056450e289f2d1edff97ee37efbab15b85a76527",class:"six-sidebar"},t("div",{key:"c36b3f22dbc31e448373a0bb61886bb2acf383ed",class:{sidebar__container:true,"sidebar--visible":this.isVisible,"sidebar--open":this.open,"sidebar--left":this.position==="left","sidebar--right":this.position==="right"},style:{width:this.width,[`margin-${this.position}`]:this.open?"0":`calc(1rem - ${this.width})`},ref:i=>this.sidebar=i,"aria-hidden":this.open?"false":"true",onTransitionEnd:this.handleTransitionEnd},t("slot",{key:"59362071f0a76df0714699478e8fcea6a34c83b3"})))}static get watchers(){return{open:["handleOpenChange"]}}};a.style=r;export{a as six_sidebar};
2
- //# sourceMappingURL=p-5fc9cd7b.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["sixSidebarCss","SixSidebarStyle0","isSidebarItemGroup","node","_a","tagName","toLowerCase","SixSidebar","this","willShow","willHide","handleTransitionEnd","event","target","type","classList","contains","resetTransitionVariables","closeSiblingDetailsOnShow","clickedMenuItem","sidebar","scrollIntoView","closeAllSiblingsBySiblingProperty","getSibling","detailsElement","shadowRoot","querySelector","open","previousElementSibling","nextElementSibling","handleOpenChange","show","hide","componentWillLoad","componentDidRender","setupTogglableMenuItems","disconnectedCallback","removeEventListener","toggled","markAllMenuItemsAsSelectableEmpty","addEventListener","slot","nodes","assignedElements","menuItems","length","pop","menuItemsForCurrentNode","querySelectorAll","push","newItemGroups","Array","from","children","filter","forEach","details","selectableEmpty","toggle","sixShow","emit","defaultPrevented","isVisible","sixHide","selectItemByIndex","index","menuItemsOnRootLevel","flatMap","el","console","error","selectItemByName","value","sidebarItemGroups","indexOfSelectedElement","findIndex","name","selectedItem","_c","_b","at","sixAfterShow","sixAfterHide","render","h","key","class","sidebar__container","position","style","width","ref","onTransitionEnd"],"sources":["src/components/six-sidebar/six-sidebar.scss?tag=six-sidebar&encapsulation=shadow","src/components/six-sidebar/six-sidebar.tsx"],"sourcesContent":["@import 'src/global/component';\n@import 'src/global/mixins/hidden';\n@import 'src/global/mixins/scrollbar';\n\n:host {\n display: block;\n height: 100%;\n}\n\n.sidebar {\n &__container {\n // scroll\n height: 100%;\n overflow: auto;\n\n &.sidebar--open {\n border-right: 1px solid var(--six-color-web-rock-300);\n }\n\n &:not(.sidebar--visible) {\n @include hidden;\n }\n }\n\n &--left {\n color: var(--six-sidebar-color);\n background-color: var(--six-sidebar-background-color);\n // collapse\n transition: var(--six-transition-medium) margin-left;\n // six background\n background-size: 300vw 70%;\n background-position: bottom;\n background-repeat: no-repeat;\n }\n\n &--right {\n // collapse\n transition: var(--six-transition-medium) margin-right;\n }\n\n // if the sidebar is embedded within six-root it cuts-off the border styling, for thus we need to guarante a margin\n &--open {\n &.sidebar--left {\n margin-right: 2px;\n }\n\n &.sidebar--right {\n margin-left: 2px;\n }\n }\n}\n","import { Component, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { scrollIntoView } from '../../utils/scroll';\n\nconst isSidebarItemGroup = (node?: Element | null): boolean =>\n node?.tagName?.toLowerCase() === 'six-sidebar-item-group';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the nested side bar [group] items.\n */\n\n@Component({\n tag: 'six-sidebar',\n styleUrl: 'six-sidebar.scss',\n shadow: true,\n})\nexport class SixSidebar {\n private willShow = false;\n private willHide = false;\n\n private sidebar?: HTMLElement;\n\n @State() isVisible = false;\n\n /** Sidebar position */\n @Prop() position: 'left' | 'right' = 'left';\n\n /** Indicates whether the sidebar is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Sidebar width */\n @Prop() width = '16rem';\n\n /** Define whether sidebar is toggled meaning only one menu can be open at the same time*/\n @Prop() toggled = false;\n\n /** Emitted when the sidebar opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-sidebar-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the sidebar opens and all transitions are complete. */\n @Event({ eventName: 'six-sidebar-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the sidebar closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-sidebar-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the sidebar closes and all transitions are complete. */\n @Event({ eventName: 'six-sidebar-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the sidebar opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the sidebar, such as an input or button.\n */\n @Event({ eventName: 'six-sidebar-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.type === 'transitionend' && target.classList.contains('sidebar__container')) {\n this.resetTransitionVariables();\n }\n };\n\n componentWillLoad() {\n // Show on init if open\n if (this.open) {\n void this.show();\n // if the sidebar is open by default we need to manually reset the\n // transition variables since there will be no transition event\n this.resetTransitionVariables();\n }\n }\n\n componentDidRender() {\n this.setupTogglableMenuItems();\n }\n\n disconnectedCallback() {\n this.sidebar?.removeEventListener('six-details-show', this.closeSiblingDetailsOnShow);\n }\n\n private closeSiblingDetailsOnShow = (event: Event) => {\n const clickedMenuItem = event.target as HTMLElement;\n if (this.sidebar != null) {\n scrollIntoView(clickedMenuItem, this.sidebar);\n }\n\n const closeAllSiblingsBySiblingProperty = (\n getSibling: (node: Element | null | undefined) => Element | null | undefined\n ) => {\n let node: Element | null | undefined = clickedMenuItem;\n while (getSibling(node) != null) {\n node = getSibling(node);\n if (isSidebarItemGroup(node)) {\n const detailsElement = node?.shadowRoot?.querySelector('six-details');\n if (detailsElement != null) {\n detailsElement.open = false;\n }\n }\n }\n };\n\n // close all previous siblings\n closeAllSiblingsBySiblingProperty((node) => node?.previousElementSibling);\n // close all further siblings\n closeAllSiblingsBySiblingProperty((node) => node?.nextElementSibling);\n };\n\n private setupTogglableMenuItems() {\n if (!this.toggled || this.sidebar == null) return;\n this.markAllMenuItemsAsSelectableEmpty();\n this.sidebar.addEventListener('six-details-show', this.closeSiblingDetailsOnShow);\n }\n\n private markAllMenuItemsAsSelectableEmpty() {\n // when you have a toggled menu you also want to close other menu items when you click on an item without children\n // nice benefit this item will then also be highlighted\n const slot = this.sidebar?.querySelector('slot');\n const nodes = slot?.assignedElements() || [];\n\n // since we don't just want to make the top level empty menuItems selectable in toggled mode,\n // but also nested items we need to traverse the whole menu item tree\n const menuItems = [];\n while (nodes.length > 0) {\n const node = nodes.pop();\n if (node?.shadowRoot == null) {\n continue;\n }\n\n // collect six-details in the current shadowDOM\n const menuItemsForCurrentNode = node.shadowRoot.querySelectorAll('six-details');\n menuItems.push(...menuItemsForCurrentNode);\n\n // collect all six-sidebar-item-group children of the current node to afterwards check their shadowDOM too\n const newItemGroups = Array.from(node.children).filter(isSidebarItemGroup);\n nodes.push(...newItemGroups);\n }\n\n menuItems.forEach((details) => (details.selectableEmpty = true));\n }\n\n /** Toggles whether the sidebar should be shown or hidden */\n @Method()\n async toggle() {\n if (this.willShow || this.willHide) {\n return;\n }\n\n if (this.open) {\n await this.hide();\n } else {\n await this.show();\n }\n }\n\n /** Shows the sidebar */\n @Method()\n async show() {\n if (this.willShow) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n }\n\n /** Hides the sidebar */\n @Method()\n async hide() {\n if (this.willHide) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n }\n\n /** Allows to select a menu item programmatically by index */\n @Method()\n async selectItemByIndex(index: number) {\n if (this.sidebar == null) return;\n\n const slot = this.sidebar.querySelector('slot');\n const menuItemsOnRootLevel: HTMLSixDetailsElement[] = (slot?.assignedElements() || []).flatMap((el) => {\n const detailsElement = el.shadowRoot?.querySelector('six-details');\n if (detailsElement == null) {\n return [];\n }\n return [detailsElement];\n });\n if (index < 0 || index > menuItemsOnRootLevel.length - 1) {\n console.error(\n `Tried to access sidebar menu item by index, but provided index out of range. Provided index: ${index}`\n );\n return;\n }\n await menuItemsOnRootLevel[index].show();\n }\n\n /** Allows to select a menu item programmatically by name */\n @Method()\n async selectItemByName(value: string) {\n const slot = this.sidebar?.querySelector('slot');\n const sidebarItemGroups = slot?.assignedElements() as HTMLSixSidebarItemGroupElement[];\n if (sidebarItemGroups == null) {\n return;\n }\n\n const indexOfSelectedElement = sidebarItemGroups.findIndex((el) => el?.name === value);\n const selectedItem = sidebarItemGroups.at(indexOfSelectedElement)?.shadowRoot?.querySelector('six-details');\n await selectedItem?.show();\n }\n\n private resetTransitionVariables() {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n\n render() {\n return (\n <host class=\"six-sidebar\">\n <div\n class={{\n sidebar__container: true,\n 'sidebar--visible': this.isVisible,\n 'sidebar--open': this.open,\n 'sidebar--left': this.position === 'left',\n 'sidebar--right': this.position === 'right',\n }}\n style={{\n width: this.width,\n [`margin-${this.position}`]: this.open ? '0' : `calc(1rem - ${this.width})`,\n }}\n ref={(el) => (this.sidebar = el)}\n aria-hidden={this.open ? 'false' : 'true'}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <slot />\n </div>\n </host>\n );\n }\n}\n"],"mappings":"sFAAA,MAAMA,EAAgB,00BACtB,MAAAC,EAAeD,ECGf,MAAME,EAAsBC,IAAqB,IAAAC,EAC/C,QAAAA,EAAAD,IAAI,MAAJA,SAAI,SAAJA,EAAME,WAAO,MAAAD,SAAA,SAAAA,EAAEE,iBAAkB,wBAAwB,E,MAc9CC,EAAU,M,kRACbC,KAAAC,SAAW,MACXD,KAAAE,SAAW,MAyCXF,KAAAG,oBAAuBC,IAC7B,MAAMC,EAASD,EAAMC,OAGrB,GAAID,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ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as a,h as e}from"./p-48118ce8.js";const i=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:inline-block;--size:2rem}.avatar{display:inline-flex;align-items:center;justify-content:center;position:relative;width:var(--size);height:var(--size);background-color:var(--six-avatar-background-color);font-family:var(--six-font-sans);font-size:calc(var(--size) * 0.5);font-weight:var(--six-font-weight-normal);color:var(--six-avatar-color);overflow:hidden;user-select:none;vertical-align:middle;cursor:pointer;outline:none}.avatar:hover{box-shadow:var(--six-shadow-medium)}.avatar--circle{border-radius:var(--six-border-radius-circle)}.avatar--rounded{border-radius:var(--six-border-radius-medium)}.avatar--square{border-radius:0}.avatar__icon{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;width:100%;height:100%}.avatar__initials{line-height:1;text-transform:uppercase}.avatar__image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}";const t=i;const r=class{constructor(e){a(this,e);this.handleImageError=()=>{this.hasError=true};this.hasError=false;this.image="";this.alt="";this.initials="";this.shape="circle"}render(){return e("div",{key:"0dbd57a48040d1a7c7c07fa838e8be3da457e2c1",part:"base",class:{avatar:true,"avatar--circle":this.shape==="circle","avatar--rounded":this.shape==="rounded","avatar--square":this.shape==="square"},role:"image","aria-label":this.alt,tabIndex:0},this.initials===""&&e("div",{key:"86e4e434e5da9fe126c6950b3716aa69e0738278",part:"icon",class:"avatar__icon"},e("slot",{key:"376b3afc1ded98932f9f80c440f0f142e5bce33f",name:"icon"},e("six-icon",{key:"0371ad768fc7440b24528bf2b1b331f466ab5574"},"person"))),this.initials&&e("div",{key:"d1a3412dc155ff96e7d3fddfac1d483561537e98",part:"initials",class:"avatar__initials"},this.initials),this.image&&!this.hasError&&e("img",{key:"e8a7e31f01329601ae9181c89b702f9469accc35",part:"image",class:"avatar__image",src:this.image,onError:this.handleImageError}))}};r.style=t;export{r as six_avatar};
2
- //# sourceMappingURL=p-618bf750.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["sixAvatarCss","SixAvatarStyle0","SixAvatar","this","handleImageError","hasError","render","h","key","part","class","avatar","shape","role","alt","tabIndex","initials","name","image","src","onError"],"sources":["src/components/six-avatar/six-avatar.scss?tag=six-avatar&encapsulation=shadow","src/components/six-avatar/six-avatar.tsx"],"sourcesContent":["@import 'src/global/component';\n\n/**\n * @prop --size: The size of the avatar.\n */\n:host {\n display: inline-block;\n\n --size: 2rem;\n}\n\n.avatar {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: var(--size);\n height: var(--size);\n background-color: var(--six-avatar-background-color);\n font-family: var(--six-font-sans);\n font-size: calc(var(--size) * 0.5);\n font-weight: var(--six-font-weight-normal);\n color: var(--six-avatar-color);\n overflow: hidden;\n user-select: none;\n vertical-align: middle;\n cursor: pointer;\n outline: none;\n\n &:hover {\n box-shadow: var(--six-shadow-medium);\n }\n}\n\n.avatar--circle {\n border-radius: var(--six-border-radius-circle);\n}\n\n.avatar--rounded {\n border-radius: var(--six-border-radius-medium);\n}\n\n.avatar--square {\n border-radius: 0;\n}\n\n.avatar__icon {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.avatar__initials {\n line-height: 1;\n text-transform: uppercase;\n}\n\n.avatar__image {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n","import { Component, h, Prop, State } from '@stencil/core';\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 icon - The default icon to use when no image or initials are present.\n *\n * @part base - The component's base wrapper.\n * @part icon - The container that wraps the avatar icon.\n * @part initials - The container that wraps the avatar initials.\n * @part image - The avatar image.\n */\n@Component({\n tag: 'six-avatar',\n styleUrl: 'six-avatar.scss',\n shadow: true,\n})\nexport class SixAvatar {\n @State() hasError = false;\n\n /** The image source to use for the avatar. */\n @Prop() image = '';\n\n /** Alternative text for the image. */\n @Prop() alt = '';\n\n /** Initials to use as a fallback when no image is available (1-2 characters max recommended). */\n @Prop() initials = '';\n\n /** The shape of the avatar. */\n @Prop() shape: 'circle' | 'square' | 'rounded' = 'circle';\n\n private handleImageError = () => {\n this.hasError = true;\n };\n\n render() {\n return (\n <div\n part=\"base\"\n class={{\n avatar: true,\n 'avatar--circle': this.shape === 'circle',\n 'avatar--rounded': this.shape === 'rounded',\n 'avatar--square': this.shape === 'square',\n }}\n role=\"image\"\n aria-label={this.alt}\n tabIndex={0}\n >\n {this.initials === '' && (\n <div part=\"icon\" class=\"avatar__icon\">\n <slot name=\"icon\">\n <six-icon>person</six-icon>\n </slot>\n </div>\n )}\n\n {this.initials && (\n <div part=\"initials\" class=\"avatar__initials\">\n {this.initials}\n </div>\n )}\n\n {this.image && !this.hasError && (\n <img part=\"image\" class=\"avatar__image\" src={this.image} onError={this.handleImageError} />\n )}\n </div>\n );\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAe,2/BACrB,MAAAC,EAAeD,E,MCmBFE,EAAS,M,yBAeZC,KAAAC,iBAAmB,KACzBD,KAAKE,SAAW,IAAI,E,cAfF,M,WAGJ,G,SAGF,G,cAGK,G,WAG8B,Q,CAMjD,MAAAC,GACE,OACEC,EAAA,OAAAC,IAAA,2CACEC,KAAK,OACLC,MAAO,CACLC,OAAQ,KACR,iBAAkBR,KAAKS,QAAU,SACjC,kBAAmBT,KAAKS,QAAU,UAClC,iBAAkBT,KAAKS,QAAU,UAEnCC,KAAK,QAAO,aACAV,KAAKW,IACjBC,SAAU,GAETZ,KAAKa,WAAa,IACjBT,EAAA,OAAAC,IAAA,2CAAKC,KAAK,OAAOC,MAAM,gBACrBH,EAAA,QAAAC,IAAA,2CAAMS,KAAK,QACTV,EAAA,YAAAC,IAAA,wDAKLL,KAAKa,UACJT,EAAA,OAAAC,IAAA,2CAAKC,KAAK,WAAWC,MAAM,oBACxBP,KAAKa,UAITb,KAAKe,QAAUf,KAAKE,UACnBE,EAAA,OAAAC,IAAA,2CAAKC,KAAK,QAAQC,MAAM,gBAAgBS,IAAKhB,KAAKe,MAAOE,QAASjB,KAAKC,mB","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,h as r}from"./p-48118ce8.js";const s=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{--track-color:var(--six-progress-track-color);--indicator-color:var(--six-progress-indicator-color);display:inline-flex}.progress-ring{display:inline-flex;align-items:center;justify-content:center;position:relative}.progress-ring__image{transform:rotate(-90deg);transform-origin:50% 50%}.progress-ring__track{stroke:var(--track-color)}.progress-ring__indicator{stroke:var(--indicator-color);transition:0.35s stroke-dashoffset, 0.35s stroke}.progress-ring__label{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;user-select:none;font-family:var(--six-font-family)}";const t=s;const i=class{constructor(r){e(this,r);this.size=128;this.strokeWidth=4;this.percentage=0}handlePercentageChange(){this.updateProgress()}componentDidLoad(){this.updateProgress()}updateProgress(){var e;if(((e=this.indicator)===null||e===void 0?void 0:e.r)==null)return;const r=this.indicator.r.baseVal.value;const s=r*2*Math.PI;const t=s-this.percentage/100*s;this.indicator.style.strokeDasharray=`${s} ${s}`;this.indicator.style.strokeDashoffset=`${t}`}render(){return r("div",{key:"585f31918309719acad14e1b01121be9a8c1cd89",part:"base",class:"progress-ring"},r("svg",{key:"5c039de9145c4c43f52e2787d39aaf3710c30f76",class:"progress-ring__image",width:this.size,height:this.size},r("circle",{key:"8b8ae8deb553e5e34a916fedfd7b5378ab47de9f",class:"progress-ring__track","stroke-width":this.strokeWidth,"stroke-linecap":"round",fill:"transparent",r:this.size/2-this.strokeWidth*2,cx:this.size/2,cy:this.size/2}),r("circle",{key:"aab242e5b4797bdbcf75146e55a73f080d8742c1",ref:e=>this.indicator=e,class:"progress-ring__indicator","stroke-width":this.strokeWidth,"stroke-linecap":"round",fill:"transparent",r:this.size/2-this.strokeWidth*2,cx:this.size/2,cy:this.size/2})),r("span",{key:"dea1cbc19b910dd1d07a10a56ae6b1700b0d5113",part:"label",class:"progress-ring__label"},r("slot",{key:"a00bf6f710f3e65dfc1bc645a808aba2fabe0d40"})))}static get watchers(){return{percentage:["handlePercentageChange"]}}};i.style=t;export{i as six_progress_ring};
2
- //# sourceMappingURL=p-62a1f514.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["sixProgressRingCss","SixProgressRingStyle0","SixProgressRing","handlePercentageChange","this","updateProgress","componentDidLoad","_a","indicator","r","radius","baseVal","value","circumference","Math","PI","offset","percentage","style","strokeDasharray","strokeDashoffset","render","h","key","part","class","width","size","height","strokeWidth","fill","cx","cy","ref","el"],"sources":["src/components/six-progress-ring/six-progress-ring.scss?tag=six-progress-ring&encapsulation=shadow","src/components/six-progress-ring/six-progress-ring.tsx"],"sourcesContent":["@import 'src/global/component';\n\n/**\n * @prop --track-color: The track color.\n * @prop --indicator-color: The indicator color.\n */\n:host {\n --track-color: var(--six-progress-track-color);\n --indicator-color: var(--six-progress-indicator-color);\n\n display: inline-flex;\n}\n\n.progress-ring {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.progress-ring__image {\n transform: rotate(-90deg);\n transform-origin: 50% 50%;\n}\n\n.progress-ring__track {\n stroke: var(--track-color);\n}\n\n.progress-ring__indicator {\n stroke: var(--indicator-color);\n transition: 0.35s stroke-dashoffset, 0.35s stroke;\n}\n\n.progress-ring__label {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n text-align: center;\n user-select: none;\n font-family: var(--six-font-family);\n}\n","import { Component, h, Prop, Watch } from '@stencil/core';\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 - A label to show inside the ring.\n *\n * @part base - The component's base wrapper.\n * @part label - The progress ring label.\n */\n\n@Component({\n tag: 'six-progress-ring',\n styleUrl: 'six-progress-ring.scss',\n shadow: true,\n})\nexport class SixProgressRing {\n private indicator?: SVGCircleElement;\n\n /** The size of the progress ring in pixels. */\n @Prop() size = 128;\n\n /** The stroke width of the progress ring in pixels. */\n @Prop() strokeWidth = 4;\n\n /** The current progress percentage, 0 - 100. */\n @Prop() percentage = 0;\n\n @Watch('percentage')\n handlePercentageChange() {\n this.updateProgress();\n }\n\n componentDidLoad() {\n this.updateProgress();\n }\n\n private updateProgress() {\n if (this.indicator?.r == null) return;\n\n const radius = this.indicator.r.baseVal.value;\n const circumference = radius * 2 * Math.PI;\n const offset = circumference - (this.percentage / 100) * circumference;\n\n this.indicator.style.strokeDasharray = `${circumference} ${circumference}`;\n this.indicator.style.strokeDashoffset = `${offset}`;\n }\n\n render() {\n return (\n <div part=\"base\" class=\"progress-ring\">\n <svg class=\"progress-ring__image\" width={this.size} height={this.size}>\n <circle\n class=\"progress-ring__track\"\n stroke-width={this.strokeWidth}\n stroke-linecap=\"round\"\n fill=\"transparent\"\n r={this.size / 2 - this.strokeWidth * 2}\n cx={this.size / 2}\n cy={this.size / 2}\n />\n\n <circle\n ref={(el) => (this.indicator = el as SVGCircleElement)}\n class=\"progress-ring__indicator\"\n stroke-width={this.strokeWidth}\n stroke-linecap=\"round\"\n fill=\"transparent\"\n r={this.size / 2 - this.strokeWidth * 2}\n cx={this.size / 2}\n cy={this.size / 2}\n />\n </svg>\n\n <span part=\"label\" class=\"progress-ring__label\">\n <slot />\n </span>\n </div>\n );\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAqB,mvBAC3B,MAAAC,EAAeD,E,MCkBFE,EAAe,M,mCAIX,I,iBAGO,E,gBAGD,C,CAGrB,sBAAAC,GACEC,KAAKC,gB,CAGP,gBAAAC,GACEF,KAAKC,gB,CAGC,cAAAA,G,MACN,KAAIE,EAAAH,KAAKI,aAAS,MAAAD,SAAA,SAAAA,EAAEE,IAAK,KAAM,OAE/B,MAAMC,EAASN,KAAKI,UAAUC,EAAEE,QAAQC,MACxC,MAAMC,EAAgBH,EAAS,EAAII,KAAKC,GACxC,MAAMC,EAASH,EAAiBT,KAAKa,WAAa,IAAOJ,EAEzDT,KAAKI,UAAUU,MAAMC,gBAAkB,GAAGN,KAAiBA,IAC3DT,KAAKI,UAAUU,MAAME,iBAAmB,GAAGJ,G,CAG7C,MAAAK,GACE,OACEC,EAAA,OAAAC,IAAA,2CAAKC,KAAK,OAAOC,MAAM,iBACrBH,EAAA,OAAAC,IAAA,2CAAKE,MAAM,uBAAuBC,MAAOtB,KAAKuB,KAAMC,OAAQxB,KAAKuB,MAC/DL,EAAA,UAAAC,IAAA,2CACEE,MAAM,uBAAsB,eACdrB,KAAKyB,YAAW,iBACf,QACfC,KAAK,cACLrB,EAAGL,KAAKuB,KAAO,EAAIvB,KAAKyB,YAAc,EACtCE,GAAI3B,KAAKuB,KAAO,EAChBK,GAAI5B,KAAKuB,KAAO,IAGlBL,EAAA,UAAAC,IAAA,2CACEU,IAAMC,GAAQ9B,KAAKI,UAAY0B,EAC/BT,MAAM,2BAA0B,eAClBrB,KAAKyB,YAAW,iBACf,QACfC,KAAK,cACLrB,EAAGL,KAAKuB,KAAO,EAAIvB,KAAKyB,YAAc,EACtCE,GAAI3B,KAAKuB,KAAO,EAChBK,GAAI5B,KAAKuB,KAAO,KAIpBL,EAAA,QAAAC,IAAA,2CAAMC,KAAK,QAAQC,MAAM,wBACvBH,EAAA,QAAAC,IAAA,8C","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["activeModals","Modal","constructor","element","options","this","handleFocusIn","bind","activate","push","document","addEventListener","deactivate","filter","modal","removeEventListener","isActive","length","event","target","tagName","toLowerCase","closest","_a","onFocusOut","_b"],"sources":["src/utils/modal.ts"],"sourcesContent":["interface ModalOptions {\n onFocusOut?: (event: Event) => void;\n}\n\nlet activeModals: HTMLElement[] = [];\n\nexport default class Modal {\n element: HTMLElement;\n options?: ModalOptions;\n\n constructor(element: HTMLElement, options?: ModalOptions) {\n this.element = element;\n this.options = options;\n this.handleFocusIn = this.handleFocusIn.bind(this);\n }\n\n activate() {\n activeModals.push(this.element);\n document.addEventListener('focusin', this.handleFocusIn);\n }\n\n deactivate() {\n activeModals = activeModals.filter((modal) => modal !== this.element);\n document.removeEventListener('focusin', this.handleFocusIn);\n }\n\n isActive() {\n // The \"active\" modal is always the most recent one shown\n return activeModals[activeModals.length - 1] === this.element;\n }\n\n handleFocusIn(event: Event) {\n const target = event.target as HTMLElement;\n const tagName = this.element.tagName.toLowerCase();\n\n // If focus is lost while the modal is active, run the onFocusOut callback\n if (this.isActive() && target.closest(tagName) !== this.element && typeof this.options?.onFocusOut === 'function') {\n this.options?.onFocusOut(event);\n }\n }\n}\n"],"mappings":"AAIA,IAAIA,EAA8B,G,MAEbC,EAInB,WAAAC,CAAYC,EAAsBC,GAChCC,KAAKF,QAAUA,EACfE,KAAKD,QAAUA,EACfC,KAAKC,cAAgBD,KAAKC,cAAcC,KAAKF,K,CAG/C,QAAAG,GACER,EAAaS,KAAKJ,KAAKF,SACvBO,SAASC,iBAAiB,UAAWN,KAAKC,c,CAG5C,UAAAM,GACEZ,EAAeA,EAAaa,QAAQC,GAAUA,IAAUT,KAAKF,UAC7DO,SAASK,oBAAoB,UAAWV,KAAKC,c,CAG/C,QAAAU,GAEE,OAAOhB,EAAaA,EAAaiB,OAAS,KAAOZ,KAAKF,O,CAGxD,aAAAG,CAAcY,G,QACZ,MAAMC,EAASD,EAAMC,OACrB,MAAMC,EAAUf,KAAKF,QAAQiB,QAAQC,cAGrC,GAAIhB,KAAKW,YAAcG,EAAOG,QAAQF,KAAaf,KAAKF,iBAAkBoB,EAAAlB,KAAKD,WAAO,MAAAmB,SAAA,SAAAA,EAAEC,cAAe,WAAY,EACjHC,EAAApB,KAAKD,WAAO,MAAAqB,SAAA,SAAAA,EAAED,WAAWN,E","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as a,h as s,H as t,g as e}from"./p-48118ce8.js";const o=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:block;font-family:var(--six-font-family)}.tab-panel{border:solid 1px transparent;padding:20px 20px}";const i=o;let r=0;const b=class{constructor(s){a(this,s);this.componentId=`tab-panel-${++r}`;this.name="";this.active=false}render(){return s(t,{key:"71a56c2593d07ab74bfca2036c6c48015800cb3a",id:this.host.id||this.componentId,style:{display:this.active?"block":"none"}},s("div",{key:"f9c9c0f9bcb3365d5919e721e2ce85b96310aa50",part:"base",class:"tab-panel",role:"tabpanel","aria-selected":this.active?"true":"false","aria-hidden":this.active?"false":"true"},s("slot",{key:"a78c62e6fa855d1181069c3c99c8f0bba23fea17"})))}get host(){return e(this)}};b.style=i;export{b as six_tab_panel};
2
- //# sourceMappingURL=p-6513b8ce.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["sixTabPanelCss","SixTabPanelStyle0","id","SixTabPanel","this","componentId","render","h","Host","key","host","style","display","active","part","class","role"],"sources":["src/components/six-tab-panel/six-tab-panel.scss?tag=six-tab-panel&encapsulation=shadow","src/components/six-tab-panel/six-tab-panel.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: block;\n font-family: var(--six-font-family);\n}\n\n.tab-panel {\n border: solid 1px transparent;\n padding: 20px 20px;\n}\n","import { Component, Element, h, Host, Prop } from '@stencil/core';\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 - The tab panel's content.\n *\n * @part base - The component's base wrapper.\n */\n\n@Component({\n tag: 'six-tab-panel',\n styleUrl: 'six-tab-panel.scss',\n shadow: true,\n})\nexport class SixTabPanel {\n private componentId = `tab-panel-${++id}`;\n\n @Element() host!: HTMLSixTabPanelElement;\n\n /** The tab panel's name. */\n @Prop() name = '';\n\n /** When true, the tab panel will be shown. */\n @Prop({ reflect: true }) active = false;\n\n render() {\n return (\n // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels\n <Host id={this.host.id || this.componentId} style={{ display: this.active ? 'block' : 'none' }}>\n <div\n part=\"base\"\n class=\"tab-panel\"\n role=\"tabpanel\"\n aria-selected={this.active ? 'true' : 'false'}\n aria-hidden={this.active ? 'false' : 'true'}\n >\n <slot />\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAiB,6NACvB,MAAAC,EAAeD,ECCf,IAAIE,EAAK,E,MAkBIC,EAAW,M,yBACdC,KAAAC,YAAc,eAAeH,I,UAKtB,G,YAGmB,K,CAElC,MAAAI,GACE,OAEEC,EAACC,EAAI,CAAAC,IAAA,2CAACP,GAAIE,KAAKM,KAAKR,IAAME,KAAKC,YAAaM,MAAO,CAAEC,QAASR,KAAKS,OAAS,QAAU,SACpFN,EAAA,OAAAE,IAAA,2CACEK,KAAK,OACLC,MAAM,YACNC,KAAK,WAAU,gBACAZ,KAAKS,OAAS,OAAS,QAAO,cAChCT,KAAKS,OAAS,QAAU,QAErCN,EAAA,QAAAE,IAAA,8C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as i,c as t,h as o,g as r}from"./p-48118ce8.js";import{F as e}from"./p-a04460e3.js";import{h as s}from"./p-0cebf1d2.js";import{E as n}from"./p-8bfb4bfc.js";import{s as l}from"./p-842b492e.js";const a=':host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.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:"*";transform:scale(1.1);margin-left:var(--six-spacing-xxx-small);position:absolute}.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:block}.input{display:inline-flex;align-items:stretch;justify-content:start;position:relative;width:100%;font-family:var(--six-font-family);font-weight:var(--six-input-font-weight);letter-spacing:var(--six-input-letter-spacing);background-color:var(--six-input-background-color);border:solid var(--six-border-width) var(--six-input-border-color);vertical-align:middle;overflow:hidden;transition:var(--six-transition-fast) color, var(--six-transition-fast) border, var(--six-transition-fast) box-shadow;cursor:text}.input--line{border:none;border-bottom:solid var(--six-border-width) var(--six-input-border-color)}.input:hover:not(.input--disabled){background-color:var(--six-input-background-color-hover);border-color:var(--six-input-border-color-hover)}.input:hover:not(.input--disabled) .input__control{color:var(--six-input-color-hover)}.input:hover.input--dropdown-search{border-color:transparent}.input--dropdown-search{border-color:transparent}.input--dropdown-search.input--focused{border-color:var(--six-input-border-color)}.input.input--focused:not(.input--disabled){background-color:var(--six-input-background-color-focus);border-bottom-color:var(--six-input-border-color-focus);box-shadow:0 1px 0 0 var(--six-input-border-color-focus)}.input.input--focused:not(.input--disabled):not(.input--line){border-color:var(--six-input-border-color-focus);box-shadow:var(--six-input-focus-shadow)}.input.input--focused:not(.input--disabled) .input__control{color:var(--six-input-color-focus)}.input.input--disabled{background-color:var(--six-input-background-color-disabled);border-color:var(--six-input-border-color-disabled);cursor:not-allowed}.input.input--disabled .input__control{color:var(--six-input-color-disabled)}.input.input--disabled .input__control::placeholder{color:var(--six-input-placeholder-color-disabled)}.input.input--invalid:not(.input--disabled):not(.input--focused){border-bottom-color:var(--six-input-border-color-danger)}.input.input--invalid:not(.input--disabled):not(.input--focused):not(.input--line){border-color:var(--six-input-border-color-danger)}.input__control{flex:1 1 auto;width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;min-width:0;color:var(--six-input-color);border:none;background:none;box-shadow:none;padding:0;margin:0;cursor:inherit;-webkit-appearance:none}.input__control::-webkit-search-decoration,.input__control::-webkit-search-cancel-button,.input__control::-webkit-search-results-button,.input__control::-webkit-search-results-decoration{-webkit-appearance:none}.input__control:-webkit-autofill,.input__control:-webkit-autofill:hover,.input__control:-webkit-autofill:focus,.input__control:-webkit-autofill:active{box-shadow:0 0 0 var(--six-height-large) var(--six-input-background-color-hover) inset !important;-webkit-text-fill-color:var(--six-color-primary-500)}.input__control::placeholder{color:var(--six-input-placeholder-color);user-select:none}.input__control:focus{outline:none}.input__control::-ms-reveal{display:none}.input__prefix,.input__suffix{display:inline-flex;flex:0 0 auto;align-items:center;cursor:default}.input__prefix ::slotted(six-icon),.input__suffix ::slotted(six-icon){color:var(--six-input-icon-color)}.input.input--disabled ::slotted(six-icon){cursor:not-allowed}.input--small{border-radius:var(--six-input-border-radius-small);font-size:var(--six-input-font-size-small);height:var(--six-height-small)}.input--small .input__control{height:calc(var(--six-height-small) - var(--six-border-width) * 2);margin:0 var(--six-input-spacing-small)}.input--small .input__control__prefix{margin:0 var(--six-input-prefix-spacing-small)}.input--small .input__clear,.input--small .input__password-toggle{margin-right:var(--six-input-spacing-small)}.input--small .input__prefix ::slotted(*){margin-left:var(--six-input-prefix-spacing-small)}.input--small .input__suffix ::slotted(*){margin-right:var(--six-input-prefix-spacing-small)}.input--medium{border-radius:var(--six-input-border-radius-medium);font-size:var(--six-input-font-size-medium);height:var(--six-height-medium)}.input--medium .input__control{height:calc(var(--six-height-medium) - var(--six-border-width) * 2);margin:0 var(--six-input-spacing-medium)}.input--medium .input__control__prefix{margin:0 var(--six-input-prefix-spacing-medium)}.input--medium .input__clear,.input--medium .input__password-toggle{margin-right:var(--six-input-spacing-medium)}.input--medium .input__prefix ::slotted(*){margin-left:var(--six-input-prefix-spacing-medium)}.input--medium .input__suffix ::slotted(*){margin-right:var(--six-input-prefix-spacing-medium)}.input--large{border-radius:var(--six-input-border-radius-large);font-size:var(--six-input-font-size-large);height:var(--six-height-large)}.input--large .input__control{height:calc(var(--six-height-large) - var(--six-border-width) * 2);margin:0 var(--six-input-spacing-large)}.input--large .input__control__prefix{margin:0 var(--six-input-prefix-spacing-large)}.input--large .input__clear,.input--large .input__password-toggle{margin-right:var(--six-input-spacing-large)}.input--large .input__prefix ::slotted(*){margin-left:var(--six-input-prefix-spacing-large)}.input--large .input__suffix ::slotted(*){margin-right:var(--six-input-prefix-spacing-large)}.input--pill.input--small{border-radius:var(--six-height-small)}.input--pill.input--medium{border-radius:var(--six-height-medium)}.input--pill.input--large{border-radius:var(--six-height-large)}.input__clear,.input__password-toggle{display:inline-flex;align-items:center;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;padding:0;transition:var(--six-transition-fast) color;cursor:pointer}.input__clear:hover,.input__password-toggle:hover{color:var(--six-input-icon-color-hover)}.input__clear:focus,.input__password-toggle:focus{outline:none}.input--empty .input__clear{visibility:hidden}';const u=a;const p={large:"medium",medium:"small",small:"xSmall"};let h=0;const c=class{constructor(o){i(this,o);this.sixChange=t(this,"six-input-change",7);this.sixClear=t(this,"six-input-clear",7);this.sixInput=t(this,"six-input-input",7);this.sixFocus=t(this,"six-input-focus",7);this.sixBlur=t(this,"six-input-blur",7);this.inputId=`input-${++h}`;this.labelId=`input-label-${h}`;this.helpTextId=`input-help-text-${h}`;this.errorTextId=`input-error-text-${h}`;this.eventListeners=new n;this.handleChange=i=>{i.stopPropagation();if(this.nativeInput!=null){this.value=this.nativeInput.value;this.sixChange.emit()}};this.handleInput=i=>{i.stopPropagation();if(this.nativeInput!=null){this.value=this.nativeInput.value;this.sixInput.emit()}};this.handleBlur=()=>{this.hasFocus=false;this.sixBlur.emit()};this.handleFocus=()=>{this.hasFocus=true;this.sixFocus.emit()};this.handleClearClick=i=>{this.value="";this.sixClear.emit();this.sixInput.emit();this.sixChange.emit();if(this.nativeInput!=null){this.nativeInput.focus()}i.stopPropagation()};this.handleKeyDown=i=>{const t=i.metaKey||i.ctrlKey||i.shiftKey||i.altKey;if(i.key==="Enter"&&!t){setTimeout((()=>{if(!i.defaultPrevented&&!i.isComposing){l(this.host)}}))}};this.handlePasswordToggle=()=>{this.isPasswordVisible=!this.isPasswordVisible};this.handleSlotChange=()=>{this.hasHelpTextSlot=s(this.host,"help-text");this.hasLabelSlot=s(this.host,"label");this.hasErrorSlot=s(this.host,"error-text")};this.hasFocus=false;this.hasHelpTextSlot=false;this.hasLabelSlot=false;this.hasErrorSlot=false;this.isPasswordVisible=false;this.type="text";this.size="medium";this.name="";this.value="";this.pill=false;this.helpText="";this.placeholder=undefined;this.disabled=false;this.readonly=false;this.minlength=undefined;this.maxlength=undefined;this.min=undefined;this.max=undefined;this.step=undefined;this.pattern=undefined;this.dropdownSearch=false;this.required=false;this.autocapitalize="off";this.autocorrect="off";this.autocomplete="off";this.autofocus=false;this.spellcheck=false;this.label="";this.errorText="";this.errorTextCount=undefined;this.invalid=false;this.clearable=false;this.togglePassword=false;this.inputmode=undefined;this.line=false}handleLabelChange(){this.handleSlotChange()}handleValueChange(){this.value=this.getValue();if(this.nativeInput!=null&&this.nativeInput.value!==this.value){this.nativeInput.value=this.value}}connectedCallback(){var i;(i=this.host.shadowRoot)===null||i===void 0?void 0:i.addEventListener("slotchange",this.handleSlotChange);this.eventListeners.forward("six-input-input","input",this.host);this.eventListeners.forward("six-input-change","change",this.host);this.eventListeners.forward("six-input-focus","focus",this.host);this.eventListeners.forward("six-input-blur","blur",this.host)}componentWillLoad(){this.handleSlotChange()}disconnectedCallback(){var i;(i=this.host.shadowRoot)===null||i===void 0?void 0:i.removeEventListener("slotchange",this.handleSlotChange);this.eventListeners.removeAll()}async setFocus(i){var t;(t=this.nativeInput)===null||t===void 0?void 0:t.focus(i)}async removeFocus(){var i;(i=this.nativeInput)===null||i===void 0?void 0:i.blur()}async select(){var i;return(i=this.nativeInput)===null||i===void 0?void 0:i.select()}async setSelectionRange(i,t,o="none"){var r;return(r=this.nativeInput)===null||r===void 0?void 0:r.setSelectionRange(i,t,o)}async getSelectionRange(){var i,t,o,r,e,s;return{selectionStart:(t=(i=this.nativeInput)===null||i===void 0?void 0:i.selectionStart)!==null&&t!==void 0?t:undefined,selectionEnd:(r=(o=this.nativeInput)===null||o===void 0?void 0:o.selectionEnd)!==null&&r!==void 0?r:undefined,selectionDirection:(s=(e=this.nativeInput)===null||e===void 0?void 0:e.selectionDirection)!==null&&s!==void 0?s:undefined}}async setRangeText(i,t,o,r="preserve"){if(this.nativeInput==null){return}this.nativeInput.setRangeText(i,t,o,r);if(this.getValue()!==this.nativeInput.value){this.value=this.nativeInput.value;this.sixChange.emit();this.sixInput.emit()}}getValue(){var i;return((i=this.value)!==null&&i!==void 0?i:"").toString()}render(){return o(e,{key:"8db2b6cf7a3065d1fd4c958c1301ffa459e2ce37",inputId:this.inputId,label:this.label,labelId:this.labelId,hasLabelSlot:this.hasLabelSlot,helpTextId:this.helpTextId,helpText:this.helpText,hasHelpTextSlot:this.hasHelpTextSlot,errorTextId:this.errorTextId,errorText:this.errorText,errorTextCount:this.errorTextCount,hasErrorTextSlot:this.hasErrorSlot,size:this.size,disabled:this.disabled,required:this.required,displayError:this.invalid},o("div",{key:"4b2564db4347ab7bd6cb44c51f65770fcb6ea816",part:"base",class:{input:true,"input--small":this.size==="small","input--medium":this.size==="medium","input--large":this.size==="large","input--line":this.line,"input--pill":this.pill,"input--disabled":this.disabled,"input--dropdown-search":this.dropdownSearch,"input--focused":this.hasFocus,"input--empty":this.getValue().length===0,"input--invalid":this.invalid}},o("span",{key:"874d1edb40d14490dc100af7c85f618883c9cd63",part:"prefix",class:"input__prefix"},o("slot",{key:"eee751e03fe42da62100cc2fb18bcb46cbba76e1",name:"prefix"})),o("input",{key:"b89a34876aae5f073c73495f79c4b0b47cdf10e3",part:"input",ref:i=>this.nativeInput=i,id:this.inputId,size:1,class:{input__control:true,input__control__prefix:s(this.host,"prefix")},type:this.type==="password"&&this.isPasswordVisible?"text":this.type,name:this.name,placeholder:this.placeholder,disabled:this.disabled,readonly:this.readonly,minLength:this.minlength,maxLength:this.maxlength,min:this.min,max:this.max,step:this.step,value:this.getValue(),autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,spellcheck:this.spellcheck,pattern:this.pattern,required:this.required,inputMode:this.inputmode,"aria-labelledby":this.labelId,"aria-describedby":this.helpTextId,"aria-invalid":this.invalid?"true":"false",onChange:this.handleChange,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,"data-testid":"input-control"}),this.clearable&&!this.disabled&&o("button",{key:"248251ba299d52bf44583e7acb9bbe823d51c724",part:"clear-button",class:"input__clear",type:"button",onClick:this.handleClearClick,tabindex:"-1","data-testid":"input-clear-button"},o("slot",{key:"2e353a833fd696a55de542d5df69a9cb33957b23",name:"clear-icon"},o("six-icon",{key:"ceac32b1b954c75e9b7fe9682a487e72967b4e46",size:p[this.size]},"clear"))),this.togglePassword&&o("button",{key:"74e7b5714fc20329a3f18321e552b21bcbd6d77a",part:"password-toggle-button",class:"input__password-toggle",type:"button",onClick:this.handlePasswordToggle,tabindex:"-1"},this.isPasswordVisible?o("slot",{name:"show-password-icon"},o("six-icon",{size:p[this.size]},"visibility_off")):o("slot",{name:"hide-password-icon"},o("six-icon",{size:p[this.size]},"visibility"))),o("span",{key:"f179d2cdcbfd319b8cb1291df0219ba5d89c8b4c",part:"suffix",class:"input__suffix"},o("slot",{key:"bdea79b0fad36a1b34a70ce0a414a624febe68a5",name:"suffix"}))))}get host(){return r(this)}static get watchers(){return{helpText:["handleLabelChange"],errorText:["handleLabelChange"],label:["handleLabelChange"],value:["handleValueChange"]}}};c.style=u;export{c as six_input};
2
- //# sourceMappingURL=p-6795e0a9.entry.js.map