@six-group/ui-library 4.2.2 → 4.2.3

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 (373) hide show
  1. package/dist/cjs/{form-control-73ff961d.js → form-control-de259450.js} +2 -2
  2. package/dist/cjs/{form-control-73ff961d.js.map → form-control-de259450.js.map} +1 -1
  3. package/dist/cjs/{index-b288f7d9.js → index-1f707a55.js} +455 -9
  4. package/dist/cjs/index-1f707a55.js.map +1 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/six-alert.cjs.entry.js +1 -1
  7. package/dist/cjs/six-avatar.cjs.entry.js +2 -2
  8. package/dist/cjs/six-badge.cjs.entry.js +3 -3
  9. package/dist/cjs/six-button.cjs.entry.js +5 -4
  10. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  11. package/dist/cjs/six-card.cjs.entry.js +2 -2
  12. package/dist/cjs/six-checkbox_2.cjs.entry.js +6 -6
  13. package/dist/cjs/six-datepicker.cjs.entry.js +13 -11
  14. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  15. package/dist/cjs/six-details.cjs.entry.js +4 -4
  16. package/dist/cjs/six-dialog.cjs.entry.js +3 -3
  17. package/dist/cjs/six-drawer.cjs.entry.js +3 -3
  18. package/dist/cjs/six-dropdown_2.cjs.entry.js +1 -1
  19. package/dist/cjs/six-error-page.cjs.entry.js +2 -2
  20. package/dist/cjs/six-error.cjs.entry.js +2 -2
  21. package/dist/cjs/six-file-list-item.cjs.entry.js +1 -1
  22. package/dist/cjs/six-file-list.cjs.entry.js +2 -2
  23. package/dist/cjs/six-file-upload.cjs.entry.js +29 -6
  24. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  25. package/dist/cjs/six-footer.cjs.entry.js +2 -2
  26. package/dist/cjs/six-group-label.cjs.entry.js +3 -3
  27. package/dist/cjs/six-header.cjs.entry.js +22 -15
  28. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  29. package/dist/cjs/six-icon-button.cjs.entry.js +4 -4
  30. package/dist/cjs/six-icon.cjs.entry.js +3 -3
  31. package/dist/cjs/six-input.cjs.entry.js +5 -5
  32. package/dist/cjs/six-item-picker.cjs.entry.js +1 -1
  33. package/dist/cjs/six-language-switcher.cjs.entry.js +2 -2
  34. package/dist/cjs/six-layout-grid.cjs.entry.js +2 -2
  35. package/dist/cjs/six-main-container.cjs.entry.js +2 -2
  36. package/dist/cjs/six-menu-divider.cjs.entry.js +2 -2
  37. package/dist/cjs/six-menu-label.cjs.entry.js +2 -2
  38. package/dist/cjs/six-picto.cjs.entry.js +2 -2
  39. package/dist/cjs/six-progress-bar.cjs.entry.js +3 -3
  40. package/dist/cjs/six-progress-ring.cjs.entry.js +2 -2
  41. package/dist/cjs/six-radio.cjs.entry.js +3 -3
  42. package/dist/cjs/six-range.cjs.entry.js +4 -4
  43. package/dist/cjs/six-root.cjs.entry.js +2 -2
  44. package/dist/cjs/six-search-field.cjs.entry.js +2 -2
  45. package/dist/cjs/six-select.cjs.entry.js +57 -31
  46. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  47. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +1 -1
  48. package/dist/cjs/six-sidebar-item.cjs.entry.js +3 -3
  49. package/dist/cjs/six-sidebar.cjs.entry.js +3 -3
  50. package/dist/cjs/six-spinner.cjs.entry.js +1 -1
  51. package/dist/cjs/six-stage-indicator.cjs.entry.js +1 -1
  52. package/dist/cjs/six-switch.cjs.entry.js +4 -4
  53. package/dist/cjs/six-tab-group.cjs.entry.js +3 -3
  54. package/dist/cjs/six-tab-panel.cjs.entry.js +2 -2
  55. package/dist/cjs/six-tab.cjs.entry.js +3 -3
  56. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  57. package/dist/cjs/six-tag.cjs.entry.js +3 -3
  58. package/dist/cjs/six-textarea.cjs.entry.js +4 -4
  59. package/dist/cjs/six-tile.cjs.entry.js +4 -4
  60. package/dist/cjs/six-timepicker.cjs.entry.js +1 -1
  61. package/dist/cjs/six-tooltip.cjs.entry.js +3 -3
  62. package/dist/cjs/ui-library.cjs.js +2 -2
  63. package/dist/collection/assets/TRADEMARKS.md +3 -3
  64. package/dist/collection/components/six-avatar/six-avatar.js +1 -1
  65. package/dist/collection/components/six-badge/six-badge.js +2 -2
  66. package/dist/collection/components/six-button/six-button.css +17 -0
  67. package/dist/collection/components/six-button/six-button.js +5 -4
  68. package/dist/collection/components/six-button/six-button.js.map +1 -1
  69. package/dist/collection/components/six-card/six-card.js +1 -1
  70. package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
  71. package/dist/collection/components/six-datepicker/six-datepicker.js +12 -10
  72. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  73. package/dist/collection/components/six-details/six-details.js +3 -3
  74. package/dist/collection/components/six-dialog/six-dialog.js +2 -2
  75. package/dist/collection/components/six-drawer/six-drawer.js +2 -2
  76. package/dist/collection/components/six-error/six-error.js +1 -1
  77. package/dist/collection/components/six-error-page/six-error-page.js +1 -1
  78. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  79. package/dist/collection/components/six-file-upload/six-file-upload.css +3 -0
  80. package/dist/collection/components/six-file-upload/six-file-upload.js +66 -5
  81. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  82. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +114 -6
  83. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +1 -1
  84. package/dist/collection/components/six-footer/six-footer.js +1 -1
  85. package/dist/collection/components/six-group-label/six-group-label.js +1 -1
  86. package/dist/collection/components/six-header/six-header.css +9 -0
  87. package/dist/collection/components/six-header/six-header.js +38 -13
  88. package/dist/collection/components/six-header/six-header.js.map +1 -1
  89. package/dist/collection/components/six-icon/six-icon.js +2 -2
  90. package/dist/collection/components/six-icon-button/six-icon-button.js +3 -3
  91. package/dist/collection/components/six-input/six-input.js +3 -3
  92. package/dist/collection/components/six-language-switcher/six-language-switcher.js +1 -1
  93. package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
  94. package/dist/collection/components/six-main-container/six-main-container.js +1 -1
  95. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  96. package/dist/collection/components/six-menu-item/six-menu-item.js +2 -2
  97. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  98. package/dist/collection/components/six-picto/six-picto.js +1 -1
  99. package/dist/collection/components/six-progress-bar/six-progress-bar.js +2 -2
  100. package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
  101. package/dist/collection/components/six-radio/six-radio.js +2 -2
  102. package/dist/collection/components/six-range/six-range.js +2 -2
  103. package/dist/collection/components/six-root/six-root.js +1 -1
  104. package/dist/collection/components/six-search-field/six-search-field.js +1 -1
  105. package/dist/collection/components/six-select/six-select.js +22 -29
  106. package/dist/collection/components/six-select/six-select.js.map +1 -1
  107. package/dist/collection/components/six-select/test/util.spec.js +23 -1
  108. package/dist/collection/components/six-select/test/util.spec.js.map +1 -1
  109. package/dist/collection/components/six-select/util.js +24 -0
  110. package/dist/collection/components/six-select/util.js.map +1 -1
  111. package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
  112. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
  113. package/dist/collection/components/six-switch/six-switch.js +2 -2
  114. package/dist/collection/components/six-tab/six-tab.js +2 -2
  115. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  116. package/dist/collection/components/six-tab-group/six-tab-group.js +2 -2
  117. package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
  118. package/dist/collection/components/six-tag/six-tag.js +2 -2
  119. package/dist/collection/components/six-textarea/six-textarea.js +2 -2
  120. package/dist/collection/components/six-tile/six-tile.js +3 -3
  121. package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
  122. package/dist/components/six-avatar.js +1 -1
  123. package/dist/components/six-badge.js +2 -2
  124. package/dist/components/six-button2.js +4 -3
  125. package/dist/components/six-button2.js.map +1 -1
  126. package/dist/components/six-card.js +1 -1
  127. package/dist/components/six-checkbox2.js +2 -2
  128. package/dist/components/six-datepicker.js +12 -10
  129. package/dist/components/six-datepicker.js.map +1 -1
  130. package/dist/components/six-details2.js +3 -3
  131. package/dist/components/six-dialog.js +2 -2
  132. package/dist/components/six-drawer.js +2 -2
  133. package/dist/components/six-error-page.js +1 -1
  134. package/dist/components/six-error2.js +1 -1
  135. package/dist/components/six-file-list.js +1 -1
  136. package/dist/components/six-file-upload.js +40 -8
  137. package/dist/components/six-file-upload.js.map +1 -1
  138. package/dist/components/six-footer.js +1 -1
  139. package/dist/components/six-group-label.js +1 -1
  140. package/dist/components/six-header.js +22 -14
  141. package/dist/components/six-header.js.map +1 -1
  142. package/dist/components/six-icon-button2.js +3 -3
  143. package/dist/components/six-icon2.js +2 -2
  144. package/dist/components/six-input2.js +3 -3
  145. package/dist/components/six-language-switcher.js +1 -1
  146. package/dist/components/six-layout-grid.js +1 -1
  147. package/dist/components/six-main-container.js +1 -1
  148. package/dist/components/six-menu-divider.js +1 -1
  149. package/dist/components/six-menu-item2.js +2 -2
  150. package/dist/components/six-menu-label.js +1 -1
  151. package/dist/components/six-picto2.js +1 -1
  152. package/dist/components/six-progress-bar.js +2 -2
  153. package/dist/components/six-progress-ring.js +1 -1
  154. package/dist/components/six-radio.js +2 -2
  155. package/dist/components/six-range.js +2 -2
  156. package/dist/components/six-root.js +1 -1
  157. package/dist/components/six-search-field.js +1 -1
  158. package/dist/components/six-select.js +55 -29
  159. package/dist/components/six-select.js.map +1 -1
  160. package/dist/components/six-sidebar-item.js +2 -2
  161. package/dist/components/six-sidebar.js +2 -2
  162. package/dist/components/six-switch.js +2 -2
  163. package/dist/components/six-tab-group.js +2 -2
  164. package/dist/components/six-tab-panel.js +1 -1
  165. package/dist/components/six-tab.js +2 -2
  166. package/dist/components/six-tab.js.map +1 -1
  167. package/dist/components/six-tag.js +2 -2
  168. package/dist/components/six-textarea.js +2 -2
  169. package/dist/components/six-tile.js +3 -3
  170. package/dist/components/six-tooltip2.js +2 -2
  171. package/dist/components.json +108 -10
  172. package/dist/esm/{form-control-40c37714.js → form-control-30c5bd8b.js} +2 -2
  173. package/dist/esm/{form-control-40c37714.js.map → form-control-30c5bd8b.js.map} +1 -1
  174. package/dist/esm/{index-52a755dc.js → index-5390c1d6.js} +455 -9
  175. package/dist/esm/index-5390c1d6.js.map +1 -0
  176. package/dist/esm/loader.js +3 -3
  177. package/dist/esm/six-alert.entry.js +1 -1
  178. package/dist/esm/six-avatar.entry.js +2 -2
  179. package/dist/esm/six-badge.entry.js +3 -3
  180. package/dist/esm/six-button.entry.js +5 -4
  181. package/dist/esm/six-button.entry.js.map +1 -1
  182. package/dist/esm/six-card.entry.js +2 -2
  183. package/dist/esm/six-checkbox_2.entry.js +6 -6
  184. package/dist/esm/six-datepicker.entry.js +13 -11
  185. package/dist/esm/six-datepicker.entry.js.map +1 -1
  186. package/dist/esm/six-details.entry.js +4 -4
  187. package/dist/esm/six-dialog.entry.js +3 -3
  188. package/dist/esm/six-drawer.entry.js +3 -3
  189. package/dist/esm/six-dropdown_2.entry.js +1 -1
  190. package/dist/esm/six-error-page.entry.js +2 -2
  191. package/dist/esm/six-error.entry.js +2 -2
  192. package/dist/esm/six-file-list-item.entry.js +1 -1
  193. package/dist/esm/six-file-list.entry.js +2 -2
  194. package/dist/esm/six-file-upload.entry.js +29 -6
  195. package/dist/esm/six-file-upload.entry.js.map +1 -1
  196. package/dist/esm/six-footer.entry.js +2 -2
  197. package/dist/esm/six-group-label.entry.js +3 -3
  198. package/dist/esm/six-header.entry.js +22 -15
  199. package/dist/esm/six-header.entry.js.map +1 -1
  200. package/dist/esm/six-icon-button.entry.js +4 -4
  201. package/dist/esm/six-icon.entry.js +3 -3
  202. package/dist/esm/six-input.entry.js +5 -5
  203. package/dist/esm/six-item-picker.entry.js +1 -1
  204. package/dist/esm/six-language-switcher.entry.js +2 -2
  205. package/dist/esm/six-layout-grid.entry.js +2 -2
  206. package/dist/esm/six-main-container.entry.js +2 -2
  207. package/dist/esm/six-menu-divider.entry.js +2 -2
  208. package/dist/esm/six-menu-label.entry.js +2 -2
  209. package/dist/esm/six-picto.entry.js +2 -2
  210. package/dist/esm/six-progress-bar.entry.js +3 -3
  211. package/dist/esm/six-progress-ring.entry.js +2 -2
  212. package/dist/esm/six-radio.entry.js +3 -3
  213. package/dist/esm/six-range.entry.js +4 -4
  214. package/dist/esm/six-root.entry.js +2 -2
  215. package/dist/esm/six-search-field.entry.js +2 -2
  216. package/dist/esm/six-select.entry.js +57 -31
  217. package/dist/esm/six-select.entry.js.map +1 -1
  218. package/dist/esm/six-sidebar-item-group.entry.js +1 -1
  219. package/dist/esm/six-sidebar-item.entry.js +3 -3
  220. package/dist/esm/six-sidebar.entry.js +3 -3
  221. package/dist/esm/six-spinner.entry.js +1 -1
  222. package/dist/esm/six-stage-indicator.entry.js +1 -1
  223. package/dist/esm/six-switch.entry.js +4 -4
  224. package/dist/esm/six-tab-group.entry.js +3 -3
  225. package/dist/esm/six-tab-panel.entry.js +2 -2
  226. package/dist/esm/six-tab.entry.js +3 -3
  227. package/dist/esm/six-tab.entry.js.map +1 -1
  228. package/dist/esm/six-tag.entry.js +3 -3
  229. package/dist/esm/six-textarea.entry.js +4 -4
  230. package/dist/esm/six-tile.entry.js +4 -4
  231. package/dist/esm/six-timepicker.entry.js +1 -1
  232. package/dist/esm/six-tooltip.entry.js +3 -3
  233. package/dist/esm/ui-library.js +3 -3
  234. package/dist/types/components/six-button/six-button.d.ts +1 -1
  235. package/dist/types/components/six-file-upload/six-file-upload.d.ts +8 -0
  236. package/dist/types/components/six-header/six-header.d.ts +3 -1
  237. package/dist/types/components/six-select/six-select.d.ts +0 -1
  238. package/dist/types/components/six-select/util.d.ts +2 -0
  239. package/dist/types/components.d.ts +40 -2
  240. package/dist/ui-library/assets/TRADEMARKS.md +3 -3
  241. package/dist/ui-library/p-030fa1fa.entry.js +2 -0
  242. package/dist/ui-library/{p-29b75db4.entry.js → p-03d1b956.entry.js} +2 -2
  243. package/dist/ui-library/{p-45960b56.entry.js → p-047d02ad.entry.js} +2 -2
  244. package/dist/ui-library/p-05eb1bab.js +3 -0
  245. package/dist/ui-library/p-05eb1bab.js.map +1 -0
  246. package/dist/ui-library/{p-50dbe99f.entry.js → p-060069d4.entry.js} +2 -2
  247. package/dist/ui-library/{p-3827f9e0.entry.js → p-06ba653e.entry.js} +2 -2
  248. package/dist/ui-library/{p-3e9324c8.entry.js → p-07c8de65.entry.js} +2 -2
  249. package/dist/ui-library/p-0fb3fb30.entry.js +2 -0
  250. package/dist/ui-library/{p-8dff4dcb.entry.js.map → p-0fb3fb30.entry.js.map} +1 -1
  251. package/dist/ui-library/{p-ab8f9503.entry.js → p-14e5fccc.entry.js} +2 -2
  252. package/dist/ui-library/p-189602e4.entry.js +2 -0
  253. package/dist/ui-library/{p-a2a6aaea.entry.js → p-19560508.entry.js} +2 -2
  254. package/dist/ui-library/p-21074819.entry.js +2 -0
  255. package/dist/ui-library/p-21074819.entry.js.map +1 -0
  256. package/dist/ui-library/{p-8938e9bd.entry.js → p-2386627e.entry.js} +2 -2
  257. package/dist/ui-library/p-2c25cb61.entry.js +2 -0
  258. package/dist/ui-library/p-2c25cb61.entry.js.map +1 -0
  259. package/dist/ui-library/{p-756f4acf.entry.js → p-32e421a3.entry.js} +2 -2
  260. package/dist/ui-library/p-32e421a3.entry.js.map +1 -0
  261. package/dist/ui-library/p-3603dd96.entry.js +2 -0
  262. package/dist/ui-library/{p-52c04973.entry.js → p-39ff5f61.entry.js} +2 -2
  263. package/dist/ui-library/{p-5f810571.entry.js → p-3b5a76ea.entry.js} +2 -2
  264. package/dist/ui-library/{p-724d0458.entry.js → p-419ed003.entry.js} +2 -2
  265. package/dist/ui-library/{p-21002de1.entry.js → p-45003bae.entry.js} +2 -2
  266. package/dist/ui-library/{p-93ab2efc.entry.js → p-4963f03c.entry.js} +2 -2
  267. package/dist/ui-library/{p-03900e17.entry.js → p-4d89932f.entry.js} +2 -2
  268. package/dist/ui-library/{p-aa99a393.js → p-605bdd81.js} +2 -2
  269. package/dist/ui-library/p-63acceb6.entry.js +2 -0
  270. package/dist/ui-library/{p-80476b0f.entry.js.map → p-63acceb6.entry.js.map} +1 -1
  271. package/dist/ui-library/{p-c948cf70.entry.js → p-6888b9ee.entry.js} +2 -2
  272. package/dist/ui-library/{p-8644f970.entry.js → p-6f9153be.entry.js} +2 -2
  273. package/dist/ui-library/{p-e798314b.entry.js → p-7561b336.entry.js} +2 -2
  274. package/dist/ui-library/p-7c18b8ca.entry.js +2 -0
  275. package/dist/ui-library/{p-1d4cb6e9.entry.js → p-82bd8781.entry.js} +2 -2
  276. package/dist/ui-library/p-89db9a8b.entry.js +2 -0
  277. package/dist/ui-library/{p-7a9dcb16.entry.js → p-8f1d3461.entry.js} +2 -2
  278. package/dist/ui-library/p-8fb96142.entry.js +2 -0
  279. package/dist/ui-library/p-8fb96142.entry.js.map +1 -0
  280. package/dist/ui-library/p-96d441e9.entry.js +2 -0
  281. package/dist/ui-library/p-96d441e9.entry.js.map +1 -0
  282. package/dist/ui-library/{p-8f307b55.entry.js → p-9bc1639b.entry.js} +2 -2
  283. package/dist/ui-library/p-9cb83369.entry.js +2 -0
  284. package/dist/ui-library/{p-d717a2f2.entry.js → p-a398e3eb.entry.js} +2 -2
  285. package/dist/ui-library/{p-19a1d34c.entry.js → p-a7e2f511.entry.js} +2 -2
  286. package/dist/ui-library/{p-7fc0bf6b.entry.js → p-a8863197.entry.js} +2 -2
  287. package/dist/ui-library/{p-9426a37b.entry.js → p-a9e009af.entry.js} +2 -2
  288. package/dist/ui-library/{p-01853739.entry.js → p-ac00076d.entry.js} +2 -2
  289. package/dist/ui-library/{p-803915da.entry.js → p-b4bc4915.entry.js} +2 -2
  290. package/dist/ui-library/{p-7562d5f5.entry.js → p-b5acf54d.entry.js} +2 -2
  291. package/dist/ui-library/{p-acc487ec.entry.js → p-b60c20aa.entry.js} +2 -2
  292. package/dist/ui-library/{p-7c2255b5.entry.js → p-c1d68730.entry.js} +2 -2
  293. package/dist/ui-library/{p-d55db23a.entry.js → p-c35a7cef.entry.js} +2 -2
  294. package/dist/ui-library/{p-e43e5e45.entry.js → p-c62893e5.entry.js} +2 -2
  295. package/dist/ui-library/{p-f8572492.entry.js → p-c6464bfe.entry.js} +2 -2
  296. package/dist/ui-library/{p-f8572492.entry.js.map → p-c6464bfe.entry.js.map} +1 -1
  297. package/dist/ui-library/{p-49e5d8bb.entry.js → p-cf109cbf.entry.js} +2 -2
  298. package/dist/ui-library/{p-6c96b62e.entry.js → p-d07b549f.entry.js} +2 -2
  299. package/dist/ui-library/{p-7a722a13.entry.js → p-d42f1ea9.entry.js} +2 -2
  300. package/dist/ui-library/p-fe37dadf.entry.js +2 -0
  301. package/dist/ui-library/{p-38a9a590.entry.js → p-fe89a7c4.entry.js} +2 -2
  302. package/dist/ui-library/ui-library.esm.js +1 -1
  303. package/dist/ui-library/ui-library.esm.js.map +1 -1
  304. package/package.json +2 -2
  305. package/dist/cjs/index-b288f7d9.js.map +0 -1
  306. package/dist/collection/components/six-header/assets/six-logo.svg +0 -1
  307. package/dist/collection/components/six-header/test/six-header.spec.js +0 -177
  308. package/dist/collection/components/six-header/test/six-header.spec.js.map +0 -1
  309. package/dist/esm/index-52a755dc.js.map +0 -1
  310. package/dist/ui-library/assets/six-logo.svg +0 -1
  311. package/dist/ui-library/p-0a094514.entry.js +0 -2
  312. package/dist/ui-library/p-19ca3bd1.entry.js +0 -2
  313. package/dist/ui-library/p-19ca3bd1.entry.js.map +0 -1
  314. package/dist/ui-library/p-1f1224ae.entry.js +0 -2
  315. package/dist/ui-library/p-338205f4.entry.js +0 -2
  316. package/dist/ui-library/p-338205f4.entry.js.map +0 -1
  317. package/dist/ui-library/p-3eed2287.entry.js +0 -2
  318. package/dist/ui-library/p-4af73ea9.entry.js +0 -2
  319. package/dist/ui-library/p-4af73ea9.entry.js.map +0 -1
  320. package/dist/ui-library/p-756f4acf.entry.js.map +0 -1
  321. package/dist/ui-library/p-80476b0f.entry.js +0 -2
  322. package/dist/ui-library/p-8dff4dcb.entry.js +0 -2
  323. package/dist/ui-library/p-a2b8aca7.entry.js +0 -2
  324. package/dist/ui-library/p-ba7424b3.entry.js +0 -2
  325. package/dist/ui-library/p-d7739200.entry.js +0 -2
  326. package/dist/ui-library/p-e3766acb.entry.js +0 -2
  327. package/dist/ui-library/p-f1bb5648.entry.js +0 -2
  328. package/dist/ui-library/p-f1bb5648.entry.js.map +0 -1
  329. package/dist/ui-library/p-f93d8a4e.js +0 -3
  330. package/dist/ui-library/p-f93d8a4e.js.map +0 -1
  331. /package/dist/ui-library/{p-3eed2287.entry.js.map → p-030fa1fa.entry.js.map} +0 -0
  332. /package/dist/ui-library/{p-29b75db4.entry.js.map → p-03d1b956.entry.js.map} +0 -0
  333. /package/dist/ui-library/{p-45960b56.entry.js.map → p-047d02ad.entry.js.map} +0 -0
  334. /package/dist/ui-library/{p-50dbe99f.entry.js.map → p-060069d4.entry.js.map} +0 -0
  335. /package/dist/ui-library/{p-3827f9e0.entry.js.map → p-06ba653e.entry.js.map} +0 -0
  336. /package/dist/ui-library/{p-3e9324c8.entry.js.map → p-07c8de65.entry.js.map} +0 -0
  337. /package/dist/ui-library/{p-ab8f9503.entry.js.map → p-14e5fccc.entry.js.map} +0 -0
  338. /package/dist/ui-library/{p-d7739200.entry.js.map → p-189602e4.entry.js.map} +0 -0
  339. /package/dist/ui-library/{p-a2a6aaea.entry.js.map → p-19560508.entry.js.map} +0 -0
  340. /package/dist/ui-library/{p-8938e9bd.entry.js.map → p-2386627e.entry.js.map} +0 -0
  341. /package/dist/ui-library/{p-a2b8aca7.entry.js.map → p-3603dd96.entry.js.map} +0 -0
  342. /package/dist/ui-library/{p-52c04973.entry.js.map → p-39ff5f61.entry.js.map} +0 -0
  343. /package/dist/ui-library/{p-5f810571.entry.js.map → p-3b5a76ea.entry.js.map} +0 -0
  344. /package/dist/ui-library/{p-724d0458.entry.js.map → p-419ed003.entry.js.map} +0 -0
  345. /package/dist/ui-library/{p-21002de1.entry.js.map → p-45003bae.entry.js.map} +0 -0
  346. /package/dist/ui-library/{p-93ab2efc.entry.js.map → p-4963f03c.entry.js.map} +0 -0
  347. /package/dist/ui-library/{p-03900e17.entry.js.map → p-4d89932f.entry.js.map} +0 -0
  348. /package/dist/ui-library/{p-aa99a393.js.map → p-605bdd81.js.map} +0 -0
  349. /package/dist/ui-library/{p-c948cf70.entry.js.map → p-6888b9ee.entry.js.map} +0 -0
  350. /package/dist/ui-library/{p-8644f970.entry.js.map → p-6f9153be.entry.js.map} +0 -0
  351. /package/dist/ui-library/{p-e798314b.entry.js.map → p-7561b336.entry.js.map} +0 -0
  352. /package/dist/ui-library/{p-e3766acb.entry.js.map → p-7c18b8ca.entry.js.map} +0 -0
  353. /package/dist/ui-library/{p-1d4cb6e9.entry.js.map → p-82bd8781.entry.js.map} +0 -0
  354. /package/dist/ui-library/{p-ba7424b3.entry.js.map → p-89db9a8b.entry.js.map} +0 -0
  355. /package/dist/ui-library/{p-7a9dcb16.entry.js.map → p-8f1d3461.entry.js.map} +0 -0
  356. /package/dist/ui-library/{p-8f307b55.entry.js.map → p-9bc1639b.entry.js.map} +0 -0
  357. /package/dist/ui-library/{p-0a094514.entry.js.map → p-9cb83369.entry.js.map} +0 -0
  358. /package/dist/ui-library/{p-d717a2f2.entry.js.map → p-a398e3eb.entry.js.map} +0 -0
  359. /package/dist/ui-library/{p-19a1d34c.entry.js.map → p-a7e2f511.entry.js.map} +0 -0
  360. /package/dist/ui-library/{p-7fc0bf6b.entry.js.map → p-a8863197.entry.js.map} +0 -0
  361. /package/dist/ui-library/{p-9426a37b.entry.js.map → p-a9e009af.entry.js.map} +0 -0
  362. /package/dist/ui-library/{p-01853739.entry.js.map → p-ac00076d.entry.js.map} +0 -0
  363. /package/dist/ui-library/{p-803915da.entry.js.map → p-b4bc4915.entry.js.map} +0 -0
  364. /package/dist/ui-library/{p-7562d5f5.entry.js.map → p-b5acf54d.entry.js.map} +0 -0
  365. /package/dist/ui-library/{p-acc487ec.entry.js.map → p-b60c20aa.entry.js.map} +0 -0
  366. /package/dist/ui-library/{p-7c2255b5.entry.js.map → p-c1d68730.entry.js.map} +0 -0
  367. /package/dist/ui-library/{p-d55db23a.entry.js.map → p-c35a7cef.entry.js.map} +0 -0
  368. /package/dist/ui-library/{p-e43e5e45.entry.js.map → p-c62893e5.entry.js.map} +0 -0
  369. /package/dist/ui-library/{p-49e5d8bb.entry.js.map → p-cf109cbf.entry.js.map} +0 -0
  370. /package/dist/ui-library/{p-6c96b62e.entry.js.map → p-d07b549f.entry.js.map} +0 -0
  371. /package/dist/ui-library/{p-7a722a13.entry.js.map → p-d42f1ea9.entry.js.map} +0 -0
  372. /package/dist/ui-library/{p-1f1224ae.entry.js.map → p-fe37dadf.entry.js.map} +0 -0
  373. /package/dist/ui-library/{p-38a9a590.entry.js.map → p-fe89a7c4.entry.js.map} +0 -0
@@ -33,11 +33,11 @@ export class SixIconButton {
33
33
  }
34
34
  }
35
35
  render() {
36
- const html = this.html && h("span", { key: 'f3ebfe0713af8463ad71597bb39e28744ae8bfb2', innerHTML: this.html });
37
- return (h("div", { key: 'ae12d7f62c0028f2fc6f7aa2217bc28fa631fe28', onClick: this.handleClickEvent, class: { 'icon-button-wrapper--disabled': this.disabled } }, h("button", { key: 'e071ff67b21dada65d30973d10a8849d2bb18dc2', ref: (el) => (this.button = el), part: "base", disabled: this.disabled, class: {
36
+ const html = this.html && h("span", { key: 'bfb9af923285a1777c5a5d8778e272f20ca40598', innerHTML: this.html });
37
+ return (h("div", { key: 'a3f095fc9301d35108ce5d63fc441acadbdb0471', onClick: this.handleClickEvent, class: { 'icon-button-wrapper--disabled': this.disabled } }, h("button", { key: '303ab00da89e28557367f1b4e6593efb2b115388', ref: (el) => (this.button = el), part: "base", disabled: this.disabled, class: {
38
38
  'icon-button': true,
39
39
  'icon-button--disabled': this.disabled,
40
- }, type: "button", "aria-label": this.label }, h("six-icon", { key: 'ab6d21f4b6051248cb14bbc008b9190abde705ec', "aria-hidden": "true", size: this.size }, this.name), h("slot", { key: '074df89d19a9e64368dd50e419a98f35999d16b8' }), html)));
40
+ }, type: "button", "aria-label": this.label }, h("six-icon", { key: 'cbc8dfda4a2d1ee148521c30d4694fd83c49fa40', "aria-hidden": "true", size: this.size }, this.name), h("slot", { key: 'fda137701d73e4429ccca013e52a08b06bbca748' }), html)));
41
41
  }
42
42
  static get is() { return "six-icon-button"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -190,7 +190,7 @@ export class SixInput {
190
190
  return ((_a = this.value) !== null && _a !== void 0 ? _a : '').toString();
191
191
  }
192
192
  render() {
193
- return (h(FormControl, { key: '5710dd4df8e2833ebcea698d46945d07083a4580', 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.hasErrorSlot, size: this.size, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { key: 'b5812726191ae11b8ccac0ac17403299c49348fe', part: "base", class: {
193
+ return (h(FormControl, { key: 'c814025e7db66cd628c466316a5bd3fe4c3e77bf', 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.hasErrorSlot, size: this.size, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { key: 'bad7f2e31ec8465f3292927e9d9fb37aa919cb33', part: "base", class: {
194
194
  input: true,
195
195
  // Sizes
196
196
  'input--small': this.size === 'small',
@@ -204,10 +204,10 @@ export class SixInput {
204
204
  'input--focused': this.hasFocus,
205
205
  'input--empty': this.getValue().length === 0,
206
206
  'input--invalid': this.invalid,
207
- } }, h("span", { key: '6068c91f240cbe044f3b4c43c9b2b2c8e4150bf5', part: "prefix", class: "input__prefix" }, h("slot", { key: '36166b5cdb2696d52985c60b7771ebcc943dd750', name: "prefix" })), h("input", { key: '37e14f53d5fc24e14eb93a6522d537722f8c739b', part: "input", ref: (el) => (this.nativeInput = el), id: this.inputId, size: 1, class: {
207
+ } }, h("span", { key: 'fa0b1320b4d44794f36047ca65efa9c03d180234', part: "prefix", class: "input__prefix" }, h("slot", { key: '8312c426648c862ef669cb424a219cb85f2b193c', name: "prefix" })), h("input", { key: '87ce5517721681533fc7bcf18d20cb3d1ee7fb6f', part: "input", ref: (el) => (this.nativeInput = el), id: this.inputId, size: 1, class: {
208
208
  input__control: true,
209
209
  input__control__prefix: hasSlot(this.host, 'prefix'),
210
- }, type: this.type === 'password' && this.isPasswordVisible ? 'text' : this.type, name: this.name, placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, minLength: this.minlength, maxLength: this.maxlength, min: this.min, max: this.max, step: this.step, value: this.getValue(), autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, spellcheck: this.spellcheck, pattern: this.pattern, required: this.required, inputMode: this.inputmode, "aria-labelledby": this.labelId, "aria-describedby": this.helpTextId, "aria-invalid": this.invalid ? 'true' : 'false', onChange: this.handleChange, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, "data-testid": "input-control" }), this.clearable && (h("button", { part: "clear-button", class: "input__clear", type: "button", onClick: this.handleClearClick, tabindex: "-1", "data-testid": "input-clear-button" }, h("slot", { name: "clear-icon" }, h("six-icon", { size: ICON_SIZES[this.size] }, "clear")))), this.togglePassword && (h("button", { part: "password-toggle-button", class: "input__password-toggle", type: "button", onClick: this.handlePasswordToggle, tabindex: "-1" }, this.isPasswordVisible ? (h("slot", { name: "show-password-icon" }, h("six-icon", { size: ICON_SIZES[this.size] }, "visibility_off"))) : (h("slot", { name: "hide-password-icon" }, h("six-icon", { size: ICON_SIZES[this.size] }, "visibility"))))), h("span", { key: 'f1b2b407390c5f1a00ae30b5853aafc7e2f3738a', part: "suffix", class: "input__suffix" }, h("slot", { key: 'f7844f40590b6cb4f39e49796272fa8de6754767', name: "suffix" })))));
210
+ }, type: this.type === 'password' && this.isPasswordVisible ? 'text' : this.type, name: this.name, placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, minLength: this.minlength, maxLength: this.maxlength, min: this.min, max: this.max, step: this.step, value: this.getValue(), autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, spellcheck: this.spellcheck, pattern: this.pattern, required: this.required, inputMode: this.inputmode, "aria-labelledby": this.labelId, "aria-describedby": this.helpTextId, "aria-invalid": this.invalid ? 'true' : 'false', onChange: this.handleChange, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, "data-testid": "input-control" }), this.clearable && (h("button", { part: "clear-button", class: "input__clear", type: "button", onClick: this.handleClearClick, tabindex: "-1", "data-testid": "input-clear-button" }, h("slot", { name: "clear-icon" }, h("six-icon", { size: ICON_SIZES[this.size] }, "clear")))), this.togglePassword && (h("button", { part: "password-toggle-button", class: "input__password-toggle", type: "button", onClick: this.handlePasswordToggle, tabindex: "-1" }, this.isPasswordVisible ? (h("slot", { name: "show-password-icon" }, h("six-icon", { size: ICON_SIZES[this.size] }, "visibility_off"))) : (h("slot", { name: "hide-password-icon" }, h("six-icon", { size: ICON_SIZES[this.size] }, "visibility"))))), h("span", { key: '5768204290a458c6025f93d7eed7b4762fa8ab94', part: "suffix", class: "input__suffix" }, h("slot", { key: '9f1917c71eeb148d31adf808299ef43c5307678f', name: "suffix" })))));
211
211
  }
212
212
  static get is() { return "six-input"; }
213
213
  static get encapsulation() { return "shadow"; }
@@ -44,7 +44,7 @@ export class SixLanguageSwitcher {
44
44
  }
45
45
  }
46
46
  render() {
47
- return (h("div", { key: 'fa72eaaf2cb5c0f327a0924e12779863f348b59c', part: "container", class: "language-switcher__container" }, this.languages.map((lang, index) => {
47
+ return (h("div", { key: '64f80894523a4b03643949135f18b553cd0517b6', part: "container", class: "language-switcher__container" }, this.languages.map((lang, index) => {
48
48
  const language = typeof lang === 'string' ? lang : lang.key;
49
49
  return (h("div", { onClick: this.handleLanguageSwitching(language, typeof lang === 'string' ? lang : lang.value), onKeyDown: (e) => {
50
50
  if (e.key === 'Enter' || e.key === ' ') {
@@ -19,7 +19,7 @@ export class SixLayoutGrid {
19
19
  this.handleColumnsChange();
20
20
  }
21
21
  render() {
22
- return (h(Host, { key: '9ba9e7ea26b16c5a28677cbc19d7afe38e5a70be' }, h("slot", { key: '62ee116798886fdca9816688f2775421a9ba497c' })));
22
+ return (h(Host, { key: '84c4fee011655f296908661ae1b10452a5682594' }, h("slot", { key: '389a12ed87de92e7c835df2a77c0f6316406284e' })));
23
23
  }
24
24
  static get is() { return "six-layout-grid"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -14,7 +14,7 @@ export class SixMainContainer {
14
14
  this.padded = true;
15
15
  }
16
16
  render() {
17
- return (h(Host, { key: '712a383a9bcc05a7046f1707951bb917796152d9' }, h("div", { key: '3694372cdbbbce9a01a179df7f2aab5d4b1555cf', part: "left-margin", class: "left-margin" }), h("div", { key: 'd1f5e603395c3cda9c90a9083be928ebff69d41c', part: "content", class: { content: true, 'content--padded': this.padded } }, h("slot", { key: '8fd9dfaf4a636df3c273998202c2cbf6c05dbd13' })), h("div", { key: '809c6e83655dbdcbeda840d1f512f66748363719', part: "right-margin", class: "right-margin" })));
17
+ return (h(Host, { key: '4bf03e808f3abace9917558e8a2bc284b5109fba' }, h("div", { key: '3eb055ccdcb16738f697d4d7417bdd0cedf05a5f', part: "left-margin", class: "left-margin" }), h("div", { key: '66c3c641294c52966bbb35156956e457af76a3af', part: "content", class: { content: true, 'content--padded': this.padded } }, h("slot", { key: '9dcca3e96ab1023109b9e3db5d16ec8a2d117119' })), h("div", { key: '739f4ed3956e096103d59a475f3e0611a0ea4e73', part: "right-margin", class: "right-margin" })));
18
18
  }
19
19
  static get is() { return "six-main-container"; }
20
20
  static get encapsulation() { return "shadow"; }
@@ -9,7 +9,7 @@ import { h } from "@stencil/core";
9
9
  */
10
10
  export class SixMenuDivider {
11
11
  render() {
12
- return h("div", { key: 'ae890203093a071811e37e77637b68c2b858c202', part: "base", class: "menu-divider", role: "separator", "aria-hidden": "true" });
12
+ return h("div", { key: '41a61bd4110bfb44f10211c350afcebe5c5971df', part: "base", class: "menu-divider", role: "separator", "aria-hidden": "true" });
13
13
  }
14
14
  static get is() { return "six-menu-divider"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -63,13 +63,13 @@ export class SixMenuItem {
63
63
  this.hasFocus = false;
64
64
  }
65
65
  render() {
66
- return (h("div", { key: 'a91c841a6fac9e807f623cd337d9902a6ee98aaa', ref: (el) => (this.menuItem = el), part: "base", class: {
66
+ return (h("div", { key: 'd8c10ca0fc9bd795b87790337f2cc0c792999685', ref: (el) => (this.menuItem = el), part: "base", class: {
67
67
  'menu-item': true,
68
68
  'menu-item--checked': this.checked,
69
69
  'menu-item--disabled': this.disabled,
70
70
  'menu-item--focused': this.hasFocus,
71
71
  'menu-item--active': this.active,
72
- }, role: "menuitem", "aria-disabled": this.disabled ? 'true' : 'false', "aria-checked": this.checked ? 'true' : 'false', tabIndex: !this.disabled ? 0 : undefined, onFocus: this.handleFocus, onBlur: this.handleBlur, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, this.checkType === 'checkbox' && (h("span", { class: "menu-item__checkbox" }, h("six-checkbox", { "onSix-checkbox-change": this.handleCheckboxChange, disabled: this.disabled, checked: this.checked }))), h("span", { key: '5d4fa9c6c86e1506703cdbe0d295e753ba251302', part: "prefix", class: "menu-item__prefix" }, h("slot", { key: '619b262517cddb822a90e7251ce720c8bee09bb9', name: "prefix" })), h("span", { key: '94c554dec6b00e361f84ab42f27c06c94908f9e7', part: "label", class: "menu-item__label" }, h("slot", { key: '5e0dded9fd06cd4b1bf3cad28025f97da055326b', ref: (el) => (this.defaultSlot = el) })), h("span", { key: 'bd328a4e14592019cc68fc12ef66c9e2561f561f', part: "suffix", class: "menu-item__suffix" }, h("slot", { key: '7a46bc384827392a4bc55e424d926de1f8d36766', name: "suffix" })), this.checkType === 'check' && (h("span", { part: "checked-icon", class: "menu-item__check" }, h("six-icon", { size: "small", "aria-hidden": "true" }, "check")))));
72
+ }, role: "menuitem", "aria-disabled": this.disabled ? 'true' : 'false', "aria-checked": this.checked ? 'true' : 'false', tabIndex: !this.disabled ? 0 : undefined, onFocus: this.handleFocus, onBlur: this.handleBlur, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, this.checkType === 'checkbox' && (h("span", { class: "menu-item__checkbox" }, h("six-checkbox", { "onSix-checkbox-change": this.handleCheckboxChange, disabled: this.disabled, checked: this.checked }))), h("span", { key: '470f2fee47a4120c0dead3b7996220af9e5274d1', part: "prefix", class: "menu-item__prefix" }, h("slot", { key: 'fdddb68cb266d02f6a6a2b46ffcdecb1d8eb32db', name: "prefix" })), h("span", { key: '6d9fe694ce0e07f2aac3604b905f9194f4764057', part: "label", class: "menu-item__label" }, h("slot", { key: 'ef2903a04191f78955802da5edefd32583305068', ref: (el) => (this.defaultSlot = el) })), h("span", { key: 'd4f6ee6c2789c33deaf08eb585ec7ca283b59170', part: "suffix", class: "menu-item__suffix" }, h("slot", { key: '39a1d59be3d1f9deda4c55b1575a72c647600783', name: "suffix" })), this.checkType === 'check' && (h("span", { part: "checked-icon", class: "menu-item__check" }, h("six-icon", { size: "small", "aria-hidden": "true" }, "check")))));
73
73
  }
74
74
  static get is() { return "six-menu-item"; }
75
75
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,7 @@ import { h } from "@stencil/core";
11
11
  */
12
12
  export class SixMenuLabel {
13
13
  render() {
14
- return (h("div", { key: 'c6c5d6cccd54d6fbdbdf2a561165fbb22547976e', part: "base", class: "menu-label" }, h("slot", { key: '33bf6b17abe001e11677c5fbae1573dcd84280f1' })));
14
+ return (h("div", { key: '5183d165a877bd2ca0c25d4ff61d55200b66132d', part: "base", class: "menu-label" }, h("slot", { key: '5adecf55a82a78de5eee401aeec442f7e60e0874' })));
15
15
  }
16
16
  static get is() { return "six-menu-label"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ export class SixPicto {
12
12
  render() {
13
13
  var _a;
14
14
  const iconName = (_a = this.host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim();
15
- return (h(Host, { key: '2aa8212ff4ea5c7ed283f8d96ebf9699ab528007' }, h("div", { key: '451ab5a15cb33b9e5569cded07dacfc03833a830', part: "icon", class: {
15
+ return (h(Host, { key: 'adec8f35b8501390c0831495ea9f915f6616aa04' }, h("div", { key: '92bcee923694c027ed93554d4d93924b58803b82', part: "icon", class: {
16
16
  [`is-size-${this.size}`]: typeof this.size != null || this.size.trim() !== '',
17
17
  [`${iconName}`]: true,
18
18
  } })));
@@ -17,10 +17,10 @@ export class SixProgressBar {
17
17
  this.indeterminate = false;
18
18
  }
19
19
  render() {
20
- return (h("div", { key: '4833889d1cb6d61a5b8263bf3349ec55b0d3138b', part: "base", class: {
20
+ return (h("div", { key: '5361da7a78cfcaa6375e078da88209dcd725d832', part: "base", class: {
21
21
  'progress-bar': true,
22
22
  'progress-bar--indeterminate': this.indeterminate,
23
- }, role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": this.indeterminate ? null : this.percentage }, h("div", { key: '0e0bfb16e106f8bdf669e84df7ee1cf846a735e2', part: "indicator", class: "progress-bar__indicator", style: {
23
+ }, role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": this.indeterminate ? null : this.percentage }, h("div", { key: 'a3dea20c3afea5be2c6c02adf9e6f98cdb038cbb', part: "indicator", class: "progress-bar__indicator", style: {
24
24
  width: `${this.percentage}%`,
25
25
  } }, !this.indeterminate && (h("span", { part: "label", class: "progress-bar__label" }, h("slot", null))))));
26
26
  }
@@ -33,7 +33,7 @@ export class SixProgressRing {
33
33
  this.indicator.style.strokeDashoffset = `${offset}`;
34
34
  }
35
35
  render() {
36
- return (h("div", { key: 'fcfdeaf3f113028f9368d6c26323ed3680daf1dc', part: "base", class: "progress-ring" }, h("svg", { key: '55048e767285e998ed5bf34ada821abc7d3eae58', class: "progress-ring__image", width: this.size, height: this.size }, h("circle", { key: '63f9d87a8d310c1ea3dd40801eeb3232c0b4bb3d', class: "progress-ring__track", "stroke-width": this.strokeWidth, "stroke-linecap": "round", fill: "transparent", r: this.size / 2 - this.strokeWidth * 2, cx: this.size / 2, cy: this.size / 2 }), h("circle", { key: '34a46dadccdb2498bff8196a232570a761d6a468', ref: (el) => (this.indicator = el), class: "progress-ring__indicator", "stroke-width": this.strokeWidth, "stroke-linecap": "round", fill: "transparent", r: this.size / 2 - this.strokeWidth * 2, cx: this.size / 2, cy: this.size / 2 })), h("span", { key: '55077cbe1488ae88aa86e06c97ae4948f7d5726a', part: "label", class: "progress-ring__label" }, h("slot", { key: '3e43561a4838f5f34f7196d713c2d6ddd4688965' }))));
36
+ return (h("div", { key: 'e502ccf39d3b246d03122b446949ee8380e1a2fa', part: "base", class: "progress-ring" }, h("svg", { key: 'd37581863e5a67e9f8a9cd058954581ee7e86a4a', class: "progress-ring__image", width: this.size, height: this.size }, h("circle", { key: '022eeb124e217d93479cf7ead2cabb9169b9afd4', class: "progress-ring__track", "stroke-width": this.strokeWidth, "stroke-linecap": "round", fill: "transparent", r: this.size / 2 - this.strokeWidth * 2, cx: this.size / 2, cy: this.size / 2 }), h("circle", { key: 'bc0fbfc9f1c872243ae2169d6412db47fb554e19', ref: (el) => (this.indicator = el), class: "progress-ring__indicator", "stroke-width": this.strokeWidth, "stroke-linecap": "round", fill: "transparent", r: this.size / 2 - this.strokeWidth * 2, cx: this.size / 2, cy: this.size / 2 })), h("span", { key: '9320211edc9c0b9b24124ffc7ffdac9d6d2f86a7', part: "label", class: "progress-ring__label" }, h("slot", { key: 'e7c3ce7e12a7691e461b73e6cbd2912dde27ac75' }))));
37
37
  }
38
38
  static get is() { return "six-progress-ring"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -103,12 +103,12 @@ export class SixRadio {
103
103
  return this.getAllRadios().filter((radio) => radio !== this.host);
104
104
  }
105
105
  render() {
106
- return (h("label", { key: '13c5201fe152b2bc57a679422219af5ae19a46a9', part: "base", class: {
106
+ return (h("label", { key: '11d5d7c460cf62b2fc73435137998c3b424ab58f', part: "base", class: {
107
107
  radio: true,
108
108
  'radio--checked': this.checked,
109
109
  'radio--disabled': this.disabled,
110
110
  'radio--focused': this.hasFocus,
111
- }, htmlFor: this.inputId, onKeyDown: this.handleKeyDown, onMouseDown: this.handleMouseDown }, h("span", { key: 'd32606e4ac318f0de1afb0234d2dfc7dd00546ec', part: "control", class: "radio__control" }, h("span", { key: 'd12e68de71d9e49dc4b68813dc036ffa4e06fc96', part: "checked-icon", class: "radio__icon" }, h("svg", { key: 'b942c5b3f4c817484ce4a615913a4a9c01675562', viewBox: "0 0 16 16" }, h("g", { key: '316ed8598111b40d906c0b44ab7e4bfd2bf5cd1c', stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, h("g", { key: '58a1547753ea79b7de3b4b90eeedfeb40ad7b6d6', fill: "currentColor" }, h("circle", { key: 'd225f3a06fdbb23a84eae34a6ba1b9184f55e627', cx: "8", cy: "8", r: "5" }))))), h("input", { key: '8e3adc0aaba86098d423c5a7f484a20fe0b2a0cd', ref: (el) => (this.nativeInput = el), id: this.inputId, type: "radio", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, role: "radio", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus })), h("span", { key: 'b72458bbd8e5ca7a8109a5e85b1b5699a843d097', part: "label", id: this.labelId, class: "radio__label" }, h("slot", { key: '87652971c02c9aa7187a0f266283d9a475946f78' }))));
111
+ }, htmlFor: this.inputId, onKeyDown: this.handleKeyDown, onMouseDown: this.handleMouseDown }, h("span", { key: 'e6ca5e0308ed109262b995b9831f32f5c5829cbc', part: "control", class: "radio__control" }, h("span", { key: 'c201309a8ef4def676aa48cf9dd66b94da28db10', part: "checked-icon", class: "radio__icon" }, h("svg", { key: '0e003d8db64fb73c54e95fffb9005d434d2b114e', viewBox: "0 0 16 16" }, h("g", { key: '374a33afe42003445cb91630754007f7057ff755', stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, h("g", { key: '2b85fcbdf694e18c9234819a0a20ffd793be0102', fill: "currentColor" }, h("circle", { key: '45842bd37b3dcea164b972c9ff6e461fc866536d', cx: "8", cy: "8", r: "5" }))))), h("input", { key: '924cbd7890627bbf79201b68a989f894e26d9579', ref: (el) => (this.nativeInput = el), id: this.inputId, type: "radio", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, role: "radio", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus })), h("span", { key: 'f00e3fbac022d2be55117448df3e8ff908dd4cd5', part: "label", id: this.labelId, class: "radio__label" }, h("slot", { key: '0fa728701561580e0d06f0568a001d1d234ed867' }))));
112
112
  }
113
113
  static get is() { return "six-radio"; }
114
114
  static get encapsulation() { return "shadow"; }
@@ -188,7 +188,7 @@ export class SixRange {
188
188
  }
189
189
  }
190
190
  render() {
191
- return (h(FormControl, { key: '4bd9c413aa318930b38a57e8f76906b5c25c0961', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, size: "medium", errorTextId: this.errorTextId, errorText: this.errorText, hasErrorTextSlot: this.hasErrorTextSlot, errorTextCount: this.errorTextCount, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { key: '2a5cd3d1b1bcc77813aacc5eb2971a5ef0e27e0f', part: "base", class: {
191
+ return (h(FormControl, { key: 'cf23b46a8ca2596e962810d3528163ab9add32c3', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, size: "medium", errorTextId: this.errorTextId, errorText: this.errorText, hasErrorTextSlot: this.hasErrorTextSlot, errorTextCount: this.errorTextCount, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { key: '370f20143ac3c9325b7cc99ceb3c3a6720a50b1c', part: "base", class: {
192
192
  range: true,
193
193
  // States
194
194
  'range--disabled': this.disabled,
@@ -196,7 +196,7 @@ export class SixRange {
196
196
  'range--tooltip-visible': this.hasTooltip,
197
197
  'range--tooltip-top': this.tooltip === 'top',
198
198
  'range--tooltip-bottom': this.tooltip === 'bottom',
199
- }, onTouchStart: this.handleTouchStart }, h("input", { key: '448a9d9d41e466a09c4e00d9229b2971e99190b5', part: "input", ref: (el) => (this.nativeInput = el), type: "range", class: "range__control", name: this.name, disabled: this.disabled, min: this.min, max: this.max, step: this.step, value: this.value, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }), this.tooltip !== 'none' && (h("output", { part: "tooltip", ref: (el) => (this.output = el), class: "range__tooltip" }, this.tooltipFormatter(this.value))))));
199
+ }, onTouchStart: this.handleTouchStart }, h("input", { key: '74380f56888930992b753f905cd6e9256c24d106', part: "input", ref: (el) => (this.nativeInput = el), type: "range", class: "range__control", name: this.name, disabled: this.disabled, min: this.min, max: this.max, step: this.step, value: this.value, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }), this.tooltip !== 'none' && (h("output", { part: "tooltip", ref: (el) => (this.output = el), class: "range__tooltip" }, this.tooltipFormatter(this.value))))));
200
200
  }
201
201
  static get is() { return "six-range"; }
202
202
  static get encapsulation() { return "shadow"; }
@@ -16,7 +16,7 @@ export class SixRoot {
16
16
  this.version = '';
17
17
  }
18
18
  render() {
19
- return (h("host", { key: 'd004ad641b82d656ccbb7b788a04d8befab64b47', class: "six-root" }, h("header", { key: 'cce9488ed3c0778120fb1c0ce040a74b8c3b18d6', part: "header" }, this.stage && h("six-stage-indicator", { stage: this.stage }, this.version), h("slot", { key: 'b5810a66f91e003d83ee9196e0c955b52773794a', name: "header" })), h("nav", { key: '8d7aa97373ddb660d7a6e5ab1b860736726b9ee7', class: "six-root__left-sidebar", part: "left-sidebar" }, h("slot", { key: 'ab612b588dedf3e3098cd6f423078ef2fdc83bed', name: "left-sidebar" })), h("main", { key: '2c6e91c192a5346302d6d0be19a4e43d190cf5d4', part: "main" }, h("div", { key: 'bb52732ddf5462b1d536444f0f584fa48ba5ee55', class: { 'six-root__container': true, 'six-root__container--padded': this.padded }, part: "container" }, h("slot", { key: '23db6d1c2426497e40e91ef7d7898f37e1977465', name: "main" })), h("div", { key: 'f083d6d754ff7a502efe8f20663a423075f85e9f', class: "six-root__footer" }, h("slot", { key: 'd902e6b083181958e12f8f808b2dc98e2bb99dfd', name: "footer" }))), h("nav", { key: '05b158597d15d8536e8eb8ccc66f0ff971ebdc92', class: "six-root__right-sidebar", part: "right-sidebar" }, h("slot", { key: '3a9168dbd5039344e948c22c822ca7f65648cb1f', name: "right-sidebar" }))));
19
+ return (h("host", { key: 'f4b3cb516ce1b70a834903c00a56ca7edf5364dc', class: "six-root" }, h("header", { key: '88ec66c2af58e55621563f600cb8c1589467218c', part: "header" }, this.stage && h("six-stage-indicator", { stage: this.stage }, this.version), h("slot", { key: '072a0e92b9203149a9823fdf83aa45b39494559f', name: "header" })), h("nav", { key: '58d18ca9b9ebf9db5981b3c82cce657f73ef5f13', class: "six-root__left-sidebar", part: "left-sidebar" }, h("slot", { key: '62643ef967da9d303380b4d4d26ec5e026a86ac3', name: "left-sidebar" })), h("main", { key: '0b059f2814c4485dd03a3a166529d78999baa699', part: "main" }, h("div", { key: '74ce003ff9d45945b9bdc43b170c99300856544b', class: { 'six-root__container': true, 'six-root__container--padded': this.padded }, part: "container" }, h("slot", { key: '5ea05c471c96fd47cf27749accd1c551f16d69d2', name: "main" })), h("div", { key: '5dd7796754df4238f61f1ee8cc3cee9589f1f40f', class: "six-root__footer" }, h("slot", { key: '5c4036b9fb4d36f69b617a2e6ee7fce62c80fa08', name: "footer" }))), h("nav", { key: '36c76008c9dc36b7fef9f8a6a79e6508d1764ede', class: "six-root__right-sidebar", part: "right-sidebar" }, h("slot", { key: '66cdae8a60d251063e4c8a710a36d0be07dedf0e', name: "right-sidebar" }))));
20
20
  }
21
21
  static get is() { return "six-root"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -42,7 +42,7 @@ export class SixSearchField {
42
42
  this.eventListeners.removeAll();
43
43
  }
44
44
  render() {
45
- return (h("div", { key: '3083fe949be687f4540c7ee0115d9befc4faa90d', class: "search-box" }, h("six-input", { key: 'addaf6279a2473b3c44d2284c11a4e822c0883fe', ref: (el) => (this.inputElement = el), placeholder: this.placeholder, value: this.value, disabled: this.disabled, clearable: this.clearable }, h("six-icon", { key: 'd6953c6b87cbf8f6ed1fb1625aa510857ccfb421', class: "search-box__icon", slot: "prefix", size: "small", onClick: this.handleInputChange }, "search")), h("slot", { key: 'd7f0a5e0974d5e0cbe8b0e120999804be0299aef' })));
45
+ return (h("div", { key: 'f1a0e877abffb212e7876237a294256446ce9414', class: "search-box" }, h("six-input", { key: '371999a3d7a5063f1b29494763444bdb20317146', ref: (el) => (this.inputElement = el), placeholder: this.placeholder, value: this.value, disabled: this.disabled, clearable: this.clearable }, h("six-icon", { key: '8c9c517d8f6bbf45beae6c5af88a5b17967401b5', class: "search-box__icon", slot: "prefix", size: "small", onClick: this.handleInputChange }, "search")), h("slot", { key: 'f45bb3a2c075675f2216a17e2c28329196685f2e' })));
46
46
  }
47
47
  static get is() { return "six-search-field"; }
48
48
  static get encapsulation() { return "shadow"; }
@@ -4,6 +4,7 @@ import FormControl from "../../functional-components/form-control/form-control";
4
4
  import { EventListeners } from "../../utils/event-listeners";
5
5
  import { debounce, DEFAULT_DEBOUNCE_FAST } from "../../utils/execution-control";
6
6
  import { getLanguage } from "../../utils/error-messages";
7
+ import { convertToValidArrayValue, convertToValidValue, valueEquals } from "./util";
7
8
  let id = 0;
8
9
  /**
9
10
  * @since 1.0
@@ -138,12 +139,12 @@ export class SixSelect {
138
139
  return;
139
140
  }
140
141
  this.activeItemIndex = -1;
141
- // reset display style of main items
142
- const mainItems = this.getItems();
143
- mainItems.forEach((item) => (item.style.display = 'unset'));
144
- // show selected menu items in the selection container and hide them in the main container
145
- const checkedItems = getCheckedItems(this.getValueAsArray(), mainItems);
146
142
  if (!this.virtualScroll && this.multiple) {
143
+ // reset display style of main items
144
+ const mainItems = this.getItems();
145
+ mainItems.forEach((item) => (item.style.display = 'unset'));
146
+ // show selected menu items in the selection container and hide them in the main container
147
+ const checkedItems = getCheckedItems(convertToValidArrayValue(this.value), mainItems);
147
148
  checkedItems.forEach((i) => (i.style.display = 'none'));
148
149
  this.selectionContainerItems = checkedItems.map((item) => {
149
150
  return (h("six-menu-item", { key: item.value, checked: true, value: item.value, checkType: this.multiple ? 'checkbox' : 'check', onClick: (event) => {
@@ -163,6 +164,9 @@ export class SixSelect {
163
164
  };
164
165
  this.handleMenuHide = () => {
165
166
  this.isOpen = false;
167
+ if (this.multiple) {
168
+ this.handleBlur();
169
+ }
166
170
  };
167
171
  this.handleSlotChange = () => {
168
172
  this.hasHelpTextSlot = hasSlot(this.host, 'help-text');
@@ -215,17 +219,13 @@ export class SixSelect {
215
219
  this.handleSlotChange();
216
220
  }
217
221
  handleMultipleChange() {
218
- // Cast to array | string based on `this.multiple`
219
- const value = this.getValueAsArray();
220
- this.value = this.multiple ? value : value[0] || '';
222
+ this.value = convertToValidValue(this.value, this.multiple);
221
223
  this.syncItemsFromValue();
222
224
  }
223
225
  async handleValueChange() {
224
- if (this.multiple && !Array.isArray(this.value)) {
225
- this.value = [];
226
- }
227
- if (!this.multiple && typeof this.value !== 'string') {
228
- this.value = '';
226
+ const newValue = convertToValidValue(this.value, this.multiple);
227
+ if (!valueEquals(this.value, newValue)) {
228
+ this.value = newValue;
229
229
  }
230
230
  await this.syncItemsFromValue();
231
231
  }
@@ -236,10 +236,8 @@ export class SixSelect {
236
236
  this.init();
237
237
  }
238
238
  componentWillLoad() {
239
+ this.value = convertToValidValue(this.value, this.multiple);
239
240
  this.handleSlotChange();
240
- if (this.multiple && this.value != null) {
241
- this.value = this.getValueAsArray();
242
- }
243
241
  }
244
242
  componentDidLoad() {
245
243
  this.init();
@@ -303,11 +301,6 @@ export class SixSelect {
303
301
  var _a;
304
302
  return [...(((_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('six-menu-item')) || [])];
305
303
  }
306
- getValueAsArray() {
307
- const values = Array.isArray(this.value) ? this.value : this.value === '' ? [] : [this.value];
308
- // enforce that the values are converted to 'string' before the value is compared
309
- return values.map(String);
310
- }
311
304
  async clearValues() {
312
305
  this.value = this.multiple ? [] : '';
313
306
  this.selectionContainerItems = [];
@@ -327,7 +320,7 @@ export class SixSelect {
327
320
  async syncItemsFromValue() {
328
321
  const selectionContainerItems = this.getSelectionContainerItems();
329
322
  const mainItems = this.getItems();
330
- const value = this.getValueAsArray();
323
+ const value = convertToValidValue(this.value, this.multiple);
331
324
  selectionContainerItems.forEach((item) => {
332
325
  item.checkType = this.multiple ? 'checkbox' : 'check';
333
326
  item.checked = value.includes(item.value);
@@ -336,7 +329,7 @@ export class SixSelect {
336
329
  item.checkType = this.multiple ? 'checkbox' : 'check';
337
330
  item.checked = value.includes(item.value);
338
331
  });
339
- const checkedItems = getCheckedItems(this.getValueAsArray(), mainItems);
332
+ const checkedItems = getCheckedItems(convertToValidArrayValue(this.value), mainItems);
340
333
  this.displayedValues = checkedItems.map((i) => this.getItemLabel(i));
341
334
  if (this.autocomplete && this.autocompleteInput != null) {
342
335
  this.autocompleteInput.value = Array.isArray(this.value) ? this.value.join(',') : this.value;
@@ -405,7 +398,7 @@ export class SixSelect {
405
398
  showClear = true;
406
399
  showExpand = false;
407
400
  }
408
- return (h(FormControl, { key: 'cf4bbc5c8bdb3bd395b3223065ef7175f12fc750', 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: '5de198b2fc9ab517f9e6682394d881328f4da383', part: "base", ref: (el) => (this.dropdown = el), hoist: this.hoist, matchTriggerWidth: true, closeOnSelect: !this.multiple, containingElement: this.host, disableHideOnEnterAndSpace: this.autocomplete, class: {
401
+ return (h(FormControl, { key: 'b7ae7bf52ea2e0c9bbcee7fafa6f4c984faa6a5c', 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: 'ab5c2ba221fb131e5d3b5bde5428b740efe1152d', part: "base", ref: (el) => (this.dropdown = el), hoist: this.hoist, matchTriggerWidth: true, closeOnSelect: !this.multiple, containingElement: this.host, disableHideOnEnterAndSpace: this.autocomplete, class: {
409
402
  select: true,
410
403
  'select--open': this.isOpen,
411
404
  'select--empty': ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) === 0,
@@ -420,20 +413,20 @@ export class SixSelect {
420
413
  'select--large': this.size === 'large',
421
414
  'select--pill': this.pill,
422
415
  'select--invalid': this.invalid,
423
- }, 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: '731e50e52df65db450e852209b091698d024d533', slot: "trigger", ref: (el) => (this.box = el), id: this.inputId, class: {
416
+ }, 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: '86bfec3b39366c0cdee5dabe247994a6e5a82358', slot: "trigger", ref: (el) => (this.box = el), id: this.inputId, class: {
424
417
  select__box: true,
425
418
  'select__box--line': this.line,
426
419
  'select__box--autocomplete': this.autocomplete,
427
- }, 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: '4623418e42ad9d69891c582b7e88e2686b27eaa1', 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", { exportparts: "base:clear-button", class: "select__clear", name: "clear", size: "small", onClick: this.handleClearClick, tabindex: "-1" })), showExpand && (h("span", { part: "icon", class: "select__icon" }, h("six-icon", { size: "medium" }, "expand_more"))), h("six-input", { key: '1c53a3b59a3f09c6707709c36afdcd62e90de43a', ref: (el) => (this.autocompleteInput = el), class: {
420
+ }, 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: 'a409cae3b24f8cee672aa52c2ba6e999daf8fb6f', 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", { exportparts: "base:clear-button", class: "select__clear", name: "clear", size: "small", onClick: this.handleClearClick, tabindex: "-1" })), showExpand && (h("span", { part: "icon", class: "select__icon" }, h("six-icon", { size: "medium" }, "expand_more"))), h("six-input", { key: '31f65017c3013e4e37599a775d5f1ddd63026727', ref: (el) => (this.autocompleteInput = el), class: {
428
421
  select__input: true,
429
422
  'select__hidden-select': !this.autocomplete,
430
- }, "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: '65f3a8a73dd645a1098afc2b92104336b16fb80f', class: {
423
+ }, "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: 'bd1dc5e94cf30bf60a8fbebb9e40c2d131b71a24', class: {
431
424
  'selection-container': true,
432
425
  'selection-container--border': this.selectionContainerItems.length > 0 && items.length !== this.selectionContainerItems.length,
433
- } }, this.selectionContainerItems), h("six-menu", { key: '80ac8179cb1fd6bbccd9525254511dde6908af5f', ref: (el) => (this.menu = el), part: "menu", class: {
426
+ } }, this.selectionContainerItems), h("six-menu", { key: 'eb308eb703bbf083d81fbd8c9a6efffbd8cad0dc', ref: (el) => (this.menu = el), part: "menu", class: {
434
427
  select__menu: true,
435
428
  'select__menu--hidden': !hasMenuItems,
436
- }, "onSix-menu-item-selected": this.handleMenuSelect, items: this.options, virtualScroll: this.virtualScroll, "remove-box-shadow": true, "disable-keyboard-handling": true }, h("slot", { key: '72f6447ad3dc14df92cf42b4a7b0984e970759c7', onSlotchange: this.handleSlotChange })), this.multiple && this.selectAllButton && (h("div", { class: "select-all", slot: "dropdown-footer" }, h("six-button", { type: "link", onClick: () => this.selectAll() }, this.selectAllText == null ? selectAllDefaultText(hasDeselectedOptions) : this.selectAllText))))));
429
+ }, "onSix-menu-item-selected": this.handleMenuSelect, items: this.options, virtualScroll: this.virtualScroll, "remove-box-shadow": true, "disable-keyboard-handling": true }, h("slot", { key: 'be4c952494c2ed01557024f59f8fa71fbfdcdff8', onSlotchange: this.handleSlotChange })), this.multiple && this.selectAllButton && (h("div", { class: "select-all", slot: "dropdown-footer" }, h("six-button", { type: "link", onClick: () => this.selectAll() }, this.selectAllText == null ? selectAllDefaultText(hasDeselectedOptions) : this.selectAllText))))));
437
430
  }
438
431
  hasSelection() {
439
432
  return this.multiple ? this.value.length > 0 : this.value !== '';