@six-group/ui-library 0.0.0-insider.0052ba1

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 (1732) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +9 -0
  3. package/dist/cjs/animation-ZgWV0fC6.js +54 -0
  4. package/dist/cjs/animation-ZgWV0fC6.js.map +1 -0
  5. package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
  6. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
  7. package/dist/cjs/error-messages-Bi-7xy31.js +120 -0
  8. package/dist/cjs/error-messages-Bi-7xy31.js.map +1 -0
  9. package/dist/cjs/event-listeners-BrSR7arL.js +62 -0
  10. package/dist/cjs/event-listeners-BrSR7arL.js.map +1 -0
  11. package/dist/cjs/execution-control-oU0MWBWI.js +49 -0
  12. package/dist/cjs/execution-control-oU0MWBWI.js.map +1 -0
  13. package/dist/cjs/focus-visible-CMftNtQ2.js +48 -0
  14. package/dist/cjs/focus-visible-CMftNtQ2.js.map +1 -0
  15. package/dist/cjs/form-CaXKJAMY.js +21 -0
  16. package/dist/cjs/form-CaXKJAMY.js.map +1 -0
  17. package/dist/cjs/form-control-CX8QRq9v.js +37 -0
  18. package/dist/cjs/form-control-CX8QRq9v.js.map +1 -0
  19. package/dist/cjs/index-C8rK7OAe.js +2163 -0
  20. package/dist/cjs/index-C8rK7OAe.js.map +1 -0
  21. package/dist/cjs/index.cjs.js +65 -0
  22. package/dist/cjs/index.cjs.js.map +1 -0
  23. package/dist/cjs/loader.cjs.js +16 -0
  24. package/dist/cjs/loader.cjs.js.map +1 -0
  25. package/dist/cjs/modal-BVAZIrez.js +36 -0
  26. package/dist/cjs/modal-BVAZIrez.js.map +1 -0
  27. package/dist/cjs/popover-BUVXXnz7.js +1921 -0
  28. package/dist/cjs/popover-BUVXXnz7.js.map +1 -0
  29. package/dist/cjs/popup-BBJQmXUh.js +104 -0
  30. package/dist/cjs/popup-BBJQmXUh.js.map +1 -0
  31. package/dist/cjs/scroll-BQR9FxnJ.js +69 -0
  32. package/dist/cjs/scroll-BQR9FxnJ.js.map +1 -0
  33. package/dist/cjs/six-alert.cjs.entry.js +171 -0
  34. package/dist/cjs/six-alert.cjs.entry.js.map +1 -0
  35. package/dist/cjs/six-alert.entry.cjs.js.map +1 -0
  36. package/dist/cjs/six-avatar.cjs.entry.js +37 -0
  37. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -0
  38. package/dist/cjs/six-avatar.entry.cjs.js.map +1 -0
  39. package/dist/cjs/six-badge.cjs.entry.js +38 -0
  40. package/dist/cjs/six-badge.cjs.entry.js.map +1 -0
  41. package/dist/cjs/six-badge.entry.cjs.js.map +1 -0
  42. package/dist/cjs/six-button.cjs.entry.js +133 -0
  43. package/dist/cjs/six-button.cjs.entry.js.map +1 -0
  44. package/dist/cjs/six-button.entry.cjs.js.map +1 -0
  45. package/dist/cjs/six-card.cjs.entry.js +20 -0
  46. package/dist/cjs/six-card.cjs.entry.js.map +1 -0
  47. package/dist/cjs/six-card.entry.cjs.js.map +1 -0
  48. package/dist/cjs/six-checkbox.six-menu-item.entry.cjs.js.map +1 -0
  49. package/dist/cjs/six-checkbox_2.cjs.entry.js +208 -0
  50. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -0
  51. package/dist/cjs/six-date.cjs.entry.js +22700 -0
  52. package/dist/cjs/six-date.cjs.entry.js.map +1 -0
  53. package/dist/cjs/six-date.entry.cjs.js.map +1 -0
  54. package/dist/cjs/six-datepicker.cjs.entry.js +1097 -0
  55. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -0
  56. package/dist/cjs/six-datepicker.entry.cjs.js.map +1 -0
  57. package/dist/cjs/six-details.cjs.entry.js +154 -0
  58. package/dist/cjs/six-details.cjs.entry.js.map +1 -0
  59. package/dist/cjs/six-details.entry.cjs.js.map +1 -0
  60. package/dist/cjs/six-dialog.cjs.entry.js +149 -0
  61. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -0
  62. package/dist/cjs/six-dialog.entry.cjs.js.map +1 -0
  63. package/dist/cjs/six-drawer.cjs.entry.js +170 -0
  64. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -0
  65. package/dist/cjs/six-drawer.entry.cjs.js.map +1 -0
  66. package/dist/cjs/six-dropdown.six-menu.entry.cjs.js.map +1 -0
  67. package/dist/cjs/six-dropdown_2.cjs.entry.js +798 -0
  68. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -0
  69. package/dist/cjs/six-error-page.cjs.entry.js +104 -0
  70. package/dist/cjs/six-error-page.cjs.entry.js.map +1 -0
  71. package/dist/cjs/six-error-page.entry.cjs.js.map +1 -0
  72. package/dist/cjs/six-error.cjs.entry.js +20 -0
  73. package/dist/cjs/six-error.cjs.entry.js.map +1 -0
  74. package/dist/cjs/six-error.entry.cjs.js.map +1 -0
  75. package/dist/cjs/six-file-list-item.cjs.entry.js +50 -0
  76. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -0
  77. package/dist/cjs/six-file-list-item.entry.cjs.js.map +1 -0
  78. package/dist/cjs/six-file-list.cjs.entry.js +20 -0
  79. package/dist/cjs/six-file-list.cjs.entry.js.map +1 -0
  80. package/dist/cjs/six-file-list.entry.cjs.js.map +1 -0
  81. package/dist/cjs/six-file-upload.cjs.entry.js +145 -0
  82. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -0
  83. package/dist/cjs/six-file-upload.entry.cjs.js.map +1 -0
  84. package/dist/cjs/six-footer.cjs.entry.js +20 -0
  85. package/dist/cjs/six-footer.cjs.entry.js.map +1 -0
  86. package/dist/cjs/six-footer.entry.cjs.js.map +1 -0
  87. package/dist/cjs/six-group-label.cjs.entry.js +61 -0
  88. package/dist/cjs/six-group-label.cjs.entry.js.map +1 -0
  89. package/dist/cjs/six-group-label.entry.cjs.js.map +1 -0
  90. package/dist/cjs/six-header-dropdown-item.cjs.entry.js +52 -0
  91. package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -0
  92. package/dist/cjs/six-header-dropdown-item.entry.cjs.js.map +1 -0
  93. package/dist/cjs/six-header-item.cjs.entry.js +28 -0
  94. package/dist/cjs/six-header-item.cjs.entry.js.map +1 -0
  95. package/dist/cjs/six-header-item.entry.cjs.js.map +1 -0
  96. package/dist/cjs/six-header-menu-button.cjs.entry.js +30 -0
  97. package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -0
  98. package/dist/cjs/six-header-menu-button.entry.cjs.js.map +1 -0
  99. package/dist/cjs/six-header.cjs.entry.js +49 -0
  100. package/dist/cjs/six-header.cjs.entry.js.map +1 -0
  101. package/dist/cjs/six-header.entry.cjs.js.map +1 -0
  102. package/dist/cjs/six-icon-button.cjs.entry.js +48 -0
  103. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -0
  104. package/dist/cjs/six-icon-button.entry.cjs.js.map +1 -0
  105. package/dist/cjs/six-icon.cjs.entry.js +36 -0
  106. package/dist/cjs/six-icon.cjs.entry.js.map +1 -0
  107. package/dist/cjs/six-icon.entry.cjs.js.map +1 -0
  108. package/dist/cjs/six-input.cjs.entry.js +233 -0
  109. package/dist/cjs/six-input.cjs.entry.js.map +1 -0
  110. package/dist/cjs/six-input.entry.cjs.js.map +1 -0
  111. package/dist/cjs/six-item-picker.cjs.entry.js +452 -0
  112. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -0
  113. package/dist/cjs/six-item-picker.entry.cjs.js.map +1 -0
  114. package/dist/cjs/six-language-switcher.cjs.entry.js +68 -0
  115. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -0
  116. package/dist/cjs/six-language-switcher.entry.cjs.js.map +1 -0
  117. package/dist/cjs/six-layout-grid.cjs.entry.js +33 -0
  118. package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -0
  119. package/dist/cjs/six-layout-grid.entry.cjs.js.map +1 -0
  120. package/dist/cjs/six-logo.cjs.entry.js +28 -0
  121. package/dist/cjs/six-logo.cjs.entry.js.map +1 -0
  122. package/dist/cjs/six-logo.entry.cjs.js.map +1 -0
  123. package/dist/cjs/six-main-container.cjs.entry.js +24 -0
  124. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -0
  125. package/dist/cjs/six-main-container.entry.cjs.js.map +1 -0
  126. package/dist/cjs/six-menu-divider.cjs.entry.js +20 -0
  127. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -0
  128. package/dist/cjs/six-menu-divider.entry.cjs.js.map +1 -0
  129. package/dist/cjs/six-menu-label.cjs.entry.js +20 -0
  130. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -0
  131. package/dist/cjs/six-menu-label.entry.cjs.js.map +1 -0
  132. package/dist/cjs/six-picto.cjs.entry.js +30 -0
  133. package/dist/cjs/six-picto.cjs.entry.js.map +1 -0
  134. package/dist/cjs/six-picto.entry.cjs.js.map +1 -0
  135. package/dist/cjs/six-progress-bar.cjs.entry.js +29 -0
  136. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -0
  137. package/dist/cjs/six-progress-bar.entry.cjs.js.map +1 -0
  138. package/dist/cjs/six-progress-ring.cjs.entry.js +45 -0
  139. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -0
  140. package/dist/cjs/six-progress-ring.entry.cjs.js.map +1 -0
  141. package/dist/cjs/six-radio.cjs.entry.js +125 -0
  142. package/dist/cjs/six-radio.cjs.entry.js.map +1 -0
  143. package/dist/cjs/six-radio.entry.cjs.js.map +1 -0
  144. package/dist/cjs/six-range.cjs.entry.js +223 -0
  145. package/dist/cjs/six-range.cjs.entry.js.map +1 -0
  146. package/dist/cjs/six-range.entry.cjs.js.map +1 -0
  147. package/dist/cjs/six-rating.cjs.entry.js +126 -0
  148. package/dist/cjs/six-rating.cjs.entry.js.map +1 -0
  149. package/dist/cjs/six-rating.entry.cjs.js.map +1 -0
  150. package/dist/cjs/six-root.cjs.entry.js +28 -0
  151. package/dist/cjs/six-root.cjs.entry.js.map +1 -0
  152. package/dist/cjs/six-root.entry.cjs.js.map +1 -0
  153. package/dist/cjs/six-search-field.cjs.entry.js +60 -0
  154. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -0
  155. package/dist/cjs/six-search-field.entry.cjs.js.map +1 -0
  156. package/dist/cjs/six-select.cjs.entry.js +610 -0
  157. package/dist/cjs/six-select.cjs.entry.js.map +1 -0
  158. package/dist/cjs/six-select.entry.cjs.js.map +1 -0
  159. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +78 -0
  160. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -0
  161. package/dist/cjs/six-sidebar-item-group.entry.cjs.js.map +1 -0
  162. package/dist/cjs/six-sidebar-item.cjs.entry.js +33 -0
  163. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -0
  164. package/dist/cjs/six-sidebar-item.entry.cjs.js.map +1 -0
  165. package/dist/cjs/six-sidebar.cjs.entry.js +204 -0
  166. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -0
  167. package/dist/cjs/six-sidebar.entry.cjs.js.map +1 -0
  168. package/dist/cjs/six-spinner.cjs.entry.js +58 -0
  169. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -0
  170. package/dist/cjs/six-spinner.entry.cjs.js.map +1 -0
  171. package/dist/cjs/six-stage-indicator.cjs.entry.js +22 -0
  172. package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -0
  173. package/dist/cjs/six-stage-indicator.entry.cjs.js.map +1 -0
  174. package/dist/cjs/six-switch.cjs.entry.js +129 -0
  175. package/dist/cjs/six-switch.cjs.entry.js.map +1 -0
  176. package/dist/cjs/six-switch.entry.cjs.js.map +1 -0
  177. package/dist/cjs/six-tab-group.cjs.entry.js +243 -0
  178. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -0
  179. package/dist/cjs/six-tab-group.entry.cjs.js.map +1 -0
  180. package/dist/cjs/six-tab-panel.cjs.entry.js +29 -0
  181. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -0
  182. package/dist/cjs/six-tab-panel.entry.cjs.js.map +1 -0
  183. package/dist/cjs/six-tab.cjs.entry.js +72 -0
  184. package/dist/cjs/six-tab.cjs.entry.js.map +1 -0
  185. package/dist/cjs/six-tab.entry.cjs.js.map +1 -0
  186. package/dist/cjs/six-tag.cjs.entry.js +71 -0
  187. package/dist/cjs/six-tag.cjs.entry.js.map +1 -0
  188. package/dist/cjs/six-tag.entry.cjs.js.map +1 -0
  189. package/dist/cjs/six-textarea.cjs.entry.js +207 -0
  190. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -0
  191. package/dist/cjs/six-textarea.entry.cjs.js.map +1 -0
  192. package/dist/cjs/six-tile.cjs.entry.js +100 -0
  193. package/dist/cjs/six-tile.cjs.entry.js.map +1 -0
  194. package/dist/cjs/six-tile.entry.cjs.js.map +1 -0
  195. package/dist/cjs/six-timepicker.cjs.entry.js +462 -0
  196. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -0
  197. package/dist/cjs/six-timepicker.entry.cjs.js.map +1 -0
  198. package/dist/cjs/six-tooltip.cjs.entry.js +183 -0
  199. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -0
  200. package/dist/cjs/six-tooltip.entry.cjs.js.map +1 -0
  201. package/dist/cjs/slot-DBK7c7jH.js +52 -0
  202. package/dist/cjs/slot-DBK7c7jH.js.map +1 -0
  203. package/dist/cjs/types-7ZstPoJD.js +20 -0
  204. package/dist/cjs/types-7ZstPoJD.js.map +1 -0
  205. package/dist/cjs/ui-library.cjs.js +28 -0
  206. package/dist/cjs/ui-library.cjs.js.map +1 -0
  207. package/dist/collection/assets/TRADEMARKS.md +7 -0
  208. package/dist/collection/assets/commons.js +5 -0
  209. package/dist/collection/assets/data.json +642 -0
  210. package/dist/collection/collection-manifest.json +69 -0
  211. package/dist/collection/components/six-alert/six-alert.css +124 -0
  212. package/dist/collection/components/six-alert/six-alert.js +431 -0
  213. package/dist/collection/components/six-alert/six-alert.js.map +1 -0
  214. package/dist/collection/components/six-avatar/six-avatar.css +85 -0
  215. package/dist/collection/components/six-avatar/six-avatar.js +140 -0
  216. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -0
  217. package/dist/collection/components/six-badge/six-badge.css +112 -0
  218. package/dist/collection/components/six-badge/six-badge.js +113 -0
  219. package/dist/collection/components/six-badge/six-badge.js.map +1 -0
  220. package/dist/collection/components/six-button/six-button.css +374 -0
  221. package/dist/collection/components/six-button/six-button.js +528 -0
  222. package/dist/collection/components/six-button/six-button.js.map +1 -0
  223. package/dist/collection/components/six-card/six-card.css +25 -0
  224. package/dist/collection/components/six-card/six-card.js +25 -0
  225. package/dist/collection/components/six-card/six-card.js.map +1 -0
  226. package/dist/collection/components/six-checkbox/six-checkbox.css +187 -0
  227. package/dist/collection/components/six-checkbox/six-checkbox.js +484 -0
  228. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -0
  229. package/dist/collection/components/six-date/calendar-grid.js +30 -0
  230. package/dist/collection/components/six-date/calendar-grid.js.map +1 -0
  231. package/dist/collection/components/six-date/components/day-selection.js +16 -0
  232. package/dist/collection/components/six-date/components/day-selection.js.map +1 -0
  233. package/dist/collection/components/six-date/components/month-selection.js +17 -0
  234. package/dist/collection/components/six-date/components/month-selection.js.map +1 -0
  235. package/dist/collection/components/six-date/components/year-selection.js +16 -0
  236. package/dist/collection/components/six-date/components/year-selection.js.map +1 -0
  237. package/dist/collection/components/six-date/iso-date.js +92 -0
  238. package/dist/collection/components/six-date/iso-date.js.map +1 -0
  239. package/dist/collection/components/six-date/six-date.css +168 -0
  240. package/dist/collection/components/six-date/six-date.js +735 -0
  241. package/dist/collection/components/six-date/six-date.js.map +1 -0
  242. package/dist/collection/components/six-date/translations.js +110 -0
  243. package/dist/collection/components/six-date/translations.js.map +1 -0
  244. package/dist/collection/components/six-datepicker/components/day-selection.js +12 -0
  245. package/dist/collection/components/six-datepicker/components/day-selection.js.map +1 -0
  246. package/dist/collection/components/six-datepicker/components/month-selection.js +13 -0
  247. package/dist/collection/components/six-datepicker/components/month-selection.js.map +1 -0
  248. package/dist/collection/components/six-datepicker/components/year-selection.js +13 -0
  249. package/dist/collection/components/six-datepicker/components/year-selection.js.map +1 -0
  250. package/dist/collection/components/six-datepicker/six-date-formats.js +25 -0
  251. package/dist/collection/components/six-datepicker/six-date-formats.js.map +1 -0
  252. package/dist/collection/components/six-datepicker/six-datepicker.css +167 -0
  253. package/dist/collection/components/six-datepicker/six-datepicker.js +1213 -0
  254. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -0
  255. package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js +17 -0
  256. package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js.map +1 -0
  257. package/dist/collection/components/six-details/six-details.css +127 -0
  258. package/dist/collection/components/six-details/six-details.js +464 -0
  259. package/dist/collection/components/six-details/six-details.js.map +1 -0
  260. package/dist/collection/components/six-dialog/six-dialog.css +134 -0
  261. package/dist/collection/components/six-dialog/six-dialog.js +404 -0
  262. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -0
  263. package/dist/collection/components/six-drawer/six-drawer.css +177 -0
  264. package/dist/collection/components/six-drawer/six-drawer.js +464 -0
  265. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -0
  266. package/dist/collection/components/six-dropdown/six-dropdown.css +94 -0
  267. package/dist/collection/components/six-dropdown/six-dropdown.js +1076 -0
  268. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -0
  269. package/dist/collection/components/six-error/six-error.css +6 -0
  270. package/dist/collection/components/six-error/six-error.js +25 -0
  271. package/dist/collection/components/six-error/six-error.js.map +1 -0
  272. package/dist/collection/components/six-error-page/six-error-page.css +17 -0
  273. package/dist/collection/components/six-error-page/six-error-page.js +211 -0
  274. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -0
  275. package/dist/collection/components/six-file-list/six-file-list.css +6 -0
  276. package/dist/collection/components/six-file-list/six-file-list.js +24 -0
  277. package/dist/collection/components/six-file-list/six-file-list.js.map +1 -0
  278. package/dist/collection/components/six-file-list-item/six-file-list-item.css +36 -0
  279. package/dist/collection/components/six-file-list-item/six-file-list-item.js +222 -0
  280. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -0
  281. package/dist/collection/components/six-file-upload/six-file-upload.css +79 -0
  282. package/dist/collection/components/six-file-upload/six-file-upload.js +409 -0
  283. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -0
  284. package/dist/collection/components/six-footer/six-footer.css +31 -0
  285. package/dist/collection/components/six-footer/six-footer.js +25 -0
  286. package/dist/collection/components/six-footer/six-footer.js.map +1 -0
  287. package/dist/collection/components/six-group-label/six-group-label.css +102 -0
  288. package/dist/collection/components/six-group-label/six-group-label.js +190 -0
  289. package/dist/collection/components/six-group-label/six-group-label.js.map +1 -0
  290. package/dist/collection/components/six-header/six-header.css +59 -0
  291. package/dist/collection/components/six-header/six-header.js +102 -0
  292. package/dist/collection/components/six-header/six-header.js.map +1 -0
  293. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +13 -0
  294. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +106 -0
  295. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -0
  296. package/dist/collection/components/six-header-item/six-header-item.css +15 -0
  297. package/dist/collection/components/six-header-item/six-header-item.js +57 -0
  298. package/dist/collection/components/six-header-item/six-header-item.js.map +1 -0
  299. package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +32 -0
  300. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +139 -0
  301. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -0
  302. package/dist/collection/components/six-icon/six-icon.css +77 -0
  303. package/dist/collection/components/six-icon/six-icon.js +87 -0
  304. package/dist/collection/components/six-icon/six-icon.js.map +1 -0
  305. package/dist/collection/components/six-icon-button/six-icon-button.css +83 -0
  306. package/dist/collection/components/six-icon-button/six-icon-button.js +215 -0
  307. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -0
  308. package/dist/collection/components/six-input/six-input.css +322 -0
  309. package/dist/collection/components/six-input/six-input.js +1128 -0
  310. package/dist/collection/components/six-input/six-input.js.map +1 -0
  311. package/dist/collection/components/six-item-picker/six-item-picker.css +48 -0
  312. package/dist/collection/components/six-item-picker/six-item-picker.js +810 -0
  313. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -0
  314. package/dist/collection/components/six-item-picker/types.js +16 -0
  315. package/dist/collection/components/six-item-picker/types.js.map +1 -0
  316. package/dist/collection/components/six-language-switcher/six-language-switcher.css +20 -0
  317. package/dist/collection/components/six-language-switcher/six-language-switcher.js +150 -0
  318. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -0
  319. package/dist/collection/components/six-layout-grid/six-layout-grid.css +5 -0
  320. package/dist/collection/components/six-layout-grid/six-layout-grid.js +64 -0
  321. package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -0
  322. package/dist/collection/components/six-logo/six-logo.css +18 -0
  323. package/dist/collection/components/six-logo/six-logo.js +57 -0
  324. package/dist/collection/components/six-logo/six-logo.js.map +1 -0
  325. package/dist/collection/components/six-main-container/six-main-container.css +20 -0
  326. package/dist/collection/components/six-main-container/six-main-container.js +59 -0
  327. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -0
  328. package/dist/collection/components/six-menu/six-menu.css +38 -0
  329. package/dist/collection/components/six-menu/six-menu.js +474 -0
  330. package/dist/collection/components/six-menu/six-menu.js.map +1 -0
  331. package/dist/collection/components/six-menu-divider/six-menu-divider.css +28 -0
  332. package/dist/collection/components/six-menu-divider/six-menu-divider.js +27 -0
  333. package/dist/collection/components/six-menu-divider/six-menu-divider.js.map +1 -0
  334. package/dist/collection/components/six-menu-item/six-menu-item.css +93 -0
  335. package/dist/collection/components/six-menu-item/six-menu-item.js +246 -0
  336. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -0
  337. package/dist/collection/components/six-menu-label/six-menu-label.css +33 -0
  338. package/dist/collection/components/six-menu-label/six-menu-label.js +29 -0
  339. package/dist/collection/components/six-menu-label/six-menu-label.js.map +1 -0
  340. package/dist/collection/components/six-picto/six-picto.css +1232 -0
  341. package/dist/collection/components/six-picto/six-picto.js +61 -0
  342. package/dist/collection/components/six-picto/six-picto.js.map +1 -0
  343. package/dist/collection/components/six-progress-bar/six-progress-bar.css +71 -0
  344. package/dist/collection/components/six-progress-bar/six-progress-bar.js +86 -0
  345. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -0
  346. package/dist/collection/components/six-progress-ring/six-progress-ring.css +63 -0
  347. package/dist/collection/components/six-progress-ring/six-progress-ring.js +124 -0
  348. package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -0
  349. package/dist/collection/components/six-radio/six-radio.css +95 -0
  350. package/dist/collection/components/six-radio/six-radio.js +362 -0
  351. package/dist/collection/components/six-radio/six-radio.js.map +1 -0
  352. package/dist/collection/components/six-range/six-range.css +245 -0
  353. package/dist/collection/components/six-range/six-range.js +651 -0
  354. package/dist/collection/components/six-range/six-range.js.map +1 -0
  355. package/dist/collection/components/six-rating/six-rating.css +125 -0
  356. package/dist/collection/components/six-rating/six-rating.js +432 -0
  357. package/dist/collection/components/six-rating/six-rating.js.map +1 -0
  358. package/dist/collection/components/six-root/six-root.css +48 -0
  359. package/dist/collection/components/six-root/six-root.js +109 -0
  360. package/dist/collection/components/six-root/six-root.js.map +1 -0
  361. package/dist/collection/components/six-search-field/six-search-field.css +29 -0
  362. package/dist/collection/components/six-search-field/six-search-field.js +196 -0
  363. package/dist/collection/components/six-search-field/six-search-field.js.map +1 -0
  364. package/dist/collection/components/six-select/six-select.css +336 -0
  365. package/dist/collection/components/six-select/six-select.js +1240 -0
  366. package/dist/collection/components/six-select/six-select.js.map +1 -0
  367. package/dist/collection/components/six-select/util.js +76 -0
  368. package/dist/collection/components/six-select/util.js.map +1 -0
  369. package/dist/collection/components/six-sidebar/six-sidebar.css +58 -0
  370. package/dist/collection/components/six-sidebar/six-sidebar.js +511 -0
  371. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -0
  372. package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +40 -0
  373. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +143 -0
  374. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -0
  375. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +68 -0
  376. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +213 -0
  377. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -0
  378. package/dist/collection/components/six-spinner/six-spinner.css +135 -0
  379. package/dist/collection/components/six-spinner/six-spinner.js +108 -0
  380. package/dist/collection/components/six-spinner/six-spinner.js.map +1 -0
  381. package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +60 -0
  382. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +53 -0
  383. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js.map +1 -0
  384. package/dist/collection/components/six-switch/six-switch.css +181 -0
  385. package/dist/collection/components/six-switch/six-switch.js +437 -0
  386. package/dist/collection/components/six-switch/six-switch.js.map +1 -0
  387. package/dist/collection/components/six-tab/six-tab.css +126 -0
  388. package/dist/collection/components/six-tab/six-tab.js +237 -0
  389. package/dist/collection/components/six-tab/six-tab.js.map +1 -0
  390. package/dist/collection/components/six-tab-group/six-tab-group.css +135 -0
  391. package/dist/collection/components/six-tab-group/six-tab-group.js +381 -0
  392. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -0
  393. package/dist/collection/components/six-tab-panel/six-tab-panel.css +28 -0
  394. package/dist/collection/components/six-tab-panel/six-tab-panel.js +84 -0
  395. package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -0
  396. package/dist/collection/components/six-tag/six-tag.css +120 -0
  397. package/dist/collection/components/six-tag/six-tag.js +191 -0
  398. package/dist/collection/components/six-tag/six-tag.js.map +1 -0
  399. package/dist/collection/components/six-textarea/six-textarea.css +215 -0
  400. package/dist/collection/components/six-textarea/six-textarea.js +890 -0
  401. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -0
  402. package/dist/collection/components/six-tile/six-tile.css +116 -0
  403. package/dist/collection/components/six-tile/six-tile.js +336 -0
  404. package/dist/collection/components/six-tile/six-tile.js.map +1 -0
  405. package/dist/collection/components/six-timepicker/six-timepicker.css +104 -0
  406. package/dist/collection/components/six-timepicker/six-timepicker.js +969 -0
  407. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -0
  408. package/dist/collection/components/six-tooltip/six-tooltip.css +157 -0
  409. package/dist/collection/components/six-tooltip/six-tooltip.js +463 -0
  410. package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -0
  411. package/dist/collection/files/material-icons-latin-400-normal.woff +0 -0
  412. package/dist/collection/files/material-icons-latin-400-normal.woff2 +0 -0
  413. package/dist/collection/files/material-icons-outlined-latin-400-normal.woff +0 -0
  414. package/dist/collection/files/material-icons-outlined-latin-400-normal.woff2 +0 -0
  415. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
  416. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  417. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
  418. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  419. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
  420. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  421. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
  422. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  423. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
  424. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  425. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
  426. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  427. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
  428. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  429. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
  430. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  431. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
  432. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  433. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
  434. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  435. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
  436. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  437. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
  438. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  439. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
  440. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  441. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
  442. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  443. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
  444. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  445. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
  446. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  447. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
  448. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  449. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
  450. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  451. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  452. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  453. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  454. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  455. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  456. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  457. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  458. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  459. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  460. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  461. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  462. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  463. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  464. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  465. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  466. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  467. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  468. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  469. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  470. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  471. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  472. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  473. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  474. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  475. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  476. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  477. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  478. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  479. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  480. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  481. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  482. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  483. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  484. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  485. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  486. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  487. package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
  488. package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  489. package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
  490. package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  491. package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
  492. package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  493. package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
  494. package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  495. package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
  496. package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  497. package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
  498. package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  499. package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
  500. package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  501. package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
  502. package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  503. package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
  504. package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  505. package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
  506. package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  507. package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
  508. package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  509. package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
  510. package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  511. package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
  512. package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  513. package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
  514. package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  515. package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
  516. package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  517. package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
  518. package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  519. package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
  520. package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  521. package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
  522. package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  523. package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
  524. package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
  525. package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
  526. package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
  527. package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
  528. package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
  529. package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
  530. package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
  531. package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
  532. package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
  533. package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
  534. package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
  535. package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
  536. package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
  537. package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
  538. package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
  539. package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
  540. package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
  541. package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
  542. package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
  543. package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
  544. package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
  545. package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
  546. package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
  547. package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
  548. package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
  549. package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
  550. package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
  551. package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
  552. package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
  553. package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
  554. package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
  555. package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
  556. package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
  557. package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
  558. package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
  559. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
  560. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  561. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
  562. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  563. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
  564. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  565. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
  566. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  567. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
  568. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  569. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
  570. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  571. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
  572. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  573. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
  574. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  575. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
  576. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  577. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
  578. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  579. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
  580. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  581. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
  582. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  583. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
  584. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  585. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
  586. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  587. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
  588. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  589. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
  590. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  591. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
  592. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  593. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
  594. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  595. package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
  596. package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
  597. package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
  598. package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
  599. package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
  600. package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
  601. package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
  602. package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
  603. package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
  604. package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
  605. package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
  606. package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
  607. package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
  608. package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
  609. package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
  610. package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
  611. package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
  612. package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
  613. package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
  614. package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
  615. package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
  616. package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
  617. package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
  618. package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
  619. package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
  620. package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
  621. package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
  622. package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
  623. package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
  624. package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
  625. package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
  626. package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
  627. package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
  628. package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
  629. package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
  630. package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
  631. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
  632. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  633. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
  634. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  635. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
  636. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  637. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
  638. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  639. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
  640. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  641. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
  642. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  643. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
  644. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  645. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
  646. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  647. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
  648. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  649. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
  650. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  651. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
  652. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  653. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
  654. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  655. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
  656. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  657. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
  658. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  659. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
  660. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  661. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
  662. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  663. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
  664. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  665. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
  666. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  667. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
  668. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  669. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
  670. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  671. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
  672. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  673. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
  674. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  675. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
  676. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  677. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
  678. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  679. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
  680. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  681. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
  682. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  683. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
  684. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  685. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
  686. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  687. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
  688. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  689. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
  690. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  691. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
  692. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  693. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
  694. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  695. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
  696. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  697. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
  698. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  699. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
  700. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  701. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
  702. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  703. package/dist/collection/functional-components/form-control/form-control.js +24 -0
  704. package/dist/collection/functional-components/form-control/form-control.js.map +1 -0
  705. package/dist/collection/index.js +3 -0
  706. package/dist/collection/index.js.map +1 -0
  707. package/dist/collection/testUtil/delay.js +4 -0
  708. package/dist/collection/testUtil/delay.js.map +1 -0
  709. package/dist/collection/utils/alert.js +54 -0
  710. package/dist/collection/utils/alert.js.map +1 -0
  711. package/dist/collection/utils/animation.js +47 -0
  712. package/dist/collection/utils/animation.js.map +1 -0
  713. package/dist/collection/utils/date-util.js +747 -0
  714. package/dist/collection/utils/date-util.js.map +1 -0
  715. package/dist/collection/utils/error-messages.js +112 -0
  716. package/dist/collection/utils/error-messages.js.map +1 -0
  717. package/dist/collection/utils/event-listeners.js +56 -0
  718. package/dist/collection/utils/event-listeners.js.map +1 -0
  719. package/dist/collection/utils/execution-control.js +40 -0
  720. package/dist/collection/utils/execution-control.js.map +1 -0
  721. package/dist/collection/utils/focus-visible.js +42 -0
  722. package/dist/collection/utils/focus-visible.js.map +1 -0
  723. package/dist/collection/utils/form.js +15 -0
  724. package/dist/collection/utils/form.js.map +1 -0
  725. package/dist/collection/utils/modal.js +30 -0
  726. package/dist/collection/utils/modal.js.map +1 -0
  727. package/dist/collection/utils/offset.js +14 -0
  728. package/dist/collection/utils/offset.js.map +1 -0
  729. package/dist/collection/utils/popover-util.js +8 -0
  730. package/dist/collection/utils/popover-util.js.map +1 -0
  731. package/dist/collection/utils/popover.js +128 -0
  732. package/dist/collection/utils/popover.js.map +1 -0
  733. package/dist/collection/utils/popup.js +95 -0
  734. package/dist/collection/utils/popup.js.map +1 -0
  735. package/dist/collection/utils/scroll.js +48 -0
  736. package/dist/collection/utils/scroll.js.map +1 -0
  737. package/dist/collection/utils/slot.js +44 -0
  738. package/dist/collection/utils/slot.js.map +1 -0
  739. package/dist/collection/utils/tabbable.js +23 -0
  740. package/dist/collection/utils/tabbable.js.map +1 -0
  741. package/dist/collection/utils/time.util.js +89 -0
  742. package/dist/collection/utils/time.util.js.map +1 -0
  743. package/dist/collection/utils/type-check.js +5 -0
  744. package/dist/collection/utils/type-check.js.map +1 -0
  745. package/dist/collection/utils/types.js +2 -0
  746. package/dist/collection/utils/types.js.map +1 -0
  747. package/dist/components/index.d.ts +45 -0
  748. package/dist/components/index.js +188 -0
  749. package/dist/components/index.js.map +1 -0
  750. package/dist/components/p-9aUb96SZ.js +627 -0
  751. package/dist/components/p-9aUb96SZ.js.map +1 -0
  752. package/dist/components/p-B1bClJZ6.js +19 -0
  753. package/dist/components/p-B1bClJZ6.js.map +1 -0
  754. package/dist/components/p-BB2rei7y.js +74 -0
  755. package/dist/components/p-BB2rei7y.js.map +1 -0
  756. package/dist/components/p-BR2t7cws.js +507 -0
  757. package/dist/components/p-BR2t7cws.js.map +1 -0
  758. package/dist/components/p-BSHZAiyG.js +52 -0
  759. package/dist/components/p-BSHZAiyG.js.map +1 -0
  760. package/dist/components/p-BUN8hFmL.js +173 -0
  761. package/dist/components/p-BUN8hFmL.js.map +1 -0
  762. package/dist/components/p-BY6hIEFX.js +65 -0
  763. package/dist/components/p-BY6hIEFX.js.map +1 -0
  764. package/dist/components/p-C28WDWgL.js +117 -0
  765. package/dist/components/p-C28WDWgL.js.map +1 -0
  766. package/dist/components/p-C4h4qpGl.js +60 -0
  767. package/dist/components/p-C4h4qpGl.js.map +1 -0
  768. package/dist/components/p-CAJFkiLw.js +622 -0
  769. package/dist/components/p-CAJFkiLw.js.map +1 -0
  770. package/dist/components/p-CKhg9ibv.js +44 -0
  771. package/dist/components/p-CKhg9ibv.js.map +1 -0
  772. package/dist/components/p-CSL17OWk.js +305 -0
  773. package/dist/components/p-CSL17OWk.js.map +1 -0
  774. package/dist/components/p-CWKq6Dyt.js +33 -0
  775. package/dist/components/p-CWKq6Dyt.js.map +1 -0
  776. package/dist/components/p-CfIoyvm-.js +34 -0
  777. package/dist/components/p-CfIoyvm-.js.map +1 -0
  778. package/dist/components/p-Cfyrva2T.js +180 -0
  779. package/dist/components/p-Cfyrva2T.js.map +1 -0
  780. package/dist/components/p-ClylOmYH.js +208 -0
  781. package/dist/components/p-ClylOmYH.js.map +1 -0
  782. package/dist/components/p-Cosz73fX.js +76 -0
  783. package/dist/components/p-Cosz73fX.js.map +1 -0
  784. package/dist/components/p-Cs1jspzx.js +187 -0
  785. package/dist/components/p-Cs1jspzx.js.map +1 -0
  786. package/dist/components/p-D512q9rn.js +1709 -0
  787. package/dist/components/p-D512q9rn.js.map +1 -0
  788. package/dist/components/p-DIkvCBxr.js +35 -0
  789. package/dist/components/p-DIkvCBxr.js.map +1 -0
  790. package/dist/components/p-DYlDF9Rw.js +45 -0
  791. package/dist/components/p-DYlDF9Rw.js.map +1 -0
  792. package/dist/components/p-DsGIkEDB.js +305 -0
  793. package/dist/components/p-DsGIkEDB.js.map +1 -0
  794. package/dist/components/p-DyYwMIDQ.js +43 -0
  795. package/dist/components/p-DyYwMIDQ.js.map +1 -0
  796. package/dist/components/p-SLlDVtvF.js +51 -0
  797. package/dist/components/p-SLlDVtvF.js.map +1 -0
  798. package/dist/components/p-Vw_F19Fv.js +46 -0
  799. package/dist/components/p-Vw_F19Fv.js.map +1 -0
  800. package/dist/components/p-j3oIB5oT.js +48 -0
  801. package/dist/components/p-j3oIB5oT.js.map +1 -0
  802. package/dist/components/p-kHci8ddv.js +1919 -0
  803. package/dist/components/p-kHci8ddv.js.map +1 -0
  804. package/dist/components/six-alert.d.ts +11 -0
  805. package/dist/components/six-alert.js +211 -0
  806. package/dist/components/six-alert.js.map +1 -0
  807. package/dist/components/six-avatar.d.ts +11 -0
  808. package/dist/components/six-avatar.js +65 -0
  809. package/dist/components/six-avatar.js.map +1 -0
  810. package/dist/components/six-badge.d.ts +11 -0
  811. package/dist/components/six-badge.js +58 -0
  812. package/dist/components/six-badge.js.map +1 -0
  813. package/dist/components/six-button.d.ts +11 -0
  814. package/dist/components/six-button.js +9 -0
  815. package/dist/components/six-button.js.map +1 -0
  816. package/dist/components/six-card.d.ts +11 -0
  817. package/dist/components/six-card.js +36 -0
  818. package/dist/components/six-card.js.map +1 -0
  819. package/dist/components/six-checkbox.d.ts +11 -0
  820. package/dist/components/six-checkbox.js +9 -0
  821. package/dist/components/six-checkbox.js.map +1 -0
  822. package/dist/components/six-date.d.ts +11 -0
  823. package/dist/components/six-date.js +22764 -0
  824. package/dist/components/six-date.js.map +1 -0
  825. package/dist/components/six-datepicker.d.ts +11 -0
  826. package/dist/components/six-datepicker.js +1178 -0
  827. package/dist/components/six-datepicker.js.map +1 -0
  828. package/dist/components/six-details.d.ts +11 -0
  829. package/dist/components/six-details.js +9 -0
  830. package/dist/components/six-details.js.map +1 -0
  831. package/dist/components/six-dialog.d.ts +11 -0
  832. package/dist/components/six-dialog.js +187 -0
  833. package/dist/components/six-dialog.js.map +1 -0
  834. package/dist/components/six-drawer.d.ts +11 -0
  835. package/dist/components/six-drawer.js +210 -0
  836. package/dist/components/six-drawer.js.map +1 -0
  837. package/dist/components/six-dropdown.d.ts +11 -0
  838. package/dist/components/six-dropdown.js +9 -0
  839. package/dist/components/six-dropdown.js.map +1 -0
  840. package/dist/components/six-error-page.d.ts +11 -0
  841. package/dist/components/six-error-page.js +132 -0
  842. package/dist/components/six-error-page.js.map +1 -0
  843. package/dist/components/six-error.d.ts +11 -0
  844. package/dist/components/six-error.js +9 -0
  845. package/dist/components/six-error.js.map +1 -0
  846. package/dist/components/six-file-list-item.d.ts +11 -0
  847. package/dist/components/six-file-list-item.js +79 -0
  848. package/dist/components/six-file-list-item.js.map +1 -0
  849. package/dist/components/six-file-list.d.ts +11 -0
  850. package/dist/components/six-file-list.js +36 -0
  851. package/dist/components/six-file-list.js.map +1 -0
  852. package/dist/components/six-file-upload.d.ts +11 -0
  853. package/dist/components/six-file-upload.js +190 -0
  854. package/dist/components/six-file-upload.js.map +1 -0
  855. package/dist/components/six-footer.d.ts +11 -0
  856. package/dist/components/six-footer.js +36 -0
  857. package/dist/components/six-footer.js.map +1 -0
  858. package/dist/components/six-group-label.d.ts +11 -0
  859. package/dist/components/six-group-label.js +94 -0
  860. package/dist/components/six-group-label.js.map +1 -0
  861. package/dist/components/six-header-dropdown-item.d.ts +11 -0
  862. package/dist/components/six-header-dropdown-item.js +114 -0
  863. package/dist/components/six-header-dropdown-item.js.map +1 -0
  864. package/dist/components/six-header-item.d.ts +11 -0
  865. package/dist/components/six-header-item.js +46 -0
  866. package/dist/components/six-header-item.js.map +1 -0
  867. package/dist/components/six-header-menu-button.d.ts +11 -0
  868. package/dist/components/six-header-menu-button.js +64 -0
  869. package/dist/components/six-header-menu-button.js.map +1 -0
  870. package/dist/components/six-header.d.ts +11 -0
  871. package/dist/components/six-header.js +70 -0
  872. package/dist/components/six-header.js.map +1 -0
  873. package/dist/components/six-icon-button.d.ts +11 -0
  874. package/dist/components/six-icon-button.js +9 -0
  875. package/dist/components/six-icon-button.js.map +1 -0
  876. package/dist/components/six-icon.d.ts +11 -0
  877. package/dist/components/six-icon.js +9 -0
  878. package/dist/components/six-icon.js.map +1 -0
  879. package/dist/components/six-input.d.ts +11 -0
  880. package/dist/components/six-input.js +9 -0
  881. package/dist/components/six-input.js.map +1 -0
  882. package/dist/components/six-item-picker.d.ts +11 -0
  883. package/dist/components/six-item-picker.js +9 -0
  884. package/dist/components/six-item-picker.js.map +1 -0
  885. package/dist/components/six-language-switcher.d.ts +11 -0
  886. package/dist/components/six-language-switcher.js +89 -0
  887. package/dist/components/six-language-switcher.js.map +1 -0
  888. package/dist/components/six-layout-grid.d.ts +11 -0
  889. package/dist/components/six-layout-grid.js +53 -0
  890. package/dist/components/six-layout-grid.js.map +1 -0
  891. package/dist/components/six-logo.d.ts +11 -0
  892. package/dist/components/six-logo.js +46 -0
  893. package/dist/components/six-logo.js.map +1 -0
  894. package/dist/components/six-main-container.d.ts +11 -0
  895. package/dist/components/six-main-container.js +42 -0
  896. package/dist/components/six-main-container.js.map +1 -0
  897. package/dist/components/six-menu-divider.d.ts +11 -0
  898. package/dist/components/six-menu-divider.js +36 -0
  899. package/dist/components/six-menu-divider.js.map +1 -0
  900. package/dist/components/six-menu-item.d.ts +11 -0
  901. package/dist/components/six-menu-item.js +9 -0
  902. package/dist/components/six-menu-item.js.map +1 -0
  903. package/dist/components/six-menu-label.d.ts +11 -0
  904. package/dist/components/six-menu-label.js +36 -0
  905. package/dist/components/six-menu-label.js.map +1 -0
  906. package/dist/components/six-menu.d.ts +11 -0
  907. package/dist/components/six-menu.js +9 -0
  908. package/dist/components/six-menu.js.map +1 -0
  909. package/dist/components/six-picto.d.ts +11 -0
  910. package/dist/components/six-picto.js +9 -0
  911. package/dist/components/six-picto.js.map +1 -0
  912. package/dist/components/six-progress-bar.d.ts +11 -0
  913. package/dist/components/six-progress-bar.js +48 -0
  914. package/dist/components/six-progress-bar.js.map +1 -0
  915. package/dist/components/six-progress-ring.d.ts +11 -0
  916. package/dist/components/six-progress-ring.js +67 -0
  917. package/dist/components/six-progress-ring.js.map +1 -0
  918. package/dist/components/six-radio.d.ts +11 -0
  919. package/dist/components/six-radio.js +153 -0
  920. package/dist/components/six-radio.js.map +1 -0
  921. package/dist/components/six-range.d.ts +11 -0
  922. package/dist/components/six-range.js +274 -0
  923. package/dist/components/six-range.js.map +1 -0
  924. package/dist/components/six-rating.d.ts +11 -0
  925. package/dist/components/six-rating.js +173 -0
  926. package/dist/components/six-rating.js.map +1 -0
  927. package/dist/components/six-root.d.ts +11 -0
  928. package/dist/components/six-root.js +60 -0
  929. package/dist/components/six-root.js.map +1 -0
  930. package/dist/components/six-search-field.d.ts +11 -0
  931. package/dist/components/six-search-field.js +102 -0
  932. package/dist/components/six-search-field.js.map +1 -0
  933. package/dist/components/six-select.d.ts +11 -0
  934. package/dist/components/six-select.js +839 -0
  935. package/dist/components/six-select.js.map +1 -0
  936. package/dist/components/six-sidebar-item-group.d.ts +11 -0
  937. package/dist/components/six-sidebar-item-group.js +115 -0
  938. package/dist/components/six-sidebar-item-group.js.map +1 -0
  939. package/dist/components/six-sidebar-item.d.ts +11 -0
  940. package/dist/components/six-sidebar-item.js +61 -0
  941. package/dist/components/six-sidebar-item.js.map +1 -0
  942. package/dist/components/six-sidebar.d.ts +11 -0
  943. package/dist/components/six-sidebar.js +233 -0
  944. package/dist/components/six-sidebar.js.map +1 -0
  945. package/dist/components/six-spinner.d.ts +11 -0
  946. package/dist/components/six-spinner.js +9 -0
  947. package/dist/components/six-spinner.js.map +1 -0
  948. package/dist/components/six-stage-indicator.d.ts +11 -0
  949. package/dist/components/six-stage-indicator.js +9 -0
  950. package/dist/components/six-stage-indicator.js.map +1 -0
  951. package/dist/components/six-switch.d.ts +11 -0
  952. package/dist/components/six-switch.js +169 -0
  953. package/dist/components/six-switch.js.map +1 -0
  954. package/dist/components/six-tab-group.d.ts +11 -0
  955. package/dist/components/six-tab-group.js +279 -0
  956. package/dist/components/six-tab-group.js.map +1 -0
  957. package/dist/components/six-tab-panel.d.ts +11 -0
  958. package/dist/components/six-tab-panel.js +48 -0
  959. package/dist/components/six-tab-panel.js.map +1 -0
  960. package/dist/components/six-tab.d.ts +11 -0
  961. package/dist/components/six-tab.js +107 -0
  962. package/dist/components/six-tab.js.map +1 -0
  963. package/dist/components/six-tag.d.ts +11 -0
  964. package/dist/components/six-tag.js +110 -0
  965. package/dist/components/six-tag.js.map +1 -0
  966. package/dist/components/six-textarea.d.ts +11 -0
  967. package/dist/components/six-textarea.js +267 -0
  968. package/dist/components/six-textarea.js.map +1 -0
  969. package/dist/components/six-tile.d.ts +11 -0
  970. package/dist/components/six-tile.js +147 -0
  971. package/dist/components/six-tile.js.map +1 -0
  972. package/dist/components/six-timepicker.d.ts +11 -0
  973. package/dist/components/six-timepicker.js +9 -0
  974. package/dist/components/six-timepicker.js.map +1 -0
  975. package/dist/components/six-tooltip.d.ts +11 -0
  976. package/dist/components/six-tooltip.js +9 -0
  977. package/dist/components/six-tooltip.js.map +1 -0
  978. package/dist/components.d.ts +443 -0
  979. package/dist/components.json +19860 -0
  980. package/dist/esm/animation-SLlDVtvF.js +51 -0
  981. package/dist/esm/animation-SLlDVtvF.js.map +1 -0
  982. package/dist/esm/app-globals-DQuL1Twl.js +6 -0
  983. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
  984. package/dist/esm/error-messages-1oJarDAY.js +116 -0
  985. package/dist/esm/error-messages-1oJarDAY.js.map +1 -0
  986. package/dist/esm/event-listeners-C4h4qpGl.js +60 -0
  987. package/dist/esm/event-listeners-C4h4qpGl.js.map +1 -0
  988. package/dist/esm/execution-control-CKhg9ibv.js +44 -0
  989. package/dist/esm/execution-control-CKhg9ibv.js.map +1 -0
  990. package/dist/esm/focus-visible-Vw_F19Fv.js +46 -0
  991. package/dist/esm/focus-visible-Vw_F19Fv.js.map +1 -0
  992. package/dist/esm/form-B1bClJZ6.js +19 -0
  993. package/dist/esm/form-B1bClJZ6.js.map +1 -0
  994. package/dist/esm/form-control-DI6V1ZhR.js +35 -0
  995. package/dist/esm/form-control-DI6V1ZhR.js.map +1 -0
  996. package/dist/esm/index-JoG9I7EO.js +2154 -0
  997. package/dist/esm/index-JoG9I7EO.js.map +1 -0
  998. package/dist/esm/index.js +60 -0
  999. package/dist/esm/index.js.map +1 -0
  1000. package/dist/esm/loader.js +14 -0
  1001. package/dist/esm/loader.js.map +1 -0
  1002. package/dist/esm/modal-CfIoyvm-.js +34 -0
  1003. package/dist/esm/modal-CfIoyvm-.js.map +1 -0
  1004. package/dist/esm/popover-kHci8ddv.js +1919 -0
  1005. package/dist/esm/popover-kHci8ddv.js.map +1 -0
  1006. package/dist/esm/popup-Dd6pdO8C.js +99 -0
  1007. package/dist/esm/popup-Dd6pdO8C.js.map +1 -0
  1008. package/dist/esm/scroll-BY6hIEFX.js +65 -0
  1009. package/dist/esm/scroll-BY6hIEFX.js.map +1 -0
  1010. package/dist/esm/six-alert.entry.js +169 -0
  1011. package/dist/esm/six-alert.entry.js.map +1 -0
  1012. package/dist/esm/six-avatar.entry.js +35 -0
  1013. package/dist/esm/six-avatar.entry.js.map +1 -0
  1014. package/dist/esm/six-badge.entry.js +36 -0
  1015. package/dist/esm/six-badge.entry.js.map +1 -0
  1016. package/dist/esm/six-button.entry.js +131 -0
  1017. package/dist/esm/six-button.entry.js.map +1 -0
  1018. package/dist/esm/six-card.entry.js +18 -0
  1019. package/dist/esm/six-card.entry.js.map +1 -0
  1020. package/dist/esm/six-checkbox.six-menu-item.entry.js.map +1 -0
  1021. package/dist/esm/six-checkbox_2.entry.js +205 -0
  1022. package/dist/esm/six-checkbox_2.entry.js.map +1 -0
  1023. package/dist/esm/six-date.entry.js +22698 -0
  1024. package/dist/esm/six-date.entry.js.map +1 -0
  1025. package/dist/esm/six-datepicker.entry.js +1095 -0
  1026. package/dist/esm/six-datepicker.entry.js.map +1 -0
  1027. package/dist/esm/six-details.entry.js +152 -0
  1028. package/dist/esm/six-details.entry.js.map +1 -0
  1029. package/dist/esm/six-dialog.entry.js +147 -0
  1030. package/dist/esm/six-dialog.entry.js.map +1 -0
  1031. package/dist/esm/six-drawer.entry.js +168 -0
  1032. package/dist/esm/six-drawer.entry.js.map +1 -0
  1033. package/dist/esm/six-dropdown.six-menu.entry.js.map +1 -0
  1034. package/dist/esm/six-dropdown_2.entry.js +795 -0
  1035. package/dist/esm/six-dropdown_2.entry.js.map +1 -0
  1036. package/dist/esm/six-error-page.entry.js +102 -0
  1037. package/dist/esm/six-error-page.entry.js.map +1 -0
  1038. package/dist/esm/six-error.entry.js +18 -0
  1039. package/dist/esm/six-error.entry.js.map +1 -0
  1040. package/dist/esm/six-file-list-item.entry.js +48 -0
  1041. package/dist/esm/six-file-list-item.entry.js.map +1 -0
  1042. package/dist/esm/six-file-list.entry.js +18 -0
  1043. package/dist/esm/six-file-list.entry.js.map +1 -0
  1044. package/dist/esm/six-file-upload.entry.js +143 -0
  1045. package/dist/esm/six-file-upload.entry.js.map +1 -0
  1046. package/dist/esm/six-footer.entry.js +18 -0
  1047. package/dist/esm/six-footer.entry.js.map +1 -0
  1048. package/dist/esm/six-group-label.entry.js +59 -0
  1049. package/dist/esm/six-group-label.entry.js.map +1 -0
  1050. package/dist/esm/six-header-dropdown-item.entry.js +50 -0
  1051. package/dist/esm/six-header-dropdown-item.entry.js.map +1 -0
  1052. package/dist/esm/six-header-item.entry.js +26 -0
  1053. package/dist/esm/six-header-item.entry.js.map +1 -0
  1054. package/dist/esm/six-header-menu-button.entry.js +28 -0
  1055. package/dist/esm/six-header-menu-button.entry.js.map +1 -0
  1056. package/dist/esm/six-header.entry.js +47 -0
  1057. package/dist/esm/six-header.entry.js.map +1 -0
  1058. package/dist/esm/six-icon-button.entry.js +46 -0
  1059. package/dist/esm/six-icon-button.entry.js.map +1 -0
  1060. package/dist/esm/six-icon.entry.js +34 -0
  1061. package/dist/esm/six-icon.entry.js.map +1 -0
  1062. package/dist/esm/six-input.entry.js +231 -0
  1063. package/dist/esm/six-input.entry.js.map +1 -0
  1064. package/dist/esm/six-item-picker.entry.js +450 -0
  1065. package/dist/esm/six-item-picker.entry.js.map +1 -0
  1066. package/dist/esm/six-language-switcher.entry.js +66 -0
  1067. package/dist/esm/six-language-switcher.entry.js.map +1 -0
  1068. package/dist/esm/six-layout-grid.entry.js +31 -0
  1069. package/dist/esm/six-layout-grid.entry.js.map +1 -0
  1070. package/dist/esm/six-logo.entry.js +26 -0
  1071. package/dist/esm/six-logo.entry.js.map +1 -0
  1072. package/dist/esm/six-main-container.entry.js +22 -0
  1073. package/dist/esm/six-main-container.entry.js.map +1 -0
  1074. package/dist/esm/six-menu-divider.entry.js +18 -0
  1075. package/dist/esm/six-menu-divider.entry.js.map +1 -0
  1076. package/dist/esm/six-menu-label.entry.js +18 -0
  1077. package/dist/esm/six-menu-label.entry.js.map +1 -0
  1078. package/dist/esm/six-picto.entry.js +28 -0
  1079. package/dist/esm/six-picto.entry.js.map +1 -0
  1080. package/dist/esm/six-progress-bar.entry.js +27 -0
  1081. package/dist/esm/six-progress-bar.entry.js.map +1 -0
  1082. package/dist/esm/six-progress-ring.entry.js +43 -0
  1083. package/dist/esm/six-progress-ring.entry.js.map +1 -0
  1084. package/dist/esm/six-radio.entry.js +123 -0
  1085. package/dist/esm/six-radio.entry.js.map +1 -0
  1086. package/dist/esm/six-range.entry.js +221 -0
  1087. package/dist/esm/six-range.entry.js.map +1 -0
  1088. package/dist/esm/six-rating.entry.js +124 -0
  1089. package/dist/esm/six-rating.entry.js.map +1 -0
  1090. package/dist/esm/six-root.entry.js +26 -0
  1091. package/dist/esm/six-root.entry.js.map +1 -0
  1092. package/dist/esm/six-search-field.entry.js +58 -0
  1093. package/dist/esm/six-search-field.entry.js.map +1 -0
  1094. package/dist/esm/six-select.entry.js +608 -0
  1095. package/dist/esm/six-select.entry.js.map +1 -0
  1096. package/dist/esm/six-sidebar-item-group.entry.js +76 -0
  1097. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -0
  1098. package/dist/esm/six-sidebar-item.entry.js +31 -0
  1099. package/dist/esm/six-sidebar-item.entry.js.map +1 -0
  1100. package/dist/esm/six-sidebar.entry.js +202 -0
  1101. package/dist/esm/six-sidebar.entry.js.map +1 -0
  1102. package/dist/esm/six-spinner.entry.js +56 -0
  1103. package/dist/esm/six-spinner.entry.js.map +1 -0
  1104. package/dist/esm/six-stage-indicator.entry.js +20 -0
  1105. package/dist/esm/six-stage-indicator.entry.js.map +1 -0
  1106. package/dist/esm/six-switch.entry.js +127 -0
  1107. package/dist/esm/six-switch.entry.js.map +1 -0
  1108. package/dist/esm/six-tab-group.entry.js +241 -0
  1109. package/dist/esm/six-tab-group.entry.js.map +1 -0
  1110. package/dist/esm/six-tab-panel.entry.js +27 -0
  1111. package/dist/esm/six-tab-panel.entry.js.map +1 -0
  1112. package/dist/esm/six-tab.entry.js +70 -0
  1113. package/dist/esm/six-tab.entry.js.map +1 -0
  1114. package/dist/esm/six-tag.entry.js +69 -0
  1115. package/dist/esm/six-tag.entry.js.map +1 -0
  1116. package/dist/esm/six-textarea.entry.js +205 -0
  1117. package/dist/esm/six-textarea.entry.js.map +1 -0
  1118. package/dist/esm/six-tile.entry.js +98 -0
  1119. package/dist/esm/six-tile.entry.js.map +1 -0
  1120. package/dist/esm/six-timepicker.entry.js +460 -0
  1121. package/dist/esm/six-timepicker.entry.js.map +1 -0
  1122. package/dist/esm/six-tooltip.entry.js +181 -0
  1123. package/dist/esm/six-tooltip.entry.js.map +1 -0
  1124. package/dist/esm/slot-j3oIB5oT.js +48 -0
  1125. package/dist/esm/slot-j3oIB5oT.js.map +1 -0
  1126. package/dist/esm/types-WA6V9mN8.js +20 -0
  1127. package/dist/esm/types-WA6V9mN8.js.map +1 -0
  1128. package/dist/esm/ui-library.js +24 -0
  1129. package/dist/esm/ui-library.js.map +1 -0
  1130. package/dist/index.cjs.js +1 -0
  1131. package/dist/index.js +1 -0
  1132. package/dist/types/components/six-alert/six-alert.d.ts +65 -0
  1133. package/dist/types/components/six-avatar/six-avatar.d.ts +26 -0
  1134. package/dist/types/components/six-badge/six-badge.d.ts +19 -0
  1135. package/dist/types/components/six-button/six-button.d.ts +69 -0
  1136. package/dist/types/components/six-card/six-card.d.ts +9 -0
  1137. package/dist/types/components/six-checkbox/six-checkbox.d.ts +77 -0
  1138. package/dist/types/components/six-date/calendar-grid.d.ts +20 -0
  1139. package/dist/types/components/six-date/components/day-selection.d.ts +8 -0
  1140. package/dist/types/components/six-date/components/month-selection.d.ts +7 -0
  1141. package/dist/types/components/six-date/components/year-selection.d.ts +7 -0
  1142. package/dist/types/components/six-date/iso-date.d.ts +57 -0
  1143. package/dist/types/components/six-date/six-date.d.ts +143 -0
  1144. package/dist/types/components/six-date/translations.d.ts +37 -0
  1145. package/dist/types/components/six-datepicker/components/day-selection.d.ts +9 -0
  1146. package/dist/types/components/six-datepicker/components/month-selection.d.ts +8 -0
  1147. package/dist/types/components/six-datepicker/components/year-selection.d.ts +7 -0
  1148. package/dist/types/components/six-datepicker/six-date-formats.d.ts +22 -0
  1149. package/dist/types/components/six-datepicker/six-datepicker.d.ts +205 -0
  1150. package/dist/types/components/six-datepicker/test/six-datepicker.test-helpers.d.ts +1 -0
  1151. package/dist/types/components/six-details/six-details.d.ts +61 -0
  1152. package/dist/types/components/six-dialog/six-dialog.d.ts +83 -0
  1153. package/dist/types/components/six-drawer/six-drawer.d.ts +89 -0
  1154. package/dist/types/components/six-dropdown/six-dropdown.d.ts +148 -0
  1155. package/dist/types/components/six-error/six-error.d.ts +9 -0
  1156. package/dist/types/components/six-error-page/six-error-page.d.ts +27 -0
  1157. package/dist/types/components/six-file-list/six-file-list.d.ts +8 -0
  1158. package/dist/types/components/six-file-list-item/six-file-list-item.d.ts +35 -0
  1159. package/dist/types/components/six-file-upload/six-file-upload.d.ts +55 -0
  1160. package/dist/types/components/six-footer/six-footer.d.ts +9 -0
  1161. package/dist/types/components/six-group-label/six-group-label.d.ts +37 -0
  1162. package/dist/types/components/six-header/six-header.d.ts +20 -0
  1163. package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +22 -0
  1164. package/dist/types/components/six-header-item/six-header-item.d.ts +15 -0
  1165. package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +17 -0
  1166. package/dist/types/components/six-icon/six-icon.d.ts +13 -0
  1167. package/dist/types/components/six-icon-button/six-icon-button.d.ts +34 -0
  1168. package/dist/types/components/six-input/six-input.d.ts +147 -0
  1169. package/dist/types/components/six-item-picker/six-item-picker.d.ts +110 -0
  1170. package/dist/types/components/six-item-picker/types.d.ts +11 -0
  1171. package/dist/types/components/six-language-switcher/six-language-switcher.d.ts +25 -0
  1172. package/dist/types/components/six-layout-grid/six-layout-grid.d.ts +14 -0
  1173. package/dist/types/components/six-logo/six-logo.d.ts +9 -0
  1174. package/dist/types/components/six-main-container/six-main-container.d.ts +16 -0
  1175. package/dist/types/components/six-menu/six-menu.d.ts +84 -0
  1176. package/dist/types/components/six-menu-divider/six-menu-divider.d.ts +11 -0
  1177. package/dist/types/components/six-menu-item/six-menu-item.d.ts +45 -0
  1178. package/dist/types/components/six-menu-label/six-menu-label.d.ts +13 -0
  1179. package/dist/types/components/six-picto/six-picto.d.ts +14 -0
  1180. package/dist/types/components/six-progress-bar/six-progress-bar.d.ts +19 -0
  1181. package/dist/types/components/six-progress-ring/six-progress-ring.d.ts +24 -0
  1182. package/dist/types/components/six-radio/six-radio.d.ts +55 -0
  1183. package/dist/types/components/six-range/six-range.d.ts +95 -0
  1184. package/dist/types/components/six-rating/six-rating.d.ts +52 -0
  1185. package/dist/types/components/six-root/six-root.d.ts +21 -0
  1186. package/dist/types/components/six-search-field/six-search-field.d.ts +31 -0
  1187. package/dist/types/components/six-select/six-select.d.ts +157 -0
  1188. package/dist/types/components/six-select/util.d.ts +9 -0
  1189. package/dist/types/components/six-sidebar/six-sidebar.d.ts +55 -0
  1190. package/dist/types/components/six-sidebar-item/six-sidebar-item.d.ts +22 -0
  1191. package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +35 -0
  1192. package/dist/types/components/six-spinner/six-spinner.d.ts +36 -0
  1193. package/dist/types/components/six-stage-indicator/six-stage-indicator.d.ts +6 -0
  1194. package/dist/types/components/six-switch/six-switch.d.ts +66 -0
  1195. package/dist/types/components/six-tab/six-tab.d.ts +35 -0
  1196. package/dist/types/components/six-tab-group/six-tab-group.d.ts +61 -0
  1197. package/dist/types/components/six-tab-panel/six-tab-panel.d.ts +19 -0
  1198. package/dist/types/components/six-tag/six-tag.d.ts +36 -0
  1199. package/dist/types/components/six-textarea/six-textarea.d.ts +109 -0
  1200. package/dist/types/components/six-tile/six-tile.d.ts +39 -0
  1201. package/dist/types/components/six-timepicker/six-timepicker.d.ts +170 -0
  1202. package/dist/types/components/six-tooltip/six-tooltip.d.ts +70 -0
  1203. package/dist/types/components.d.ts +6669 -0
  1204. package/dist/types/functional-components/form-control/form-control.d.ts +37 -0
  1205. package/dist/types/index.d.ts +3 -0
  1206. package/dist/types/stencil-public-runtime.d.ts +1702 -0
  1207. package/dist/types/testUtil/delay.d.ts +1 -0
  1208. package/dist/types/types.d.ts +3 -0
  1209. package/dist/types/utils/alert.d.ts +10 -0
  1210. package/dist/types/utils/animation.d.ts +16 -0
  1211. package/dist/types/utils/date-util.d.ts +210 -0
  1212. package/dist/types/utils/error-messages.d.ts +44 -0
  1213. package/dist/types/utils/event-listeners.d.ts +16 -0
  1214. package/dist/types/utils/execution-control.d.ts +24 -0
  1215. package/dist/types/utils/focus-visible.d.ts +6 -0
  1216. package/dist/types/utils/form.d.ts +1 -0
  1217. package/dist/types/utils/modal.d.ts +13 -0
  1218. package/dist/types/utils/offset.d.ts +4 -0
  1219. package/dist/types/utils/popover-util.d.ts +1 -0
  1220. package/dist/types/utils/popover.d.ts +27 -0
  1221. package/dist/types/utils/popup.d.ts +9 -0
  1222. package/dist/types/utils/scroll.d.ts +3 -0
  1223. package/dist/types/utils/slot.d.ts +3 -0
  1224. package/dist/types/utils/tabbable.d.ts +2 -0
  1225. package/dist/types/utils/time.util.d.ts +19 -0
  1226. package/dist/types/utils/type-check.d.ts +3 -0
  1227. package/dist/types/utils/types.d.ts +4 -0
  1228. package/dist/ui-library/assets/TRADEMARKS.md +7 -0
  1229. package/dist/ui-library/assets/commons.js +5 -0
  1230. package/dist/ui-library/assets/data.json +642 -0
  1231. package/dist/ui-library/files/material-icons-latin-400-normal.woff +0 -0
  1232. package/dist/ui-library/files/material-icons-latin-400-normal.woff2 +0 -0
  1233. package/dist/ui-library/files/material-icons-outlined-latin-400-normal.woff +0 -0
  1234. package/dist/ui-library/files/material-icons-outlined-latin-400-normal.woff2 +0 -0
  1235. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
  1236. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  1237. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
  1238. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  1239. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
  1240. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  1241. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
  1242. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  1243. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
  1244. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  1245. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
  1246. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  1247. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
  1248. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  1249. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
  1250. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  1251. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
  1252. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  1253. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
  1254. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  1255. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
  1256. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  1257. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
  1258. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  1259. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
  1260. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  1261. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
  1262. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  1263. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
  1264. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  1265. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
  1266. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  1267. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
  1268. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  1269. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
  1270. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  1271. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  1272. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  1273. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  1274. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  1275. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  1276. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  1277. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  1278. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  1279. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  1280. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  1281. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  1282. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  1283. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  1284. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  1285. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  1286. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  1287. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  1288. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  1289. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  1290. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  1291. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  1292. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  1293. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  1294. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  1295. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  1296. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  1297. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  1298. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  1299. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  1300. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  1301. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  1302. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  1303. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  1304. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  1305. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  1306. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  1307. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
  1308. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  1309. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
  1310. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  1311. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
  1312. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  1313. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
  1314. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  1315. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
  1316. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  1317. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
  1318. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  1319. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
  1320. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  1321. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
  1322. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  1323. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
  1324. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  1325. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
  1326. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  1327. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
  1328. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  1329. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
  1330. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  1331. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
  1332. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  1333. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
  1334. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  1335. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
  1336. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  1337. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
  1338. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  1339. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
  1340. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  1341. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
  1342. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  1343. package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
  1344. package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
  1345. package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
  1346. package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
  1347. package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
  1348. package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
  1349. package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
  1350. package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
  1351. package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
  1352. package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
  1353. package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
  1354. package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
  1355. package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
  1356. package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
  1357. package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
  1358. package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
  1359. package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
  1360. package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
  1361. package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
  1362. package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
  1363. package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
  1364. package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
  1365. package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
  1366. package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
  1367. package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
  1368. package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
  1369. package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
  1370. package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
  1371. package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
  1372. package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
  1373. package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
  1374. package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
  1375. package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
  1376. package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
  1377. package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
  1378. package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
  1379. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
  1380. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  1381. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
  1382. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  1383. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
  1384. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  1385. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
  1386. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  1387. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
  1388. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  1389. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
  1390. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  1391. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
  1392. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  1393. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
  1394. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  1395. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
  1396. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  1397. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
  1398. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  1399. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
  1400. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  1401. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
  1402. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  1403. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
  1404. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  1405. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
  1406. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  1407. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
  1408. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  1409. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
  1410. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  1411. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
  1412. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  1413. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
  1414. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  1415. package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
  1416. package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
  1417. package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
  1418. package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
  1419. package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
  1420. package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
  1421. package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
  1422. package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
  1423. package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
  1424. package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
  1425. package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
  1426. package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
  1427. package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
  1428. package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
  1429. package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
  1430. package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
  1431. package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
  1432. package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
  1433. package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
  1434. package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
  1435. package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
  1436. package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
  1437. package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
  1438. package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
  1439. package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
  1440. package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
  1441. package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
  1442. package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
  1443. package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
  1444. package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
  1445. package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
  1446. package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
  1447. package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
  1448. package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
  1449. package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
  1450. package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
  1451. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
  1452. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  1453. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
  1454. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  1455. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
  1456. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  1457. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
  1458. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  1459. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
  1460. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  1461. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
  1462. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  1463. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
  1464. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  1465. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
  1466. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  1467. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
  1468. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  1469. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
  1470. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  1471. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
  1472. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  1473. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
  1474. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  1475. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
  1476. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  1477. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
  1478. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  1479. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
  1480. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  1481. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
  1482. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  1483. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
  1484. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  1485. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
  1486. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  1487. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
  1488. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  1489. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
  1490. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  1491. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
  1492. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  1493. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
  1494. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  1495. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
  1496. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  1497. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
  1498. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  1499. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
  1500. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  1501. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
  1502. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  1503. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
  1504. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  1505. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
  1506. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  1507. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
  1508. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  1509. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
  1510. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  1511. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
  1512. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  1513. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
  1514. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  1515. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
  1516. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  1517. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
  1518. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  1519. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
  1520. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  1521. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
  1522. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  1523. package/dist/ui-library/index.esm.js +2 -0
  1524. package/dist/ui-library/index.esm.js.map +1 -0
  1525. package/dist/ui-library/loader.esm.js.map +1 -0
  1526. package/dist/ui-library/p-03ca4af8.entry.js +2 -0
  1527. package/dist/ui-library/p-03ca4af8.entry.js.map +1 -0
  1528. package/dist/ui-library/p-09de2bda.entry.js +2 -0
  1529. package/dist/ui-library/p-09de2bda.entry.js.map +1 -0
  1530. package/dist/ui-library/p-0eb90caf.entry.js +2 -0
  1531. package/dist/ui-library/p-0eb90caf.entry.js.map +1 -0
  1532. package/dist/ui-library/p-12e7a9e1.entry.js +2 -0
  1533. package/dist/ui-library/p-12e7a9e1.entry.js.map +1 -0
  1534. package/dist/ui-library/p-14f79bfc.entry.js +2 -0
  1535. package/dist/ui-library/p-14f79bfc.entry.js.map +1 -0
  1536. package/dist/ui-library/p-174dd242.entry.js +2 -0
  1537. package/dist/ui-library/p-174dd242.entry.js.map +1 -0
  1538. package/dist/ui-library/p-18e755bc.entry.js +2 -0
  1539. package/dist/ui-library/p-18e755bc.entry.js.map +1 -0
  1540. package/dist/ui-library/p-194037e9.entry.js +2 -0
  1541. package/dist/ui-library/p-194037e9.entry.js.map +1 -0
  1542. package/dist/ui-library/p-1cfa2df4.entry.js +2 -0
  1543. package/dist/ui-library/p-1cfa2df4.entry.js.map +1 -0
  1544. package/dist/ui-library/p-1oJarDAY.js +2 -0
  1545. package/dist/ui-library/p-1oJarDAY.js.map +1 -0
  1546. package/dist/ui-library/p-21cbccb1.entry.js +2 -0
  1547. package/dist/ui-library/p-21cbccb1.entry.js.map +1 -0
  1548. package/dist/ui-library/p-22ad3353.entry.js +2 -0
  1549. package/dist/ui-library/p-22ad3353.entry.js.map +1 -0
  1550. package/dist/ui-library/p-2a245a37.entry.js +2 -0
  1551. package/dist/ui-library/p-2a245a37.entry.js.map +1 -0
  1552. package/dist/ui-library/p-2a82de6c.entry.js +2 -0
  1553. package/dist/ui-library/p-2a82de6c.entry.js.map +1 -0
  1554. package/dist/ui-library/p-2fb16281.entry.js +2 -0
  1555. package/dist/ui-library/p-2fb16281.entry.js.map +1 -0
  1556. package/dist/ui-library/p-31c5f8fa.entry.js +2 -0
  1557. package/dist/ui-library/p-31c5f8fa.entry.js.map +1 -0
  1558. package/dist/ui-library/p-336610a9.entry.js +2 -0
  1559. package/dist/ui-library/p-336610a9.entry.js.map +1 -0
  1560. package/dist/ui-library/p-371ef302.entry.js +2 -0
  1561. package/dist/ui-library/p-371ef302.entry.js.map +1 -0
  1562. package/dist/ui-library/p-39109b96.entry.js +2 -0
  1563. package/dist/ui-library/p-39109b96.entry.js.map +1 -0
  1564. package/dist/ui-library/p-39668d61.entry.js +2 -0
  1565. package/dist/ui-library/p-39668d61.entry.js.map +1 -0
  1566. package/dist/ui-library/p-3d49deae.entry.js +2 -0
  1567. package/dist/ui-library/p-3d49deae.entry.js.map +1 -0
  1568. package/dist/ui-library/p-3dc98466.entry.js +2 -0
  1569. package/dist/ui-library/p-3dc98466.entry.js.map +1 -0
  1570. package/dist/ui-library/p-4152b371.entry.js +2 -0
  1571. package/dist/ui-library/p-4152b371.entry.js.map +1 -0
  1572. package/dist/ui-library/p-54490d28.entry.js +2 -0
  1573. package/dist/ui-library/p-54490d28.entry.js.map +1 -0
  1574. package/dist/ui-library/p-56e172e0.entry.js +2 -0
  1575. package/dist/ui-library/p-56e172e0.entry.js.map +1 -0
  1576. package/dist/ui-library/p-5b52d097.entry.js +2 -0
  1577. package/dist/ui-library/p-5b52d097.entry.js.map +1 -0
  1578. package/dist/ui-library/p-65e53a1b.entry.js +2 -0
  1579. package/dist/ui-library/p-65e53a1b.entry.js.map +1 -0
  1580. package/dist/ui-library/p-6607d03a.entry.js +2 -0
  1581. package/dist/ui-library/p-6607d03a.entry.js.map +1 -0
  1582. package/dist/ui-library/p-6c8182fa.entry.js +2 -0
  1583. package/dist/ui-library/p-6c8182fa.entry.js.map +1 -0
  1584. package/dist/ui-library/p-6dd3f54c.entry.js +2 -0
  1585. package/dist/ui-library/p-6dd3f54c.entry.js.map +1 -0
  1586. package/dist/ui-library/p-811ce2a0.entry.js +2 -0
  1587. package/dist/ui-library/p-811ce2a0.entry.js.map +1 -0
  1588. package/dist/ui-library/p-83b35622.entry.js +2 -0
  1589. package/dist/ui-library/p-83b35622.entry.js.map +1 -0
  1590. package/dist/ui-library/p-83d5fa7c.entry.js +2 -0
  1591. package/dist/ui-library/p-83d5fa7c.entry.js.map +1 -0
  1592. package/dist/ui-library/p-850aff56.entry.js +2 -0
  1593. package/dist/ui-library/p-850aff56.entry.js.map +1 -0
  1594. package/dist/ui-library/p-8884a48b.entry.js +2 -0
  1595. package/dist/ui-library/p-8884a48b.entry.js.map +1 -0
  1596. package/dist/ui-library/p-91c195d3.entry.js +2 -0
  1597. package/dist/ui-library/p-91c195d3.entry.js.map +1 -0
  1598. package/dist/ui-library/p-9ec79195.entry.js +2 -0
  1599. package/dist/ui-library/p-9ec79195.entry.js.map +1 -0
  1600. package/dist/ui-library/p-B1bClJZ6.js +2 -0
  1601. package/dist/ui-library/p-B1bClJZ6.js.map +1 -0
  1602. package/dist/ui-library/p-BY6hIEFX.js +2 -0
  1603. package/dist/ui-library/p-BY6hIEFX.js.map +1 -0
  1604. package/dist/ui-library/p-C4h4qpGl.js +2 -0
  1605. package/dist/ui-library/p-C4h4qpGl.js.map +1 -0
  1606. package/dist/ui-library/p-CKhg9ibv.js +2 -0
  1607. package/dist/ui-library/p-CKhg9ibv.js.map +1 -0
  1608. package/dist/ui-library/p-CfIoyvm-.js +2 -0
  1609. package/dist/ui-library/p-CfIoyvm-.js.map +1 -0
  1610. package/dist/ui-library/p-DQuL1Twl.js +2 -0
  1611. package/dist/ui-library/p-DQuL1Twl.js.map +1 -0
  1612. package/dist/ui-library/p-Dd6pdO8C.js +2 -0
  1613. package/dist/ui-library/p-Dd6pdO8C.js.map +1 -0
  1614. package/dist/ui-library/p-Dg9366Gk.js +2 -0
  1615. package/dist/ui-library/p-Dg9366Gk.js.map +1 -0
  1616. package/dist/ui-library/p-JoG9I7EO.js +3 -0
  1617. package/dist/ui-library/p-JoG9I7EO.js.map +1 -0
  1618. package/dist/ui-library/p-SLlDVtvF.js +2 -0
  1619. package/dist/ui-library/p-SLlDVtvF.js.map +1 -0
  1620. package/dist/ui-library/p-Vw_F19Fv.js +2 -0
  1621. package/dist/ui-library/p-Vw_F19Fv.js.map +1 -0
  1622. package/dist/ui-library/p-WA6V9mN8.js +2 -0
  1623. package/dist/ui-library/p-WA6V9mN8.js.map +1 -0
  1624. package/dist/ui-library/p-a43843d6.entry.js +2 -0
  1625. package/dist/ui-library/p-a43843d6.entry.js.map +1 -0
  1626. package/dist/ui-library/p-a4b523ed.entry.js +2 -0
  1627. package/dist/ui-library/p-a4b523ed.entry.js.map +1 -0
  1628. package/dist/ui-library/p-ab043a8c.entry.js +2 -0
  1629. package/dist/ui-library/p-ab043a8c.entry.js.map +1 -0
  1630. package/dist/ui-library/p-b37d9771.entry.js +2 -0
  1631. package/dist/ui-library/p-b37d9771.entry.js.map +1 -0
  1632. package/dist/ui-library/p-b6244904.entry.js +2 -0
  1633. package/dist/ui-library/p-b6244904.entry.js.map +1 -0
  1634. package/dist/ui-library/p-c47f11e4.entry.js +2 -0
  1635. package/dist/ui-library/p-c47f11e4.entry.js.map +1 -0
  1636. package/dist/ui-library/p-c8fbf085.entry.js +2 -0
  1637. package/dist/ui-library/p-c8fbf085.entry.js.map +1 -0
  1638. package/dist/ui-library/p-c90a59fc.entry.js +2 -0
  1639. package/dist/ui-library/p-c90a59fc.entry.js.map +1 -0
  1640. package/dist/ui-library/p-cea7f777.entry.js +2 -0
  1641. package/dist/ui-library/p-cea7f777.entry.js.map +1 -0
  1642. package/dist/ui-library/p-d7c7398d.entry.js +2 -0
  1643. package/dist/ui-library/p-d7c7398d.entry.js.map +1 -0
  1644. package/dist/ui-library/p-d9e770ab.entry.js +2 -0
  1645. package/dist/ui-library/p-d9e770ab.entry.js.map +1 -0
  1646. package/dist/ui-library/p-dc2109d2.entry.js +2 -0
  1647. package/dist/ui-library/p-dc2109d2.entry.js.map +1 -0
  1648. package/dist/ui-library/p-e85be7d2.entry.js +2 -0
  1649. package/dist/ui-library/p-e85be7d2.entry.js.map +1 -0
  1650. package/dist/ui-library/p-e92df84a.entry.js +2 -0
  1651. package/dist/ui-library/p-e92df84a.entry.js.map +1 -0
  1652. package/dist/ui-library/p-ea3bf68d.entry.js +2 -0
  1653. package/dist/ui-library/p-ea3bf68d.entry.js.map +1 -0
  1654. package/dist/ui-library/p-ed6625e6.entry.js +2 -0
  1655. package/dist/ui-library/p-ed6625e6.entry.js.map +1 -0
  1656. package/dist/ui-library/p-ee980a0f.entry.js +2 -0
  1657. package/dist/ui-library/p-ee980a0f.entry.js.map +1 -0
  1658. package/dist/ui-library/p-f54d3616.entry.js +2 -0
  1659. package/dist/ui-library/p-f54d3616.entry.js.map +1 -0
  1660. package/dist/ui-library/p-f6a1c20b.entry.js +2 -0
  1661. package/dist/ui-library/p-f6a1c20b.entry.js.map +1 -0
  1662. package/dist/ui-library/p-fe7d3665.entry.js +2 -0
  1663. package/dist/ui-library/p-fe7d3665.entry.js.map +1 -0
  1664. package/dist/ui-library/p-j3oIB5oT.js +2 -0
  1665. package/dist/ui-library/p-j3oIB5oT.js.map +1 -0
  1666. package/dist/ui-library/p-kHci8ddv.js +2 -0
  1667. package/dist/ui-library/p-kHci8ddv.js.map +1 -0
  1668. package/dist/ui-library/six-alert.entry.esm.js.map +1 -0
  1669. package/dist/ui-library/six-avatar.entry.esm.js.map +1 -0
  1670. package/dist/ui-library/six-badge.entry.esm.js.map +1 -0
  1671. package/dist/ui-library/six-button.entry.esm.js.map +1 -0
  1672. package/dist/ui-library/six-card.entry.esm.js.map +1 -0
  1673. package/dist/ui-library/six-checkbox.six-menu-item.entry.esm.js.map +1 -0
  1674. package/dist/ui-library/six-date.entry.esm.js.map +1 -0
  1675. package/dist/ui-library/six-datepicker.entry.esm.js.map +1 -0
  1676. package/dist/ui-library/six-details.entry.esm.js.map +1 -0
  1677. package/dist/ui-library/six-dialog.entry.esm.js.map +1 -0
  1678. package/dist/ui-library/six-drawer.entry.esm.js.map +1 -0
  1679. package/dist/ui-library/six-dropdown.six-menu.entry.esm.js.map +1 -0
  1680. package/dist/ui-library/six-error-page.entry.esm.js.map +1 -0
  1681. package/dist/ui-library/six-error.entry.esm.js.map +1 -0
  1682. package/dist/ui-library/six-file-list-item.entry.esm.js.map +1 -0
  1683. package/dist/ui-library/six-file-list.entry.esm.js.map +1 -0
  1684. package/dist/ui-library/six-file-upload.entry.esm.js.map +1 -0
  1685. package/dist/ui-library/six-footer.entry.esm.js.map +1 -0
  1686. package/dist/ui-library/six-group-label.entry.esm.js.map +1 -0
  1687. package/dist/ui-library/six-header-dropdown-item.entry.esm.js.map +1 -0
  1688. package/dist/ui-library/six-header-item.entry.esm.js.map +1 -0
  1689. package/dist/ui-library/six-header-menu-button.entry.esm.js.map +1 -0
  1690. package/dist/ui-library/six-header.entry.esm.js.map +1 -0
  1691. package/dist/ui-library/six-icon-button.entry.esm.js.map +1 -0
  1692. package/dist/ui-library/six-icon.entry.esm.js.map +1 -0
  1693. package/dist/ui-library/six-input.entry.esm.js.map +1 -0
  1694. package/dist/ui-library/six-item-picker.entry.esm.js.map +1 -0
  1695. package/dist/ui-library/six-language-switcher.entry.esm.js.map +1 -0
  1696. package/dist/ui-library/six-layout-grid.entry.esm.js.map +1 -0
  1697. package/dist/ui-library/six-logo.entry.esm.js.map +1 -0
  1698. package/dist/ui-library/six-main-container.entry.esm.js.map +1 -0
  1699. package/dist/ui-library/six-menu-divider.entry.esm.js.map +1 -0
  1700. package/dist/ui-library/six-menu-label.entry.esm.js.map +1 -0
  1701. package/dist/ui-library/six-picto.entry.esm.js.map +1 -0
  1702. package/dist/ui-library/six-progress-bar.entry.esm.js.map +1 -0
  1703. package/dist/ui-library/six-progress-ring.entry.esm.js.map +1 -0
  1704. package/dist/ui-library/six-radio.entry.esm.js.map +1 -0
  1705. package/dist/ui-library/six-range.entry.esm.js.map +1 -0
  1706. package/dist/ui-library/six-rating.entry.esm.js.map +1 -0
  1707. package/dist/ui-library/six-root.entry.esm.js.map +1 -0
  1708. package/dist/ui-library/six-search-field.entry.esm.js.map +1 -0
  1709. package/dist/ui-library/six-select.entry.esm.js.map +1 -0
  1710. package/dist/ui-library/six-sidebar-item-group.entry.esm.js.map +1 -0
  1711. package/dist/ui-library/six-sidebar-item.entry.esm.js.map +1 -0
  1712. package/dist/ui-library/six-sidebar.entry.esm.js.map +1 -0
  1713. package/dist/ui-library/six-spinner.entry.esm.js.map +1 -0
  1714. package/dist/ui-library/six-stage-indicator.entry.esm.js.map +1 -0
  1715. package/dist/ui-library/six-switch.entry.esm.js.map +1 -0
  1716. package/dist/ui-library/six-tab-group.entry.esm.js.map +1 -0
  1717. package/dist/ui-library/six-tab-panel.entry.esm.js.map +1 -0
  1718. package/dist/ui-library/six-tab.entry.esm.js.map +1 -0
  1719. package/dist/ui-library/six-tag.entry.esm.js.map +1 -0
  1720. package/dist/ui-library/six-textarea.entry.esm.js.map +1 -0
  1721. package/dist/ui-library/six-tile.entry.esm.js.map +1 -0
  1722. package/dist/ui-library/six-timepicker.entry.esm.js.map +1 -0
  1723. package/dist/ui-library/six-tooltip.entry.esm.js.map +1 -0
  1724. package/dist/ui-library/ui-library.css +1 -0
  1725. package/dist/ui-library/ui-library.esm.js +2 -0
  1726. package/dist/ui-library/ui-library.esm.js.map +1 -0
  1727. package/loader/cdn.js +1 -0
  1728. package/loader/index.cjs.js +1 -0
  1729. package/loader/index.d.ts +24 -0
  1730. package/loader/index.es2017.js +1 -0
  1731. package/loader/index.js +2 -0
  1732. package/package.json +61 -0
@@ -0,0 +1,204 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-C8rK7OAe.js');
4
+ var scroll = require('./scroll-BQR9FxnJ.js');
5
+
6
+ const sixSidebarCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host{display:block;height:100%}.sidebar__container{height:100%;overflow:auto}.sidebar__container.sidebar--open{border-right:1px solid var(--six-color-web-rock-300)}.sidebar__container:not(.sidebar--visible){position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;pointer-events:none;visibility:hidden}.sidebar--left{color:var(--six-sidebar-color);background-color:var(--six-sidebar-background-color);transition:var(--six-transition-medium) margin-left;background-size:300vw 70%;background-position:bottom;background-repeat:no-repeat}.sidebar--right{transition:var(--six-transition-medium) margin-right}.sidebar--open.sidebar--left{margin-right:2px}.sidebar--open.sidebar--right{margin-left:2px}";
7
+
8
+ const isSidebarItemGroup = (node) => { var _a; return ((_a = node === null || node === void 0 ? void 0 : node.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'six-sidebar-item-group'; };
9
+ const SixSidebar = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.sixShow = index.createEvent(this, "six-sidebar-show");
13
+ this.sixAfterShow = index.createEvent(this, "six-sidebar-after-show");
14
+ this.sixHide = index.createEvent(this, "six-sidebar-hide");
15
+ this.sixAfterHide = index.createEvent(this, "six-sidebar-after-hide");
16
+ this.sixInitialFocus = index.createEvent(this, "six-sidebar-initial-focus");
17
+ this.willShow = false;
18
+ this.willHide = false;
19
+ this.isVisible = false;
20
+ /** Sidebar position */
21
+ this.position = 'left';
22
+ /** Indicates whether the sidebar is open. You can use this in lieu of the show/hide methods. */
23
+ this.open = false;
24
+ /** Sidebar width */
25
+ this.width = '16rem';
26
+ /** Define whether sidebar is toggled meaning only one menu can be open at the same time*/
27
+ this.toggled = false;
28
+ this.handleTransitionEnd = (event) => {
29
+ const target = event.target;
30
+ // Ensure we only emit one event when the target element is no longer visible
31
+ if (event.type === 'transitionend' && target.classList.contains('sidebar__container')) {
32
+ this.resetTransitionVariables();
33
+ }
34
+ };
35
+ this.closeSiblingDetailsOnShow = (event) => {
36
+ const clickedMenuItem = event.target;
37
+ if (this.sidebar != null) {
38
+ scroll.scrollIntoView(clickedMenuItem, this.sidebar);
39
+ }
40
+ const closeAllSiblingsBySiblingProperty = (getSibling) => {
41
+ var _a;
42
+ let node = clickedMenuItem;
43
+ while (getSibling(node) != null) {
44
+ node = getSibling(node);
45
+ if (isSidebarItemGroup(node)) {
46
+ const detailsElement = (_a = node === null || node === void 0 ? void 0 : node.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('six-details');
47
+ if (detailsElement != null) {
48
+ detailsElement.open = false;
49
+ }
50
+ }
51
+ }
52
+ };
53
+ // close all previous siblings
54
+ closeAllSiblingsBySiblingProperty((node) => node === null || node === void 0 ? void 0 : node.previousElementSibling);
55
+ // close all further siblings
56
+ closeAllSiblingsBySiblingProperty((node) => node === null || node === void 0 ? void 0 : node.nextElementSibling);
57
+ };
58
+ }
59
+ handleOpenChange() {
60
+ this.open ? this.show() : this.hide();
61
+ }
62
+ componentWillLoad() {
63
+ // Show on init if open
64
+ if (this.open) {
65
+ void this.show();
66
+ // if the sidebar is open by default we need to manually reset the
67
+ // transition variables since there will be no transition event
68
+ this.resetTransitionVariables();
69
+ }
70
+ }
71
+ componentDidRender() {
72
+ this.setupTogglableMenuItems();
73
+ }
74
+ disconnectedCallback() {
75
+ var _a;
76
+ (_a = this.sidebar) === null || _a === void 0 ? void 0 : _a.removeEventListener('six-details-show', this.closeSiblingDetailsOnShow);
77
+ }
78
+ setupTogglableMenuItems() {
79
+ if (!this.toggled || this.sidebar == null)
80
+ return;
81
+ this.markAllMenuItemsAsSelectableEmpty();
82
+ this.sidebar.addEventListener('six-details-show', this.closeSiblingDetailsOnShow);
83
+ }
84
+ markAllMenuItemsAsSelectableEmpty() {
85
+ var _a;
86
+ // when you have a toggled menu you also want to close other menu items when you click on an item without children
87
+ // nice benefit this item will then also be highlighted
88
+ const slot = (_a = this.sidebar) === null || _a === void 0 ? void 0 : _a.querySelector('slot');
89
+ const nodes = (slot === null || slot === void 0 ? void 0 : slot.assignedElements()) || [];
90
+ // since we don't just want to make the top level empty menuItems selectable in toggled mode,
91
+ // but also nested items we need to traverse the whole menu item tree
92
+ const menuItems = [];
93
+ while (nodes.length > 0) {
94
+ const node = nodes.pop();
95
+ if ((node === null || node === void 0 ? void 0 : node.shadowRoot) == null) {
96
+ continue;
97
+ }
98
+ // collect six-details in the current shadowDOM
99
+ const menuItemsForCurrentNode = node.shadowRoot.querySelectorAll('six-details');
100
+ menuItems.push(...menuItemsForCurrentNode);
101
+ // collect all six-sidebar-item-group children of the current node to afterwards check their shadowDOM too
102
+ const newItemGroups = Array.from(node.children).filter(isSidebarItemGroup);
103
+ nodes.push(...newItemGroups);
104
+ }
105
+ menuItems.forEach((details) => (details.selectableEmpty = true));
106
+ }
107
+ /** Toggles whether the sidebar should be shown or hidden */
108
+ async toggle() {
109
+ if (this.willShow || this.willHide) {
110
+ return;
111
+ }
112
+ if (this.open) {
113
+ await this.hide();
114
+ }
115
+ else {
116
+ await this.show();
117
+ }
118
+ }
119
+ /** Shows the sidebar */
120
+ async show() {
121
+ if (this.willShow) {
122
+ return;
123
+ }
124
+ const sixShow = this.sixShow.emit();
125
+ if (sixShow.defaultPrevented) {
126
+ this.open = false;
127
+ return;
128
+ }
129
+ this.willShow = true;
130
+ this.isVisible = true;
131
+ this.open = true;
132
+ }
133
+ /** Hides the sidebar */
134
+ async hide() {
135
+ if (this.willHide) {
136
+ return;
137
+ }
138
+ const sixHide = this.sixHide.emit();
139
+ if (sixHide.defaultPrevented) {
140
+ this.open = true;
141
+ return;
142
+ }
143
+ this.willHide = true;
144
+ this.open = false;
145
+ }
146
+ /** Allows to select a menu item programmatically by index */
147
+ async selectItemByIndex(index) {
148
+ if (this.sidebar == null)
149
+ return;
150
+ const slot = this.sidebar.querySelector('slot');
151
+ const menuItemsOnRootLevel = ((slot === null || slot === void 0 ? void 0 : slot.assignedElements()) || []).flatMap((el) => {
152
+ var _a;
153
+ const detailsElement = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('six-details');
154
+ if (detailsElement == null) {
155
+ return [];
156
+ }
157
+ return [detailsElement];
158
+ });
159
+ if (index < 0 || index > menuItemsOnRootLevel.length - 1) {
160
+ console.error(`Tried to access sidebar menu item by index, but provided index out of range. Provided index: ${index}`);
161
+ return;
162
+ }
163
+ await menuItemsOnRootLevel[index].show();
164
+ }
165
+ /** Allows to select a menu item programmatically by name */
166
+ async selectItemByName(value) {
167
+ var _a, _b, _c;
168
+ const slot = (_a = this.sidebar) === null || _a === void 0 ? void 0 : _a.querySelector('slot');
169
+ const sidebarItemGroups = slot === null || slot === void 0 ? void 0 : slot.assignedElements();
170
+ if (sidebarItemGroups == null) {
171
+ return;
172
+ }
173
+ const indexOfSelectedElement = sidebarItemGroups.findIndex((el) => (el === null || el === void 0 ? void 0 : el.name) === value);
174
+ const selectedItem = (_c = (_b = sidebarItemGroups.at(indexOfSelectedElement)) === null || _b === void 0 ? void 0 : _b.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelector('six-details');
175
+ await (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.show());
176
+ }
177
+ resetTransitionVariables() {
178
+ this.isVisible = this.open;
179
+ this.willShow = false;
180
+ this.willHide = false;
181
+ this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
182
+ }
183
+ render() {
184
+ return (index.h("host", { key: '11810533a79d5685e6ab768f0fbc8d9594d44de4', class: "six-sidebar" }, index.h("div", { key: '6908b34bd6df174046145e9c4813278703e0d7cf', class: {
185
+ sidebar__container: true,
186
+ 'sidebar--visible': this.isVisible,
187
+ 'sidebar--open': this.open,
188
+ 'sidebar--left': this.position === 'left',
189
+ 'sidebar--right': this.position === 'right',
190
+ }, style: {
191
+ width: this.width,
192
+ [`margin-${this.position}`]: this.open ? '0' : `calc(1rem - ${this.width})`,
193
+ }, ref: (el) => (this.sidebar = el), "aria-hidden": this.open ? 'false' : 'true', onTransitionEnd: this.handleTransitionEnd }, index.h("slot", { key: '31557fda47113669da4d999a54f0074b37daffc8' }))));
194
+ }
195
+ static get watchers() { return {
196
+ "open": ["handleOpenChange"]
197
+ }; }
198
+ };
199
+ SixSidebar.style = sixSidebarCss;
200
+
201
+ exports.six_sidebar = SixSidebar;
202
+ //# sourceMappingURL=six-sidebar.entry.cjs.js.map
203
+
204
+ //# sourceMappingURL=six-sidebar.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"six-sidebar.entry.cjs.js","mappings":";;;;;AAAA,MAAM,aAAa,GAAG,o8BAAo8B;;AC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,EAEzCA,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACJ,CACD;;;;;;;;;;","names":["scrollIntoView","h"],"sources":["src/components/six-sidebar/six-sidebar.scss?tag=six-sidebar&encapsulation=shadow","src/components/six-sidebar/six-sidebar.tsx"],"sourcesContent":["@import 'src/global/component';\n@import 'src/global/mixins/hidden';\n@import 'src/global/mixins/scrollbar';\n\n:host {\n display: block;\n height: 100%;\n}\n\n.sidebar {\n &__container {\n // scroll\n height: 100%;\n overflow: auto;\n\n &.sidebar--open {\n border-right: 1px solid var(--six-color-web-rock-300);\n }\n\n &:not(.sidebar--visible) {\n @include hidden;\n }\n }\n\n &--left {\n color: var(--six-sidebar-color);\n background-color: var(--six-sidebar-background-color);\n // collapse\n transition: var(--six-transition-medium) margin-left;\n // six background\n background-size: 300vw 70%;\n background-position: bottom;\n background-repeat: no-repeat;\n }\n\n &--right {\n // collapse\n transition: var(--six-transition-medium) margin-right;\n }\n\n // if the sidebar is embedded within six-root it cuts-off the border styling, for thus we need to guarante a margin\n &--open {\n &.sidebar--left {\n margin-right: 2px;\n }\n\n &.sidebar--right {\n margin-left: 2px;\n }\n }\n}\n","import { Component, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { scrollIntoView } from '../../utils/scroll';\n\nconst isSidebarItemGroup = (node?: Element | null): boolean =>\n node?.tagName?.toLowerCase() === 'six-sidebar-item-group';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the nested side bar [group] items.\n */\n\n@Component({\n tag: 'six-sidebar',\n styleUrl: 'six-sidebar.scss',\n shadow: true,\n})\nexport class SixSidebar {\n private willShow = false;\n private willHide = false;\n\n private sidebar?: HTMLElement;\n\n @State() isVisible = false;\n\n /** Sidebar position */\n @Prop() position: 'left' | 'right' = 'left';\n\n /** Indicates whether the sidebar is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Sidebar width */\n @Prop() width = '16rem';\n\n /** Define whether sidebar is toggled meaning only one menu can be open at the same time*/\n @Prop() toggled = false;\n\n /** Emitted when the sidebar opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-sidebar-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the sidebar opens and all transitions are complete. */\n @Event({ eventName: 'six-sidebar-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the sidebar closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-sidebar-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the sidebar closes and all transitions are complete. */\n @Event({ eventName: 'six-sidebar-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the sidebar opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the sidebar, such as an input or button.\n */\n @Event({ eventName: 'six-sidebar-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.type === 'transitionend' && target.classList.contains('sidebar__container')) {\n this.resetTransitionVariables();\n }\n };\n\n componentWillLoad() {\n // Show on init if open\n if (this.open) {\n void this.show();\n // if the sidebar is open by default we need to manually reset the\n // transition variables since there will be no transition event\n this.resetTransitionVariables();\n }\n }\n\n componentDidRender() {\n this.setupTogglableMenuItems();\n }\n\n disconnectedCallback() {\n this.sidebar?.removeEventListener('six-details-show', this.closeSiblingDetailsOnShow);\n }\n\n private closeSiblingDetailsOnShow = (event: Event) => {\n const clickedMenuItem = event.target as HTMLElement;\n if (this.sidebar != null) {\n scrollIntoView(clickedMenuItem, this.sidebar);\n }\n\n const closeAllSiblingsBySiblingProperty = (\n getSibling: (node: Element | null | undefined) => Element | null | undefined\n ) => {\n let node: Element | null | undefined = clickedMenuItem;\n while (getSibling(node) != null) {\n node = getSibling(node);\n if (isSidebarItemGroup(node)) {\n const detailsElement = node?.shadowRoot?.querySelector('six-details');\n if (detailsElement != null) {\n detailsElement.open = false;\n }\n }\n }\n };\n\n // close all previous siblings\n closeAllSiblingsBySiblingProperty((node) => node?.previousElementSibling);\n // close all further siblings\n closeAllSiblingsBySiblingProperty((node) => node?.nextElementSibling);\n };\n\n private setupTogglableMenuItems() {\n if (!this.toggled || this.sidebar == null) return;\n this.markAllMenuItemsAsSelectableEmpty();\n this.sidebar.addEventListener('six-details-show', this.closeSiblingDetailsOnShow);\n }\n\n private markAllMenuItemsAsSelectableEmpty() {\n // when you have a toggled menu you also want to close other menu items when you click on an item without children\n // nice benefit this item will then also be highlighted\n const slot = this.sidebar?.querySelector('slot');\n const nodes = slot?.assignedElements() || [];\n\n // since we don't just want to make the top level empty menuItems selectable in toggled mode,\n // but also nested items we need to traverse the whole menu item tree\n const menuItems = [];\n while (nodes.length > 0) {\n const node = nodes.pop();\n if (node?.shadowRoot == null) {\n continue;\n }\n\n // collect six-details in the current shadowDOM\n const menuItemsForCurrentNode = node.shadowRoot.querySelectorAll('six-details');\n menuItems.push(...menuItemsForCurrentNode);\n\n // collect all six-sidebar-item-group children of the current node to afterwards check their shadowDOM too\n const newItemGroups = Array.from(node.children).filter(isSidebarItemGroup);\n nodes.push(...newItemGroups);\n }\n\n menuItems.forEach((details) => (details.selectableEmpty = true));\n }\n\n /** Toggles whether the sidebar should be shown or hidden */\n @Method()\n async toggle() {\n if (this.willShow || this.willHide) {\n return;\n }\n\n if (this.open) {\n await this.hide();\n } else {\n await this.show();\n }\n }\n\n /** Shows the sidebar */\n @Method()\n async show() {\n if (this.willShow) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n }\n\n /** Hides the sidebar */\n @Method()\n async hide() {\n if (this.willHide) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n }\n\n /** Allows to select a menu item programmatically by index */\n @Method()\n async selectItemByIndex(index: number) {\n if (this.sidebar == null) return;\n\n const slot = this.sidebar.querySelector('slot');\n const menuItemsOnRootLevel: HTMLSixDetailsElement[] = (slot?.assignedElements() || []).flatMap((el) => {\n const detailsElement = el.shadowRoot?.querySelector('six-details');\n if (detailsElement == null) {\n return [];\n }\n return [detailsElement];\n });\n if (index < 0 || index > menuItemsOnRootLevel.length - 1) {\n console.error(\n `Tried to access sidebar menu item by index, but provided index out of range. Provided index: ${index}`\n );\n return;\n }\n await menuItemsOnRootLevel[index].show();\n }\n\n /** Allows to select a menu item programmatically by name */\n @Method()\n async selectItemByName(value: string) {\n const slot = this.sidebar?.querySelector('slot');\n const sidebarItemGroups = slot?.assignedElements() as HTMLSixSidebarItemGroupElement[];\n if (sidebarItemGroups == null) {\n return;\n }\n\n const indexOfSelectedElement = sidebarItemGroups.findIndex((el) => el?.name === value);\n const selectedItem = sidebarItemGroups.at(indexOfSelectedElement)?.shadowRoot?.querySelector('six-details');\n await selectedItem?.show();\n }\n\n private resetTransitionVariables() {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n\n render() {\n return (\n <host class=\"six-sidebar\">\n <div\n class={{\n sidebar__container: true,\n 'sidebar--visible': this.isVisible,\n 'sidebar--open': this.open,\n 'sidebar--left': this.position === 'left',\n 'sidebar--right': this.position === 'right',\n }}\n style={{\n width: this.width,\n [`margin-${this.position}`]: this.open ? '0' : `calc(1rem - ${this.width})`,\n }}\n ref={(el) => (this.sidebar = el)}\n aria-hidden={this.open ? 'false' : 'true'}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <slot />\n </div>\n </host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"six-sidebar.entry.cjs.js","sources":["src/components/six-sidebar/six-sidebar.scss?tag=six-sidebar&encapsulation=shadow","src/components/six-sidebar/six-sidebar.tsx"],"sourcesContent":["@import 'src/global/component';\n@import 'src/global/mixins/hidden';\n@import 'src/global/mixins/scrollbar';\n\n:host {\n display: block;\n height: 100%;\n}\n\n.sidebar {\n &__container {\n // scroll\n height: 100%;\n overflow: auto;\n\n &.sidebar--open {\n border-right: 1px solid var(--six-color-web-rock-300);\n }\n\n &:not(.sidebar--visible) {\n @include hidden;\n }\n }\n\n &--left {\n color: var(--six-sidebar-color);\n background-color: var(--six-sidebar-background-color);\n // collapse\n transition: var(--six-transition-medium) margin-left;\n // six background\n background-size: 300vw 70%;\n background-position: bottom;\n background-repeat: no-repeat;\n }\n\n &--right {\n // collapse\n transition: var(--six-transition-medium) margin-right;\n }\n\n // if the sidebar is embedded within six-root it cuts-off the border styling, for thus we need to guarante a margin\n &--open {\n &.sidebar--left {\n margin-right: 2px;\n }\n\n &.sidebar--right {\n margin-left: 2px;\n }\n }\n}\n","import { Component, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { scrollIntoView } from '../../utils/scroll';\n\nconst isSidebarItemGroup = (node?: Element | null): boolean =>\n node?.tagName?.toLowerCase() === 'six-sidebar-item-group';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the nested side bar [group] items.\n */\n\n@Component({\n tag: 'six-sidebar',\n styleUrl: 'six-sidebar.scss',\n shadow: true,\n})\nexport class SixSidebar {\n private willShow = false;\n private willHide = false;\n\n private sidebar?: HTMLElement;\n\n @State() isVisible = false;\n\n /** Sidebar position */\n @Prop() position: 'left' | 'right' = 'left';\n\n /** Indicates whether the sidebar is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Sidebar width */\n @Prop() width = '16rem';\n\n /** Define whether sidebar is toggled meaning only one menu can be open at the same time*/\n @Prop() toggled = false;\n\n /** Emitted when the sidebar opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-sidebar-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the sidebar opens and all transitions are complete. */\n @Event({ eventName: 'six-sidebar-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the sidebar closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-sidebar-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the sidebar closes and all transitions are complete. */\n @Event({ eventName: 'six-sidebar-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the sidebar opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the sidebar, such as an input or button.\n */\n @Event({ eventName: 'six-sidebar-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.type === 'transitionend' && target.classList.contains('sidebar__container')) {\n this.resetTransitionVariables();\n }\n };\n\n componentWillLoad() {\n // Show on init if open\n if (this.open) {\n void this.show();\n // if the sidebar is open by default we need to manually reset the\n // transition variables since there will be no transition event\n this.resetTransitionVariables();\n }\n }\n\n componentDidRender() {\n this.setupTogglableMenuItems();\n }\n\n disconnectedCallback() {\n this.sidebar?.removeEventListener('six-details-show', this.closeSiblingDetailsOnShow);\n }\n\n private closeSiblingDetailsOnShow = (event: Event) => {\n const clickedMenuItem = event.target as HTMLElement;\n if (this.sidebar != null) {\n scrollIntoView(clickedMenuItem, this.sidebar);\n }\n\n const closeAllSiblingsBySiblingProperty = (\n getSibling: (node: Element | null | undefined) => Element | null | undefined\n ) => {\n let node: Element | null | undefined = clickedMenuItem;\n while (getSibling(node) != null) {\n node = getSibling(node);\n if (isSidebarItemGroup(node)) {\n const detailsElement = node?.shadowRoot?.querySelector('six-details');\n if (detailsElement != null) {\n detailsElement.open = false;\n }\n }\n }\n };\n\n // close all previous siblings\n closeAllSiblingsBySiblingProperty((node) => node?.previousElementSibling);\n // close all further siblings\n closeAllSiblingsBySiblingProperty((node) => node?.nextElementSibling);\n };\n\n private setupTogglableMenuItems() {\n if (!this.toggled || this.sidebar == null) return;\n this.markAllMenuItemsAsSelectableEmpty();\n this.sidebar.addEventListener('six-details-show', this.closeSiblingDetailsOnShow);\n }\n\n private markAllMenuItemsAsSelectableEmpty() {\n // when you have a toggled menu you also want to close other menu items when you click on an item without children\n // nice benefit this item will then also be highlighted\n const slot = this.sidebar?.querySelector('slot');\n const nodes = slot?.assignedElements() || [];\n\n // since we don't just want to make the top level empty menuItems selectable in toggled mode,\n // but also nested items we need to traverse the whole menu item tree\n const menuItems = [];\n while (nodes.length > 0) {\n const node = nodes.pop();\n if (node?.shadowRoot == null) {\n continue;\n }\n\n // collect six-details in the current shadowDOM\n const menuItemsForCurrentNode = node.shadowRoot.querySelectorAll('six-details');\n menuItems.push(...menuItemsForCurrentNode);\n\n // collect all six-sidebar-item-group children of the current node to afterwards check their shadowDOM too\n const newItemGroups = Array.from(node.children).filter(isSidebarItemGroup);\n nodes.push(...newItemGroups);\n }\n\n menuItems.forEach((details) => (details.selectableEmpty = true));\n }\n\n /** Toggles whether the sidebar should be shown or hidden */\n @Method()\n async toggle() {\n if (this.willShow || this.willHide) {\n return;\n }\n\n if (this.open) {\n await this.hide();\n } else {\n await this.show();\n }\n }\n\n /** Shows the sidebar */\n @Method()\n async show() {\n if (this.willShow) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n }\n\n /** Hides the sidebar */\n @Method()\n async hide() {\n if (this.willHide) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n }\n\n /** Allows to select a menu item programmatically by index */\n @Method()\n async selectItemByIndex(index: number) {\n if (this.sidebar == null) return;\n\n const slot = this.sidebar.querySelector('slot');\n const menuItemsOnRootLevel: HTMLSixDetailsElement[] = (slot?.assignedElements() || []).flatMap((el) => {\n const detailsElement = el.shadowRoot?.querySelector('six-details');\n if (detailsElement == null) {\n return [];\n }\n return [detailsElement];\n });\n if (index < 0 || index > menuItemsOnRootLevel.length - 1) {\n console.error(\n `Tried to access sidebar menu item by index, but provided index out of range. Provided index: ${index}`\n );\n return;\n }\n await menuItemsOnRootLevel[index].show();\n }\n\n /** Allows to select a menu item programmatically by name */\n @Method()\n async selectItemByName(value: string) {\n const slot = this.sidebar?.querySelector('slot');\n const sidebarItemGroups = slot?.assignedElements() as HTMLSixSidebarItemGroupElement[];\n if (sidebarItemGroups == null) {\n return;\n }\n\n const indexOfSelectedElement = sidebarItemGroups.findIndex((el) => el?.name === value);\n const selectedItem = sidebarItemGroups.at(indexOfSelectedElement)?.shadowRoot?.querySelector('six-details');\n await selectedItem?.show();\n }\n\n private resetTransitionVariables() {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n\n render() {\n return (\n <host class=\"six-sidebar\">\n <div\n class={{\n sidebar__container: true,\n 'sidebar--visible': this.isVisible,\n 'sidebar--open': this.open,\n 'sidebar--left': this.position === 'left',\n 'sidebar--right': this.position === 'right',\n }}\n style={{\n width: this.width,\n [`margin-${this.position}`]: this.open ? '0' : `calc(1rem - ${this.width})`,\n }}\n ref={(el) => (this.sidebar = el)}\n aria-hidden={this.open ? 'false' : 'true'}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <slot />\n </div>\n </host>\n );\n }\n}\n"],"names":["scrollIntoView","h"],"mappings":";;;;;AAAA,MAAM,aAA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AI,CAAC,mBAAmB,EAAA,EAEzCA,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACJ,CACD;;;;;;;;;;"}
@@ -0,0 +1,58 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-C8rK7OAe.js');
4
+
5
+ const sixSpinnerCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host{--track-color:var(--six-progress-track-color);--indicator-color:var(--six-progress-indicator-color);--stroke-width:2px;display:inline-flex}.spinner{display:inline-block;width:1em;height:1em;border-radius:50%;border:solid var(--stroke-width) var(--track-color);border-top-color:var(--indicator-color);border-right-color:var(--indicator-color);animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.six-spinner{width:auto;height:auto;position:relative}.six-spinner .six-spinner__container{margin:0;transform:translateX(0)}.six-spinner .six-spinner__container svg{transform:translateX(0)}.six-spinner__container{position:relative;margin:0 auto;top:calc(50% - 20px);z-index:1}.six-spinner__container,.six-spinner__container svg{width:40px;height:40px;display:block;transform:translateX(40px)}.six-spinner path{stroke-dashoffset:70px;stroke-dasharray:70, 444;-webkit-animation:six-spinner 2s cubic-bezier(0.56, 0.39, 0.51, 0.96) infinite;animation:six-spinner 2s cubic-bezier(0.56, 0.39, 0.51, 0.96) infinite}.six-spinner polygon{stroke-dasharray:310;stroke-dashoffset:310;animation:big-polygon-draw 2s ease-in-out infinite;-webkit-animation:big-polygon-draw 2s ease-in-out infinite}.six-spinner polygon:nth-child(2),.six-spinner polygon:nth-child(3){stroke-dasharray:110;stroke-dashoffset:110;animation:small-polygon-draw 2s ease-in-out infinite;-webkit-animation:small-polygon-draw 2s ease-in-out infinite}@keyframes big-polygon-draw{0%,100%{stroke-dashoffset:310}50%{stroke-dashoffset:140}}@-webkit-keyframes big-polygon-draw{0%,100%{stroke-dashoffset:310}50%{stroke-dashoffset:140}}@keyframes small-polygon-draw{0%,100%{stroke-dashoffset:110}50%{stroke-dashoffset:50}}@-webkit-keyframes small-polygon-draw{0%,100%{stroke-dashoffset:110}50%{stroke-dashoffset:50}}@-webkit-keyframes six-spinner{to{stroke-dashoffset:-444}}@keyframes six-spinner{to{stroke-dashoffset:-444}}";
6
+
7
+ const SixSpinner = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ /**
12
+ * Renders a container with a given SVG content.
13
+ */
14
+ renderWrapper(content) {
15
+ return (index.h("span", { class: "six-spinner", "aria-busy": "true", "aria-live": "polite" }, index.h("div", { class: "six-spinner__container" }, content)));
16
+ }
17
+ /**
18
+ * Renders the SIX logo spinner.
19
+ */
20
+ renderSIXLogo() {
21
+ const sixLogo = (index.h("svg", { viewBox: "0 0 40 40", part: "svg" }, index.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" })));
22
+ return this.renderWrapper(sixLogo);
23
+ }
24
+ /**
25
+ * Renders the BME logo spinner.
26
+ */
27
+ renderBMELogo() {
28
+ const bmeLogo = (index.h("svg", { viewBox: "0 0 45 55", part: "svg" }, index.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" }), index.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" }), index.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" })));
29
+ return this.renderWrapper(bmeLogo);
30
+ }
31
+ /**
32
+ * Renders a simple spinner.
33
+ */
34
+ renderSimpleSpinner() {
35
+ return index.h("span", { part: "base", class: "spinner", "aria-busy": "true", "aria-live": "polite" });
36
+ }
37
+ render() {
38
+ // Check the deprecated `six` property first
39
+ if (this.six) {
40
+ console.warn('The "six" prop is deprecated. Use "logo=\'six\'" instead.');
41
+ return this.renderSIXLogo();
42
+ }
43
+ switch (this.logo) {
44
+ case 'six':
45
+ return this.renderSIXLogo();
46
+ case 'bme':
47
+ return this.renderBMELogo();
48
+ default:
49
+ return this.renderSimpleSpinner();
50
+ }
51
+ }
52
+ };
53
+ SixSpinner.style = sixSpinnerCss;
54
+
55
+ exports.six_spinner = SixSpinner;
56
+ //# sourceMappingURL=six-spinner.entry.cjs.js.map
57
+
58
+ //# sourceMappingURL=six-spinner.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"six-spinner.entry.cjs.js","mappings":";;;;AAAA,MAAM,aAAa,GAAG,8mEAA8mE;;MCgBvnE,UAAU,GAAA,MAAA;;;;AAUrB;;AAEG;AACK,IAAA,aAAa,CAAC,OAAmB,EAAA;AACvC,QAAA,QACEA,kBAAM,KAAK,EAAC,aAAa,EAAW,WAAA,EAAA,MAAM,eAAW,QAAQ,EAAA,EAC3DA,OAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,wBAAwB,EAAA,EAAE,OAAO,CAAO,CAC9C;;AAIX;;AAEG;IACK,aAAa,GAAA;QACnB,MAAM,OAAO,IACXA,OAAK,CAAA,KAAA,EAAA,EAAA,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAA,EACjCA,OAAA,CAAA,MAAA,EAAA,EACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,SAAS,EACH,cAAA,EAAA,GAAG,EACD,gBAAA,EAAA,OAAO,EACtB,CAAC,EAAC,mHAAmH,EAC/G,CAAA,CACJ,CACP;AACD,QAAA,OAAO,IAAI,CAAC,aA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AmB,EAAE;;;;;;;;","names":["h"],"sources":["src/components/six-spinner/six-spinner.scss?tag=six-spinner&encapsulation=shadow","src/components/six-spinner/six-spinner.tsx"],"sourcesContent":["@import 'src/global/component';\n\n/**\n * @prop --track-color: The color of the spinner's track.\n * @prop --indicator-color: The color of the spinner's indicator.\n * @prop --stroke-width: The width of the indicator.\n */\n:host {\n --track-color: var(--six-progress-track-color);\n --indicator-color: var(--six-progress-indicator-color);\n --stroke-width: 2px;\n\n display: inline-flex;\n}\n\n.spinner {\n display: inline-block;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n border: solid var(--stroke-width) var(--track-color);\n border-top-color: var(--indicator-color);\n border-right-color: var(--indicator-color);\n animation: 1s linear infinite spin;\n}\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n$color-six-spinner-background: rgba(255, 255, 255, 0.7);\n\n.six-spinner {\n width: auto;\n height: auto;\n position: relative;\n\n .six-spinner__container {\n margin: 0;\n transform: translateX(0);\n }\n\n .six-spinner__container svg {\n transform: translateX(0);\n }\n\n &__container {\n position: relative;\n margin: 0 auto;\n top: calc(50% - 20px);\n z-index: 1;\n }\n\n &__container,\n &__container svg {\n width: 40px;\n height: 40px;\n display: block;\n transform: translateX(40px);\n }\n\n path {\n stroke-dashoffset: 70px;\n stroke-dasharray: 70, 444;\n -webkit-animation: six-spinner 2s cubic-bezier(0.56, 0.39, 0.51, 0.96) infinite;\n animation: six-spinner 2s cubic-bezier(0.56, 0.39, 0.51, 0.96) infinite;\n }\n\n polygon {\n stroke-dasharray: 310;\n stroke-dashoffset: 310;\n animation: big-polygon-draw 2s ease-in-out infinite;\n -webkit-animation: big-polygon-draw 2s ease-in-out infinite;\n }\n\n polygon:nth-child(2),\n polygon:nth-child(3) {\n stroke-dasharray: 110;\n stroke-dashoffset: 110;\n animation: small-polygon-draw 2s ease-in-out infinite;\n -webkit-animation: small-polygon-draw 2s ease-in-out infinite;\n }\n\n @keyframes big-polygon-draw {\n 0%,\n 100% {\n stroke-dashoffset: 310;\n }\n 50% {\n stroke-dashoffset: 140;\n }\n }\n\n @-webkit-keyframes big-polygon-draw {\n 0%,\n 100% {\n stroke-dashoffset: 310;\n }\n 50% {\n stroke-dashoffset: 140;\n }\n }\n\n @keyframes small-polygon-draw {\n 0%,\n 100% {\n stroke-dashoffset: 110;\n }\n 50% {\n stroke-dashoffset: 50;\n }\n }\n\n @-webkit-keyframes small-polygon-draw {\n 0%,\n 100% {\n stroke-dashoffset: 110;\n }\n 50% {\n stroke-dashoffset: 50;\n }\n }\n\n @-webkit-keyframes six-spinner {\n to {\n stroke-dashoffset: -444;\n }\n }\n\n @keyframes six-spinner {\n to {\n stroke-dashoffset: -444;\n }\n }\n}\n","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"],"version":3}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"six-spinner.entry.cjs.js","sources":["src/components/six-spinner/six-spinner.scss?tag=six-spinner&encapsulation=shadow","src/components/six-spinner/six-spinner.tsx"],"sourcesContent":["@import 'src/global/component';\n\n/**\n * @prop --track-color: The color of the spinner's track.\n * @prop --indicator-color: The color of the spinner's indicator.\n * @prop --stroke-width: The width of the indicator.\n */\n:host {\n --track-color: var(--six-progress-track-color);\n --indicator-color: var(--six-progress-indicator-color);\n --stroke-width: 2px;\n\n display: inline-flex;\n}\n\n.spinner {\n display: inline-block;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n border: solid var(--stroke-width) var(--track-color);\n border-top-color: var(--indicator-color);\n border-right-color: var(--indicator-color);\n animation: 1s linear infinite spin;\n}\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n$color-six-spinner-background: rgba(255, 255, 255, 0.7);\n\n.six-spinner {\n width: auto;\n height: auto;\n position: relative;\n\n .six-spinner__container {\n margin: 0;\n transform: translateX(0);\n }\n\n .six-spinner__container svg {\n transform: translateX(0);\n }\n\n &__container {\n position: relative;\n margin: 0 auto;\n top: calc(50% - 20px);\n z-index: 1;\n }\n\n &__container,\n &__container svg {\n width: 40px;\n height: 40px;\n display: block;\n transform: translateX(40px);\n }\n\n path {\n stroke-dashoffset: 70px;\n stroke-dasharray: 70, 444;\n -webkit-animation: six-spinner 2s cubic-bezier(0.56, 0.39, 0.51, 0.96) infinite;\n animation: six-spinner 2s cubic-bezier(0.56, 0.39, 0.51, 0.96) infinite;\n }\n\n polygon {\n stroke-dasharray: 310;\n stroke-dashoffset: 310;\n animation: big-polygon-draw 2s ease-in-out infinite;\n -webkit-animation: big-polygon-draw 2s ease-in-out infinite;\n }\n\n polygon:nth-child(2),\n polygon:nth-child(3) {\n stroke-dasharray: 110;\n stroke-dashoffset: 110;\n animation: small-polygon-draw 2s ease-in-out infinite;\n -webkit-animation: small-polygon-draw 2s ease-in-out infinite;\n }\n\n @keyframes big-polygon-draw {\n 0%,\n 100% {\n stroke-dashoffset: 310;\n }\n 50% {\n stroke-dashoffset: 140;\n }\n }\n\n @-webkit-keyframes big-polygon-draw {\n 0%,\n 100% {\n stroke-dashoffset: 310;\n }\n 50% {\n stroke-dashoffset: 140;\n }\n }\n\n @keyframes small-polygon-draw {\n 0%,\n 100% {\n stroke-dashoffset: 110;\n }\n 50% {\n stroke-dashoffset: 50;\n }\n }\n\n @-webkit-keyframes small-polygon-draw {\n 0%,\n 100% {\n stroke-dashoffset: 110;\n }\n 50% {\n stroke-dashoffset: 50;\n }\n }\n\n @-webkit-keyframes six-spinner {\n to {\n stroke-dashoffset: -444;\n }\n }\n\n @keyframes six-spinner {\n to {\n stroke-dashoffset: -444;\n }\n }\n}\n","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"],"names":["h"],"mappings":";;;;AAAA,MAAM,aAAa,GAAG,8mEAA8mE;;MCgBvnE,UAAU,GAAA,MAAA;;;;AAUrB;;AAEG;AACK,IAAA,aAAa,CAAC,OAAmB,EAAA;AACvC,QAAA,QACEA,kBAAM,KAAK,EAAC,aAAa,EAAW,WAAA,EAAA,MAAM,eAAW,QAAQ,EAAA,EAC3DA,OAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,wBAAwB,EAAA,EAAE,OAAO,CAAO,CAC9C;;AAIX;;AAEG;IACK,aAAa,GAAA;QACnB,MAAM,OAAO,IACXA,OAAK,CAAA,KAAA,EAAA,EAAA,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAA,EACjCA,OAAA,CAAA,MAAA,EAAA,EACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,SAAS,EACH,cAAA,EAAA,GAAG,EACD,gBAAA,EAAA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AACR,gBAAA,OAAO,IAAI,CAAC,aAAa,EAAE;AAC7B,YAAA;AACE,gBAAA,OAAO,IAAI,CAAC,mBAAmB,EAAE;;;;;;;;"}
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-C8rK7OAe.js');
4
+
5
+ const sixStageIndicatorCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host{display:grid}.center-content{display:grid;align-self:center;justify-self:center;grid-gap:5px;grid-auto-flow:column}.align-item{margin:auto}.indicator,.indicator--acceptance,.indicator--etu,.indicator--dev,.indicator--itu{font-family:var(--six-font-family);font-size:14px;font-weight:var(--six-font-weight-bold);display:grid;align-content:center;width:100%;height:24px}.indicator--itu{background-color:var(--six-color-success-600);color:var(--six-color-web-rock-900)}.indicator--dev{background-color:var(--six-color-web-rock-900);color:var(--six-color-white)}.indicator--etu{background-color:var(--six-color-action-600);color:var(--six-color-white)}.indicator--acceptance{background-color:var(--six-color-warning-800);color:var(--six-color-web-rock-900)}";
6
+
7
+ const SixStageIndicator = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ /** The indicators value attribute */
11
+ this.stage = null;
12
+ }
13
+ render() {
14
+ return this.stage == null || this.stage == 'PROD' ? null : (index.h("div", { class: `indicator--${this.stage.toLowerCase()}` }, index.h("div", { class: "center-content" }, index.h("six-icon", { class: "align-item", size: "small" }, "error_outline"), index.h("span", { class: 'align-item' }, index.h("slot", null)))));
15
+ }
16
+ };
17
+ SixStageIndicator.style = sixStageIndicatorCss;
18
+
19
+ exports.six_stage_indicator = SixStageIndicator;
20
+ //# sourceMappingURL=six-stage-indicator.entry.cjs.js.map
21
+
22
+ //# sourceMappingURL=six-stage-indicator.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"six-stage-indicator.entry.cjs.js","mappings":";;;;AAAA,MAAM,oBAAoB,GAAG,69BAA69B;;MCS7+B,iBAAiB,GAAA,MAAA;AAL9B,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAOU,QAAA,IAAK,CAAA,KAAA,GAAc,IAAI;AAgBhC;IAdC,MAAM,GAAA;AACJ,QAAA,OAAO,IAAI,CAAC,KAAK,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,IAAI,MAAM,GAAG,IAAI,IACtDA,OAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAE,CAAA,WAAA,EAAc,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAE,CAAA,EAAA,EAClDA,OAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,gBAAgB,EAAA,EACzBA,OAAA,CAAA,UAAA,EAAA,EAAU,KAAK,EAAC,YAAY,EAAC,IAAI,EAAC,OAAO,EAE9B,EAAA,eAAA,CAAA,EACXA,OAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAE,YAAY,EAAA,EACvBA,OAAA,CAAA,MAAA,EAAA,IAAA,CAAQ,CACH,CACH,CACF,CACP;;;;;;;","names":["h"],"sources":["src/components/six-stage-indicator/six-stage-indicator.scss?tag=six-stage-indicator&encapsulation=shadow","src/components/six-stage-indicator/six-stage-indicator.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: grid;\n}\n\n.center-content {\n display: grid;\n align-self: center;\n justify-self: center;\n grid-gap: 5px;\n grid-auto-flow: column;\n}\n\n.align-item {\n margin: auto;\n}\n\n.indicator {\n font-family: var(--six-font-family);\n font-size: 14px;\n font-weight: var(--six-font-weight-bold);\n display: grid;\n align-content: center;\n width: 100%;\n height: 24px;\n\n &--itu {\n @extend .indicator;\n background-color: var(--six-color-success-600);\n color: var(--six-color-web-rock-900);\n }\n\n &--dev {\n @extend .indicator;\n background-color: var(--six-color-web-rock-900);\n color: var(--six-color-white);\n }\n\n &--etu {\n @extend .indicator;\n background-color: var(--six-color-action-600);\n color: var(--six-color-white);\n }\n\n &--acceptance {\n @extend .indicator;\n background-color: var(--six-color-warning-800);\n color: var(--six-color-web-rock-900);\n }\n}\n","import { Component, h, Prop } from '@stencil/core';\n\nexport type StageType = 'DEV' | 'ITU' | 'ETU' | 'ACCEPTANCE' | 'PROD' | null;\n\n@Component({\n tag: 'six-stage-indicator',\n styleUrl: 'six-stage-indicator.scss',\n shadow: true,\n})\nexport class SixStageIndicator {\n /** The indicators value attribute */\n @Prop() stage: StageType = null;\n\n render() {\n return this.stage == null || this.stage == 'PROD' ? null : (\n <div class={`indicator--${this.stage.toLowerCase()}`}>\n <div class=\"center-content\">\n <six-icon class=\"align-item\" size=\"small\">\n error_outline\n </six-icon>\n <span class={'align-item'}>\n <slot />\n </span>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"six-stage-indicator.entry.cjs.js","sources":["src/components/six-stage-indicator/six-stage-indicator.scss?tag=six-stage-indicator&encapsulation=shadow","src/components/six-stage-indicator/six-stage-indicator.tsx"],"sourcesContent":["@import 'src/global/component';\n\n:host {\n display: grid;\n}\n\n.center-content {\n display: grid;\n align-self: center;\n justify-self: center;\n grid-gap: 5px;\n grid-auto-flow: column;\n}\n\n.align-item {\n margin: auto;\n}\n\n.indicator {\n font-family: var(--six-font-family);\n font-size: 14px;\n font-weight: var(--six-font-weight-bold);\n display: grid;\n align-content: center;\n width: 100%;\n height: 24px;\n\n &--itu {\n @extend .indicator;\n background-color: var(--six-color-success-600);\n color: var(--six-color-web-rock-900);\n }\n\n &--dev {\n @extend .indicator;\n background-color: var(--six-color-web-rock-900);\n color: var(--six-color-white);\n }\n\n &--etu {\n @extend .indicator;\n background-color: var(--six-color-action-600);\n color: var(--six-color-white);\n }\n\n &--acceptance {\n @extend .indicator;\n background-color: var(--six-color-warning-800);\n color: var(--six-color-web-rock-900);\n }\n}\n","import { Component, h, Prop } from '@stencil/core';\n\nexport type StageType = 'DEV' | 'ITU' | 'ETU' | 'ACCEPTANCE' | 'PROD' | null;\n\n@Component({\n tag: 'six-stage-indicator',\n styleUrl: 'six-stage-indicator.scss',\n shadow: true,\n})\nexport class SixStageIndicator {\n /** The indicators value attribute */\n @Prop() stage: StageType = null;\n\n render() {\n return this.stage == null || this.stage == 'PROD' ? null : (\n <div class={`indicator--${this.stage.toLowerCase()}`}>\n <div class=\"center-content\">\n <six-icon class=\"align-item\" size=\"small\">\n error_outline\n </six-icon>\n <span class={'align-item'}>\n <slot />\n </span>\n </div>\n </div>\n );\n }\n}\n"],"names":["h"],"mappings":";;;;AAAA,MAAM,oBAAoB,GAAG,69BAA69B;;MCS7+B,iBAAiB,GAAA,MAAA;AAL9B,IAAA,WAAA,CAAA,OAAA,EAAA;;;AAOU,QAAA,IAAK,CAAA,KAAA,GAAc,IAAI;AAgBhC;IAdC,MAAM,GAAA;AACJ,QAAA,OAAO,IAAI,CAAC,KAAK,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,IAAI,MAAM,GAAG,IAAI,IACtDA,OAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAE,CAAA,WAAA,EAAc,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAE,CAAA,EAAA,EAClDA,OAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,gBAAgB,EAAA,EACzBA,OAAA,CAAA,UAAA,EAAA,EAAU,KAAK,EAAC,YAAY,EAAC,IAAI,EAAC,OAAO,EAE9B,EAAA,eAAA,CAAA,EACXA,OAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAE,YAAY,EAAA,EACvBA,OAAA,CAAA,MAAA,EAAA,IAAA,CAAQ,CACH,CACH,CACF,CACP;;;;;;;"}
@@ -0,0 +1,129 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-C8rK7OAe.js');
4
+ var eventListeners = require('./event-listeners-BrSR7arL.js');
5
+ var formControl = require('./form-control-CX8QRq9v.js');
6
+ var slot = require('./slot-DBK7c7jH.js');
7
+
8
+ const sixSwitchCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.form-control .form-control__label{display:none}.form-control .form-control__help-text{display:none}.form-control .form-control__error-text{display:none;text-align:left}.form-control--has-label .form-control__label{display:inline-block;color:var(--six-input-label-color);font-weight:var(--six-font-weight-bold);margin-bottom:var(--six-spacing-x-small)}.form-control--has-label .form-control__label__required::after{color:var(--six-color-danger-800);content:\"*\";transform:scale(1.1);margin-left:var(--six-spacing-xxx-small);position:absolute}.form-control--has-label.form-control--small .form-control__label{font-size:var(--six-input-label-font-size-small)}.form-control--has-label.form-control--medium .form-control__label{font-size:var(--six-input-label-font-size-medium)}.form-control--has-label.form-control--large .form-control_label{font-size:var(--six-input-label-font-size-large)}.form-control--has-help-text .form-control__help-text{display:block;color:var(--six-input-help-text-color);margin-top:var(--six-spacing-x-small)}.form-control--has-help-text .form-control__help-text ::slotted(*){margin-top:var(--six-spacing-xxx-small)}.form-control--has-help-text.form-control--small .form-control__help-text{font-size:var(--six-input-help-text-font-size-small)}.form-control--has-help-text.form-control--medium .form-control__help-text{font-size:var(--six-input-help-text-font-size-medium)}.form-control--has-help-text.form-control--large .form-control__help-text{font-size:var(--six-input-help-text-font-size-large)}.form-control--has-error-text .form-control__error-text{display:block;margin-top:var(--six-spacing-xxx-small)}.form-control--has-error-text .form-control__error-text ::slotted(*){margin-top:var(--six-spacing-xxx-small)}.form-control--has-error-text.form-control--small .form-control__error-text{font-size:var(--six-input-help-text-font-size-small)}.form-control--has-error-text.form-control--medium .form-control__error-text{font-size:var(--six-input-help-text-font-size-medium)}.form-control--has-error-text.form-control--large .form-control__error-text{font-size:var(--six-input-help-text-font-size-large)}.form-control--disabled .form-control__help-text{color:var(--six-input-help-text-color-disabled)}.form-control--disabled .form-control__label{color:var(--six-input-label-color-disabled)}.form-control--invalid:not(.form-control--disabled) .form-control__label{color:var(--six-input-label-color)}:host{--height:var(--six-selection-control-toggle-size);--thumb-size:calc(var(--six-selection-control-toggle-size) - 4px);--width:calc(var(--height) * 2);display:inline-block}.switch{display:inline-flex;align-items:center;font-family:var(--six-font-family);font-size:var(--six-input-font-size-medium);font-weight:var(--six-input-font-weight);color:var(--six-input-color);vertical-align:middle;cursor:pointer}.switch__control{position:relative;display:inline-flex;align-items:center;justify-content:center;width:var(--width);height:var(--height);background-color:var(--six-selection-control-color-disabled);border-radius:var(--height);transition:var(--six-transition-fast) border-color, var(--six-transition-fast) background-color}.switch__control .switch__thumb{width:var(--thumb-size);height:var(--thumb-size);background-color:var(--six-input-background-color);border-radius:50%;transform:translateX(calc(var(--width) / -2 + var(--thumb-size) / 2 - (var(--thumb-size) - var(--height)) / 2));transition:var(--six-transition-fast) transform ease, var(--six-transition-fast) background-color, var(--six-transition-fast) border-color, var(--six-transition-fast) box-shadow}.switch__control input[type=checkbox]{position:absolute;opacity:0;padding:0;margin:0;pointer-events:none}.switch:not(.switch--checked):not(.switch--disabled) .switch__control:hover{background-color:var(--six-input-border-color-hover)}.switch--checked .switch__control{background-color:var(--six-selection-control-color)}.switch--checked .switch__control .switch__thumb{background-color:var(--six-color-white);transform:translateX(calc(var(--width) / 2 - var(--thumb-size) / 2 + (var(--thumb-size) - var(--height)) / 2))}.switch.switch--checked:not(.switch--disabled) .switch__control:hover{background-color:var(--six-input-border-color-focus)}.switch--disabled{cursor:not-allowed;color:var(--six-selection-control-color-disabled)}.switch--disabled .switch__control{background-color:var(--six-selection-control-color-disabled)}.switch--disabled.switch--checked .switch__control{background-color:var(--six-selection-control-color-disabled)}.switch__label{line-height:var(--height);margin-left:0.5em;user-select:none}";
9
+
10
+ let id = 0;
11
+ const SixSwitch = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.sixBlur = index.createEvent(this, "six-switch-blur");
15
+ this.sixChange = index.createEvent(this, "six-switch-change");
16
+ this.sixFocus = index.createEvent(this, "six-switch-focus");
17
+ this.switchId = `switch-${++id}`;
18
+ this.labelId = `switch-label-${id}`;
19
+ this.errorTextId = `input-error-text-${id}`;
20
+ this.eventListeners = new eventListeners.EventListeners();
21
+ this.hasFocus = false;
22
+ this.hasErrorTextSlot = false;
23
+ /** The switch's name attribute. */
24
+ this.name = '';
25
+ /** The switch's value attribute. */
26
+ this.value = 'on';
27
+ /** Set to true to disable the switch. */
28
+ this.disabled = false;
29
+ /** Set to true to show an asterisk beneath the label. */
30
+ this.required = false;
31
+ /** Set to true to draw the switch in a checked state. */
32
+ this.checked = false;
33
+ /** The label text. */
34
+ this.label = '';
35
+ /** The error message shown, if `invalid` is set to true. */
36
+ this.errorText = '';
37
+ /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */
38
+ this.invalid = false;
39
+ this.handleSlotChange = () => {
40
+ this.hasErrorTextSlot = slot.hasSlot(this.host, 'error-text');
41
+ };
42
+ this.handleClick = () => {
43
+ if (this.inputElement != null) {
44
+ this.checked = this.inputElement.checked;
45
+ this.sixChange.emit(this.checked);
46
+ }
47
+ };
48
+ this.handleBlur = () => {
49
+ this.hasFocus = false;
50
+ this.sixBlur.emit(this.checked);
51
+ };
52
+ this.handleFocus = () => {
53
+ this.hasFocus = true;
54
+ this.sixFocus.emit();
55
+ };
56
+ this.handleKeyDown = (event) => {
57
+ if (event.key === 'ArrowLeft') {
58
+ event.preventDefault();
59
+ this.checked = false;
60
+ this.sixChange.emit(this.checked);
61
+ }
62
+ if (event.key === 'ArrowRight') {
63
+ event.preventDefault();
64
+ this.checked = true;
65
+ this.sixChange.emit(this.checked);
66
+ }
67
+ };
68
+ this.handleMouseDown = (event) => {
69
+ var _a;
70
+ // Prevent clicks on the label from briefly blurring the input
71
+ event.preventDefault();
72
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus();
73
+ };
74
+ }
75
+ componentWillLoad() {
76
+ this.handleSlotChange();
77
+ }
78
+ handleCheckedChange() {
79
+ if (this.inputElement != null) {
80
+ this.inputElement.checked = this.checked;
81
+ this.checked = this.inputElement.checked;
82
+ }
83
+ }
84
+ connectedCallback() {
85
+ var _a;
86
+ (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.addEventListener('slotchange', this.handleSlotChange);
87
+ this.eventListeners.forward('six-switch-change', 'change', this.host);
88
+ this.eventListeners.forward('six-switch-blur', 'blur', this.host);
89
+ this.eventListeners.forward('six-switch-focus', 'focus', this.host);
90
+ }
91
+ disconnectedCallback() {
92
+ var _a;
93
+ (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.removeEventListener('slotchange', this.handleSlotChange);
94
+ this.eventListeners.removeAll();
95
+ }
96
+ handleLabelChange() {
97
+ this.handleSlotChange();
98
+ }
99
+ /** Sets focus on the switch. */
100
+ async setFocus(options) {
101
+ var _a;
102
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus(options);
103
+ }
104
+ /** Removes focus from the switch. */
105
+ async removeFocus() {
106
+ var _a;
107
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.blur();
108
+ }
109
+ render() {
110
+ return (index.h(formControl.FormControl, { key: 'fd6c9c888316e46623e92b779c2215888783413b', 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 }, index.h("label", { key: 'd7d5f569d8aea4f7203f7c0973cf212bd6bcfc60', part: "base", htmlFor: this.switchId, class: {
111
+ switch: true,
112
+ 'switch--checked': this.checked,
113
+ 'switch--disabled': this.disabled,
114
+ 'switch--focused': this.hasFocus,
115
+ }, onMouseDown: this.handleMouseDown }, index.h("span", { key: '4043bb4abed6a44a360b5409b0e4ebd5929a719f', part: "control", class: "switch__control" }, index.h("span", { key: 'd93e868866ea81ae2c2832ddc6fdcb11c0b23679', part: "thumb", class: "switch__thumb" }), index.h("input", { key: '7e5cff86449295f36e85b221f8795f3df18808ae', 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 })), index.h("span", { key: 'c0823f84eb3a30c2e0fdfe5acb6f1390e2b389aa', part: "label", id: this.labelId, class: "switch__label" }, index.h("slot", { key: 'aeb69e52fd37efab7ee8061d3c69bfab1c174933' })))));
116
+ }
117
+ get host() { return index.getElement(this); }
118
+ static get watchers() { return {
119
+ "checked": ["handleCheckedChange"],
120
+ "errorText": ["handleLabelChange"],
121
+ "label": ["handleLabelChange"]
122
+ }; }
123
+ };
124
+ SixSwitch.style = sixSwitchCss;
125
+
126
+ exports.six_switch = SixSwitch;
127
+ //# sourceMappingURL=six-switch.entry.cjs.js.map
128
+
129
+ //# sourceMappingURL=six-switch.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"six-switch.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,YAAY,GAAG,wuJAAwuJ;;ACM7vJ,IAAI,EAAE,GAAG,CAAC;MAsBG,SAAS,GAAA,MAAA;AALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;AAMU,QAAA,IAAA,CAAA,QAAQ,GAAG,UAAU,EAAE,EAAE,EAAE;AAC3B,QAAA,IAAA,CAAA,OAAO,GAAG,CAAgB,aAAA,EAAA,EAAE,EAAE;AAC9B,QAAA,IAAA,CAAA,WAAW,GAAG,CAAoB,iBAAA,EAAA,EAAE,EAAE;AAGtC,QAAA,IAAA,CAAA,cAAc,GAAG,IAAIA,6BAAc,EAAE;AAIpC,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAChB,QAAA,IAAgB,CAAA,gBAAA,GAAG,KAAK;;AAGzB,QAAA,IAAI,CAAA,IAAA,GAAG,EAAE;;AAGT,QAAA,IAAK,CAAA,KA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AC,eAAe,EAAA,EACxDA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,CACD,CACI;;;;;;;;;;;;;","names":["EventListeners","hasSlot","h","FormControl"],"sources":["src/components/six-switch/six-switch.scss?tag=six-switch&encapsulation=shadow","src/components/six-switch/six-switch.tsx"],"sourcesContent":["@import '../../../src/global/component';\n@import '../../functional-components/form-control/form-control';\n\n/**\n * @prop --width: The width of the switch.\n * @prop --height: The height of the switch.\n * @prop --thumb-size: The size of the thumb.\n */\n:host {\n --height: var(--six-selection-control-toggle-size);\n --thumb-size: calc(var(--six-selection-control-toggle-size) - 4px);\n --width: calc(var(--height) * 2);\n\n display: inline-block;\n}\n\n.switch {\n display: inline-flex;\n align-items: center;\n font-family: var(--six-font-family);\n font-size: var(--six-input-font-size-medium);\n font-weight: var(--six-input-font-weight);\n color: var(--six-input-color);\n vertical-align: middle;\n cursor: pointer;\n}\n\n.switch__control {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--width);\n height: var(--height);\n background-color: var(--six-selection-control-color-disabled);\n border-radius: var(--height);\n transition:\n var(--six-transition-fast) border-color,\n var(--six-transition-fast) background-color;\n\n .switch__thumb {\n width: var(--thumb-size);\n height: var(--thumb-size);\n background-color: var(--six-input-background-color);\n border-radius: 50%;\n transform: translateX(calc(var(--width) / -2 + var(--thumb-size) / 2 - (var(--thumb-size) - var(--height)) / 2));\n transition:\n var(--six-transition-fast) transform ease,\n var(--six-transition-fast) background-color,\n var(--six-transition-fast) border-color,\n var(--six-transition-fast) box-shadow;\n }\n\n input[type='checkbox'] {\n position: absolute;\n opacity: 0;\n padding: 0;\n margin: 0;\n pointer-events: none;\n }\n}\n\n// Hover\n.switch:not(.switch--checked):not(.switch--disabled) .switch__control:hover {\n background-color: var(--six-input-border-color-hover);\n}\n\n// Checked\n.switch--checked .switch__control {\n background-color: var(--six-selection-control-color);\n\n .switch__thumb {\n background-color: var(--six-color-white);\n transform: translateX(calc(var(--width) / 2 - var(--thumb-size) / 2 + (var(--thumb-size) - var(--height)) / 2));\n }\n}\n\n// Checked + hover\n.switch.switch--checked:not(.switch--disabled) .switch__control:hover {\n background-color: var(--six-input-border-color-focus);\n}\n\n// Disabled\n.switch--disabled {\n cursor: not-allowed;\n color: var(--six-selection-control-color-disabled);\n\n .switch__control {\n background-color: var(--six-selection-control-color-disabled);\n }\n\n &.switch--checked .switch__control {\n background-color: var(--six-selection-control-color-disabled);\n }\n}\n\n.switch__label {\n line-height: var(--height);\n margin-left: 0.5em;\n user-select: none;\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { 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"],"version":3}