@six-group/ui-library 4.2.5 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1267) hide show
  1. package/dist/cjs/{form-control-de259450.js → form-control-b39f1df5.js} +2 -2
  2. package/dist/cjs/{form-control-de259450.js.map → form-control-b39f1df5.js.map} +1 -1
  3. package/dist/cjs/index-417a06c8.js +1948 -0
  4. package/dist/cjs/index-417a06c8.js.map +1 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/six-alert.cjs.entry.js +2 -2
  7. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  8. package/dist/cjs/six-avatar.cjs.entry.js +3 -3
  9. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  10. package/dist/cjs/six-badge.cjs.entry.js +3 -3
  11. package/dist/cjs/six-button.cjs.entry.js +4 -4
  12. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  13. package/dist/cjs/six-card.cjs.entry.js +2 -2
  14. package/dist/cjs/{six-checkbox_2.cjs.entry.js → six-checkbox.cjs.entry.js} +5 -69
  15. package/dist/cjs/six-checkbox.cjs.entry.js.map +1 -0
  16. package/dist/cjs/six-datepicker.cjs.entry.js +4 -4
  17. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  18. package/dist/cjs/six-details.cjs.entry.js +4 -4
  19. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  20. package/dist/cjs/six-dialog.cjs.entry.js +3 -3
  21. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  22. package/dist/cjs/six-drawer.cjs.entry.js +3 -3
  23. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  24. package/dist/cjs/{six-dropdown_2.cjs.entry.js → six-dropdown_3.cjs.entry.js} +73 -9
  25. package/dist/cjs/six-dropdown_3.cjs.entry.js.map +1 -0
  26. package/dist/cjs/six-error-page.cjs.entry.js +2 -2
  27. package/dist/cjs/six-error.cjs.entry.js +2 -2
  28. package/dist/cjs/six-file-list-item.cjs.entry.js +3 -3
  29. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  30. package/dist/cjs/six-file-list.cjs.entry.js +2 -2
  31. package/dist/cjs/six-file-upload.cjs.entry.js +6 -9
  32. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  33. package/dist/cjs/six-footer.cjs.entry.js +2 -2
  34. package/dist/cjs/six-group-label.cjs.entry.js +3 -3
  35. package/dist/cjs/six-header-dropdown-item.cjs.entry.js +45 -0
  36. package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -0
  37. package/dist/cjs/six-header-item_2.cjs.entry.js +47 -0
  38. package/dist/cjs/six-header-item_2.cjs.entry.js.map +1 -0
  39. package/dist/cjs/six-header-menu-button.cjs.entry.js +23 -0
  40. package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -0
  41. package/dist/cjs/six-header.cjs.entry.js +40 -31
  42. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  43. package/dist/cjs/six-icon-button.cjs.entry.js +11 -5
  44. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  45. package/dist/cjs/six-icon.cjs.entry.js +3 -3
  46. package/dist/cjs/six-input.cjs.entry.js +5 -5
  47. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  48. package/dist/cjs/six-item-picker.cjs.entry.js +4 -4
  49. package/dist/cjs/six-language-switcher.cjs.entry.js +2 -2
  50. package/dist/cjs/six-layout-grid.cjs.entry.js +2 -2
  51. package/dist/cjs/six-main-container.cjs.entry.js +2 -2
  52. package/dist/cjs/six-menu-divider.cjs.entry.js +2 -2
  53. package/dist/cjs/six-menu-label.cjs.entry.js +2 -2
  54. package/dist/cjs/six-picto.cjs.entry.js +2 -2
  55. package/dist/cjs/six-progress-bar.cjs.entry.js +4 -4
  56. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  57. package/dist/cjs/six-progress-ring.cjs.entry.js +2 -2
  58. package/dist/cjs/six-radio.cjs.entry.js +3 -3
  59. package/dist/cjs/six-range.cjs.entry.js +4 -4
  60. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  61. package/dist/cjs/six-root.cjs.entry.js +2 -2
  62. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  63. package/dist/cjs/six-search-field.cjs.entry.js +2 -2
  64. package/dist/cjs/six-select.cjs.entry.js +31 -14
  65. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  66. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +3 -3
  67. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  68. package/dist/cjs/six-sidebar-item.cjs.entry.js +4 -4
  69. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  70. package/dist/cjs/six-sidebar.cjs.entry.js +3 -3
  71. package/dist/cjs/six-spinner.cjs.entry.js +1 -1
  72. package/dist/cjs/six-stage-indicator.cjs.entry.js +1 -1
  73. package/dist/cjs/six-switch.cjs.entry.js +4 -4
  74. package/dist/cjs/six-tab-group.cjs.entry.js +3 -3
  75. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  76. package/dist/cjs/six-tab-panel.cjs.entry.js +2 -2
  77. package/dist/cjs/six-tab.cjs.entry.js +3 -3
  78. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  79. package/dist/cjs/six-tag.cjs.entry.js +3 -3
  80. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  81. package/dist/cjs/six-textarea.cjs.entry.js +4 -4
  82. package/dist/cjs/six-tile.cjs.entry.js +6 -6
  83. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  84. package/dist/cjs/six-timepicker.cjs.entry.js +3 -3
  85. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  86. package/dist/cjs/six-tooltip.cjs.entry.js +3 -3
  87. package/dist/cjs/ui-library.cjs.js +10 -10
  88. package/dist/cjs/ui-library.cjs.js.map +1 -1
  89. package/dist/collection/collection-manifest.json +6 -2
  90. package/dist/collection/components/six-alert/six-alert.js +1 -1
  91. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  92. package/dist/collection/components/six-avatar/six-avatar.js +2 -2
  93. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  94. package/dist/collection/components/six-badge/six-badge.js +2 -2
  95. package/dist/collection/components/six-button/six-button.css +0 -4
  96. package/dist/collection/components/six-button/six-button.js +2 -2
  97. package/dist/collection/components/six-button/six-button.js.map +1 -1
  98. package/dist/collection/components/six-card/six-card.js +1 -1
  99. package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
  100. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  101. package/dist/collection/components/six-datepicker/six-datepicker.js +3 -3
  102. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  103. package/dist/collection/components/six-details/six-details.js +3 -3
  104. package/dist/collection/components/six-details/six-details.js.map +1 -1
  105. package/dist/collection/components/six-dialog/six-dialog.js +2 -2
  106. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  107. package/dist/collection/components/six-drawer/six-drawer.js +2 -2
  108. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  109. package/dist/collection/components/six-dropdown/six-dropdown.js +5 -5
  110. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  111. package/dist/collection/components/six-error/six-error.js +1 -1
  112. package/dist/collection/components/six-error-page/six-error-page.js +1 -1
  113. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  114. package/dist/collection/components/six-file-list-item/six-file-list-item.js +2 -2
  115. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  116. package/dist/collection/components/six-file-upload/six-file-upload.js +5 -8
  117. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  118. package/dist/collection/components/six-footer/six-footer.js +1 -1
  119. package/dist/collection/components/six-group-label/six-group-label.js +1 -1
  120. package/dist/collection/components/six-header/six-header.css +5 -29
  121. package/dist/collection/components/six-header/six-header.js +115 -47
  122. package/dist/collection/components/six-header/six-header.js.map +1 -1
  123. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +15 -0
  124. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +53 -0
  125. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -0
  126. package/dist/collection/components/six-header-item/six-header-item.css +15 -0
  127. package/dist/collection/components/six-header-item/six-header-item.js +51 -0
  128. package/dist/collection/components/six-header-item/six-header-item.js.map +1 -0
  129. package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +27 -0
  130. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +48 -0
  131. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -0
  132. package/dist/collection/components/six-icon/six-icon.js +2 -2
  133. package/dist/collection/components/six-icon-button/six-icon-button.css +2 -1
  134. package/dist/collection/components/six-icon-button/six-icon-button.js +60 -3
  135. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  136. package/dist/collection/components/six-input/six-input.js +4 -4
  137. package/dist/collection/components/six-input/six-input.js.map +1 -1
  138. package/dist/collection/components/six-item-picker/six-item-picker.js +3 -3
  139. package/dist/collection/components/six-language-switcher/six-language-switcher.js +1 -1
  140. package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
  141. package/dist/collection/components/six-logo/six-logo.css +18 -0
  142. package/dist/collection/components/six-logo/six-logo.js +54 -0
  143. package/dist/collection/components/six-logo/six-logo.js.map +1 -0
  144. package/dist/collection/components/six-main-container/six-main-container.js +1 -1
  145. package/dist/collection/components/six-menu/six-menu.js +2 -2
  146. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  147. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  148. package/dist/collection/components/six-menu-item/six-menu-item.js +2 -2
  149. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  150. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  151. package/dist/collection/components/six-picto/six-picto.js +1 -1
  152. package/dist/collection/components/six-progress-bar/six-progress-bar.js +3 -3
  153. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  154. package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
  155. package/dist/collection/components/six-radio/six-radio.js +2 -2
  156. package/dist/collection/components/six-range/six-range.js +2 -2
  157. package/dist/collection/components/six-range/six-range.js.map +1 -1
  158. package/dist/collection/components/six-root/six-root.js +1 -1
  159. package/dist/collection/components/six-root/six-root.js.map +1 -1
  160. package/dist/collection/components/six-search-field/six-search-field.js +1 -1
  161. package/dist/collection/components/six-select/six-select.js +29 -12
  162. package/dist/collection/components/six-select/six-select.js.map +1 -1
  163. package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
  164. package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +7 -0
  165. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
  166. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +7 -0
  167. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +1 -1
  168. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  169. package/dist/collection/components/six-switch/six-switch.js +2 -2
  170. package/dist/collection/components/six-tab/six-tab.js +2 -2
  171. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  172. package/dist/collection/components/six-tab-group/six-tab-group.js +2 -2
  173. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  174. package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
  175. package/dist/collection/components/six-tag/six-tag.js +2 -2
  176. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  177. package/dist/collection/components/six-textarea/six-textarea.js +4 -4
  178. package/dist/collection/components/six-tile/six-tile.js +5 -5
  179. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  180. package/dist/collection/components/six-timepicker/six-timepicker.js +2 -2
  181. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  182. package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
  183. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
  184. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  185. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
  186. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  187. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
  188. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  189. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
  190. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  191. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
  192. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  193. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
  194. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  195. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
  196. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  197. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
  198. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  199. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
  200. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  201. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
  202. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  203. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
  204. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  205. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
  206. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  207. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
  208. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  209. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
  210. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  211. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
  212. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  213. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
  214. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  215. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
  216. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  217. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
  218. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  219. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  220. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  221. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  222. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  223. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  224. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  225. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  226. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  227. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  228. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  229. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  230. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  231. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  232. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  233. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  234. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  235. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  236. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  237. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  238. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  239. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  240. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  241. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  242. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  243. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  244. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  245. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  246. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  247. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  248. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  249. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  250. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  251. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  252. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  253. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  254. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  255. package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
  256. package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  257. package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
  258. package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  259. package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
  260. package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  261. package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
  262. package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  263. package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
  264. package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  265. package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
  266. package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  267. package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
  268. package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  269. package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
  270. package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  271. package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
  272. package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  273. package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
  274. package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  275. package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
  276. package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  277. package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
  278. package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  279. package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
  280. package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  281. package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
  282. package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  283. package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
  284. package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  285. package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
  286. package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  287. package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
  288. package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  289. package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
  290. package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  291. package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
  292. package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
  293. package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
  294. package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
  295. package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
  296. package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
  297. package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
  298. package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
  299. package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
  300. package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
  301. package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
  302. package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
  303. package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
  304. package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
  305. package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
  306. package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
  307. package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
  308. package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
  309. package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
  310. package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
  311. package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
  312. package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
  313. package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
  314. package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
  315. package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
  316. package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
  317. package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
  318. package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
  319. package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
  320. package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
  321. package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
  322. package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
  323. package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
  324. package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
  325. package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
  326. package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
  327. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
  328. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  329. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
  330. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  331. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
  332. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  333. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
  334. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  335. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
  336. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  337. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
  338. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  339. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
  340. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  341. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
  342. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  343. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
  344. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  345. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
  346. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  347. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
  348. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  349. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
  350. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  351. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
  352. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  353. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
  354. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  355. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
  356. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  357. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
  358. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  359. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
  360. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  361. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
  362. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  363. package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
  364. package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
  365. package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
  366. package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
  367. package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
  368. package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
  369. package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
  370. package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
  371. package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
  372. package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
  373. package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
  374. package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
  375. package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
  376. package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
  377. package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
  378. package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
  379. package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
  380. package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
  381. package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
  382. package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
  383. package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
  384. package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
  385. package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
  386. package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
  387. package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
  388. package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
  389. package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
  390. package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
  391. package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
  392. package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
  393. package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
  394. package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
  395. package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
  396. package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
  397. package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
  398. package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
  399. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
  400. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  401. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
  402. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  403. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
  404. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  405. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
  406. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  407. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
  408. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  409. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
  410. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  411. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
  412. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  413. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
  414. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  415. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
  416. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  417. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
  418. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  419. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
  420. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  421. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
  422. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  423. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
  424. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  425. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
  426. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  427. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
  428. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  429. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
  430. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  431. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
  432. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  433. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
  434. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  435. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
  436. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  437. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
  438. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  439. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
  440. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  441. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
  442. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  443. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
  444. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  445. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
  446. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  447. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
  448. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  449. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
  450. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  451. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
  452. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  453. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
  454. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  455. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
  456. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  457. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
  458. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  459. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
  460. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  461. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
  462. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  463. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
  464. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  465. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
  466. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  467. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
  468. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  469. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
  470. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  471. package/dist/components/index.js +8 -0
  472. package/dist/components/index.js.map +1 -1
  473. package/dist/components/six-alert.js +1 -1
  474. package/dist/components/six-alert.js.map +1 -1
  475. package/dist/components/six-avatar.js +2 -2
  476. package/dist/components/six-avatar.js.map +1 -1
  477. package/dist/components/six-badge.js +2 -2
  478. package/dist/components/six-button2.js +3 -3
  479. package/dist/components/six-button2.js.map +1 -1
  480. package/dist/components/six-card.js +1 -1
  481. package/dist/components/six-checkbox2.js +2 -2
  482. package/dist/components/six-checkbox2.js.map +1 -1
  483. package/dist/components/six-datepicker.js +3 -3
  484. package/dist/components/six-datepicker.js.map +1 -1
  485. package/dist/components/six-details2.js +3 -3
  486. package/dist/components/six-details2.js.map +1 -1
  487. package/dist/components/six-dialog.js +2 -2
  488. package/dist/components/six-dialog.js.map +1 -1
  489. package/dist/components/six-drawer.js +2 -2
  490. package/dist/components/six-drawer.js.map +1 -1
  491. package/dist/components/six-dropdown2.js +5 -5
  492. package/dist/components/six-dropdown2.js.map +1 -1
  493. package/dist/components/six-error-page.js +1 -1
  494. package/dist/components/six-error2.js +1 -1
  495. package/dist/components/six-file-list-item.js +2 -2
  496. package/dist/components/six-file-list-item.js.map +1 -1
  497. package/dist/components/six-file-list.js +1 -1
  498. package/dist/components/six-file-upload.js +5 -8
  499. package/dist/components/six-file-upload.js.map +1 -1
  500. package/dist/components/six-footer.js +1 -1
  501. package/dist/components/six-group-label.js +1 -1
  502. package/dist/components/six-header-dropdown-item.d.ts +11 -0
  503. package/dist/components/six-header-dropdown-item.js +103 -0
  504. package/dist/components/six-header-dropdown-item.js.map +1 -0
  505. package/dist/components/six-header-item.d.ts +11 -0
  506. package/dist/components/six-header-item.js +8 -0
  507. package/dist/components/six-header-item.js.map +1 -0
  508. package/dist/components/six-header-item2.js +39 -0
  509. package/dist/components/six-header-item2.js.map +1 -0
  510. package/dist/components/six-header-menu-button.d.ts +11 -0
  511. package/dist/components/six-header-menu-button.js +57 -0
  512. package/dist/components/six-header-menu-button.js.map +1 -0
  513. package/dist/components/six-header.js +64 -42
  514. package/dist/components/six-header.js.map +1 -1
  515. package/dist/components/six-icon-button2.js +14 -5
  516. package/dist/components/six-icon-button2.js.map +1 -1
  517. package/dist/components/six-icon2.js +2 -2
  518. package/dist/components/six-input2.js +3 -3
  519. package/dist/components/six-input2.js.map +1 -1
  520. package/dist/components/six-item-picker2.js +3 -3
  521. package/dist/components/six-language-switcher.js +1 -1
  522. package/dist/components/six-layout-grid.js +1 -1
  523. package/dist/components/six-logo.d.ts +11 -0
  524. package/dist/components/six-logo.js +8 -0
  525. package/dist/components/six-logo.js.map +1 -0
  526. package/dist/components/six-logo2.js +42 -0
  527. package/dist/components/six-logo2.js.map +1 -0
  528. package/dist/components/six-main-container.js +1 -1
  529. package/dist/components/six-menu-divider.js +1 -1
  530. package/dist/components/six-menu-item2.js +2 -2
  531. package/dist/components/six-menu-item2.js.map +1 -1
  532. package/dist/components/six-menu-label.js +1 -1
  533. package/dist/components/six-menu2.js +2 -2
  534. package/dist/components/six-menu2.js.map +1 -1
  535. package/dist/components/six-picto2.js +1 -1
  536. package/dist/components/six-progress-bar.js +3 -3
  537. package/dist/components/six-progress-bar.js.map +1 -1
  538. package/dist/components/six-progress-ring.js +1 -1
  539. package/dist/components/six-radio.js +2 -2
  540. package/dist/components/six-range.js +2 -2
  541. package/dist/components/six-range.js.map +1 -1
  542. package/dist/components/six-root.js +1 -1
  543. package/dist/components/six-root.js.map +1 -1
  544. package/dist/components/six-search-field.js +1 -1
  545. package/dist/components/six-select.js +29 -12
  546. package/dist/components/six-select.js.map +1 -1
  547. package/dist/components/six-sidebar-item-group.js +2 -2
  548. package/dist/components/six-sidebar-item-group.js.map +1 -1
  549. package/dist/components/six-sidebar-item.js +3 -3
  550. package/dist/components/six-sidebar-item.js.map +1 -1
  551. package/dist/components/six-sidebar.js +2 -2
  552. package/dist/components/six-switch.js +2 -2
  553. package/dist/components/six-tab-group.js +2 -2
  554. package/dist/components/six-tab-group.js.map +1 -1
  555. package/dist/components/six-tab-panel.js +1 -1
  556. package/dist/components/six-tab.js +2 -2
  557. package/dist/components/six-tab.js.map +1 -1
  558. package/dist/components/six-tag.js +2 -2
  559. package/dist/components/six-tag.js.map +1 -1
  560. package/dist/components/six-textarea.js +2 -2
  561. package/dist/components/six-tile.js +5 -5
  562. package/dist/components/six-tile.js.map +1 -1
  563. package/dist/components/six-timepicker2.js +2 -2
  564. package/dist/components/six-timepicker2.js.map +1 -1
  565. package/dist/components/six-tooltip2.js +2 -2
  566. package/dist/components.d.ts +34 -0
  567. package/dist/components.json +477 -32
  568. package/dist/esm/{form-control-30c5bd8b.js → form-control-ad1710bf.js} +2 -2
  569. package/dist/esm/{form-control-30c5bd8b.js.map → form-control-ad1710bf.js.map} +1 -1
  570. package/dist/esm/index-a7bee415.js +1919 -0
  571. package/dist/esm/index-a7bee415.js.map +1 -0
  572. package/dist/esm/loader.js +3 -3
  573. package/dist/esm/six-alert.entry.js +2 -2
  574. package/dist/esm/six-alert.entry.js.map +1 -1
  575. package/dist/esm/six-avatar.entry.js +3 -3
  576. package/dist/esm/six-avatar.entry.js.map +1 -1
  577. package/dist/esm/six-badge.entry.js +3 -3
  578. package/dist/esm/six-button.entry.js +4 -4
  579. package/dist/esm/six-button.entry.js.map +1 -1
  580. package/dist/esm/six-card.entry.js +2 -2
  581. package/dist/esm/{six-checkbox_2.entry.js → six-checkbox.entry.js} +7 -70
  582. package/dist/esm/six-checkbox.entry.js.map +1 -0
  583. package/dist/esm/six-datepicker.entry.js +4 -4
  584. package/dist/esm/six-datepicker.entry.js.map +1 -1
  585. package/dist/esm/six-details.entry.js +4 -4
  586. package/dist/esm/six-details.entry.js.map +1 -1
  587. package/dist/esm/six-dialog.entry.js +3 -3
  588. package/dist/esm/six-dialog.entry.js.map +1 -1
  589. package/dist/esm/six-drawer.entry.js +3 -3
  590. package/dist/esm/six-drawer.entry.js.map +1 -1
  591. package/dist/esm/{six-dropdown_2.entry.js → six-dropdown_3.entry.js} +73 -10
  592. package/dist/esm/six-dropdown_3.entry.js.map +1 -0
  593. package/dist/esm/six-error-page.entry.js +2 -2
  594. package/dist/esm/six-error.entry.js +2 -2
  595. package/dist/esm/six-file-list-item.entry.js +3 -3
  596. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  597. package/dist/esm/six-file-list.entry.js +2 -2
  598. package/dist/esm/six-file-upload.entry.js +6 -9
  599. package/dist/esm/six-file-upload.entry.js.map +1 -1
  600. package/dist/esm/six-footer.entry.js +2 -2
  601. package/dist/esm/six-group-label.entry.js +3 -3
  602. package/dist/esm/six-header-dropdown-item.entry.js +41 -0
  603. package/dist/esm/six-header-dropdown-item.entry.js.map +1 -0
  604. package/dist/esm/six-header-item_2.entry.js +42 -0
  605. package/dist/esm/six-header-item_2.entry.js.map +1 -0
  606. package/dist/esm/six-header-menu-button.entry.js +19 -0
  607. package/dist/esm/six-header-menu-button.entry.js.map +1 -0
  608. package/dist/esm/six-header.entry.js +40 -31
  609. package/dist/esm/six-header.entry.js.map +1 -1
  610. package/dist/esm/six-icon-button.entry.js +11 -5
  611. package/dist/esm/six-icon-button.entry.js.map +1 -1
  612. package/dist/esm/six-icon.entry.js +3 -3
  613. package/dist/esm/six-input.entry.js +5 -5
  614. package/dist/esm/six-input.entry.js.map +1 -1
  615. package/dist/esm/six-item-picker.entry.js +4 -4
  616. package/dist/esm/six-language-switcher.entry.js +2 -2
  617. package/dist/esm/six-layout-grid.entry.js +2 -2
  618. package/dist/esm/six-main-container.entry.js +2 -2
  619. package/dist/esm/six-menu-divider.entry.js +2 -2
  620. package/dist/esm/six-menu-label.entry.js +2 -2
  621. package/dist/esm/six-picto.entry.js +2 -2
  622. package/dist/esm/six-progress-bar.entry.js +4 -4
  623. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  624. package/dist/esm/six-progress-ring.entry.js +2 -2
  625. package/dist/esm/six-radio.entry.js +3 -3
  626. package/dist/esm/six-range.entry.js +4 -4
  627. package/dist/esm/six-range.entry.js.map +1 -1
  628. package/dist/esm/six-root.entry.js +2 -2
  629. package/dist/esm/six-root.entry.js.map +1 -1
  630. package/dist/esm/six-search-field.entry.js +2 -2
  631. package/dist/esm/six-select.entry.js +31 -14
  632. package/dist/esm/six-select.entry.js.map +1 -1
  633. package/dist/esm/six-sidebar-item-group.entry.js +3 -3
  634. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  635. package/dist/esm/six-sidebar-item.entry.js +4 -4
  636. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  637. package/dist/esm/six-sidebar.entry.js +3 -3
  638. package/dist/esm/six-spinner.entry.js +1 -1
  639. package/dist/esm/six-stage-indicator.entry.js +1 -1
  640. package/dist/esm/six-switch.entry.js +4 -4
  641. package/dist/esm/six-tab-group.entry.js +3 -3
  642. package/dist/esm/six-tab-group.entry.js.map +1 -1
  643. package/dist/esm/six-tab-panel.entry.js +2 -2
  644. package/dist/esm/six-tab.entry.js +3 -3
  645. package/dist/esm/six-tab.entry.js.map +1 -1
  646. package/dist/esm/six-tag.entry.js +3 -3
  647. package/dist/esm/six-tag.entry.js.map +1 -1
  648. package/dist/esm/six-textarea.entry.js +4 -4
  649. package/dist/esm/six-tile.entry.js +6 -6
  650. package/dist/esm/six-tile.entry.js.map +1 -1
  651. package/dist/esm/six-timepicker.entry.js +3 -3
  652. package/dist/esm/six-timepicker.entry.js.map +1 -1
  653. package/dist/esm/six-tooltip.entry.js +3 -3
  654. package/dist/esm/ui-library.js +11 -11
  655. package/dist/esm/ui-library.js.map +1 -1
  656. package/dist/types/components/six-file-upload/six-file-upload.d.ts +1 -1
  657. package/dist/types/components/six-header/six-header.d.ts +79 -18
  658. package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +13 -0
  659. package/dist/types/components/six-header-item/six-header-item.d.ts +15 -0
  660. package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +11 -0
  661. package/dist/types/components/six-icon-button/six-icon-button.d.ts +6 -0
  662. package/dist/types/components/six-logo/six-logo.d.ts +9 -0
  663. package/dist/types/components.d.ts +197 -5
  664. package/dist/types/stencil-public-runtime.d.ts +3 -10
  665. package/dist/types/utils/type-check.d.ts +1 -1
  666. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
  667. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  668. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
  669. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  670. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
  671. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  672. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
  673. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  674. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
  675. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  676. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
  677. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  678. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
  679. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  680. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
  681. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  682. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
  683. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  684. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
  685. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  686. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
  687. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  688. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
  689. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  690. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
  691. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  692. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
  693. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  694. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
  695. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  696. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
  697. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  698. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
  699. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  700. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
  701. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  702. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  703. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  704. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  705. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  706. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  707. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  708. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  709. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  710. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  711. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  712. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  713. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  714. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  715. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  716. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  717. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  718. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  719. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  720. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  721. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  722. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  723. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  724. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  725. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  726. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  727. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  728. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  729. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  730. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  731. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  732. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  733. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  734. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  735. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  736. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  737. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  738. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
  739. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  740. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
  741. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  742. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
  743. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  744. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
  745. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  746. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
  747. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  748. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
  749. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  750. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
  751. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  752. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
  753. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  754. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
  755. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  756. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
  757. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  758. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
  759. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  760. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
  761. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  762. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
  763. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  764. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
  765. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  766. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
  767. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  768. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
  769. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  770. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
  771. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  772. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
  773. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  774. package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
  775. package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
  776. package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
  777. package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
  778. package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
  779. package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
  780. package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
  781. package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
  782. package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
  783. package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
  784. package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
  785. package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
  786. package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
  787. package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
  788. package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
  789. package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
  790. package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
  791. package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
  792. package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
  793. package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
  794. package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
  795. package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
  796. package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
  797. package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
  798. package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
  799. package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
  800. package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
  801. package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
  802. package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
  803. package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
  804. package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
  805. package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
  806. package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
  807. package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
  808. package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
  809. package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
  810. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
  811. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  812. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
  813. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  814. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
  815. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  816. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
  817. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  818. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
  819. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  820. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
  821. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  822. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
  823. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  824. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
  825. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  826. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
  827. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  828. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
  829. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  830. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
  831. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  832. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
  833. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  834. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
  835. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  836. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
  837. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  838. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
  839. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  840. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
  841. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  842. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
  843. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  844. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
  845. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  846. package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
  847. package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
  848. package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
  849. package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
  850. package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
  851. package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
  852. package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
  853. package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
  854. package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
  855. package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
  856. package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
  857. package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
  858. package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
  859. package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
  860. package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
  861. package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
  862. package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
  863. package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
  864. package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
  865. package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
  866. package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
  867. package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
  868. package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
  869. package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
  870. package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
  871. package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
  872. package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
  873. package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
  874. package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
  875. package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
  876. package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
  877. package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
  878. package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
  879. package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
  880. package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
  881. package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
  882. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
  883. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  884. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
  885. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  886. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
  887. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  888. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
  889. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  890. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
  891. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  892. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
  893. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  894. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
  895. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  896. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
  897. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  898. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
  899. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  900. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
  901. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  902. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
  903. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  904. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
  905. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  906. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
  907. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  908. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
  909. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  910. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
  911. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  912. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
  913. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  914. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
  915. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  916. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
  917. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  918. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
  919. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  920. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
  921. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  922. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
  923. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  924. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
  925. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  926. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
  927. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  928. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
  929. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  930. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
  931. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  932. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
  933. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  934. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
  935. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  936. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
  937. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  938. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
  939. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  940. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
  941. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  942. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
  943. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  944. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
  945. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  946. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
  947. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  948. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
  949. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  950. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
  951. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  952. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
  953. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  954. package/dist/ui-library/index.esm.js.map +1 -1
  955. package/dist/ui-library/{p-d42f1ea9.entry.js → p-03acec96.entry.js} +2 -2
  956. package/dist/ui-library/{p-d42f1ea9.entry.js.map → p-03acec96.entry.js.map} +1 -1
  957. package/dist/ui-library/p-06ba4450.js.map +1 -1
  958. package/dist/ui-library/{p-b7c68f74.entry.js → p-06d562b7.entry.js} +2 -2
  959. package/dist/ui-library/{p-b7c68f74.entry.js.map → p-06d562b7.entry.js.map} +1 -1
  960. package/dist/ui-library/p-07b6203f.entry.js +2 -0
  961. package/dist/ui-library/{p-7c18b8ca.entry.js.map → p-07b6203f.entry.js.map} +1 -1
  962. package/dist/ui-library/{p-2386627e.entry.js → p-0a6b6429.entry.js} +2 -2
  963. package/dist/ui-library/{p-2386627e.entry.js.map → p-0a6b6429.entry.js.map} +1 -1
  964. package/dist/ui-library/p-0cebf1d2.js.map +1 -1
  965. package/dist/ui-library/p-14d09601.entry.js +2 -0
  966. package/dist/ui-library/{p-11344bb8.entry.js.map → p-14d09601.entry.js.map} +1 -1
  967. package/dist/ui-library/p-171df3ad.entry.js +2 -0
  968. package/dist/ui-library/p-171df3ad.entry.js.map +1 -0
  969. package/dist/ui-library/p-1cc3b56d.entry.js +2 -0
  970. package/dist/ui-library/{p-36d5f98a.entry.js.map → p-1cc3b56d.entry.js.map} +1 -1
  971. package/dist/ui-library/{p-7bdd1116.entry.js → p-1cd09d9b.entry.js} +2 -2
  972. package/dist/ui-library/{p-7bdd1116.entry.js.map → p-1cd09d9b.entry.js.map} +1 -1
  973. package/dist/ui-library/{p-416b0439.entry.js → p-1f7a0cb5.entry.js} +2 -2
  974. package/dist/ui-library/{p-416b0439.entry.js.map → p-1f7a0cb5.entry.js.map} +1 -1
  975. package/dist/ui-library/p-2355c444.entry.js +2 -0
  976. package/dist/ui-library/{p-347e568f.entry.js.map → p-2355c444.entry.js.map} +1 -1
  977. package/dist/ui-library/p-281ffc35.entry.js +2 -0
  978. package/dist/ui-library/p-281ffc35.entry.js.map +1 -0
  979. package/dist/ui-library/{p-c62893e5.entry.js → p-2ad904a7.entry.js} +2 -2
  980. package/dist/ui-library/{p-c62893e5.entry.js.map → p-2ad904a7.entry.js.map} +1 -1
  981. package/dist/ui-library/{p-b5acf54d.entry.js → p-30000e86.entry.js} +2 -2
  982. package/dist/ui-library/{p-b5acf54d.entry.js.map → p-30000e86.entry.js.map} +1 -1
  983. package/dist/ui-library/{p-4d89932f.entry.js → p-42cd3588.entry.js} +2 -2
  984. package/dist/ui-library/{p-4d89932f.entry.js.map → p-42cd3588.entry.js.map} +1 -1
  985. package/dist/ui-library/p-48118ce8.js +3 -0
  986. package/dist/ui-library/p-48118ce8.js.map +1 -0
  987. package/dist/ui-library/{p-b335ed9c.entry.js → p-49019d6c.entry.js} +2 -2
  988. package/dist/ui-library/{p-b335ed9c.entry.js.map → p-49019d6c.entry.js.map} +1 -1
  989. package/dist/ui-library/{p-c6464bfe.entry.js → p-4d72b179.entry.js} +2 -2
  990. package/dist/ui-library/{p-c6464bfe.entry.js.map → p-4d72b179.entry.js.map} +1 -1
  991. package/dist/ui-library/{p-d9586999.entry.js → p-4de4ee7a.entry.js} +2 -2
  992. package/dist/ui-library/{p-d9586999.entry.js.map → p-4de4ee7a.entry.js.map} +1 -1
  993. package/dist/ui-library/p-4edde816.entry.js +2 -0
  994. package/dist/ui-library/p-4edde816.entry.js.map +1 -0
  995. package/dist/ui-library/p-4f129bb3.entry.js +2 -0
  996. package/dist/ui-library/p-4f129bb3.entry.js.map +1 -0
  997. package/dist/ui-library/{p-3b5a76ea.entry.js → p-53867d77.entry.js} +2 -2
  998. package/dist/ui-library/{p-3b5a76ea.entry.js.map → p-53867d77.entry.js.map} +1 -1
  999. package/dist/ui-library/p-57ea4cb7.entry.js +2 -0
  1000. package/dist/ui-library/p-57ea4cb7.entry.js.map +1 -0
  1001. package/dist/ui-library/{p-a398e3eb.entry.js → p-5ece7986.entry.js} +2 -2
  1002. package/dist/ui-library/{p-a398e3eb.entry.js.map → p-5ece7986.entry.js.map} +1 -1
  1003. package/dist/ui-library/p-5f491974.entry.js +2 -0
  1004. package/dist/ui-library/p-5f491974.entry.js.map +1 -0
  1005. package/dist/ui-library/{p-b60c20aa.entry.js → p-5fc9cd7b.entry.js} +2 -2
  1006. package/dist/ui-library/{p-b60c20aa.entry.js.map → p-5fc9cd7b.entry.js.map} +1 -1
  1007. package/dist/ui-library/{p-4bc7bbdb.entry.js → p-618bf750.entry.js} +2 -2
  1008. package/dist/ui-library/{p-4bc7bbdb.entry.js.map → p-618bf750.entry.js.map} +1 -1
  1009. package/dist/ui-library/{p-63acceb6.entry.js → p-62a1f514.entry.js} +2 -2
  1010. package/dist/ui-library/{p-63acceb6.entry.js.map → p-62a1f514.entry.js.map} +1 -1
  1011. package/dist/ui-library/p-651293e7.js.map +1 -1
  1012. package/dist/ui-library/p-6513b8ce.entry.js +2 -0
  1013. package/dist/ui-library/{p-189602e4.entry.js.map → p-6513b8ce.entry.js.map} +1 -1
  1014. package/dist/ui-library/{p-18b9189f.entry.js → p-6795e0a9.entry.js} +2 -2
  1015. package/dist/ui-library/{p-18b9189f.entry.js.map → p-6795e0a9.entry.js.map} +1 -1
  1016. package/dist/ui-library/p-6ec126f7.entry.js +2 -0
  1017. package/dist/ui-library/{p-9cb83369.entry.js.map → p-6ec126f7.entry.js.map} +1 -1
  1018. package/dist/ui-library/p-705e3612.entry.js +2 -0
  1019. package/dist/ui-library/p-705e3612.entry.js.map +1 -0
  1020. package/dist/ui-library/{p-06ba653e.entry.js → p-70fac778.entry.js} +2 -2
  1021. package/dist/ui-library/{p-06ba653e.entry.js.map → p-70fac778.entry.js.map} +1 -1
  1022. package/dist/ui-library/{p-037afc74.entry.js → p-7afdff5c.entry.js} +2 -2
  1023. package/dist/ui-library/p-7afdff5c.entry.js.map +1 -0
  1024. package/dist/ui-library/{p-4963f03c.entry.js → p-7eb9ae75.entry.js} +2 -2
  1025. package/dist/ui-library/{p-4963f03c.entry.js.map → p-7eb9ae75.entry.js.map} +1 -1
  1026. package/dist/ui-library/p-7f856f00.js.map +1 -1
  1027. package/dist/ui-library/p-8227aaed.js.map +1 -1
  1028. package/dist/ui-library/p-842b492e.js.map +1 -1
  1029. package/dist/ui-library/p-862d474e.js.map +1 -1
  1030. package/dist/ui-library/{p-6f9153be.entry.js → p-870139dc.entry.js} +2 -2
  1031. package/dist/ui-library/{p-6f9153be.entry.js.map → p-870139dc.entry.js.map} +1 -1
  1032. package/dist/ui-library/p-8bfb4bfc.js.map +1 -1
  1033. package/dist/ui-library/{p-605bdd81.js → p-a04460e3.js} +2 -2
  1034. package/dist/ui-library/{p-605bdd81.js.map → p-a04460e3.js.map} +1 -1
  1035. package/dist/ui-library/p-a1502802.js.map +1 -1
  1036. package/dist/ui-library/{p-07c8de65.entry.js → p-a20a702a.entry.js} +2 -2
  1037. package/dist/ui-library/{p-07c8de65.entry.js.map → p-a20a702a.entry.js.map} +1 -1
  1038. package/dist/ui-library/p-adc65fc8.entry.js +2 -0
  1039. package/dist/ui-library/p-adc65fc8.entry.js.map +1 -0
  1040. package/dist/ui-library/{p-0c129b61.entry.js → p-afb15ea4.entry.js} +2 -2
  1041. package/dist/ui-library/{p-0c129b61.entry.js.map → p-afb15ea4.entry.js.map} +1 -1
  1042. package/dist/ui-library/p-b361d5da.entry.js +2 -0
  1043. package/dist/ui-library/{p-32e421a3.entry.js.map → p-b361d5da.entry.js.map} +1 -1
  1044. package/dist/ui-library/{p-99f6fe01.entry.js → p-bfb398c6.entry.js} +2 -2
  1045. package/dist/ui-library/{p-99f6fe01.entry.js.map → p-bfb398c6.entry.js.map} +1 -1
  1046. package/dist/ui-library/{p-d88b9c16.entry.js → p-cd65e3b2.entry.js} +2 -2
  1047. package/dist/ui-library/{p-d88b9c16.entry.js.map → p-cd65e3b2.entry.js.map} +1 -1
  1048. package/dist/ui-library/{p-a9e009af.entry.js → p-cd79700c.entry.js} +2 -2
  1049. package/dist/ui-library/{p-a9e009af.entry.js.map → p-cd79700c.entry.js.map} +1 -1
  1050. package/dist/ui-library/{p-419ed003.entry.js → p-cdc9224d.entry.js} +2 -2
  1051. package/dist/ui-library/{p-419ed003.entry.js.map → p-cdc9224d.entry.js.map} +1 -1
  1052. package/dist/ui-library/p-cdc94cd6.entry.js +2 -0
  1053. package/dist/ui-library/p-cdc94cd6.entry.js.map +1 -0
  1054. package/dist/ui-library/{p-8f1d3461.entry.js → p-d46acf21.entry.js} +2 -2
  1055. package/dist/ui-library/{p-8f1d3461.entry.js.map → p-d46acf21.entry.js.map} +1 -1
  1056. package/dist/ui-library/p-d67b8482.entry.js +2 -0
  1057. package/dist/ui-library/{p-030fa1fa.entry.js.map → p-d67b8482.entry.js.map} +1 -1
  1058. package/dist/ui-library/{p-1adc26f2.entry.js → p-db193a32.entry.js} +2 -2
  1059. package/dist/ui-library/{p-1adc26f2.entry.js.map → p-db193a32.entry.js.map} +1 -1
  1060. package/dist/ui-library/p-e080d5b6.js.map +1 -1
  1061. package/dist/ui-library/p-e1255160.js.map +1 -1
  1062. package/dist/ui-library/{p-fe89a7c4.entry.js → p-e1529ef6.entry.js} +2 -2
  1063. package/dist/ui-library/{p-fe89a7c4.entry.js.map → p-e1529ef6.entry.js.map} +1 -1
  1064. package/dist/ui-library/{p-e9b8ad98.entry.js → p-e181944f.entry.js} +2 -2
  1065. package/dist/ui-library/{p-e9b8ad98.entry.js.map → p-e181944f.entry.js.map} +1 -1
  1066. package/dist/ui-library/{p-d1a2f84b.entry.js → p-e6efc08a.entry.js} +2 -2
  1067. package/dist/ui-library/{p-d1a2f84b.entry.js.map → p-e6efc08a.entry.js.map} +1 -1
  1068. package/dist/ui-library/p-ea854ec5.entry.js +2 -0
  1069. package/dist/ui-library/p-ea854ec5.entry.js.map +1 -0
  1070. package/dist/ui-library/{p-63ee5e7e.entry.js → p-f12b22bc.entry.js} +2 -2
  1071. package/dist/ui-library/{p-63ee5e7e.entry.js.map → p-f12b22bc.entry.js.map} +1 -1
  1072. package/dist/ui-library/p-f136a6b2.js.map +1 -1
  1073. package/dist/ui-library/p-f9a1f6ab.entry.js +2 -0
  1074. package/dist/ui-library/p-f9a1f6ab.entry.js.map +1 -0
  1075. package/dist/ui-library/{p-cf109cbf.entry.js → p-ffce31da.entry.js} +2 -2
  1076. package/dist/ui-library/{p-cf109cbf.entry.js.map → p-ffce31da.entry.js.map} +1 -1
  1077. package/dist/ui-library/ui-library.css +1 -1
  1078. package/dist/ui-library/ui-library.esm.js +1 -1
  1079. package/dist/ui-library/ui-library.esm.js.map +1 -1
  1080. package/loader/cdn.js +1 -3
  1081. package/loader/index.cjs.js +1 -3
  1082. package/loader/index.d.ts +3 -0
  1083. package/loader/index.es2017.js +1 -3
  1084. package/loader/index.js +1 -3
  1085. package/package.json +6 -18
  1086. package/dist/cjs/index-1f707a55.js +0 -2718
  1087. package/dist/cjs/index-1f707a55.js.map +0 -1
  1088. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +0 -1
  1089. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +0 -1
  1090. package/dist/collection/components/six-alert/test/six-alert.spec.js +0 -25
  1091. package/dist/collection/components/six-alert/test/six-alert.spec.js.map +0 -1
  1092. package/dist/collection/components/six-avatar/test/six-avatar.spec.js +0 -26
  1093. package/dist/collection/components/six-avatar/test/six-avatar.spec.js.map +0 -1
  1094. package/dist/collection/components/six-badge/test/six-badge.spec.js +0 -20
  1095. package/dist/collection/components/six-badge/test/six-badge.spec.js.map +0 -1
  1096. package/dist/collection/components/six-button/test/six-button.spec.js +0 -69
  1097. package/dist/collection/components/six-button/test/six-button.spec.js.map +0 -1
  1098. package/dist/collection/components/six-card/test/six-card.spec.js +0 -18
  1099. package/dist/collection/components/six-card/test/six-card.spec.js.map +0 -1
  1100. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +0 -83
  1101. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +0 -1
  1102. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +0 -26
  1103. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +0 -1
  1104. package/dist/collection/components/six-details/test/six-details.spec.js +0 -36
  1105. package/dist/collection/components/six-details/test/six-details.spec.js.map +0 -1
  1106. package/dist/collection/components/six-dialog/test/six-dialog.spec.js +0 -34
  1107. package/dist/collection/components/six-dialog/test/six-dialog.spec.js.map +0 -1
  1108. package/dist/collection/components/six-drawer/test/six-drawer.spec.js +0 -34
  1109. package/dist/collection/components/six-drawer/test/six-drawer.spec.js.map +0 -1
  1110. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +0 -147
  1111. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +0 -1
  1112. package/dist/collection/components/six-error-page/test/six-error-page.spec.js +0 -240
  1113. package/dist/collection/components/six-error-page/test/six-error-page.spec.js.map +0 -1
  1114. package/dist/collection/components/six-file-list/test/six-file-list.spec.js +0 -67
  1115. package/dist/collection/components/six-file-list/test/six-file-list.spec.js.map +0 -1
  1116. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js +0 -169
  1117. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js.map +0 -1
  1118. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +0 -266
  1119. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +0 -1
  1120. package/dist/collection/components/six-footer/test/six-footer.spec.js +0 -21
  1121. package/dist/collection/components/six-footer/test/six-footer.spec.js.map +0 -1
  1122. package/dist/collection/components/six-group-label/test/six-group-label.spec.js +0 -45
  1123. package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +0 -1
  1124. package/dist/collection/components/six-icon/test/six-icon.spec.js +0 -20
  1125. package/dist/collection/components/six-icon/test/six-icon.spec.js.map +0 -1
  1126. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js +0 -23
  1127. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js.map +0 -1
  1128. package/dist/collection/components/six-input/test/six-input.spec.js +0 -39
  1129. package/dist/collection/components/six-input/test/six-input.spec.js.map +0 -1
  1130. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js +0 -90
  1131. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js.map +0 -1
  1132. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +0 -196
  1133. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +0 -1
  1134. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js +0 -18
  1135. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js.map +0 -1
  1136. package/dist/collection/components/six-main-container/test/six-main-container.spec.js +0 -22
  1137. package/dist/collection/components/six-main-container/test/six-main-container.spec.js.map +0 -1
  1138. package/dist/collection/components/six-menu/test/six-menu.spec.js +0 -93
  1139. package/dist/collection/components/six-menu/test/six-menu.spec.js.map +0 -1
  1140. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js +0 -18
  1141. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js.map +0 -1
  1142. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js +0 -33
  1143. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js.map +0 -1
  1144. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js +0 -20
  1145. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js.map +0 -1
  1146. package/dist/collection/components/six-picto/test/six-picto.spec.js +0 -33
  1147. package/dist/collection/components/six-picto/test/six-picto.spec.js.map +0 -1
  1148. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js +0 -24
  1149. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js.map +0 -1
  1150. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js +0 -26
  1151. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js.map +0 -1
  1152. package/dist/collection/components/six-radio/test/six-radio.spec.js +0 -63
  1153. package/dist/collection/components/six-radio/test/six-radio.spec.js.map +0 -1
  1154. package/dist/collection/components/six-range/test/six-range.spec.js +0 -34
  1155. package/dist/collection/components/six-range/test/six-range.spec.js.map +0 -1
  1156. package/dist/collection/components/six-root/test/six-root.spec.js +0 -36
  1157. package/dist/collection/components/six-root/test/six-root.spec.js.map +0 -1
  1158. package/dist/collection/components/six-search-field/test/six-search-field.spec.js +0 -22
  1159. package/dist/collection/components/six-search-field/test/six-search-field.spec.js.map +0 -1
  1160. package/dist/collection/components/six-select/test/six-select.spec.js +0 -102
  1161. package/dist/collection/components/six-select/test/six-select.spec.js.map +0 -1
  1162. package/dist/collection/components/six-select/test/util.spec.js +0 -103
  1163. package/dist/collection/components/six-select/test/util.spec.js.map +0 -1
  1164. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js +0 -22
  1165. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js.map +0 -1
  1166. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js +0 -50
  1167. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js.map +0 -1
  1168. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +0 -53
  1169. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +0 -1
  1170. package/dist/collection/components/six-spinner/test/six-spinner.spec.js +0 -37
  1171. package/dist/collection/components/six-spinner/test/six-spinner.spec.js.map +0 -1
  1172. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js +0 -117
  1173. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js.map +0 -1
  1174. package/dist/collection/components/six-switch/test/six-switch.spec.js +0 -73
  1175. package/dist/collection/components/six-switch/test/six-switch.spec.js.map +0 -1
  1176. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js +0 -20
  1177. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js.map +0 -1
  1178. package/dist/collection/components/six-tag/test/six-tag.spec.js +0 -54
  1179. package/dist/collection/components/six-tag/test/six-tag.spec.js.map +0 -1
  1180. package/dist/collection/components/six-textarea/test/six-textarea.spec.js +0 -119
  1181. package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +0 -1
  1182. package/dist/collection/components/six-tile/test/six-tile.spec.js +0 -69
  1183. package/dist/collection/components/six-tile/test/six-tile.spec.js.map +0 -1
  1184. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +0 -496
  1185. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +0 -1
  1186. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js +0 -28
  1187. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js.map +0 -1
  1188. package/dist/collection/files/file-list.json +0 -308
  1189. package/dist/collection/files/noto-sans-all-100-italic.woff +0 -0
  1190. package/dist/collection/files/noto-sans-all-100-normal.woff +0 -0
  1191. package/dist/collection/files/noto-sans-all-200-italic.woff +0 -0
  1192. package/dist/collection/files/noto-sans-all-200-normal.woff +0 -0
  1193. package/dist/collection/files/noto-sans-all-300-italic.woff +0 -0
  1194. package/dist/collection/files/noto-sans-all-300-normal.woff +0 -0
  1195. package/dist/collection/files/noto-sans-all-400-italic.woff +0 -0
  1196. package/dist/collection/files/noto-sans-all-400-normal.woff +0 -0
  1197. package/dist/collection/files/noto-sans-all-500-italic.woff +0 -0
  1198. package/dist/collection/files/noto-sans-all-500-normal.woff +0 -0
  1199. package/dist/collection/files/noto-sans-all-600-italic.woff +0 -0
  1200. package/dist/collection/files/noto-sans-all-600-normal.woff +0 -0
  1201. package/dist/collection/files/noto-sans-all-700-italic.woff +0 -0
  1202. package/dist/collection/files/noto-sans-all-700-normal.woff +0 -0
  1203. package/dist/collection/files/noto-sans-all-800-italic.woff +0 -0
  1204. package/dist/collection/files/noto-sans-all-800-normal.woff +0 -0
  1205. package/dist/collection/files/noto-sans-all-900-italic.woff +0 -0
  1206. package/dist/collection/files/noto-sans-all-900-normal.woff +0 -0
  1207. package/dist/collection/utils/date-util.spec.js +0 -995
  1208. package/dist/collection/utils/date-util.spec.js.map +0 -1
  1209. package/dist/collection/utils/scroll.spec.js +0 -122
  1210. package/dist/collection/utils/scroll.spec.js.map +0 -1
  1211. package/dist/collection/utils/time.util.spec.js +0 -368
  1212. package/dist/collection/utils/time.util.spec.js.map +0 -1
  1213. package/dist/esm/index-5390c1d6.js +0 -2689
  1214. package/dist/esm/index-5390c1d6.js.map +0 -1
  1215. package/dist/esm/polyfills/core-js.js +0 -11
  1216. package/dist/esm/polyfills/dom.js +0 -79
  1217. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1218. package/dist/esm/polyfills/index.js +0 -34
  1219. package/dist/esm/polyfills/system.js +0 -6
  1220. package/dist/esm/six-checkbox_2.entry.js.map +0 -1
  1221. package/dist/esm/six-dropdown_2.entry.js.map +0 -1
  1222. package/dist/ui-library/files/file-list.json +0 -308
  1223. package/dist/ui-library/files/noto-sans-all-100-italic.woff +0 -0
  1224. package/dist/ui-library/files/noto-sans-all-100-normal.woff +0 -0
  1225. package/dist/ui-library/files/noto-sans-all-200-italic.woff +0 -0
  1226. package/dist/ui-library/files/noto-sans-all-200-normal.woff +0 -0
  1227. package/dist/ui-library/files/noto-sans-all-300-italic.woff +0 -0
  1228. package/dist/ui-library/files/noto-sans-all-300-normal.woff +0 -0
  1229. package/dist/ui-library/files/noto-sans-all-400-italic.woff +0 -0
  1230. package/dist/ui-library/files/noto-sans-all-400-normal.woff +0 -0
  1231. package/dist/ui-library/files/noto-sans-all-500-italic.woff +0 -0
  1232. package/dist/ui-library/files/noto-sans-all-500-normal.woff +0 -0
  1233. package/dist/ui-library/files/noto-sans-all-600-italic.woff +0 -0
  1234. package/dist/ui-library/files/noto-sans-all-600-normal.woff +0 -0
  1235. package/dist/ui-library/files/noto-sans-all-700-italic.woff +0 -0
  1236. package/dist/ui-library/files/noto-sans-all-700-normal.woff +0 -0
  1237. package/dist/ui-library/files/noto-sans-all-800-italic.woff +0 -0
  1238. package/dist/ui-library/files/noto-sans-all-800-normal.woff +0 -0
  1239. package/dist/ui-library/files/noto-sans-all-900-italic.woff +0 -0
  1240. package/dist/ui-library/files/noto-sans-all-900-normal.woff +0 -0
  1241. package/dist/ui-library/p-030fa1fa.entry.js +0 -2
  1242. package/dist/ui-library/p-037afc74.entry.js.map +0 -1
  1243. package/dist/ui-library/p-047d02ad.entry.js +0 -2
  1244. package/dist/ui-library/p-047d02ad.entry.js.map +0 -1
  1245. package/dist/ui-library/p-049c8910.entry.js +0 -2
  1246. package/dist/ui-library/p-049c8910.entry.js.map +0 -1
  1247. package/dist/ui-library/p-05eb1bab.js +0 -3
  1248. package/dist/ui-library/p-05eb1bab.js.map +0 -1
  1249. package/dist/ui-library/p-11344bb8.entry.js +0 -2
  1250. package/dist/ui-library/p-14e5fccc.entry.js +0 -2
  1251. package/dist/ui-library/p-14e5fccc.entry.js.map +0 -1
  1252. package/dist/ui-library/p-189602e4.entry.js +0 -2
  1253. package/dist/ui-library/p-32e421a3.entry.js +0 -2
  1254. package/dist/ui-library/p-347e568f.entry.js +0 -2
  1255. package/dist/ui-library/p-36d5f98a.entry.js +0 -2
  1256. package/dist/ui-library/p-37433242.entry.js +0 -2
  1257. package/dist/ui-library/p-37433242.entry.js.map +0 -1
  1258. package/dist/ui-library/p-6b40c40c.entry.js +0 -2
  1259. package/dist/ui-library/p-6b40c40c.entry.js.map +0 -1
  1260. package/dist/ui-library/p-7c18b8ca.entry.js +0 -2
  1261. package/dist/ui-library/p-96d441e9.entry.js +0 -2
  1262. package/dist/ui-library/p-96d441e9.entry.js.map +0 -1
  1263. package/dist/ui-library/p-9cb83369.entry.js +0 -2
  1264. package/dist/ui-library/p-e14d78e9.entry.js +0 -2
  1265. package/dist/ui-library/p-e14d78e9.entry.js.map +0 -1
  1266. package/dist/ui-library/p-ebbe9bdc.entry.js +0 -2
  1267. package/dist/ui-library/p-ebbe9bdc.entry.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"names":["getCurrentTimeIn24Hours","now","Date","hours","getHours","minutes","getMinutes","seconds","getSeconds","milliseconds","getMilliseconds","has24Hours","HOURS_IN_12_HOUR_CLOCK_FORMAT","getHoursIn12HourFormat","getCurrentTimeIn12Hours","period","getCurrentTime","isValidTimeString","timeStr","format","timeStringParts","split","timeFormatParts","length","parseTimeString","timeParts","formatParts","console","error","time","forEach","timeStringPart","i","formatStringPart","Number","toUpperCase","createTimeString","map","timeFormatPart","String","padStart","join","sixTimepickerCss","SixTimepickerStyle0","MIN_POPUP_HEIGHT","SixTimepicker","this","eventListeners","EventListeners","handlePickerChange","event","property","stopPropagation","popupValue","detail","timeString","value","sixChange","emit","changedProperty","valueAsString","handleDocumentMouseDown","path","composedPath","includes","host","closePopup","handleClearClick","sixClear","DEFAULT_DEBOUNCE_FAST","DEFAULT_DEBOUNCE_INSANELY_FAST","resizeHandler","calcIsPopupContentUp","moveOpenHoistedPopup","scrollHandler","valueChanged","updateValue","setFocus","options","_a","inputElement","connectedCallback","forward","componentWillLoad","inline","open","add","document","componentDidLoad","debounce","sixChangeDebounced","componentDidRender","adjustPopupForHoisting","hoist","popup","wrapper","isUp","isDropDownContentUp","disconnectedCallback","removeAll","defaultTime","is24HourClock","inputBoundingRect","getBoundingClientRect","wrapperBoundingRect","minPopupHeight","Math","max","height","moreSpaceInTop","y","window","innerHeight","isPopupContentUp","bottom","movePopup","getSixTimeUnitPicker","params","h","class","timeout","interval","padded","min","propertyName","items","type","ItemPickerType","NUMBER","paddingLength","getHour24Picker","getHour12Picker","is12HourClock","getAmPmPicker","CUSTOM","getMinutePicker","getSecondsPicker","getMillisecondsPicker","getSeparator","separator","getContent","elementsInOrder","visibleElements","filter","el","undefined","idx","openPopup","disabled","remove","renderClearable","clearable","slot","timepicker_clear","iconPosition","onClick","tabindex","size","renderCustomIcon","icon","hasSlot","name","part","prefix","render","key","ref","placeholder","readonly","errorTextCount","errorText","invalid","label","required","timepicker__popup","placement"],"sources":["src/utils/time.util.ts","src/components/six-timepicker/six-timepicker.scss?tag=six-timepicker&encapsulation=shadow","src/components/six-timepicker/six-timepicker.tsx"],"sourcesContent":["export type TimePeriod = 'AM' | 'PM';\n\nexport interface Time {\n hours?: number;\n minutes?: number;\n seconds?: number;\n milliseconds?: number;\n has24Hours?: boolean; // true => 24h, false => 12h\n period?: TimePeriod; // only needed for 12-hour clock\n}\n\nexport type TimeProperties = keyof Time;\n\nexport type TimeFormatChar =\n | 'HH' // 24h\n | 'hh' // 12h\n | 'mm' // minutes\n | 'ss' // seconds\n | 'ms' // milliseconds\n | 'aa'; // period (AM/PM)\n\n/*\n * Supported time formats\n */\nexport type TimeFormat =\n | 'HH:mm:ss'\n | 'hh:mm:ss:aa'\n | 'HH:mm:ss:ms'\n | 'hh:mm:ss:ms:aa'\n | 'HH:mm'\n | 'hh:mm:aa'\n | 'HH'\n | 'hh:aa'\n | 'mm'\n | 'ss'\n | 'ms';\n\nexport const getCurrentTimeIn24Hours = (): Time => {\n const now = new Date();\n return {\n hours: now.getHours(),\n minutes: now.getMinutes(),\n seconds: now.getSeconds(),\n milliseconds: now.getMilliseconds(),\n has24Hours: true,\n };\n};\n\nconst HOURS_IN_12_HOUR_CLOCK_FORMAT = 12;\n\nexport const getHoursIn12HourFormat = (hours: number) =>\n hours > HOURS_IN_12_HOUR_CLOCK_FORMAT ? hours - HOURS_IN_12_HOUR_CLOCK_FORMAT : hours;\n\nexport const getCurrentTimeIn12Hours = (): Time => {\n const now = new Date();\n const hours = now.getHours();\n return {\n hours: getHoursIn12HourFormat(hours),\n minutes: now.getMinutes(),\n seconds: now.getSeconds(),\n milliseconds: now.getMilliseconds(),\n has24Hours: false,\n period: hours >= HOURS_IN_12_HOUR_CLOCK_FORMAT ? 'PM' : 'AM',\n };\n};\n\nexport const getCurrentTime = (has24Hours = true): Time => {\n return has24Hours ? getCurrentTimeIn24Hours() : getCurrentTimeIn12Hours();\n};\n\nexport const isValidTimeString = (timeStr: string, format: TimeFormat) => {\n const timeStringParts = timeStr.split(':');\n const timeFormatParts = format.split(':');\n return timeStringParts.length === timeFormatParts.length;\n};\n\nexport const parseTimeString = (timeStr: string, format: TimeFormat): Time => {\n const timeParts = timeStr.split(':');\n const formatParts = format.split(':') as TimeFormatChar[];\n\n if (!isValidTimeString(timeStr, format)) {\n console.error(\n `Timestring did not match expected format.\\nExpected format: ${format}\\nReceived timestring: ${timeStr}`\n );\n }\n\n const time: Time = {};\n\n timeParts.forEach((timeStringPart, i) => {\n const formatStringPart: TimeFormatChar = formatParts[i];\n switch (formatStringPart) {\n case 'HH':\n time.hours = Number(timeStringPart);\n time.has24Hours = true;\n break;\n case 'hh':\n time.hours = Number(timeStringPart);\n time.has24Hours = false;\n break;\n case 'mm':\n time.minutes = Number(timeStringPart);\n break;\n case 'ss':\n time.seconds = Number(timeStringPart);\n break;\n case 'ms':\n time.milliseconds = Number(timeStringPart);\n break;\n case 'aa':\n time.period = timeStringPart.toUpperCase() === 'PM' ? 'PM' : 'AM';\n }\n });\n return time;\n};\n\nexport const createTimeString = (time: Time | undefined, format: TimeFormat): string => {\n if (time == null) {\n return '';\n }\n\n const formatParts = format.split(':') as TimeFormatChar[];\n\n return formatParts\n .map((timeFormatPart) => {\n switch (timeFormatPart) {\n case 'HH':\n case 'hh':\n return String(time.hours).padStart(2, '0');\n case 'mm':\n return String(time.minutes).padStart(2, '0');\n case 'ss':\n return String(time.seconds).padStart(2, '0');\n case 'ms':\n return String(time.milliseconds).padStart(3, '0');\n case 'aa':\n return String(time.period);\n }\n })\n .join(':');\n};\n","@import 'src/global/component';\n\n:host {\n display: block;\n font-family: var(--six-font-family);\n}\n\n.timepicker {\n &_clear {\n display: inline-flex;\n align-items: center;\n font-size: inherit;\n color: var(--six-input-icon-color);\n border: none;\n background: none;\n padding: 0;\n transition: var(--six-transition-fast) color;\n cursor: pointer;\n\n &:hover {\n color: var(--six-input-icon-color-hover);\n }\n\n &:focus {\n outline: none;\n }\n\n &--right {\n right: 0;\n position: absolute;\n }\n\n &--left {\n right: 35px;\n position: absolute;\n }\n }\n\n &__container {\n position: relative;\n }\n\n &__popup {\n display: flex;\n justify-content: center;\n min-width: min-content;\n min-height: 145px;\n background-color: white;\n padding: 0.5em 0.5em 1.5em;\n box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%);\n user-select: none;\n position: absolute;\n z-index: var(--six-z-index-dropdown);\n right: 0;\n left: 0;\n\n &--is-up {\n bottom: 100%;\n }\n\n &--is-inline {\n position: initial;\n box-shadow: none;\n border: 1px solid var(--six-color-web-rock-400);\n }\n }\n\n &__separator {\n display: flex;\n align-items: center;\n }\n\n &__item {\n &--wide {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n }\n }\n}\n\n.input--empty .timepicker_clear {\n visibility: hidden;\n}\n\n.input--hide {\n display: none;\n}\n\n// Icon position\n.prefix {\n cursor: pointer;\n\n &--right {\n right: 0;\n display: inline-flex;\n position: absolute;\n font-size: inherit;\n color: var(--six-input-icon-color);\n border: none;\n background: none;\n margin-right: var(--six-input-spacing-medium);\n transition: var(--six-transition-fast) color;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Listen, Method, Prop, State, Watch } from '@stencil/core';\nimport { ItemPickerType } from '../six-item-picker/types';\nimport {\n createTimeString,\n getCurrentTime,\n isValidTimeString,\n parseTimeString,\n Time,\n TimeFormat,\n TimeProperties,\n} from '../../utils/time.util';\nimport { debounce, DEFAULT_DEBOUNCE_FAST, DEFAULT_DEBOUNCE_INSANELY_FAST } from '../../utils/execution-control';\nimport { SixItemPickerChangePayload } from '../six-item-picker/six-item-picker';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { adjustPopupForHoisting, movePopup } from '../../utils/popup';\n\nexport interface SixTimepickerChange {\n value?: Time;\n valueAsString: string;\n changedProperty?: string;\n}\n\ninterface SixTimeUnitPickerParams {\n min?: number;\n max?: number;\n items?: string[];\n type?: ItemPickerType;\n class?: string;\n paddingLength?: number;\n propertyName: TimeProperties;\n}\n\nconst MIN_POPUP_HEIGHT = 145;\n\n/**\n * @since 2.0.0\n * @status experimental\n *\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part input - The input field\n * @part container - The container of whole component\n * @part popup - The popup of the timepicker component\n *\n */\n@Component({\n tag: 'six-timepicker',\n styleUrl: 'six-timepicker.scss',\n shadow: true,\n})\nexport class SixTimepicker {\n private eventListeners = new EventListeners();\n private popup?: HTMLElement;\n private wrapper?: HTMLElement;\n private inputElement?: HTMLSixInputElement;\n\n @Element() host!: HTMLSixTimepickerElement;\n\n /**\n * Define the time format. Valid formats are:\n *\n * HH:mm:ss\n * hh:mm:ss:aa\n * HH:mm:ss:ms\n * hh:mm:ss:ms:aa\n * HH:mm\n * hh:mm:aa\n * HH\n * hh:aa\n * mm\n * ss\n * ms\n *\n * where HH is the 24 hour format\n * and hh is the 12 hour format\n *\n * Please notice that when using the 12-hour-clock (hh)\n * you always need a period indicator (aa). So the time can be parsed as either am or pm\n * */\n @Prop() format: TimeFormat = 'HH:mm:ss';\n\n /**\n * Define the separator to be shown between the time unit pickers.\n * Please be aware that this property will modify the displayed separator only.\n * The separator for a timestring is always expected to be a colon (eg. '13:52:20')\n * */\n @Prop() separator = ':';\n\n /**\n * The value of the timepicker provided as a string. The string mast match the provided format (or default format)\n */\n @Prop({ mutable: true }) value = '';\n\n /** Indicates whether the timepicker dropdown is open on startup. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Indicates whether the timepicker should be shown as an inline (always open) component */\n @Prop({ reflect: true }) inline = false;\n\n /**\n * If `true` the user can only select a time via the timepicker but not directly edit the input field.\n */\n @Prop() readonly = false;\n\n /**\n * If `true` the component is disabled.\n */\n @Prop() disabled = false;\n\n /**\n * The enforced placement of the dropdown panel.\n */\n @Prop() placement?: 'top' | 'bottom';\n\n /** Timepicker size. */\n @Prop() size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /**\n * The placeholder defines what text to be shown on the input element\n */\n @Prop() placeholder?: string;\n\n /** The input's error text. Alternatively, you can use the error-text slot. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** The input's label. Alternatively, you can use the label slot. */\n @Prop() label = '';\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n /** The input's name attribute. */\n @Prop({ reflect: true }) name = '';\n\n /** Set to true to add a clear button when the input is populated. */\n @Prop() clearable = false;\n\n /** Set the position of the icon */\n @Prop() iconPosition: 'left' | 'right' = 'left';\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 /**\n * Set the amount of time, in milliseconds, to wait to trigger faster switching between timeunits (e.g. hours).\n */\n @Prop() timeout = DEFAULT_DEBOUNCE_FAST;\n\n /**\n * Set the amount of time, in milliseconds, to wait between switching to next timeunit (e.g. next hour) when mouse button is held pressed.\n */\n @Prop() interval = DEFAULT_DEBOUNCE_INSANELY_FAST;\n\n /**\n * The defaultTime defines the default setting for the timepicker when you open the popup. Default time must match the provided format.\n */\n @Prop() defaultTime?: string;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger the `six-timepicker-change-debounced` event.\n * If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce\n * is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click\n * (and keep pressed) and once you release\n */\n @Prop() debounce = DEFAULT_DEBOUNCE_FAST;\n\n /**\n * Emitted when the timepicker's value changes\n */\n @Event({ eventName: 'six-timepicker-change' }) sixChange!: EventEmitter<SixTimepickerChange>;\n\n /**\n * Emitted when the timepicker's value changes, but debounced\n */\n @Event({ eventName: 'six-timepicker-change-debounced' }) sixChangeDebounced!: EventEmitter<SixTimepickerChange>;\n\n /**\n * Emitted when the clear button is activated.\n */\n @Event({ eventName: 'six-timepicker-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n @State() isPopupContentUp = false;\n\n @State() isDropDownContentUp = false;\n\n @Listen('resize', { target: 'window' })\n async resizeHandler() {\n this.calcIsPopupContentUp();\n this.moveOpenHoistedPopup();\n }\n\n @Listen('scroll', { target: 'window' })\n async scrollHandler() {\n this.calcIsPopupContentUp();\n this.moveOpenHoistedPopup();\n }\n\n /**\n * Update the native input element when the value changes\n */\n @Watch('value')\n protected valueChanged() {\n this.updateValue();\n }\n\n /** Sets focus on the datepickers input. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.inputElement?.setFocus(options);\n }\n\n /*\n * Internally the six-timepicker uses a standardized representation of time, so we don't have a mess,\n * when switching between formats\n */\n @State() private popupValue: Time = {};\n\n connectedCallback() {\n this.eventListeners.forward('six-timepicker-change', 'change', this.host);\n }\n\n componentWillLoad() {\n this.updateValue();\n\n if (this.inline) {\n this.open = true;\n }\n\n if (this.open) {\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n }\n }\n\n componentDidLoad() {\n if (this.inputElement == null) return;\n const inputElement = this.inputElement;\n\n // emit debounced change event\n this.eventListeners.add(\n this.host,\n 'six-timepicker-change',\n debounce((event: Event) => this.sixChangeDebounced.emit((event as CustomEvent).detail), this.debounce)\n );\n\n // update value and popup value based on input-element value\n this.eventListeners.add(\n inputElement,\n 'six-input-input',\n debounce((event: Event) => {\n event.stopPropagation();\n\n // emit empty event if time string is invalid\n if (!isValidTimeString(inputElement.value, this.format)) {\n this.value = inputElement.value;\n this.sixChange.emit({\n value: {},\n valueAsString: '',\n });\n return;\n }\n\n // update value and popup value, and emit the new value\n this.value = inputElement.value;\n this.popupValue = parseTimeString(inputElement.value, this.format);\n this.sixChange.emit({\n value: this.popupValue,\n valueAsString: createTimeString(this.popupValue, this.format),\n });\n }, this.debounce)\n );\n }\n\n componentDidRender() {\n adjustPopupForHoisting(\n this.hoist,\n this.popup,\n this.inputElement,\n this.wrapper,\n MIN_POPUP_HEIGHT,\n (isUp) => (this.isDropDownContentUp = isUp)\n );\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n private updateValue() {\n // normalize value\n if (typeof this.value !== 'string' || !isValidTimeString(this.value, this.format)) {\n this.value = '';\n }\n\n // update popup value\n if (this.value === '') {\n if (this.defaultTime == null) {\n this.popupValue = getCurrentTime(this.is24HourClock());\n } else {\n this.popupValue = parseTimeString(this.defaultTime, this.format);\n }\n } else {\n this.popupValue = parseTimeString(this.value, this.format);\n }\n }\n\n private calcIsPopupContentUp() {\n if (this.inputElement == null || this.wrapper == null) {\n return;\n }\n\n const inputBoundingRect = this.inputElement.getBoundingClientRect();\n const wrapperBoundingRect = this.wrapper.getBoundingClientRect();\n const minPopupHeight = Math.max(wrapperBoundingRect.height, MIN_POPUP_HEIGHT);\n\n const moreSpaceInTop = inputBoundingRect.y > window.innerHeight / 2;\n this.isPopupContentUp = moreSpaceInTop && window.innerHeight < inputBoundingRect.bottom + minPopupHeight;\n }\n\n private moveOpenHoistedPopup() {\n movePopup(this.hoist, this.open, this.popup, this.inputElement, this.wrapper, MIN_POPUP_HEIGHT);\n }\n\n private handlePickerChange = (event: CustomEvent<SixItemPickerChangePayload>, property: TimeProperties) => {\n // stop propagation, since the timepicker should not expose the events of the underlying item-picker\n event.stopPropagation();\n if (this.popupValue == null) {\n return;\n }\n\n // update the internal state\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this.popupValue[property] = event.detail;\n\n const timeString = createTimeString(this.popupValue, this.format);\n\n // update the input value\n this.value = timeString;\n\n // emit change event\n this.sixChange.emit({\n changedProperty: property,\n value: this.popupValue,\n valueAsString: timeString,\n });\n };\n\n private getSixTimeUnitPicker(params: SixTimeUnitPickerParams) {\n return (\n <six-item-picker\n class={params.class}\n timeout={this.timeout}\n interval={this.interval}\n padded\n min={params.min}\n max={params.max}\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n value={this.popupValue[params.propertyName]}\n items={params.items}\n type={params.type || ItemPickerType.NUMBER}\n padding-length={params.paddingLength}\n onSix-item-picker-change={(event) => this.handlePickerChange(event, params.propertyName)}\n ></six-item-picker>\n );\n }\n\n private getHour24Picker() {\n if (!this.is24HourClock()) {\n return;\n }\n return this.getSixTimeUnitPicker({ min: 0, max: 23, propertyName: 'hours' });\n }\n\n private is24HourClock() {\n return this.format.includes('HH');\n }\n\n private getHour12Picker() {\n if (!this.is12HourClock()) {\n return;\n }\n return this.getSixTimeUnitPicker({ min: 0, max: 11, propertyName: 'hours' });\n }\n\n private is12HourClock() {\n return this.format.includes('hh');\n }\n\n private getAmPmPicker() {\n if (!this.is12HourClock()) {\n return;\n }\n const items = ['AM', 'PM'];\n return this.getSixTimeUnitPicker({\n items,\n type: ItemPickerType.CUSTOM,\n propertyName: 'period',\n });\n }\n\n private getMinutePicker() {\n if (!this.format.includes('mm')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName: 'minutes' });\n }\n\n private getSecondsPicker() {\n if (!this.format.includes('ss')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName: 'seconds' });\n }\n\n private getMillisecondsPicker() {\n if (!this.format.includes('ms')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({\n min: 0,\n max: 999,\n class: 'timepicker__item--wide',\n paddingLength: 3,\n propertyName: 'milliseconds',\n });\n }\n\n private getSeparator() {\n return (\n <div class=\"timepicker__separator\">\n <span>{this.separator}</span>\n </div>\n );\n }\n\n private getContent() {\n const elementsInOrder = [\n this.getHour24Picker(),\n this.getHour12Picker(),\n this.getMinutePicker(),\n this.getSecondsPicker(),\n this.getMillisecondsPicker(),\n ];\n\n const visibleElements = elementsInOrder.filter((el) => el !== undefined);\n\n return visibleElements.map((el, idx) => {\n if (idx === visibleElements.length - 1) {\n return [el];\n }\n\n return [el, this.getSeparator()];\n });\n }\n\n private openPopup() {\n if (!this.open && !this.disabled) {\n this.open = true;\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n }\n }\n\n private closePopup() {\n if (this.inline) {\n return;\n }\n\n this.open = false;\n this.eventListeners.remove(document, 'mousedown', this.handleDocumentMouseDown);\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.host)) {\n this.closePopup();\n return;\n }\n };\n\n private handleClearClick = (event: MouseEvent) => {\n event.stopPropagation();\n this.value = '';\n this.sixClear.emit();\n this.sixChange.emit({\n value: {},\n valueAsString: '',\n });\n };\n\n private renderClearable() {\n return (\n this.clearable && (\n <button\n slot=\"suffix\"\n class={{\n timepicker_clear: true,\n 'timepicker_clear--right': this.iconPosition === 'left',\n 'timepicker_clear--left': this.iconPosition === 'right',\n }}\n type=\"button\"\n onClick={this.handleClearClick}\n tabindex=\"-1\"\n >\n <six-icon size=\"small\">clear</six-icon>\n </button>\n )\n );\n }\n\n private renderCustomIcon() {\n const icon = hasSlot(this.host, 'custom-icon') ? (\n <slot name=\"custom-icon\"></slot>\n ) : (\n <six-icon size={this.size === 'large' ? 'medium' : this.size}>watch_later</six-icon>\n );\n\n return (\n <span\n slot=\"prefix\"\n part=\"icon\"\n class={{\n prefix: true,\n 'prefix--right': this.iconPosition === 'right',\n }}\n >\n {icon}\n </span>\n );\n }\n\n render() {\n return (\n <div part=\"container\" ref={(el) => (this.wrapper = el)} class=\"timepicker__container\">\n <six-input\n ref={(el) => (this.inputElement = el)}\n part=\"input\"\n onClick={() => this.openPopup()}\n value={this.value}\n placeholder={this.placeholder}\n readonly={this.readonly}\n disabled={this.disabled}\n errorTextCount={this.errorTextCount}\n errorText={this.errorText}\n invalid={this.invalid}\n size={this.size}\n name={this.name}\n label={this.label}\n required={this.required}\n class={{\n 'input--empty': this.value === '',\n 'input--hide': this.inline,\n }}\n >\n {this.renderCustomIcon()}\n {this.renderClearable()}\n {hasSlot(this.host, 'label') ? (\n <span slot=\"label\">\n <slot name=\"label\" />\n </span>\n ) : null}\n {hasSlot(this.host, 'error-text') ? (\n <span slot=\"error-text\">\n <slot name=\"error-text\" />\n </span>\n ) : null}\n </six-input>\n {this.open && (\n <div\n ref={(el) => (this.popup = el)}\n part=\"popup\"\n class={{\n timepicker__popup: true,\n 'timepicker__popup--is-up': this.placement == null ? this.placement === 'top' : this.isPopupContentUp,\n 'timepicker__popup--is-inline': this.inline,\n }}\n >\n {...this.getContent()}\n {this.getAmPmPicker()}\n </div>\n )}\n </div>\n );\n }\n}\n"],"mappings":"kQAqCO,MAAMA,EAA0B,KACrC,MAAMC,EAAM,IAAIC,KAChB,MAAO,CACLC,MAAOF,EAAIG,WACXC,QAASJ,EAAIK,aACbC,QAASN,EAAIO,aACbC,aAAcR,EAAIS,kBAClBC,WAAY,KACb,EAGH,MAAMC,EAAgC,GAE/B,MAAMC,EAA0BV,GACrCA,EAAQS,EAAgCT,EAAQS,EAAgCT,EAE3E,MAAMW,EAA0B,KACrC,MAAMb,EAAM,IAAIC,KAChB,MAAMC,EAAQF,EAAIG,WAClB,MAAO,CACLD,MAAOU,EAAuBV,GAC9BE,QAASJ,EAAIK,aACbC,QAASN,EAAIO,aACbC,aAAcR,EAAIS,kBAClBC,WAAY,MACZI,OAAQZ,GAASS,EAAgC,KAAO,KACzD,EAGI,MAAMI,EAAiB,C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AA,QAAMkC,KAAK,SACTlC,EAAA,QAAM2C,KAAK,WAEX,KACHD,EAAQlH,KAAKmB,KAAM,cAClBqD,EAAA,QAAMkC,KAAK,cACTlC,EAAA,QAAM2C,KAAK,gBAEX,MAELnH,KAAKuC,MACJiC,EAAA,OACEgD,IAAMtB,GAAQlG,KAAKgD,MAAQkD,EAC3BkB,KAAK,QACL3C,MAAO,CACLuD,kBAAmB,KACnB,2BAA4BhI,KAAKiI,WAAa,KAAOjI,KAAKiI,YAAc,MAAQjI,KAAKmE,iBACrF,+BAAgCnE,KAAKsC,YAGnCtC,KAAK8F,aACR9F,KAAKuF,iB"}
1
+ {"version":3,"names":["getCurrentTimeIn24Hours","now","Date","hours","getHours","minutes","getMinutes","seconds","getSeconds","milliseconds","getMilliseconds","has24Hours","HOURS_IN_12_HOUR_CLOCK_FORMAT","getHoursIn12HourFormat","getCurrentTimeIn12Hours","period","getCurrentTime","isValidTimeString","timeStr","format","timeStringParts","split","timeFormatParts","length","parseTimeString","timeParts","formatParts","console","error","time","forEach","timeStringPart","i","formatStringPart","Number","toUpperCase","createTimeString","map","timeFormatPart","String","padStart","join","sixTimepickerCss","SixTimepickerStyle0","MIN_POPUP_HEIGHT","SixTimepicker","this","eventListeners","EventListeners","handlePickerChange","event","property","stopPropagation","popupValue","detail","timeString","value","sixChange","emit","changedProperty","valueAsString","handleDocumentMouseDown","path","composedPath","includes","host","closePopup","handleClearClick","sixClear","DEFAULT_DEBOUNCE_FAST","DEFAULT_DEBOUNCE_INSANELY_FAST","resizeHandler","calcIsPopupContentUp","moveOpenHoistedPopup","scrollHandler","valueChanged","updateValue","setFocus","options","_a","inputElement","connectedCallback","forward","componentWillLoad","inline","open","add","document","componentDidLoad","debounce","sixChangeDebounced","componentDidRender","adjustPopupForHoisting","hoist","popup","wrapper","isUp","isDropDownContentUp","disconnectedCallback","removeAll","defaultTime","is24HourClock","inputBoundingRect","getBoundingClientRect","wrapperBoundingRect","minPopupHeight","Math","max","height","moreSpaceInTop","y","window","innerHeight","isPopupContentUp","bottom","movePopup","getSixTimeUnitPicker","params","h","class","timeout","interval","padded","min","propertyName","items","type","ItemPickerType","NUMBER","paddingLength","getHour24Picker","getHour12Picker","is12HourClock","getAmPmPicker","CUSTOM","getMinutePicker","getSecondsPicker","getMillisecondsPicker","getSeparator","separator","getContent","elementsInOrder","visibleElements","filter","el","undefined","idx","openPopup","disabled","remove","renderClearable","clearable","slot","timepicker_clear","iconPosition","onClick","tabindex","size","renderCustomIcon","icon","hasSlot","name","part","prefix","render","key","ref","placeholder","readonly","errorTextCount","errorText","invalid","label","required","timepicker__popup","placement"],"sources":["src/utils/time.util.ts","src/components/six-timepicker/six-timepicker.scss?tag=six-timepicker&encapsulation=shadow","src/components/six-timepicker/six-timepicker.tsx"],"sourcesContent":["export type TimePeriod = 'AM' | 'PM';\n\nexport interface Time {\n hours?: number;\n minutes?: number;\n seconds?: number;\n milliseconds?: number;\n has24Hours?: boolean; // true => 24h, false => 12h\n period?: TimePeriod; // only needed for 12-hour clock\n}\n\nexport type TimeProperties = keyof Time;\n\nexport type TimeFormatChar =\n | 'HH' // 24h\n | 'hh' // 12h\n | 'mm' // minutes\n | 'ss' // seconds\n | 'ms' // milliseconds\n | 'aa'; // period (AM/PM)\n\n/*\n * Supported time formats\n */\nexport type TimeFormat =\n | 'HH:mm:ss'\n | 'hh:mm:ss:aa'\n | 'HH:mm:ss:ms'\n | 'hh:mm:ss:ms:aa'\n | 'HH:mm'\n | 'hh:mm:aa'\n | 'HH'\n | 'hh:aa'\n | 'mm'\n | 'ss'\n | 'ms';\n\nexport const getCurrentTimeIn24Hours = (): Time => {\n const now = new Date();\n return {\n hours: now.getHours(),\n minutes: now.getMinutes(),\n seconds: now.getSeconds(),\n milliseconds: now.getMilliseconds(),\n has24Hours: true,\n };\n};\n\nconst HOURS_IN_12_HOUR_CLOCK_FORMAT = 12;\n\nexport const getHoursIn12HourFormat = (hours: number) =>\n hours > HOURS_IN_12_HOUR_CLOCK_FORMAT ? hours - HOURS_IN_12_HOUR_CLOCK_FORMAT : hours;\n\nexport const getCurrentTimeIn12Hours = (): Time => {\n const now = new Date();\n const hours = now.getHours();\n return {\n hours: getHoursIn12HourFormat(hours),\n minutes: now.getMinutes(),\n seconds: now.getSeconds(),\n milliseconds: now.getMilliseconds(),\n has24Hours: false,\n period: hours >= HOURS_IN_12_HOUR_CLOCK_FORMAT ? 'PM' : 'AM',\n };\n};\n\nexport const getCurrentTime = (has24Hours = true): Time => {\n return has24Hours ? getCurrentTimeIn24Hours() : getCurrentTimeIn12Hours();\n};\n\nexport const isValidTimeString = (timeStr: string, format: TimeFormat) => {\n const timeStringParts = timeStr.split(':');\n const timeFormatParts = format.split(':');\n return timeStringParts.length === timeFormatParts.length;\n};\n\nexport const parseTimeString = (timeStr: string, format: TimeFormat): Time => {\n const timeParts = timeStr.split(':');\n const formatParts = format.split(':') as TimeFormatChar[];\n\n if (!isValidTimeString(timeStr, format)) {\n console.error(\n `Timestring did not match expected format.\\nExpected format: ${format}\\nReceived timestring: ${timeStr}`\n );\n }\n\n const time: Time = {};\n\n timeParts.forEach((timeStringPart, i) => {\n const formatStringPart: TimeFormatChar = formatParts[i];\n switch (formatStringPart) {\n case 'HH':\n time.hours = Number(timeStringPart);\n time.has24Hours = true;\n break;\n case 'hh':\n time.hours = Number(timeStringPart);\n time.has24Hours = false;\n break;\n case 'mm':\n time.minutes = Number(timeStringPart);\n break;\n case 'ss':\n time.seconds = Number(timeStringPart);\n break;\n case 'ms':\n time.milliseconds = Number(timeStringPart);\n break;\n case 'aa':\n time.period = timeStringPart.toUpperCase() === 'PM' ? 'PM' : 'AM';\n }\n });\n return time;\n};\n\nexport const createTimeString = (time: Time | undefined, format: TimeFormat): string => {\n if (time == null) {\n return '';\n }\n\n const formatParts = format.split(':') as TimeFormatChar[];\n\n return formatParts\n .map((timeFormatPart) => {\n switch (timeFormatPart) {\n case 'HH':\n case 'hh':\n return String(time.hours).padStart(2, '0');\n case 'mm':\n return String(time.minutes).padStart(2, '0');\n case 'ss':\n return String(time.seconds).padStart(2, '0');\n case 'ms':\n return String(time.milliseconds).padStart(3, '0');\n case 'aa':\n return String(time.period);\n }\n })\n .join(':');\n};\n","@import 'src/global/component';\n\n:host {\n display: block;\n font-family: var(--six-font-family);\n}\n\n.timepicker {\n &_clear {\n display: inline-flex;\n align-items: center;\n font-size: inherit;\n color: var(--six-input-icon-color);\n border: none;\n background: none;\n padding: 0;\n transition: var(--six-transition-fast) color;\n cursor: pointer;\n\n &:hover {\n color: var(--six-input-icon-color-hover);\n }\n\n &:focus {\n outline: none;\n }\n\n &--right {\n right: 0;\n position: absolute;\n }\n\n &--left {\n right: 35px;\n position: absolute;\n }\n }\n\n &__container {\n position: relative;\n }\n\n &__popup {\n display: flex;\n justify-content: center;\n min-width: min-content;\n min-height: 145px;\n background-color: white;\n padding: 0.5em 0.5em 1.5em;\n box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%);\n user-select: none;\n position: absolute;\n z-index: var(--six-z-index-dropdown);\n right: 0;\n left: 0;\n\n &--is-up {\n bottom: 100%;\n }\n\n &--is-inline {\n position: initial;\n box-shadow: none;\n border: 1px solid var(--six-color-web-rock-400);\n }\n }\n\n &__separator {\n display: flex;\n align-items: center;\n }\n\n &__item {\n &--wide {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n }\n }\n}\n\n.input--empty .timepicker_clear {\n visibility: hidden;\n}\n\n.input--hide {\n display: none;\n}\n\n// Icon position\n.prefix {\n cursor: pointer;\n\n &--right {\n right: 0;\n display: inline-flex;\n position: absolute;\n font-size: inherit;\n color: var(--six-input-icon-color);\n border: none;\n background: none;\n margin-right: var(--six-input-spacing-medium);\n transition: var(--six-transition-fast) color;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Listen, Method, Prop, State, Watch } from '@stencil/core';\nimport { ItemPickerType } from '../six-item-picker/types';\nimport {\n createTimeString,\n getCurrentTime,\n isValidTimeString,\n parseTimeString,\n Time,\n TimeFormat,\n TimeProperties,\n} from '../../utils/time.util';\nimport { debounce, DEFAULT_DEBOUNCE_FAST, DEFAULT_DEBOUNCE_INSANELY_FAST } from '../../utils/execution-control';\nimport { SixItemPickerChangePayload } from '../six-item-picker/six-item-picker';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { adjustPopupForHoisting, movePopup } from '../../utils/popup';\n\nexport interface SixTimepickerChange {\n value?: Time;\n valueAsString: string;\n changedProperty?: string;\n}\n\ninterface SixTimeUnitPickerParams {\n min?: number;\n max?: number;\n items?: string[];\n type?: ItemPickerType;\n class?: string;\n paddingLength?: number;\n propertyName: TimeProperties;\n}\n\nconst MIN_POPUP_HEIGHT = 145;\n\n/**\n * @since 2.0.0\n * @status experimental\n *\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part input - The input field\n * @part container - The container of whole component\n * @part popup - The popup of the timepicker component\n *\n */\n@Component({\n tag: 'six-timepicker',\n styleUrl: 'six-timepicker.scss',\n shadow: true,\n})\nexport class SixTimepicker {\n private eventListeners = new EventListeners();\n private popup?: HTMLElement;\n private wrapper?: HTMLElement;\n private inputElement?: HTMLSixInputElement;\n\n @Element() host!: HTMLSixTimepickerElement;\n\n /**\n * Define the time format. Valid formats are:\n *\n * HH:mm:ss\n * hh:mm:ss:aa\n * HH:mm:ss:ms\n * hh:mm:ss:ms:aa\n * HH:mm\n * hh:mm:aa\n * HH\n * hh:aa\n * mm\n * ss\n * ms\n *\n * where HH is the 24 hour format\n * and hh is the 12 hour format\n *\n * Please notice that when using the 12-hour-clock (hh)\n * you always need a period indicator (aa). So the time can be parsed as either am or pm\n * */\n @Prop() format: TimeFormat = 'HH:mm:ss';\n\n /**\n * Define the separator to be shown between the time unit pickers.\n * Please be aware that this property will modify the displayed separator only.\n * The separator for a timestring is always expected to be a colon (eg. '13:52:20')\n * */\n @Prop() separator = ':';\n\n /**\n * The value of the timepicker provided as a string. The string mast match the provided format (or default format)\n */\n @Prop({ mutable: true }) value = '';\n\n /** Indicates whether the timepicker dropdown is open on startup. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Indicates whether the timepicker should be shown as an inline (always open) component */\n @Prop({ reflect: true }) inline = false;\n\n /**\n * If `true` the user can only select a time via the timepicker but not directly edit the input field.\n */\n @Prop() readonly = false;\n\n /**\n * If `true` the component is disabled.\n */\n @Prop() disabled = false;\n\n /**\n * The enforced placement of the dropdown panel.\n */\n @Prop() placement?: 'top' | 'bottom';\n\n /** Timepicker size. */\n @Prop() size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /**\n * The placeholder defines what text to be shown on the input element\n */\n @Prop() placeholder?: string;\n\n /** The input's error text. Alternatively, you can use the error-text slot. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** The input's label. Alternatively, you can use the label slot. */\n @Prop() label = '';\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n /** The input's name attribute. */\n @Prop({ reflect: true }) name = '';\n\n /** Set to true to add a clear button when the input is populated. */\n @Prop() clearable = false;\n\n /** Set the position of the icon */\n @Prop() iconPosition: 'left' | 'right' = 'left';\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 /**\n * Set the amount of time, in milliseconds, to wait to trigger faster switching between timeunits (e.g. hours).\n */\n @Prop() timeout = DEFAULT_DEBOUNCE_FAST;\n\n /**\n * Set the amount of time, in milliseconds, to wait between switching to next timeunit (e.g. next hour) when mouse button is held pressed.\n */\n @Prop() interval = DEFAULT_DEBOUNCE_INSANELY_FAST;\n\n /**\n * The defaultTime defines the default setting for the timepicker when you open the popup. Default time must match the provided format.\n */\n @Prop() defaultTime?: string;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger the `six-timepicker-change-debounced` event.\n * If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce\n * is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click\n * (and keep pressed) and once you release\n */\n @Prop() debounce = DEFAULT_DEBOUNCE_FAST;\n\n /**\n * Emitted when the timepicker's value changes\n */\n @Event({ eventName: 'six-timepicker-change' }) sixChange!: EventEmitter<SixTimepickerChange>;\n\n /**\n * Emitted when the timepicker's value changes, but debounced\n */\n @Event({ eventName: 'six-timepicker-change-debounced' }) sixChangeDebounced!: EventEmitter<SixTimepickerChange>;\n\n /**\n * Emitted when the clear button is activated.\n */\n @Event({ eventName: 'six-timepicker-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n @State() isPopupContentUp = false;\n\n @State() isDropDownContentUp = false;\n\n @Listen('resize', { target: 'window' })\n async resizeHandler() {\n this.calcIsPopupContentUp();\n this.moveOpenHoistedPopup();\n }\n\n @Listen('scroll', { target: 'window' })\n async scrollHandler() {\n this.calcIsPopupContentUp();\n this.moveOpenHoistedPopup();\n }\n\n /**\n * Update the native input element when the value changes\n */\n @Watch('value')\n protected valueChanged() {\n this.updateValue();\n }\n\n /** Sets focus on the datepickers input. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.inputElement?.setFocus(options);\n }\n\n /*\n * Internally the six-timepicker uses a standardized representation of time, so we don't have a mess,\n * when switching between formats\n */\n @State() private popupValue: Time = {};\n\n connectedCallback() {\n this.eventListeners.forward('six-timepicker-change', 'change', this.host);\n }\n\n componentWillLoad() {\n this.updateValue();\n\n if (this.inline) {\n this.open = true;\n }\n\n if (this.open) {\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n }\n }\n\n componentDidLoad() {\n if (this.inputElement == null) return;\n const inputElement = this.inputElement;\n\n // emit debounced change event\n this.eventListeners.add(\n this.host,\n 'six-timepicker-change',\n debounce((event: Event) => this.sixChangeDebounced.emit((event as CustomEvent).detail), this.debounce)\n );\n\n // update value and popup value based on input-element value\n this.eventListeners.add(\n inputElement,\n 'six-input-input',\n debounce((event: Event) => {\n event.stopPropagation();\n\n // emit empty event if time string is invalid\n if (!isValidTimeString(inputElement.value, this.format)) {\n this.value = inputElement.value;\n this.sixChange.emit({\n value: {},\n valueAsString: '',\n });\n return;\n }\n\n // update value and popup value, and emit the new value\n this.value = inputElement.value;\n this.popupValue = parseTimeString(inputElement.value, this.format);\n this.sixChange.emit({\n value: this.popupValue,\n valueAsString: createTimeString(this.popupValue, this.format),\n });\n }, this.debounce)\n );\n }\n\n componentDidRender() {\n adjustPopupForHoisting(\n this.hoist,\n this.popup,\n this.inputElement,\n this.wrapper,\n MIN_POPUP_HEIGHT,\n (isUp) => (this.isDropDownContentUp = isUp)\n );\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n private updateValue() {\n // normalize value\n if (typeof this.value !== 'string' || !isValidTimeString(this.value, this.format)) {\n this.value = '';\n }\n\n // update popup value\n if (this.value === '') {\n if (this.defaultTime == null) {\n this.popupValue = getCurrentTime(this.is24HourClock());\n } else {\n this.popupValue = parseTimeString(this.defaultTime, this.format);\n }\n } else {\n this.popupValue = parseTimeString(this.value, this.format);\n }\n }\n\n private calcIsPopupContentUp() {\n if (this.inputElement == null || this.wrapper == null) {\n return;\n }\n\n const inputBoundingRect = this.inputElement.getBoundingClientRect();\n const wrapperBoundingRect = this.wrapper.getBoundingClientRect();\n const minPopupHeight = Math.max(wrapperBoundingRect.height, MIN_POPUP_HEIGHT);\n\n const moreSpaceInTop = inputBoundingRect.y > window.innerHeight / 2;\n this.isPopupContentUp = moreSpaceInTop && window.innerHeight < inputBoundingRect.bottom + minPopupHeight;\n }\n\n private moveOpenHoistedPopup() {\n movePopup(this.hoist, this.open, this.popup, this.inputElement, this.wrapper, MIN_POPUP_HEIGHT);\n }\n\n private handlePickerChange = (event: CustomEvent<SixItemPickerChangePayload>, property: TimeProperties) => {\n // stop propagation, since the timepicker should not expose the events of the underlying item-picker\n event.stopPropagation();\n if (this.popupValue == null) {\n return;\n }\n\n // update the internal state\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this.popupValue[property] = event.detail;\n\n const timeString = createTimeString(this.popupValue, this.format);\n\n // update the input value\n this.value = timeString;\n\n // emit change event\n this.sixChange.emit({\n changedProperty: property,\n value: this.popupValue,\n valueAsString: timeString,\n });\n };\n\n private getSixTimeUnitPicker(params: SixTimeUnitPickerParams) {\n return (\n <six-item-picker\n class={params.class}\n timeout={this.timeout}\n interval={this.interval}\n padded\n min={params.min}\n max={params.max}\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n value={this.popupValue[params.propertyName]}\n items={params.items}\n type={params.type || ItemPickerType.NUMBER}\n padding-length={params.paddingLength}\n onSix-item-picker-change={(event) => this.handlePickerChange(event, params.propertyName)}\n ></six-item-picker>\n );\n }\n\n private getHour24Picker() {\n if (!this.is24HourClock()) {\n return;\n }\n return this.getSixTimeUnitPicker({ min: 0, max: 23, propertyName: 'hours' });\n }\n\n private is24HourClock() {\n return this.format.includes('HH');\n }\n\n private getHour12Picker() {\n if (!this.is12HourClock()) {\n return;\n }\n return this.getSixTimeUnitPicker({ min: 0, max: 11, propertyName: 'hours' });\n }\n\n private is12HourClock() {\n return this.format.includes('hh');\n }\n\n private getAmPmPicker() {\n if (!this.is12HourClock()) {\n return;\n }\n const items = ['AM', 'PM'];\n return this.getSixTimeUnitPicker({\n items,\n type: ItemPickerType.CUSTOM,\n propertyName: 'period',\n });\n }\n\n private getMinutePicker() {\n if (!this.format.includes('mm')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName: 'minutes' });\n }\n\n private getSecondsPicker() {\n if (!this.format.includes('ss')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName: 'seconds' });\n }\n\n private getMillisecondsPicker() {\n if (!this.format.includes('ms')) {\n return;\n }\n\n return this.getSixTimeUnitPicker({\n min: 0,\n max: 999,\n class: 'timepicker__item--wide',\n paddingLength: 3,\n propertyName: 'milliseconds',\n });\n }\n\n private getSeparator() {\n return (\n <div class=\"timepicker__separator\">\n <span>{this.separator}</span>\n </div>\n );\n }\n\n private getContent() {\n const elementsInOrder = [\n this.getHour24Picker(),\n this.getHour12Picker(),\n this.getMinutePicker(),\n this.getSecondsPicker(),\n this.getMillisecondsPicker(),\n ];\n\n const visibleElements = elementsInOrder.filter((el) => el !== undefined);\n\n return visibleElements.map((el, idx) => {\n if (idx === visibleElements.length - 1) {\n return [el];\n }\n\n return [el, this.getSeparator()];\n });\n }\n\n private openPopup() {\n if (!this.open && !this.disabled) {\n this.open = true;\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n }\n }\n\n private closePopup() {\n if (this.inline) {\n return;\n }\n\n this.open = false;\n this.eventListeners.remove(document, 'mousedown', this.handleDocumentMouseDown);\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.host)) {\n this.closePopup();\n return;\n }\n };\n\n private handleClearClick = (event: MouseEvent) => {\n event.stopPropagation();\n this.value = '';\n this.sixClear.emit();\n this.sixChange.emit({\n value: {},\n valueAsString: '',\n });\n };\n\n private renderClearable() {\n return (\n this.clearable && (\n <button\n slot=\"suffix\"\n class={{\n timepicker_clear: true,\n 'timepicker_clear--right': this.iconPosition === 'left',\n 'timepicker_clear--left': this.iconPosition === 'right',\n }}\n type=\"button\"\n onClick={this.handleClearClick}\n tabindex=\"-1\"\n >\n <six-icon size=\"small\">clear</six-icon>\n </button>\n )\n );\n }\n\n private renderCustomIcon() {\n const icon = hasSlot(this.host, 'custom-icon') ? (\n <slot name=\"custom-icon\"></slot>\n ) : (\n <six-icon size={this.size === 'large' ? 'medium' : this.size}>watch_later</six-icon>\n );\n\n return (\n <span\n slot=\"prefix\"\n part=\"icon\"\n class={{\n prefix: true,\n 'prefix--right': this.iconPosition === 'right',\n }}\n >\n {icon}\n </span>\n );\n }\n\n render() {\n return (\n <div part=\"container\" ref={(el) => (this.wrapper = el)} class=\"timepicker__container\">\n <six-input\n ref={(el) => (this.inputElement = el)}\n part=\"input\"\n onClick={() => this.openPopup()}\n value={this.value}\n placeholder={this.placeholder}\n readonly={this.readonly}\n disabled={this.disabled}\n errorTextCount={this.errorTextCount}\n errorText={this.errorText}\n invalid={this.invalid}\n size={this.size}\n name={this.name}\n label={this.label}\n required={this.required}\n class={{\n 'input--empty': this.value === '',\n 'input--hide': this.inline,\n }}\n >\n {this.renderCustomIcon()}\n {this.renderClearable()}\n {hasSlot(this.host, 'label') ? (\n <span slot=\"label\">\n <slot name=\"label\" />\n </span>\n ) : null}\n {hasSlot(this.host, 'error-text') ? (\n <span slot=\"error-text\">\n <slot name=\"error-text\" />\n </span>\n ) : null}\n </six-input>\n {this.open && (\n <div\n ref={(el) => (this.popup = el)}\n part=\"popup\"\n class={{\n timepicker__popup: true,\n 'timepicker__popup--is-up': this.placement == null ? this.placement === 'top' : this.isPopupContentUp,\n 'timepicker__popup--is-inline': this.inline,\n }}\n >\n {...this.getContent()}\n {this.getAmPmPicker()}\n </div>\n )}\n </div>\n );\n }\n}\n"],"mappings":"kQAqCO,MAAMA,EAA0B,KACrC,MAAMC,EAAM,IAAIC,KAChB,MAAO,CACLC,MAAOF,EAAIG,WACXC,QAASJ,EAAIK,aACbC,QAASN,EAAIO,aACbC,aAAcR,EAAIS,kBAClBC,WAAY,KACb,EAGH,MAAMC,EAAgC,GAE/B,MAAMC,EAA0BV,GACrCA,EAAQS,EAAgCT,EAAQS,EAAgCT,EAE3E,MAAMW,EAA0B,KACrC,MAAMb,EAAM,IAAIC,KAChB,MAAMC,EAAQF,EAAIG,WAClB,MAAO,CACLD,MAAOU,EAAuBV,GAC9BE,QAASJ,EAAIK,aACbC,Q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KU,QAAU,GAC/B,cAAeV,KAAKsC,SAGrBtC,KAAKgH,mBACLhH,KAAKwG,kBACLU,EAAQlH,KAAKmB,KAAM,SAClBqD,EAAA,QAAMkC,KAAK,SACTlC,EAAA,QAAM2C,KAAK,WAEX,KACHD,EAAQlH,KAAKmB,KAAM,cAClBqD,EAAA,QAAMkC,KAAK,cACTlC,EAAA,QAAM2C,KAAK,gBAEX,MAELnH,KAAKuC,MACJiC,EAAA,OAAA+C,IAAA,2CACEC,IAAMtB,GAAQlG,KAAKgD,MAAQkD,EAC3BkB,KAAK,QACL3C,MAAO,CACLuD,kBAAmB,KACnB,2BAA4BhI,KAAKiI,WAAa,KAAOjI,KAAKiI,YAAc,MAAQjI,KAAKmE,iBACrF,+BAAgCnE,KAAKsC,YAGnCtC,KAAK8F,aACR9F,KAAKuF,iB","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as o,h as i}from"./p-05eb1bab.js";const r=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:grid}.center-content{display:grid;align-self:center;justify-self:center;grid-gap:5px;grid-auto-flow:column}.align-item{margin:auto}.indicator,.indicator--acceptance,.indicator--etu,.indicator--dev,.indicator--itu{font-family:var(--six-font-family);font-size:14px;font-weight:var(--six-font-weight-bold);display:grid;align-content:center;width:100%;height:24px}.indicator--itu{background-color:var(--six-color-success-600);color:var(--six-color-web-rock-900)}.indicator--dev{background-color:var(--six-color-web-rock-900);color:var(--six-color-white)}.indicator--etu{background-color:var(--six-color-action-600);color:var(--six-color-white)}.indicator--acceptance{background-color:var(--six-color-warning-800);color:var(--six-color-web-rock-900)}";const t=r;const c=class{constructor(i){o(this,i);this.stage=null}render(){return this.stage==null||this.stage=="PROD"?null:i("div",{class:`indicator--${this.stage.toLowerCase()}`},i("div",{class:"center-content"},i("six-icon",{class:"align-item",size:"small"},"error_outline"),i("span",{class:"align-item"},i("slot",null))))}};c.style=t;export{c as six_stage_indicator};
2
- //# sourceMappingURL=p-4d89932f.entry.js.map
1
+ import{r as o,h as i}from"./p-48118ce8.js";const r=":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:grid}.center-content{display:grid;align-self:center;justify-self:center;grid-gap:5px;grid-auto-flow:column}.align-item{margin:auto}.indicator,.indicator--acceptance,.indicator--etu,.indicator--dev,.indicator--itu{font-family:var(--six-font-family);font-size:14px;font-weight:var(--six-font-weight-bold);display:grid;align-content:center;width:100%;height:24px}.indicator--itu{background-color:var(--six-color-success-600);color:var(--six-color-web-rock-900)}.indicator--dev{background-color:var(--six-color-web-rock-900);color:var(--six-color-white)}.indicator--etu{background-color:var(--six-color-action-600);color:var(--six-color-white)}.indicator--acceptance{background-color:var(--six-color-warning-800);color:var(--six-color-web-rock-900)}";const t=r;const c=class{constructor(i){o(this,i);this.stage=null}render(){return this.stage==null||this.stage=="PROD"?null:i("div",{class:`indicator--${this.stage.toLowerCase()}`},i("div",{class:"center-content"},i("six-icon",{class:"align-item",size:"small"},"error_outline"),i("span",{class:"align-item"},i("slot",null))))}};c.style=t;export{c as six_stage_indicator};
2
+ //# sourceMappingURL=p-42cd3588.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["sixStageIndicatorCss","SixStageIndicatorStyle0","SixStageIndicator","render","this","stage","h","class","toLowerCase","size"],"sources":["src/components/six-stage-indicator/six-stage-indicator.scss?tag=six-stage-indicator&encapsulation=shadow","src/components/six-stage-indicator/six-stage-indicator.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: grid;\n}\n\n.center-content {\n display: grid;\n align-self: center;\n justify-self: center;\n grid-gap: 5px;\n grid-auto-flow: column;\n}\n\n.align-item {\n margin: auto;\n}\n\n.indicator {\n font-family: var(--six-font-family);\n font-size: 14px;\n font-weight: var(--six-font-weight-bold);\n display: grid;\n align-content: center;\n width: 100%;\n height: 24px;\n\n &--itu {\n @extend .indicator;\n background-color: var(--six-color-success-600);\n color: var(--six-color-web-rock-900);\n }\n\n &--dev {\n @extend .indicator;\n background-color: var(--six-color-web-rock-900);\n color: var(--six-color-white);\n }\n\n &--etu {\n @extend .indicator;\n background-color: var(--six-color-action-600);\n color: var(--six-color-white);\n }\n\n &--acceptance {\n @extend .indicator;\n background-color: var(--six-color-warning-800);\n color: var(--six-color-web-rock-900);\n }\n}\n","import { Component, h, Prop } from '@stencil/core';\n\nexport type StageType = 'DEV' | 'ITU' | 'ETU' | 'ACCEPTANCE' | 'PROD' | null;\n\n@Component({\n tag: 'six-stage-indicator',\n styleUrl: 'six-stage-indicator.scss',\n shadow: true,\n})\nexport class SixStageIndicator {\n /** The indicators value attribute */\n @Prop() stage: StageType = null;\n\n render() {\n return this.stage == null || this.stage == 'PROD' ? null : (\n <div class={`indicator--${this.stage.toLowerCase()}`}>\n <div class=\"center-content\">\n <six-icon class=\"align-item\" size=\"small\">\n error_outline\n </six-icon>\n <span class={'align-item'}>\n <slot />\n </span>\n </div>\n </div>\n );\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAuB,m2BAC7B,MAAAC,EAAeD,E,MCQFE,EAAiB,M,oCAED,I,CAE3B,MAAAC,GACE,OAAOC,KAAKC,OAAS,MAAQD,KAAKC,OAAS,OAAS,KAClDC,EAAA,OAAKC,MAAO,cAAcH,KAAKC,MAAMG,iBACnCF,EAAA,OAAKC,MAAM,kBACTD,EAAA,YAAUC,MAAM,aAAaE,KAAK,SAAO,iBAGzCH,EAAA,QAAMC,MAAO,cACXD,EAAA,e"}
1
+ {"version":3,"names":["sixStageIndicatorCss","SixStageIndicatorStyle0","SixStageIndicator","render","this","stage","h","class","toLowerCase","size"],"sources":["src/components/six-stage-indicator/six-stage-indicator.scss?tag=six-stage-indicator&encapsulation=shadow","src/components/six-stage-indicator/six-stage-indicator.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: grid;\n}\n\n.center-content {\n display: grid;\n align-self: center;\n justify-self: center;\n grid-gap: 5px;\n grid-auto-flow: column;\n}\n\n.align-item {\n margin: auto;\n}\n\n.indicator {\n font-family: var(--six-font-family);\n font-size: 14px;\n font-weight: var(--six-font-weight-bold);\n display: grid;\n align-content: center;\n width: 100%;\n height: 24px;\n\n &--itu {\n @extend .indicator;\n background-color: var(--six-color-success-600);\n color: var(--six-color-web-rock-900);\n }\n\n &--dev {\n @extend .indicator;\n background-color: var(--six-color-web-rock-900);\n color: var(--six-color-white);\n }\n\n &--etu {\n @extend .indicator;\n background-color: var(--six-color-action-600);\n color: var(--six-color-white);\n }\n\n &--acceptance {\n @extend .indicator;\n background-color: var(--six-color-warning-800);\n color: var(--six-color-web-rock-900);\n }\n}\n","import { Component, h, Prop } from '@stencil/core';\n\nexport type StageType = 'DEV' | 'ITU' | 'ETU' | 'ACCEPTANCE' | 'PROD' | null;\n\n@Component({\n tag: 'six-stage-indicator',\n styleUrl: 'six-stage-indicator.scss',\n shadow: true,\n})\nexport class SixStageIndicator {\n /** The indicators value attribute */\n @Prop() stage: StageType = null;\n\n render() {\n return this.stage == null || this.stage == 'PROD' ? null : (\n <div class={`indicator--${this.stage.toLowerCase()}`}>\n <div class=\"center-content\">\n <six-icon class=\"align-item\" size=\"small\">\n error_outline\n </six-icon>\n <span class={'align-item'}>\n <slot />\n </span>\n </div>\n </div>\n );\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAuB,m2BAC7B,MAAAC,EAAeD,E,MCQFE,EAAiB,M,oCAED,I,CAE3B,MAAAC,GACE,OAAOC,KAAKC,OAAS,MAAQD,KAAKC,OAAS,OAAS,KAClDC,EAAA,OAAKC,MAAO,cAAcH,KAAKC,MAAMG,iBACnCF,EAAA,OAAKC,MAAM,kBACTD,EAAA,YAAUC,MAAM,aAAaE,KAAK,SAAO,iBAGzCH,EAAA,QAAMC,MAAO,cACXD,EAAA,e","ignoreList":[]}
@@ -0,0 +1,3 @@
1
+ const e="ui-library";const t={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:false,watchCallback:true};var r=Object.defineProperty;var n=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:true})};var l=new WeakMap;var s=e=>l.get(e);var i=(e,t)=>l.set(t.t=e,t);var o=(e,t)=>{const r={l:0,$hostElement$:e,i:t,o:new Map};{r.u=new Promise((e=>r.v=e))}{r.p=new Promise((e=>r.h=e));e["s-p"]=[];e["s-rc"]=[]}return l.set(e,r)};var a=(e,t)=>t in e;var f=(e,t)=>(0,console.error)(e,t);var c=new Map;var u=(e,t,r)=>{const n=e.m.replace(/-/g,"_");const l=e.$;if(!l){return void 0}const s=c.get(l);if(s){return s[n]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((e=>{{c.set(l,e)}return e[n]}),f)};var v=new Map;var d="{visibility:hidden}.hydrated{visibility:inherit}";var p="slot-fb{display:contents}slot-fb[hidden]{display:none}";var h=typeof window!=="undefined"?window:{};var m=h.document||{head:{}};var y={l:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,n)=>e.addEventListener(t,r,n),rel:(e,t,r,n)=>e.removeEventListener(t,r,n),ce:(e,t)=>new CustomEvent(e,t)};var b=(()=>{let e=false;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=true}}))}catch(e){}return e})();var w=e=>Promise.resolve(e);var g=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var $=false;var S=[];var k=[];var C=(e,t)=>r=>{e.push(r);if(!$){$=true;if(t&&y.l&4){x(O)}else{y.raf(O)}}};var j=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){f(e)}}e.length=0};var O=()=>{j(S);{j(k);if($=S.length>0){y.raf(O)}}};var x=e=>w().then(e);var D=C(k,true);var T={};var E="http://www.w3.org/2000/svg";var R="http://www.w3.org/1999/xhtml";var L=e=>e!=null;var A=e=>{e=typeof e;return e==="object"||e==="function"};function M(e){var t,r,n;return(n=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?n:void 0}var F={};n(F,{err:()=>N,map:()=>U,ok:()=>P,unwrap:()=>W,unwrapErr:()=>H});var P=e=>({isOk:true,isErr:false,value:e});var N=e=>({isOk:false,isErr:true,value:e});function U(e,t){if(e.isOk){const r=t(e.value);if(r instanceof Promise){return r.then((e=>P(e)))}else{return P(r)}}if(e.isErr){const t=e.value;return N(t)}throw"should never get here"}var W=e=>{if(e.isOk){return e.value}else{throw e.value}};var H=e=>{if(e.isErr){return e.value}else{throw e.value}};var B=(e,t="")=>{{return()=>{}}};var z=(e,t)=>{{return()=>{}}};var I=(e,t,...r)=>{let n=null;let l=null;let s=null;let i=false;let o=false;const a=[];const f=t=>{for(let r=0;r<t.length;r++){n=t[r];if(Array.isArray(n)){f(n)}else if(n!=null&&typeof n!=="boolean"){if(i=typeof e!=="function"&&!A(n)){n=String(n)}if(i&&o){a[a.length-1].k+=n}else{a.push(i?Q(null,n):n)}o=i}}};f(r);if(t){if(t.key){l=t.key}if(t.name){s=t.name}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,a,K)}const c=Q(e,null);c.C=t;if(a.length>0){c.j=a}{c.O=l}{c.D=s}return c};var Q=(e,t)=>{const r={l:0,T:e,k:t,R:null,j:null};{r.C=null}{r.O=null}{r.D=null}return r};var q={};var G=e=>e&&e.T===q;var K={forEach:(e,t)=>e.map(V).forEach(t),map:(e,t)=>e.map(V).map(t).map(X)};var V=e=>({vattrs:e.C,vchildren:e.j,vkey:e.O,vname:e.D,vtag:e.T,vtext:e.k});var X=e=>{if(typeof e.vtag==="function"){const t={...e.vattrs};if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return I(e.vtag,t,...e.vchildren||[])}const t=Q(e.vtag,e.vtext);t.C=e.vattrs;t.j=e.vchildren;t.O=e.vkey;t.D=e.vname;return t};var _=(e,t)=>{if(e!=null&&!A(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var J=e=>s(e).$hostElement$;var Y=(e,t,r)=>{const n=J(e);return{emit:e=>Z(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}};var Z=(e,t,r)=>{const n=y.ce(t,r);e.dispatchEvent(n);return n};var ee=new WeakMap;var te=(e,t,r)=>{let n=v.get(e);if(g&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}v.set(e,n)};var re=(e,t,r)=>{var n;const l=le(t);const s=v.get(l);e=e.nodeType===11?e:m;if(s){if(typeof s==="string"){e=e.head||e;let r=ee.get(e);let i;if(!r){ee.set(e,r=new Set)}if(!r.has(l)){{i=m.createElement("style");i.innerHTML=s;const r=(n=y.L)!=null?n:M(m);if(r!=null){i.setAttribute("nonce",r)}if(!(t.l&1)){if(e.nodeName==="HEAD"){const t=e.querySelectorAll("link[rel=preconnect]");const r=t.length>0?t[t.length-1].nextSibling:document.querySelector("style");e.insertBefore(i,r)}else if("host"in e){e.prepend(i)}else{e.append(i)}}if(t.l&1&&e.nodeName!=="HEAD"){e.insertBefore(i,null)}}if(t.l&4){i.innerHTML+=p}if(r){r.add(l)}}}else if(!e.adoptedStyleSheets.includes(s)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]}}return l};var ne=e=>{const t=e.i;const r=e.$hostElement$;const n=t.l;const l=B("attachStyles",t.m);const s=re(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10&&n&2){r["s-sc"]=s;r.classList.add(s+"-h");if(n&2){r.classList.add(s+"-s")}}l()};var le=(e,t)=>"sc-"+e.m;var se=(e,t,r,n,l,s)=>{if(r!==n){let i=a(e,t);let o=t.toLowerCase();if(t==="class"){const t=e.classList;const l=oe(r);const s=oe(n);t.remove(...l.filter((e=>e&&!s.includes(e))));t.add(...s.filter((e=>e&&!l.includes(e))))}else if(t==="style"){{for(const t in r){if(!n||n[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in n){if(!r||n[t]!==r[t]){if(t.includes("-")){e.style.setProperty(t,n[t])}else{e.style[t]=n[t]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(a(h,o)){t=o.slice(2)}else{t=o[2]+t.slice(3)}if(r||n){const l=t.endsWith(ae);t=t.replace(fe,"");if(r){y.rel(e,t,r,l)}if(n){y.ael(e,t,n,l)}}}else{const o=A(n);if((i||o&&n!==null)&&!l){try{if(!e.tagName.includes("-")){const l=n==null?"":n;if(t==="list"){i=false}else if(r==null||e[t]!=l){if(typeof e.__lookupSetter__(t)==="function"){e[t]=l}else{e.setAttribute(t,l)}}}else{e[t]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!i||s&4||l)&&!o){n=n===true?"":n;{e.setAttribute(t,n)}}}}};var ie=/\s/;var oe=e=>!e?[]:e.split(ie);var ae="Capture";var fe=new RegExp(ae+"$");var ce=(e,t,r)=>{const n=t.R.nodeType===11&&t.R.host?t.R.host:t.R;const l=e&&e.C||T;const s=t.C||T;{for(const e of ue(Object.keys(l))){if(!(e in s)){se(n,e,l[e],void 0,r,t.l)}}}for(const e of ue(Object.keys(s))){se(n,e,l[e],s[e],r,t.l)}};function ue(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var ve;var de;var pe;var he=false;var me=false;var ye=false;var be=false;var we=(e,r,n,l)=>{var s;const i=r.j[n];let o=0;let a;let f;let c;if(!he){ye=true;if(i.T==="slot"){if(ve){l.classList.add(ve+"-s")}i.l|=i.j?2:1}}if(i.k!==null){a=i.R=m.createTextNode(i.k)}else if(i.l&1){a=i.R=m.createTextNode("")}else{if(!be){be=i.T==="svg"}a=i.R=m.createElementNS(be?E:R,!he&&t.slotRelocation&&i.l&2?"slot-fb":i.T);if(be&&i.T==="foreignObject"){be=false}{ce(null,i,be)}const r=a.getRootNode();const n=!r.querySelector("body");if(!n&&t.scoped&&L(ve)&&a["s-si"]!==ve){a.classList.add(a["s-si"]=ve)}{Fe(a,l)}if(i.j){for(o=0;o<i.j.length;++o){f=we(e,i,o,a);if(f){a.appendChild(f)}}}{if(i.T==="svg"){be=false}else if(a.tagName==="foreignObject"){be=true}}}a["s-hn"]=pe;{if(i.l&(2|1)){a["s-sr"]=true;a["s-cr"]=de;a["s-sn"]=i.D||"";a["s-rf"]=(s=i.C)==null?void 0:s.ref;c=e&&e.j&&e.j[n];if(c&&c.T===i.T&&e.R){{ge(e.R,false)}}}}return a};var ge=(e,r)=>{y.l|=1;const n=Array.from(e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;while(t=t.nextSibling){if(t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===pe){n.push(t)}}}for(let e=n.length-1;e>=0;e--){const t=n[e];if(t["s-hn"]!==pe&&t["s-ol"]){Ae(Oe(t),t,je(t));t["s-ol"].remove();t["s-ol"]=void 0;t["s-sh"]=void 0;ye=true}if(r){ge(t,r)}}y.l&=~1};var $e=(e,t,r,n,l,s)=>{let i=e["s-cr"]&&e["s-cr"].parentNode||e;let o;if(i.shadowRoot&&i.tagName===pe){i=i.shadowRoot}for(;l<=s;++l){if(n[l]){o=we(null,r,l,e);if(o){n[l].R=o;Ae(i,o,je(t))}}}};var Se=(e,t,r)=>{for(let n=t;n<=r;++n){const t=e[n];if(t){const e=t.R;Le(t);if(e){{me=true;if(e["s-ol"]){e["s-ol"].remove()}else{ge(e,true)}}e.remove()}}}};var ke=(e,t,r,n,l=false)=>{let s=0;let i=0;let o=0;let a=0;let f=t.length-1;let c=t[0];let u=t[f];let v=n.length-1;let d=n[0];let p=n[v];let h;let m;while(s<=f&&i<=v){if(c==null){c=t[++s]}else if(u==null){u=t[--f]}else if(d==null){d=n[++i]}else if(p==null){p=n[--v]}else if(Ce(c,d,l)){xe(c,d,l);c=t[++s];d=n[++i]}else if(Ce(u,p,l)){xe(u,p,l);u=t[--f];p=n[--v]}else if(Ce(c,p,l)){if(c.T==="slot"||p.T==="slot"){ge(c.R.parentNode,false)}xe(c,p,l);Ae(e,c.R,u.R.nextSibling);c=t[++s];p=n[--v]}else if(Ce(u,d,l)){if(c.T==="slot"||p.T==="slot"){ge(u.R.parentNode,false)}xe(u,d,l);Ae(e,u.R,c.R);u=t[--f];d=n[++i]}else{o=-1;{for(a=s;a<=f;++a){if(t[a]&&t[a].O!==null&&t[a].O===d.O){o=a;break}}}if(o>=0){m=t[o];if(m.T!==d.T){h=we(t&&t[i],r,o,e)}else{xe(m,d,l);t[o]=void 0;h=m.R}d=n[++i]}else{h=we(t&&t[i],r,i,e);d=n[++i]}if(h){{Ae(Oe(c.R),h,je(c.R))}}}}if(s>f){$e(e,n[v+1]==null?null:n[v+1].R,r,n,i,v)}else if(i>v){Se(t,s,f)}};var Ce=(e,t,r=false)=>{if(e.T===t.T){if(e.T==="slot"){if("A"in e&&r&&e.R.nodeType!==8){return false}return e.D===t.D}if(!r){return e.O===t.O}return true}return false};var je=e=>e&&e["s-ol"]||e;var Oe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode;var xe=(e,r,n=false)=>{const l=r.R=e.R;const s=e.j;const i=r.j;const o=r.T;const a=r.k;let f;if(a===null){{be=o==="svg"?true:o==="foreignObject"?false:be}{if(o==="slot"&&!he);else{ce(e,r,be)}}if(s!==null&&i!==null){ke(l,s,r,i,n)}else if(i!==null){if(e.k!==null){l.textContent=""}$e(l,null,r,i,0,i.length-1)}else if(!n&&t.updatable&&s!==null){Se(s,0,s.length-1)}if(be&&o==="svg"){be=false}}else if(f=l["s-cr"]){f.parentNode.textContent=a}else if(e.k!==a){l.data=a}};var De=e=>{const t=e.childNodes;for(const e of t){if(e.nodeType===1){if(e["s-sr"]){const r=e["s-sn"];e.hidden=false;for(const n of t){if(n!==e){if(n["s-hn"]!==e["s-hn"]||r!==""){if(n.nodeType===1&&(r===n.getAttribute("slot")||r===n["s-sn"])||n.nodeType===3&&r===n["s-sn"]){e.hidden=true;break}}else{if(n.nodeType===1||n.nodeType===3&&n.textContent.trim()!==""){e.hidden=true;break}}}}}De(e)}}};var Te=[];var Ee=e=>{let r;let n;let l;for(const s of e.childNodes){if(s["s-sr"]&&(r=s["s-cr"])&&r.parentNode){n=r.parentNode.childNodes;const e=s["s-sn"];for(l=n.length-1;l>=0;l--){r=n[l];if(!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==s["s-hn"]&&!t.experimentalSlotFixes){if(Re(r,e)){let t=Te.find((e=>e.M===r));me=true;r["s-sn"]=r["s-sn"]||e;if(t){t.M["s-sh"]=s["s-hn"];t.F=s}else{r["s-sh"]=s["s-hn"];Te.push({F:s,M:r})}if(r["s-sr"]){Te.map((e=>{if(Re(e.M,r["s-sn"])){t=Te.find((e=>e.M===r));if(t&&!e.F){e.F=t.F}}}))}}else if(!Te.some((e=>e.M===r))){Te.push({M:r})}}}}if(s.nodeType===1){Ee(s)}}};var Re=(e,t)=>{if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var Le=e=>{{e.C&&e.C.ref&&e.C.ref(null);e.j&&e.j.map(Le)}};var Ae=(e,t,r)=>{const n=e==null?void 0:e.insertBefore(t,r);{Fe(t,e)}return n};var Me=e=>{const t=[];if(e){t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...Me(e.parentElement))}return t};var Fe=(e,t,r=false)=>{var n;if(e&&t&&e.nodeType===1){const l=new Set(Me(t).filter(Boolean));if(l.size){(n=e.classList)==null?void 0:n.add(...e["s-scs"]=[...l]);if(e["s-ol"]||r){for(const t of Array.from(e.childNodes)){Fe(t,e,true)}}}}};var Pe=(e,t,r=false)=>{var n,l,s,i;const o=e.$hostElement$;const a=e.i;const f=e.P||Q(null,null);const c=G(t)?t:I(null,null,t);pe=o.tagName;if(a.N){c.C=c.C||{};a.N.map((([e,t])=>c.C[t]=o[e]))}if(r&&c.C){for(const e of Object.keys(c.C)){if(o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){c.C[e]=o[e]}}}c.T=null;c.l|=4;e.P=c;c.R=f.R=o.shadowRoot||o;{ve=o["s-sc"]}he=(a.l&1)!==0;{de=o["s-cr"];me=false}xe(f,c,r);{y.l|=1;if(ye){Ee(c.R);for(const e of Te){const t=e.M;if(!t["s-ol"]){const e=m.createTextNode("");e["s-nr"]=t;Ae(t.parentNode,t["s-ol"]=e,t)}}for(const e of Te){const t=e.M;const o=e.F;if(o){const e=o.parentNode;let r=o.nextSibling;{let s=(n=t["s-ol"])==null?void 0:n.previousSibling;while(s){let n=(l=s["s-nr"])!=null?l:null;if(n&&n["s-sn"]===t["s-sn"]&&e===n.parentNode){n=n.nextSibling;while(n===t||(n==null?void 0:n["s-sr"])){n=n==null?void 0:n.nextSibling}if(!n||!n["s-nr"]){r=n;break}}s=s.previousSibling}}if(!r&&e!==t.parentNode||t.nextSibling!==r){if(t!==r){if(!t["s-hn"]&&t["s-ol"]){t["s-hn"]=t["s-ol"].parentNode.nodeName}Ae(e,t,r);if(t.nodeType===1){t.hidden=(s=t["s-ih"])!=null?s:false}}}t&&typeof o["s-rf"]==="function"&&o["s-rf"](t)}else{if(t.nodeType===1){if(r){t["s-ih"]=(i=t.hidden)!=null?i:false}t.hidden=true}}}}if(me){De(c.R)}y.l&=~1;Te.length=0}de=void 0};var Ne=(e,t)=>{if(t&&!e.U&&t["s-p"]){t["s-p"].push(new Promise((t=>e.U=t)))}};var Ue=(e,t)=>{{e.l|=16}if(e.l&4){e.l|=512;return}Ne(e,e.W);const r=()=>We(e,t);return D(r)};var We=(e,t)=>{const r=e.$hostElement$;const n=B("scheduleUpdate",e.i.m);const l=e.t;if(!l){throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`)}let s;if(t){{e.l|=256;if(e.H){e.H.map((([e,t])=>Ge(l,e,t)));e.H=void 0}}{s=Ge(l,"componentWillLoad")}}n();return He(s,(()=>ze(e,l,t)))};var He=(e,t)=>Be(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var Be=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var ze=async(e,t,r)=>{var n;const l=e.$hostElement$;const s=B("update",e.i.m);const i=l["s-rc"];if(r){ne(e)}const o=B("render",e.i.m);{Ie(e,t,l,r)}if(i){i.map((e=>e()));l["s-rc"]=void 0}o();s();{const t=(n=l["s-p"])!=null?n:[];const r=()=>Qe(e);if(t.length===0){r()}else{Promise.all(t).then(r);e.l|=4;t.length=0}}};var Ie=(e,t,r,n)=>{try{t=t.render();{e.l&=~16}{e.l|=2}{{{Pe(e,t,n)}}}}catch(t){f(t,e.$hostElement$)}return null};var Qe=e=>{const t=e.i.m;const r=e.$hostElement$;const n=B("postUpdate",t);const l=e.t;const s=e.W;{Ge(l,"componentDidRender")}if(!(e.l&64)){e.l|=64;{Ke(r)}{Ge(l,"componentDidLoad")}n();{e.h(r);if(!s){qe()}}}else{{Ge(l,"componentDidUpdate")}n()}{e.v(r)}{if(e.U){e.U();e.U=void 0}if(e.l&512){x((()=>Ue(e,false)))}e.l&=~(4|512)}};var qe=t=>{{Ke(m.documentElement)}x((()=>Z(h,"appload",{detail:{namespace:e}})))};var Ge=(e,t,r)=>{if(e&&e[t]){try{return e[t](r)}catch(e){f(e)}}return void 0};var Ke=e=>{var r;return e.classList.add((r=t.hydratedSelectorName)!=null?r:"hydrated")};var Ve=(e,t)=>s(e).o.get(t);var Xe=(e,t,r,n)=>{const l=s(e);if(!l){throw new Error(`Couldn't find host element for "${n.m}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`)}const i=l.$hostElement$;const o=l.o.get(t);const a=l.l;const c=l.t;r=_(r,n.B[t][0]);const u=Number.isNaN(o)&&Number.isNaN(r);const v=r!==o&&!u;if((!(a&8)||o===void 0)&&v){l.o.set(t,r);if(c){if(n.I&&a&128){const e=n.I[t];if(e){e.map((e=>{try{c[e](r,o,t)}catch(e){f(e,i)}}))}}if((a&(2|16))===2){Ue(l,false)}}}};var _e=(e,t,r)=>{var n,l;const i=e.prototype;if(t.B||(t.I||e.watchers)){if(e.watchers&&!t.I){t.I=e.watchers}const o=Object.entries((n=t.B)!=null?n:{});o.map((([e,[n]])=>{if(n&31||r&2&&n&32){Object.defineProperty(i,e,{get(){return Ve(this,e)},set(r){Xe(this,e,r,t)},configurable:true,enumerable:true})}else if(r&1&&n&64){Object.defineProperty(i,e,{value(...t){var r;const n=s(this);return(r=n==null?void 0:n.u)==null?void 0:r.then((()=>{var r;return(r=n.t)==null?void 0:r[e](...t)}))}})}}));if(r&1){const r=new Map;i.attributeChangedCallback=function(e,n,l){y.jmp((()=>{var o;const a=r.get(e);if(this.hasOwnProperty(a)){l=this[a];delete this[a]}else if(i.hasOwnProperty(a)&&typeof this[a]==="number"&&this[a]==l){return}else if(a==null){const r=s(this);const i=r==null?void 0:r.l;if(i&&!(i&8)&&i&128&&l!==n){const s=r.t;const i=(o=t.I)==null?void 0:o[e];i==null?void 0:i.forEach((t=>{if(s[t]!=null){s[t].call(s,l,n,e)}}))}return}this[a]=l===null&&typeof this[a]==="boolean"?false:l}))};e.observedAttributes=Array.from(new Set([...Object.keys((l=t.I)!=null?l:{}),...o.filter((([e,t])=>t[0]&15)).map((([e,n])=>{var l;const s=n[1]||e;r.set(s,e);if(n[0]&512){(l=t.N)==null?void 0:l.push([e,s])}return s}))]))}}return e};var Je=async(e,t,r,n)=>{let l;if((t.l&32)===0){t.l|=32;const n=r.$;if(n){const e=u(r);if(e&&"then"in e){const t=z();l=await e;t()}else{l=e}if(!l){throw new Error(`Constructor for "${r.m}#${t.q}" was not found`)}if(!l.isProxied){{r.I=l.watchers}_e(l,r,2);l.isProxied=true}const n=B("createInstance",r.m);{t.l|=8}try{new l(t)}catch(e){f(e)}{t.l&=~8}{t.l|=128}n();Ye(t.t)}else{l=e.constructor;const r=e.localName;customElements.whenDefined(r).then((()=>t.l|=128))}if(l&&l.style){let e;if(typeof l.style==="string"){e=l.style}const t=le(r);if(!v.has(t)){const n=B("registerStyles",r.m);te(t,e,!!(r.l&1));n()}}}const s=t.W;const i=()=>Ue(t,true);if(s&&s["s-rc"]){s["s-rc"].push(i)}else{i()}};var Ye=e=>{{Ge(e,"connectedCallback")}};var Ze=e=>{if((y.l&1)===0){const t=s(e);const r=t.i;const n=B("connectedCallback",r.m);if(!(t.l&1)){t.l|=1;{if(r.l&(4|8)){et(e)}}{let r=e;while(r=r.parentNode||r.host){if(r["s-p"]){Ne(t,t.W=r);break}}}if(r.B){Object.entries(r.B).map((([t,[r]])=>{if(r&31&&e.hasOwnProperty(t)){const r=e[t];delete e[t];e[t]=r}}))}{Je(e,t,r)}}else{lt(e,t,r.G);if(t==null?void 0:t.t){Ye(t.t)}else if(t==null?void 0:t.p){t.p.then((()=>Ye(t.t)))}}n()}};var et=e=>{const t=e["s-cr"]=m.createComment("");t["s-cn"]=true;Ae(e,t,e.firstChild)};var tt=e=>{{Ge(e,"disconnectedCallback")}};var rt=async e=>{if((y.l&1)===0){const t=s(e);{if(t.K){t.K.map((e=>e()));t.K=void 0}}if(t==null?void 0:t.t){tt(t.t)}else if(t==null?void 0:t.p){t.p.then((()=>tt(t.t)))}}};var nt=(e,t={})=>{var r;const n=B();const l=[];const i=t.exclude||[];const a=h.customElements;const f=m.head;const c=f.querySelector("meta[charset]");const u=m.createElement("style");const v=[];let b;let w=true;Object.assign(y,t);y.S=new URL(t.resourcesUrl||"./",m.baseURI).href;let g=false;e.map((e=>{e[1].map((t=>{var r;const n={l:t[0],m:t[1],B:t[2],G:t[3]};if(n.l&4){g=true}{n.B=t[2]}{n.G=t[3]}{n.N=[]}{n.I=(r=t[4])!=null?r:{}}const f=n.m;const c=class extends HTMLElement{constructor(e){super(e);this.hasRegisteredEventListeners=false;e=this;o(e,n);if(n.l&1){{if(!e.shadowRoot){{e.attachShadow({mode:"open"})}}else{if(e.shadowRoot.mode!=="open"){throw new Error(`Unable to re-use existing shadow root for ${n.m}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}}}}connectedCallback(){const e=s(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;lt(this,e,n.G)}if(b){clearTimeout(b);b=null}if(w){v.push(this)}else{y.jmp((()=>Ze(this)))}}disconnectedCallback(){y.jmp((()=>rt(this)))}componentOnReady(){return s(this).p}};n.$=e[0];if(!i.includes(f)&&!a.get(f)){l.push(f);a.define(f,_e(c,n,1))}}))}));if(l.length>0){if(g){u.textContent+=p}{u.textContent+=l.sort()+d}if(u.innerHTML.length){u.setAttribute("data-styles","");const e=(r=y.L)!=null?r:M(m);if(e!=null){u.setAttribute("nonce",e)}f.insertBefore(u,c?c.nextSibling:f.firstChild)}}w=false;if(v.length){v.map((e=>e.connectedCallback()))}else{{y.jmp((()=>b=setTimeout(qe,30)))}}n()};var lt=(e,t,r,n)=>{if(r){r.map((([r,n,l])=>{const s=it(e,r);const i=st(t,l);const o=ot(r);y.ael(s,n,i,o);(t.K=t.K||[]).push((()=>y.rel(s,n,i,o)))}))}};var st=(e,t)=>r=>{var n;try{{if(e.l&256){(n=e.t)==null?void 0:n[t](r)}else{(e.H=e.H||[]).push([t,r])}}}catch(e){f(e)}};var it=(e,t)=>{if(t&8)return h;return e};var ot=e=>b?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;var at=e=>y.L=e;export{q as H,nt as b,Y as c,J as g,I as h,w as p,i as r,at as s};
3
+ //# sourceMappingURL=p-48118ce8.js.map