@six-group/ui-library 0.0.0-insider.d005298 → 0.0.0-insider.d6239e2

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 (1495) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  3. package/dist/cjs/{form-control-8d64e974.js → form-control-b39f1df5.js} +2 -2
  4. package/dist/cjs/{form-control-8d64e974.js.map → form-control-b39f1df5.js.map} +1 -1
  5. package/dist/cjs/index-417a06c8.js +1948 -0
  6. package/dist/cjs/index-417a06c8.js.map +1 -0
  7. package/dist/cjs/loader.cjs.js +5 -3
  8. package/dist/cjs/loader.cjs.js.map +1 -1
  9. package/dist/cjs/{modal-3ce015be.js → modal-bd7fc5bc.js} +1 -18
  10. package/dist/cjs/modal-bd7fc5bc.js.map +1 -0
  11. package/dist/cjs/six-alert.cjs.entry.js +5 -4
  12. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  13. package/dist/cjs/six-avatar.cjs.entry.js +5 -4
  14. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  15. package/dist/cjs/six-badge.cjs.entry.js +5 -4
  16. package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
  17. package/dist/cjs/six-button.cjs.entry.js +7 -5
  18. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  19. package/dist/cjs/six-card.cjs.entry.js +4 -3
  20. package/dist/cjs/six-card.cjs.entry.js.map +1 -1
  21. package/dist/cjs/six-checkbox.cjs.entry.js +128 -0
  22. package/dist/cjs/six-checkbox.cjs.entry.js.map +1 -0
  23. package/dist/cjs/six-datepicker.cjs.entry.js +16 -13
  24. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  25. package/dist/cjs/six-details.cjs.entry.js +6 -5
  26. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  27. package/dist/cjs/six-dialog.cjs.entry.js +12 -30
  28. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  29. package/dist/cjs/six-drawer.cjs.entry.js +13 -30
  30. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  31. package/dist/cjs/{six-dropdown_2.cjs.entry.js → six-dropdown_3.cjs.entry.js} +88 -13
  32. package/dist/cjs/six-dropdown_3.cjs.entry.js.map +1 -0
  33. package/dist/cjs/six-error-page.cjs.entry.js +4 -3
  34. package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
  35. package/dist/cjs/six-error.cjs.entry.js +5 -4
  36. package/dist/cjs/six-error.cjs.entry.js.map +1 -1
  37. package/dist/cjs/six-file-list-item.cjs.entry.js +5 -4
  38. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  39. package/dist/cjs/six-file-list.cjs.entry.js +4 -3
  40. package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
  41. package/dist/cjs/six-file-upload.cjs.entry.js +33 -13
  42. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  43. package/dist/cjs/six-footer.cjs.entry.js +4 -3
  44. package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
  45. package/dist/cjs/six-group-label.cjs.entry.js +5 -4
  46. package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
  47. package/dist/cjs/six-header-dropdown-item.cjs.entry.js +45 -0
  48. package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -0
  49. package/dist/cjs/six-header-item_2.cjs.entry.js +47 -0
  50. package/dist/cjs/six-header-item_2.cjs.entry.js.map +1 -0
  51. package/dist/cjs/six-header-menu-button.cjs.entry.js +23 -0
  52. package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -0
  53. package/dist/cjs/six-header.cjs.entry.js +45 -28
  54. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  55. package/dist/cjs/six-icon-button.cjs.entry.js +13 -6
  56. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  57. package/dist/cjs/six-icon.cjs.entry.js +5 -4
  58. package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
  59. package/dist/cjs/six-input.cjs.entry.js +17 -7
  60. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  61. package/dist/cjs/six-item-picker.cjs.entry.js +6 -5
  62. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
  63. package/dist/cjs/six-language-switcher.cjs.entry.js +11 -6
  64. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
  65. package/dist/cjs/six-layout-grid.cjs.entry.js +4 -3
  66. package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
  67. package/dist/cjs/six-main-container.cjs.entry.js +4 -3
  68. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
  69. package/dist/cjs/six-menu-divider.cjs.entry.js +4 -3
  70. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
  71. package/dist/cjs/six-menu-label.cjs.entry.js +4 -3
  72. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
  73. package/dist/cjs/six-picto.cjs.entry.js +4 -3
  74. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  75. package/dist/cjs/six-progress-bar.cjs.entry.js +6 -5
  76. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  77. package/dist/cjs/six-progress-ring.cjs.entry.js +4 -3
  78. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  79. package/dist/cjs/six-radio.cjs.entry.js +5 -4
  80. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  81. package/dist/cjs/six-range.cjs.entry.js +17 -6
  82. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  83. package/dist/cjs/six-root.cjs.entry.js +4 -3
  84. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  85. package/dist/cjs/six-search-field.cjs.entry.js +4 -3
  86. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
  87. package/dist/cjs/six-select.cjs.entry.js +93 -50
  88. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  89. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +5 -4
  90. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  91. package/dist/cjs/six-sidebar-item.cjs.entry.js +6 -5
  92. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  93. package/dist/cjs/six-sidebar.cjs.entry.js +5 -4
  94. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
  95. package/dist/cjs/six-spinner.cjs.entry.js +41 -7
  96. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  97. package/dist/cjs/six-stage-indicator.cjs.entry.js +3 -2
  98. package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -1
  99. package/dist/cjs/six-switch.cjs.entry.js +6 -5
  100. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  101. package/dist/cjs/six-tab-group.cjs.entry.js +34 -8
  102. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  103. package/dist/cjs/six-tab-panel.cjs.entry.js +4 -3
  104. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
  105. package/dist/cjs/six-tab.cjs.entry.js +5 -4
  106. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  107. package/dist/cjs/six-tag.cjs.entry.js +5 -4
  108. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  109. package/dist/cjs/six-textarea.cjs.entry.js +7 -6
  110. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  111. package/dist/cjs/six-tile.cjs.entry.js +8 -7
  112. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  113. package/dist/cjs/six-timepicker.cjs.entry.js +5 -4
  114. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  115. package/dist/cjs/six-tooltip.cjs.entry.js +5 -4
  116. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
  117. package/dist/cjs/ui-library.cjs.js +13 -11
  118. package/dist/cjs/ui-library.cjs.js.map +1 -1
  119. package/dist/collection/assets/TRADEMARKS.md +3 -3
  120. package/dist/collection/collection-manifest.json +7 -3
  121. package/dist/collection/components/six-alert/six-alert.js +2 -2
  122. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  123. package/dist/collection/components/six-avatar/six-avatar.js +2 -2
  124. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  125. package/dist/collection/components/six-badge/six-badge.js +2 -2
  126. package/dist/collection/components/six-badge/six-badge.js.map +1 -1
  127. package/dist/collection/components/six-button/six-button.css +17 -4
  128. package/dist/collection/components/six-button/six-button.js +5 -4
  129. package/dist/collection/components/six-button/six-button.js.map +1 -1
  130. package/dist/collection/components/six-card/six-card.js +1 -1
  131. package/dist/collection/components/six-card/six-card.js.map +1 -1
  132. package/dist/collection/components/six-checkbox/six-checkbox.css +2 -0
  133. package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
  134. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  135. package/dist/collection/components/six-datepicker/six-datepicker.js +13 -11
  136. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  137. package/dist/collection/components/six-details/six-details.js +3 -3
  138. package/dist/collection/components/six-details/six-details.js.map +1 -1
  139. package/dist/collection/components/six-dialog/six-dialog.js +8 -28
  140. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  141. package/dist/collection/components/six-drawer/six-drawer.js +9 -28
  142. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  143. package/dist/collection/components/six-dropdown/six-dropdown.js +5 -5
  144. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  145. package/dist/collection/components/six-error/six-error.css +1 -0
  146. package/dist/collection/components/six-error/six-error.js +1 -1
  147. package/dist/collection/components/six-error/six-error.js.map +1 -1
  148. package/dist/collection/components/six-error-page/six-error-page.js +1 -1
  149. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
  150. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  151. package/dist/collection/components/six-file-list/six-file-list.js.map +1 -1
  152. package/dist/collection/components/six-file-list-item/six-file-list-item.js +2 -2
  153. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  154. package/dist/collection/components/six-file-upload/six-file-upload.css +11 -0
  155. package/dist/collection/components/six-file-upload/six-file-upload.js +86 -11
  156. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  157. package/dist/collection/components/six-footer/six-footer.js +1 -1
  158. package/dist/collection/components/six-footer/six-footer.js.map +1 -1
  159. package/dist/collection/components/six-group-label/six-group-label.js +1 -1
  160. package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
  161. package/dist/collection/components/six-header/six-header.css +5 -20
  162. package/dist/collection/components/six-header/six-header.js +135 -42
  163. package/dist/collection/components/six-header/six-header.js.map +1 -1
  164. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +15 -0
  165. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +53 -0
  166. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -0
  167. package/dist/collection/components/six-header-item/six-header-item.css +15 -0
  168. package/dist/collection/components/six-header-item/six-header-item.js +51 -0
  169. package/dist/collection/components/six-header-item/six-header-item.js.map +1 -0
  170. package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +27 -0
  171. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +48 -0
  172. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -0
  173. package/dist/collection/components/six-icon/six-icon.js +2 -2
  174. package/dist/collection/components/six-icon/six-icon.js.map +1 -1
  175. package/dist/collection/components/six-icon-button/six-icon-button.css +2 -1
  176. package/dist/collection/components/six-icon-button/six-icon-button.js +60 -3
  177. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  178. package/dist/collection/components/six-input/six-input.css +1 -0
  179. package/dist/collection/components/six-input/six-input.js +41 -5
  180. package/dist/collection/components/six-input/six-input.js.map +1 -1
  181. package/dist/collection/components/six-item-picker/six-item-picker.js +3 -3
  182. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  183. package/dist/collection/components/six-language-switcher/six-language-switcher.css +7 -2
  184. package/dist/collection/components/six-language-switcher/six-language-switcher.js +7 -3
  185. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  186. package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
  187. package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
  188. package/dist/collection/components/six-logo/six-logo.css +18 -0
  189. package/dist/collection/components/six-logo/six-logo.js +54 -0
  190. package/dist/collection/components/six-logo/six-logo.js.map +1 -0
  191. package/dist/collection/components/six-main-container/six-main-container.js +1 -1
  192. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
  193. package/dist/collection/components/six-menu/six-menu.js +13 -4
  194. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  195. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  196. package/dist/collection/components/six-menu-divider/six-menu-divider.js.map +1 -1
  197. package/dist/collection/components/six-menu-item/six-menu-item.js +2 -2
  198. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  199. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  200. package/dist/collection/components/six-menu-label/six-menu-label.js.map +1 -1
  201. package/dist/collection/components/six-picto/six-picto.js +1 -1
  202. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  203. package/dist/collection/components/six-progress-bar/six-progress-bar.js +3 -3
  204. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  205. package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
  206. package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
  207. package/dist/collection/components/six-radio/six-radio.js +2 -2
  208. package/dist/collection/components/six-radio/six-radio.js.map +1 -1
  209. package/dist/collection/components/six-range/six-range.css +1 -1
  210. package/dist/collection/components/six-range/six-range.js +12 -2
  211. package/dist/collection/components/six-range/six-range.js.map +1 -1
  212. package/dist/collection/components/six-root/six-root.js +1 -1
  213. package/dist/collection/components/six-root/six-root.js.map +1 -1
  214. package/dist/collection/components/six-search-field/six-search-field.js +1 -1
  215. package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
  216. package/dist/collection/components/six-select/six-select.js +56 -47
  217. package/dist/collection/components/six-select/six-select.js.map +1 -1
  218. package/dist/collection/components/six-select/util.js +24 -0
  219. package/dist/collection/components/six-select/util.js.map +1 -1
  220. package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
  221. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
  222. package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +7 -0
  223. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
  224. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
  225. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +8 -0
  226. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +1 -1
  227. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  228. package/dist/collection/components/six-spinner/six-spinner.css +45 -0
  229. package/dist/collection/components/six-spinner/six-spinner.js +59 -10
  230. package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
  231. package/dist/collection/components/six-switch/six-switch.js +2 -2
  232. package/dist/collection/components/six-switch/six-switch.js.map +1 -1
  233. package/dist/collection/components/six-tab/six-tab.js +2 -2
  234. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  235. package/dist/collection/components/six-tab-group/six-tab-group.js +33 -7
  236. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  237. package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
  238. package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
  239. package/dist/collection/components/six-tag/six-tag.js +2 -2
  240. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  241. package/dist/collection/components/six-textarea/six-textarea.css +5 -0
  242. package/dist/collection/components/six-textarea/six-textarea.js +4 -4
  243. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
  244. package/dist/collection/components/six-tile/six-tile.js +5 -5
  245. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  246. package/dist/collection/components/six-timepicker/six-timepicker.js +2 -2
  247. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  248. package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
  249. package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
  250. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
  251. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  252. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
  253. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  254. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
  255. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  256. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
  257. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  258. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
  259. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  260. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
  261. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  262. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
  263. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  264. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
  265. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  266. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
  267. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  268. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
  269. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  270. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
  271. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  272. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
  273. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  274. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
  275. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  276. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
  277. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  278. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
  279. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  280. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
  281. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  282. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
  283. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  284. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
  285. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  286. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  287. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  288. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  289. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  290. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  291. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  292. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  293. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  294. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  295. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  296. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  297. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  298. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  299. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  300. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  301. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  302. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  303. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  304. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  305. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  306. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  307. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  308. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  309. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  310. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  311. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  312. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  313. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  314. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  315. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  316. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  317. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  318. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  319. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  320. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  321. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  322. package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
  323. package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  324. package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
  325. package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  326. package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
  327. package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  328. package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
  329. package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  330. package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
  331. package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  332. package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
  333. package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  334. package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
  335. package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  336. package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
  337. package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  338. package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
  339. package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  340. package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
  341. package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  342. package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
  343. package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  344. package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
  345. package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  346. package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
  347. package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  348. package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
  349. package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  350. package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
  351. package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  352. package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
  353. package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  354. package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
  355. package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  356. package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
  357. package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  358. package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
  359. package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
  360. package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
  361. package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
  362. package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
  363. package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
  364. package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
  365. package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
  366. package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
  367. package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
  368. package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
  369. package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
  370. package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
  371. package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
  372. package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
  373. package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
  374. package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
  375. package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
  376. package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
  377. package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
  378. package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
  379. package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
  380. package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
  381. package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
  382. package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
  383. package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
  384. package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
  385. package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
  386. package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
  387. package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
  388. package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
  389. package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
  390. package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
  391. package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
  392. package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
  393. package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
  394. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
  395. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  396. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
  397. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  398. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
  399. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  400. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
  401. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  402. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
  403. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  404. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
  405. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  406. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
  407. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  408. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
  409. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  410. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
  411. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  412. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
  413. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  414. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
  415. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  416. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
  417. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  418. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
  419. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  420. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
  421. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  422. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
  423. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  424. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
  425. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  426. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
  427. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  428. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
  429. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  430. package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
  431. package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
  432. package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
  433. package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
  434. package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
  435. package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
  436. package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
  437. package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
  438. package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
  439. package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
  440. package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
  441. package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
  442. package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
  443. package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
  444. package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
  445. package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
  446. package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
  447. package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
  448. package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
  449. package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
  450. package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
  451. package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
  452. package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
  453. package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
  454. package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
  455. package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
  456. package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
  457. package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
  458. package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
  459. package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
  460. package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
  461. package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
  462. package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
  463. package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
  464. package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
  465. package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
  466. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
  467. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  468. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
  469. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  470. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
  471. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  472. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
  473. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  474. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
  475. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  476. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
  477. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  478. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
  479. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  480. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
  481. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  482. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
  483. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  484. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
  485. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  486. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
  487. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  488. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
  489. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  490. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
  491. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  492. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
  493. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  494. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
  495. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  496. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
  497. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  498. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
  499. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  500. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
  501. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  502. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
  503. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  504. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
  505. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  506. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
  507. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  508. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
  509. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  510. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
  511. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  512. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
  513. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  514. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
  515. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  516. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
  517. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  518. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
  519. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  520. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
  521. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  522. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
  523. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  524. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
  525. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  526. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
  527. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  528. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
  529. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  530. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
  531. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  532. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
  533. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  534. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
  535. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  536. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
  537. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  538. package/dist/collection/utils/alert.js.map +1 -1
  539. package/dist/collection/utils/date-util.js.map +1 -1
  540. package/dist/collection/utils/error-messages.js.map +1 -1
  541. package/dist/collection/utils/event-listeners.js.map +1 -1
  542. package/dist/collection/utils/focus-visible.js.map +1 -1
  543. package/dist/collection/utils/form.js.map +1 -1
  544. package/dist/collection/utils/modal.js.map +1 -1
  545. package/dist/collection/utils/popover.js.map +1 -1
  546. package/dist/collection/utils/popup.js.map +1 -1
  547. package/dist/collection/utils/scroll.js.map +1 -1
  548. package/dist/collection/utils/slot.js.map +1 -1
  549. package/dist/collection/utils/tabbable.js.map +1 -1
  550. package/dist/collection/utils/time.util.js.map +1 -1
  551. package/dist/components/index.js +8 -0
  552. package/dist/components/index.js.map +1 -1
  553. package/dist/components/modal.js +1 -17
  554. package/dist/components/modal.js.map +1 -1
  555. package/dist/components/six-alert.js +4 -3
  556. package/dist/components/six-alert.js.map +1 -1
  557. package/dist/components/six-avatar.js +4 -3
  558. package/dist/components/six-avatar.js.map +1 -1
  559. package/dist/components/six-badge.js +4 -3
  560. package/dist/components/six-badge.js.map +1 -1
  561. package/dist/components/six-button2.js +6 -4
  562. package/dist/components/six-button2.js.map +1 -1
  563. package/dist/components/six-card.js +3 -2
  564. package/dist/components/six-card.js.map +1 -1
  565. package/dist/components/six-checkbox2.js +5 -4
  566. package/dist/components/six-checkbox2.js.map +1 -1
  567. package/dist/components/six-datepicker.js +15 -12
  568. package/dist/components/six-datepicker.js.map +1 -1
  569. package/dist/components/six-details2.js +5 -4
  570. package/dist/components/six-details2.js.map +1 -1
  571. package/dist/components/six-dialog.js +11 -29
  572. package/dist/components/six-dialog.js.map +1 -1
  573. package/dist/components/six-drawer.js +12 -29
  574. package/dist/components/six-drawer.js.map +1 -1
  575. package/dist/components/six-dropdown2.js +7 -6
  576. package/dist/components/six-dropdown2.js.map +1 -1
  577. package/dist/components/six-error-page.js +3 -2
  578. package/dist/components/six-error-page.js.map +1 -1
  579. package/dist/components/six-error2.js +4 -3
  580. package/dist/components/six-error2.js.map +1 -1
  581. package/dist/components/six-file-list-item.js +4 -3
  582. package/dist/components/six-file-list-item.js.map +1 -1
  583. package/dist/components/six-file-list.js +3 -2
  584. package/dist/components/six-file-list.js.map +1 -1
  585. package/dist/components/six-file-upload.js +52 -16
  586. package/dist/components/six-file-upload.js.map +1 -1
  587. package/dist/components/six-footer.js +3 -2
  588. package/dist/components/six-footer.js.map +1 -1
  589. package/dist/components/six-group-label.js +3 -2
  590. package/dist/components/six-group-label.js.map +1 -1
  591. package/dist/components/six-header-dropdown-item.d.ts +11 -0
  592. package/dist/components/six-header-dropdown-item.js +103 -0
  593. package/dist/components/six-header-dropdown-item.js.map +1 -0
  594. package/dist/components/six-header-item.d.ts +11 -0
  595. package/dist/components/six-header-item.js +8 -0
  596. package/dist/components/six-header-item.js.map +1 -0
  597. package/dist/components/six-header-item2.js +39 -0
  598. package/dist/components/six-header-item2.js.map +1 -0
  599. package/dist/components/six-header-menu-button.d.ts +11 -0
  600. package/dist/components/six-header-menu-button.js +57 -0
  601. package/dist/components/six-header-menu-button.js.map +1 -0
  602. package/dist/components/six-header.js +70 -39
  603. package/dist/components/six-header.js.map +1 -1
  604. package/dist/components/six-icon-button2.js +16 -6
  605. package/dist/components/six-icon-button2.js.map +1 -1
  606. package/dist/components/six-icon2.js +4 -3
  607. package/dist/components/six-icon2.js.map +1 -1
  608. package/dist/components/six-input2.js +16 -5
  609. package/dist/components/six-input2.js.map +1 -1
  610. package/dist/components/six-item-picker2.js +5 -4
  611. package/dist/components/six-item-picker2.js.map +1 -1
  612. package/dist/components/six-language-switcher.js +10 -5
  613. package/dist/components/six-language-switcher.js.map +1 -1
  614. package/dist/components/six-layout-grid.js +3 -2
  615. package/dist/components/six-layout-grid.js.map +1 -1
  616. package/dist/components/six-logo.d.ts +11 -0
  617. package/dist/components/six-logo.js +8 -0
  618. package/dist/components/six-logo.js.map +1 -0
  619. package/dist/components/six-logo2.js +42 -0
  620. package/dist/components/six-logo2.js.map +1 -0
  621. package/dist/components/six-main-container.js +3 -2
  622. package/dist/components/six-main-container.js.map +1 -1
  623. package/dist/components/six-menu-divider.js +3 -2
  624. package/dist/components/six-menu-divider.js.map +1 -1
  625. package/dist/components/six-menu-item2.js +4 -3
  626. package/dist/components/six-menu-item2.js.map +1 -1
  627. package/dist/components/six-menu-label.js +3 -2
  628. package/dist/components/six-menu-label.js.map +1 -1
  629. package/dist/components/six-menu2.js +15 -5
  630. package/dist/components/six-menu2.js.map +1 -1
  631. package/dist/components/six-picto2.js +3 -2
  632. package/dist/components/six-picto2.js.map +1 -1
  633. package/dist/components/six-progress-bar.js +5 -4
  634. package/dist/components/six-progress-bar.js.map +1 -1
  635. package/dist/components/six-progress-ring.js +3 -2
  636. package/dist/components/six-progress-ring.js.map +1 -1
  637. package/dist/components/six-radio.js +4 -3
  638. package/dist/components/six-radio.js.map +1 -1
  639. package/dist/components/six-range.js +15 -4
  640. package/dist/components/six-range.js.map +1 -1
  641. package/dist/components/six-root.js +3 -2
  642. package/dist/components/six-root.js.map +1 -1
  643. package/dist/components/six-search-field.js +3 -2
  644. package/dist/components/six-search-field.js.map +1 -1
  645. package/dist/components/six-select.js +91 -48
  646. package/dist/components/six-select.js.map +1 -1
  647. package/dist/components/six-sidebar-item-group.js +4 -3
  648. package/dist/components/six-sidebar-item-group.js.map +1 -1
  649. package/dist/components/six-sidebar-item.js +5 -4
  650. package/dist/components/six-sidebar-item.js.map +1 -1
  651. package/dist/components/six-sidebar.js +4 -3
  652. package/dist/components/six-sidebar.js.map +1 -1
  653. package/dist/components/six-spinner2.js +41 -6
  654. package/dist/components/six-spinner2.js.map +1 -1
  655. package/dist/components/six-stage-indicator2.js +2 -1
  656. package/dist/components/six-stage-indicator2.js.map +1 -1
  657. package/dist/components/six-switch.js +4 -3
  658. package/dist/components/six-switch.js.map +1 -1
  659. package/dist/components/six-tab-group.js +35 -8
  660. package/dist/components/six-tab-group.js.map +1 -1
  661. package/dist/components/six-tab-panel.js +3 -2
  662. package/dist/components/six-tab-panel.js.map +1 -1
  663. package/dist/components/six-tab.js +4 -3
  664. package/dist/components/six-tab.js.map +1 -1
  665. package/dist/components/six-tag.js +4 -3
  666. package/dist/components/six-tag.js.map +1 -1
  667. package/dist/components/six-textarea.js +5 -4
  668. package/dist/components/six-textarea.js.map +1 -1
  669. package/dist/components/six-tile.js +7 -6
  670. package/dist/components/six-tile.js.map +1 -1
  671. package/dist/components/six-timepicker2.js +4 -3
  672. package/dist/components/six-timepicker2.js.map +1 -1
  673. package/dist/components/six-tooltip2.js +4 -3
  674. package/dist/components/six-tooltip2.js.map +1 -1
  675. package/dist/components.d.ts +34 -0
  676. package/dist/components.json +724 -74
  677. package/dist/esm/app-globals-0f993ce5.js +5 -0
  678. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  679. package/dist/esm/{form-control-d403a9cf.js → form-control-ad1710bf.js} +2 -2
  680. package/dist/esm/{form-control-d403a9cf.js.map → form-control-ad1710bf.js.map} +1 -1
  681. package/dist/esm/index-a7bee415.js +1919 -0
  682. package/dist/esm/index-a7bee415.js.map +1 -0
  683. package/dist/esm/loader.js +6 -4
  684. package/dist/esm/loader.js.map +1 -1
  685. package/dist/esm/{modal-96526245.js → modal-6c1288e3.js} +2 -18
  686. package/dist/esm/modal-6c1288e3.js.map +1 -0
  687. package/dist/esm/six-alert.entry.js +5 -4
  688. package/dist/esm/six-alert.entry.js.map +1 -1
  689. package/dist/esm/six-avatar.entry.js +5 -4
  690. package/dist/esm/six-avatar.entry.js.map +1 -1
  691. package/dist/esm/six-badge.entry.js +5 -4
  692. package/dist/esm/six-badge.entry.js.map +1 -1
  693. package/dist/esm/six-button.entry.js +7 -5
  694. package/dist/esm/six-button.entry.js.map +1 -1
  695. package/dist/esm/six-card.entry.js +4 -3
  696. package/dist/esm/six-card.entry.js.map +1 -1
  697. package/dist/esm/six-checkbox.entry.js +124 -0
  698. package/dist/esm/six-checkbox.entry.js.map +1 -0
  699. package/dist/esm/six-datepicker.entry.js +16 -13
  700. package/dist/esm/six-datepicker.entry.js.map +1 -1
  701. package/dist/esm/six-details.entry.js +6 -5
  702. package/dist/esm/six-details.entry.js.map +1 -1
  703. package/dist/esm/six-dialog.entry.js +12 -30
  704. package/dist/esm/six-dialog.entry.js.map +1 -1
  705. package/dist/esm/six-drawer.entry.js +13 -30
  706. package/dist/esm/six-drawer.entry.js.map +1 -1
  707. package/dist/esm/{six-dropdown_2.entry.js → six-dropdown_3.entry.js} +88 -14
  708. package/dist/esm/six-dropdown_3.entry.js.map +1 -0
  709. package/dist/esm/six-error-page.entry.js +4 -3
  710. package/dist/esm/six-error-page.entry.js.map +1 -1
  711. package/dist/esm/six-error.entry.js +5 -4
  712. package/dist/esm/six-error.entry.js.map +1 -1
  713. package/dist/esm/six-file-list-item.entry.js +5 -4
  714. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  715. package/dist/esm/six-file-list.entry.js +4 -3
  716. package/dist/esm/six-file-list.entry.js.map +1 -1
  717. package/dist/esm/six-file-upload.entry.js +33 -13
  718. package/dist/esm/six-file-upload.entry.js.map +1 -1
  719. package/dist/esm/six-footer.entry.js +4 -3
  720. package/dist/esm/six-footer.entry.js.map +1 -1
  721. package/dist/esm/six-group-label.entry.js +5 -4
  722. package/dist/esm/six-group-label.entry.js.map +1 -1
  723. package/dist/esm/six-header-dropdown-item.entry.js +41 -0
  724. package/dist/esm/six-header-dropdown-item.entry.js.map +1 -0
  725. package/dist/esm/six-header-item_2.entry.js +42 -0
  726. package/dist/esm/six-header-item_2.entry.js.map +1 -0
  727. package/dist/esm/six-header-menu-button.entry.js +19 -0
  728. package/dist/esm/six-header-menu-button.entry.js.map +1 -0
  729. package/dist/esm/six-header.entry.js +45 -28
  730. package/dist/esm/six-header.entry.js.map +1 -1
  731. package/dist/esm/six-icon-button.entry.js +13 -6
  732. package/dist/esm/six-icon-button.entry.js.map +1 -1
  733. package/dist/esm/six-icon.entry.js +5 -4
  734. package/dist/esm/six-icon.entry.js.map +1 -1
  735. package/dist/esm/six-input.entry.js +17 -7
  736. package/dist/esm/six-input.entry.js.map +1 -1
  737. package/dist/esm/six-item-picker.entry.js +6 -5
  738. package/dist/esm/six-item-picker.entry.js.map +1 -1
  739. package/dist/esm/six-language-switcher.entry.js +11 -6
  740. package/dist/esm/six-language-switcher.entry.js.map +1 -1
  741. package/dist/esm/six-layout-grid.entry.js +4 -3
  742. package/dist/esm/six-layout-grid.entry.js.map +1 -1
  743. package/dist/esm/six-main-container.entry.js +4 -3
  744. package/dist/esm/six-main-container.entry.js.map +1 -1
  745. package/dist/esm/six-menu-divider.entry.js +4 -3
  746. package/dist/esm/six-menu-divider.entry.js.map +1 -1
  747. package/dist/esm/six-menu-label.entry.js +4 -3
  748. package/dist/esm/six-menu-label.entry.js.map +1 -1
  749. package/dist/esm/six-picto.entry.js +4 -3
  750. package/dist/esm/six-picto.entry.js.map +1 -1
  751. package/dist/esm/six-progress-bar.entry.js +6 -5
  752. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  753. package/dist/esm/six-progress-ring.entry.js +4 -3
  754. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  755. package/dist/esm/six-radio.entry.js +5 -4
  756. package/dist/esm/six-radio.entry.js.map +1 -1
  757. package/dist/esm/six-range.entry.js +17 -6
  758. package/dist/esm/six-range.entry.js.map +1 -1
  759. package/dist/esm/six-root.entry.js +4 -3
  760. package/dist/esm/six-root.entry.js.map +1 -1
  761. package/dist/esm/six-search-field.entry.js +4 -3
  762. package/dist/esm/six-search-field.entry.js.map +1 -1
  763. package/dist/esm/six-select.entry.js +93 -50
  764. package/dist/esm/six-select.entry.js.map +1 -1
  765. package/dist/esm/six-sidebar-item-group.entry.js +5 -4
  766. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  767. package/dist/esm/six-sidebar-item.entry.js +6 -5
  768. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  769. package/dist/esm/six-sidebar.entry.js +5 -4
  770. package/dist/esm/six-sidebar.entry.js.map +1 -1
  771. package/dist/esm/six-spinner.entry.js +41 -7
  772. package/dist/esm/six-spinner.entry.js.map +1 -1
  773. package/dist/esm/six-stage-indicator.entry.js +3 -2
  774. package/dist/esm/six-stage-indicator.entry.js.map +1 -1
  775. package/dist/esm/six-switch.entry.js +6 -5
  776. package/dist/esm/six-switch.entry.js.map +1 -1
  777. package/dist/esm/six-tab-group.entry.js +34 -8
  778. package/dist/esm/six-tab-group.entry.js.map +1 -1
  779. package/dist/esm/six-tab-panel.entry.js +4 -3
  780. package/dist/esm/six-tab-panel.entry.js.map +1 -1
  781. package/dist/esm/six-tab.entry.js +5 -4
  782. package/dist/esm/six-tab.entry.js.map +1 -1
  783. package/dist/esm/six-tag.entry.js +5 -4
  784. package/dist/esm/six-tag.entry.js.map +1 -1
  785. package/dist/esm/six-textarea.entry.js +7 -6
  786. package/dist/esm/six-textarea.entry.js.map +1 -1
  787. package/dist/esm/six-tile.entry.js +8 -7
  788. package/dist/esm/six-tile.entry.js.map +1 -1
  789. package/dist/esm/six-timepicker.entry.js +5 -4
  790. package/dist/esm/six-timepicker.entry.js.map +1 -1
  791. package/dist/esm/six-tooltip.entry.js +5 -4
  792. package/dist/esm/six-tooltip.entry.js.map +1 -1
  793. package/dist/esm/ui-library.js +14 -12
  794. package/dist/esm/ui-library.js.map +1 -1
  795. package/dist/types/components/six-button/six-button.d.ts +1 -1
  796. package/dist/types/components/six-file-upload/six-file-upload.d.ts +11 -1
  797. package/dist/types/components/six-header/six-header.d.ts +81 -18
  798. package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +13 -0
  799. package/dist/types/components/six-header-item/six-header-item.d.ts +15 -0
  800. package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +11 -0
  801. package/dist/types/components/six-icon-button/six-icon-button.d.ts +6 -0
  802. package/dist/types/components/six-input/six-input.d.ts +9 -1
  803. package/dist/types/components/six-logo/six-logo.d.ts +9 -0
  804. package/dist/types/components/six-menu/six-menu.d.ts +1 -1
  805. package/dist/types/components/six-range/six-range.d.ts +2 -0
  806. package/dist/types/components/six-select/six-select.d.ts +0 -2
  807. package/dist/types/components/six-select/util.d.ts +2 -0
  808. package/dist/types/components/six-spinner/six-spinner.d.ts +24 -4
  809. package/dist/types/components/six-tab-group/six-tab-group.d.ts +4 -1
  810. package/dist/types/components.d.ts +263 -11
  811. package/dist/types/stencil-public-runtime.d.ts +3 -10
  812. package/dist/types/utils/type-check.d.ts +1 -1
  813. package/dist/ui-library/assets/TRADEMARKS.md +3 -3
  814. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
  815. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  816. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
  817. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  818. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
  819. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  820. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
  821. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  822. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
  823. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  824. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
  825. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  826. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
  827. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  828. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
  829. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  830. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
  831. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  832. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
  833. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  834. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
  835. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  836. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
  837. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  838. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
  839. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  840. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
  841. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  842. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
  843. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  844. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
  845. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  846. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
  847. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  848. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
  849. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  850. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  851. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  852. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  853. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  854. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  855. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  856. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  857. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  858. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  859. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  860. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  861. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  862. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  863. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  864. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  865. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  866. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  867. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  868. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  869. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  870. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  871. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  872. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  873. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  874. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  875. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  876. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  877. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  878. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  879. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  880. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  881. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  882. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  883. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  884. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  885. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  886. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
  887. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  888. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
  889. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  890. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
  891. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  892. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
  893. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  894. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
  895. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  896. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
  897. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  898. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
  899. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  900. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
  901. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  902. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
  903. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  904. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
  905. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  906. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
  907. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  908. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
  909. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  910. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
  911. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  912. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
  913. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  914. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
  915. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  916. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
  917. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  918. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
  919. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  920. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
  921. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  922. package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
  923. package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
  924. package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
  925. package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
  926. package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
  927. package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
  928. package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
  929. package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
  930. package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
  931. package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
  932. package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
  933. package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
  934. package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
  935. package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
  936. package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
  937. package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
  938. package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
  939. package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
  940. package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
  941. package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
  942. package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
  943. package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
  944. package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
  945. package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
  946. package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
  947. package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
  948. package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
  949. package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
  950. package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
  951. package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
  952. package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
  953. package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
  954. package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
  955. package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
  956. package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
  957. package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
  958. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
  959. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  960. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
  961. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  962. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
  963. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  964. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
  965. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  966. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
  967. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  968. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
  969. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  970. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
  971. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  972. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
  973. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  974. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
  975. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  976. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
  977. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  978. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
  979. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  980. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
  981. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  982. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
  983. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  984. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
  985. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  986. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
  987. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  988. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
  989. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  990. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
  991. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  992. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
  993. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  994. package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
  995. package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
  996. package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
  997. package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
  998. package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
  999. package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
  1000. package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
  1001. package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
  1002. package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
  1003. package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
  1004. package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
  1005. package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
  1006. package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
  1007. package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
  1008. package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
  1009. package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
  1010. package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
  1011. package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
  1012. package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
  1013. package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
  1014. package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
  1015. package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
  1016. package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
  1017. package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
  1018. package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
  1019. package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
  1020. package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
  1021. package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
  1022. package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
  1023. package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
  1024. package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
  1025. package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
  1026. package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
  1027. package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
  1028. package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
  1029. package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
  1030. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
  1031. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  1032. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
  1033. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  1034. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
  1035. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  1036. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
  1037. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  1038. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
  1039. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  1040. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
  1041. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  1042. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
  1043. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  1044. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
  1045. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  1046. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
  1047. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  1048. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
  1049. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  1050. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
  1051. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  1052. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
  1053. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  1054. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
  1055. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  1056. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
  1057. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  1058. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
  1059. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  1060. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
  1061. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  1062. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
  1063. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  1064. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
  1065. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  1066. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
  1067. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  1068. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
  1069. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  1070. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
  1071. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  1072. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
  1073. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  1074. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
  1075. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  1076. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
  1077. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  1078. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
  1079. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  1080. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
  1081. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  1082. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
  1083. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  1084. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
  1085. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  1086. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
  1087. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  1088. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
  1089. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  1090. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
  1091. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  1092. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
  1093. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  1094. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
  1095. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  1096. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
  1097. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  1098. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
  1099. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  1100. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
  1101. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  1102. package/dist/ui-library/index.esm.js.map +1 -1
  1103. package/dist/ui-library/{p-50dae789.entry.js → p-03acec96.entry.js} +2 -2
  1104. package/dist/ui-library/p-03acec96.entry.js.map +1 -0
  1105. package/dist/ui-library/p-06ba4450.js.map +1 -1
  1106. package/dist/ui-library/p-06d562b7.entry.js +2 -0
  1107. package/dist/ui-library/p-06d562b7.entry.js.map +1 -0
  1108. package/dist/ui-library/p-07b6203f.entry.js +2 -0
  1109. package/dist/ui-library/p-07b6203f.entry.js.map +1 -0
  1110. package/dist/ui-library/{p-9c79341d.entry.js → p-0a6b6429.entry.js} +2 -2
  1111. package/dist/ui-library/p-0a6b6429.entry.js.map +1 -0
  1112. package/dist/ui-library/p-0cebf1d2.js.map +1 -1
  1113. package/dist/ui-library/p-14d09601.entry.js +2 -0
  1114. package/dist/ui-library/p-14d09601.entry.js.map +1 -0
  1115. package/dist/ui-library/p-171df3ad.entry.js +2 -0
  1116. package/dist/ui-library/p-171df3ad.entry.js.map +1 -0
  1117. package/dist/ui-library/p-1cc3b56d.entry.js +2 -0
  1118. package/dist/ui-library/p-1cc3b56d.entry.js.map +1 -0
  1119. package/dist/ui-library/p-1cd09d9b.entry.js +2 -0
  1120. package/dist/ui-library/p-1cd09d9b.entry.js.map +1 -0
  1121. package/dist/ui-library/{p-04cc397c.entry.js → p-1f7a0cb5.entry.js} +2 -2
  1122. package/dist/ui-library/p-1f7a0cb5.entry.js.map +1 -0
  1123. package/dist/ui-library/p-2355c444.entry.js +2 -0
  1124. package/dist/ui-library/p-2355c444.entry.js.map +1 -0
  1125. package/dist/ui-library/p-281ffc35.entry.js +2 -0
  1126. package/dist/ui-library/p-281ffc35.entry.js.map +1 -0
  1127. package/dist/ui-library/p-2ad904a7.entry.js +2 -0
  1128. package/dist/ui-library/p-2ad904a7.entry.js.map +1 -0
  1129. package/dist/ui-library/p-30000e86.entry.js +2 -0
  1130. package/dist/ui-library/p-30000e86.entry.js.map +1 -0
  1131. package/dist/ui-library/{p-da7f3dbd.entry.js → p-42cd3588.entry.js} +2 -2
  1132. package/dist/ui-library/p-42cd3588.entry.js.map +1 -0
  1133. package/dist/ui-library/p-48118ce8.js +3 -0
  1134. package/dist/ui-library/p-48118ce8.js.map +1 -0
  1135. package/dist/ui-library/{p-d95e292e.entry.js → p-49019d6c.entry.js} +2 -2
  1136. package/dist/ui-library/p-49019d6c.entry.js.map +1 -0
  1137. package/dist/ui-library/p-4d72b179.entry.js +2 -0
  1138. package/dist/ui-library/p-4d72b179.entry.js.map +1 -0
  1139. package/dist/ui-library/p-4de4ee7a.entry.js +2 -0
  1140. package/dist/ui-library/p-4de4ee7a.entry.js.map +1 -0
  1141. package/dist/ui-library/p-4edde816.entry.js +2 -0
  1142. package/dist/ui-library/p-4edde816.entry.js.map +1 -0
  1143. package/dist/ui-library/p-4f129bb3.entry.js +2 -0
  1144. package/dist/ui-library/p-4f129bb3.entry.js.map +1 -0
  1145. package/dist/ui-library/p-57ea4cb7.entry.js +2 -0
  1146. package/dist/ui-library/p-57ea4cb7.entry.js.map +1 -0
  1147. package/dist/ui-library/p-5ece7986.entry.js +2 -0
  1148. package/dist/ui-library/p-5ece7986.entry.js.map +1 -0
  1149. package/dist/ui-library/p-5f491974.entry.js +2 -0
  1150. package/dist/ui-library/p-5f491974.entry.js.map +1 -0
  1151. package/dist/ui-library/p-5fc9cd7b.entry.js +2 -0
  1152. package/dist/ui-library/p-5fc9cd7b.entry.js.map +1 -0
  1153. package/dist/ui-library/p-618bf750.entry.js +2 -0
  1154. package/dist/ui-library/p-618bf750.entry.js.map +1 -0
  1155. package/dist/ui-library/p-62a1f514.entry.js +2 -0
  1156. package/dist/ui-library/p-62a1f514.entry.js.map +1 -0
  1157. package/dist/ui-library/p-651293e7.js +2 -0
  1158. package/dist/ui-library/p-651293e7.js.map +1 -0
  1159. package/dist/ui-library/p-6513b8ce.entry.js +2 -0
  1160. package/dist/ui-library/p-6513b8ce.entry.js.map +1 -0
  1161. package/dist/ui-library/p-6795e0a9.entry.js +2 -0
  1162. package/dist/ui-library/p-6795e0a9.entry.js.map +1 -0
  1163. package/dist/ui-library/p-6ec126f7.entry.js +2 -0
  1164. package/dist/ui-library/p-6ec126f7.entry.js.map +1 -0
  1165. package/dist/ui-library/p-705e3612.entry.js +2 -0
  1166. package/dist/ui-library/p-705e3612.entry.js.map +1 -0
  1167. package/dist/ui-library/p-70fac778.entry.js +2 -0
  1168. package/dist/ui-library/p-70fac778.entry.js.map +1 -0
  1169. package/dist/ui-library/p-7afdff5c.entry.js +2 -0
  1170. package/dist/ui-library/p-7afdff5c.entry.js.map +1 -0
  1171. package/dist/ui-library/{p-ac57ba5c.entry.js → p-7eb9ae75.entry.js} +2 -2
  1172. package/dist/ui-library/p-7eb9ae75.entry.js.map +1 -0
  1173. package/dist/ui-library/p-7f856f00.js.map +1 -1
  1174. package/dist/ui-library/p-8227aaed.js.map +1 -1
  1175. package/dist/ui-library/p-842b492e.js.map +1 -1
  1176. package/dist/ui-library/p-862d474e.js.map +1 -1
  1177. package/dist/ui-library/{p-961bd001.entry.js → p-870139dc.entry.js} +2 -2
  1178. package/dist/ui-library/p-870139dc.entry.js.map +1 -0
  1179. package/dist/ui-library/p-8bfb4bfc.js.map +1 -1
  1180. package/dist/ui-library/{p-61e66671.js → p-a04460e3.js} +2 -2
  1181. package/dist/ui-library/{p-61e66671.js.map → p-a04460e3.js.map} +1 -1
  1182. package/dist/ui-library/p-a1502802.js.map +1 -1
  1183. package/dist/ui-library/p-a20a702a.entry.js +2 -0
  1184. package/dist/ui-library/p-a20a702a.entry.js.map +1 -0
  1185. package/dist/ui-library/p-adc65fc8.entry.js +2 -0
  1186. package/dist/ui-library/p-adc65fc8.entry.js.map +1 -0
  1187. package/dist/ui-library/p-afb15ea4.entry.js +2 -0
  1188. package/dist/ui-library/p-afb15ea4.entry.js.map +1 -0
  1189. package/dist/ui-library/p-b361d5da.entry.js +2 -0
  1190. package/dist/ui-library/p-b361d5da.entry.js.map +1 -0
  1191. package/dist/ui-library/p-bfb398c6.entry.js +2 -0
  1192. package/dist/ui-library/p-bfb398c6.entry.js.map +1 -0
  1193. package/dist/ui-library/p-cd65e3b2.entry.js +2 -0
  1194. package/dist/ui-library/p-cd65e3b2.entry.js.map +1 -0
  1195. package/dist/ui-library/p-cd79700c.entry.js +2 -0
  1196. package/dist/ui-library/p-cd79700c.entry.js.map +1 -0
  1197. package/dist/ui-library/p-cdc9224d.entry.js +2 -0
  1198. package/dist/ui-library/p-cdc9224d.entry.js.map +1 -0
  1199. package/dist/ui-library/p-cdc94cd6.entry.js +2 -0
  1200. package/dist/ui-library/p-cdc94cd6.entry.js.map +1 -0
  1201. package/dist/ui-library/{p-884c5cf9.entry.js → p-d46acf21.entry.js} +2 -2
  1202. package/dist/ui-library/p-d46acf21.entry.js.map +1 -0
  1203. package/dist/ui-library/p-d67b8482.entry.js +2 -0
  1204. package/dist/ui-library/p-d67b8482.entry.js.map +1 -0
  1205. package/dist/ui-library/p-db193a32.entry.js +2 -0
  1206. package/dist/ui-library/p-db193a32.entry.js.map +1 -0
  1207. package/dist/ui-library/p-e080d5b6.js.map +1 -1
  1208. package/dist/ui-library/p-e1255160.js +2 -0
  1209. package/dist/ui-library/p-e1255160.js.map +1 -0
  1210. package/dist/ui-library/p-e1529ef6.entry.js +2 -0
  1211. package/dist/ui-library/p-e1529ef6.entry.js.map +1 -0
  1212. package/dist/ui-library/p-e181944f.entry.js +2 -0
  1213. package/dist/ui-library/p-e181944f.entry.js.map +1 -0
  1214. package/dist/ui-library/p-e6efc08a.entry.js +2 -0
  1215. package/dist/ui-library/p-e6efc08a.entry.js.map +1 -0
  1216. package/dist/ui-library/p-e9462085.entry.js +2 -0
  1217. package/dist/ui-library/p-e9462085.entry.js.map +1 -0
  1218. package/dist/ui-library/p-ea854ec5.entry.js +2 -0
  1219. package/dist/ui-library/p-ea854ec5.entry.js.map +1 -0
  1220. package/dist/ui-library/p-f12b22bc.entry.js +2 -0
  1221. package/dist/ui-library/p-f12b22bc.entry.js.map +1 -0
  1222. package/dist/ui-library/p-f136a6b2.js.map +1 -1
  1223. package/dist/ui-library/{p-1f5840b5.entry.js → p-f9a1f6ab.entry.js} +2 -2
  1224. package/dist/ui-library/p-f9a1f6ab.entry.js.map +1 -0
  1225. package/dist/ui-library/{p-0440335d.entry.js → p-ffce31da.entry.js} +2 -2
  1226. package/dist/ui-library/p-ffce31da.entry.js.map +1 -0
  1227. package/dist/ui-library/ui-library.css +1 -1
  1228. package/dist/ui-library/ui-library.esm.js +1 -1
  1229. package/dist/ui-library/ui-library.esm.js.map +1 -1
  1230. package/loader/cdn.js +1 -3
  1231. package/loader/index.cjs.js +1 -3
  1232. package/loader/index.d.ts +3 -0
  1233. package/loader/index.es2017.js +1 -3
  1234. package/loader/index.js +1 -3
  1235. package/package.json +8 -20
  1236. package/dist/cjs/index-d7748d51.js +0 -2230
  1237. package/dist/cjs/index-d7748d51.js.map +0 -1
  1238. package/dist/cjs/modal-3ce015be.js.map +0 -1
  1239. package/dist/cjs/six-checkbox_2.cjs.entry.js +0 -190
  1240. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +0 -1
  1241. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +0 -1
  1242. package/dist/collection/components/six-alert/test/six-alert.spec.js +0 -25
  1243. package/dist/collection/components/six-alert/test/six-alert.spec.js.map +0 -1
  1244. package/dist/collection/components/six-avatar/test/six-avatar.spec.js +0 -26
  1245. package/dist/collection/components/six-avatar/test/six-avatar.spec.js.map +0 -1
  1246. package/dist/collection/components/six-badge/test/six-badge.spec.js +0 -20
  1247. package/dist/collection/components/six-badge/test/six-badge.spec.js.map +0 -1
  1248. package/dist/collection/components/six-button/test/six-button.spec.js +0 -69
  1249. package/dist/collection/components/six-button/test/six-button.spec.js.map +0 -1
  1250. package/dist/collection/components/six-card/test/six-card.spec.js +0 -18
  1251. package/dist/collection/components/six-card/test/six-card.spec.js.map +0 -1
  1252. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +0 -83
  1253. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +0 -1
  1254. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +0 -26
  1255. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +0 -1
  1256. package/dist/collection/components/six-details/test/six-details.spec.js +0 -36
  1257. package/dist/collection/components/six-details/test/six-details.spec.js.map +0 -1
  1258. package/dist/collection/components/six-dialog/test/six-dialog.spec.js +0 -34
  1259. package/dist/collection/components/six-dialog/test/six-dialog.spec.js.map +0 -1
  1260. package/dist/collection/components/six-drawer/test/six-drawer.spec.js +0 -34
  1261. package/dist/collection/components/six-drawer/test/six-drawer.spec.js.map +0 -1
  1262. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +0 -147
  1263. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +0 -1
  1264. package/dist/collection/components/six-error-page/test/six-error-page.spec.js +0 -240
  1265. package/dist/collection/components/six-error-page/test/six-error-page.spec.js.map +0 -1
  1266. package/dist/collection/components/six-file-list/test/six-file-list.spec.js +0 -67
  1267. package/dist/collection/components/six-file-list/test/six-file-list.spec.js.map +0 -1
  1268. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js +0 -169
  1269. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js.map +0 -1
  1270. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +0 -103
  1271. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +0 -1
  1272. package/dist/collection/components/six-footer/test/six-footer.spec.js +0 -21
  1273. package/dist/collection/components/six-footer/test/six-footer.spec.js.map +0 -1
  1274. package/dist/collection/components/six-group-label/test/six-group-label.spec.js +0 -45
  1275. package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +0 -1
  1276. package/dist/collection/components/six-header/assets/six-logo.svg +0 -1
  1277. package/dist/collection/components/six-header/test/six-header.spec.js +0 -177
  1278. package/dist/collection/components/six-header/test/six-header.spec.js.map +0 -1
  1279. package/dist/collection/components/six-icon/test/six-icon.spec.js +0 -20
  1280. package/dist/collection/components/six-icon/test/six-icon.spec.js.map +0 -1
  1281. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js +0 -23
  1282. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js.map +0 -1
  1283. package/dist/collection/components/six-input/test/six-input.spec.js +0 -39
  1284. package/dist/collection/components/six-input/test/six-input.spec.js.map +0 -1
  1285. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js +0 -90
  1286. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js.map +0 -1
  1287. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +0 -196
  1288. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +0 -1
  1289. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js +0 -18
  1290. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js.map +0 -1
  1291. package/dist/collection/components/six-main-container/test/six-main-container.spec.js +0 -22
  1292. package/dist/collection/components/six-main-container/test/six-main-container.spec.js.map +0 -1
  1293. package/dist/collection/components/six-menu/test/six-menu.spec.js +0 -93
  1294. package/dist/collection/components/six-menu/test/six-menu.spec.js.map +0 -1
  1295. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js +0 -18
  1296. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js.map +0 -1
  1297. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js +0 -33
  1298. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js.map +0 -1
  1299. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js +0 -20
  1300. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js.map +0 -1
  1301. package/dist/collection/components/six-picto/test/six-picto.spec.js +0 -33
  1302. package/dist/collection/components/six-picto/test/six-picto.spec.js.map +0 -1
  1303. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js +0 -24
  1304. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js.map +0 -1
  1305. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js +0 -26
  1306. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js.map +0 -1
  1307. package/dist/collection/components/six-radio/test/six-radio.spec.js +0 -63
  1308. package/dist/collection/components/six-radio/test/six-radio.spec.js.map +0 -1
  1309. package/dist/collection/components/six-range/test/six-range.spec.js +0 -34
  1310. package/dist/collection/components/six-range/test/six-range.spec.js.map +0 -1
  1311. package/dist/collection/components/six-root/test/six-root.spec.js +0 -36
  1312. package/dist/collection/components/six-root/test/six-root.spec.js.map +0 -1
  1313. package/dist/collection/components/six-search-field/test/six-search-field.spec.js +0 -22
  1314. package/dist/collection/components/six-search-field/test/six-search-field.spec.js.map +0 -1
  1315. package/dist/collection/components/six-select/test/six-select.spec.js +0 -102
  1316. package/dist/collection/components/six-select/test/six-select.spec.js.map +0 -1
  1317. package/dist/collection/components/six-select/test/util.spec.js +0 -81
  1318. package/dist/collection/components/six-select/test/util.spec.js.map +0 -1
  1319. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js +0 -22
  1320. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js.map +0 -1
  1321. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js +0 -50
  1322. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js.map +0 -1
  1323. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +0 -53
  1324. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +0 -1
  1325. package/dist/collection/components/six-spinner/test/six-spinner.spec.js +0 -37
  1326. package/dist/collection/components/six-spinner/test/six-spinner.spec.js.map +0 -1
  1327. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js +0 -117
  1328. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js.map +0 -1
  1329. package/dist/collection/components/six-switch/test/six-switch.spec.js +0 -73
  1330. package/dist/collection/components/six-switch/test/six-switch.spec.js.map +0 -1
  1331. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js +0 -20
  1332. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js.map +0 -1
  1333. package/dist/collection/components/six-tag/test/six-tag.spec.js +0 -54
  1334. package/dist/collection/components/six-tag/test/six-tag.spec.js.map +0 -1
  1335. package/dist/collection/components/six-textarea/test/six-textarea.spec.js +0 -119
  1336. package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +0 -1
  1337. package/dist/collection/components/six-tile/test/six-tile.spec.js +0 -69
  1338. package/dist/collection/components/six-tile/test/six-tile.spec.js.map +0 -1
  1339. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +0 -496
  1340. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +0 -1
  1341. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js +0 -28
  1342. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js.map +0 -1
  1343. package/dist/collection/files/file-list.json +0 -308
  1344. package/dist/collection/files/noto-sans-all-100-italic.woff +0 -0
  1345. package/dist/collection/files/noto-sans-all-100-normal.woff +0 -0
  1346. package/dist/collection/files/noto-sans-all-200-italic.woff +0 -0
  1347. package/dist/collection/files/noto-sans-all-200-normal.woff +0 -0
  1348. package/dist/collection/files/noto-sans-all-300-italic.woff +0 -0
  1349. package/dist/collection/files/noto-sans-all-300-normal.woff +0 -0
  1350. package/dist/collection/files/noto-sans-all-400-italic.woff +0 -0
  1351. package/dist/collection/files/noto-sans-all-400-normal.woff +0 -0
  1352. package/dist/collection/files/noto-sans-all-500-italic.woff +0 -0
  1353. package/dist/collection/files/noto-sans-all-500-normal.woff +0 -0
  1354. package/dist/collection/files/noto-sans-all-600-italic.woff +0 -0
  1355. package/dist/collection/files/noto-sans-all-600-normal.woff +0 -0
  1356. package/dist/collection/files/noto-sans-all-700-italic.woff +0 -0
  1357. package/dist/collection/files/noto-sans-all-700-normal.woff +0 -0
  1358. package/dist/collection/files/noto-sans-all-800-italic.woff +0 -0
  1359. package/dist/collection/files/noto-sans-all-800-normal.woff +0 -0
  1360. package/dist/collection/files/noto-sans-all-900-italic.woff +0 -0
  1361. package/dist/collection/files/noto-sans-all-900-normal.woff +0 -0
  1362. package/dist/collection/utils/date-util.spec.js +0 -995
  1363. package/dist/collection/utils/date-util.spec.js.map +0 -1
  1364. package/dist/collection/utils/scroll.spec.js +0 -122
  1365. package/dist/collection/utils/scroll.spec.js.map +0 -1
  1366. package/dist/collection/utils/support.js +0 -16
  1367. package/dist/collection/utils/support.js.map +0 -1
  1368. package/dist/collection/utils/time.util.spec.js +0 -368
  1369. package/dist/collection/utils/time.util.spec.js.map +0 -1
  1370. package/dist/esm/index-79d4ef67.js +0 -2201
  1371. package/dist/esm/index-79d4ef67.js.map +0 -1
  1372. package/dist/esm/modal-96526245.js.map +0 -1
  1373. package/dist/esm/polyfills/core-js.js +0 -11
  1374. package/dist/esm/polyfills/dom.js +0 -79
  1375. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1376. package/dist/esm/polyfills/index.js +0 -34
  1377. package/dist/esm/polyfills/system.js +0 -6
  1378. package/dist/esm/six-checkbox_2.entry.js +0 -185
  1379. package/dist/esm/six-checkbox_2.entry.js.map +0 -1
  1380. package/dist/esm/six-dropdown_2.entry.js.map +0 -1
  1381. package/dist/types/utils/support.d.ts +0 -1
  1382. package/dist/ui-library/assets/six-logo.svg +0 -1
  1383. package/dist/ui-library/files/file-list.json +0 -308
  1384. package/dist/ui-library/files/noto-sans-all-100-italic.woff +0 -0
  1385. package/dist/ui-library/files/noto-sans-all-100-normal.woff +0 -0
  1386. package/dist/ui-library/files/noto-sans-all-200-italic.woff +0 -0
  1387. package/dist/ui-library/files/noto-sans-all-200-normal.woff +0 -0
  1388. package/dist/ui-library/files/noto-sans-all-300-italic.woff +0 -0
  1389. package/dist/ui-library/files/noto-sans-all-300-normal.woff +0 -0
  1390. package/dist/ui-library/files/noto-sans-all-400-italic.woff +0 -0
  1391. package/dist/ui-library/files/noto-sans-all-400-normal.woff +0 -0
  1392. package/dist/ui-library/files/noto-sans-all-500-italic.woff +0 -0
  1393. package/dist/ui-library/files/noto-sans-all-500-normal.woff +0 -0
  1394. package/dist/ui-library/files/noto-sans-all-600-italic.woff +0 -0
  1395. package/dist/ui-library/files/noto-sans-all-600-normal.woff +0 -0
  1396. package/dist/ui-library/files/noto-sans-all-700-italic.woff +0 -0
  1397. package/dist/ui-library/files/noto-sans-all-700-normal.woff +0 -0
  1398. package/dist/ui-library/files/noto-sans-all-800-italic.woff +0 -0
  1399. package/dist/ui-library/files/noto-sans-all-800-normal.woff +0 -0
  1400. package/dist/ui-library/files/noto-sans-all-900-italic.woff +0 -0
  1401. package/dist/ui-library/files/noto-sans-all-900-normal.woff +0 -0
  1402. package/dist/ui-library/p-0440335d.entry.js.map +0 -1
  1403. package/dist/ui-library/p-04cc397c.entry.js.map +0 -1
  1404. package/dist/ui-library/p-0edd3091.entry.js +0 -2
  1405. package/dist/ui-library/p-0edd3091.entry.js.map +0 -1
  1406. package/dist/ui-library/p-150b7664.entry.js +0 -2
  1407. package/dist/ui-library/p-150b7664.entry.js.map +0 -1
  1408. package/dist/ui-library/p-1f5840b5.entry.js.map +0 -1
  1409. package/dist/ui-library/p-28cc013e.entry.js +0 -2
  1410. package/dist/ui-library/p-28cc013e.entry.js.map +0 -1
  1411. package/dist/ui-library/p-3424bbc0.entry.js +0 -2
  1412. package/dist/ui-library/p-3424bbc0.entry.js.map +0 -1
  1413. package/dist/ui-library/p-348c68a8.entry.js +0 -2
  1414. package/dist/ui-library/p-348c68a8.entry.js.map +0 -1
  1415. package/dist/ui-library/p-3723ca06.entry.js +0 -2
  1416. package/dist/ui-library/p-3723ca06.entry.js.map +0 -1
  1417. package/dist/ui-library/p-37aeac5e.entry.js +0 -2
  1418. package/dist/ui-library/p-37aeac5e.entry.js.map +0 -1
  1419. package/dist/ui-library/p-3d7fb086.entry.js +0 -2
  1420. package/dist/ui-library/p-3d7fb086.entry.js.map +0 -1
  1421. package/dist/ui-library/p-457f7373.entry.js +0 -2
  1422. package/dist/ui-library/p-457f7373.entry.js.map +0 -1
  1423. package/dist/ui-library/p-4a667f31.entry.js +0 -2
  1424. package/dist/ui-library/p-4a667f31.entry.js.map +0 -1
  1425. package/dist/ui-library/p-50dae789.entry.js.map +0 -1
  1426. package/dist/ui-library/p-546e33d9.entry.js +0 -2
  1427. package/dist/ui-library/p-546e33d9.entry.js.map +0 -1
  1428. package/dist/ui-library/p-5db3a705.entry.js +0 -2
  1429. package/dist/ui-library/p-5db3a705.entry.js.map +0 -1
  1430. package/dist/ui-library/p-6296779b.entry.js +0 -2
  1431. package/dist/ui-library/p-6296779b.entry.js.map +0 -1
  1432. package/dist/ui-library/p-64b4755d.entry.js +0 -2
  1433. package/dist/ui-library/p-64b4755d.entry.js.map +0 -1
  1434. package/dist/ui-library/p-6c1b046e.entry.js +0 -2
  1435. package/dist/ui-library/p-6c1b046e.entry.js.map +0 -1
  1436. package/dist/ui-library/p-7115316e.entry.js +0 -2
  1437. package/dist/ui-library/p-7115316e.entry.js.map +0 -1
  1438. package/dist/ui-library/p-73dd493f.entry.js +0 -2
  1439. package/dist/ui-library/p-73dd493f.entry.js.map +0 -1
  1440. package/dist/ui-library/p-870b988d.entry.js +0 -2
  1441. package/dist/ui-library/p-870b988d.entry.js.map +0 -1
  1442. package/dist/ui-library/p-884c5cf9.entry.js.map +0 -1
  1443. package/dist/ui-library/p-8888a367.entry.js +0 -2
  1444. package/dist/ui-library/p-8888a367.entry.js.map +0 -1
  1445. package/dist/ui-library/p-8ced18d8.entry.js +0 -2
  1446. package/dist/ui-library/p-8ced18d8.entry.js.map +0 -1
  1447. package/dist/ui-library/p-935c78a7.entry.js +0 -2
  1448. package/dist/ui-library/p-935c78a7.entry.js.map +0 -1
  1449. package/dist/ui-library/p-961bd001.entry.js.map +0 -1
  1450. package/dist/ui-library/p-998de05d.js +0 -2
  1451. package/dist/ui-library/p-998de05d.js.map +0 -1
  1452. package/dist/ui-library/p-9b08068d.entry.js +0 -2
  1453. package/dist/ui-library/p-9b08068d.entry.js.map +0 -1
  1454. package/dist/ui-library/p-9c79341d.entry.js.map +0 -1
  1455. package/dist/ui-library/p-a9c159f2.entry.js +0 -2
  1456. package/dist/ui-library/p-a9c159f2.entry.js.map +0 -1
  1457. package/dist/ui-library/p-ac57ba5c.entry.js.map +0 -1
  1458. package/dist/ui-library/p-af15381b.js +0 -3
  1459. package/dist/ui-library/p-af15381b.js.map +0 -1
  1460. package/dist/ui-library/p-b1a5f3cd.entry.js +0 -2
  1461. package/dist/ui-library/p-b1a5f3cd.entry.js.map +0 -1
  1462. package/dist/ui-library/p-b385a241.entry.js +0 -2
  1463. package/dist/ui-library/p-b385a241.entry.js.map +0 -1
  1464. package/dist/ui-library/p-b74c5d6b.entry.js +0 -2
  1465. package/dist/ui-library/p-b74c5d6b.entry.js.map +0 -1
  1466. package/dist/ui-library/p-bf2fb53f.entry.js +0 -2
  1467. package/dist/ui-library/p-bf2fb53f.entry.js.map +0 -1
  1468. package/dist/ui-library/p-c2c7370b.entry.js +0 -2
  1469. package/dist/ui-library/p-c2c7370b.entry.js.map +0 -1
  1470. package/dist/ui-library/p-caea1eb6.entry.js +0 -2
  1471. package/dist/ui-library/p-caea1eb6.entry.js.map +0 -1
  1472. package/dist/ui-library/p-d3f5b9a8.entry.js +0 -2
  1473. package/dist/ui-library/p-d3f5b9a8.entry.js.map +0 -1
  1474. package/dist/ui-library/p-d42b18eb.entry.js +0 -2
  1475. package/dist/ui-library/p-d42b18eb.entry.js.map +0 -1
  1476. package/dist/ui-library/p-d95e292e.entry.js.map +0 -1
  1477. package/dist/ui-library/p-da7f3dbd.entry.js.map +0 -1
  1478. package/dist/ui-library/p-dfb89b6a.entry.js +0 -2
  1479. package/dist/ui-library/p-dfb89b6a.entry.js.map +0 -1
  1480. package/dist/ui-library/p-e6032375.entry.js +0 -2
  1481. package/dist/ui-library/p-e6032375.entry.js.map +0 -1
  1482. package/dist/ui-library/p-e60d2324.entry.js +0 -2
  1483. package/dist/ui-library/p-e60d2324.entry.js.map +0 -1
  1484. package/dist/ui-library/p-e8298c6e.entry.js +0 -2
  1485. package/dist/ui-library/p-e8298c6e.entry.js.map +0 -1
  1486. package/dist/ui-library/p-ed279165.entry.js +0 -2
  1487. package/dist/ui-library/p-ed279165.entry.js.map +0 -1
  1488. package/dist/ui-library/p-ed61b75c.entry.js +0 -2
  1489. package/dist/ui-library/p-ed61b75c.entry.js.map +0 -1
  1490. package/dist/ui-library/p-f1ab3384.entry.js +0 -2
  1491. package/dist/ui-library/p-f1ab3384.entry.js.map +0 -1
  1492. package/dist/ui-library/p-f4ef481c.entry.js +0 -2
  1493. package/dist/ui-library/p-f4ef481c.entry.js.map +0 -1
  1494. package/dist/ui-library/p-f8cbb8da.entry.js +0 -2
  1495. package/dist/ui-library/p-f8cbb8da.entry.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"six-sidebar.js","sourceRoot":"","sources":["../../../src/components/six-sidebar/six-sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE9F,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,MAAM,kBAAkB,GAAG,CAAC,IAAqB,EAAW,EAAE,WAC5D,OAAA,CAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,WAAW,EAAE,MAAK,wBAAwB,CAAA,EAAA,CAAC;AAE5D;;;;;GAKG;AAOH,MAAM,OAAO,UAAU;;QACb,aAAQ,GAAG,KAAK,CAAC;QACjB,aAAQ,GAAG,KAAK,CAAC;QAyCjB,wBAAmB,GAAG,CAAC,KAAsB,EAAE,EAAE;YACvD,MAAM,MAAM,GAAG,KAAK,CAAC,MAAqB,CAAC;YAE3C,6EAA6E;YAC7E,IAAI,KAAK,CAAC,IAAI,KAAK,eAAe,IAAI,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,oBAAoB,CAAC,EAAE;gBACrF,IAAI,CAAC,wBAAwB,EAAE,CAAC;aACjC;QACH,CAAC,CAAC;QAoBM,8BAAyB,GAAG,CAAC,KAAY,EAAE,EAAE;YACnD,MAAM,eAAe,GAAG,KAAK,CAAC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zC,eAAQ,CACJ,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { scrollIntoView } from '../../utils/scroll';\n\nconst isSidebarItemGroup = (node?: Element | null): boolean =>\n node?.tagName?.toLowerCase() === 'six-sidebar-item-group';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the nested side bar [group] items.\n */\n\n@Component({\n tag: 'six-sidebar',\n styleUrl: 'six-sidebar.scss',\n shadow: true,\n})\nexport class SixSidebar {\n private willShow = false;\n private willHide = false;\n\n private sidebar?: HTMLElement;\n\n @State() isVisible = false;\n\n /** Sidebar position */\n @Prop() position: 'left' | 'right' = 'left';\n\n /** Indicates whether the sidebar is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Sidebar width */\n @Prop() width = '16rem';\n\n /** Define whether sidebar is toggled meaning only one menu can be open at the same time*/\n @Prop() toggled = false;\n\n /** Emitted when the sidebar opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-sidebar-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the sidebar opens and all transitions are complete. */\n @Event({ eventName: 'six-sidebar-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the sidebar closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-sidebar-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the sidebar closes and all transitions are complete. */\n @Event({ eventName: 'six-sidebar-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the sidebar opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the sidebar, such as an input or button.\n */\n @Event({ eventName: 'six-sidebar-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.type === 'transitionend' && target.classList.contains('sidebar__container')) {\n this.resetTransitionVariables();\n }\n };\n\n componentWillLoad() {\n // Show on init if open\n if (this.open) {\n void this.show();\n // if the sidebar is open by default we need to manually reset the\n // transition variables since there will be no transition event\n this.resetTransitionVariables();\n }\n }\n\n componentDidRender() {\n this.setupTogglableMenuItems();\n }\n\n disconnectedCallback() {\n this.sidebar?.removeEventListener('six-details-show', this.closeSiblingDetailsOnShow);\n }\n\n private closeSiblingDetailsOnShow = (event: Event) => {\n const clickedMenuItem = event.target as HTMLElement;\n if (this.sidebar != null) {\n scrollIntoView(clickedMenuItem, this.sidebar);\n }\n\n const closeAllSiblingsBySiblingProperty = (\n getSibling: (node: Element | null | undefined) => Element | null | undefined\n ) => {\n let node: Element | null | undefined = clickedMenuItem;\n while (getSibling(node) != null) {\n node = getSibling(node);\n if (isSidebarItemGroup(node)) {\n const detailsElement = node?.shadowRoot?.querySelector('six-details');\n if (detailsElement != null) {\n detailsElement.open = false;\n }\n }\n }\n };\n\n // close all previous siblings\n closeAllSiblingsBySiblingProperty((node) => node?.previousElementSibling);\n // close all further siblings\n closeAllSiblingsBySiblingProperty((node) => node?.nextElementSibling);\n };\n\n private setupTogglableMenuItems() {\n if (!this.toggled || this.sidebar == null) return;\n this.markAllMenuItemsAsSelectableEmpty();\n this.sidebar.addEventListener('six-details-show', this.closeSiblingDetailsOnShow);\n }\n\n private markAllMenuItemsAsSelectableEmpty() {\n // when you have a toggled menu you also want to close other menu items when you click on an item without children\n // nice benefit this item will then also be highlighted\n const slot = this.sidebar?.querySelector('slot');\n const nodes = slot?.assignedElements() || [];\n\n // since we don't just want to make the top level empty menuItems selectable in toggled mode,\n // but also nested items we need to traverse the whole menu item tree\n const menuItems = [];\n while (nodes.length > 0) {\n const node = nodes.pop();\n if (node?.shadowRoot == null) {\n continue;\n }\n\n // collect six-details in the current shadowDOM\n const menuItemsForCurrentNode = node.shadowRoot.querySelectorAll('six-details');\n menuItems.push(...menuItemsForCurrentNode);\n\n // collect all six-sidebar-item-group children of the current node to afterwards check their shadowDOM too\n const newItemGroups = Array.from(node.children).filter(isSidebarItemGroup);\n nodes.push(...newItemGroups);\n }\n\n menuItems.forEach((details) => (details.selectableEmpty = true));\n }\n\n /** Toggles whether the sidebar should be shown or hidden */\n @Method()\n async toggle() {\n if (this.willShow || this.willHide) {\n return;\n }\n\n if (this.open) {\n await this.hide();\n } else {\n await this.show();\n }\n }\n\n /** Shows the sidebar */\n @Method()\n async show() {\n if (this.willShow) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n }\n\n /** Hides the sidebar */\n @Method()\n async hide() {\n if (this.willHide) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n }\n\n /** Allows to select a menu item programmatically by index */\n @Method()\n async selectItemByIndex(index: number) {\n if (this.sidebar == null) return;\n\n const slot = this.sidebar.querySelector('slot');\n const menuItemsOnRootLevel: HTMLSixDetailsElement[] = (slot?.assignedElements() || []).flatMap((el) => {\n const detailsElement = el.shadowRoot?.querySelector('six-details');\n if (detailsElement == null) {\n return [];\n }\n return [detailsElement];\n });\n if (index < 0 || index > menuItemsOnRootLevel.length - 1) {\n console.error(\n `Tried to access sidebar menu item by index, but provided index out of range. Provided index: ${index}`\n );\n return;\n }\n await menuItemsOnRootLevel[index].show();\n }\n\n /** Allows to select a menu item programmatically by name */\n @Method()\n async selectItemByName(value: string) {\n const slot = this.sidebar?.querySelector('slot');\n const sidebarItemGroups = slot?.assignedElements() as HTMLSixSidebarItemGroupElement[];\n if (sidebarItemGroups == null) {\n return;\n }\n\n const indexOfSelectedElement = sidebarItemGroups.findIndex((el) => el?.name === value);\n const selectedItem = sidebarItemGroups.at(indexOfSelectedElement)?.shadowRoot?.querySelector('six-details');\n await selectedItem?.show();\n }\n\n private resetTransitionVariables() {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n\n render() {\n return (\n <host class=\"six-sidebar\">\n <div\n class={{\n sidebar__container: true,\n 'sidebar--visible': this.isVisible,\n 'sidebar--open': this.open,\n 'sidebar--left': this.position === 'left',\n 'sidebar--right': this.position === 'right',\n }}\n style={{\n width: this.width,\n [`margin-${this.position}`]: this.open ? '0' : `calc(1rem - ${this.width})`,\n }}\n ref={(el) => (this.sidebar = el)}\n aria-hidden={this.open ? 'false' : 'true'}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <slot />\n </div>\n </host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-sidebar.js","sourceRoot":"","sources":["../../../src/components/six-sidebar/six-sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE9F,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,MAAM,kBAAkB,GAAG,CAAC,IAAqB,EAAW,EAAE,WAC5D,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Emitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { scrollIntoView } from '../../utils/scroll';\n\nconst isSidebarItemGroup = (node?: Element | null): boolean =>\n node?.tagName?.toLowerCase() === 'six-sidebar-item-group';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the nested side bar [group] items.\n */\n\n@Component({\n tag: 'six-sidebar',\n styleUrl: 'six-sidebar.scss',\n shadow: true,\n})\nexport class SixSidebar {\n private willShow = false;\n private willHide = false;\n\n private sidebar?: HTMLElement;\n\n @State() isVisible = false;\n\n /** Sidebar position */\n @Prop() position: 'left' | 'right' = 'left';\n\n /** Indicates whether the sidebar is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Sidebar width */\n @Prop() width = '16rem';\n\n /** Define whether sidebar is toggled meaning only one menu can be open at the same time*/\n @Prop() toggled = false;\n\n /** Emitted when the sidebar opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-sidebar-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the sidebar opens and all transitions are complete. */\n @Event({ eventName: 'six-sidebar-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the sidebar closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-sidebar-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the sidebar closes and all transitions are complete. */\n @Event({ eventName: 'six-sidebar-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the sidebar opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the sidebar, such as an input or button.\n */\n @Event({ eventName: 'six-sidebar-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.type === 'transitionend' && target.classList.contains('sidebar__container')) {\n this.resetTransitionVariables();\n }\n };\n\n componentWillLoad() {\n // Show on init if open\n if (this.open) {\n void this.show();\n // if the sidebar is open by default we need to manually reset the\n // transition variables since there will be no transition event\n this.resetTransitionVariables();\n }\n }\n\n componentDidRender() {\n this.setupTogglableMenuItems();\n }\n\n disconnectedCallback() {\n this.sidebar?.removeEventListener('six-details-show', this.closeSiblingDetailsOnShow);\n }\n\n private closeSiblingDetailsOnShow = (event: Event) => {\n const clickedMenuItem = event.target as HTMLElement;\n if (this.sidebar != null) {\n scrollIntoView(clickedMenuItem, this.sidebar);\n }\n\n const closeAllSiblingsBySiblingProperty = (\n getSibling: (node: Element | null | undefined) => Element | null | undefined\n ) => {\n let node: Element | null | undefined = clickedMenuItem;\n while (getSibling(node) != null) {\n node = getSibling(node);\n if (isSidebarItemGroup(node)) {\n const detailsElement = node?.shadowRoot?.querySelector('six-details');\n if (detailsElement != null) {\n detailsElement.open = false;\n }\n }\n }\n };\n\n // close all previous siblings\n closeAllSiblingsBySiblingProperty((node) => node?.previousElementSibling);\n // close all further siblings\n closeAllSiblingsBySiblingProperty((node) => node?.nextElementSibling);\n };\n\n private setupTogglableMenuItems() {\n if (!this.toggled || this.sidebar == null) return;\n this.markAllMenuItemsAsSelectableEmpty();\n this.sidebar.addEventListener('six-details-show', this.closeSiblingDetailsOnShow);\n }\n\n private markAllMenuItemsAsSelectableEmpty() {\n // when you have a toggled menu you also want to close other menu items when you click on an item without children\n // nice benefit this item will then also be highlighted\n const slot = this.sidebar?.querySelector('slot');\n const nodes = slot?.assignedElements() || [];\n\n // since we don't just want to make the top level empty menuItems selectable in toggled mode,\n // but also nested items we need to traverse the whole menu item tree\n const menuItems = [];\n while (nodes.length > 0) {\n const node = nodes.pop();\n if (node?.shadowRoot == null) {\n continue;\n }\n\n // collect six-details in the current shadowDOM\n const menuItemsForCurrentNode = node.shadowRoot.querySelectorAll('six-details');\n menuItems.push(...menuItemsForCurrentNode);\n\n // collect all six-sidebar-item-group children of the current node to afterwards check their shadowDOM too\n const newItemGroups = Array.from(node.children).filter(isSidebarItemGroup);\n nodes.push(...newItemGroups);\n }\n\n menuItems.forEach((details) => (details.selectableEmpty = true));\n }\n\n /** Toggles whether the sidebar should be shown or hidden */\n @Method()\n async toggle() {\n if (this.willShow || this.willHide) {\n return;\n }\n\n if (this.open) {\n await this.hide();\n } else {\n await this.show();\n }\n }\n\n /** Shows the sidebar */\n @Method()\n async show() {\n if (this.willShow) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n }\n\n /** Hides the sidebar */\n @Method()\n async hide() {\n if (this.willHide) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n }\n\n /** Allows to select a menu item programmatically by index */\n @Method()\n async selectItemByIndex(index: number) {\n if (this.sidebar == null) return;\n\n const slot = this.sidebar.querySelector('slot');\n const menuItemsOnRootLevel: HTMLSixDetailsElement[] = (slot?.assignedElements() || []).flatMap((el) => {\n const detailsElement = el.shadowRoot?.querySelector('six-details');\n if (detailsElement == null) {\n return [];\n }\n return [detailsElement];\n });\n if (index < 0 || index > menuItemsOnRootLevel.length - 1) {\n console.error(\n `Tried to access sidebar menu item by index, but provided index out of range. Provided index: ${index}`\n );\n return;\n }\n await menuItemsOnRootLevel[index].show();\n }\n\n /** Allows to select a menu item programmatically by name */\n @Method()\n async selectItemByName(value: string) {\n const slot = this.sidebar?.querySelector('slot');\n const sidebarItemGroups = slot?.assignedElements() as HTMLSixSidebarItemGroupElement[];\n if (sidebarItemGroups == null) {\n return;\n }\n\n const indexOfSelectedElement = sidebarItemGroups.findIndex((el) => el?.name === value);\n const selectedItem = sidebarItemGroups.at(indexOfSelectedElement)?.shadowRoot?.querySelector('six-details');\n await selectedItem?.show();\n }\n\n private resetTransitionVariables() {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n\n render() {\n return (\n <host class=\"six-sidebar\">\n <div\n class={{\n sidebar__container: true,\n 'sidebar--visible': this.isVisible,\n 'sidebar--open': this.open,\n 'sidebar--left': this.position === 'left',\n 'sidebar--right': this.position === 'right',\n }}\n style={{\n width: this.width,\n [`margin-${this.position}`]: this.open ? '0' : `calc(1rem - ${this.width})`,\n }}\n ref={(el) => (this.sidebar = el)}\n aria-hidden={this.open ? 'false' : 'true'}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <slot />\n </div>\n </host>\n );\n }\n}\n"]}
@@ -24,4 +24,11 @@ a {
24
24
  }
25
25
  .sidebar-item.sidebar-item--selected {
26
26
  font-weight: var(--six-font-weight-bold);
27
+ }
28
+ .sidebar-item:focus {
29
+ outline: none;
30
+ }
31
+ .sidebar-item:focus-visible {
32
+ outline: var(--six-focus-ring);
33
+ outline-offset: var(--six-focus-ring-offset);
27
34
  }
@@ -14,11 +14,11 @@ export class SixSidebarItem {
14
14
  }
15
15
  render() {
16
16
  const Tag = this.href != null ? 'a' : 'div';
17
- return (h(Tag, { class: {
17
+ return (h(Tag, { key: '5618f9f2b4351163ed14c415ba2b4d010a3e987e', class: {
18
18
  'sidebar-item': true,
19
19
  'sidebar-item--selected': this.selected,
20
20
  'sidebar-item--disabled': this.disabled,
21
- }, role: "menuitem", href: this.href, "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, h("slot", null)));
21
+ }, role: "menuitem", href: this.href, "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, h("slot", { key: '4a0d18c33ba2c73f417374e39db25fe7c4a6a960' })));
22
22
  }
23
23
  static get is() { return "six-sidebar-item"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-sidebar-item.js","sourceRoot":"","sources":["../../../src/components/six-sidebar-item/six-sidebar-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;GAKG;AAOH,MAAM,OAAO,cAAc;;qBAEQ,EAAE;wBAGC,KAAK;wBAGL,KAAK;;;IAQzC,MAAM;QACJ,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC;QAC5C,OAAO,CACL,EAAC,GAAG,IACF,KAAK,EAAE;gBACL,cAAc,EAAE,IAAI;gBACpB,wBAAwB,EAAE,IAAI,CAAC,QAAQ;gBACvC,wBAAwB,EAAE,IAAI,CAAC,QAAQ;aACxC,EACD,IAAI,EAAC,UAAU,EACf,IAAI,EAAE,IAAI,CAAC,IAAI,mBACA,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,mBAChC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;YAE/C,eAAa,CACT,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the nested displayed text of the item.\n */\n\n@Component({\n tag: 'six-sidebar-item',\n styleUrl: 'six-sidebar-item.scss',\n shadow: true,\n})\nexport class SixSidebarItem {\n /** A unique value to store in the sidebar item. This can be used as a way to identify sidebar items when selected. */\n @Prop({ reflect: true }) value = '';\n\n /** Set to true to draw the item in a selected state. */\n @Prop({ reflect: true }) selected = false;\n\n /** Set to true to draw the sidebar item in a disabled state. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * Provide if the item should be rendered as anchor tag.\n * Note, that the href is added automatically when using routerLink in Angular.\n */\n @Prop({ reflect: true }) href: string | undefined;\n\n render() {\n const Tag = this.href != null ? 'a' : 'div';\n return (\n <Tag\n class={{\n 'sidebar-item': true,\n 'sidebar-item--selected': this.selected,\n 'sidebar-item--disabled': this.disabled,\n }}\n role=\"menuitem\"\n href={this.href}\n aria-selected={this.selected ? 'true' : 'false'}\n aria-disabled={this.disabled ? 'true' : 'false'}\n >\n <slot></slot>\n </Tag>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-sidebar-item.js","sourceRoot":"","sources":["../../../src/components/six-sidebar-item/six-sidebar-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;GAKG;AAOH,MAAM,OAAO,cAAc;;qBAEQ,EAAE;wBAGC,KAAK;wBAGL,KAAK;;;IAQzC,MAAM;QACJ,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC;QAC5C,OAAO,CACL,EAAC,GAAG,qDACF,KAAK,EAAE;gBACL,cAAc,EAAE,IAAI;gBACpB,wBAAwB,EAAE,IAAI,CAAC,QAAQ;gBACvC,wBAAwB,EAAE,IAAI,CAAC,QAAQ;aACxC,EACD,IAAI,EAAC,UAAU,EACf,IAAI,EAAE,IAAI,CAAC,IAAI,mBACA,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,mBAChC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;YAE/C,8DAAa,CACT,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the nested displayed text of the item.\n */\n\n@Component({\n tag: 'six-sidebar-item',\n styleUrl: 'six-sidebar-item.scss',\n shadow: true,\n})\nexport class SixSidebarItem {\n /** A unique value to store in the sidebar item. This can be used as a way to identify sidebar items when selected. */\n @Prop({ reflect: true }) value = '';\n\n /** Set to true to draw the item in a selected state. */\n @Prop({ reflect: true }) selected = false;\n\n /** Set to true to draw the sidebar item in a disabled state. */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * Provide if the item should be rendered as anchor tag.\n * Note, that the href is added automatically when using routerLink in Angular.\n */\n @Prop({ reflect: true }) href: string | undefined;\n\n render() {\n const Tag = this.href != null ? 'a' : 'div';\n return (\n <Tag\n class={{\n 'sidebar-item': true,\n 'sidebar-item--selected': this.selected,\n 'sidebar-item--disabled': this.disabled,\n }}\n role=\"menuitem\"\n href={this.href}\n aria-selected={this.selected ? 'true' : 'false'}\n aria-disabled={this.disabled ? 'true' : 'false'}\n >\n <slot></slot>\n </Tag>\n );\n }\n}\n"]}
@@ -29,6 +29,7 @@
29
29
 
30
30
  .six-sidebar-details__header {
31
31
  display: flex;
32
+ overflow-wrap: anywhere;
32
33
  }
33
34
 
34
35
  .six-sidebar-details__header-icon {
@@ -40,4 +41,11 @@
40
41
  display: block;
41
42
  color: inherit;
42
43
  width: 100%;
44
+ }
45
+ .six-sidebar-details__link:focus {
46
+ outline: none;
47
+ }
48
+ .six-sidebar-details__link:focus-visible {
49
+ outline: var(--six-focus-ring);
50
+ outline-offset: calc(-1 * var(--six-focus-ring-offset));
43
51
  }
@@ -50,7 +50,7 @@ export class SixSidebarItemGroup {
50
50
  'six-sidebar-item-group': true,
51
51
  'six-sidebar-item-group--childless': !this.hasItems,
52
52
  'six-sidebar-item-group--subgroup': this.isSubgroup(),
53
- }, inline: true, open: this.open, "summary-icon": this.summaryIcon, hasContent: this.hasItems }, h("div", { slot: "summary" }, h("div", { class: "six-sidebar-details__header" }, this.icon && h("six-icon", { class: "six-sidebar-details__header-icon" }, this.icon), this.name)), this.provideSlot('summary-icon'), h("slot", null)));
53
+ }, inline: true, open: this.open, "summary-icon": this.summaryIcon, hasContent: this.hasItems, tabindex: this.renderAsHref() ? -1 : undefined }, h("div", { slot: "summary" }, h("div", { class: "six-sidebar-details__header" }, this.icon && h("six-icon", { class: "six-sidebar-details__header-icon" }, this.icon), this.name)), this.provideSlot('summary-icon'), h("slot", null)));
54
54
  if (this.renderAsHref()) {
55
55
  return (h("a", { class: "six-sidebar-details__link", href: this.href }, element));
56
56
  }
@@ -1 +1 @@
1
- {"version":3,"file":"six-sidebar-item-group.js","sourceRoot":"","sources":["../../../src/components/six-sidebar-item-group/six-sidebar-item-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C;;;;;GAKG;AAOH,MAAM,OAAO,mBAAmB;;QAgDtB,gBAAW,GAAG,CAAC,IAAY,EAAE,EAAE;YACrC,IAAI,IAAI,CAAC,qBAAqB,EAAE;gBAC9B,OAAO,CACL,WAAK,IAAI,EAAE,IAAI;oBACb,YAAM,IAAI,EAAE,IAAI,GAAS,CACrB,CACP,CAAC;aACH;YAED,OAAO,CACL,YACE,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,GAAG,EAAE;;oBACjB,MAAM,IAAI,GAAG,MAAA,IAAI,CAAC,IAAI,CAAC,UAAU,0CAAE,aAAa,CAAkB,cAAc,IAAI,IAAI,CAAC,CAAC;oBAC1F,IAAI,IAAI,IAAI,IAAI,EAAE;wBAChB,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;qBAC9D;gBACH,CAAC,GACK,CACT,CAA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E;YACvB,OAAO,CACL,SAAG,KAAK,EAAC,2BAA2B,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IACjD,OAAO,CACN,CACL,CAAC;SACH;aAAM;YACL,OAAO,OAAO,CAAC;SAChB;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Prop, State } from '@stencil/core';\nimport { hasSlot } from '../../utils/slot';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the nested sidebar [group] items.\n */\n\n@Component({\n tag: 'six-sidebar-item-group',\n styleUrl: 'six-sidebar-item-group.scss',\n shadow: true,\n})\nexport class SixSidebarItemGroup {\n @Element() readonly host!: HTMLSixSidebarItemGroupElement;\n\n @State() hasItems = false;\n\n /** Title of item group */\n @Prop() name = '';\n\n /** Icon of the group */\n @Prop() icon = '';\n\n /** A unique value to store in the sidebar item of the group label. This can be used as a way to identify sidebar items when selected. */\n @Prop({ reflect: true }) value = '';\n\n /** Indicates whether the sidebar is shown */\n @Prop({ reflect: true }) open = false;\n\n /** Custom summary icon name. */\n @Prop() summaryIcon?: string;\n\n @State() summaryIconHasContent = false;\n\n /**\n * Provide if the item should be rendered as anchor tag.\n * Note, that the href is added automatically when using routerLink in Angular.\n */\n @Prop({ reflect: true }) href: string | undefined;\n\n connectedCallback() {\n this.handleSlotChange = this.handleSlotChange.bind(this);\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n private handleSlotChange() {\n this.hasItems = hasSlot(this.host);\n }\n\n private isSubgroup() {\n return this.host.parentElement?.closest('six-sidebar-item-group') != null;\n }\n\n private renderAsHref(): boolean {\n return this.href != null && !this.hasItems;\n }\n\n private provideSlot = (name: string) => {\n if (this.summaryIconHasContent) {\n return (\n <div slot={name}>\n <slot name={name}></slot>\n </div>\n );\n }\n\n return (\n <slot\n name={name}\n onSlotchange={() => {\n const slot = this.host.shadowRoot?.querySelector<HTMLSlotElement>(`slot[name=\"${name}\"]`);\n if (slot != null) {\n this.summaryIconHasContent = slot.assignedNodes().length > 0;\n }\n }}\n ></slot>\n );\n };\n\n render() {\n const element = (\n <six-details\n class={{\n 'six-sidebar-item-group': true,\n 'six-sidebar-item-group--childless': !this.hasItems,\n 'six-sidebar-item-group--subgroup': this.isSubgroup(),\n }}\n inline={true}\n open={this.open}\n summary-icon={this.summaryIcon}\n hasContent={this.hasItems}\n >\n <div slot=\"summary\">\n <div class=\"six-sidebar-details__header\">\n {this.icon && <six-icon class=\"six-sidebar-details__header-icon\">{this.icon}</six-icon>}\n {this.name}\n </div>\n </div>\n {this.provideSlot('summary-icon')}\n <slot />\n </six-details>\n );\n\n if (this.renderAsHref()) {\n return (\n <a class=\"six-sidebar-details__link\" href={this.href}>\n {element}\n </a>\n );\n } else {\n return element;\n }\n }\n}\n"]}
1
+ {"version":3,"file":"six-sidebar-item-group.js","sourceRoot":"","sources":["../../../src/components/six-sidebar-item-group/six-sidebar-item-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C;;;;;GAKG;AAOH,MAAM,OAAO,mBAAmB;;QAgDtB,gBAAW,GAAG,CAAC,IAAY,EAAE,EAAE;YACrC,IAAI,IAAI,CAAC,qBAAqB,EAAE,CAAC;gBAC/B,OAAO,CACL,WAAK,IAAI,EAAE,IAAI;oBACb,YAAM,IAAI,EAAE,IAAI,GAAS,CACrB,CACP,CAAC;YACJ,CAAC;YAED,OAAO,CACL,YACE,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,GAAG,EAAE;;oBACjB,MAAM,IAAI,GAAG,MAAA,IAAI,CAAC,IAAI,CAAC,UAAU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AAC,CAAC,CAAC,SAAS;YAE9C,WAAK,IAAI,EAAC,SAAS;gBACjB,WAAK,KAAK,EAAC,6BAA6B;oBACrC,IAAI,CAAC,IAAI,IAAI,gBAAU,KAAK,EAAC,kCAAkC,IAAE,IAAI,CAAC,IAAI,CAAY;oBACtF,IAAI,CAAC,IAAI,CACN,CACF;YACL,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC;YACjC,eAAQ,CACI,CACf,CAAC;QAEF,IAAI,IAAI,CAAC,YAAY,EAAE,EAAE,CAAC;YACxB,OAAO,CACL,SAAG,KAAK,EAAC,2BAA2B,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IACjD,OAAO,CACN,CACL,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,OAAO,OAAO,CAAC;QACjB,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Prop, State } from '@stencil/core';\nimport { hasSlot } from '../../utils/slot';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the nested sidebar [group] items.\n */\n\n@Component({\n tag: 'six-sidebar-item-group',\n styleUrl: 'six-sidebar-item-group.scss',\n shadow: true,\n})\nexport class SixSidebarItemGroup {\n @Element() readonly host!: HTMLSixSidebarItemGroupElement;\n\n @State() hasItems = false;\n\n /** Title of item group */\n @Prop() name = '';\n\n /** Icon of the group */\n @Prop() icon = '';\n\n /** A unique value to store in the sidebar item of the group label. This can be used as a way to identify sidebar items when selected. */\n @Prop({ reflect: true }) value = '';\n\n /** Indicates whether the sidebar is shown */\n @Prop({ reflect: true }) open = false;\n\n /** Custom summary icon name. */\n @Prop() summaryIcon?: string;\n\n @State() summaryIconHasContent = false;\n\n /**\n * Provide if the item should be rendered as anchor tag.\n * Note, that the href is added automatically when using routerLink in Angular.\n */\n @Prop({ reflect: true }) href: string | undefined;\n\n connectedCallback() {\n this.handleSlotChange = this.handleSlotChange.bind(this);\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n private handleSlotChange() {\n this.hasItems = hasSlot(this.host);\n }\n\n private isSubgroup() {\n return this.host.parentElement?.closest('six-sidebar-item-group') != null;\n }\n\n private renderAsHref(): boolean {\n return this.href != null && !this.hasItems;\n }\n\n private provideSlot = (name: string) => {\n if (this.summaryIconHasContent) {\n return (\n <div slot={name}>\n <slot name={name}></slot>\n </div>\n );\n }\n\n return (\n <slot\n name={name}\n onSlotchange={() => {\n const slot = this.host.shadowRoot?.querySelector<HTMLSlotElement>(`slot[name=\"${name}\"]`);\n if (slot != null) {\n this.summaryIconHasContent = slot.assignedNodes().length > 0;\n }\n }}\n ></slot>\n );\n };\n\n render() {\n const element = (\n <six-details\n class={{\n 'six-sidebar-item-group': true,\n 'six-sidebar-item-group--childless': !this.hasItems,\n 'six-sidebar-item-group--subgroup': this.isSubgroup(),\n }}\n inline={true}\n open={this.open}\n summary-icon={this.summaryIcon}\n hasContent={this.hasItems}\n tabindex={this.renderAsHref() ? -1 : undefined}\n >\n <div slot=\"summary\">\n <div class=\"six-sidebar-details__header\">\n {this.icon && <six-icon class=\"six-sidebar-details__header-icon\">{this.icon}</six-icon>}\n {this.name}\n </div>\n </div>\n {this.provideSlot('summary-icon')}\n <slot />\n </six-details>\n );\n\n if (this.renderAsHref()) {\n return (\n <a class=\"six-sidebar-details__link\" href={this.href}>\n {element}\n </a>\n );\n } else {\n return element;\n }\n }\n}\n"]}
@@ -67,6 +67,51 @@
67
67
  -webkit-animation: six-spinner 2s cubic-bezier(0.56, 0.39, 0.51, 0.96) infinite;
68
68
  animation: six-spinner 2s cubic-bezier(0.56, 0.39, 0.51, 0.96) infinite;
69
69
  }
70
+ .six-spinner polygon {
71
+ stroke-dasharray: 310;
72
+ stroke-dashoffset: 310;
73
+ animation: big-polygon-draw 2s ease-in-out infinite;
74
+ -webkit-animation: big-polygon-draw 2s ease-in-out infinite;
75
+ }
76
+ .six-spinner polygon:nth-child(2),
77
+ .six-spinner polygon:nth-child(3) {
78
+ stroke-dasharray: 110;
79
+ stroke-dashoffset: 110;
80
+ animation: small-polygon-draw 2s ease-in-out infinite;
81
+ -webkit-animation: small-polygon-draw 2s ease-in-out infinite;
82
+ }
83
+ @keyframes big-polygon-draw {
84
+ 0%, 100% {
85
+ stroke-dashoffset: 310;
86
+ }
87
+ 50% {
88
+ stroke-dashoffset: 140;
89
+ }
90
+ }
91
+ @-webkit-keyframes big-polygon-draw {
92
+ 0%, 100% {
93
+ stroke-dashoffset: 310;
94
+ }
95
+ 50% {
96
+ stroke-dashoffset: 140;
97
+ }
98
+ }
99
+ @keyframes small-polygon-draw {
100
+ 0%, 100% {
101
+ stroke-dashoffset: 110;
102
+ }
103
+ 50% {
104
+ stroke-dashoffset: 50;
105
+ }
106
+ }
107
+ @-webkit-keyframes small-polygon-draw {
108
+ 0%, 100% {
109
+ stroke-dashoffset: 110;
110
+ }
111
+ 50% {
112
+ stroke-dashoffset: 50;
113
+ }
114
+ }
70
115
  @-webkit-keyframes six-spinner {
71
116
  to {
72
117
  stroke-dashoffset: -444;
@@ -6,20 +6,53 @@ import { h } from "@stencil/core";
6
6
  * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.
7
7
  *
8
8
  * @part base - The component's base wrapper.
9
- * @part svg - The spinner icon
9
+ * @part svg - The spinner icon.
10
10
  */
11
11
  export class SixSpinner {
12
12
  constructor() {
13
- this.six = false;
13
+ this.logo = undefined;
14
+ this.six = undefined;
14
15
  }
16
+ /**
17
+ * Renders a container with a given SVG content.
18
+ */
19
+ renderWrapper(content) {
20
+ return (h("span", { class: "six-spinner", "aria-busy": "true", "aria-live": "polite" }, h("div", { class: "six-spinner__container" }, content)));
21
+ }
22
+ /**
23
+ * Renders the SIX logo spinner.
24
+ */
15
25
  renderSIXLogo() {
16
- return (h("span", { class: "six-spinner", "aria-busy": "true", "aria-live": "polite" }, h("div", { class: "six-spinner__container" }, h("svg", { viewBox: "0 0 40 40", part: "svg" }, h("path", { fill: "none", stroke: "#de3919", "stroke-width": "5", "stroke-linecap": "round", d: "M 35 5 V 35 H 5 T 5 5 H 35 V 35 H 5 V 5 H 35 V 35 H -34 V 30 H 7 A 9 8 0 0 0 14 27 L 27 14 A 8 6 0 0 1 33 12 H 42" })))));
26
+ const sixLogo = (h("svg", { viewBox: "0 0 40 40", part: "svg" }, h("path", { fill: "none", stroke: "#de3919", "stroke-width": "5", "stroke-linecap": "round", d: "M 35 5 V 35 H 5 T 5 5 H 35 V 35 H 5 V 5 H 35 V 35 H -34 V 30 H 7 A 9 8 0 0 0 14 27 L 27 14 A 8 6 0 0 1 33 12 H 42" })));
27
+ return this.renderWrapper(sixLogo);
28
+ }
29
+ /**
30
+ * Renders the BME logo spinner.
31
+ */
32
+ renderBMELogo() {
33
+ const bmeLogo = (h("svg", { viewBox: "0 0 45 55", part: "svg" }, h("polygon", { fill: "none", stroke: "black", "stroke-width": "2", "stroke-linecap": "round", points: "4.42 51.96 17.02 31.473 2 31.473 2 22.486 17.02 22.486 4.42 2 15.404 2 30.289 26.98 14.763 51.96 4.42 51.96" }), h("polygon", { fill: "none", stroke: "black", "stroke-width": "2", "stroke-linecap": "round", points: "42 51.96 31.655 51.96 24.598 40.498 29.831 32.073 42 51.96" }), h("polygon", { fill: "none", stroke: "black", "stroke-width": "2", "stroke-linecap": "round", points: "24.518 12.719 31.014 2 42 2 29.831 21.637 24.518 12.719" })));
34
+ return this.renderWrapper(bmeLogo);
17
35
  }
18
- renderSimple() {
36
+ /**
37
+ * Renders a simple spinner.
38
+ */
39
+ renderSimpleSpinner() {
19
40
  return h("span", { part: "base", class: "spinner", "aria-busy": "true", "aria-live": "polite" });
20
41
  }
21
42
  render() {
22
- return this.six ? this.renderSIXLogo() : this.renderSimple();
43
+ // Check the deprecated `six` property first
44
+ if (this.six) {
45
+ console.warn('The "six" prop is deprecated. Use "logo=\'six\'" instead.');
46
+ return this.renderSIXLogo();
47
+ }
48
+ switch (this.logo) {
49
+ case 'six':
50
+ return this.renderSIXLogo();
51
+ case 'bme':
52
+ return this.renderBMELogo();
53
+ default:
54
+ return this.renderSimpleSpinner();
55
+ }
23
56
  }
24
57
  static get is() { return "six-spinner"; }
25
58
  static get encapsulation() { return "shadow"; }
@@ -35,23 +68,39 @@ export class SixSpinner {
35
68
  }
36
69
  static get properties() {
37
70
  return {
71
+ "logo": {
72
+ "type": "string",
73
+ "mutable": false,
74
+ "complexType": {
75
+ "original": "'six' | 'bme'",
76
+ "resolved": "\"bme\" | \"six\" | undefined",
77
+ "references": {}
78
+ },
79
+ "required": false,
80
+ "optional": true,
81
+ "docs": {
82
+ "tags": [],
83
+ "text": "Indicates if the spinner is shown as animated SIX or BME logo or a simple spinner."
84
+ },
85
+ "attribute": "logo",
86
+ "reflect": false
87
+ },
38
88
  "six": {
39
89
  "type": "boolean",
40
90
  "mutable": false,
41
91
  "complexType": {
42
92
  "original": "boolean",
43
- "resolved": "boolean",
93
+ "resolved": "boolean | undefined",
44
94
  "references": {}
45
95
  },
46
96
  "required": false,
47
- "optional": false,
97
+ "optional": true,
48
98
  "docs": {
49
99
  "tags": [],
50
- "text": "Indicates if the spinner is shown as animated SIX logo or simple spinner."
100
+ "text": "**@deprecated** Use `logo=\"six\"` instead.\n\nIf set to true, the spinner displays the SIX logo."
51
101
  },
52
102
  "attribute": "six",
53
- "reflect": false,
54
- "defaultValue": "false"
103
+ "reflect": false
55
104
  }
56
105
  };
57
106
  }
@@ -1 +1 @@
1
- {"version":3,"file":"six-spinner.js","sourceRoot":"","sources":["../../../src/components/six-spinner/six-spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;;;;GAQG;AAMH,MAAM,OAAO,UAAU;;mBAEP,KAAK;;IAEX,aAAa;QACnB,OAAO,CACL,YAAM,KAAK,EAAC,aAAa,eAAW,MAAM,eAAW,QAAQ;YAC3D,WAAK,KAAK,EAAC,wBAAwB;gBACjC,WAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK;oBACjC,YACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,SAAS,kBACH,GAAG,oBACD,OAAO,EACtB,CAAC,EAAC,mHAAmH,GAC/G,CACJ,CACF,CACD,CACR,CAAC;IACJ,CAAC;IAEO,YAAY;QAClB,OAAO,YAAM,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,eAAW,MAAM,eAAW,QAAQ,GAAG,CAAC;IAClF,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;IAC/D,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @part base - The component's base wrapper.\n * @part svg - The spinner icon\n */\n@Component({\n tag: 'six-spinner',\n styleUrl: 'six-spinner.scss',\n shadow: true,\n})\nexport class SixSpinner {\n /** Indicates if the spinner is shown as animated SIX logo or simple spinner. */\n @Prop() six = false;\n\n private renderSIXLogo() {\n return (\n <span class=\"six-spinner\" aria-busy=\"true\" aria-live=\"polite\">\n <div class=\"six-spinner__container\">\n <svg viewBox=\"0 0 40 40\" part=\"svg\">\n <path\n fill=\"none\"\n stroke=\"#de3919\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n d=\"M 35 5 V 35 H 5 T 5 5 H 35 V 35 H 5 V 5 H 35 V 35 H -34 V 30 H 7 A 9 8 0 0 0 14 27 L 27 14 A 8 6 0 0 1 33 12 H 42\"\n ></path>\n </svg>\n </div>\n </span>\n );\n }\n\n private renderSimple() {\n return <span part=\"base\" class=\"spinner\" aria-busy=\"true\" aria-live=\"polite\" />;\n }\n\n render() {\n return this.six ? this.renderSIXLogo() : this.renderSimple();\n }\n}\n"]}
1
+ {"version":3,"file":"six-spinner.js","sourceRoot":"","sources":["../../../src/components/six-spinner/six-spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;;;;GAQG;AAMH,MAAM,OAAO,UAAU;;;;;IAUrB;;OAEG;IACK,aAAa,CAAC,OAAmB;QACvC,OAAO,CACL,YAAM,KAAK,EAAC,aAAa,eAAW,MAAM,eAAW,QAAQ;YAC3D,WAAK,KAAK,EAAC,wBAAwB,IAAE,OAAO,CAAO,CAC9C,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,aAAa;QACnB,MAAM,OAAO,GAAG,CACd,WAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK;YACjC,YACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,SAAS,kBACH,GAAG,oBACD,OAAO,EACtB,CAAC,EAAC,mHAAmH,GAC/G,CACJ,CACP,CAAC;QACF,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACK,aAAa;QACnB,MAAM,OAAO,GAAG,CACd,WAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK;YACjC,eACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,OAAO,kBACD,GAAG,oBACD,OAAO,EACtB,MAAM,EAAC,6GAA6G,GACpH;YACF,eACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,OAAO,kBACD,GAAG,oBACD,OAAO,EACtB,MAAM,EAAC,4DAA4D,GACnE;YACF,eACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,OAAO,kBACD,GAAG,oBACD,OAAO,EACtB,MAAM,EAAC,yDAAyD,GAChE,CACE,CACP,CAAC;QACF,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACK,mBAAmB;QACzB,OAAO,YAAM,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,eAAW,MAAM,eAAW,QAAQ,GAAG,CAAC;IAClF,CAAC;IAED,MAAM;QACJ,4CAA4C;QAC5C,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;YACb,OAAO,CAAC,IAAI,CAAC,2DAA2D,CAAC,CAAC;YAC1E,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC;QAC9B,CAAC;QAED,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,KAAK;gBACR,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC;YAC9B,KAAK,KAAK;gBACR,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC;YAC9B;gBACE,OAAO,IAAI,CAAC,mBAAmB,EAAE,CAAC;QACtC,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @part base - The component's base wrapper.\n * @part svg - The spinner icon.\n */\n@Component({\n tag: 'six-spinner',\n styleUrl: 'six-spinner.scss',\n shadow: true,\n})\nexport class SixSpinner {\n /** Indicates if the spinner is shown as animated SIX or BME logo or a simple spinner. */\n @Prop() logo?: 'six' | 'bme';\n /**\n * **@deprecated** Use `logo=\"six\"` instead.\n *\n * If set to true, the spinner displays the SIX logo.\n */\n @Prop() six?: boolean;\n\n /**\n * Renders a container with a given SVG content.\n */\n private renderWrapper(content: SVGElement) {\n return (\n <span class=\"six-spinner\" aria-busy=\"true\" aria-live=\"polite\">\n <div class=\"six-spinner__container\">{content}</div>\n </span>\n );\n }\n\n /**\n * Renders the SIX logo spinner.\n */\n private renderSIXLogo() {\n const sixLogo = (\n <svg viewBox=\"0 0 40 40\" part=\"svg\">\n <path\n fill=\"none\"\n stroke=\"#de3919\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n d=\"M 35 5 V 35 H 5 T 5 5 H 35 V 35 H 5 V 5 H 35 V 35 H -34 V 30 H 7 A 9 8 0 0 0 14 27 L 27 14 A 8 6 0 0 1 33 12 H 42\"\n ></path>\n </svg>\n );\n return this.renderWrapper(sixLogo);\n }\n\n /**\n * Renders the BME logo spinner.\n */\n private renderBMELogo() {\n const bmeLogo = (\n <svg viewBox=\"0 0 45 55\" part=\"svg\">\n <polygon\n fill=\"none\"\n stroke=\"black\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n points=\"4.42 51.96 17.02 31.473 2 31.473 2 22.486 17.02 22.486 4.42 2 15.404 2 30.289 26.98 14.763 51.96 4.42 51.96\"\n />\n <polygon\n fill=\"none\"\n stroke=\"black\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n points=\"42 51.96 31.655 51.96 24.598 40.498 29.831 32.073 42 51.96\"\n />\n <polygon\n fill=\"none\"\n stroke=\"black\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n points=\"24.518 12.719 31.014 2 42 2 29.831 21.637 24.518 12.719\"\n />\n </svg>\n );\n return this.renderWrapper(bmeLogo);\n }\n\n /**\n * Renders a simple spinner.\n */\n private renderSimpleSpinner() {\n return <span part=\"base\" class=\"spinner\" aria-busy=\"true\" aria-live=\"polite\" />;\n }\n\n render() {\n // Check the deprecated `six` property first\n if (this.six) {\n console.warn('The \"six\" prop is deprecated. Use \"logo=\\'six\\'\" instead.');\n return this.renderSIXLogo();\n }\n\n switch (this.logo) {\n case 'six':\n return this.renderSIXLogo();\n case 'bme':\n return this.renderBMELogo();\n default:\n return this.renderSimpleSpinner();\n }\n }\n}\n"]}
@@ -105,12 +105,12 @@ export class SixSwitch {
105
105
  (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.blur();
106
106
  }
107
107
  render() {
108
- return (h(FormControl, { inputId: this.switchId, label: this.label, labelId: this.labelId, hasLabelSlot: false, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: "medium", disabled: this.disabled, required: this.required, displayError: this.invalid }, h("label", { part: "base", htmlFor: this.switchId, class: {
108
+ return (h(FormControl, { key: 'f8a02f4bc5a931384248896494c1ef398f88453c', inputId: this.switchId, label: this.label, labelId: this.labelId, hasLabelSlot: false, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: "medium", disabled: this.disabled, required: this.required, displayError: this.invalid }, h("label", { key: 'b85db2bcbf379f0b7a885fa04041661f2abc8aeb', part: "base", htmlFor: this.switchId, class: {
109
109
  switch: true,
110
110
  'switch--checked': this.checked,
111
111
  'switch--disabled': this.disabled,
112
112
  'switch--focused': this.hasFocus,
113
- }, onMouseDown: this.handleMouseDown }, h("span", { part: "control", class: "switch__control" }, h("span", { part: "thumb", class: "switch__thumb" }), h("input", { ref: (el) => (this.inputElement = el), id: this.switchId, type: "checkbox", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, required: this.required, role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown })), h("span", { part: "label", id: this.labelId, class: "switch__label" }, h("slot", null)))));
113
+ }, onMouseDown: this.handleMouseDown }, h("span", { key: '001e868504ac577acca8352ab992c001e56908fa', part: "control", class: "switch__control" }, h("span", { key: '99d6f8448b43533b0ca19988cfd8485f05bed512', part: "thumb", class: "switch__thumb" }), h("input", { key: '5d787df251a93a531fdf8dfaa141cf87006f2be8', ref: (el) => (this.inputElement = el), id: this.switchId, type: "checkbox", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, required: this.required, role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown })), h("span", { key: '480a7fbc5d25546ca734c11c8363a4b98d97f97e', part: "label", id: this.labelId, class: "switch__label" }, h("slot", { key: '322c296e95edd35593b74daf4864561760f1e22d' })))));
114
114
  }
115
115
  static get is() { return "six-switch"; }
116
116
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-switch.js","sourceRoot":"","sources":["../../../src/components/six-switch/six-switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEvG,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,WAAW,MAAM,uDAAuD,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;GAaG;AAOH,MAAM,OAAO,SAAS;;QACZ,aAAQ,GAAG,UAAU,EAAE,EAAE,EAAE,CAAC;QAC5B,YAAO,GAAG,gBAAgB,EAAE,EAAE,CAAC;QAC/B,gBAAW,GAAG,oBAAoB,EAAE,EAAE,CAAC;QAGvC,mBAAc,GAAG,IAAI,cAAc,EAAE,CAAC;QAyEtC,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;QAC3D,CAAC,CAAC;QAcM,gBAAW,GAAG,GAAG,EAAE;YACzB,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,EAAE;gBAC7B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC;gBACzC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IA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I,CAAC,WAAW,EACzB,MAAM,EAAE,IAAI,CAAC,UAAU,EACvB,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,SAAS,EAAE,IAAI,CAAC,aAAa,GAC7B,CACG;gBAEP,YAAM,IAAI,EAAC,OAAO,EAAC,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,KAAK,EAAC,eAAe;oBACxD,eAAQ,CACH,CACD,CACI,CACf,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport FormControl from '../../functional-components/form-control/form-control';\nimport { hasSlot } from '../../utils/slot';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The switch's label.\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part control - The switch control.\n * @part thumb - The switch position indicator.\n * @part label - The switch label.\n */\n\n@Component({\n tag: 'six-switch',\n styleUrl: 'six-switch.scss',\n shadow: true,\n})\nexport class SixSwitch {\n private switchId = `switch-${++id}`;\n private labelId = `switch-label-${id}`;\n private errorTextId = `input-error-text-${id}`;\n\n private inputElement?: HTMLInputElement;\n private eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixSwitchElement;\n\n @State() hasFocus = false;\n @State() hasErrorTextSlot = false;\n\n /** The switch's name attribute. */\n @Prop() name = '';\n\n /** The switch's value attribute. */\n @Prop() value = 'on';\n\n /** Set to true to disable the switch. */\n @Prop() disabled = false;\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** Set to true to draw the switch in a checked state. */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /** The label text. */\n @Prop() label = '';\n\n /** The error message shown, if `invalid` is set to true. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n @Watch('checked')\n handleCheckedChange() {\n if (this.inputElement != null) {\n this.inputElement.checked = this.checked;\n this.checked = this.inputElement.checked;\n }\n }\n\n /** Emitted when the control loses focus. */\n @Event({ eventName: 'six-switch-blur' }) sixBlur!: EventEmitter<boolean>;\n\n /** Emitted when the control's checked state changes. */\n @Event({ eventName: 'six-switch-change' }) sixChange!: EventEmitter<boolean>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-switch-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-switch-change', 'change', this.host);\n this.eventListeners.forward('six-switch-blur', 'blur', this.host);\n this.eventListeners.forward('six-switch-focus', 'focus', this.host);\n }\n\n disconnectedCallback() {\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n private handleSlotChange = () => {\n this.hasErrorTextSlot = hasSlot(this.host, 'error-text');\n };\n\n /** Sets focus on the switch. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.inputElement?.focus(options);\n }\n\n /** Removes focus from the switch. */\n @Method()\n async removeFocus() {\n this.inputElement?.blur();\n }\n\n private handleClick = () => {\n if (this.inputElement != null) {\n this.checked = this.inputElement.checked;\n this.sixChange.emit(this.checked);\n }\n };\n\n private handleBlur = () => {\n this.hasFocus = false;\n this.sixBlur.emit(this.checked);\n };\n\n private handleFocus = () => {\n this.hasFocus = true;\n this.sixFocus.emit();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'ArrowLeft') {\n event.preventDefault();\n this.checked = false;\n this.sixChange.emit(this.checked);\n }\n\n if (event.key === 'ArrowRight') {\n event.preventDefault();\n this.checked = true;\n this.sixChange.emit(this.checked);\n }\n };\n\n private handleMouseDown = (event: MouseEvent) => {\n // Prevent clicks on the label from briefly blurring the input\n event.preventDefault();\n this.inputElement?.focus();\n };\n\n render() {\n return (\n <FormControl\n inputId={this.switchId}\n label={this.label}\n labelId={this.labelId}\n hasLabelSlot={false}\n errorTextId={this.errorTextId}\n errorText={this.errorText}\n errorTextCount={this.errorTextCount}\n hasErrorTextSlot={this.hasErrorTextSlot}\n size=\"medium\"\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <label\n part=\"base\"\n htmlFor={this.switchId}\n class={{\n switch: true,\n 'switch--checked': this.checked,\n 'switch--disabled': this.disabled,\n 'switch--focused': this.hasFocus,\n }}\n onMouseDown={this.handleMouseDown}\n >\n <span part=\"control\" class=\"switch__control\">\n <span part=\"thumb\" class=\"switch__thumb\" />\n\n <input\n ref={(el) => (this.inputElement = el)}\n id={this.switchId}\n type=\"checkbox\"\n name={this.name}\n value={this.value}\n checked={this.checked}\n disabled={this.disabled}\n required={this.required}\n role=\"switch\"\n aria-checked={this.checked ? 'true' : 'false'}\n aria-labelledby={this.labelId}\n onClick={this.handleClick}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n onKeyDown={this.handleKeyDown}\n />\n </span>\n\n <span part=\"label\" id={this.labelId} class=\"switch__label\">\n <slot />\n </span>\n </label>\n </FormControl>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-switch.js","sourceRoot":"","sources":["../../../src/components/six-switch/six-switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEvG,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,WAAW,MAAM,uDAAuD,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;GAaG;AAOH,MAAM,OAAO,SAAS;;QACZ,aAAQ,GAAG,UAAU,EAAE,EAAE,EAAE,CAAC;QAC5B,YAAO,GAAG,gBAAgB,EAAE,EAAE,CAAC;QAC/B,gBAAW,GAAG,oBAAoB,EAAE,EAAE,CAAC;QAGvC,mBAAc,GAAG,IAAI,cAAc,EAAE,CAAC;QAyEtC,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;QAC3D,CAAC,CAAC;QAcM,gBAAW,GAAG,GAAG,EAAE;YACzB,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,EAAE,CAAC;gBAC9B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC;gBACzC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACpC,CAAC;QACH,CAAC,CAAC;QAEM,eAAU,GAAG,GAAG,EAAE;YACxB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClC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C,OAAO,EAAC,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,KAAK,EAAC,eAAe;oBACxD,8DAAQ,CACH,CACD,CACI,CACf,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\nimport FormControl from '../../functional-components/form-control/form-control';\nimport { hasSlot } from '../../utils/slot';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The switch's label.\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part control - The switch control.\n * @part thumb - The switch position indicator.\n * @part label - The switch label.\n */\n\n@Component({\n tag: 'six-switch',\n styleUrl: 'six-switch.scss',\n shadow: true,\n})\nexport class SixSwitch {\n private switchId = `switch-${++id}`;\n private labelId = `switch-label-${id}`;\n private errorTextId = `input-error-text-${id}`;\n\n private inputElement?: HTMLInputElement;\n private eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixSwitchElement;\n\n @State() hasFocus = false;\n @State() hasErrorTextSlot = false;\n\n /** The switch's name attribute. */\n @Prop() name = '';\n\n /** The switch's value attribute. */\n @Prop() value = 'on';\n\n /** Set to true to disable the switch. */\n @Prop() disabled = false;\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** Set to true to draw the switch in a checked state. */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /** The label text. */\n @Prop() label = '';\n\n /** The error message shown, if `invalid` is set to true. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n @Watch('checked')\n handleCheckedChange() {\n if (this.inputElement != null) {\n this.inputElement.checked = this.checked;\n this.checked = this.inputElement.checked;\n }\n }\n\n /** Emitted when the control loses focus. */\n @Event({ eventName: 'six-switch-blur' }) sixBlur!: EventEmitter<boolean>;\n\n /** Emitted when the control's checked state changes. */\n @Event({ eventName: 'six-switch-change' }) sixChange!: EventEmitter<boolean>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-switch-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-switch-change', 'change', this.host);\n this.eventListeners.forward('six-switch-blur', 'blur', this.host);\n this.eventListeners.forward('six-switch-focus', 'focus', this.host);\n }\n\n disconnectedCallback() {\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n private handleSlotChange = () => {\n this.hasErrorTextSlot = hasSlot(this.host, 'error-text');\n };\n\n /** Sets focus on the switch. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.inputElement?.focus(options);\n }\n\n /** Removes focus from the switch. */\n @Method()\n async removeFocus() {\n this.inputElement?.blur();\n }\n\n private handleClick = () => {\n if (this.inputElement != null) {\n this.checked = this.inputElement.checked;\n this.sixChange.emit(this.checked);\n }\n };\n\n private handleBlur = () => {\n this.hasFocus = false;\n this.sixBlur.emit(this.checked);\n };\n\n private handleFocus = () => {\n this.hasFocus = true;\n this.sixFocus.emit();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'ArrowLeft') {\n event.preventDefault();\n this.checked = false;\n this.sixChange.emit(this.checked);\n }\n\n if (event.key === 'ArrowRight') {\n event.preventDefault();\n this.checked = true;\n this.sixChange.emit(this.checked);\n }\n };\n\n private handleMouseDown = (event: MouseEvent) => {\n // Prevent clicks on the label from briefly blurring the input\n event.preventDefault();\n this.inputElement?.focus();\n };\n\n render() {\n return (\n <FormControl\n inputId={this.switchId}\n label={this.label}\n labelId={this.labelId}\n hasLabelSlot={false}\n errorTextId={this.errorTextId}\n errorText={this.errorText}\n errorTextCount={this.errorTextCount}\n hasErrorTextSlot={this.hasErrorTextSlot}\n size=\"medium\"\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <label\n part=\"base\"\n htmlFor={this.switchId}\n class={{\n switch: true,\n 'switch--checked': this.checked,\n 'switch--disabled': this.disabled,\n 'switch--focused': this.hasFocus,\n }}\n onMouseDown={this.handleMouseDown}\n >\n <span part=\"control\" class=\"switch__control\">\n <span part=\"thumb\" class=\"switch__thumb\" />\n\n <input\n ref={(el) => (this.inputElement = el)}\n id={this.switchId}\n type=\"checkbox\"\n name={this.name}\n value={this.value}\n checked={this.checked}\n disabled={this.disabled}\n required={this.required}\n role=\"switch\"\n aria-checked={this.checked ? 'true' : 'false'}\n aria-labelledby={this.labelId}\n onClick={this.handleClick}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n onKeyDown={this.handleKeyDown}\n />\n </span>\n\n <span part=\"label\" id={this.labelId} class=\"switch__label\">\n <slot />\n </span>\n </label>\n </FormControl>\n );\n }\n}\n"]}
@@ -41,7 +41,7 @@ export class SixTab {
41
41
  const placement = (_a = tabGroup === null || tabGroup === void 0 ? void 0 : tabGroup.placement) !== null && _a !== void 0 ? _a : 'top';
42
42
  return (
43
43
  // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels
44
- h(Host, { id: this.host.id || this.componentId }, h("div", { part: "base", ref: (el) => (this.tab = el), class: {
44
+ h(Host, { key: '3fb91abb09772d923fb5b8e53cb2a1c63a182b9e', id: this.host.id || this.componentId }, h("div", { key: '11291e2dde7bf9cd0f5f20ac953704e0516e807d', part: "base", ref: (el) => (this.tab = el), class: {
45
45
  tab: true,
46
46
  // Placements
47
47
  'tab--top': placement === 'top',
@@ -52,7 +52,7 @@ export class SixTab {
52
52
  'tab--active': this.active,
53
53
  'tab--closable': this.closable,
54
54
  'tab--disabled': this.disabled,
55
- }, role: "tab", "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', tabindex: this.disabled || !this.active ? '-1' : '0' }, h("slot", null), this.closable && (h("six-icon-button", { name: "close", size: "xSmall", exportparts: "base:close-button", class: "tab__close-button", onClick: this.handleCloseClick, tabIndex: -1, "aria-hidden": "true" }))), h("div", { class: {
55
+ }, role: "tab", "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', tabindex: this.disabled || !this.active ? '-1' : '0' }, h("slot", { key: '59600add16a91eb6876893464d8f447fcdf7450e' }), this.closable && (h("six-icon-button", { key: '8cc03ea004a7181d210ad03355c30a8de6bfc306', name: "close", size: "xSmall", exportparts: "base:close-button", class: "tab__close-button", onClick: this.handleCloseClick, tabIndex: -1, "aria-hidden": "true" }))), h("div", { key: '84460dcb9bb76d4b290a6c00c298e4ecae96b0d7', part: this.active ? 'active-tab-indicator' : '', class: {
56
56
  tab__indicator: true,
57
57
  'tab__indicator--active': this.active,
58
58
  // Placements
@@ -1 +1 @@
1
- {"version":3,"file":"six-tab.js","sourceRoot":"","sources":["../../../src/components/six-tab/six-tab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAA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{ Component, Element, Event, EventEmitter, h, Host, Method, Prop } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The tab's label.\n *\n * @part base - The component's base wrapper.\n * @part close-button - The close button, which is the icon button's base wrapper.\n */\n\n@Component({\n tag: 'six-tab',\n styleUrl: 'six-tab.scss',\n shadow: true,\n})\nexport class SixTab {\n private componentId = `tab-${++id}`;\n private tab?: HTMLElement;\n\n @Element() host!: HTMLSixTabElement;\n\n /** The name of the tab panel the tab will control. The panel must be located in the same tab group. */\n @Prop({ reflect: true }) panel = '';\n\n /** Set to true to draw the tab in an active state. */\n @Prop({ reflect: true }) active = false;\n\n /** When true, the tab will be rendered with a close icon. */\n @Prop() closable = false;\n\n /** Set to true to draw the tab in a disabled state. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Emitted when the tab is closable and the close button is activated. */\n @Event({ eventName: 'six-tab-close' }) sixClose!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.handleCloseClick = this.handleCloseClick.bind(this);\n }\n\n /** Sets focus to the tab. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.tab?.focus(options);\n }\n\n /** Removes focus from the tab. */\n @Method()\n async removeFocus() {\n this.tab?.blur();\n }\n\n private handleCloseClick() {\n this.sixClose.emit();\n }\n\n render() {\n const tabGroup: HTMLSixTabGroupElement | null = this.host.closest('six-tab-group');\n const placement = tabGroup?.placement ?? 'top';\n return (\n // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels\n <Host id={this.host.id || this.componentId}>\n <div\n part=\"base\"\n ref={(el) => (this.tab = el)}\n class={{\n tab: true,\n\n // Placements\n 'tab--top': placement === 'top',\n 'tab--bottom': placement === 'bottom',\n 'tab--left': placement === 'left',\n 'tab--right': placement === 'right',\n\n // States\n 'tab--active': this.active,\n 'tab--closable': this.closable,\n 'tab--disabled': this.disabled,\n }}\n role=\"tab\"\n aria-disabled={this.disabled ? 'true' : 'false'}\n aria-selected={this.active ? 'true' : 'false'}\n tabindex={this.disabled || !this.active ? '-1' : '0'}\n >\n <slot />\n {this.closable && (\n <six-icon-button\n name=\"close\"\n size=\"xSmall\"\n exportparts=\"base:close-button\"\n class=\"tab__close-button\"\n onClick={this.handleCloseClick}\n tabIndex={-1}\n aria-hidden=\"true\"\n />\n )}\n </div>\n <div\n class={{\n tab__indicator: true,\n 'tab__indicator--active': this.active,\n\n // Placements\n 'tab__indicator--top': placement === 'top',\n 'tab__indicator--bottom': placement === 'bottom',\n 'tab__indicator--left': placement === 'left',\n 'tab__indicator--right': placement === 'right',\n }}\n ></div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-tab.js","sourceRoot":"","sources":["../../../src/components/six-tab/six-tab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAG/F,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;GAUG;AAOH,MAAM,OAAO,MAAM;;QACT,gBAAW,GAAG,OAAO,EAAE,EAAE,EAAE,CAAC;qBAMH,EAAE;sBAGD,KAAK;wBAGpB,KAAK;wBAGY,KAAK;;IAKzC,iBAAiB;QACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;IAED,6BAA6B;IAE7B,KAAK,CAAC,QAAQ,CAAC,OAAsB;;QACnC,MAAA,IAAI,CAAC,GAAG,0CAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;IAED,kCAAkC;IAElC,KAAK,CAAC,WAAW;;QACf,MAAA,IAAI,CAAC,GAAG,0CAAE,IAAI,EAAE,CAAC;IACnB,CAAC;IAEO,gBAAgB;QACt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AC,mBAAmB,EAC/B,KAAK,EAAC,mBAAmB,EACzB,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAC9B,QAAQ,EAAE,CAAC,CAAC,iBACA,MAAM,GAClB,CACH,CACG;YACN,4DACE,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,EAC/C,KAAK,EAAE;oBACL,cAAc,EAAE,IAAI;oBACpB,wBAAwB,EAAE,IAAI,CAAC,MAAM;oBAErC,aAAa;oBACb,qBAAqB,EAAE,SAAS,KAAK,KAAK;oBAC1C,wBAAwB,EAAE,SAAS,KAAK,QAAQ;oBAChD,sBAAsB,EAAE,SAAS,KAAK,MAAM;oBAC5C,uBAAuB,EAAE,SAAS,KAAK,OAAO;iBAC/C,GACI,CACF,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Method, Prop } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The tab's label.\n *\n * @part base - The component's base wrapper.\n * @part close-button - The close button, which is the icon button's base wrapper.\n */\n\n@Component({\n tag: 'six-tab',\n styleUrl: 'six-tab.scss',\n shadow: true,\n})\nexport class SixTab {\n private componentId = `tab-${++id}`;\n private tab?: HTMLElement;\n\n @Element() host!: HTMLSixTabElement;\n\n /** The name of the tab panel the tab will control. The panel must be located in the same tab group. */\n @Prop({ reflect: true }) panel = '';\n\n /** Set to true to draw the tab in an active state. */\n @Prop({ reflect: true }) active = false;\n\n /** When true, the tab will be rendered with a close icon. */\n @Prop() closable = false;\n\n /** Set to true to draw the tab in a disabled state. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Emitted when the tab is closable and the close button is activated. */\n @Event({ eventName: 'six-tab-close' }) sixClose!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.handleCloseClick = this.handleCloseClick.bind(this);\n }\n\n /** Sets focus to the tab. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.tab?.focus(options);\n }\n\n /** Removes focus from the tab. */\n @Method()\n async removeFocus() {\n this.tab?.blur();\n }\n\n private handleCloseClick() {\n this.sixClose.emit();\n }\n\n render() {\n const tabGroup: HTMLSixTabGroupElement | null = this.host.closest('six-tab-group');\n const placement = tabGroup?.placement ?? 'top';\n return (\n // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels\n <Host id={this.host.id || this.componentId}>\n <div\n part=\"base\"\n ref={(el) => (this.tab = el)}\n class={{\n tab: true,\n\n // Placements\n 'tab--top': placement === 'top',\n 'tab--bottom': placement === 'bottom',\n 'tab--left': placement === 'left',\n 'tab--right': placement === 'right',\n\n // States\n 'tab--active': this.active,\n 'tab--closable': this.closable,\n 'tab--disabled': this.disabled,\n }}\n role=\"tab\"\n aria-disabled={this.disabled ? 'true' : 'false'}\n aria-selected={this.active ? 'true' : 'false'}\n tabindex={this.disabled || !this.active ? '-1' : '0'}\n >\n <slot />\n {this.closable && (\n <six-icon-button\n name=\"close\"\n size=\"xSmall\"\n exportparts=\"base:close-button\"\n class=\"tab__close-button\"\n onClick={this.handleCloseClick}\n tabIndex={-1}\n aria-hidden=\"true\"\n />\n )}\n </div>\n <div\n part={this.active ? 'active-tab-indicator' : ''}\n class={{\n tab__indicator: true,\n 'tab__indicator--active': this.active,\n\n // Placements\n 'tab__indicator--top': placement === 'top',\n 'tab__indicator--bottom': placement === 'bottom',\n 'tab__indicator--left': placement === 'left',\n 'tab__indicator--right': placement === 'right',\n }}\n ></div>\n </Host>\n );\n }\n}\n"]}
@@ -84,7 +84,8 @@ export class SixTabGroup {
84
84
  behavior: 'smooth',
85
85
  });
86
86
  };
87
- this.hasScrollControls = false;
87
+ this.hasLeftControl = false;
88
+ this.hasRightControl = false;
88
89
  this.placement = 'top';
89
90
  this.noScrollControls = false;
90
91
  }
@@ -106,6 +107,13 @@ export class SixTabGroup {
106
107
  this.resizeObserver = new ResizeObserver(() => this.updateScrollControls());
107
108
  this.resizeObserver.observe(this.nav);
108
109
  requestAnimationFrame(() => this.updateScrollControls());
110
+ this.nav.addEventListener('scroll', () => {
111
+ if (this.nav == null) {
112
+ return;
113
+ }
114
+ this.hasRightControl = this.calculateRightControlVisibility();
115
+ this.hasLeftControl = this.calculateLeftControlVisibility();
116
+ });
109
117
  // Update aria labels if the DOM changes
110
118
  this.mutationObserver = new MutationObserver((mutations) => {
111
119
  if (mutations.some((mutation) => {
@@ -153,12 +161,29 @@ export class SixTabGroup {
153
161
  getActiveTab() {
154
162
  return this.getAllTabs().find((el) => el.active);
155
163
  }
164
+ calculateRightControlVisibility() {
165
+ var _a, _b, _c;
166
+ if (this.nav == null) {
167
+ return false;
168
+ }
169
+ return Math.abs((_a = this.nav) === null || _a === void 0 ? void 0 : _a.scrollLeft) + ((_b = this.nav) === null || _b === void 0 ? void 0 : _b.clientWidth) < ((_c = this.nav) === null || _c === void 0 ? void 0 : _c.scrollWidth) - 1;
170
+ }
171
+ calculateLeftControlVisibility() {
172
+ var _a;
173
+ if (this.nav == null) {
174
+ return false;
175
+ }
176
+ return Math.abs((_a = this.nav) === null || _a === void 0 ? void 0 : _a.scrollLeft) > 0;
177
+ }
156
178
  updateScrollControls() {
157
179
  if (this.nav == null)
158
180
  return;
159
- this.hasScrollControls = this.noScrollControls
181
+ this.hasRightControl = this.noScrollControls
182
+ ? false
183
+ : ['top', 'bottom'].includes(this.placement) && this.calculateRightControlVisibility();
184
+ this.hasLeftControl = this.noScrollControls
160
185
  ? false
161
- : ['top', 'bottom'].includes(this.placement) && this.nav.scrollWidth > this.nav.clientWidth;
186
+ : ['top', 'bottom'].includes(this.placement) && this.calculateLeftControlVisibility();
162
187
  }
163
188
  setActiveTab(tab, emitEvents = true) {
164
189
  var _a, _b, _c;
@@ -201,15 +226,15 @@ export class SixTabGroup {
201
226
  });
202
227
  }
203
228
  render() {
204
- return (h("div", { part: "base", ref: (el) => (this.tabGroup = el), class: {
229
+ return (h("div", { key: '687953b1f7488c6f74b79d8bfa2dd5f6638d8794', part: "base", ref: (el) => (this.tabGroup = el), class: {
205
230
  'tab-group': true,
206
231
  // Placements
207
232
  'tab-group--top': this.placement === 'top',
208
233
  'tab-group--bottom': this.placement === 'bottom',
209
234
  'tab-group--left': this.placement === 'left',
210
235
  'tab-group--right': this.placement === 'right',
211
- 'tab-group--has-scroll-controls': this.hasScrollControls,
212
- }, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { class: "tab-group__nav-container" }, this.hasScrollControls && (h("six-icon-button", { class: "tab-group__scroll-button tab-group__scroll-button--left", exportparts: "base:scroll-button", name: "chevron_left", onClick: this.handleScrollLeft })), h("div", { ref: (el) => (this.nav = el), key: "nav", part: "nav", class: "tab-group__nav" }, h("div", { ref: (el) => (this.tabs = el), part: "tabs", class: "tab-group__tabs", role: "tablist" }, h("slot", { name: "nav" }))), this.hasScrollControls && (h("six-icon-button", { class: "tab-group__scroll-button tab-group__scroll-button--right", exportparts: "base:scroll-button", name: "chevron_right", onClick: this.handleScrollRight }))), h("div", { ref: (el) => (this.body = el), part: "body", class: "tab-group__body" }, h("slot", null))));
236
+ 'tab-group--has-scroll-controls': this.hasRightControl || this.hasLeftControl,
237
+ }, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '11a19bfa85935fb187e4caaa639df6107fe3c8f5', class: "tab-group__nav-container" }, this.hasLeftControl && (h("six-icon-button", { key: 'cc5e49ec12398a2b8534443b9ce9183b62e30579', class: "tab-group__scroll-button tab-group__scroll-button--left", exportparts: "base:scroll-button", name: "chevron_left", onClick: this.handleScrollLeft })), h("div", { ref: (el) => (this.nav = el), key: "nav", part: "nav", class: "tab-group__nav" }, h("div", { key: '7fade92e1892fa0316f72c34421d0091c0416bf3', ref: (el) => (this.tabs = el), part: "tabs", class: "tab-group__tabs", role: "tablist" }, h("slot", { key: 'c28271665e228f0bc67912971c7f02e799c850e0', name: "nav" }))), this.hasRightControl && (h("six-icon-button", { key: '244800e9e981050d6e7c397000105fdd7f887c1f', class: "tab-group__scroll-button tab-group__scroll-button--right", exportparts: "base:scroll-button", name: "chevron_right", onClick: this.handleScrollRight }))), h("div", { key: 'eb3c0da33565d279a75087d677c7f0c532e82468', ref: (el) => (this.body = el), part: "body", class: "tab-group__body" }, h("slot", { key: '639246ec2ce40f9ea9412cb37cf87ebc32a373c2' }))));
213
238
  }
214
239
  static get is() { return "six-tab-group"; }
215
240
  static get encapsulation() { return "shadow"; }
@@ -265,7 +290,8 @@ export class SixTabGroup {
265
290
  }
266
291
  static get states() {
267
292
  return {
268
- "hasScrollControls": {}
293
+ "hasLeftControl": {},
294
+ "hasRightControl": {}
269
295
  };
270
296
  }
271
297
  static get events() {