@six-group/ui-library 0.0.0-insider.b8b84f6 → 0.0.0-insider.b9edd84

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 (1779) hide show
  1. package/README.md +9 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  3. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  4. package/dist/cjs/error-messages-6e8049a4.js +119 -0
  5. package/dist/cjs/error-messages-6e8049a4.js.map +1 -0
  6. package/dist/cjs/event-listeners-9fb878f1.js +61 -0
  7. package/dist/cjs/event-listeners-9fb878f1.js.map +1 -0
  8. package/dist/cjs/{execution-control-b4707294.js → execution-control-d728da70.js} +15 -15
  9. package/dist/cjs/{execution-control-b4707294.js.map → execution-control-d728da70.js.map} +1 -1
  10. package/dist/cjs/focus-visible-e2c9255a.js +47 -0
  11. package/dist/cjs/{focus-visible-ae2470dd.js.map → focus-visible-e2c9255a.js.map} +1 -1
  12. package/dist/cjs/form-9ebaae7c.js +20 -0
  13. package/dist/cjs/{form-2df8c5bb.js.map → form-9ebaae7c.js.map} +1 -1
  14. package/dist/cjs/form-control-b39f1df5.js +36 -0
  15. package/dist/cjs/form-control-b39f1df5.js.map +1 -0
  16. package/dist/cjs/index-417a06c8.js +1936 -0
  17. package/dist/cjs/index-417a06c8.js.map +1 -0
  18. package/dist/cjs/index.cjs.js +55 -87
  19. package/dist/cjs/index.cjs.js.map +1 -1
  20. package/dist/cjs/loader.cjs.js +5 -3
  21. package/dist/cjs/loader.cjs.js.map +1 -1
  22. package/dist/cjs/modal-bd7fc5bc.js +35 -0
  23. package/dist/cjs/modal-bd7fc5bc.js.map +1 -0
  24. package/dist/cjs/{popover-2df7e154.js → popover-1e7c09f1.js} +99 -99
  25. package/dist/cjs/popover-1e7c09f1.js.map +1 -0
  26. package/dist/cjs/popup-e854acda.js +103 -0
  27. package/dist/cjs/popup-e854acda.js.map +1 -0
  28. package/dist/cjs/scroll-68033901.js +68 -0
  29. package/dist/cjs/scroll-68033901.js.map +1 -0
  30. package/dist/cjs/six-alert.cjs.entry.js +144 -111
  31. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  32. package/dist/cjs/six-avatar.cjs.entry.js +23 -22
  33. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  34. package/dist/cjs/six-badge.cjs.entry.js +25 -24
  35. package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
  36. package/dist/cjs/six-button.cjs.entry.js +98 -96
  37. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  38. package/dist/cjs/six-card.cjs.entry.js +10 -9
  39. package/dist/cjs/six-card.cjs.entry.js.map +1 -1
  40. package/dist/cjs/six-checkbox_2.cjs.entry.js +192 -0
  41. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -0
  42. package/dist/cjs/six-datepicker.cjs.entry.js +864 -840
  43. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  44. package/dist/cjs/six-details.cjs.entry.js +129 -128
  45. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  46. package/dist/cjs/six-dialog.cjs.entry.js +115 -131
  47. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  48. package/dist/cjs/six-drawer.cjs.entry.js +132 -149
  49. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  50. package/dist/cjs/six-dropdown_2.cjs.entry.js +722 -639
  51. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
  52. package/dist/cjs/six-error-page.cjs.entry.js +84 -83
  53. package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
  54. package/dist/cjs/six-error.cjs.entry.js +22 -0
  55. package/dist/cjs/six-error.cjs.entry.js.map +1 -0
  56. package/dist/cjs/six-file-list-item.cjs.entry.js +36 -35
  57. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  58. package/dist/cjs/six-file-list.cjs.entry.js +9 -8
  59. package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
  60. package/dist/cjs/six-file-upload.cjs.entry.js +123 -100
  61. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  62. package/dist/cjs/six-footer.cjs.entry.js +10 -9
  63. package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
  64. package/dist/cjs/six-group-label.cjs.entry.js +45 -44
  65. package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
  66. package/dist/cjs/six-header.cjs.entry.js +180 -157
  67. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  68. package/dist/cjs/six-icon-button.cjs.entry.js +34 -33
  69. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  70. package/dist/cjs/six-icon.cjs.entry.js +24 -23
  71. package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
  72. package/dist/cjs/six-input.cjs.entry.js +203 -188
  73. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  74. package/dist/cjs/six-item-picker.cjs.entry.js +407 -310
  75. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
  76. package/dist/cjs/six-language-switcher.cjs.entry.js +53 -48
  77. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
  78. package/dist/cjs/six-layout-grid.cjs.entry.js +22 -21
  79. package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
  80. package/dist/cjs/six-main-container.cjs.entry.js +11 -10
  81. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
  82. package/dist/cjs/six-menu-divider.cjs.entry.js +10 -9
  83. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
  84. package/dist/cjs/six-menu-label.cjs.entry.js +10 -9
  85. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
  86. package/dist/cjs/six-picto.cjs.entry.js +16 -15
  87. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  88. package/dist/cjs/six-progress-bar.cjs.entry.js +17 -16
  89. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  90. package/dist/cjs/six-progress-ring.cjs.entry.js +32 -31
  91. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  92. package/dist/cjs/six-radio.cjs.entry.js +106 -105
  93. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  94. package/dist/cjs/six-range.cjs.entry.js +200 -186
  95. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  96. package/dist/cjs/six-root.cjs.entry.js +13 -31
  97. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  98. package/dist/cjs/six-search-field.cjs.entry.js +46 -45
  99. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
  100. package/dist/cjs/six-select.cjs.entry.js +539 -362
  101. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  102. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +58 -46
  103. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  104. package/dist/cjs/six-sidebar-item.cjs.entry.js +19 -16
  105. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  106. package/dist/cjs/six-sidebar.cjs.entry.js +176 -175
  107. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
  108. package/dist/cjs/six-spinner.cjs.entry.js +17 -16
  109. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  110. package/dist/cjs/six-stage-indicator.cjs.entry.js +23 -0
  111. package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -0
  112. package/dist/cjs/six-switch.cjs.entry.js +109 -90
  113. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  114. package/dist/cjs/six-tab-group.cjs.entry.js +256 -235
  115. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  116. package/dist/cjs/six-tab-panel.cjs.entry.js +16 -15
  117. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
  118. package/dist/cjs/six-tab.cjs.entry.js +57 -40
  119. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  120. package/dist/cjs/six-tag.cjs.entry.js +57 -34
  121. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  122. package/dist/cjs/six-textarea.cjs.entry.js +183 -179
  123. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  124. package/dist/cjs/six-tile.cjs.entry.js +79 -78
  125. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  126. package/dist/cjs/six-timepicker.cjs.entry.js +350 -354
  127. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  128. package/dist/cjs/six-tooltip.cjs.entry.js +150 -149
  129. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
  130. package/dist/cjs/slot-1b1232a1.js +51 -0
  131. package/dist/cjs/slot-1b1232a1.js.map +1 -0
  132. package/dist/cjs/types-d3da200b.js +19 -0
  133. package/dist/cjs/types-d3da200b.js.map +1 -0
  134. package/dist/cjs/ui-library.cjs.js +13 -11
  135. package/dist/cjs/ui-library.cjs.js.map +1 -1
  136. package/dist/collection/assets/TRADEMARKS.md +3 -3
  137. package/dist/collection/collection-manifest.json +7 -7
  138. package/dist/collection/components/six-alert/six-alert.css +5 -1
  139. package/dist/collection/components/six-alert/six-alert.js +382 -337
  140. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  141. package/dist/collection/components/six-avatar/six-avatar.css +2 -2
  142. package/dist/collection/components/six-avatar/six-avatar.js +111 -111
  143. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  144. package/dist/collection/components/six-badge/six-badge.css +1 -1
  145. package/dist/collection/components/six-badge/six-badge.js +90 -90
  146. package/dist/collection/components/six-badge/six-badge.js.map +1 -1
  147. package/dist/collection/components/six-button/six-button.css +23 -30
  148. package/dist/collection/components/six-button/six-button.js +448 -446
  149. package/dist/collection/components/six-button/six-button.js.map +1 -1
  150. package/dist/collection/components/six-card/six-card.css +4 -5
  151. package/dist/collection/components/six-card/six-card.js +15 -15
  152. package/dist/collection/components/six-card/six-card.js.map +1 -1
  153. package/dist/collection/components/six-checkbox/six-checkbox.css +12 -2
  154. package/dist/collection/components/six-checkbox/six-checkbox.js +421 -399
  155. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  156. package/dist/collection/components/six-datepicker/components/day-selection.js +8 -8
  157. package/dist/collection/components/six-datepicker/components/day-selection.js.map +1 -1
  158. package/dist/collection/components/six-datepicker/components/month-selection.js +8 -8
  159. package/dist/collection/components/six-datepicker/components/month-selection.js.map +1 -1
  160. package/dist/collection/components/six-datepicker/components/year-selection.js +8 -8
  161. package/dist/collection/components/six-datepicker/components/year-selection.js.map +1 -1
  162. package/dist/collection/components/six-datepicker/six-date-formats.js +21 -20
  163. package/dist/collection/components/six-datepicker/six-date-formats.js.map +1 -1
  164. package/dist/collection/components/six-datepicker/six-datepicker.css +1 -1
  165. package/dist/collection/components/six-datepicker/six-datepicker.js +1054 -1039
  166. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  167. package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js +14 -14
  168. package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js.map +1 -1
  169. package/dist/collection/components/six-details/six-details.css +4 -6
  170. package/dist/collection/components/six-details/six-details.js +410 -410
  171. package/dist/collection/components/six-details/six-details.js.map +1 -1
  172. package/dist/collection/components/six-dialog/six-dialog.css +2 -2
  173. package/dist/collection/components/six-dialog/six-dialog.js +340 -358
  174. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  175. package/dist/collection/components/six-drawer/six-drawer.css +2 -2
  176. package/dist/collection/components/six-drawer/six-drawer.js +393 -412
  177. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  178. package/dist/collection/components/six-dropdown/six-dropdown.css +22 -6
  179. package/dist/collection/components/six-dropdown/six-dropdown.js +983 -891
  180. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  181. package/dist/collection/components/six-error/six-error.css +6 -0
  182. package/dist/collection/components/six-error/six-error.js +25 -0
  183. package/dist/collection/components/six-error/six-error.js.map +1 -0
  184. package/dist/collection/components/six-error-page/six-error-page.js +177 -177
  185. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
  186. package/dist/collection/components/six-file-list/six-file-list.js +15 -15
  187. package/dist/collection/components/six-file-list/six-file-list.js.map +1 -1
  188. package/dist/collection/components/six-file-list-item/six-file-list-item.css +1 -1
  189. package/dist/collection/components/six-file-list-item/six-file-list-item.js +195 -195
  190. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  191. package/dist/collection/components/six-file-upload/six-file-upload.css +12 -4
  192. package/dist/collection/components/six-file-upload/six-file-upload.js +369 -291
  193. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  194. package/dist/collection/components/six-footer/six-footer.css +2 -2
  195. package/dist/collection/components/six-footer/six-footer.js +15 -15
  196. package/dist/collection/components/six-footer/six-footer.js.map +1 -1
  197. package/dist/collection/components/six-group-label/six-group-label.css +5 -2
  198. package/dist/collection/components/six-group-label/six-group-label.js +155 -155
  199. package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
  200. package/dist/collection/components/six-header/six-header.css +15 -2
  201. package/dist/collection/components/six-header/six-header.js +464 -405
  202. package/dist/collection/components/six-header/six-header.js.map +1 -1
  203. package/dist/collection/components/six-icon/six-icon.css +5 -2
  204. package/dist/collection/components/six-icon/six-icon.js +71 -71
  205. package/dist/collection/components/six-icon/six-icon.js.map +1 -1
  206. package/dist/collection/components/six-icon-button/six-icon-button.css +5 -5
  207. package/dist/collection/components/six-icon-button/six-icon-button.js +131 -131
  208. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  209. package/dist/collection/components/six-input/six-input.css +15 -2
  210. package/dist/collection/components/six-input/six-input.js +1006 -919
  211. package/dist/collection/components/six-input/six-input.js.map +1 -1
  212. package/dist/collection/components/six-item-picker/six-item-picker.css +8 -0
  213. package/dist/collection/components/six-item-picker/six-item-picker.js +727 -631
  214. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  215. package/dist/collection/components/six-item-picker/types.js +9 -7
  216. package/dist/collection/components/six-item-picker/types.js.map +1 -1
  217. package/dist/collection/components/six-language-switcher/six-language-switcher.css +7 -2
  218. package/dist/collection/components/six-language-switcher/six-language-switcher.js +128 -124
  219. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  220. package/dist/collection/components/six-layout-grid/six-layout-grid.js +54 -54
  221. package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
  222. package/dist/collection/components/six-main-container/six-main-container.js +41 -41
  223. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
  224. package/dist/collection/components/six-menu/six-menu.css +8 -7
  225. package/dist/collection/components/six-menu/six-menu.js +397 -366
  226. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  227. package/dist/collection/components/six-menu-divider/six-menu-divider.css +3 -2
  228. package/dist/collection/components/six-menu-divider/six-menu-divider.js +15 -15
  229. package/dist/collection/components/six-menu-divider/six-menu-divider.js.map +1 -1
  230. package/dist/collection/components/six-menu-item/six-menu-item.css +13 -2
  231. package/dist/collection/components/six-menu-item/six-menu-item.js +209 -180
  232. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  233. package/dist/collection/components/six-menu-label/six-menu-label.css +1 -1
  234. package/dist/collection/components/six-menu-label/six-menu-label.js +15 -15
  235. package/dist/collection/components/six-menu-label/six-menu-label.js.map +1 -1
  236. package/dist/collection/components/six-picto/six-picto.js +46 -46
  237. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  238. package/dist/collection/components/six-progress-bar/six-progress-bar.css +1 -1
  239. package/dist/collection/components/six-progress-bar/six-progress-bar.js +64 -64
  240. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  241. package/dist/collection/components/six-progress-ring/six-progress-ring.css +1 -1
  242. package/dist/collection/components/six-progress-ring/six-progress-ring.js +100 -100
  243. package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
  244. package/dist/collection/components/six-radio/six-radio.css +1 -1
  245. package/dist/collection/components/six-radio/six-radio.js +321 -320
  246. package/dist/collection/components/six-radio/six-radio.js.map +1 -1
  247. package/dist/collection/components/six-range/six-range.css +6 -3
  248. package/dist/collection/components/six-range/six-range.js +574 -542
  249. package/dist/collection/components/six-range/six-range.js.map +1 -1
  250. package/dist/collection/components/six-root/six-root.js +84 -152
  251. package/dist/collection/components/six-root/six-root.js.map +1 -1
  252. package/dist/collection/components/six-search-field/six-search-field.css +1 -1
  253. package/dist/collection/components/six-search-field/six-search-field.js +169 -169
  254. package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
  255. package/dist/collection/components/six-select/six-select.css +58 -67
  256. package/dist/collection/components/six-select/six-select.js +1124 -919
  257. package/dist/collection/components/six-select/six-select.js.map +1 -1
  258. package/dist/collection/components/six-select/util.js +58 -34
  259. package/dist/collection/components/six-select/util.js.map +1 -1
  260. package/dist/collection/components/six-sidebar/six-sidebar.css +2 -2
  261. package/dist/collection/components/six-sidebar/six-sidebar.js +466 -464
  262. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
  263. package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +6 -1
  264. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +101 -82
  265. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
  266. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +13 -1
  267. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +180 -152
  268. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  269. package/dist/collection/components/six-spinner/six-spinner.css +1 -1
  270. package/dist/collection/components/six-spinner/six-spinner.js +47 -46
  271. package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
  272. package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +1 -1
  273. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +45 -45
  274. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js.map +1 -1
  275. package/dist/collection/components/six-switch/six-switch.css +5 -2
  276. package/dist/collection/components/six-switch/six-switch.js +386 -344
  277. package/dist/collection/components/six-switch/six-switch.js.map +1 -1
  278. package/dist/collection/components/six-tab/six-tab.css +55 -6
  279. package/dist/collection/components/six-tab/six-tab.js +206 -189
  280. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  281. package/dist/collection/components/six-tab-group/six-tab-group.css +1 -32
  282. package/dist/collection/components/six-tab-group/six-tab-group.js +343 -357
  283. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  284. package/dist/collection/components/six-tab-panel/six-tab-panel.css +1 -1
  285. package/dist/collection/components/six-tab-panel/six-tab-panel.js +63 -63
  286. package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
  287. package/dist/collection/components/six-tag/six-tag.css +1 -1
  288. package/dist/collection/components/six-tag/six-tag.js +161 -139
  289. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  290. package/dist/collection/components/six-textarea/six-textarea.css +10 -2
  291. package/dist/collection/components/six-textarea/six-textarea.js +792 -763
  292. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
  293. package/dist/collection/components/six-tile/six-tile.css +2 -2
  294. package/dist/collection/components/six-tile/six-tile.js +298 -298
  295. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  296. package/dist/collection/components/six-timepicker/six-timepicker.css +1 -1
  297. package/dist/collection/components/six-timepicker/six-timepicker.js +825 -812
  298. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  299. package/dist/collection/components/six-tooltip/six-tooltip.css +2 -2
  300. package/dist/collection/components/six-tooltip/six-tooltip.js +407 -407
  301. package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
  302. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
  303. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  304. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
  305. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  306. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
  307. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  308. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
  309. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  310. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
  311. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  312. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
  313. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  314. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
  315. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  316. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
  317. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  318. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
  319. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  320. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
  321. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  322. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
  323. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  324. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
  325. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  326. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
  327. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  328. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
  329. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  330. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
  331. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  332. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
  333. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  334. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
  335. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  336. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
  337. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  338. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  339. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  340. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  341. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  342. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  343. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  344. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  345. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  346. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  347. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  348. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  349. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  350. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  351. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  352. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  353. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  354. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  355. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  356. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  357. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  358. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  359. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  360. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  361. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  362. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  363. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  364. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  365. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  366. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  367. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  368. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  369. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  370. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  371. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  372. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  373. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  374. package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
  375. package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  376. package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
  377. package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  378. package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
  379. package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  380. package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
  381. package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  382. package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
  383. package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  384. package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
  385. package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  386. package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
  387. package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  388. package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
  389. package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  390. package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
  391. package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  392. package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
  393. package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  394. package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
  395. package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  396. package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
  397. package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  398. package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
  399. package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  400. package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
  401. package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  402. package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
  403. package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  404. package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
  405. package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  406. package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
  407. package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  408. package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
  409. package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  410. package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
  411. package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
  412. package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
  413. package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
  414. package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
  415. package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
  416. package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
  417. package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
  418. package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
  419. package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
  420. package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
  421. package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
  422. package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
  423. package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
  424. package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
  425. package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
  426. package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
  427. package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
  428. package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
  429. package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
  430. package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
  431. package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
  432. package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
  433. package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
  434. package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
  435. package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
  436. package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
  437. package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
  438. package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
  439. package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
  440. package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
  441. package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
  442. package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
  443. package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
  444. package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
  445. package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
  446. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
  447. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  448. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
  449. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  450. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
  451. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  452. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
  453. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  454. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
  455. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  456. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
  457. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  458. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
  459. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  460. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
  461. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  462. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
  463. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  464. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
  465. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  466. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
  467. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  468. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
  469. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  470. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
  471. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  472. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
  473. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  474. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
  475. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  476. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
  477. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  478. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
  479. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  480. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
  481. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  482. package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
  483. package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
  484. package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
  485. package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
  486. package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
  487. package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
  488. package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
  489. package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
  490. package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
  491. package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
  492. package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
  493. package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
  494. package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
  495. package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
  496. package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
  497. package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
  498. package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
  499. package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
  500. package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
  501. package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
  502. package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
  503. package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
  504. package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
  505. package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
  506. package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
  507. package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
  508. package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
  509. package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
  510. package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
  511. package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
  512. package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
  513. package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
  514. package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
  515. package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
  516. package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
  517. package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
  518. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
  519. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  520. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
  521. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  522. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
  523. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  524. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
  525. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  526. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
  527. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  528. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
  529. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  530. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
  531. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  532. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
  533. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  534. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
  535. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  536. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
  537. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  538. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
  539. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  540. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
  541. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  542. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
  543. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  544. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
  545. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  546. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
  547. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  548. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
  549. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  550. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
  551. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  552. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
  553. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  554. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
  555. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  556. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
  557. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  558. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
  559. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  560. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
  561. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  562. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
  563. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  564. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
  565. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  566. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
  567. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  568. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
  569. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  570. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
  571. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  572. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
  573. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  574. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
  575. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  576. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
  577. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  578. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
  579. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  580. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
  581. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  582. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
  583. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  584. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
  585. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  586. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
  587. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  588. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
  589. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  590. package/dist/collection/functional-components/form-control/form-control.js +19 -17
  591. package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
  592. package/dist/collection/index.js +1 -0
  593. package/dist/collection/index.js.map +1 -1
  594. package/dist/collection/testUtil/delay.js +1 -1
  595. package/dist/collection/testUtil/delay.js.map +1 -1
  596. package/dist/collection/utils/alert.js +54 -0
  597. package/dist/collection/utils/alert.js.map +1 -0
  598. package/dist/collection/utils/animation.js +34 -0
  599. package/dist/collection/utils/animation.js.map +1 -0
  600. package/dist/collection/utils/date-util.js +525 -500
  601. package/dist/collection/utils/date-util.js.map +1 -1
  602. package/dist/collection/utils/error-messages.js +102 -81
  603. package/dist/collection/utils/error-messages.js.map +1 -1
  604. package/dist/collection/utils/event-listeners.js +51 -51
  605. package/dist/collection/utils/event-listeners.js.map +1 -1
  606. package/dist/collection/utils/execution-control.js +14 -14
  607. package/dist/collection/utils/execution-control.js.map +1 -1
  608. package/dist/collection/utils/focus-visible.js +28 -28
  609. package/dist/collection/utils/focus-visible.js.map +1 -1
  610. package/dist/collection/utils/form.js +12 -12
  611. package/dist/collection/utils/form.js.map +1 -1
  612. package/dist/collection/utils/modal.js +25 -25
  613. package/dist/collection/utils/modal.js.map +1 -1
  614. package/dist/collection/utils/offset.js +4 -4
  615. package/dist/collection/utils/offset.js.map +1 -1
  616. package/dist/collection/utils/popover.js +99 -99
  617. package/dist/collection/utils/popover.js.map +1 -1
  618. package/dist/collection/utils/popup.js +71 -71
  619. package/dist/collection/utils/popup.js.map +1 -1
  620. package/dist/collection/utils/scroll.js +27 -27
  621. package/dist/collection/utils/scroll.js.map +1 -1
  622. package/dist/collection/utils/slot.js +28 -29
  623. package/dist/collection/utils/slot.js.map +1 -1
  624. package/dist/collection/utils/tabbable.js +17 -17
  625. package/dist/collection/utils/tabbable.js.map +1 -1
  626. package/dist/collection/utils/time.util.js +72 -72
  627. package/dist/collection/utils/time.util.js.map +1 -1
  628. package/dist/components/event-listeners.js +51 -51
  629. package/dist/components/event-listeners.js.map +1 -1
  630. package/dist/components/execution-control.js +14 -14
  631. package/dist/components/execution-control.js.map +1 -1
  632. package/dist/components/focus-visible.js +28 -28
  633. package/dist/components/focus-visible.js.map +1 -1
  634. package/dist/components/form-control.js +26 -23
  635. package/dist/components/form-control.js.map +1 -1
  636. package/dist/components/form.js +12 -12
  637. package/dist/components/form.js.map +1 -1
  638. package/dist/components/index.d.ts +6 -0
  639. package/dist/components/index.js +113 -149
  640. package/dist/components/index.js.map +1 -1
  641. package/dist/components/modal.js +26 -42
  642. package/dist/components/modal.js.map +1 -1
  643. package/dist/components/popover.js +98 -98
  644. package/dist/components/popover.js.map +1 -1
  645. package/dist/components/scroll.js +32 -32
  646. package/dist/components/scroll.js.map +1 -1
  647. package/dist/components/six-alert.d.ts +2 -2
  648. package/dist/components/six-alert.js +178 -142
  649. package/dist/components/six-alert.js.map +1 -1
  650. package/dist/components/six-avatar.d.ts +2 -2
  651. package/dist/components/six-avatar.js +46 -45
  652. package/dist/components/six-avatar.js.map +1 -1
  653. package/dist/components/six-badge.d.ts +2 -2
  654. package/dist/components/six-badge.js +41 -40
  655. package/dist/components/six-badge.js.map +1 -1
  656. package/dist/components/six-button.d.ts +2 -2
  657. package/dist/components/six-button.js +1 -142
  658. package/dist/components/six-button.js.map +1 -1
  659. package/dist/components/six-button2.js +148 -0
  660. package/dist/components/six-button2.js.map +1 -0
  661. package/dist/components/six-card.d.ts +2 -2
  662. package/dist/components/six-card.js +22 -21
  663. package/dist/components/six-card.js.map +1 -1
  664. package/dist/components/six-checkbox.d.ts +2 -2
  665. package/dist/components/six-checkbox.js +1 -145
  666. package/dist/components/six-checkbox.js.map +1 -1
  667. package/dist/components/six-checkbox2.js +166 -0
  668. package/dist/components/six-checkbox2.js.map +1 -0
  669. package/dist/components/six-datepicker.d.ts +2 -2
  670. package/dist/components/six-datepicker.js +934 -900
  671. package/dist/components/six-datepicker.js.map +1 -1
  672. package/dist/components/six-details.d.ts +2 -2
  673. package/dist/components/six-details2.js +159 -156
  674. package/dist/components/six-details2.js.map +1 -1
  675. package/dist/components/six-dialog.d.ts +2 -2
  676. package/dist/components/six-dialog.js +145 -159
  677. package/dist/components/six-dialog.js.map +1 -1
  678. package/dist/components/six-drawer.d.ts +2 -2
  679. package/dist/components/six-drawer.js +164 -179
  680. package/dist/components/six-drawer.js.map +1 -1
  681. package/dist/components/six-dropdown.d.ts +2 -2
  682. package/dist/components/six-dropdown2.js +554 -464
  683. package/dist/components/six-dropdown2.js.map +1 -1
  684. package/dist/components/six-error-page.d.ts +2 -2
  685. package/dist/components/six-error-page.js +107 -106
  686. package/dist/components/six-error-page.js.map +1 -1
  687. package/dist/components/{set-attributes.d.ts → six-error.d.ts} +4 -4
  688. package/dist/components/six-error.js +8 -0
  689. package/dist/components/six-error.js.map +1 -0
  690. package/dist/components/six-error2.js +33 -0
  691. package/dist/components/six-error2.js.map +1 -0
  692. package/dist/components/six-file-list-item.d.ts +2 -2
  693. package/dist/components/six-file-list-item.js +60 -59
  694. package/dist/components/six-file-list-item.js.map +1 -1
  695. package/dist/components/six-file-list.d.ts +2 -2
  696. package/dist/components/six-file-list.js +21 -20
  697. package/dist/components/six-file-list.js.map +1 -1
  698. package/dist/components/six-file-upload.d.ts +2 -2
  699. package/dist/components/six-file-upload.js +165 -126
  700. package/dist/components/six-file-upload.js.map +1 -1
  701. package/dist/components/six-footer.d.ts +2 -2
  702. package/dist/components/six-footer.js +22 -21
  703. package/dist/components/six-footer.js.map +1 -1
  704. package/dist/components/six-group-label.d.ts +2 -2
  705. package/dist/components/six-group-label.js +72 -62
  706. package/dist/components/six-group-label.js.map +1 -1
  707. package/dist/components/six-header.d.ts +2 -2
  708. package/dist/components/six-header.js +246 -207
  709. package/dist/components/six-header.js.map +1 -1
  710. package/dist/components/six-icon-button.d.ts +2 -2
  711. package/dist/components/six-icon-button2.js +56 -55
  712. package/dist/components/six-icon-button2.js.map +1 -1
  713. package/dist/components/six-icon.d.ts +2 -2
  714. package/dist/components/six-icon2.js +39 -38
  715. package/dist/components/six-icon2.js.map +1 -1
  716. package/dist/components/six-input.d.ts +2 -2
  717. package/dist/components/six-input2.js +269 -239
  718. package/dist/components/six-input2.js.map +1 -1
  719. package/dist/components/six-item-picker.d.ts +2 -2
  720. package/dist/components/six-item-picker2.js +451 -348
  721. package/dist/components/six-item-picker2.js.map +1 -1
  722. package/dist/components/six-language-switcher.d.ts +2 -2
  723. package/dist/components/six-language-switcher.js +70 -63
  724. package/dist/components/six-language-switcher.js.map +1 -1
  725. package/dist/components/six-layout-grid.d.ts +2 -2
  726. package/dist/components/six-layout-grid.js +38 -35
  727. package/dist/components/six-layout-grid.js.map +1 -1
  728. package/dist/components/six-main-container.d.ts +2 -2
  729. package/dist/components/six-main-container.js +25 -24
  730. package/dist/components/six-main-container.js.map +1 -1
  731. package/dist/components/six-menu-divider.d.ts +2 -2
  732. package/dist/components/six-menu-divider.js +22 -21
  733. package/dist/components/six-menu-divider.js.map +1 -1
  734. package/dist/components/six-menu-item.d.ts +2 -2
  735. package/dist/components/six-menu-item2.js +99 -75
  736. package/dist/components/six-menu-item2.js.map +1 -1
  737. package/dist/components/six-menu-label.d.ts +2 -2
  738. package/dist/components/six-menu-label.js +22 -21
  739. package/dist/components/six-menu-label.js.map +1 -1
  740. package/dist/components/six-menu.d.ts +2 -2
  741. package/dist/components/six-menu2.js +246 -220
  742. package/dist/components/six-menu2.js.map +1 -1
  743. package/dist/components/six-picto.d.ts +2 -2
  744. package/dist/components/six-picto2.js +30 -29
  745. package/dist/components/six-picto2.js.map +1 -1
  746. package/dist/components/six-progress-bar.d.ts +2 -2
  747. package/dist/components/six-progress-bar.js +32 -31
  748. package/dist/components/six-progress-bar.js.map +1 -1
  749. package/dist/components/six-progress-ring.d.ts +2 -2
  750. package/dist/components/six-progress-ring.js +50 -47
  751. package/dist/components/six-progress-ring.js.map +1 -1
  752. package/dist/components/six-radio.d.ts +2 -2
  753. package/dist/components/six-radio.js +129 -125
  754. package/dist/components/six-radio.js.map +1 -1
  755. package/dist/components/six-range.d.ts +2 -2
  756. package/dist/components/six-range.js +244 -215
  757. package/dist/components/six-range.js.map +1 -1
  758. package/dist/components/six-root.d.ts +2 -2
  759. package/dist/components/six-root.js +40 -66
  760. package/dist/components/six-root.js.map +1 -1
  761. package/dist/components/six-search-field.d.ts +2 -2
  762. package/dist/components/six-search-field.js +80 -71
  763. package/dist/components/six-search-field.js.map +1 -1
  764. package/dist/components/six-select.d.ts +2 -2
  765. package/dist/components/six-select.js +766 -449
  766. package/dist/components/six-select.js.map +1 -1
  767. package/dist/components/six-sidebar-item-group.d.ts +2 -2
  768. package/dist/components/six-sidebar-item-group.js +88 -75
  769. package/dist/components/six-sidebar-item-group.js.map +1 -1
  770. package/dist/components/six-sidebar-item.d.ts +2 -2
  771. package/dist/components/six-sidebar-item.js +36 -32
  772. package/dist/components/six-sidebar-item.js.map +1 -1
  773. package/dist/components/six-sidebar.d.ts +2 -2
  774. package/dist/components/six-sidebar.js +200 -197
  775. package/dist/components/six-sidebar.js.map +1 -1
  776. package/dist/components/six-spinner.d.ts +2 -2
  777. package/dist/components/six-spinner2.js +31 -30
  778. package/dist/components/six-spinner2.js.map +1 -1
  779. package/dist/components/six-stage-indicator.d.ts +2 -2
  780. package/dist/components/six-stage-indicator2.js +30 -29
  781. package/dist/components/six-stage-indicator2.js.map +1 -1
  782. package/dist/components/six-switch.d.ts +2 -2
  783. package/dist/components/six-switch.js +143 -112
  784. package/dist/components/six-switch.js.map +1 -1
  785. package/dist/components/six-tab-group.d.ts +2 -2
  786. package/dist/components/six-tab-group.js +286 -262
  787. package/dist/components/six-tab-group.js.map +1 -1
  788. package/dist/components/six-tab-panel.d.ts +2 -2
  789. package/dist/components/six-tab-panel.js +31 -30
  790. package/dist/components/six-tab-panel.js.map +1 -1
  791. package/dist/components/six-tab.d.ts +2 -2
  792. package/dist/components/six-tab.js +86 -69
  793. package/dist/components/six-tab.js.map +1 -1
  794. package/dist/components/six-tag.d.ts +2 -2
  795. package/dist/components/six-tag.js +99 -1
  796. package/dist/components/six-tag.js.map +1 -1
  797. package/dist/components/six-textarea.d.ts +2 -2
  798. package/dist/components/six-textarea.js +236 -218
  799. package/dist/components/six-textarea.js.map +1 -1
  800. package/dist/components/six-tile.d.ts +2 -2
  801. package/dist/components/six-tile.js +118 -117
  802. package/dist/components/six-tile.js.map +1 -1
  803. package/dist/components/six-timepicker.d.ts +2 -2
  804. package/dist/components/six-timepicker2.js +492 -487
  805. package/dist/components/six-timepicker2.js.map +1 -1
  806. package/dist/components/six-tooltip.d.ts +2 -2
  807. package/dist/components/six-tooltip2.js +173 -170
  808. package/dist/components/six-tooltip2.js.map +1 -1
  809. package/dist/components/slot.js +29 -30
  810. package/dist/components/slot.js.map +1 -1
  811. package/dist/components.d.ts +35 -21
  812. package/dist/components.json +1277 -312
  813. package/dist/esm/app-globals-0f993ce5.js +5 -0
  814. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  815. package/dist/esm/error-messages-1eaaad23.js +115 -0
  816. package/dist/esm/error-messages-1eaaad23.js.map +1 -0
  817. package/dist/esm/event-listeners-706d4309.js +59 -0
  818. package/dist/esm/event-listeners-706d4309.js.map +1 -0
  819. package/dist/esm/{execution-control-e0892a05.js → execution-control-2ebaf4ef.js} +15 -15
  820. package/dist/esm/{execution-control-e0892a05.js.map → execution-control-2ebaf4ef.js.map} +1 -1
  821. package/dist/esm/focus-visible-d9dbfeef.js +45 -0
  822. package/dist/esm/{focus-visible-fc6ac671.js.map → focus-visible-d9dbfeef.js.map} +1 -1
  823. package/dist/esm/form-4b145b7a.js +18 -0
  824. package/dist/esm/{form-81252534.js.map → form-4b145b7a.js.map} +1 -1
  825. package/dist/esm/form-control-ad1710bf.js +34 -0
  826. package/dist/esm/form-control-ad1710bf.js.map +1 -0
  827. package/dist/esm/index-a7bee415.js +1907 -0
  828. package/dist/esm/index-a7bee415.js.map +1 -0
  829. package/dist/esm/index.js +52 -87
  830. package/dist/esm/index.js.map +1 -1
  831. package/dist/esm/loader.js +6 -4
  832. package/dist/esm/loader.js.map +1 -1
  833. package/dist/esm/modal-6c1288e3.js +33 -0
  834. package/dist/esm/modal-6c1288e3.js.map +1 -0
  835. package/dist/esm/{popover-136d1f73.js → popover-25996e62.js} +99 -99
  836. package/dist/esm/popover-25996e62.js.map +1 -0
  837. package/dist/esm/popup-7209e9d5.js +98 -0
  838. package/dist/esm/popup-7209e9d5.js.map +1 -0
  839. package/dist/esm/scroll-3e16851e.js +64 -0
  840. package/dist/esm/{scroll-3fb087a2.js.map → scroll-3e16851e.js.map} +1 -1
  841. package/dist/esm/six-alert.entry.js +144 -111
  842. package/dist/esm/six-alert.entry.js.map +1 -1
  843. package/dist/esm/six-avatar.entry.js +23 -22
  844. package/dist/esm/six-avatar.entry.js.map +1 -1
  845. package/dist/esm/six-badge.entry.js +25 -24
  846. package/dist/esm/six-badge.entry.js.map +1 -1
  847. package/dist/esm/six-button.entry.js +98 -96
  848. package/dist/esm/six-button.entry.js.map +1 -1
  849. package/dist/esm/six-card.entry.js +10 -9
  850. package/dist/esm/six-card.entry.js.map +1 -1
  851. package/dist/esm/six-checkbox_2.entry.js +187 -0
  852. package/dist/esm/six-checkbox_2.entry.js.map +1 -0
  853. package/dist/esm/six-datepicker.entry.js +864 -840
  854. package/dist/esm/six-datepicker.entry.js.map +1 -1
  855. package/dist/esm/six-details.entry.js +129 -128
  856. package/dist/esm/six-details.entry.js.map +1 -1
  857. package/dist/esm/six-dialog.entry.js +115 -131
  858. package/dist/esm/six-dialog.entry.js.map +1 -1
  859. package/dist/esm/six-drawer.entry.js +132 -149
  860. package/dist/esm/six-drawer.entry.js.map +1 -1
  861. package/dist/esm/six-dropdown_2.entry.js +722 -639
  862. package/dist/esm/six-dropdown_2.entry.js.map +1 -1
  863. package/dist/esm/six-error-page.entry.js +84 -83
  864. package/dist/esm/six-error-page.entry.js.map +1 -1
  865. package/dist/esm/six-error.entry.js +18 -0
  866. package/dist/esm/six-error.entry.js.map +1 -0
  867. package/dist/esm/six-file-list-item.entry.js +36 -35
  868. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  869. package/dist/esm/six-file-list.entry.js +9 -8
  870. package/dist/esm/six-file-list.entry.js.map +1 -1
  871. package/dist/esm/six-file-upload.entry.js +123 -100
  872. package/dist/esm/six-file-upload.entry.js.map +1 -1
  873. package/dist/esm/six-footer.entry.js +10 -9
  874. package/dist/esm/six-footer.entry.js.map +1 -1
  875. package/dist/esm/six-group-label.entry.js +45 -44
  876. package/dist/esm/six-group-label.entry.js.map +1 -1
  877. package/dist/esm/six-header.entry.js +180 -157
  878. package/dist/esm/six-header.entry.js.map +1 -1
  879. package/dist/esm/six-icon-button.entry.js +34 -33
  880. package/dist/esm/six-icon-button.entry.js.map +1 -1
  881. package/dist/esm/six-icon.entry.js +24 -23
  882. package/dist/esm/six-icon.entry.js.map +1 -1
  883. package/dist/esm/six-input.entry.js +203 -188
  884. package/dist/esm/six-input.entry.js.map +1 -1
  885. package/dist/esm/six-item-picker.entry.js +407 -310
  886. package/dist/esm/six-item-picker.entry.js.map +1 -1
  887. package/dist/esm/six-language-switcher.entry.js +53 -48
  888. package/dist/esm/six-language-switcher.entry.js.map +1 -1
  889. package/dist/esm/six-layout-grid.entry.js +22 -21
  890. package/dist/esm/six-layout-grid.entry.js.map +1 -1
  891. package/dist/esm/six-main-container.entry.js +11 -10
  892. package/dist/esm/six-main-container.entry.js.map +1 -1
  893. package/dist/esm/six-menu-divider.entry.js +10 -9
  894. package/dist/esm/six-menu-divider.entry.js.map +1 -1
  895. package/dist/esm/six-menu-label.entry.js +10 -9
  896. package/dist/esm/six-menu-label.entry.js.map +1 -1
  897. package/dist/esm/six-picto.entry.js +16 -15
  898. package/dist/esm/six-picto.entry.js.map +1 -1
  899. package/dist/esm/six-progress-bar.entry.js +17 -16
  900. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  901. package/dist/esm/six-progress-ring.entry.js +32 -31
  902. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  903. package/dist/esm/six-radio.entry.js +106 -105
  904. package/dist/esm/six-radio.entry.js.map +1 -1
  905. package/dist/esm/six-range.entry.js +200 -186
  906. package/dist/esm/six-range.entry.js.map +1 -1
  907. package/dist/esm/six-root.entry.js +13 -31
  908. package/dist/esm/six-root.entry.js.map +1 -1
  909. package/dist/esm/six-search-field.entry.js +46 -45
  910. package/dist/esm/six-search-field.entry.js.map +1 -1
  911. package/dist/esm/six-select.entry.js +539 -362
  912. package/dist/esm/six-select.entry.js.map +1 -1
  913. package/dist/esm/six-sidebar-item-group.entry.js +58 -46
  914. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  915. package/dist/esm/six-sidebar-item.entry.js +19 -16
  916. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  917. package/dist/esm/six-sidebar.entry.js +176 -175
  918. package/dist/esm/six-sidebar.entry.js.map +1 -1
  919. package/dist/esm/six-spinner.entry.js +17 -16
  920. package/dist/esm/six-spinner.entry.js.map +1 -1
  921. package/dist/esm/six-stage-indicator.entry.js +19 -0
  922. package/dist/esm/six-stage-indicator.entry.js.map +1 -0
  923. package/dist/esm/six-switch.entry.js +109 -90
  924. package/dist/esm/six-switch.entry.js.map +1 -1
  925. package/dist/esm/six-tab-group.entry.js +256 -235
  926. package/dist/esm/six-tab-group.entry.js.map +1 -1
  927. package/dist/esm/six-tab-panel.entry.js +16 -15
  928. package/dist/esm/six-tab-panel.entry.js.map +1 -1
  929. package/dist/esm/six-tab.entry.js +57 -40
  930. package/dist/esm/six-tab.entry.js.map +1 -1
  931. package/dist/esm/six-tag.entry.js +57 -34
  932. package/dist/esm/six-tag.entry.js.map +1 -1
  933. package/dist/esm/six-textarea.entry.js +183 -179
  934. package/dist/esm/six-textarea.entry.js.map +1 -1
  935. package/dist/esm/six-tile.entry.js +79 -78
  936. package/dist/esm/six-tile.entry.js.map +1 -1
  937. package/dist/esm/six-timepicker.entry.js +350 -354
  938. package/dist/esm/six-timepicker.entry.js.map +1 -1
  939. package/dist/esm/six-tooltip.entry.js +150 -149
  940. package/dist/esm/six-tooltip.entry.js.map +1 -1
  941. package/dist/esm/slot-56531341.js +47 -0
  942. package/dist/esm/slot-56531341.js.map +1 -0
  943. package/dist/esm/types-a07bb999.js +19 -0
  944. package/dist/esm/types-a07bb999.js.map +1 -0
  945. package/dist/esm/ui-library.js +14 -12
  946. package/dist/esm/ui-library.js.map +1 -1
  947. package/dist/types/components/six-alert/six-alert.d.ts +47 -40
  948. package/dist/types/components/six-avatar/six-avatar.d.ts +11 -11
  949. package/dist/types/components/six-badge/six-badge.d.ts +7 -7
  950. package/dist/types/components/six-button/six-button.d.ts +48 -48
  951. package/dist/types/components/six-card/six-card.d.ts +1 -1
  952. package/dist/types/components/six-checkbox/six-checkbox.d.ts +58 -55
  953. package/dist/types/components/six-datepicker/components/day-selection.d.ts +3 -3
  954. package/dist/types/components/six-datepicker/components/month-selection.d.ts +3 -3
  955. package/dist/types/components/six-datepicker/components/year-selection.d.ts +3 -3
  956. package/dist/types/components/six-datepicker/six-date-formats.d.ts +20 -20
  957. package/dist/types/components/six-datepicker/six-datepicker.d.ts +188 -186
  958. package/dist/types/components/six-details/six-details.d.ts +42 -42
  959. package/dist/types/components/six-dialog/six-dialog.d.ts +51 -50
  960. package/dist/types/components/six-drawer/six-drawer.d.ts +58 -58
  961. package/dist/types/components/six-dropdown/six-dropdown.d.ts +131 -112
  962. package/dist/types/components/six-error/six-error.d.ts +9 -0
  963. package/dist/types/components/six-error-page/six-error-page.d.ts +25 -25
  964. package/dist/types/components/six-file-list/six-file-list.d.ts +1 -1
  965. package/dist/types/components/six-file-list-item/six-file-list-item.d.ts +23 -23
  966. package/dist/types/components/six-file-upload/six-file-upload.d.ts +43 -33
  967. package/dist/types/components/six-footer/six-footer.d.ts +1 -1
  968. package/dist/types/components/six-group-label/six-group-label.d.ts +22 -22
  969. package/dist/types/components/six-header/six-header.d.ts +61 -55
  970. package/dist/types/components/six-icon/six-icon.d.ts +5 -5
  971. package/dist/types/components/six-icon-button/six-icon-button.d.ts +18 -18
  972. package/dist/types/components/six-input/six-input.d.ts +120 -103
  973. package/dist/types/components/six-item-picker/six-item-picker.d.ts +95 -88
  974. package/dist/types/components/six-item-picker/types.d.ts +7 -7
  975. package/dist/types/components/six-language-switcher/six-language-switcher.d.ts +15 -15
  976. package/dist/types/components/six-layout-grid/six-layout-grid.d.ts +6 -6
  977. package/dist/types/components/six-main-container/six-main-container.d.ts +4 -4
  978. package/dist/types/components/six-menu/six-menu.d.ts +67 -63
  979. package/dist/types/components/six-menu-divider/six-menu-divider.d.ts +1 -1
  980. package/dist/types/components/six-menu-item/six-menu-item.d.ts +27 -21
  981. package/dist/types/components/six-menu-label/six-menu-label.d.ts +1 -1
  982. package/dist/types/components/six-picto/six-picto.d.ts +6 -6
  983. package/dist/types/components/six-progress-bar/six-progress-bar.d.ts +5 -5
  984. package/dist/types/components/six-progress-ring/six-progress-ring.d.ts +11 -11
  985. package/dist/types/components/six-radio/six-radio.d.ts +38 -38
  986. package/dist/types/components/six-range/six-range.d.ts +77 -72
  987. package/dist/types/components/six-root/six-root.d.ts +8 -21
  988. package/dist/types/components/six-search-field/six-search-field.d.ts +20 -20
  989. package/dist/types/components/six-select/six-select.d.ts +135 -119
  990. package/dist/types/components/six-select/util.d.ts +3 -1
  991. package/dist/types/components/six-sidebar/six-sidebar.d.ts +45 -45
  992. package/dist/types/components/six-sidebar-item/six-sidebar-item.d.ts +12 -7
  993. package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +25 -19
  994. package/dist/types/components/six-spinner/six-spinner.d.ts +6 -5
  995. package/dist/types/components/six-stage-indicator/six-stage-indicator.d.ts +3 -3
  996. package/dist/types/components/six-switch/six-switch.d.ts +49 -42
  997. package/dist/types/components/six-tab/six-tab.d.ts +20 -20
  998. package/dist/types/components/six-tab-group/six-tab-group.d.ts +38 -38
  999. package/dist/types/components/six-tab-panel/six-tab-panel.d.ts +7 -7
  1000. package/dist/types/components/six-tag/six-tag.d.ts +20 -12
  1001. package/dist/types/components/six-textarea/six-textarea.d.ts +89 -86
  1002. package/dist/types/components/six-tile/six-tile.d.ts +31 -31
  1003. package/dist/types/components/six-timepicker/six-timepicker.d.ts +154 -151
  1004. package/dist/types/components/six-tooltip/six-tooltip.d.ts +55 -55
  1005. package/dist/types/components.d.ts +623 -70
  1006. package/dist/types/functional-components/form-control/form-control.d.ts +32 -28
  1007. package/dist/types/index.d.ts +1 -0
  1008. package/dist/types/stencil-public-runtime.d.ts +37 -13
  1009. package/dist/types/types.d.ts +1 -0
  1010. package/dist/types/utils/alert.d.ts +10 -0
  1011. package/dist/types/utils/animation.d.ts +12 -0
  1012. package/dist/types/utils/date-util.d.ts +58 -50
  1013. package/dist/types/utils/error-messages.d.ts +27 -25
  1014. package/dist/types/utils/event-listeners.d.ts +11 -11
  1015. package/dist/types/utils/focus-visible.d.ts +2 -2
  1016. package/dist/types/utils/modal.d.ts +8 -8
  1017. package/dist/types/utils/offset.d.ts +2 -2
  1018. package/dist/types/utils/popover.d.ts +21 -21
  1019. package/dist/types/utils/slot.d.ts +0 -1
  1020. package/dist/types/utils/time.util.d.ts +6 -6
  1021. package/dist/types/utils/type-check.d.ts +1 -1
  1022. package/dist/types/utils/types.d.ts +1 -1
  1023. package/dist/ui-library/assets/TRADEMARKS.md +3 -3
  1024. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
  1025. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  1026. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
  1027. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  1028. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
  1029. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  1030. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
  1031. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  1032. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
  1033. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  1034. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
  1035. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  1036. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
  1037. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  1038. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
  1039. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  1040. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
  1041. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  1042. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
  1043. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  1044. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
  1045. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  1046. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
  1047. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  1048. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
  1049. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  1050. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
  1051. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  1052. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
  1053. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  1054. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
  1055. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  1056. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
  1057. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  1058. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
  1059. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  1060. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  1061. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  1062. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  1063. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  1064. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  1065. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  1066. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  1067. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  1068. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  1069. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  1070. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  1071. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  1072. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  1073. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  1074. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  1075. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  1076. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  1077. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  1078. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  1079. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  1080. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  1081. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  1082. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  1083. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  1084. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  1085. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  1086. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  1087. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  1088. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  1089. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  1090. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  1091. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  1092. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  1093. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  1094. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  1095. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  1096. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
  1097. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  1098. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
  1099. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  1100. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
  1101. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  1102. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
  1103. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  1104. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
  1105. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  1106. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
  1107. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  1108. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
  1109. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  1110. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
  1111. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  1112. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
  1113. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  1114. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
  1115. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  1116. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
  1117. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  1118. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
  1119. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  1120. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
  1121. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  1122. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
  1123. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  1124. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
  1125. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  1126. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
  1127. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  1128. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
  1129. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  1130. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
  1131. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  1132. package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
  1133. package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
  1134. package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
  1135. package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
  1136. package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
  1137. package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
  1138. package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
  1139. package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
  1140. package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
  1141. package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
  1142. package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
  1143. package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
  1144. package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
  1145. package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
  1146. package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
  1147. package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
  1148. package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
  1149. package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
  1150. package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
  1151. package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
  1152. package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
  1153. package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
  1154. package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
  1155. package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
  1156. package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
  1157. package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
  1158. package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
  1159. package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
  1160. package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
  1161. package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
  1162. package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
  1163. package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
  1164. package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
  1165. package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
  1166. package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
  1167. package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
  1168. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
  1169. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  1170. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
  1171. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  1172. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
  1173. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  1174. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
  1175. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  1176. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
  1177. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  1178. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
  1179. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  1180. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
  1181. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  1182. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
  1183. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  1184. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
  1185. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  1186. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
  1187. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  1188. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
  1189. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  1190. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
  1191. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  1192. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
  1193. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  1194. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
  1195. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  1196. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
  1197. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  1198. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
  1199. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  1200. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
  1201. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  1202. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
  1203. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  1204. package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
  1205. package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
  1206. package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
  1207. package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
  1208. package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
  1209. package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
  1210. package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
  1211. package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
  1212. package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
  1213. package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
  1214. package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
  1215. package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
  1216. package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
  1217. package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
  1218. package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
  1219. package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
  1220. package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
  1221. package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
  1222. package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
  1223. package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
  1224. package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
  1225. package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
  1226. package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
  1227. package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
  1228. package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
  1229. package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
  1230. package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
  1231. package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
  1232. package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
  1233. package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
  1234. package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
  1235. package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
  1236. package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
  1237. package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
  1238. package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
  1239. package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
  1240. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
  1241. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  1242. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
  1243. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  1244. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
  1245. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  1246. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
  1247. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  1248. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
  1249. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  1250. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
  1251. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  1252. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
  1253. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  1254. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
  1255. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  1256. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
  1257. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  1258. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
  1259. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  1260. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
  1261. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  1262. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
  1263. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  1264. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
  1265. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  1266. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
  1267. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  1268. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
  1269. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  1270. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
  1271. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  1272. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
  1273. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  1274. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
  1275. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  1276. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
  1277. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  1278. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
  1279. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  1280. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
  1281. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  1282. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
  1283. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  1284. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
  1285. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  1286. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
  1287. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  1288. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
  1289. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  1290. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
  1291. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  1292. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
  1293. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  1294. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
  1295. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  1296. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
  1297. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  1298. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
  1299. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  1300. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
  1301. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  1302. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
  1303. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  1304. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
  1305. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  1306. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
  1307. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  1308. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
  1309. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  1310. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
  1311. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  1312. package/dist/ui-library/index.esm.js +1 -1
  1313. package/dist/ui-library/index.esm.js.map +1 -1
  1314. package/dist/ui-library/{p-5654e4c7.js → p-06ba4450.js} +1 -1
  1315. package/dist/ui-library/{p-5654e4c7.js.map → p-06ba4450.js.map} +1 -1
  1316. package/dist/ui-library/p-0cebf1d2.js +2 -0
  1317. package/dist/ui-library/p-0cebf1d2.js.map +1 -0
  1318. package/dist/ui-library/p-160223d5.entry.js +2 -0
  1319. package/dist/ui-library/p-160223d5.entry.js.map +1 -0
  1320. package/dist/ui-library/p-1b67b95f.entry.js +2 -0
  1321. package/dist/ui-library/p-1b67b95f.entry.js.map +1 -0
  1322. package/dist/ui-library/p-1e47e014.entry.js +2 -0
  1323. package/dist/ui-library/p-1e47e014.entry.js.map +1 -0
  1324. package/dist/ui-library/p-2146cf22.entry.js +2 -0
  1325. package/dist/ui-library/p-2146cf22.entry.js.map +1 -0
  1326. package/dist/ui-library/{p-13b43e04.entry.js → p-22f2ca14.entry.js} +2 -2
  1327. package/dist/ui-library/p-22f2ca14.entry.js.map +1 -0
  1328. package/dist/ui-library/p-2ad904a7.entry.js +2 -0
  1329. package/dist/ui-library/p-2ad904a7.entry.js.map +1 -0
  1330. package/dist/ui-library/p-30000e86.entry.js +2 -0
  1331. package/dist/ui-library/p-30000e86.entry.js.map +1 -0
  1332. package/dist/ui-library/p-3267becc.entry.js +2 -0
  1333. package/dist/ui-library/p-3267becc.entry.js.map +1 -0
  1334. package/dist/ui-library/p-3f6cc2c2.entry.js +2 -0
  1335. package/dist/ui-library/p-3f6cc2c2.entry.js.map +1 -0
  1336. package/dist/ui-library/p-418413d3.entry.js +2 -0
  1337. package/dist/ui-library/p-418413d3.entry.js.map +1 -0
  1338. package/dist/ui-library/p-42cd3588.entry.js +2 -0
  1339. package/dist/ui-library/p-42cd3588.entry.js.map +1 -0
  1340. package/dist/ui-library/p-43213f9e.entry.js +2 -0
  1341. package/dist/ui-library/p-43213f9e.entry.js.map +1 -0
  1342. package/dist/ui-library/p-45761392.entry.js +2 -0
  1343. package/dist/ui-library/p-45761392.entry.js.map +1 -0
  1344. package/dist/ui-library/p-48118ce8.js +3 -0
  1345. package/dist/ui-library/p-48118ce8.js.map +1 -0
  1346. package/dist/ui-library/p-53867d77.entry.js +2 -0
  1347. package/dist/ui-library/p-53867d77.entry.js.map +1 -0
  1348. package/dist/ui-library/p-559a15db.entry.js +2 -0
  1349. package/dist/ui-library/p-559a15db.entry.js.map +1 -0
  1350. package/dist/ui-library/p-592c7cf9.entry.js +2 -0
  1351. package/dist/ui-library/p-592c7cf9.entry.js.map +1 -0
  1352. package/dist/ui-library/p-5a513e96.entry.js +2 -0
  1353. package/dist/ui-library/p-5a513e96.entry.js.map +1 -0
  1354. package/dist/ui-library/p-651293e7.js +2 -0
  1355. package/dist/ui-library/p-651293e7.js.map +1 -0
  1356. package/dist/ui-library/p-6be7f9f4.entry.js +2 -0
  1357. package/dist/ui-library/p-6be7f9f4.entry.js.map +1 -0
  1358. package/dist/ui-library/p-70a7e87c.entry.js +2 -0
  1359. package/dist/ui-library/p-70a7e87c.entry.js.map +1 -0
  1360. package/dist/ui-library/p-70fac778.entry.js +2 -0
  1361. package/dist/ui-library/p-70fac778.entry.js.map +1 -0
  1362. package/dist/ui-library/p-783ec07c.entry.js +2 -0
  1363. package/dist/ui-library/p-783ec07c.entry.js.map +1 -0
  1364. package/dist/ui-library/p-78a4fabd.entry.js +2 -0
  1365. package/dist/ui-library/p-78a4fabd.entry.js.map +1 -0
  1366. package/dist/ui-library/p-798e7eeb.entry.js +2 -0
  1367. package/dist/ui-library/p-798e7eeb.entry.js.map +1 -0
  1368. package/dist/ui-library/{p-0fdb185d.js → p-7f856f00.js} +1 -1
  1369. package/dist/ui-library/{p-0fdb185d.js.map → p-7f856f00.js.map} +1 -1
  1370. package/dist/ui-library/{p-1f18768a.js → p-8227aaed.js} +2 -2
  1371. package/dist/ui-library/{p-1f18768a.js.map → p-8227aaed.js.map} +1 -1
  1372. package/dist/ui-library/{p-8c0971e0.js → p-842b492e.js} +1 -1
  1373. package/dist/ui-library/{p-8c0971e0.js.map → p-842b492e.js.map} +1 -1
  1374. package/dist/ui-library/p-84370073.entry.js +2 -0
  1375. package/dist/ui-library/p-84370073.entry.js.map +1 -0
  1376. package/dist/ui-library/{p-0f510624.js → p-862d474e.js} +1 -1
  1377. package/dist/ui-library/p-862d474e.js.map +1 -0
  1378. package/dist/ui-library/{p-7d95def3.js → p-8bfb4bfc.js} +1 -1
  1379. package/dist/ui-library/{p-7d95def3.js.map → p-8bfb4bfc.js.map} +1 -1
  1380. package/dist/ui-library/p-8fe4ec36.entry.js +2 -0
  1381. package/dist/ui-library/p-8fe4ec36.entry.js.map +1 -0
  1382. package/dist/ui-library/p-9370d59e.entry.js +2 -0
  1383. package/dist/ui-library/p-9370d59e.entry.js.map +1 -0
  1384. package/dist/ui-library/p-9915dfc2.entry.js +2 -0
  1385. package/dist/ui-library/p-9915dfc2.entry.js.map +1 -0
  1386. package/dist/ui-library/p-9bb03da7.entry.js +2 -0
  1387. package/dist/ui-library/p-9bb03da7.entry.js.map +1 -0
  1388. package/dist/ui-library/p-a04460e3.js +2 -0
  1389. package/dist/ui-library/p-a04460e3.js.map +1 -0
  1390. package/dist/ui-library/{p-698bb2c8.js → p-a1502802.js} +1 -1
  1391. package/dist/ui-library/{p-698bb2c8.js.map → p-a1502802.js.map} +1 -1
  1392. package/dist/ui-library/p-a929b095.entry.js +2 -0
  1393. package/dist/ui-library/p-a929b095.entry.js.map +1 -0
  1394. package/dist/ui-library/p-a9c733e3.entry.js +2 -0
  1395. package/dist/ui-library/p-a9c733e3.entry.js.map +1 -0
  1396. package/dist/ui-library/p-aa319c2c.entry.js +2 -0
  1397. package/dist/ui-library/p-aa319c2c.entry.js.map +1 -0
  1398. package/dist/ui-library/p-aff7bbcb.entry.js +2 -0
  1399. package/dist/ui-library/p-aff7bbcb.entry.js.map +1 -0
  1400. package/dist/ui-library/p-b361d5da.entry.js +2 -0
  1401. package/dist/ui-library/p-b361d5da.entry.js.map +1 -0
  1402. package/dist/ui-library/p-b3b243a6.entry.js +2 -0
  1403. package/dist/ui-library/p-b3b243a6.entry.js.map +1 -0
  1404. package/dist/ui-library/p-b4bd1767.entry.js +2 -0
  1405. package/dist/ui-library/p-b4bd1767.entry.js.map +1 -0
  1406. package/dist/ui-library/p-bbf2ac6b.entry.js +2 -0
  1407. package/dist/ui-library/p-bbf2ac6b.entry.js.map +1 -0
  1408. package/dist/ui-library/p-c1cd72fb.entry.js +2 -0
  1409. package/dist/ui-library/p-c1cd72fb.entry.js.map +1 -0
  1410. package/dist/ui-library/p-c6f5a872.entry.js +2 -0
  1411. package/dist/ui-library/p-c6f5a872.entry.js.map +1 -0
  1412. package/dist/ui-library/p-cb510ea1.entry.js +2 -0
  1413. package/dist/ui-library/p-cb510ea1.entry.js.map +1 -0
  1414. package/dist/ui-library/p-cdc9224d.entry.js +2 -0
  1415. package/dist/ui-library/p-cdc9224d.entry.js.map +1 -0
  1416. package/dist/ui-library/p-cf323369.entry.js +2 -0
  1417. package/dist/ui-library/p-cf323369.entry.js.map +1 -0
  1418. package/dist/ui-library/p-e080d5b6.js +2 -0
  1419. package/dist/ui-library/p-e080d5b6.js.map +1 -0
  1420. package/dist/ui-library/p-e0ac4cd8.entry.js +2 -0
  1421. package/dist/ui-library/p-e0ac4cd8.entry.js.map +1 -0
  1422. package/dist/ui-library/p-e1255160.js +2 -0
  1423. package/dist/ui-library/p-e1255160.js.map +1 -0
  1424. package/dist/ui-library/p-e3ff26dd.entry.js +2 -0
  1425. package/dist/ui-library/p-e3ff26dd.entry.js.map +1 -0
  1426. package/dist/ui-library/p-e8c717d3.entry.js +2 -0
  1427. package/dist/ui-library/p-e8c717d3.entry.js.map +1 -0
  1428. package/dist/ui-library/p-e8e16974.entry.js +2 -0
  1429. package/dist/ui-library/p-e8e16974.entry.js.map +1 -0
  1430. package/dist/ui-library/p-ecfb0aec.entry.js +2 -0
  1431. package/dist/ui-library/p-ecfb0aec.entry.js.map +1 -0
  1432. package/dist/ui-library/p-f0bc11a5.entry.js +2 -0
  1433. package/dist/ui-library/p-f0bc11a5.entry.js.map +1 -0
  1434. package/dist/ui-library/p-f12eec83.entry.js +2 -0
  1435. package/dist/ui-library/p-f12eec83.entry.js.map +1 -0
  1436. package/dist/ui-library/p-f136a6b2.js +2 -0
  1437. package/dist/ui-library/p-f136a6b2.js.map +1 -0
  1438. package/dist/ui-library/p-f678d725.entry.js +2 -0
  1439. package/dist/ui-library/p-f678d725.entry.js.map +1 -0
  1440. package/dist/ui-library/p-f9b341a3.entry.js +2 -0
  1441. package/dist/ui-library/p-f9b341a3.entry.js.map +1 -0
  1442. package/dist/ui-library/ui-library.css +1 -10
  1443. package/dist/ui-library/ui-library.esm.js +1 -1
  1444. package/dist/ui-library/ui-library.esm.js.map +1 -1
  1445. package/loader/cdn.js +1 -3
  1446. package/loader/index.cjs.js +1 -3
  1447. package/loader/index.d.ts +3 -0
  1448. package/loader/index.es2017.js +1 -3
  1449. package/loader/index.js +1 -3
  1450. package/package.json +18 -31
  1451. package/dist/cjs/event-listeners-fdfe838c.js +0 -61
  1452. package/dist/cjs/event-listeners-fdfe838c.js.map +0 -1
  1453. package/dist/cjs/focus-visible-ae2470dd.js +0 -47
  1454. package/dist/cjs/form-2df8c5bb.js +0 -20
  1455. package/dist/cjs/form-control-d369af14.js +0 -33
  1456. package/dist/cjs/form-control-d369af14.js.map +0 -1
  1457. package/dist/cjs/index-900437fc.js +0 -2256
  1458. package/dist/cjs/index-900437fc.js.map +0 -1
  1459. package/dist/cjs/modal-d5f074c7.js +0 -52
  1460. package/dist/cjs/modal-d5f074c7.js.map +0 -1
  1461. package/dist/cjs/popover-2df7e154.js.map +0 -1
  1462. package/dist/cjs/popup-f1d9910f.js +0 -103
  1463. package/dist/cjs/popup-f1d9910f.js.map +0 -1
  1464. package/dist/cjs/scroll-03678de1.js +0 -69
  1465. package/dist/cjs/scroll-03678de1.js.map +0 -1
  1466. package/dist/cjs/set-attributes_2.cjs.entry.js +0 -73
  1467. package/dist/cjs/set-attributes_2.cjs.entry.js.map +0 -1
  1468. package/dist/cjs/six-checkbox.cjs.entry.js +0 -124
  1469. package/dist/cjs/six-checkbox.cjs.entry.js.map +0 -1
  1470. package/dist/cjs/six-menu-item.cjs.entry.js +0 -63
  1471. package/dist/cjs/six-menu-item.cjs.entry.js.map +0 -1
  1472. package/dist/cjs/slot-6e6a400f.js +0 -53
  1473. package/dist/cjs/slot-6e6a400f.js.map +0 -1
  1474. package/dist/cjs/types-47199040.js +0 -17
  1475. package/dist/cjs/types-47199040.js.map +0 -1
  1476. package/dist/collection/components/six-alert/test/six-alert.spec.js +0 -25
  1477. package/dist/collection/components/six-alert/test/six-alert.spec.js.map +0 -1
  1478. package/dist/collection/components/six-avatar/test/six-avatar.spec.js +0 -26
  1479. package/dist/collection/components/six-avatar/test/six-avatar.spec.js.map +0 -1
  1480. package/dist/collection/components/six-badge/test/six-badge.spec.js +0 -20
  1481. package/dist/collection/components/six-badge/test/six-badge.spec.js.map +0 -1
  1482. package/dist/collection/components/six-button/test/six-button.spec.js +0 -69
  1483. package/dist/collection/components/six-button/test/six-button.spec.js.map +0 -1
  1484. package/dist/collection/components/six-card/test/six-card.spec.js +0 -18
  1485. package/dist/collection/components/six-card/test/six-card.spec.js.map +0 -1
  1486. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +0 -79
  1487. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +0 -1
  1488. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +0 -26
  1489. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +0 -1
  1490. package/dist/collection/components/six-details/test/six-details.spec.js +0 -36
  1491. package/dist/collection/components/six-details/test/six-details.spec.js.map +0 -1
  1492. package/dist/collection/components/six-dialog/test/six-dialog.spec.js +0 -34
  1493. package/dist/collection/components/six-dialog/test/six-dialog.spec.js.map +0 -1
  1494. package/dist/collection/components/six-drawer/test/six-drawer.spec.js +0 -34
  1495. package/dist/collection/components/six-drawer/test/six-drawer.spec.js.map +0 -1
  1496. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +0 -122
  1497. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +0 -1
  1498. package/dist/collection/components/six-error-page/test/six-error-page.spec.js +0 -240
  1499. package/dist/collection/components/six-error-page/test/six-error-page.spec.js.map +0 -1
  1500. package/dist/collection/components/six-file-list/test/six-file-list.spec.js +0 -67
  1501. package/dist/collection/components/six-file-list/test/six-file-list.spec.js.map +0 -1
  1502. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js +0 -169
  1503. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js.map +0 -1
  1504. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +0 -103
  1505. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +0 -1
  1506. package/dist/collection/components/six-footer/test/six-footer.spec.js +0 -21
  1507. package/dist/collection/components/six-footer/test/six-footer.spec.js.map +0 -1
  1508. package/dist/collection/components/six-group-label/test/six-group-label.spec.js +0 -43
  1509. package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +0 -1
  1510. package/dist/collection/components/six-header/assets/six-logo.svg +0 -1
  1511. package/dist/collection/components/six-header/test/six-header.spec.js +0 -133
  1512. package/dist/collection/components/six-header/test/six-header.spec.js.map +0 -1
  1513. package/dist/collection/components/six-icon/test/six-icon.spec.js +0 -20
  1514. package/dist/collection/components/six-icon/test/six-icon.spec.js.map +0 -1
  1515. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js +0 -23
  1516. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js.map +0 -1
  1517. package/dist/collection/components/six-input/test/six-input.spec.js +0 -37
  1518. package/dist/collection/components/six-input/test/six-input.spec.js.map +0 -1
  1519. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js +0 -90
  1520. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js.map +0 -1
  1521. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +0 -196
  1522. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +0 -1
  1523. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js +0 -18
  1524. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js.map +0 -1
  1525. package/dist/collection/components/six-main-container/test/six-main-container.spec.js +0 -22
  1526. package/dist/collection/components/six-main-container/test/six-main-container.spec.js.map +0 -1
  1527. package/dist/collection/components/six-menu/test/six-menu.spec.js +0 -93
  1528. package/dist/collection/components/six-menu/test/six-menu.spec.js.map +0 -1
  1529. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js +0 -18
  1530. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js.map +0 -1
  1531. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js +0 -33
  1532. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js.map +0 -1
  1533. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js +0 -20
  1534. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js.map +0 -1
  1535. package/dist/collection/components/six-picto/test/six-picto.spec.js +0 -33
  1536. package/dist/collection/components/six-picto/test/six-picto.spec.js.map +0 -1
  1537. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js +0 -24
  1538. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js.map +0 -1
  1539. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js +0 -26
  1540. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js.map +0 -1
  1541. package/dist/collection/components/six-radio/test/six-radio.spec.js +0 -63
  1542. package/dist/collection/components/six-radio/test/six-radio.spec.js.map +0 -1
  1543. package/dist/collection/components/six-range/test/six-range.spec.js +0 -32
  1544. package/dist/collection/components/six-range/test/six-range.spec.js.map +0 -1
  1545. package/dist/collection/components/six-root/test/six-root.spec.js +0 -43
  1546. package/dist/collection/components/six-root/test/six-root.spec.js.map +0 -1
  1547. package/dist/collection/components/six-search-field/test/six-search-field.spec.js +0 -22
  1548. package/dist/collection/components/six-search-field/test/six-search-field.spec.js.map +0 -1
  1549. package/dist/collection/components/six-select/test/six-select.spec.js +0 -82
  1550. package/dist/collection/components/six-select/test/six-select.spec.js.map +0 -1
  1551. package/dist/collection/components/six-select/test/util.spec.js +0 -81
  1552. package/dist/collection/components/six-select/test/util.spec.js.map +0 -1
  1553. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js +0 -22
  1554. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js.map +0 -1
  1555. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js +0 -50
  1556. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js.map +0 -1
  1557. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +0 -53
  1558. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +0 -1
  1559. package/dist/collection/components/six-spinner/test/six-spinner.spec.js +0 -37
  1560. package/dist/collection/components/six-spinner/test/six-spinner.spec.js.map +0 -1
  1561. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js +0 -117
  1562. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js.map +0 -1
  1563. package/dist/collection/components/six-switch/test/six-switch.spec.js +0 -69
  1564. package/dist/collection/components/six-switch/test/six-switch.spec.js.map +0 -1
  1565. package/dist/collection/components/six-tab/test/six-tab.spec.js +0 -20
  1566. package/dist/collection/components/six-tab/test/six-tab.spec.js.map +0 -1
  1567. package/dist/collection/components/six-tab-group/test/six-tab-group.spec.js +0 -45
  1568. package/dist/collection/components/six-tab-group/test/six-tab-group.spec.js.map +0 -1
  1569. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js +0 -20
  1570. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js.map +0 -1
  1571. package/dist/collection/components/six-tag/test/six-tag.spec.js +0 -42
  1572. package/dist/collection/components/six-tag/test/six-tag.spec.js.map +0 -1
  1573. package/dist/collection/components/six-textarea/test/six-textarea.spec.js +0 -117
  1574. package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +0 -1
  1575. package/dist/collection/components/six-tile/test/six-tile.spec.js +0 -69
  1576. package/dist/collection/components/six-tile/test/six-tile.spec.js.map +0 -1
  1577. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +0 -496
  1578. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +0 -1
  1579. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js +0 -28
  1580. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js.map +0 -1
  1581. package/dist/collection/files/file-list.json +0 -308
  1582. package/dist/collection/files/noto-sans-all-100-italic.woff +0 -0
  1583. package/dist/collection/files/noto-sans-all-100-normal.woff +0 -0
  1584. package/dist/collection/files/noto-sans-all-200-italic.woff +0 -0
  1585. package/dist/collection/files/noto-sans-all-200-normal.woff +0 -0
  1586. package/dist/collection/files/noto-sans-all-300-italic.woff +0 -0
  1587. package/dist/collection/files/noto-sans-all-300-normal.woff +0 -0
  1588. package/dist/collection/files/noto-sans-all-400-italic.woff +0 -0
  1589. package/dist/collection/files/noto-sans-all-400-normal.woff +0 -0
  1590. package/dist/collection/files/noto-sans-all-500-italic.woff +0 -0
  1591. package/dist/collection/files/noto-sans-all-500-normal.woff +0 -0
  1592. package/dist/collection/files/noto-sans-all-600-italic.woff +0 -0
  1593. package/dist/collection/files/noto-sans-all-600-normal.woff +0 -0
  1594. package/dist/collection/files/noto-sans-all-700-italic.woff +0 -0
  1595. package/dist/collection/files/noto-sans-all-700-normal.woff +0 -0
  1596. package/dist/collection/files/noto-sans-all-800-italic.woff +0 -0
  1597. package/dist/collection/files/noto-sans-all-800-normal.woff +0 -0
  1598. package/dist/collection/files/noto-sans-all-900-italic.woff +0 -0
  1599. package/dist/collection/files/noto-sans-all-900-normal.woff +0 -0
  1600. package/dist/collection/utils/date-util.spec.js +0 -995
  1601. package/dist/collection/utils/date-util.spec.js.map +0 -1
  1602. package/dist/collection/utils/scroll.spec.js +0 -122
  1603. package/dist/collection/utils/scroll.spec.js.map +0 -1
  1604. package/dist/collection/utils/support.js +0 -16
  1605. package/dist/collection/utils/support.js.map +0 -1
  1606. package/dist/collection/utils/time.util.spec.js +0 -368
  1607. package/dist/collection/utils/time.util.spec.js.map +0 -1
  1608. package/dist/collection/wrappers/set-attributes/set-attributes.js +0 -74
  1609. package/dist/collection/wrappers/set-attributes/set-attributes.js.map +0 -1
  1610. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js +0 -16
  1611. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js.map +0 -1
  1612. package/dist/components/set-attributes.js +0 -8
  1613. package/dist/components/set-attributes.js.map +0 -1
  1614. package/dist/components/set-attributes2.js +0 -71
  1615. package/dist/components/set-attributes2.js.map +0 -1
  1616. package/dist/components/six-tag2.js +0 -74
  1617. package/dist/components/six-tag2.js.map +0 -1
  1618. package/dist/esm/event-listeners-f6e5b0ab.js +0 -59
  1619. package/dist/esm/event-listeners-f6e5b0ab.js.map +0 -1
  1620. package/dist/esm/focus-visible-fc6ac671.js +0 -45
  1621. package/dist/esm/form-81252534.js +0 -18
  1622. package/dist/esm/form-control-32cb533f.js +0 -31
  1623. package/dist/esm/form-control-32cb533f.js.map +0 -1
  1624. package/dist/esm/index-8a74f992.js +0 -2227
  1625. package/dist/esm/index-8a74f992.js.map +0 -1
  1626. package/dist/esm/modal-7d32e141.js +0 -49
  1627. package/dist/esm/modal-7d32e141.js.map +0 -1
  1628. package/dist/esm/polyfills/core-js.js +0 -11
  1629. package/dist/esm/polyfills/dom.js +0 -79
  1630. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1631. package/dist/esm/polyfills/index.js +0 -34
  1632. package/dist/esm/polyfills/system.js +0 -6
  1633. package/dist/esm/popover-136d1f73.js.map +0 -1
  1634. package/dist/esm/popup-7f89a001.js +0 -98
  1635. package/dist/esm/popup-7f89a001.js.map +0 -1
  1636. package/dist/esm/scroll-3fb087a2.js +0 -64
  1637. package/dist/esm/set-attributes_2.entry.js +0 -68
  1638. package/dist/esm/set-attributes_2.entry.js.map +0 -1
  1639. package/dist/esm/six-checkbox.entry.js +0 -120
  1640. package/dist/esm/six-checkbox.entry.js.map +0 -1
  1641. package/dist/esm/six-menu-item.entry.js +0 -59
  1642. package/dist/esm/six-menu-item.entry.js.map +0 -1
  1643. package/dist/esm/slot-ad36df3a.js +0 -48
  1644. package/dist/esm/slot-ad36df3a.js.map +0 -1
  1645. package/dist/esm/types-59b455aa.js +0 -17
  1646. package/dist/esm/types-59b455aa.js.map +0 -1
  1647. package/dist/types/utils/support.d.ts +0 -1
  1648. package/dist/types/wrappers/set-attributes/set-attributes.d.ts +0 -9
  1649. package/dist/ui-library/assets/six-logo.svg +0 -1
  1650. package/dist/ui-library/files/file-list.json +0 -308
  1651. package/dist/ui-library/files/noto-sans-all-100-italic.woff +0 -0
  1652. package/dist/ui-library/files/noto-sans-all-100-normal.woff +0 -0
  1653. package/dist/ui-library/files/noto-sans-all-200-italic.woff +0 -0
  1654. package/dist/ui-library/files/noto-sans-all-200-normal.woff +0 -0
  1655. package/dist/ui-library/files/noto-sans-all-300-italic.woff +0 -0
  1656. package/dist/ui-library/files/noto-sans-all-300-normal.woff +0 -0
  1657. package/dist/ui-library/files/noto-sans-all-400-italic.woff +0 -0
  1658. package/dist/ui-library/files/noto-sans-all-400-normal.woff +0 -0
  1659. package/dist/ui-library/files/noto-sans-all-500-italic.woff +0 -0
  1660. package/dist/ui-library/files/noto-sans-all-500-normal.woff +0 -0
  1661. package/dist/ui-library/files/noto-sans-all-600-italic.woff +0 -0
  1662. package/dist/ui-library/files/noto-sans-all-600-normal.woff +0 -0
  1663. package/dist/ui-library/files/noto-sans-all-700-italic.woff +0 -0
  1664. package/dist/ui-library/files/noto-sans-all-700-normal.woff +0 -0
  1665. package/dist/ui-library/files/noto-sans-all-800-italic.woff +0 -0
  1666. package/dist/ui-library/files/noto-sans-all-800-normal.woff +0 -0
  1667. package/dist/ui-library/files/noto-sans-all-900-italic.woff +0 -0
  1668. package/dist/ui-library/files/noto-sans-all-900-normal.woff +0 -0
  1669. package/dist/ui-library/p-02981b91.entry.js +0 -2
  1670. package/dist/ui-library/p-02981b91.entry.js.map +0 -1
  1671. package/dist/ui-library/p-0f510624.js.map +0 -1
  1672. package/dist/ui-library/p-1256cc0a.entry.js +0 -2
  1673. package/dist/ui-library/p-1256cc0a.entry.js.map +0 -1
  1674. package/dist/ui-library/p-13b43e04.entry.js.map +0 -1
  1675. package/dist/ui-library/p-15559d38.js +0 -2
  1676. package/dist/ui-library/p-15559d38.js.map +0 -1
  1677. package/dist/ui-library/p-19ed7a4c.entry.js +0 -2
  1678. package/dist/ui-library/p-19ed7a4c.entry.js.map +0 -1
  1679. package/dist/ui-library/p-1d5ee1a0.entry.js +0 -2
  1680. package/dist/ui-library/p-1d5ee1a0.entry.js.map +0 -1
  1681. package/dist/ui-library/p-21b3b321.entry.js +0 -2
  1682. package/dist/ui-library/p-21b3b321.entry.js.map +0 -1
  1683. package/dist/ui-library/p-264d4ea8.entry.js +0 -2
  1684. package/dist/ui-library/p-264d4ea8.entry.js.map +0 -1
  1685. package/dist/ui-library/p-29ac3d7d.entry.js +0 -2
  1686. package/dist/ui-library/p-29ac3d7d.entry.js.map +0 -1
  1687. package/dist/ui-library/p-314b2096.entry.js +0 -2
  1688. package/dist/ui-library/p-314b2096.entry.js.map +0 -1
  1689. package/dist/ui-library/p-330a4988.entry.js +0 -2
  1690. package/dist/ui-library/p-330a4988.entry.js.map +0 -1
  1691. package/dist/ui-library/p-346f9557.entry.js +0 -2
  1692. package/dist/ui-library/p-346f9557.entry.js.map +0 -1
  1693. package/dist/ui-library/p-37557787.entry.js +0 -2
  1694. package/dist/ui-library/p-37557787.entry.js.map +0 -1
  1695. package/dist/ui-library/p-3cc5addb.entry.js +0 -2
  1696. package/dist/ui-library/p-3cc5addb.entry.js.map +0 -1
  1697. package/dist/ui-library/p-3d9de119.entry.js +0 -2
  1698. package/dist/ui-library/p-3d9de119.entry.js.map +0 -1
  1699. package/dist/ui-library/p-411ed539.entry.js +0 -2
  1700. package/dist/ui-library/p-411ed539.entry.js.map +0 -1
  1701. package/dist/ui-library/p-4705a51e.entry.js +0 -2
  1702. package/dist/ui-library/p-4705a51e.entry.js.map +0 -1
  1703. package/dist/ui-library/p-4abed9df.entry.js +0 -2
  1704. package/dist/ui-library/p-4abed9df.entry.js.map +0 -1
  1705. package/dist/ui-library/p-59210f0b.js +0 -2
  1706. package/dist/ui-library/p-59210f0b.js.map +0 -1
  1707. package/dist/ui-library/p-5af44076.entry.js +0 -2
  1708. package/dist/ui-library/p-5af44076.entry.js.map +0 -1
  1709. package/dist/ui-library/p-5d6b7353.entry.js +0 -2
  1710. package/dist/ui-library/p-5d6b7353.entry.js.map +0 -1
  1711. package/dist/ui-library/p-613283a7.entry.js +0 -2
  1712. package/dist/ui-library/p-613283a7.entry.js.map +0 -1
  1713. package/dist/ui-library/p-6153045b.js +0 -3
  1714. package/dist/ui-library/p-6153045b.js.map +0 -1
  1715. package/dist/ui-library/p-6197fe2f.entry.js +0 -2
  1716. package/dist/ui-library/p-6197fe2f.entry.js.map +0 -1
  1717. package/dist/ui-library/p-72254eef.entry.js +0 -2
  1718. package/dist/ui-library/p-72254eef.entry.js.map +0 -1
  1719. package/dist/ui-library/p-724875b0.entry.js +0 -2
  1720. package/dist/ui-library/p-724875b0.entry.js.map +0 -1
  1721. package/dist/ui-library/p-7afafb9d.entry.js +0 -2
  1722. package/dist/ui-library/p-7afafb9d.entry.js.map +0 -1
  1723. package/dist/ui-library/p-7e3ad38a.entry.js +0 -2
  1724. package/dist/ui-library/p-7e3ad38a.entry.js.map +0 -1
  1725. package/dist/ui-library/p-83864cfe.entry.js +0 -2
  1726. package/dist/ui-library/p-83864cfe.entry.js.map +0 -1
  1727. package/dist/ui-library/p-878226a0.entry.js +0 -2
  1728. package/dist/ui-library/p-878226a0.entry.js.map +0 -1
  1729. package/dist/ui-library/p-91b51800.entry.js +0 -2
  1730. package/dist/ui-library/p-91b51800.entry.js.map +0 -1
  1731. package/dist/ui-library/p-95fbdd0b.entry.js +0 -2
  1732. package/dist/ui-library/p-95fbdd0b.entry.js.map +0 -1
  1733. package/dist/ui-library/p-99e24daf.entry.js +0 -2
  1734. package/dist/ui-library/p-99e24daf.entry.js.map +0 -1
  1735. package/dist/ui-library/p-9ace84c7.js +0 -2
  1736. package/dist/ui-library/p-9ace84c7.js.map +0 -1
  1737. package/dist/ui-library/p-9b354f5d.entry.js +0 -2
  1738. package/dist/ui-library/p-9b354f5d.entry.js.map +0 -1
  1739. package/dist/ui-library/p-9c1be3fb.entry.js +0 -2
  1740. package/dist/ui-library/p-9c1be3fb.entry.js.map +0 -1
  1741. package/dist/ui-library/p-9f0b43f9.entry.js +0 -2
  1742. package/dist/ui-library/p-9f0b43f9.entry.js.map +0 -1
  1743. package/dist/ui-library/p-a0f290d0.entry.js +0 -2
  1744. package/dist/ui-library/p-a0f290d0.entry.js.map +0 -1
  1745. package/dist/ui-library/p-a55c7258.entry.js +0 -2
  1746. package/dist/ui-library/p-a55c7258.entry.js.map +0 -1
  1747. package/dist/ui-library/p-a6a9ee96.entry.js +0 -2
  1748. package/dist/ui-library/p-a6a9ee96.entry.js.map +0 -1
  1749. package/dist/ui-library/p-ac099e6b.entry.js +0 -2
  1750. package/dist/ui-library/p-ac099e6b.entry.js.map +0 -1
  1751. package/dist/ui-library/p-ae601a0f.entry.js +0 -2
  1752. package/dist/ui-library/p-ae601a0f.entry.js.map +0 -1
  1753. package/dist/ui-library/p-b351f889.entry.js +0 -2
  1754. package/dist/ui-library/p-b351f889.entry.js.map +0 -1
  1755. package/dist/ui-library/p-b550a258.entry.js +0 -2
  1756. package/dist/ui-library/p-b550a258.entry.js.map +0 -1
  1757. package/dist/ui-library/p-bf87464b.entry.js +0 -2
  1758. package/dist/ui-library/p-bf87464b.entry.js.map +0 -1
  1759. package/dist/ui-library/p-c03ebf7d.entry.js +0 -2
  1760. package/dist/ui-library/p-c03ebf7d.entry.js.map +0 -1
  1761. package/dist/ui-library/p-cd67da3d.entry.js +0 -2
  1762. package/dist/ui-library/p-cd67da3d.entry.js.map +0 -1
  1763. package/dist/ui-library/p-cdaed936.entry.js +0 -2
  1764. package/dist/ui-library/p-cdaed936.entry.js.map +0 -1
  1765. package/dist/ui-library/p-d367f4f9.entry.js +0 -2
  1766. package/dist/ui-library/p-d367f4f9.entry.js.map +0 -1
  1767. package/dist/ui-library/p-d42c2025.js +0 -2
  1768. package/dist/ui-library/p-d42c2025.js.map +0 -1
  1769. package/dist/ui-library/p-dfed33c5.entry.js +0 -2
  1770. package/dist/ui-library/p-dfed33c5.entry.js.map +0 -1
  1771. package/dist/ui-library/p-ed381ad9.entry.js +0 -2
  1772. package/dist/ui-library/p-ed381ad9.entry.js.map +0 -1
  1773. package/dist/ui-library/p-ee8342e1.entry.js +0 -2
  1774. package/dist/ui-library/p-ee8342e1.entry.js.map +0 -1
  1775. package/dist/ui-library/p-ee950ce2.entry.js +0 -2
  1776. package/dist/ui-library/p-ee950ce2.entry.js.map +0 -1
  1777. package/dist/ui-library/p-ff90ffd1.entry.js +0 -2
  1778. package/dist/ui-library/p-ff90ffd1.entry.js.map +0 -1
  1779. package/readme.md +0 -156
@@ -3,7 +3,8 @@ import { getTextContent, hasSlot } from "../../utils/slot";
3
3
  import FormControl from "../../functional-components/form-control/form-control";
4
4
  import { EventListeners } from "../../utils/event-listeners";
5
5
  import { debounce, DEFAULT_DEBOUNCE_FAST } from "../../utils/execution-control";
6
- import { isValueEmpty } from "./util";
6
+ import { getLanguage } from "../../utils/error-messages";
7
+ import { convertToValidArrayValue, convertToValidValue, valueEquals } from "./util";
7
8
  let id = 0;
8
9
  /**
9
10
  * @since 1.0
@@ -27,941 +28,1145 @@ let id = 0;
27
28
  * @part tags - The container in which multiselect options are rendered.
28
29
  */
29
30
  export class SixSelect {
30
- constructor() {
31
- this.inputId = `select-${++id}`;
32
- this.labelId = `select-label-${id}`;
33
- this.helpTextId = `select-help-text-${id}`;
34
- this.errorTextId = `select-error-text-${id}`;
35
- this.touched = false;
36
- this.eventListeners = new EventListeners();
37
- this.handleBlur = () => {
38
- this.hasFocus = false;
39
- this.sixBlur.emit();
40
- };
41
- this.handleFocus = () => {
42
- this.hasFocus = true;
43
- this.sixFocus.emit();
44
- };
45
- this.handleClearClick = (event) => {
46
- event.stopPropagation();
47
- this.clearValues();
48
- this.sixChange.emit({ value: this.value, isSelected: true });
49
- };
50
- this.handleSelectAll = (event) => {
51
- const nonFilteredItems = this.getItems().filter((item) => item.style.display !== 'none');
52
- const keyName = event.key;
53
- const keyCode = event.code;
54
- if (keyName === 'Control') {
55
- return;
56
- }
57
- if (this.isOpen && this.multiple && keyCode === 'KeyA' && event.ctrlKey) {
58
- event.preventDefault();
59
- const hasDeselectedOptions = nonFilteredItems.some((opt) => !opt.disabled && !opt.checked);
60
- nonFilteredItems
61
- .filter((option) => !option.disabled)
62
- .forEach((option) => (option.checked = hasDeselectedOptions));
63
- const checkedItems = nonFilteredItems.filter((option) => option.checked).map((option) => option.value);
64
- this.value = hasDeselectedOptions ? checkedItems : [];
65
- this.sixChange.emit({ value: this.value, isSelected: true });
66
- }
67
- };
68
- this.handleKeyDown = (event) => {
69
- var _a, _b, _c, _d;
70
- const target = event.target;
71
- const items = this.getItems();
72
- const firstItem = items[0];
73
- const lastItem = items[items.length - 1];
74
- // Ignore key presses on tags
75
- if (target.tagName.toLowerCase() === 'six-tag') {
76
- return;
77
- }
78
- // Tabbing out of the control closes it
79
- if (event.key === 'Tab') {
80
- if (this.isOpen) {
81
- (_a = this.dropdown) === null || _a === void 0 ? void 0 : _a.hide();
31
+ constructor() {
32
+ this.inputId = `select-${++id}`;
33
+ this.labelId = `select-label-${id}`;
34
+ this.helpTextId = `select-help-text-${id}`;
35
+ this.errorTextId = `select-error-text-${id}`;
36
+ this.eventListeners = new EventListeners();
37
+ this.activeItemIndex = -1;
38
+ this.resizeObserver = new ResizeObserver(() => this.updateDisplayedValues());
39
+ this.handleBlur = () => {
40
+ this.hasFocus = false;
41
+ this.sixBlur.emit();
42
+ };
43
+ this.handleFocus = () => {
44
+ this.hasFocus = true;
45
+ this.sixFocus.emit();
46
+ };
47
+ this.handleClearClick = async (event) => {
48
+ var _a;
49
+ event.stopPropagation();
50
+ await this.clearValues();
51
+ await ((_a = this.dropdown) === null || _a === void 0 ? void 0 : _a.show());
52
+ await this.setFocus();
53
+ this.sixChange.emit({ value: this.value, isSelected: true });
54
+ };
55
+ this.handleKeyDown = (event) => {
56
+ var _a, _b, _c, _d;
57
+ if (this.virtualScroll || this.autocomplete) {
58
+ return;
59
+ }
60
+ if (['Control', 'Escape'].includes(event.key)) {
61
+ return;
62
+ }
63
+ const items = this.getVisibleItems();
64
+ // Ctrl-A selects all items
65
+ if (this.isOpen && this.multiple && event.code === 'KeyA' && event.ctrlKey) {
66
+ event.preventDefault();
67
+ this.selectAll();
68
+ return;
69
+ }
70
+ // Tabbing out of the control closes it
71
+ if (event.key === 'Tab') {
72
+ if (this.isOpen) {
73
+ (_a = this.dropdown) === null || _a === void 0 ? void 0 : _a.hide();
74
+ }
75
+ return;
76
+ }
77
+ if (event.key === ' ' && !this.multiple) {
78
+ return;
79
+ }
80
+ // Enter and Space selects the active item
81
+ if (this.activeItemIndex >= 0 && ['Enter', ' '].includes(event.key)) {
82
+ const activeItem = items.at(this.activeItemIndex);
83
+ event.preventDefault();
84
+ activeItem === null || activeItem === void 0 ? void 0 : activeItem.click();
85
+ return;
86
+ }
87
+ // Move the selection when pressing up or down
88
+ if (['ArrowDown', 'ArrowUp', 'Home', 'End'].includes(event.key)) {
89
+ // Show the menu if it's not already open
90
+ if (!this.isOpen) {
91
+ (_b = this.dropdown) === null || _b === void 0 ? void 0 : _b.show();
92
+ }
93
+ if (items.length > 0) {
94
+ event.preventDefault();
95
+ if (event.key === 'ArrowDown') {
96
+ this.activeItemIndex++;
97
+ }
98
+ else if (event.key === 'ArrowUp') {
99
+ this.activeItemIndex--;
100
+ }
101
+ else if (event.key === 'Home') {
102
+ this.activeItemIndex = 0;
103
+ }
104
+ else if (event.key === 'End') {
105
+ this.activeItemIndex = items.length - 1;
106
+ }
107
+ if (this.activeItemIndex < 0)
108
+ this.activeItemIndex = 0;
109
+ if (this.activeItemIndex > items.length - 1)
110
+ this.activeItemIndex = items.length - 1;
111
+ (_c = items.at(this.activeItemIndex)) === null || _c === void 0 ? void 0 : _c.setFocus();
112
+ }
113
+ }
114
+ // All other keys open the menu
115
+ if (!this.isOpen) {
116
+ event.stopPropagation();
117
+ event.preventDefault();
118
+ (_d = this.dropdown) === null || _d === void 0 ? void 0 : _d.show();
119
+ }
120
+ };
121
+ this.handleLabelClick = () => {
122
+ var _a;
123
+ (_a = this.box) === null || _a === void 0 ? void 0 : _a.focus();
124
+ };
125
+ this.handleMenuSelect = (event) => {
126
+ const currentItem = event.detail.item;
127
+ if (this.multiple) {
128
+ currentItem.checked = !currentItem.checked;
129
+ }
130
+ else {
131
+ this.getItems().forEach((i) => (i.checked = false));
132
+ currentItem.checked = true;
133
+ }
134
+ this.syncValueFromItems();
135
+ this.sixChange.emit({ value: this.value, isSelected: true });
136
+ };
137
+ this.handleMenuShow = (event) => {
138
+ if (this.disabled) {
139
+ event.preventDefault();
140
+ return;
141
+ }
142
+ this.activeItemIndex = -1;
143
+ if (!this.virtualScroll && this.multiple) {
144
+ // reset display style of main items
145
+ const mainItems = this.getItems();
146
+ mainItems.forEach((item) => (item.style.display = 'unset'));
147
+ // show selected menu items in the selection container and hide them in the main container
148
+ const checkedItems = getCheckedItems(convertToValidArrayValue(this.value), mainItems);
149
+ checkedItems.forEach((i) => (i.style.display = 'none'));
150
+ this.selectionContainerItems = checkedItems.map((item) => {
151
+ return (h("six-menu-item", { key: item.value, checked: true, value: item.value, checkType: this.multiple ? 'checkbox' : 'check', onClick: (event) => {
152
+ event.stopPropagation();
153
+ if (!this.disabled) {
154
+ const menuItem = event.target;
155
+ const isChecked = menuItem.checked;
156
+ menuItem.checked = !isChecked;
157
+ item.checked = !isChecked;
158
+ this.syncValueFromItems();
159
+ this.sixChange.emit({ value: this.value, isSelected: true });
160
+ }
161
+ } }, this.getItemLabel(item)));
162
+ });
163
+ }
164
+ this.isOpen = true;
165
+ };
166
+ this.handleMenuHide = () => {
167
+ this.isOpen = false;
168
+ if (this.multiple) {
169
+ this.handleBlur();
170
+ }
171
+ };
172
+ this.handleSlotChange = () => {
173
+ this.hasHelpTextSlot = hasSlot(this.host, 'help-text');
174
+ this.hasLabelSlot = hasSlot(this.host, 'label');
175
+ this.hasErrorTextSlot = hasSlot(this.host, 'error-text');
176
+ this.syncItemsFromValue();
177
+ };
178
+ this.hasFocus = false;
179
+ this.hasHelpTextSlot = false;
180
+ this.hasLabelSlot = false;
181
+ this.hasErrorTextSlot = false;
182
+ this.isOpen = false;
183
+ this.displayedValues = [];
184
+ this.selectionContainerItems = [];
185
+ this.multiple = false;
186
+ this.selectAllButton = false;
187
+ this.selectAllText = undefined;
188
+ this.maxTagsVisible = 3;
189
+ this.disabled = false;
190
+ this.name = '';
191
+ this.placeholder = '';
192
+ this.filterPlaceholder = undefined;
193
+ this.filterDebounce = undefined;
194
+ this.size = 'medium';
195
+ this.hoist = false;
196
+ this.value = '';
197
+ this.pill = false;
198
+ this.helpText = '';
199
+ this.required = false;
200
+ this.clearable = false;
201
+ this.label = '';
202
+ this.errorText = '';
203
+ this.errorTextCount = undefined;
204
+ this.invalid = false;
205
+ this.line = false;
206
+ this.filter = false;
207
+ this.asyncFilter = false;
208
+ this.autocomplete = false;
209
+ this.inputDebounce = DEFAULT_DEBOUNCE_FAST;
210
+ this.options = null;
211
+ this.virtualScroll = false;
212
+ }
213
+ handleDisabledChange() {
214
+ var _a;
215
+ if (this.disabled && this.isOpen) {
216
+ (_a = this.dropdown) === null || _a === void 0 ? void 0 : _a.hide();
82
217
  }
83
- return;
84
- }
85
- // Up/down opens the menu
86
- if (['ArrowDown', 'ArrowUp'].includes(event.key)) {
87
- event.preventDefault();
88
- // Show the menu if it's not already open
89
- if (!this.isOpen) {
90
- (_b = this.dropdown) === null || _b === void 0 ? void 0 : _b.show();
218
+ }
219
+ handleLabelChange() {
220
+ this.handleSlotChange();
221
+ }
222
+ handleMultipleChange() {
223
+ this.value = convertToValidValue(this.value, this.multiple);
224
+ this.syncItemsFromValue();
225
+ }
226
+ async handleValueChange() {
227
+ const newValue = convertToValidValue(this.value, this.multiple);
228
+ if (!valueEquals(this.value, newValue)) {
229
+ this.value = newValue;
91
230
  }
92
- // Focus on a menu item
93
- if (event.key === 'ArrowDown' && firstItem) {
94
- firstItem.setFocus();
95
- return;
231
+ await this.syncItemsFromValue();
232
+ }
233
+ connectedCallback() {
234
+ var _a;
235
+ if (this.virtualScroll && this.options === null) {
236
+ console.error('Options must be defined when using virtual scrolling');
96
237
  }
97
- if (event.key === 'ArrowUp' && lastItem) {
98
- lastItem.setFocus();
99
- return;
238
+ (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.addEventListener('slotchange', this.handleSlotChange);
239
+ this.eventListeners.forward('six-select-change', 'change', this.host);
240
+ this.eventListeners.forward('six-select-blur', 'blur', this.host);
241
+ this.eventListeners.forward('six-select-focus', 'focus', this.host);
242
+ if (this.displayValuesContainer) {
243
+ this.resizeObserver.observe(this.displayValuesContainer);
100
244
  }
101
- }
102
- // All other keys open the menu and initiate type to select
103
- if (!this.isOpen) {
104
- event.stopPropagation();
105
- event.preventDefault();
106
- (_c = this.dropdown) === null || _c === void 0 ? void 0 : _c.show();
107
- (_d = this.menu) === null || _d === void 0 ? void 0 : _d.typeToSelect(event.key);
108
- }
109
- };
110
- this.handleLabelClick = () => {
111
- var _a;
112
- (_a = this.box) === null || _a === void 0 ? void 0 : _a.focus();
113
- };
114
- this.handleMenuSelect = (event) => {
115
- const item = event.detail.item;
116
- const getValue = () => {
117
- if (this.multiple) {
118
- return this.value.includes(item.value)
119
- ? this.value.filter((v) => v !== item.value)
120
- : [...this.value, item.value];
245
+ }
246
+ componentWillLoad() {
247
+ this.value = convertToValidValue(this.value, this.multiple);
248
+ this.handleSlotChange();
249
+ }
250
+ componentDidLoad() {
251
+ if (this.displayValuesContainer) {
252
+ this.resizeObserver.observe(this.displayValuesContainer);
253
+ }
254
+ // We need to do an initial sync after the component has rendered, so this will suppress the re-render warning
255
+ requestAnimationFrame(() => this.syncItemsFromValue());
256
+ if (this.autocomplete && this.autocompleteInput != null) {
257
+ const autocompleteInput = this.autocompleteInput;
258
+ this.eventListeners.add(autocompleteInput, 'six-input-input', debounce((event) => {
259
+ var _a;
260
+ this.value = autocompleteInput.value;
261
+ this.sixChange.emit({ value: this.value, isSelected: false });
262
+ event.stopPropagation();
263
+ if (this.virtualScroll || this.value.length > 0) {
264
+ (_a = this.dropdown) === null || _a === void 0 ? void 0 : _a.show();
265
+ }
266
+ }, this.inputDebounce));
267
+ const selectedLabel = this.displayedValues.join(', ');
268
+ autocompleteInput.value = selectedLabel;
269
+ }
270
+ }
271
+ disconnectedCallback() {
272
+ var _a;
273
+ this.resizeObserver.disconnect();
274
+ (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.removeEventListener('slotchange', this.handleSlotChange);
275
+ this.eventListeners.removeAll();
276
+ }
277
+ /** Sets focus on the select. */
278
+ async setFocus(options) {
279
+ var _a;
280
+ this.hasFocus = true;
281
+ (_a = this.box) === null || _a === void 0 ? void 0 : _a.focus(options);
282
+ }
283
+ getItemLabel(item) {
284
+ var _a, _b;
285
+ const slot = (_a = item.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot:not([name])');
286
+ if (slot != null) {
287
+ return getTextContent(slot);
121
288
  }
122
289
  else {
123
- return item.value;
290
+ // bugfix/COMSLI-203-six-select-value-is-not-updated-if-the-slot-is-changed
291
+ return (_b = item.textContent) !== null && _b !== void 0 ? _b : '';
124
292
  }
125
- };
126
- this.value = getValue();
127
- this.syncItemsFromValue();
128
- this.sixChange.emit({ value: this.value, isSelected: true });
129
- };
130
- this.handleMenuShow = (event) => {
131
- var _a;
132
- if (this.disabled) {
133
- event.preventDefault();
134
- return;
135
- }
136
- this.resizeMenu();
137
- (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.observe(this.host);
138
- this.isOpen = true;
139
- };
140
- this.handleMenuHide = () => {
141
- var _a;
142
- (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.unobserve(this.host);
143
- this.isOpen = false;
144
- };
145
- this.handleSlotChange = () => {
146
- this.hasHelpTextSlot = hasSlot(this.host, 'help-text');
147
- this.hasLabelSlot = hasSlot(this.host, 'label');
148
- this.syncItemsFromValue();
149
- };
150
- this.handleTagInteraction = (event) => {
151
- // Don't toggle the menu when a tag's clear button is activated
152
- const path = event.composedPath();
153
- const clearButton = path.find((el) => {
154
- if (el instanceof HTMLElement) {
155
- const element = el;
156
- return element.classList.contains('tag__clear');
293
+ }
294
+ getItems() {
295
+ if (this.options !== null && this.menu != null && this.menu.shadowRoot != null) {
296
+ return [...this.menu.shadowRoot.querySelectorAll('six-menu-item')];
157
297
  }
158
- });
159
- if (clearButton) {
160
- event.stopPropagation();
298
+ return [...this.host.querySelectorAll('six-menu-item')];
299
+ }
300
+ getVisibleItems() {
301
+ const selectionContainerItems = this.getSelectionContainerItems();
302
+ const mainItems = this.getItems();
303
+ return [...selectionContainerItems, ...mainItems].filter((i) => i.style.display !== 'none');
304
+ }
305
+ getSelectionContainerItems() {
306
+ var _a;
307
+ return [...(((_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('six-menu-item')) || [])];
308
+ }
309
+ async clearValues() {
310
+ this.value = this.multiple ? [] : '';
311
+ this.selectionContainerItems = [];
312
+ await this.syncItemsFromValue();
313
+ }
314
+ selectAll() {
315
+ const visibleItems = this.getVisibleItems();
316
+ const hasDeselectedOptions = this.hasDeselectedOptions();
317
+ visibleItems.filter((option) => !option.disabled).forEach((option) => (option.checked = hasDeselectedOptions));
318
+ const checkedItems = visibleItems.filter((option) => option.checked).map((option) => option.value);
319
+ this.value = hasDeselectedOptions ? checkedItems : [];
161
320
  this.sixChange.emit({ value: this.value, isSelected: true });
162
- }
163
- };
164
- this.hasFocus = false;
165
- this.hasHelpTextSlot = false;
166
- this.hasLabelSlot = false;
167
- this.isOpen = false;
168
- this.displayLabel = '';
169
- this.displayTags = [];
170
- this.multiple = false;
171
- this.maxTagsVisible = 3;
172
- this.disabled = false;
173
- this.name = '';
174
- this.placeholder = '';
175
- this.filterPlaceholder = undefined;
176
- this.filterDebounce = DEFAULT_DEBOUNCE_FAST;
177
- this.size = 'medium';
178
- this.hoist = false;
179
- this.value = '';
180
- this.pill = false;
181
- this.helpText = '';
182
- this.required = false;
183
- this.clearable = false;
184
- this.label = '';
185
- this.errorText = '';
186
- this.invalid = false;
187
- this.line = false;
188
- this.filter = false;
189
- this.asyncFilter = false;
190
- this.autocomplete = false;
191
- this.inputDebounce = DEFAULT_DEBOUNCE_FAST;
192
- this.options = null;
193
- this.virtualScroll = false;
194
- }
195
- handleDisabledChange() {
196
- var _a;
197
- if (this.disabled && this.isOpen) {
198
- (_a = this.dropdown) === null || _a === void 0 ? void 0 : _a.hide();
199
- }
200
- }
201
- handleLabelChange() {
202
- this.handleSlotChange();
203
- }
204
- handleMultipleChange() {
205
- // Cast to array | string based on `this.multiple`
206
- const value = this.getValueAsArray();
207
- this.value = this.multiple ? value : value[0] || '';
208
- this.syncItemsFromValue();
209
- }
210
- async handleValueChange() {
211
- if (this.multiple && !Array.isArray(this.value)) {
212
- this.value = [];
213
- }
214
- if (!this.multiple && typeof this.value !== 'string') {
215
- this.value = '';
216
- }
217
- await this.syncItemsFromValue();
218
- }
219
- connectedCallback() {
220
- var _a;
221
- if (this.virtualScroll && this.options === null) {
222
- console.error('Options must be defined when using virtual scrolling');
223
- }
224
- (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.addEventListener('slotchange', this.handleSlotChange);
225
- this.eventListeners.forward('six-select-change', 'change', this.host);
226
- this.eventListeners.forward('six-select-blur', 'blur', this.host);
227
- this.eventListeners.forward('six-select-focus', 'focus', this.host);
228
- }
229
- componentWillLoad() {
230
- this.handleSlotChange();
231
- if (this.multiple && this.value != null) {
232
- this.value = this.getValueAsArray();
233
- }
234
- }
235
- componentDidLoad() {
236
- if (this.input == null)
237
- return;
238
- const input = this.input;
239
- this.resizeObserver = new ResizeObserver(() => this.resizeMenu());
240
- // We need to do an initial sync after the component has rendered, so this will suppress the re-render warning
241
- requestAnimationFrame(() => this.syncItemsFromValue());
242
- this.eventListeners.add(input, 'six-input-input', debounce((event) => {
243
- const enteredValue = input.value;
244
- this.clearValues();
245
- this.sixChange.emit({ value: enteredValue, isSelected: false });
246
- event.stopPropagation();
247
- }, this.inputDebounce));
248
- input.value = this.hasSelection() ? this.displayLabel : '';
249
- }
250
- disconnectedCallback() {
251
- var _a;
252
- (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.removeEventListener('slotchange', this.handleSlotChange);
253
- this.eventListeners.removeAll();
254
- }
255
- /** Sets focus on the select. */
256
- async setFocus(options) {
257
- var _a;
258
- this.hasFocus = true;
259
- (_a = this.box) === null || _a === void 0 ? void 0 : _a.focus(options);
260
- }
261
- getItemLabel(item) {
262
- var _a, _b;
263
- const slot = (_a = item.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot:not([name])');
264
- if (slot != null) {
265
- return getTextContent(slot);
266
- }
267
- else {
268
- // bugfix/COMSLI-203-six-select-value-is-not-updated-if-the-slot-is-changed
269
- return (_b = item.textContent) !== null && _b !== void 0 ? _b : '';
270
- }
271
- }
272
- getItems() {
273
- if (this.options !== null) {
274
- return this.options.map((option) => h("six-menu-item", { value: option.value }, option.label));
275
- }
276
- return [...this.host.querySelectorAll('six-menu-item')];
277
- }
278
- hasMenuItems() {
279
- return this.getItems().length > 0;
280
- }
281
- getValueAsArray() {
282
- const values = Array.isArray(this.value) ? this.value : this.value === '' ? [] : [this.value];
283
- // enforce that the values are converted to 'string' before the value is compared
284
- return values.map(String);
285
- }
286
- clearValues() {
287
- this.value = this.multiple ? [] : '';
288
- this.syncItemsFromValue();
289
- }
290
- resizeMenu() {
291
- if (this.menu == null || this.box == null)
292
- return;
293
- this.menu.style.minWidth = `${this.box.clientWidth}px`;
294
- if (this.dropdown) {
295
- this.dropdown.reposition();
296
- }
297
- }
298
- async syncItemsFromValue() {
299
- const items = this.getItems();
300
- const value = this.getValueAsArray();
301
- // Sync checked states
302
- items.forEach((item) => (item.checked = value.includes(item.value)));
303
- // Sync display label
304
- if (this.multiple) {
305
- const checkedItems = [];
306
- value.forEach((val) => items.map((item) => (item.value === val ? checkedItems.push(item) : null)));
307
- this.displayTags = checkedItems.map((item) => {
308
- return (h("six-tag", { exportparts: "base:tag", type: "primary", size: this.size, pill: this.pill, clearable: true, onClick: this.handleTagInteraction, onKeyDown: this.handleTagInteraction, "onSix-tag-clear": (event) => {
309
- event.stopPropagation();
310
- if (!this.disabled) {
311
- item.checked = false;
312
- this.syncValueFromItems();
321
+ }
322
+ /**
323
+ * Sets the checked state of menu items and renders the displayed values.
324
+ */
325
+ async syncItemsFromValue() {
326
+ const selectionContainerItems = this.getSelectionContainerItems();
327
+ const mainItems = this.getItems();
328
+ const value = convertToValidValue(this.value, this.multiple);
329
+ selectionContainerItems.forEach((item) => {
330
+ item.checkType = this.multiple ? 'checkbox' : 'check';
331
+ if (Array.isArray(value)) {
332
+ item.checked = value.some((val) => val === item.value);
313
333
  }
314
- } }, this.getItemLabel(item)));
315
- });
316
- if (this.maxTagsVisible > 0 && this.displayTags.length > this.maxTagsVisible) {
317
- const total = this.displayTags.length;
318
- this.displayLabel = '';
319
- this.displayTags = this.displayTags.slice(0, this.maxTagsVisible);
320
- this.displayTags.push(h("six-tag", { exportparts: "base:tag", type: "info", size: this.size }, "+", total - this.maxTagsVisible));
321
- }
322
- }
323
- else {
324
- this.displayLabel = this.extractLabelForSelectedItem(value, items);
325
- this.displayTags = [];
326
- }
327
- if (!isValueEmpty(this.value)) {
328
- this.touched = true;
329
- }
330
- if (this.touched && this.input != null) {
331
- this.input.value = Array.isArray(this.value) ? this.value.join(',') : this.value;
332
- }
333
- }
334
- extractLabelForSelectedItem(value, items) {
335
- if (value.length === 0 || (value.length === 1 && value[0] === '')) {
336
- return '';
337
- }
338
- if (this.options !== null) {
339
- const selectedOption = this.options.find((item) => item.value === value[0]);
340
- return (selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value) || '';
341
- }
342
- const checkedItem = items.find((item) => item.value === value[0]);
343
- return checkedItem ? this.getItemLabel(checkedItem) : '';
344
- }
345
- syncValueFromItems() {
346
- const items = this.getItems();
347
- const checkedItems = items.filter((item) => item.checked);
348
- const checkedValues = checkedItems.map((item) => item.value);
349
- this.value = this.multiple
350
- ? this.getValueAsArray().filter((val) => checkedValues.includes(val))
351
- : checkedValues.length > 0
352
- ? checkedValues[0]
353
- : '';
354
- }
355
- render() {
356
- var _a;
357
- const hasSelection = this.hasSelection();
358
- return (h(FormControl, { inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, size: this.size, onLabelClick: this.handleLabelClick, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("six-dropdown", { part: "base", ref: (el) => (this.dropdown = el), hoist: this.hoist, closeOnSelect: !this.multiple, containingElement: this.host, disableHideOnEnterAndSpace: this.autocomplete, class: {
359
- select: true,
360
- 'select--open': this.isOpen,
361
- 'select--empty': ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) === 0,
362
- 'select--focused': this.hasFocus,
363
- 'select--clearable': this.clearable,
364
- 'select--disabled': this.disabled,
365
- 'select--multiple': this.multiple,
366
- 'select--has-tags': this.multiple && hasSelection,
367
- 'select--placeholder-visible': this.displayLabel === '',
368
- 'select--small': this.size === 'small',
369
- 'select--medium': this.size === 'medium',
370
- 'select--large': this.size === 'large',
371
- 'select--pill': this.pill,
372
- 'select--invalid': this.invalid,
373
- }, onKeyDown: this.handleSelectAll, "onSix-dropdown-show": this.handleMenuShow, "onSix-dropdown-hide": this.handleMenuHide, filterPlaceholder: this.filterPlaceholder, filterDebounce: this.filterDebounce, filter: this.filter, asyncFilter: this.asyncFilter }, h("div", { slot: "trigger", ref: (el) => (this.box = el), id: this.inputId, class: {
374
- select__box: true,
375
- 'select__box--line': this.line,
376
- 'select__box--autocomplete': this.autocomplete,
377
- }, role: "combobox", "aria-labelledby": this.labelId, "aria-describedby": this.helpTextId, "aria-haspopup": "true", "aria-expanded": this.isOpen ? 'true' : 'false', tabIndex: this.disabled ? -1 : 0, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown }, h("span", { class: { select__label: true, 'select__label--single': !this.displayTags.length } }, this.displayTags.length > 0 ? (h("span", { part: "tags", class: "select__tags" }, this.displayTags)) : (this.displayLabel || this.placeholder)), this.clearable && hasSelection && (h("six-icon-button", { exportparts: "base:clear-button", class: "select__clear", name: "clear", size: "small", onClick: this.handleClearClick, tabindex: "-1" })), this.hasMenuItems() && (h("span", { part: "icon", class: "select__icon" }, h("six-icon", { size: "medium" }, "expand_more"))), h("six-input", { ref: (el) => (this.input = el), class: {
378
- select__input: true,
379
- 'select__hidden-select': !this.autocomplete,
380
- }, "aria-hidden": "true", required: this.required, onFocus: this.handleFocus, clearable: this.clearable, placeholder: this.placeholder, pill: this.pill, disabled: this.disabled, size: this.size, tabIndex: -1 })), h("six-menu", { ref: (el) => (this.menu = el), part: "menu", class: {
381
- select__menu: true,
382
- 'select__menu--filtered': this.filter || this.asyncFilter,
383
- 'select__menu--hidden': !this.hasMenuItems(),
384
- }, "onSix-menu-item-selected": this.handleMenuSelect, items: this.options, virtualScroll: this.virtualScroll, "remove-box-shadow": true }, h("slot", { onSlotchange: this.handleSlotChange })))));
385
- }
386
- hasSelection() {
387
- return this.multiple ? this.value.length > 0 : this.value !== '';
388
- }
389
- static get is() { return "six-select"; }
390
- static get encapsulation() { return "shadow"; }
391
- static get originalStyleUrls() {
392
- return {
393
- "$": ["six-select.scss"]
394
- };
395
- }
396
- static get styleUrls() {
397
- return {
398
- "$": ["six-select.css"]
399
- };
400
- }
401
- static get properties() {
402
- return {
403
- "multiple": {
404
- "type": "boolean",
405
- "mutable": false,
406
- "complexType": {
407
- "original": "boolean",
408
- "resolved": "boolean",
409
- "references": {}
410
- },
411
- "required": false,
412
- "optional": false,
413
- "docs": {
414
- "tags": [],
415
- "text": "Set to true to enable multiselect."
416
- },
417
- "attribute": "multiple",
418
- "reflect": false,
419
- "defaultValue": "false"
420
- },
421
- "maxTagsVisible": {
422
- "type": "number",
423
- "mutable": false,
424
- "complexType": {
425
- "original": "number",
426
- "resolved": "number",
427
- "references": {}
428
- },
429
- "required": false,
430
- "optional": false,
431
- "docs": {
432
- "tags": [],
433
- "text": "The maximum number of tags to show when `multiple` is true. After the maximum, \"+n\" will be shown to indicate the\nnumber of additional items that are selected. Set to -1 to remove the limit."
434
- },
435
- "attribute": "max-tags-visible",
436
- "reflect": false,
437
- "defaultValue": "3"
438
- },
439
- "disabled": {
440
- "type": "boolean",
441
- "mutable": false,
442
- "complexType": {
443
- "original": "boolean",
444
- "resolved": "boolean",
445
- "references": {}
446
- },
447
- "required": false,
448
- "optional": false,
449
- "docs": {
450
- "tags": [],
451
- "text": "Set to true to disable the select control."
452
- },
453
- "attribute": "disabled",
454
- "reflect": false,
455
- "defaultValue": "false"
456
- },
457
- "name": {
458
- "type": "string",
459
- "mutable": false,
460
- "complexType": {
461
- "original": "string",
462
- "resolved": "string",
463
- "references": {}
464
- },
465
- "required": false,
466
- "optional": false,
467
- "docs": {
468
- "tags": [],
469
- "text": "The select's name."
470
- },
471
- "attribute": "name",
472
- "reflect": false,
473
- "defaultValue": "''"
474
- },
475
- "placeholder": {
476
- "type": "string",
477
- "mutable": false,
478
- "complexType": {
479
- "original": "string",
480
- "resolved": "string",
481
- "references": {}
482
- },
483
- "required": false,
484
- "optional": false,
485
- "docs": {
486
- "tags": [],
487
- "text": "The select's placeholder text."
488
- },
489
- "attribute": "placeholder",
490
- "reflect": false,
491
- "defaultValue": "''"
492
- },
493
- "filterPlaceholder": {
494
- "type": "string",
495
- "mutable": false,
496
- "complexType": {
497
- "original": "string",
498
- "resolved": "string | undefined",
499
- "references": {}
500
- },
501
- "required": false,
502
- "optional": true,
503
- "docs": {
504
- "tags": [],
505
- "text": "The filter's placeholder text."
506
- },
507
- "attribute": "filter-placeholder",
508
- "reflect": false
509
- },
510
- "filterDebounce": {
511
- "type": "number",
512
- "mutable": false,
513
- "complexType": {
514
- "original": "number",
515
- "resolved": "number",
516
- "references": {}
517
- },
518
- "required": false,
519
- "optional": false,
520
- "docs": {
521
- "tags": [],
522
- "text": "The debounce for the filter callbacks."
523
- },
524
- "attribute": "filter-debounce",
525
- "reflect": false,
526
- "defaultValue": "DEFAULT_DEBOUNCE_FAST"
527
- },
528
- "size": {
529
- "type": "string",
530
- "mutable": false,
531
- "complexType": {
532
- "original": "'small' | 'medium' | 'large'",
533
- "resolved": "\"large\" | \"medium\" | \"small\"",
534
- "references": {}
535
- },
536
- "required": false,
537
- "optional": false,
538
- "docs": {
539
- "tags": [],
540
- "text": "The select's size."
541
- },
542
- "attribute": "size",
543
- "reflect": false,
544
- "defaultValue": "'medium'"
545
- },
546
- "hoist": {
547
- "type": "boolean",
548
- "mutable": false,
549
- "complexType": {
550
- "original": "boolean",
551
- "resolved": "boolean",
552
- "references": {}
553
- },
554
- "required": false,
555
- "optional": false,
556
- "docs": {
557
- "tags": [],
558
- "text": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`."
559
- },
560
- "attribute": "hoist",
561
- "reflect": false,
562
- "defaultValue": "false"
563
- },
564
- "value": {
565
- "type": "string",
566
- "mutable": true,
567
- "complexType": {
568
- "original": "string | string[]",
569
- "resolved": "string | string[]",
570
- "references": {}
571
- },
572
- "required": false,
573
- "optional": false,
574
- "docs": {
575
- "tags": [],
576
- "text": "The value of the control. This will be a string or an array depending on `multiple`."
577
- },
578
- "attribute": "value",
579
- "reflect": false,
580
- "defaultValue": "''"
581
- },
582
- "pill": {
583
- "type": "boolean",
584
- "mutable": false,
585
- "complexType": {
586
- "original": "boolean",
587
- "resolved": "boolean",
588
- "references": {}
589
- },
590
- "required": false,
591
- "optional": false,
592
- "docs": {
593
- "tags": [],
594
- "text": "Set to true to draw a pill-style select with rounded edges."
595
- },
596
- "attribute": "pill",
597
- "reflect": false,
598
- "defaultValue": "false"
599
- },
600
- "helpText": {
601
- "type": "string",
602
- "mutable": false,
603
- "complexType": {
604
- "original": "string",
605
- "resolved": "string",
606
- "references": {}
607
- },
608
- "required": false,
609
- "optional": false,
610
- "docs": {
611
- "tags": [],
612
- "text": "The select's help text. Alternatively, you can use the help-text slot."
613
- },
614
- "attribute": "help-text",
615
- "reflect": false,
616
- "defaultValue": "''"
617
- },
618
- "required": {
619
- "type": "boolean",
620
- "mutable": false,
621
- "complexType": {
622
- "original": "boolean",
623
- "resolved": "boolean",
624
- "references": {}
625
- },
626
- "required": false,
627
- "optional": false,
628
- "docs": {
629
- "tags": [],
630
- "text": "Set to true to show an asterisk beneath the label."
631
- },
632
- "attribute": "required",
633
- "reflect": false,
634
- "defaultValue": "false"
635
- },
636
- "clearable": {
637
- "type": "boolean",
638
- "mutable": false,
639
- "complexType": {
640
- "original": "boolean",
641
- "resolved": "boolean",
642
- "references": {}
643
- },
644
- "required": false,
645
- "optional": false,
646
- "docs": {
647
- "tags": [],
648
- "text": "Set to true to add a clear button when the select is populated."
649
- },
650
- "attribute": "clearable",
651
- "reflect": false,
652
- "defaultValue": "false"
653
- },
654
- "label": {
655
- "type": "string",
656
- "mutable": false,
657
- "complexType": {
658
- "original": "string",
659
- "resolved": "string",
660
- "references": {}
661
- },
662
- "required": false,
663
- "optional": false,
664
- "docs": {
665
- "tags": [],
666
- "text": "The label text."
667
- },
668
- "attribute": "label",
669
- "reflect": false,
670
- "defaultValue": "''"
671
- },
672
- "errorText": {
673
- "type": "string",
674
- "mutable": false,
675
- "complexType": {
676
- "original": "string",
677
- "resolved": "string",
678
- "references": {}
679
- },
680
- "required": false,
681
- "optional": false,
682
- "docs": {
683
- "tags": [],
684
- "text": "The error message shown, if `invalid` is set to true."
685
- },
686
- "attribute": "error-text",
687
- "reflect": false,
688
- "defaultValue": "''"
689
- },
690
- "invalid": {
691
- "type": "boolean",
692
- "mutable": false,
693
- "complexType": {
694
- "original": "boolean",
695
- "resolved": "boolean",
696
- "references": {}
697
- },
698
- "required": false,
699
- "optional": false,
700
- "docs": {
701
- "tags": [],
702
- "text": "If this property is set to true and an error message is provided by `errorText`, the error message is displayed."
703
- },
704
- "attribute": "invalid",
705
- "reflect": true,
706
- "defaultValue": "false"
707
- },
708
- "line": {
709
- "type": "boolean",
710
- "mutable": false,
711
- "complexType": {
712
- "original": "boolean",
713
- "resolved": "boolean",
714
- "references": {}
715
- },
716
- "required": false,
717
- "optional": false,
718
- "docs": {
719
- "tags": [],
720
- "text": "Set to render as line"
721
- },
722
- "attribute": "line",
723
- "reflect": false,
724
- "defaultValue": "false"
725
- },
726
- "filter": {
727
- "type": "boolean",
728
- "mutable": false,
729
- "complexType": {
730
- "original": "boolean",
731
- "resolved": "boolean",
732
- "references": {}
733
- },
734
- "required": false,
735
- "optional": false,
736
- "docs": {
737
- "tags": [],
738
- "text": "Set to true to allow filtering for entries in the dropdown"
739
- },
740
- "attribute": "filter",
741
- "reflect": false,
742
- "defaultValue": "false"
743
- },
744
- "asyncFilter": {
745
- "type": "boolean",
746
- "mutable": false,
747
- "complexType": {
748
- "original": "boolean",
749
- "resolved": "boolean",
750
- "references": {}
751
- },
752
- "required": false,
753
- "optional": false,
754
- "docs": {
755
- "tags": [],
756
- "text": "Set to true to allow async filtering.\nWhen you enter something in the search field the component will only emit an event but not filter any elements itself.\nYou can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself"
757
- },
758
- "attribute": "async-filter",
759
- "reflect": false,
760
- "defaultValue": "false"
761
- },
762
- "autocomplete": {
763
- "type": "boolean",
764
- "mutable": false,
765
- "complexType": {
766
- "original": "boolean",
767
- "resolved": "boolean",
768
- "references": {}
769
- },
770
- "required": false,
771
- "optional": false,
772
- "docs": {
773
- "tags": [],
774
- "text": "Set to true to turn the six-select into an autocomplete."
775
- },
776
- "attribute": "autocomplete",
777
- "reflect": false,
778
- "defaultValue": "false"
779
- },
780
- "inputDebounce": {
781
- "type": "number",
782
- "mutable": false,
783
- "complexType": {
784
- "original": "number",
785
- "resolved": "number",
786
- "references": {}
787
- },
788
- "required": false,
789
- "optional": false,
790
- "docs": {
791
- "tags": [],
792
- "text": "The debounce for when the input changes for autocompletes should be emitted"
793
- },
794
- "attribute": "input-debounce",
795
- "reflect": false,
796
- "defaultValue": "DEFAULT_DEBOUNCE_FAST"
797
- },
798
- "options": {
799
- "type": "unknown",
800
- "mutable": false,
801
- "complexType": {
802
- "original": "SixMenuItemData[] | null",
803
- "resolved": "SixMenuItemData[] | null",
804
- "references": {
805
- "SixMenuItemData": {
806
- "location": "import",
807
- "path": "../six-menu/six-menu",
808
- "id": "src/components/six-menu/six-menu.tsx::SixMenuItemData"
334
+ else {
335
+ item.checked = value === item.value;
809
336
  }
810
- }
811
- },
812
- "required": false,
813
- "optional": false,
814
- "docs": {
815
- "tags": [],
816
- "text": "Set the options to be shown in the dropdown (alternative to setting the elements via html)"
817
- },
818
- "defaultValue": "null"
819
- },
820
- "virtualScroll": {
821
- "type": "boolean",
822
- "mutable": false,
823
- "complexType": {
824
- "original": "boolean",
825
- "resolved": "boolean",
826
- "references": {}
827
- },
828
- "required": false,
829
- "optional": false,
830
- "docs": {
831
- "tags": [],
832
- "text": "Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around)\nare actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot."
833
- },
834
- "attribute": "virtual-scroll",
835
- "reflect": false,
836
- "defaultValue": "false"
837
- }
838
- };
839
- }
840
- static get states() {
841
- return {
842
- "hasFocus": {},
843
- "hasHelpTextSlot": {},
844
- "hasLabelSlot": {},
845
- "isOpen": {},
846
- "displayLabel": {},
847
- "displayTags": {}
848
- };
849
- }
850
- static get events() {
851
- return [{
852
- "method": "sixChange",
853
- "name": "six-select-change",
854
- "bubbles": true,
855
- "cancelable": true,
856
- "composed": true,
857
- "docs": {
858
- "tags": [],
859
- "text": "Emitted when the control's value changes."
860
- },
861
- "complexType": {
862
- "original": "SixSelectChangePayload",
863
- "resolved": "SixSelectChangePayload",
864
- "references": {
865
- "SixSelectChangePayload": {
866
- "location": "local",
867
- "path": "/home/runner/work/six-webcomponents/six-webcomponents/libraries/ui-library/src/components/six-select/six-select.tsx",
868
- "id": "src/components/six-select/six-select.tsx::SixSelectChangePayload"
337
+ });
338
+ mainItems.forEach((item) => {
339
+ item.checkType = this.multiple ? 'checkbox' : 'check';
340
+ if (Array.isArray(value)) {
341
+ item.checked = value.some((val) => val === item.value);
869
342
  }
870
- }
871
- }
872
- }, {
873
- "method": "sixFocus",
874
- "name": "six-select-focus",
875
- "bubbles": true,
876
- "cancelable": true,
877
- "composed": true,
878
- "docs": {
879
- "tags": [],
880
- "text": "Emitted when the control gains focus."
881
- },
882
- "complexType": {
883
- "original": "EmptyPayload",
884
- "resolved": "undefined",
885
- "references": {
886
- "EmptyPayload": {
887
- "location": "import",
888
- "path": "../../utils/types",
889
- "id": "src/utils/types.ts::EmptyPayload"
343
+ else {
344
+ item.checked = value === item.value;
890
345
  }
891
- }
346
+ });
347
+ const checkedItems = getCheckedItems(convertToValidArrayValue(this.value), mainItems);
348
+ this.displayedValues = checkedItems.map((i) => this.getItemLabel(i));
349
+ if (this.autocomplete && this.autocompleteInput != null && !this.hasFocus) {
350
+ const selectedLabel = this.displayedValues.join(', ');
351
+ this.autocompleteInput.value = selectedLabel;
892
352
  }
893
- }, {
894
- "method": "sixBlur",
895
- "name": "six-select-blur",
896
- "bubbles": true,
897
- "cancelable": true,
898
- "composed": true,
899
- "docs": {
900
- "tags": [],
901
- "text": "Emitted when the control loses focus."
902
- },
903
- "complexType": {
904
- "original": "EmptyPayload",
905
- "resolved": "undefined",
906
- "references": {
907
- "EmptyPayload": {
908
- "location": "import",
909
- "path": "../../utils/types",
910
- "id": "src/utils/types.ts::EmptyPayload"
911
- }
912
- }
353
+ requestAnimationFrame(() => {
354
+ this.updateDisplayedValues();
355
+ });
356
+ }
357
+ syncValueFromItems() {
358
+ const items = this.getItems();
359
+ const checkedValues = items.filter((item) => item.checked).map((item) => item.value);
360
+ if (this.multiple) {
361
+ this.value = checkedValues;
362
+ }
363
+ else {
364
+ this.value = checkedValues.length > 0 ? checkedValues[0] : '';
365
+ }
366
+ }
367
+ updateDisplayedValues() {
368
+ var _a, _b;
369
+ const displayValueOptions = [...((_b = (_a = this.displayValuesContainer) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.display-value')) !== null && _b !== void 0 ? _b : [])];
370
+ if (this.displayValuesContainer == null || displayValueOptions.length === 0 || this.overflowCount == null) {
371
+ return;
913
372
  }
914
- }];
915
- }
916
- static get methods() {
917
- return {
918
- "setFocus": {
919
- "complexType": {
920
- "signature": "(options?: FocusOptions) => Promise<void>",
921
- "parameters": [{
922
- "tags": [],
923
- "text": ""
924
- }],
925
- "references": {
926
- "Promise": {
927
- "location": "global",
928
- "id": "global::Promise"
373
+ // Show all options and separators to properly measure all widths.
374
+ displayValueOptions.forEach((d) => {
375
+ showDisplayValue(d);
376
+ showSeparator(d);
377
+ });
378
+ // Measure available width. The last separator is added to the available width, because it will be hidden later on.
379
+ const separator = displayValueOptions[displayValueOptions.length - 1].querySelector('.separator');
380
+ if (separator == null)
381
+ return;
382
+ let availableWidth = getWidth(this.displayValuesContainer) + getWidth(separator);
383
+ // Compute how many display value elements fit in the available width
384
+ let { fitCount, overflowCount } = computeFitCount(displayValueOptions, availableWidth);
385
+ if (overflowCount === 0) {
386
+ // All items fit, hide overflow count and show all values.
387
+ hideOverflowCount(this.overflowCount);
388
+ showFittingValues(displayValueOptions, fitCount);
389
+ }
390
+ else {
391
+ // Not all items fit in the available width. Recompute the available width with the overflow-count visible.
392
+ // Increment overflow count by one to make sure the elements fit, even if the overflow count increases to the
393
+ // next higher power of ten, e.g. from 9 to 10 or 99 to 100.
394
+ setOverflowCount(this.overflowCount, overflowCount + 1);
395
+ showOverflowCount(this.overflowCount);
396
+ // Subtract the overflow count from the available width
397
+ availableWidth = availableWidth - getWidth(this.overflowCount);
398
+ // Compute how many display value elements fit in the new available width
399
+ ({ fitCount, overflowCount } = computeFitCount(displayValueOptions, availableWidth));
400
+ // Show overflow count and items that fit.
401
+ setOverflowCount(this.overflowCount, overflowCount);
402
+ showFittingValues(displayValueOptions, fitCount);
403
+ }
404
+ }
405
+ render() {
406
+ var _a;
407
+ const hasSelection = this.hasSelection();
408
+ const items = this.getItems();
409
+ const hasMenuItems = items.length > 0;
410
+ const hasDeselectedOptions = this.hasDeselectedOptions();
411
+ let showClear = false;
412
+ let showExpand = hasMenuItems;
413
+ if (this.clearable && hasSelection) {
414
+ showClear = true;
415
+ showExpand = false;
416
+ }
417
+ return (h(FormControl, { key: '3ace428a1b1a320508cb2a30998745d3eb915769', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, onLabelClick: this.handleLabelClick, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("six-dropdown", { key: '8f425f828fb2db9ab7cc2edb81b6367a70709cf1', part: "base", ref: (el) => (this.dropdown = el), hoist: this.hoist, matchTriggerWidth: true, closeOnSelect: !this.multiple, containingElement: this.host, disableHideOnEnterAndSpace: this.autocomplete, class: {
418
+ select: true,
419
+ 'select--open': this.isOpen,
420
+ 'select--empty': ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) === 0,
421
+ 'select--focused': this.hasFocus,
422
+ 'select--clearable': this.clearable,
423
+ 'select--disabled': this.disabled,
424
+ 'select--multiple': this.multiple,
425
+ 'select--has-tags': this.multiple && hasSelection,
426
+ 'select--placeholder-visible': this.displayedValues.length === 0,
427
+ 'select--small': this.size === 'small',
428
+ 'select--medium': this.size === 'medium',
429
+ 'select--large': this.size === 'large',
430
+ 'select--pill': this.pill,
431
+ 'select--invalid': this.invalid,
432
+ }, onKeyDown: this.handleKeyDown, "onSix-dropdown-show": this.handleMenuShow, "onSix-dropdown-hide": this.handleMenuHide, filterPlaceholder: this.filterPlaceholder, filterDebounce: this.filterDebounce, filter: this.filter, asyncFilter: this.asyncFilter, virtualScroll: this.virtualScroll }, h("div", { key: 'a26c8aec4099f5d2211f5ff52a51fedca0796af6', slot: "trigger", ref: (el) => (this.box = el), id: this.inputId, class: {
433
+ select__box: true,
434
+ 'select__box--line': this.line,
435
+ 'select__box--autocomplete': this.autocomplete,
436
+ }, role: "combobox", "aria-labelledby": this.labelId, "aria-describedby": this.helpTextId, "aria-haspopup": "true", "aria-expanded": this.isOpen ? 'true' : 'false', tabIndex: this.disabled ? -1 : 0, onBlur: this.handleBlur, onFocus: this.handleFocus }, h("div", { key: 'cd8b84274335133824eddcade815aff7ea27a238', class: "display__values", ref: (el) => (this.displayValuesContainer = el) }, this.displayedValues.length > 0 ? (h("span", { class: "display__values-and-counter" }, h("span", { class: "display__values-values" }, this.displayedValues.map((value) => (h("span", { key: value, class: "display-value" }, value, h("span", { class: { separator: true } }, ", "))))), h("span", { ref: (el) => (this.overflowCount = el), class: "overflow-count" }, "+10"))) : (h("span", { class: "placeholder" }, this.placeholder))), showClear && (h("six-icon-button", { key: '07ae0cdd7eb509b5c1882bedd360143c1241d573', exportparts: "base:clear-button", class: "select__clear", name: "clear", size: "small", onClick: this.handleClearClick, tabindex: "-1" })), showExpand && (h("span", { key: '1fe72676ba9941b0b0b62af35762a277730d1d04', part: "icon", class: "select__icon" }, h("six-icon", { key: '3c8226f4a4e5bb7319f59b793705d647962afc95', size: "medium" }, "expand_more"))), h("six-input", { key: 'afa6ecd6e8feb4f00a0486d8242a808581b8e05e', ref: (el) => (this.autocompleteInput = el), class: {
437
+ select__input: true,
438
+ 'select__hidden-select': !this.autocomplete,
439
+ }, "aria-hidden": "true", required: this.required, onFocus: this.handleFocus, clearable: this.clearable, placeholder: this.placeholder, pill: this.pill, disabled: this.disabled, size: this.size, tabIndex: -1 })), h("div", { key: '3f411a1ed1b6f59c9541144c3b9407300a03a61a', class: {
440
+ 'selection-container': true,
441
+ 'selection-container--border': this.selectionContainerItems.length > 0 && items.length !== this.selectionContainerItems.length,
442
+ } }, this.selectionContainerItems), h("six-menu", { key: 'c9b52607f90d8905693ba30901456f1c40615de7', ref: (el) => (this.menu = el), part: "menu", class: {
443
+ select__menu: true,
444
+ 'select__menu--hidden': !hasMenuItems,
445
+ }, "onSix-menu-item-selected": this.handleMenuSelect, items: this.options, virtualScroll: this.virtualScroll, "remove-box-shadow": true, "disable-keyboard-handling": true }, h("slot", { key: 'e7f555fc8f71befcf1b72af1a86946c8361efe0a', onSlotchange: this.handleSlotChange })), this.multiple && this.selectAllButton && (h("div", { key: 'ccff8c2aec4773d0e9ba327cc411949eb9718197', class: "select-all", slot: "dropdown-footer" }, h("six-button", { key: 'd1ac499820ec60b7d1bf14e70c260a278941b8ee', type: "link", onClick: () => this.selectAll() }, this.selectAllText == null ? selectAllDefaultText(hasDeselectedOptions) : this.selectAllText))))));
446
+ }
447
+ hasSelection() {
448
+ return this.multiple ? this.value.length > 0 : this.value !== '';
449
+ }
450
+ hasDeselectedOptions() {
451
+ return this.getVisibleItems().some((opt) => !opt.disabled && !opt.checked);
452
+ }
453
+ static get is() { return "six-select"; }
454
+ static get encapsulation() { return "shadow"; }
455
+ static get originalStyleUrls() {
456
+ return {
457
+ "$": ["six-select.scss"]
458
+ };
459
+ }
460
+ static get styleUrls() {
461
+ return {
462
+ "$": ["six-select.css"]
463
+ };
464
+ }
465
+ static get properties() {
466
+ return {
467
+ "multiple": {
468
+ "type": "boolean",
469
+ "mutable": false,
470
+ "complexType": {
471
+ "original": "boolean",
472
+ "resolved": "boolean",
473
+ "references": {}
474
+ },
475
+ "required": false,
476
+ "optional": false,
477
+ "docs": {
478
+ "tags": [],
479
+ "text": "Set to true to enable multiselect."
480
+ },
481
+ "attribute": "multiple",
482
+ "reflect": false,
483
+ "defaultValue": "false"
484
+ },
485
+ "selectAllButton": {
486
+ "type": "boolean",
487
+ "mutable": false,
488
+ "complexType": {
489
+ "original": "boolean",
490
+ "resolved": "boolean",
491
+ "references": {}
492
+ },
493
+ "required": false,
494
+ "optional": false,
495
+ "docs": {
496
+ "tags": [],
497
+ "text": "Enables the select all button."
498
+ },
499
+ "attribute": "select-all-button",
500
+ "reflect": false,
501
+ "defaultValue": "false"
502
+ },
503
+ "selectAllText": {
504
+ "type": "string",
505
+ "mutable": false,
506
+ "complexType": {
507
+ "original": "string",
508
+ "resolved": "string | undefined",
509
+ "references": {}
510
+ },
511
+ "required": false,
512
+ "optional": true,
513
+ "docs": {
514
+ "tags": [],
515
+ "text": "Custom text for the \"select all\" button. Defaults to \"Select all\" and equivalents in supported languages."
516
+ },
517
+ "attribute": "select-all-text",
518
+ "reflect": false
519
+ },
520
+ "maxTagsVisible": {
521
+ "type": "number",
522
+ "mutable": false,
523
+ "complexType": {
524
+ "original": "number",
525
+ "resolved": "number",
526
+ "references": {}
527
+ },
528
+ "required": false,
529
+ "optional": false,
530
+ "docs": {
531
+ "tags": [{
532
+ "name": "deprecated",
533
+ "text": ": This property is ignored. The component now displays as many items as possible and computes the \"+n\" dynamically."
534
+ }],
535
+ "text": "The maximum number of tags to show when `multiple` is true. After the maximum, \"+n\" will be shown to indicate the\nnumber of additional items that are selected. Set to -1 to remove the limit."
536
+ },
537
+ "attribute": "max-tags-visible",
538
+ "reflect": false,
539
+ "defaultValue": "3"
540
+ },
541
+ "disabled": {
542
+ "type": "boolean",
543
+ "mutable": false,
544
+ "complexType": {
545
+ "original": "boolean",
546
+ "resolved": "boolean",
547
+ "references": {}
548
+ },
549
+ "required": false,
550
+ "optional": false,
551
+ "docs": {
552
+ "tags": [],
553
+ "text": "Set to true to disable the select control."
554
+ },
555
+ "attribute": "disabled",
556
+ "reflect": false,
557
+ "defaultValue": "false"
558
+ },
559
+ "name": {
560
+ "type": "string",
561
+ "mutable": false,
562
+ "complexType": {
563
+ "original": "string",
564
+ "resolved": "string",
565
+ "references": {}
566
+ },
567
+ "required": false,
568
+ "optional": false,
569
+ "docs": {
570
+ "tags": [],
571
+ "text": "The select's name."
572
+ },
573
+ "attribute": "name",
574
+ "reflect": false,
575
+ "defaultValue": "''"
576
+ },
577
+ "placeholder": {
578
+ "type": "string",
579
+ "mutable": false,
580
+ "complexType": {
581
+ "original": "string",
582
+ "resolved": "string",
583
+ "references": {}
584
+ },
585
+ "required": false,
586
+ "optional": false,
587
+ "docs": {
588
+ "tags": [],
589
+ "text": "The select's placeholder text."
590
+ },
591
+ "attribute": "placeholder",
592
+ "reflect": false,
593
+ "defaultValue": "''"
594
+ },
595
+ "filterPlaceholder": {
596
+ "type": "string",
597
+ "mutable": false,
598
+ "complexType": {
599
+ "original": "string",
600
+ "resolved": "string | undefined",
601
+ "references": {}
602
+ },
603
+ "required": false,
604
+ "optional": true,
605
+ "docs": {
606
+ "tags": [],
607
+ "text": "The filter's placeholder text."
608
+ },
609
+ "attribute": "filter-placeholder",
610
+ "reflect": false
611
+ },
612
+ "filterDebounce": {
613
+ "type": "number",
614
+ "mutable": false,
615
+ "complexType": {
616
+ "original": "number",
617
+ "resolved": "number | undefined",
618
+ "references": {}
619
+ },
620
+ "required": false,
621
+ "optional": true,
622
+ "docs": {
623
+ "tags": [],
624
+ "text": "The debounce for the filter callbacks."
625
+ },
626
+ "attribute": "filter-debounce",
627
+ "reflect": false
628
+ },
629
+ "size": {
630
+ "type": "string",
631
+ "mutable": false,
632
+ "complexType": {
633
+ "original": "'small' | 'medium' | 'large'",
634
+ "resolved": "\"large\" | \"medium\" | \"small\"",
635
+ "references": {}
636
+ },
637
+ "required": false,
638
+ "optional": false,
639
+ "docs": {
640
+ "tags": [],
641
+ "text": "The select's size."
642
+ },
643
+ "attribute": "size",
644
+ "reflect": false,
645
+ "defaultValue": "'medium'"
646
+ },
647
+ "hoist": {
648
+ "type": "boolean",
649
+ "mutable": false,
650
+ "complexType": {
651
+ "original": "boolean",
652
+ "resolved": "boolean",
653
+ "references": {}
654
+ },
655
+ "required": false,
656
+ "optional": false,
657
+ "docs": {
658
+ "tags": [],
659
+ "text": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`."
660
+ },
661
+ "attribute": "hoist",
662
+ "reflect": false,
663
+ "defaultValue": "false"
664
+ },
665
+ "value": {
666
+ "type": "string",
667
+ "mutable": true,
668
+ "complexType": {
669
+ "original": "string | string[]",
670
+ "resolved": "string | string[]",
671
+ "references": {}
672
+ },
673
+ "required": false,
674
+ "optional": false,
675
+ "docs": {
676
+ "tags": [],
677
+ "text": "The value of the control. This will be a string or an array depending on `multiple`."
678
+ },
679
+ "attribute": "value",
680
+ "reflect": false,
681
+ "defaultValue": "''"
682
+ },
683
+ "pill": {
684
+ "type": "boolean",
685
+ "mutable": false,
686
+ "complexType": {
687
+ "original": "boolean",
688
+ "resolved": "boolean",
689
+ "references": {}
690
+ },
691
+ "required": false,
692
+ "optional": false,
693
+ "docs": {
694
+ "tags": [],
695
+ "text": "Set to true to draw a pill-style select with rounded edges."
696
+ },
697
+ "attribute": "pill",
698
+ "reflect": false,
699
+ "defaultValue": "false"
700
+ },
701
+ "helpText": {
702
+ "type": "string",
703
+ "mutable": false,
704
+ "complexType": {
705
+ "original": "string",
706
+ "resolved": "string",
707
+ "references": {}
708
+ },
709
+ "required": false,
710
+ "optional": false,
711
+ "docs": {
712
+ "tags": [],
713
+ "text": "The select's help text. Alternatively, you can use the help-text slot."
714
+ },
715
+ "attribute": "help-text",
716
+ "reflect": false,
717
+ "defaultValue": "''"
718
+ },
719
+ "required": {
720
+ "type": "boolean",
721
+ "mutable": false,
722
+ "complexType": {
723
+ "original": "boolean",
724
+ "resolved": "boolean",
725
+ "references": {}
726
+ },
727
+ "required": false,
728
+ "optional": false,
729
+ "docs": {
730
+ "tags": [],
731
+ "text": "Set to true to show an asterisk beneath the label."
732
+ },
733
+ "attribute": "required",
734
+ "reflect": false,
735
+ "defaultValue": "false"
736
+ },
737
+ "clearable": {
738
+ "type": "boolean",
739
+ "mutable": false,
740
+ "complexType": {
741
+ "original": "boolean",
742
+ "resolved": "boolean",
743
+ "references": {}
744
+ },
745
+ "required": false,
746
+ "optional": false,
747
+ "docs": {
748
+ "tags": [],
749
+ "text": "Set to true to add a clear button when the select is populated."
750
+ },
751
+ "attribute": "clearable",
752
+ "reflect": false,
753
+ "defaultValue": "false"
754
+ },
755
+ "label": {
756
+ "type": "string",
757
+ "mutable": false,
758
+ "complexType": {
759
+ "original": "string",
760
+ "resolved": "string",
761
+ "references": {}
762
+ },
763
+ "required": false,
764
+ "optional": false,
765
+ "docs": {
766
+ "tags": [],
767
+ "text": "The label text."
768
+ },
769
+ "attribute": "label",
770
+ "reflect": false,
771
+ "defaultValue": "''"
772
+ },
773
+ "errorText": {
774
+ "type": "string",
775
+ "mutable": false,
776
+ "complexType": {
777
+ "original": "string | string[]",
778
+ "resolved": "string | string[]",
779
+ "references": {}
780
+ },
781
+ "required": false,
782
+ "optional": false,
783
+ "docs": {
784
+ "tags": [],
785
+ "text": "The error message shown, if `invalid` is set to true."
786
+ },
787
+ "attribute": "error-text",
788
+ "reflect": false,
789
+ "defaultValue": "''"
790
+ },
791
+ "errorTextCount": {
792
+ "type": "number",
793
+ "mutable": false,
794
+ "complexType": {
795
+ "original": "number",
796
+ "resolved": "number | undefined",
797
+ "references": {}
798
+ },
799
+ "required": false,
800
+ "optional": true,
801
+ "docs": {
802
+ "tags": [],
803
+ "text": "The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1"
804
+ },
805
+ "attribute": "error-text-count",
806
+ "reflect": false
807
+ },
808
+ "invalid": {
809
+ "type": "boolean",
810
+ "mutable": false,
811
+ "complexType": {
812
+ "original": "boolean",
813
+ "resolved": "boolean",
814
+ "references": {}
815
+ },
816
+ "required": false,
817
+ "optional": false,
818
+ "docs": {
819
+ "tags": [],
820
+ "text": "If this property is set to true and an error message is provided by `errorText`, the error message is displayed."
821
+ },
822
+ "attribute": "invalid",
823
+ "reflect": true,
824
+ "defaultValue": "false"
825
+ },
826
+ "line": {
827
+ "type": "boolean",
828
+ "mutable": false,
829
+ "complexType": {
830
+ "original": "boolean",
831
+ "resolved": "boolean",
832
+ "references": {}
833
+ },
834
+ "required": false,
835
+ "optional": false,
836
+ "docs": {
837
+ "tags": [],
838
+ "text": "Set to render as line"
839
+ },
840
+ "attribute": "line",
841
+ "reflect": false,
842
+ "defaultValue": "false"
843
+ },
844
+ "filter": {
845
+ "type": "boolean",
846
+ "mutable": false,
847
+ "complexType": {
848
+ "original": "boolean",
849
+ "resolved": "boolean",
850
+ "references": {}
851
+ },
852
+ "required": false,
853
+ "optional": false,
854
+ "docs": {
855
+ "tags": [],
856
+ "text": "Set to true to allow filtering for entries in the dropdown"
857
+ },
858
+ "attribute": "filter",
859
+ "reflect": false,
860
+ "defaultValue": "false"
861
+ },
862
+ "asyncFilter": {
863
+ "type": "boolean",
864
+ "mutable": false,
865
+ "complexType": {
866
+ "original": "boolean",
867
+ "resolved": "boolean",
868
+ "references": {}
869
+ },
870
+ "required": false,
871
+ "optional": false,
872
+ "docs": {
873
+ "tags": [],
874
+ "text": "Set to true to allow async filtering.\nWhen you enter something in the search field the component will only emit an event but not filter any elements itself.\nYou can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself"
875
+ },
876
+ "attribute": "async-filter",
877
+ "reflect": false,
878
+ "defaultValue": "false"
879
+ },
880
+ "autocomplete": {
881
+ "type": "boolean",
882
+ "mutable": false,
883
+ "complexType": {
884
+ "original": "boolean",
885
+ "resolved": "boolean",
886
+ "references": {}
887
+ },
888
+ "required": false,
889
+ "optional": false,
890
+ "docs": {
891
+ "tags": [],
892
+ "text": "Set to true to turn the six-select into an autocomplete."
893
+ },
894
+ "attribute": "autocomplete",
895
+ "reflect": false,
896
+ "defaultValue": "false"
897
+ },
898
+ "inputDebounce": {
899
+ "type": "number",
900
+ "mutable": false,
901
+ "complexType": {
902
+ "original": "number",
903
+ "resolved": "number",
904
+ "references": {}
905
+ },
906
+ "required": false,
907
+ "optional": false,
908
+ "docs": {
909
+ "tags": [],
910
+ "text": "The debounce for when the input changes for autocompletes should be emitted"
911
+ },
912
+ "attribute": "input-debounce",
913
+ "reflect": false,
914
+ "defaultValue": "DEFAULT_DEBOUNCE_FAST"
915
+ },
916
+ "options": {
917
+ "type": "unknown",
918
+ "mutable": false,
919
+ "complexType": {
920
+ "original": "SixMenuItemData[] | null",
921
+ "resolved": "SixMenuItemData[] | null",
922
+ "references": {
923
+ "SixMenuItemData": {
924
+ "location": "import",
925
+ "path": "../six-menu/six-menu",
926
+ "id": "src/components/six-menu/six-menu.tsx::SixMenuItemData"
927
+ }
928
+ }
929
+ },
930
+ "required": false,
931
+ "optional": false,
932
+ "docs": {
933
+ "tags": [],
934
+ "text": "Set the options to be shown in the dropdown (alternative to setting the elements via html)"
935
+ },
936
+ "defaultValue": "null"
929
937
  },
930
- "FocusOptions": {
931
- "location": "global",
932
- "id": "global::FocusOptions"
938
+ "virtualScroll": {
939
+ "type": "boolean",
940
+ "mutable": false,
941
+ "complexType": {
942
+ "original": "boolean",
943
+ "resolved": "boolean",
944
+ "references": {}
945
+ },
946
+ "required": false,
947
+ "optional": false,
948
+ "docs": {
949
+ "tags": [],
950
+ "text": "Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around)\nare actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot."
951
+ },
952
+ "attribute": "virtual-scroll",
953
+ "reflect": false,
954
+ "defaultValue": "false"
933
955
  }
934
- },
935
- "return": "Promise<void>"
936
- },
937
- "docs": {
938
- "text": "Sets focus on the select.",
939
- "tags": []
956
+ };
957
+ }
958
+ static get states() {
959
+ return {
960
+ "hasFocus": {},
961
+ "hasHelpTextSlot": {},
962
+ "hasLabelSlot": {},
963
+ "hasErrorTextSlot": {},
964
+ "isOpen": {},
965
+ "displayedValues": {},
966
+ "selectionContainerItems": {}
967
+ };
968
+ }
969
+ static get events() {
970
+ return [{
971
+ "method": "sixChange",
972
+ "name": "six-select-change",
973
+ "bubbles": true,
974
+ "cancelable": true,
975
+ "composed": true,
976
+ "docs": {
977
+ "tags": [],
978
+ "text": "Emitted when the control's value changes."
979
+ },
980
+ "complexType": {
981
+ "original": "SixSelectChangePayload",
982
+ "resolved": "SixSelectChangePayload",
983
+ "references": {
984
+ "SixSelectChangePayload": {
985
+ "location": "local",
986
+ "path": "/home/runner/work/six-webcomponents/six-webcomponents/libraries/ui-library/src/components/six-select/six-select.tsx",
987
+ "id": "src/components/six-select/six-select.tsx::SixSelectChangePayload"
988
+ }
989
+ }
990
+ }
991
+ }, {
992
+ "method": "sixFocus",
993
+ "name": "six-select-focus",
994
+ "bubbles": true,
995
+ "cancelable": true,
996
+ "composed": true,
997
+ "docs": {
998
+ "tags": [],
999
+ "text": "Emitted when the control gains focus."
1000
+ },
1001
+ "complexType": {
1002
+ "original": "EmptyPayload",
1003
+ "resolved": "undefined",
1004
+ "references": {
1005
+ "EmptyPayload": {
1006
+ "location": "import",
1007
+ "path": "../../utils/types",
1008
+ "id": "src/utils/types.ts::EmptyPayload"
1009
+ }
1010
+ }
1011
+ }
1012
+ }, {
1013
+ "method": "sixBlur",
1014
+ "name": "six-select-blur",
1015
+ "bubbles": true,
1016
+ "cancelable": true,
1017
+ "composed": true,
1018
+ "docs": {
1019
+ "tags": [],
1020
+ "text": "Emitted when the control loses focus."
1021
+ },
1022
+ "complexType": {
1023
+ "original": "EmptyPayload",
1024
+ "resolved": "undefined",
1025
+ "references": {
1026
+ "EmptyPayload": {
1027
+ "location": "import",
1028
+ "path": "../../utils/types",
1029
+ "id": "src/utils/types.ts::EmptyPayload"
1030
+ }
1031
+ }
1032
+ }
1033
+ }];
1034
+ }
1035
+ static get methods() {
1036
+ return {
1037
+ "setFocus": {
1038
+ "complexType": {
1039
+ "signature": "(options?: FocusOptions) => Promise<void>",
1040
+ "parameters": [{
1041
+ "name": "options",
1042
+ "type": "FocusOptions | undefined",
1043
+ "docs": ""
1044
+ }],
1045
+ "references": {
1046
+ "Promise": {
1047
+ "location": "global",
1048
+ "id": "global::Promise"
1049
+ },
1050
+ "FocusOptions": {
1051
+ "location": "global",
1052
+ "id": "global::FocusOptions"
1053
+ }
1054
+ },
1055
+ "return": "Promise<void>"
1056
+ },
1057
+ "docs": {
1058
+ "text": "Sets focus on the select.",
1059
+ "tags": []
1060
+ }
1061
+ }
1062
+ };
1063
+ }
1064
+ static get elementRef() { return "host"; }
1065
+ static get watchers() {
1066
+ return [{
1067
+ "propName": "disabled",
1068
+ "methodName": "handleDisabledChange"
1069
+ }, {
1070
+ "propName": "helpText",
1071
+ "methodName": "handleLabelChange"
1072
+ }, {
1073
+ "propName": "errorText",
1074
+ "methodName": "handleLabelChange"
1075
+ }, {
1076
+ "propName": "label",
1077
+ "methodName": "handleLabelChange"
1078
+ }, {
1079
+ "propName": "multiple",
1080
+ "methodName": "handleMultipleChange"
1081
+ }, {
1082
+ "propName": "value",
1083
+ "methodName": "handleValueChange"
1084
+ }];
1085
+ }
1086
+ }
1087
+ function getCheckedItems(value, items) {
1088
+ return items.filter((item) => value.includes(item.value));
1089
+ }
1090
+ function getWidth(element) {
1091
+ return element.getBoundingClientRect().width;
1092
+ }
1093
+ function computeFitCount(options, availableWidth) {
1094
+ let accumulatedWidth = 0;
1095
+ let fitCount = 0;
1096
+ for (let i = 0; i < options.length; i++) {
1097
+ const displayOption = options[i];
1098
+ const width = getWidth(displayOption);
1099
+ if (i === 0 && width > availableWidth) {
1100
+ fitCount = 1;
1101
+ break;
940
1102
  }
941
- }
942
- };
943
- }
944
- static get elementRef() { return "host"; }
945
- static get watchers() {
946
- return [{
947
- "propName": "disabled",
948
- "methodName": "handleDisabledChange"
949
- }, {
950
- "propName": "helpText",
951
- "methodName": "handleLabelChange"
952
- }, {
953
- "propName": "errorText",
954
- "methodName": "handleLabelChange"
955
- }, {
956
- "propName": "label",
957
- "methodName": "handleLabelChange"
958
- }, {
959
- "propName": "multiple",
960
- "methodName": "handleMultipleChange"
961
- }, {
962
- "propName": "value",
963
- "methodName": "handleValueChange"
964
- }];
965
- }
1103
+ accumulatedWidth += width;
1104
+ if (accumulatedWidth > availableWidth) {
1105
+ break;
1106
+ }
1107
+ else {
1108
+ fitCount += 1;
1109
+ }
1110
+ }
1111
+ const overflowCount = options.length - fitCount;
1112
+ return { fitCount, overflowCount };
1113
+ }
1114
+ function showFittingValues(displayValueOptions, fitCount) {
1115
+ if (displayValueOptions.length > 0) {
1116
+ // show items that fit
1117
+ displayValueOptions.slice(0, fitCount).forEach((displayValue, index, list) => {
1118
+ showDisplayValue(displayValue);
1119
+ const isLast = index === list.length - 1;
1120
+ if (isLast) {
1121
+ hideSeparator(displayValue);
1122
+ }
1123
+ else {
1124
+ showSeparator(displayValue);
1125
+ }
1126
+ });
1127
+ // hide the rest
1128
+ displayValueOptions.slice(fitCount).forEach((displayValue) => {
1129
+ hideDisplayValue(displayValue);
1130
+ showSeparator(displayValue);
1131
+ });
1132
+ }
1133
+ }
1134
+ function hideSeparator(displayValueOption) {
1135
+ var _a;
1136
+ (_a = displayValueOption.querySelector('.separator')) === null || _a === void 0 ? void 0 : _a.classList.add('separator--hidden');
1137
+ }
1138
+ function showSeparator(displayValueOption) {
1139
+ var _a;
1140
+ (_a = displayValueOption.querySelector('.separator')) === null || _a === void 0 ? void 0 : _a.classList.remove('separator--hidden');
1141
+ }
1142
+ function showDisplayValue(displayValueOption) {
1143
+ displayValueOption.classList.remove('display-value--hidden');
1144
+ }
1145
+ function hideDisplayValue(displayValueOption) {
1146
+ displayValueOption.classList.add('display-value--hidden');
1147
+ }
1148
+ function setOverflowCount(overflowCount, count) {
1149
+ overflowCount.textContent = `+${count}`;
1150
+ }
1151
+ function showOverflowCount(overflowCount) {
1152
+ overflowCount.classList.remove('overflow-count-hidden');
1153
+ }
1154
+ function hideOverflowCount(overflowCount) {
1155
+ overflowCount.classList.add('overflow-count-hidden');
1156
+ }
1157
+ function selectAllDefaultText(hasDeselectedOptions) {
1158
+ const lang = getLanguage();
1159
+ switch (lang) {
1160
+ case 'de':
1161
+ return hasDeselectedOptions ? 'Alle auswählen' : 'Alle abwählen';
1162
+ case 'fr':
1163
+ return hasDeselectedOptions ? 'Tout sélectionner' : 'Tout désélectionner';
1164
+ case 'it':
1165
+ return hasDeselectedOptions ? 'Seleziona tutto' : 'Deseleziona tutto';
1166
+ case 'en':
1167
+ return hasDeselectedOptions ? 'Select all' : 'Deselect all';
1168
+ case 'es':
1169
+ return hasDeselectedOptions ? 'Seleccionar todo' : 'Deseleccionar todo';
1170
+ }
966
1171
  }
967
1172
  //# sourceMappingURL=six-select.js.map