@six-group/ui-library 0.0.0-insider.ebd822a → 0.0.0-insider.ec3ffc2

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