@six-group/ui-library 0.0.0-insider.a9875a1 → 0.0.0-insider.abcccad

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 (835) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  3. package/dist/cjs/error-messages-6e8049a4.js +119 -0
  4. package/dist/cjs/error-messages-6e8049a4.js.map +1 -0
  5. package/dist/cjs/{form-control-f9bc25dd.js → form-control-de259450.js} +2 -2
  6. package/dist/cjs/{form-control-f9bc25dd.js.map → form-control-de259450.js.map} +1 -1
  7. package/dist/cjs/{index-3baddcdc.js → index-1f707a55.js} +127 -76
  8. package/dist/cjs/index-1f707a55.js.map +1 -0
  9. package/dist/cjs/index.cjs.js +54 -101
  10. package/dist/cjs/index.cjs.js.map +1 -1
  11. package/dist/cjs/loader.cjs.js +5 -3
  12. package/dist/cjs/loader.cjs.js.map +1 -1
  13. package/dist/cjs/{modal-3ce015be.js → modal-bd7fc5bc.js} +1 -18
  14. package/dist/cjs/modal-bd7fc5bc.js.map +1 -0
  15. package/dist/cjs/six-alert.cjs.entry.js +42 -9
  16. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  17. package/dist/cjs/six-avatar.cjs.entry.js +5 -4
  18. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  19. package/dist/cjs/six-badge.cjs.entry.js +6 -5
  20. package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
  21. package/dist/cjs/six-button.cjs.entry.js +8 -6
  22. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  23. package/dist/cjs/six-card.cjs.entry.js +5 -4
  24. package/dist/cjs/six-card.cjs.entry.js.map +1 -1
  25. package/dist/cjs/six-checkbox_2.cjs.entry.js +192 -0
  26. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -0
  27. package/dist/cjs/six-datepicker.cjs.entry.js +43 -14
  28. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  29. package/dist/cjs/six-details.cjs.entry.js +7 -6
  30. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  31. package/dist/cjs/six-dialog.cjs.entry.js +16 -32
  32. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  33. package/dist/cjs/six-drawer.cjs.entry.js +15 -32
  34. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  35. package/dist/cjs/six-dropdown_2.cjs.entry.js +215 -132
  36. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
  37. package/dist/cjs/six-error-page.cjs.entry.js +4 -3
  38. package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
  39. package/dist/cjs/six-error.cjs.entry.js +5 -4
  40. package/dist/cjs/six-error.cjs.entry.js.map +1 -1
  41. package/dist/cjs/six-file-list-item.cjs.entry.js +6 -5
  42. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  43. package/dist/cjs/six-file-list.cjs.entry.js +4 -3
  44. package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
  45. package/dist/cjs/six-file-upload.cjs.entry.js +32 -9
  46. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  47. package/dist/cjs/six-footer.cjs.entry.js +5 -4
  48. package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
  49. package/dist/cjs/six-group-label.cjs.entry.js +7 -6
  50. package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
  51. package/dist/cjs/six-header.cjs.entry.js +26 -16
  52. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  53. package/dist/cjs/six-icon-button.cjs.entry.js +7 -6
  54. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  55. package/dist/cjs/six-icon.cjs.entry.js +6 -5
  56. package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
  57. package/dist/cjs/six-input.cjs.entry.js +20 -8
  58. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  59. package/dist/cjs/six-item-picker.cjs.entry.js +7 -6
  60. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
  61. package/dist/cjs/six-language-switcher.cjs.entry.js +11 -6
  62. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
  63. package/dist/cjs/six-layout-grid.cjs.entry.js +4 -3
  64. package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
  65. package/dist/cjs/six-main-container.cjs.entry.js +4 -3
  66. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
  67. package/dist/cjs/six-menu-divider.cjs.entry.js +5 -4
  68. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
  69. package/dist/cjs/six-menu-label.cjs.entry.js +5 -4
  70. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
  71. package/dist/cjs/six-picto.cjs.entry.js +4 -3
  72. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  73. package/dist/cjs/six-progress-bar.cjs.entry.js +6 -5
  74. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  75. package/dist/cjs/six-progress-ring.cjs.entry.js +5 -4
  76. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  77. package/dist/cjs/six-radio.cjs.entry.js +6 -5
  78. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  79. package/dist/cjs/six-range.cjs.entry.js +18 -7
  80. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  81. package/dist/cjs/six-root.cjs.entry.js +4 -22
  82. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  83. package/dist/cjs/six-search-field.cjs.entry.js +5 -4
  84. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
  85. package/dist/cjs/six-select.cjs.entry.js +334 -177
  86. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  87. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +5 -4
  88. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  89. package/dist/cjs/six-sidebar-item.cjs.entry.js +5 -4
  90. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  91. package/dist/cjs/six-sidebar.cjs.entry.js +6 -5
  92. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
  93. package/dist/cjs/six-spinner.cjs.entry.js +4 -3
  94. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  95. package/dist/cjs/six-stage-indicator.cjs.entry.js +23 -0
  96. package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -0
  97. package/dist/cjs/six-switch.cjs.entry.js +8 -7
  98. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  99. package/dist/cjs/six-tab-group.cjs.entry.js +35 -9
  100. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  101. package/dist/cjs/six-tab-panel.cjs.entry.js +5 -4
  102. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
  103. package/dist/cjs/six-tab.cjs.entry.js +6 -5
  104. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  105. package/dist/cjs/six-tag.cjs.entry.js +7 -6
  106. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  107. package/dist/cjs/six-textarea.cjs.entry.js +8 -7
  108. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  109. package/dist/cjs/six-tile.cjs.entry.js +8 -7
  110. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  111. package/dist/cjs/six-timepicker.cjs.entry.js +7 -6
  112. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  113. package/dist/cjs/six-tooltip.cjs.entry.js +6 -5
  114. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
  115. package/dist/cjs/{slot-9821749e.js → slot-1b1232a1.js} +1 -3
  116. package/dist/cjs/slot-1b1232a1.js.map +1 -0
  117. package/dist/cjs/{types-0a6d66f6.js → types-d3da200b.js} +3 -1
  118. package/dist/cjs/types-d3da200b.js.map +1 -0
  119. package/dist/cjs/ui-library.cjs.js +6 -4
  120. package/dist/cjs/ui-library.cjs.js.map +1 -1
  121. package/dist/collection/assets/TRADEMARKS.md +3 -3
  122. package/dist/collection/collection-manifest.json +6 -7
  123. package/dist/collection/components/six-alert/six-alert.css +5 -1
  124. package/dist/collection/components/six-alert/six-alert.js +57 -12
  125. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  126. package/dist/collection/components/six-avatar/six-avatar.css +2 -2
  127. package/dist/collection/components/six-avatar/six-avatar.js +1 -1
  128. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  129. package/dist/collection/components/six-badge/six-badge.css +1 -1
  130. package/dist/collection/components/six-badge/six-badge.js +2 -2
  131. package/dist/collection/components/six-badge/six-badge.js.map +1 -1
  132. package/dist/collection/components/six-button/six-button.css +19 -1
  133. package/dist/collection/components/six-button/six-button.js +8 -6
  134. package/dist/collection/components/six-button/six-button.js.map +1 -1
  135. package/dist/collection/components/six-button/test/six-button.spec.js.map +1 -1
  136. package/dist/collection/components/six-card/six-card.css +4 -5
  137. package/dist/collection/components/six-card/six-card.js +1 -1
  138. package/dist/collection/components/six-card/six-card.js.map +1 -1
  139. package/dist/collection/components/six-checkbox/six-checkbox.css +3 -1
  140. package/dist/collection/components/six-checkbox/six-checkbox.js +5 -4
  141. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  142. package/dist/collection/components/six-datepicker/six-date-formats.js +1 -0
  143. package/dist/collection/components/six-datepicker/six-date-formats.js.map +1 -1
  144. package/dist/collection/components/six-datepicker/six-datepicker.css +1 -1
  145. package/dist/collection/components/six-datepicker/six-datepicker.js +20 -16
  146. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  147. package/dist/collection/components/six-details/six-details.css +1 -5
  148. package/dist/collection/components/six-details/six-details.js +3 -3
  149. package/dist/collection/components/six-details/six-details.js.map +1 -1
  150. package/dist/collection/components/six-dialog/six-dialog.css +2 -2
  151. package/dist/collection/components/six-dialog/six-dialog.js +10 -28
  152. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  153. package/dist/collection/components/six-drawer/six-drawer.css +2 -2
  154. package/dist/collection/components/six-drawer/six-drawer.js +9 -28
  155. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  156. package/dist/collection/components/six-dropdown/six-dropdown.css +22 -7
  157. package/dist/collection/components/six-dropdown/six-dropdown.js +216 -124
  158. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  159. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +54 -29
  160. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +1 -1
  161. package/dist/collection/components/six-error/six-error.css +1 -0
  162. package/dist/collection/components/six-error/six-error.js +1 -1
  163. package/dist/collection/components/six-error/six-error.js.map +1 -1
  164. package/dist/collection/components/six-error-page/six-error-page.js +1 -1
  165. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
  166. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  167. package/dist/collection/components/six-file-list/six-file-list.js.map +1 -1
  168. package/dist/collection/components/six-file-list-item/six-file-list-item.css +1 -1
  169. package/dist/collection/components/six-file-list-item/six-file-list-item.js +2 -2
  170. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  171. package/dist/collection/components/six-file-upload/six-file-upload.css +12 -4
  172. package/dist/collection/components/six-file-upload/six-file-upload.js +85 -7
  173. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  174. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +187 -24
  175. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +1 -1
  176. package/dist/collection/components/six-footer/six-footer.css +2 -2
  177. package/dist/collection/components/six-footer/six-footer.js +1 -1
  178. package/dist/collection/components/six-footer/six-footer.js.map +1 -1
  179. package/dist/collection/components/six-group-label/six-group-label.css +1 -1
  180. package/dist/collection/components/six-group-label/six-group-label.js +1 -1
  181. package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
  182. package/dist/collection/components/six-header/six-header.css +15 -2
  183. package/dist/collection/components/six-header/six-header.js +60 -14
  184. package/dist/collection/components/six-header/six-header.js.map +1 -1
  185. package/dist/collection/components/six-icon/six-icon.css +3 -7
  186. package/dist/collection/components/six-icon/six-icon.js +2 -2
  187. package/dist/collection/components/six-icon/six-icon.js.map +1 -1
  188. package/dist/collection/components/six-icon-button/six-icon-button.css +1 -1
  189. package/dist/collection/components/six-icon-button/six-icon-button.js +3 -3
  190. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  191. package/dist/collection/components/six-input/six-input.css +11 -1
  192. package/dist/collection/components/six-input/six-input.js +84 -20
  193. package/dist/collection/components/six-input/six-input.js.map +1 -1
  194. package/dist/collection/components/six-item-picker/six-item-picker.js +3 -3
  195. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  196. package/dist/collection/components/six-item-picker/types.js +2 -0
  197. package/dist/collection/components/six-item-picker/types.js.map +1 -1
  198. package/dist/collection/components/six-language-switcher/six-language-switcher.css +7 -2
  199. package/dist/collection/components/six-language-switcher/six-language-switcher.js +7 -3
  200. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  201. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +20 -20
  202. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +1 -1
  203. package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
  204. package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
  205. package/dist/collection/components/six-main-container/six-main-container.js +1 -1
  206. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
  207. package/dist/collection/components/six-menu/six-menu.css +8 -7
  208. package/dist/collection/components/six-menu/six-menu.js +41 -10
  209. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  210. package/dist/collection/components/six-menu/test/six-menu.spec.js +6 -6
  211. package/dist/collection/components/six-menu/test/six-menu.spec.js.map +1 -1
  212. package/dist/collection/components/six-menu-divider/six-menu-divider.css +3 -2
  213. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  214. package/dist/collection/components/six-menu-divider/six-menu-divider.js.map +1 -1
  215. package/dist/collection/components/six-menu-item/six-menu-item.css +13 -2
  216. package/dist/collection/components/six-menu-item/six-menu-item.js +37 -8
  217. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  218. package/dist/collection/components/six-menu-label/six-menu-label.css +1 -1
  219. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  220. package/dist/collection/components/six-menu-label/six-menu-label.js.map +1 -1
  221. package/dist/collection/components/six-picto/six-picto.js +1 -1
  222. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  223. package/dist/collection/components/six-progress-bar/six-progress-bar.css +1 -1
  224. package/dist/collection/components/six-progress-bar/six-progress-bar.js +2 -2
  225. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  226. package/dist/collection/components/six-progress-ring/six-progress-ring.css +1 -1
  227. package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
  228. package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
  229. package/dist/collection/components/six-radio/six-radio.css +1 -1
  230. package/dist/collection/components/six-radio/six-radio.js +5 -4
  231. package/dist/collection/components/six-radio/six-radio.js.map +1 -1
  232. package/dist/collection/components/six-range/six-range.css +2 -2
  233. package/dist/collection/components/six-range/six-range.js +15 -4
  234. package/dist/collection/components/six-range/six-range.js.map +1 -1
  235. package/dist/collection/components/six-root/six-root.js +1 -69
  236. package/dist/collection/components/six-root/six-root.js.map +1 -1
  237. package/dist/collection/components/six-root/test/six-root.spec.js +0 -7
  238. package/dist/collection/components/six-root/test/six-root.spec.js.map +1 -1
  239. package/dist/collection/components/six-search-field/six-search-field.css +1 -1
  240. package/dist/collection/components/six-search-field/six-search-field.js +1 -1
  241. package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
  242. package/dist/collection/components/six-select/six-select.css +54 -66
  243. package/dist/collection/components/six-select/six-select.js +345 -178
  244. package/dist/collection/components/six-select/six-select.js.map +1 -1
  245. package/dist/collection/components/six-select/test/six-select.spec.js +31 -15
  246. package/dist/collection/components/six-select/test/six-select.spec.js.map +1 -1
  247. package/dist/collection/components/six-select/test/util.spec.js +23 -1
  248. package/dist/collection/components/six-select/test/util.spec.js.map +1 -1
  249. package/dist/collection/components/six-select/util.js +24 -0
  250. package/dist/collection/components/six-select/util.js.map +1 -1
  251. package/dist/collection/components/six-sidebar/six-sidebar.css +2 -2
  252. package/dist/collection/components/six-sidebar/six-sidebar.js +8 -6
  253. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
  254. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
  255. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
  256. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +2 -1
  257. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  258. package/dist/collection/components/six-spinner/six-spinner.css +1 -1
  259. package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +1 -1
  260. package/dist/collection/components/six-switch/six-switch.css +1 -1
  261. package/dist/collection/components/six-switch/six-switch.js +5 -4
  262. package/dist/collection/components/six-switch/six-switch.js.map +1 -1
  263. package/dist/collection/components/six-tab/six-tab.css +1 -1
  264. package/dist/collection/components/six-tab/six-tab.js +5 -4
  265. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  266. package/dist/collection/components/six-tab-group/six-tab-group.css +1 -1
  267. package/dist/collection/components/six-tab-group/six-tab-group.js +36 -9
  268. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  269. package/dist/collection/components/six-tab-panel/six-tab-panel.css +1 -1
  270. package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
  271. package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
  272. package/dist/collection/components/six-tag/six-tag.css +1 -1
  273. package/dist/collection/components/six-tag/six-tag.js +2 -2
  274. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  275. package/dist/collection/components/six-textarea/six-textarea.css +6 -1
  276. package/dist/collection/components/six-textarea/six-textarea.js +26 -18
  277. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
  278. package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +1 -1
  279. package/dist/collection/components/six-tile/six-tile.css +2 -2
  280. package/dist/collection/components/six-tile/six-tile.js +3 -3
  281. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  282. package/dist/collection/components/six-timepicker/six-timepicker.css +1 -1
  283. package/dist/collection/components/six-timepicker/six-timepicker.js +4 -3
  284. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  285. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +1 -1
  286. package/dist/collection/components/six-tooltip/six-tooltip.css +1 -1
  287. package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
  288. package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
  289. package/dist/collection/index.js +1 -0
  290. package/dist/collection/index.js.map +1 -1
  291. package/dist/collection/utils/alert.js +54 -0
  292. package/dist/collection/utils/alert.js.map +1 -0
  293. package/dist/collection/utils/date-util.js +25 -0
  294. package/dist/collection/utils/date-util.js.map +1 -1
  295. package/dist/collection/utils/date-util.spec.js.map +1 -1
  296. package/dist/collection/utils/error-messages.js +7 -0
  297. package/dist/collection/utils/error-messages.js.map +1 -1
  298. package/dist/collection/utils/event-listeners.js.map +1 -1
  299. package/dist/collection/utils/focus-visible.js.map +1 -1
  300. package/dist/collection/utils/form.js.map +1 -1
  301. package/dist/collection/utils/modal.js.map +1 -1
  302. package/dist/collection/utils/popover.js.map +1 -1
  303. package/dist/collection/utils/popup.js.map +1 -1
  304. package/dist/collection/utils/scroll.js.map +1 -1
  305. package/dist/collection/utils/slot.js +0 -1
  306. package/dist/collection/utils/slot.js.map +1 -1
  307. package/dist/collection/utils/tabbable.js.map +1 -1
  308. package/dist/collection/utils/time.util.js.map +1 -1
  309. package/dist/collection/utils/time.util.spec.js.map +1 -1
  310. package/dist/components/index.js +50 -102
  311. package/dist/components/index.js.map +1 -1
  312. package/dist/components/modal.js +1 -17
  313. package/dist/components/modal.js.map +1 -1
  314. package/dist/components/six-alert.js +41 -8
  315. package/dist/components/six-alert.js.map +1 -1
  316. package/dist/components/six-avatar.js +4 -3
  317. package/dist/components/six-avatar.js.map +1 -1
  318. package/dist/components/six-badge.js +5 -4
  319. package/dist/components/six-badge.js.map +1 -1
  320. package/dist/components/six-button.js +1 -142
  321. package/dist/components/six-button.js.map +1 -1
  322. package/dist/components/six-button2.js +148 -0
  323. package/dist/components/six-button2.js.map +1 -0
  324. package/dist/components/six-card.js +4 -3
  325. package/dist/components/six-card.js.map +1 -1
  326. package/dist/components/six-checkbox.js +1 -161
  327. package/dist/components/six-checkbox.js.map +1 -1
  328. package/dist/components/six-checkbox2.js +166 -0
  329. package/dist/components/six-checkbox2.js.map +1 -0
  330. package/dist/components/six-datepicker.js +41 -12
  331. package/dist/components/six-datepicker.js.map +1 -1
  332. package/dist/components/six-details2.js +6 -5
  333. package/dist/components/six-details2.js.map +1 -1
  334. package/dist/components/six-dialog.js +14 -30
  335. package/dist/components/six-dialog.js.map +1 -1
  336. package/dist/components/six-drawer.js +13 -30
  337. package/dist/components/six-drawer.js.map +1 -1
  338. package/dist/components/six-dropdown2.js +204 -127
  339. package/dist/components/six-dropdown2.js.map +1 -1
  340. package/dist/components/six-error-page.js +3 -2
  341. package/dist/components/six-error-page.js.map +1 -1
  342. package/dist/components/six-error2.js +4 -3
  343. package/dist/components/six-error2.js.map +1 -1
  344. package/dist/components/six-file-list-item.js +5 -4
  345. package/dist/components/six-file-list-item.js.map +1 -1
  346. package/dist/components/six-file-list.js +3 -2
  347. package/dist/components/six-file-list.js.map +1 -1
  348. package/dist/components/six-file-upload.js +51 -12
  349. package/dist/components/six-file-upload.js.map +1 -1
  350. package/dist/components/six-footer.js +4 -3
  351. package/dist/components/six-footer.js.map +1 -1
  352. package/dist/components/six-group-label.js +4 -3
  353. package/dist/components/six-group-label.js.map +1 -1
  354. package/dist/components/six-header.js +33 -15
  355. package/dist/components/six-header.js.map +1 -1
  356. package/dist/components/six-icon-button2.js +6 -5
  357. package/dist/components/six-icon-button2.js.map +1 -1
  358. package/dist/components/six-icon2.js +5 -4
  359. package/dist/components/six-icon2.js.map +1 -1
  360. package/dist/components/six-input2.js +19 -5
  361. package/dist/components/six-input2.js.map +1 -1
  362. package/dist/components/six-item-picker2.js +7 -4
  363. package/dist/components/six-item-picker2.js.map +1 -1
  364. package/dist/components/six-language-switcher.js +10 -5
  365. package/dist/components/six-language-switcher.js.map +1 -1
  366. package/dist/components/six-layout-grid.js +3 -2
  367. package/dist/components/six-layout-grid.js.map +1 -1
  368. package/dist/components/six-main-container.js +3 -2
  369. package/dist/components/six-main-container.js.map +1 -1
  370. package/dist/components/six-menu-divider.js +4 -3
  371. package/dist/components/six-menu-divider.js.map +1 -1
  372. package/dist/components/six-menu-item2.js +31 -7
  373. package/dist/components/six-menu-item2.js.map +1 -1
  374. package/dist/components/six-menu-label.js +4 -3
  375. package/dist/components/six-menu-label.js.map +1 -1
  376. package/dist/components/six-menu2.js +37 -11
  377. package/dist/components/six-menu2.js.map +1 -1
  378. package/dist/components/six-picto2.js +3 -2
  379. package/dist/components/six-picto2.js.map +1 -1
  380. package/dist/components/six-progress-bar.js +5 -4
  381. package/dist/components/six-progress-bar.js.map +1 -1
  382. package/dist/components/six-progress-ring.js +4 -3
  383. package/dist/components/six-progress-ring.js.map +1 -1
  384. package/dist/components/six-radio.js +5 -4
  385. package/dist/components/six-radio.js.map +1 -1
  386. package/dist/components/six-range.js +15 -4
  387. package/dist/components/six-range.js.map +1 -1
  388. package/dist/components/six-root.js +6 -34
  389. package/dist/components/six-root.js.map +1 -1
  390. package/dist/components/six-search-field.js +4 -3
  391. package/dist/components/six-search-field.js.map +1 -1
  392. package/dist/components/six-select.js +472 -196
  393. package/dist/components/six-select.js.map +1 -1
  394. package/dist/components/six-sidebar-item-group.js +3 -2
  395. package/dist/components/six-sidebar-item-group.js.map +1 -1
  396. package/dist/components/six-sidebar-item.js +4 -3
  397. package/dist/components/six-sidebar-item.js.map +1 -1
  398. package/dist/components/six-sidebar.js +5 -4
  399. package/dist/components/six-sidebar.js.map +1 -1
  400. package/dist/components/six-spinner2.js +3 -2
  401. package/dist/components/six-spinner2.js.map +1 -1
  402. package/dist/components/six-stage-indicator2.js +3 -2
  403. package/dist/components/six-stage-indicator2.js.map +1 -1
  404. package/dist/components/six-switch.js +5 -4
  405. package/dist/components/six-switch.js.map +1 -1
  406. package/dist/components/six-tab-group.js +36 -9
  407. package/dist/components/six-tab-group.js.map +1 -1
  408. package/dist/components/six-tab-panel.js +4 -3
  409. package/dist/components/six-tab-panel.js.map +1 -1
  410. package/dist/components/six-tab.js +5 -4
  411. package/dist/components/six-tab.js.map +1 -1
  412. package/dist/components/six-tag.js +99 -1
  413. package/dist/components/six-tag.js.map +1 -1
  414. package/dist/components/six-textarea.js +5 -4
  415. package/dist/components/six-textarea.js.map +1 -1
  416. package/dist/components/six-tile.js +6 -5
  417. package/dist/components/six-tile.js.map +1 -1
  418. package/dist/components/six-timepicker2.js +4 -3
  419. package/dist/components/six-timepicker2.js.map +1 -1
  420. package/dist/components/six-tooltip2.js +5 -4
  421. package/dist/components/six-tooltip2.js.map +1 -1
  422. package/dist/components/slot.js +1 -2
  423. package/dist/components/slot.js.map +1 -1
  424. package/dist/components.d.ts +1 -21
  425. package/dist/components.json +786 -247
  426. package/dist/esm/app-globals-0f993ce5.js +5 -0
  427. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  428. package/dist/esm/error-messages-1eaaad23.js +115 -0
  429. package/dist/esm/error-messages-1eaaad23.js.map +1 -0
  430. package/dist/esm/{form-control-6b30894f.js → form-control-30c5bd8b.js} +2 -2
  431. package/dist/esm/{form-control-6b30894f.js.map → form-control-30c5bd8b.js.map} +1 -1
  432. package/dist/esm/{index-17d8173e.js → index-5390c1d6.js} +127 -76
  433. package/dist/esm/index-5390c1d6.js.map +1 -0
  434. package/dist/esm/index.js +51 -100
  435. package/dist/esm/index.js.map +1 -1
  436. package/dist/esm/loader.js +6 -4
  437. package/dist/esm/loader.js.map +1 -1
  438. package/dist/esm/{modal-96526245.js → modal-6c1288e3.js} +2 -18
  439. package/dist/esm/modal-6c1288e3.js.map +1 -0
  440. package/dist/esm/six-alert.entry.js +42 -9
  441. package/dist/esm/six-alert.entry.js.map +1 -1
  442. package/dist/esm/six-avatar.entry.js +5 -4
  443. package/dist/esm/six-avatar.entry.js.map +1 -1
  444. package/dist/esm/six-badge.entry.js +6 -5
  445. package/dist/esm/six-badge.entry.js.map +1 -1
  446. package/dist/esm/six-button.entry.js +8 -6
  447. package/dist/esm/six-button.entry.js.map +1 -1
  448. package/dist/esm/six-card.entry.js +5 -4
  449. package/dist/esm/six-card.entry.js.map +1 -1
  450. package/dist/esm/six-checkbox_2.entry.js +187 -0
  451. package/dist/esm/six-checkbox_2.entry.js.map +1 -0
  452. package/dist/esm/six-datepicker.entry.js +43 -14
  453. package/dist/esm/six-datepicker.entry.js.map +1 -1
  454. package/dist/esm/six-details.entry.js +7 -6
  455. package/dist/esm/six-details.entry.js.map +1 -1
  456. package/dist/esm/six-dialog.entry.js +16 -32
  457. package/dist/esm/six-dialog.entry.js.map +1 -1
  458. package/dist/esm/six-drawer.entry.js +15 -32
  459. package/dist/esm/six-drawer.entry.js.map +1 -1
  460. package/dist/esm/six-dropdown_2.entry.js +216 -133
  461. package/dist/esm/six-dropdown_2.entry.js.map +1 -1
  462. package/dist/esm/six-error-page.entry.js +4 -3
  463. package/dist/esm/six-error-page.entry.js.map +1 -1
  464. package/dist/esm/six-error.entry.js +5 -4
  465. package/dist/esm/six-error.entry.js.map +1 -1
  466. package/dist/esm/six-file-list-item.entry.js +6 -5
  467. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  468. package/dist/esm/six-file-list.entry.js +4 -3
  469. package/dist/esm/six-file-list.entry.js.map +1 -1
  470. package/dist/esm/six-file-upload.entry.js +32 -9
  471. package/dist/esm/six-file-upload.entry.js.map +1 -1
  472. package/dist/esm/six-footer.entry.js +5 -4
  473. package/dist/esm/six-footer.entry.js.map +1 -1
  474. package/dist/esm/six-group-label.entry.js +7 -6
  475. package/dist/esm/six-group-label.entry.js.map +1 -1
  476. package/dist/esm/six-header.entry.js +26 -16
  477. package/dist/esm/six-header.entry.js.map +1 -1
  478. package/dist/esm/six-icon-button.entry.js +7 -6
  479. package/dist/esm/six-icon-button.entry.js.map +1 -1
  480. package/dist/esm/six-icon.entry.js +6 -5
  481. package/dist/esm/six-icon.entry.js.map +1 -1
  482. package/dist/esm/six-input.entry.js +20 -8
  483. package/dist/esm/six-input.entry.js.map +1 -1
  484. package/dist/esm/six-item-picker.entry.js +7 -6
  485. package/dist/esm/six-item-picker.entry.js.map +1 -1
  486. package/dist/esm/six-language-switcher.entry.js +11 -6
  487. package/dist/esm/six-language-switcher.entry.js.map +1 -1
  488. package/dist/esm/six-layout-grid.entry.js +4 -3
  489. package/dist/esm/six-layout-grid.entry.js.map +1 -1
  490. package/dist/esm/six-main-container.entry.js +4 -3
  491. package/dist/esm/six-main-container.entry.js.map +1 -1
  492. package/dist/esm/six-menu-divider.entry.js +5 -4
  493. package/dist/esm/six-menu-divider.entry.js.map +1 -1
  494. package/dist/esm/six-menu-label.entry.js +5 -4
  495. package/dist/esm/six-menu-label.entry.js.map +1 -1
  496. package/dist/esm/six-picto.entry.js +4 -3
  497. package/dist/esm/six-picto.entry.js.map +1 -1
  498. package/dist/esm/six-progress-bar.entry.js +6 -5
  499. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  500. package/dist/esm/six-progress-ring.entry.js +5 -4
  501. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  502. package/dist/esm/six-radio.entry.js +6 -5
  503. package/dist/esm/six-radio.entry.js.map +1 -1
  504. package/dist/esm/six-range.entry.js +18 -7
  505. package/dist/esm/six-range.entry.js.map +1 -1
  506. package/dist/esm/six-root.entry.js +4 -22
  507. package/dist/esm/six-root.entry.js.map +1 -1
  508. package/dist/esm/six-search-field.entry.js +5 -4
  509. package/dist/esm/six-search-field.entry.js.map +1 -1
  510. package/dist/esm/six-select.entry.js +334 -177
  511. package/dist/esm/six-select.entry.js.map +1 -1
  512. package/dist/esm/six-sidebar-item-group.entry.js +5 -4
  513. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  514. package/dist/esm/six-sidebar-item.entry.js +5 -4
  515. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  516. package/dist/esm/six-sidebar.entry.js +6 -5
  517. package/dist/esm/six-sidebar.entry.js.map +1 -1
  518. package/dist/esm/six-spinner.entry.js +4 -3
  519. package/dist/esm/six-spinner.entry.js.map +1 -1
  520. package/dist/esm/six-stage-indicator.entry.js +19 -0
  521. package/dist/esm/six-stage-indicator.entry.js.map +1 -0
  522. package/dist/esm/six-switch.entry.js +8 -7
  523. package/dist/esm/six-switch.entry.js.map +1 -1
  524. package/dist/esm/six-tab-group.entry.js +35 -9
  525. package/dist/esm/six-tab-group.entry.js.map +1 -1
  526. package/dist/esm/six-tab-panel.entry.js +5 -4
  527. package/dist/esm/six-tab-panel.entry.js.map +1 -1
  528. package/dist/esm/six-tab.entry.js +6 -5
  529. package/dist/esm/six-tab.entry.js.map +1 -1
  530. package/dist/esm/six-tag.entry.js +7 -6
  531. package/dist/esm/six-tag.entry.js.map +1 -1
  532. package/dist/esm/six-textarea.entry.js +8 -7
  533. package/dist/esm/six-textarea.entry.js.map +1 -1
  534. package/dist/esm/six-tile.entry.js +8 -7
  535. package/dist/esm/six-tile.entry.js.map +1 -1
  536. package/dist/esm/six-timepicker.entry.js +7 -6
  537. package/dist/esm/six-timepicker.entry.js.map +1 -1
  538. package/dist/esm/six-tooltip.entry.js +6 -5
  539. package/dist/esm/six-tooltip.entry.js.map +1 -1
  540. package/dist/esm/{slot-41bc439a.js → slot-56531341.js} +2 -3
  541. package/dist/esm/slot-56531341.js.map +1 -0
  542. package/dist/esm/{types-07748c42.js → types-a07bb999.js} +3 -1
  543. package/dist/esm/types-a07bb999.js.map +1 -0
  544. package/dist/esm/ui-library.js +7 -5
  545. package/dist/esm/ui-library.js.map +1 -1
  546. package/dist/types/components/six-alert/six-alert.d.ts +13 -6
  547. package/dist/types/components/six-button/six-button.d.ts +1 -1
  548. package/dist/types/components/six-datepicker/six-datepicker.d.ts +1 -1
  549. package/dist/types/components/six-dialog/six-dialog.d.ts +1 -0
  550. package/dist/types/components/six-dropdown/six-dropdown.d.ts +28 -9
  551. package/dist/types/components/six-file-upload/six-file-upload.d.ts +10 -0
  552. package/dist/types/components/six-header/six-header.d.ts +5 -1
  553. package/dist/types/components/six-input/six-input.d.ts +13 -1
  554. package/dist/types/components/six-menu/six-menu.d.ts +5 -1
  555. package/dist/types/components/six-menu-item/six-menu-item.d.ts +7 -1
  556. package/dist/types/components/six-range/six-range.d.ts +2 -0
  557. package/dist/types/components/six-root/six-root.d.ts +0 -13
  558. package/dist/types/components/six-select/six-select.d.ts +26 -13
  559. package/dist/types/components/six-select/util.d.ts +2 -0
  560. package/dist/types/components/six-tab-group/six-tab-group.d.ts +4 -1
  561. package/dist/types/components.d.ts +127 -63
  562. package/dist/types/index.d.ts +1 -0
  563. package/dist/types/types.d.ts +1 -0
  564. package/dist/types/utils/alert.d.ts +10 -0
  565. package/dist/types/utils/date-util.d.ts +9 -1
  566. package/dist/types/utils/error-messages.d.ts +1 -0
  567. package/dist/types/utils/slot.d.ts +0 -1
  568. package/dist/ui-library/assets/TRADEMARKS.md +3 -3
  569. package/dist/ui-library/index.esm.js +1 -1
  570. package/dist/ui-library/index.esm.js.map +1 -1
  571. package/dist/ui-library/p-030fa1fa.entry.js +2 -0
  572. package/dist/ui-library/p-030fa1fa.entry.js.map +1 -0
  573. package/dist/ui-library/p-037afc74.entry.js +2 -0
  574. package/dist/ui-library/p-037afc74.entry.js.map +1 -0
  575. package/dist/ui-library/p-047d02ad.entry.js +2 -0
  576. package/dist/ui-library/p-047d02ad.entry.js.map +1 -0
  577. package/dist/ui-library/p-049c8910.entry.js +2 -0
  578. package/dist/ui-library/p-049c8910.entry.js.map +1 -0
  579. package/dist/ui-library/p-05eb1bab.js +3 -0
  580. package/dist/ui-library/p-05eb1bab.js.map +1 -0
  581. package/dist/ui-library/p-06ba653e.entry.js +2 -0
  582. package/dist/ui-library/p-06ba653e.entry.js.map +1 -0
  583. package/dist/ui-library/p-07c8de65.entry.js +2 -0
  584. package/dist/ui-library/p-07c8de65.entry.js.map +1 -0
  585. package/dist/ui-library/p-0c129b61.entry.js +2 -0
  586. package/dist/ui-library/p-0c129b61.entry.js.map +1 -0
  587. package/dist/ui-library/p-0cebf1d2.js +2 -0
  588. package/dist/ui-library/p-0cebf1d2.js.map +1 -0
  589. package/dist/ui-library/p-11344bb8.entry.js +2 -0
  590. package/dist/ui-library/p-11344bb8.entry.js.map +1 -0
  591. package/dist/ui-library/p-14e5fccc.entry.js +2 -0
  592. package/dist/ui-library/p-14e5fccc.entry.js.map +1 -0
  593. package/dist/ui-library/p-189602e4.entry.js +2 -0
  594. package/dist/ui-library/p-189602e4.entry.js.map +1 -0
  595. package/dist/ui-library/p-18b9189f.entry.js +2 -0
  596. package/dist/ui-library/p-18b9189f.entry.js.map +1 -0
  597. package/dist/ui-library/p-1adc26f2.entry.js +2 -0
  598. package/dist/ui-library/p-1adc26f2.entry.js.map +1 -0
  599. package/dist/ui-library/p-2386627e.entry.js +2 -0
  600. package/dist/ui-library/p-2386627e.entry.js.map +1 -0
  601. package/dist/ui-library/p-32e421a3.entry.js +2 -0
  602. package/dist/ui-library/p-32e421a3.entry.js.map +1 -0
  603. package/dist/ui-library/p-347e568f.entry.js +2 -0
  604. package/dist/ui-library/p-347e568f.entry.js.map +1 -0
  605. package/dist/ui-library/p-36d5f98a.entry.js +2 -0
  606. package/dist/ui-library/p-36d5f98a.entry.js.map +1 -0
  607. package/dist/ui-library/p-37433242.entry.js +2 -0
  608. package/dist/ui-library/p-37433242.entry.js.map +1 -0
  609. package/dist/ui-library/p-3b5a76ea.entry.js +2 -0
  610. package/dist/ui-library/p-3b5a76ea.entry.js.map +1 -0
  611. package/dist/ui-library/p-416b0439.entry.js +2 -0
  612. package/dist/ui-library/p-416b0439.entry.js.map +1 -0
  613. package/dist/ui-library/p-419ed003.entry.js +2 -0
  614. package/dist/ui-library/p-419ed003.entry.js.map +1 -0
  615. package/dist/ui-library/p-4963f03c.entry.js +2 -0
  616. package/dist/ui-library/p-4963f03c.entry.js.map +1 -0
  617. package/dist/ui-library/p-4bc7bbdb.entry.js +2 -0
  618. package/dist/ui-library/p-4bc7bbdb.entry.js.map +1 -0
  619. package/dist/ui-library/p-4d89932f.entry.js +2 -0
  620. package/dist/ui-library/p-4d89932f.entry.js.map +1 -0
  621. package/dist/ui-library/{p-6907a7dc.js → p-605bdd81.js} +2 -2
  622. package/dist/ui-library/p-63acceb6.entry.js +2 -0
  623. package/dist/ui-library/p-63acceb6.entry.js.map +1 -0
  624. package/dist/ui-library/p-63ee5e7e.entry.js +2 -0
  625. package/dist/ui-library/p-63ee5e7e.entry.js.map +1 -0
  626. package/dist/ui-library/p-651293e7.js +2 -0
  627. package/dist/ui-library/p-651293e7.js.map +1 -0
  628. package/dist/ui-library/p-6b40c40c.entry.js +2 -0
  629. package/dist/ui-library/p-6b40c40c.entry.js.map +1 -0
  630. package/dist/ui-library/p-6f9153be.entry.js +2 -0
  631. package/dist/ui-library/p-6f9153be.entry.js.map +1 -0
  632. package/dist/ui-library/p-7bdd1116.entry.js +2 -0
  633. package/dist/ui-library/p-7bdd1116.entry.js.map +1 -0
  634. package/dist/ui-library/p-7c18b8ca.entry.js +2 -0
  635. package/dist/ui-library/p-7c18b8ca.entry.js.map +1 -0
  636. package/dist/ui-library/{p-0861899a.js → p-862d474e.js} +1 -1
  637. package/dist/ui-library/p-862d474e.js.map +1 -0
  638. package/dist/ui-library/{p-d310a6dd.entry.js → p-8f1d3461.entry.js} +2 -2
  639. package/dist/ui-library/p-8f1d3461.entry.js.map +1 -0
  640. package/dist/ui-library/p-96d441e9.entry.js +2 -0
  641. package/dist/ui-library/p-96d441e9.entry.js.map +1 -0
  642. package/dist/ui-library/p-99f6fe01.entry.js +2 -0
  643. package/dist/ui-library/p-99f6fe01.entry.js.map +1 -0
  644. package/dist/ui-library/p-9cb83369.entry.js +2 -0
  645. package/dist/ui-library/p-9cb83369.entry.js.map +1 -0
  646. package/dist/ui-library/p-a398e3eb.entry.js +2 -0
  647. package/dist/ui-library/p-a398e3eb.entry.js.map +1 -0
  648. package/dist/ui-library/p-a9e009af.entry.js +2 -0
  649. package/dist/ui-library/p-a9e009af.entry.js.map +1 -0
  650. package/dist/ui-library/p-b335ed9c.entry.js +2 -0
  651. package/dist/ui-library/p-b335ed9c.entry.js.map +1 -0
  652. package/dist/ui-library/p-b5acf54d.entry.js +2 -0
  653. package/dist/ui-library/p-b5acf54d.entry.js.map +1 -0
  654. package/dist/ui-library/p-b60c20aa.entry.js +2 -0
  655. package/dist/ui-library/p-b60c20aa.entry.js.map +1 -0
  656. package/dist/ui-library/p-b7c68f74.entry.js +2 -0
  657. package/dist/ui-library/p-b7c68f74.entry.js.map +1 -0
  658. package/dist/ui-library/p-c62893e5.entry.js +2 -0
  659. package/dist/ui-library/p-c62893e5.entry.js.map +1 -0
  660. package/dist/ui-library/p-c6464bfe.entry.js +2 -0
  661. package/dist/ui-library/p-c6464bfe.entry.js.map +1 -0
  662. package/dist/ui-library/p-cf109cbf.entry.js +2 -0
  663. package/dist/ui-library/p-cf109cbf.entry.js.map +1 -0
  664. package/dist/ui-library/p-d1a2f84b.entry.js +2 -0
  665. package/dist/ui-library/p-d1a2f84b.entry.js.map +1 -0
  666. package/dist/ui-library/p-d42f1ea9.entry.js +2 -0
  667. package/dist/ui-library/p-d42f1ea9.entry.js.map +1 -0
  668. package/dist/ui-library/p-d88b9c16.entry.js +2 -0
  669. package/dist/ui-library/p-d88b9c16.entry.js.map +1 -0
  670. package/dist/ui-library/p-d9586999.entry.js +2 -0
  671. package/dist/ui-library/p-d9586999.entry.js.map +1 -0
  672. package/dist/ui-library/p-e080d5b6.js +2 -0
  673. package/dist/ui-library/p-e080d5b6.js.map +1 -0
  674. package/dist/ui-library/p-e1255160.js +2 -0
  675. package/dist/ui-library/p-e1255160.js.map +1 -0
  676. package/dist/ui-library/p-e14d78e9.entry.js +2 -0
  677. package/dist/ui-library/p-e14d78e9.entry.js.map +1 -0
  678. package/dist/ui-library/p-e9b8ad98.entry.js +2 -0
  679. package/dist/ui-library/p-e9b8ad98.entry.js.map +1 -0
  680. package/dist/ui-library/p-ebbe9bdc.entry.js +2 -0
  681. package/dist/ui-library/p-ebbe9bdc.entry.js.map +1 -0
  682. package/dist/ui-library/p-fe89a7c4.entry.js +2 -0
  683. package/dist/ui-library/p-fe89a7c4.entry.js.map +1 -0
  684. package/dist/ui-library/ui-library.css +1 -10
  685. package/dist/ui-library/ui-library.esm.js +1 -1
  686. package/dist/ui-library/ui-library.esm.js.map +1 -1
  687. package/package.json +10 -13
  688. package/dist/cjs/index-3baddcdc.js.map +0 -1
  689. package/dist/cjs/modal-3ce015be.js.map +0 -1
  690. package/dist/cjs/set-attributes_2.cjs.entry.js +0 -73
  691. package/dist/cjs/set-attributes_2.cjs.entry.js.map +0 -1
  692. package/dist/cjs/six-checkbox.cjs.entry.js +0 -127
  693. package/dist/cjs/six-checkbox.cjs.entry.js.map +0 -1
  694. package/dist/cjs/six-menu-item.cjs.entry.js +0 -63
  695. package/dist/cjs/six-menu-item.cjs.entry.js.map +0 -1
  696. package/dist/cjs/slot-9821749e.js.map +0 -1
  697. package/dist/cjs/types-0a6d66f6.js.map +0 -1
  698. package/dist/collection/components/six-header/assets/six-logo.svg +0 -1
  699. package/dist/collection/components/six-header/test/six-header.spec.js +0 -141
  700. package/dist/collection/components/six-header/test/six-header.spec.js.map +0 -1
  701. package/dist/collection/utils/support.js +0 -16
  702. package/dist/collection/utils/support.js.map +0 -1
  703. package/dist/collection/wrappers/set-attributes/set-attributes.js +0 -74
  704. package/dist/collection/wrappers/set-attributes/set-attributes.js.map +0 -1
  705. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js +0 -16
  706. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js.map +0 -1
  707. package/dist/components/set-attributes.d.ts +0 -11
  708. package/dist/components/set-attributes.js +0 -8
  709. package/dist/components/set-attributes.js.map +0 -1
  710. package/dist/components/set-attributes2.js +0 -73
  711. package/dist/components/set-attributes2.js.map +0 -1
  712. package/dist/components/six-tag2.js +0 -102
  713. package/dist/components/six-tag2.js.map +0 -1
  714. package/dist/esm/index-17d8173e.js.map +0 -1
  715. package/dist/esm/modal-96526245.js.map +0 -1
  716. package/dist/esm/set-attributes_2.entry.js +0 -68
  717. package/dist/esm/set-attributes_2.entry.js.map +0 -1
  718. package/dist/esm/six-checkbox.entry.js +0 -123
  719. package/dist/esm/six-checkbox.entry.js.map +0 -1
  720. package/dist/esm/six-menu-item.entry.js +0 -59
  721. package/dist/esm/six-menu-item.entry.js.map +0 -1
  722. package/dist/esm/slot-41bc439a.js.map +0 -1
  723. package/dist/esm/types-07748c42.js.map +0 -1
  724. package/dist/types/utils/support.d.ts +0 -1
  725. package/dist/types/wrappers/set-attributes/set-attributes.d.ts +0 -9
  726. package/dist/ui-library/assets/six-logo.svg +0 -1
  727. package/dist/ui-library/p-0861899a.js.map +0 -1
  728. package/dist/ui-library/p-0a81b42c.entry.js +0 -2
  729. package/dist/ui-library/p-0a81b42c.entry.js.map +0 -1
  730. package/dist/ui-library/p-0beec94f.js +0 -3
  731. package/dist/ui-library/p-0beec94f.js.map +0 -1
  732. package/dist/ui-library/p-0e7332db.entry.js +0 -2
  733. package/dist/ui-library/p-0e7332db.entry.js.map +0 -1
  734. package/dist/ui-library/p-178f5782.entry.js +0 -2
  735. package/dist/ui-library/p-178f5782.entry.js.map +0 -1
  736. package/dist/ui-library/p-19a61686.entry.js +0 -2
  737. package/dist/ui-library/p-19a61686.entry.js.map +0 -1
  738. package/dist/ui-library/p-1d0c5929.entry.js +0 -2
  739. package/dist/ui-library/p-1d0c5929.entry.js.map +0 -1
  740. package/dist/ui-library/p-23c02c98.entry.js +0 -2
  741. package/dist/ui-library/p-23c02c98.entry.js.map +0 -1
  742. package/dist/ui-library/p-28221447.entry.js +0 -2
  743. package/dist/ui-library/p-28221447.entry.js.map +0 -1
  744. package/dist/ui-library/p-2eed9d8d.entry.js +0 -2
  745. package/dist/ui-library/p-2eed9d8d.entry.js.map +0 -1
  746. package/dist/ui-library/p-3187bc23.entry.js +0 -2
  747. package/dist/ui-library/p-3187bc23.entry.js.map +0 -1
  748. package/dist/ui-library/p-32e1a5ab.entry.js +0 -2
  749. package/dist/ui-library/p-32e1a5ab.entry.js.map +0 -1
  750. package/dist/ui-library/p-32fed3c7.entry.js +0 -2
  751. package/dist/ui-library/p-32fed3c7.entry.js.map +0 -1
  752. package/dist/ui-library/p-3d54ecf2.entry.js +0 -2
  753. package/dist/ui-library/p-3d54ecf2.entry.js.map +0 -1
  754. package/dist/ui-library/p-4229f7e8.entry.js +0 -2
  755. package/dist/ui-library/p-4229f7e8.entry.js.map +0 -1
  756. package/dist/ui-library/p-479d8087.entry.js +0 -2
  757. package/dist/ui-library/p-479d8087.entry.js.map +0 -1
  758. package/dist/ui-library/p-49aa8d1e.entry.js +0 -2
  759. package/dist/ui-library/p-49aa8d1e.entry.js.map +0 -1
  760. package/dist/ui-library/p-58661675.entry.js +0 -2
  761. package/dist/ui-library/p-58661675.entry.js.map +0 -1
  762. package/dist/ui-library/p-5d43ea07.entry.js +0 -2
  763. package/dist/ui-library/p-5d43ea07.entry.js.map +0 -1
  764. package/dist/ui-library/p-6aa2929a.entry.js +0 -2
  765. package/dist/ui-library/p-6aa2929a.entry.js.map +0 -1
  766. package/dist/ui-library/p-7432d409.entry.js +0 -2
  767. package/dist/ui-library/p-7432d409.entry.js.map +0 -1
  768. package/dist/ui-library/p-74a714c0.entry.js +0 -2
  769. package/dist/ui-library/p-74a714c0.entry.js.map +0 -1
  770. package/dist/ui-library/p-76825395.entry.js +0 -2
  771. package/dist/ui-library/p-76825395.entry.js.map +0 -1
  772. package/dist/ui-library/p-816f857d.entry.js +0 -2
  773. package/dist/ui-library/p-816f857d.entry.js.map +0 -1
  774. package/dist/ui-library/p-882fbf6f.entry.js +0 -2
  775. package/dist/ui-library/p-882fbf6f.entry.js.map +0 -1
  776. package/dist/ui-library/p-88fd4973.entry.js +0 -2
  777. package/dist/ui-library/p-88fd4973.entry.js.map +0 -1
  778. package/dist/ui-library/p-8b750c9e.entry.js +0 -2
  779. package/dist/ui-library/p-8b750c9e.entry.js.map +0 -1
  780. package/dist/ui-library/p-911eb578.entry.js +0 -2
  781. package/dist/ui-library/p-911eb578.entry.js.map +0 -1
  782. package/dist/ui-library/p-93fcda4a.entry.js +0 -2
  783. package/dist/ui-library/p-93fcda4a.entry.js.map +0 -1
  784. package/dist/ui-library/p-981b3228.entry.js +0 -2
  785. package/dist/ui-library/p-981b3228.entry.js.map +0 -1
  786. package/dist/ui-library/p-998de05d.js +0 -2
  787. package/dist/ui-library/p-998de05d.js.map +0 -1
  788. package/dist/ui-library/p-9b1ff147.entry.js +0 -2
  789. package/dist/ui-library/p-9b1ff147.entry.js.map +0 -1
  790. package/dist/ui-library/p-a0658b26.entry.js +0 -2
  791. package/dist/ui-library/p-a0658b26.entry.js.map +0 -1
  792. package/dist/ui-library/p-a4e4620c.entry.js +0 -2
  793. package/dist/ui-library/p-a4e4620c.entry.js.map +0 -1
  794. package/dist/ui-library/p-ada23fe3.entry.js +0 -2
  795. package/dist/ui-library/p-ada23fe3.entry.js.map +0 -1
  796. package/dist/ui-library/p-b5ac1219.entry.js +0 -2
  797. package/dist/ui-library/p-b5ac1219.entry.js.map +0 -1
  798. package/dist/ui-library/p-ba247565.entry.js +0 -2
  799. package/dist/ui-library/p-ba247565.entry.js.map +0 -1
  800. package/dist/ui-library/p-bdb79948.entry.js +0 -2
  801. package/dist/ui-library/p-bdb79948.entry.js.map +0 -1
  802. package/dist/ui-library/p-bee65dd9.entry.js +0 -2
  803. package/dist/ui-library/p-bee65dd9.entry.js.map +0 -1
  804. package/dist/ui-library/p-c07b1240.entry.js +0 -2
  805. package/dist/ui-library/p-c07b1240.entry.js.map +0 -1
  806. package/dist/ui-library/p-c12a94ce.entry.js +0 -2
  807. package/dist/ui-library/p-c12a94ce.entry.js.map +0 -1
  808. package/dist/ui-library/p-c1675a45.entry.js +0 -2
  809. package/dist/ui-library/p-c1675a45.entry.js.map +0 -1
  810. package/dist/ui-library/p-c2df8c27.entry.js +0 -2
  811. package/dist/ui-library/p-c2df8c27.entry.js.map +0 -1
  812. package/dist/ui-library/p-c86aa5b3.entry.js +0 -2
  813. package/dist/ui-library/p-c86aa5b3.entry.js.map +0 -1
  814. package/dist/ui-library/p-cd35b3c6.entry.js +0 -2
  815. package/dist/ui-library/p-cd35b3c6.entry.js.map +0 -1
  816. package/dist/ui-library/p-ce373da5.entry.js +0 -2
  817. package/dist/ui-library/p-ce373da5.entry.js.map +0 -1
  818. package/dist/ui-library/p-d2cf4280.entry.js +0 -2
  819. package/dist/ui-library/p-d2cf4280.entry.js.map +0 -1
  820. package/dist/ui-library/p-d310a6dd.entry.js.map +0 -1
  821. package/dist/ui-library/p-dfb6bff6.entry.js +0 -2
  822. package/dist/ui-library/p-dfb6bff6.entry.js.map +0 -1
  823. package/dist/ui-library/p-ee71e3a3.entry.js +0 -2
  824. package/dist/ui-library/p-ee71e3a3.entry.js.map +0 -1
  825. package/dist/ui-library/p-ef317d69.entry.js +0 -2
  826. package/dist/ui-library/p-ef317d69.entry.js.map +0 -1
  827. package/dist/ui-library/p-f385f1c2.entry.js +0 -2
  828. package/dist/ui-library/p-f385f1c2.entry.js.map +0 -1
  829. package/dist/ui-library/p-f73a6bdc.entry.js +0 -2
  830. package/dist/ui-library/p-f73a6bdc.entry.js.map +0 -1
  831. package/dist/ui-library/p-faa04bb5.js +0 -2
  832. package/dist/ui-library/p-faa04bb5.js.map +0 -1
  833. package/dist/ui-library/p-fcd57e0a.entry.js +0 -2
  834. package/dist/ui-library/p-fcd57e0a.entry.js.map +0 -1
  835. /package/dist/ui-library/{p-6907a7dc.js.map → p-605bdd81.js.map} +0 -0
@@ -0,0 +1,166 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
+ import { F as FormControl } from './form-control.js';
3
+ import { h as hasSlot } from './slot.js';
4
+ import { E as EventListeners } from './event-listeners.js';
5
+ import { d as defineCustomElement$1 } from './six-error2.js';
6
+
7
+ const sixCheckboxCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.form-control .form-control__label{display:none}.form-control .form-control__help-text{display:none}.form-control .form-control__error-text{display:none;text-align:left}.form-control--has-label .form-control__label{display:inline-block;color:var(--six-input-label-color);font-weight:var(--six-font-weight-bold);margin-bottom:var(--six-spacing-x-small)}.form-control--has-label .form-control__label__required::after{color:var(--six-color-danger-800);content:\"*\";transform:scale(1.1);margin-left:var(--six-spacing-xxx-small);position:absolute}.form-control--has-label.form-control--small .form-control__label{font-size:var(--six-input-label-font-size-small)}.form-control--has-label.form-control--medium .form-control__label{font-size:var(--six-input-label-font-size-medium)}.form-control--has-label.form-control--large .form-control_label{font-size:var(--six-input-label-font-size-large)}.form-control--has-help-text .form-control__help-text{display:block;color:var(--six-input-help-text-color);margin-top:var(--six-spacing-x-small)}.form-control--has-help-text .form-control__help-text ::slotted(*){margin-top:var(--six-spacing-xxx-small)}.form-control--has-help-text.form-control--small .form-control__help-text{font-size:var(--six-input-help-text-font-size-small)}.form-control--has-help-text.form-control--medium .form-control__help-text{font-size:var(--six-input-help-text-font-size-medium)}.form-control--has-help-text.form-control--large .form-control__help-text{font-size:var(--six-input-help-text-font-size-large)}.form-control--has-error-text .form-control__error-text{display:block;margin-top:var(--six-spacing-xxx-small)}.form-control--has-error-text .form-control__error-text ::slotted(*){margin-top:var(--six-spacing-xxx-small)}.form-control--has-error-text.form-control--small .form-control__error-text{font-size:var(--six-input-help-text-font-size-small)}.form-control--has-error-text.form-control--medium .form-control__error-text{font-size:var(--six-input-help-text-font-size-medium)}.form-control--has-error-text.form-control--large .form-control__error-text{font-size:var(--six-input-help-text-font-size-large)}.form-control--disabled .form-control__help-text{color:var(--six-input-help-text-color-disabled)}.form-control--disabled .form-control__label{color:var(--six-input-label-color-disabled)}.form-control--invalid:not(.form-control--disabled) .form-control__label{color:var(--six-input-label-color)}:host{display:inline-block}.checkbox{display:inline-flex;align-items:center;font-family:var(--six-font-family);font-size:var(--six-input-font-size-medium);font-weight:var(--six-input-font-weight);color:var(--six-input-color);vertical-align:middle;cursor:pointer}.checkbox--focused .checkbox__control{outline:var(--six-focus-ring);outline-offset:0}.checkbox__control{position:relative;display:inline-flex;align-items:center;justify-content:center;width:var(--six-selection-control-toggle-size);min-width:var(--six-selection-control-toggle-size);height:var(--six-selection-control-toggle-size);border:solid var(--six-border-width) var(--six-input-border-color);border-radius:0;background-color:var(--six-input-background-color);color:var(--six-checkbox-color);transition:var(--six-transition-fast) border-color, var(--six-transition-fast) background-color, var(--six-transition-fast) color, var(--six-transition-fast) box-shadow}.checkbox__control input[type=checkbox]{position:absolute;opacity:0;padding:0;margin:0;pointer-events:none;min-width:var(--six-selection-control-toggle-size)}.checkbox__control .checkbox__icon{display:inline-flex;width:var(--six-selection-control-toggle-size);height:var(--six-selection-control-toggle-size)}.checkbox__control .checkbox__icon svg{width:100%;height:100%}.checkbox:not(.checkbox--checked):not(.checkbox--disabled) .checkbox__control:hover{border-color:var(--six-input-border-color-hover)}.checkbox--checked .checkbox__control,.checkbox--indeterminate .checkbox__control{border-color:var(--six-selection-control-color);background-color:var(--six-selection-control-color)}.checkbox.checkbox--checked:not(.checkbox--disabled) .checkbox__control:hover,.checkbox.checkbox--indeterminate:not(.checkbox--disabled) .checkbox__control:hover{border-color:var(--six-input-border-color-focus);background-color:var(--six-input-border-color-focus)}.checkbox--disabled{cursor:not-allowed;color:var(--six-input-color-disabled)}.checkbox--disabled .checkbox__control{border-color:var(--six-input-border-color-disabled)}.checkbox--disabled.checkbox--checked .checkbox__control,.checkbox--disabled.checkbox--indeterminate .checkbox__control{background-color:var(--six-selection-control-color-disabled)}.checkbox--invalid:not(.checkbox--disabled) .checkbox__control{border-color:var(--six-input-border-color-danger)}.checkbox__text{line-height:var(--six-selection-control-toggle-size);margin-left:0.5em;user-select:none}";
8
+ const SixCheckboxStyle0 = sixCheckboxCss;
9
+
10
+ let id = 0;
11
+ const SixCheckbox = /*@__PURE__*/ proxyCustomElement(class SixCheckbox extends HTMLElement {
12
+ constructor() {
13
+ super();
14
+ this.__registerHost();
15
+ this.__attachShadow();
16
+ this.sixBlur = createEvent(this, "six-checkbox-blur", 7);
17
+ this.sixChange = createEvent(this, "six-checkbox-change", 7);
18
+ this.sixFocus = createEvent(this, "six-checkbox-focus", 7);
19
+ this.inputId = `checkbox-${++id}`;
20
+ this.labelId = `checkbox-label-${id}`;
21
+ this.textId = `checkbox-text-${id}`;
22
+ this.errorTextId = `input-error-text-${id}`;
23
+ this.eventListeners = new EventListeners();
24
+ this.handleChange = () => {
25
+ if (this.nativeInput != null) {
26
+ this.checked = this.nativeInput.checked;
27
+ this.indeterminate = false;
28
+ this.sixChange.emit();
29
+ }
30
+ };
31
+ this.handleBlur = () => {
32
+ this.hasFocus = false;
33
+ this.sixBlur.emit();
34
+ };
35
+ this.handleFocus = () => {
36
+ this.hasFocus = true;
37
+ this.sixFocus.emit();
38
+ };
39
+ this.handleMouseDown = (event) => {
40
+ var _a;
41
+ // Prevent clicks on the label from briefly blurring the input
42
+ event.preventDefault();
43
+ (_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.focus();
44
+ };
45
+ this.hasFocus = false;
46
+ this.hasLabelSlot = false;
47
+ this.hasErrorSlot = false;
48
+ this.name = '';
49
+ this.value = 'on';
50
+ this.disabled = false;
51
+ this.required = false;
52
+ this.label = '';
53
+ this.errorText = '';
54
+ this.errorTextCount = undefined;
55
+ this.invalid = false;
56
+ this.checked = false;
57
+ this.indeterminate = false;
58
+ }
59
+ handleCheckedChange() {
60
+ if (this.nativeInput == null)
61
+ return;
62
+ this.nativeInput.checked = this.checked;
63
+ this.checked = this.nativeInput.checked;
64
+ this.nativeInput.indeterminate = this.indeterminate;
65
+ }
66
+ handleLabelChange() {
67
+ this.handleSlotChange();
68
+ }
69
+ connectedCallback() {
70
+ var _a;
71
+ (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.addEventListener('slotchange', this.handleSlotChange);
72
+ this.eventListeners.forward('six-checkbox-change', 'change', this.host);
73
+ this.eventListeners.forward('six-checkbox-blur', 'blur', this.host);
74
+ this.eventListeners.forward('six-checkbox-focus', 'focus', this.host);
75
+ }
76
+ disconnectedCallback() {
77
+ var _a;
78
+ (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.removeEventListener('slotchange', this.handleSlotChange);
79
+ this.eventListeners.removeAll();
80
+ }
81
+ componentWillLoad() {
82
+ this.handleSlotChange();
83
+ }
84
+ componentDidLoad() {
85
+ const nativeInput = this.nativeInput;
86
+ if (nativeInput == null) {
87
+ return;
88
+ }
89
+ nativeInput.indeterminate = this.indeterminate;
90
+ }
91
+ /** Sets focus on the checkbox. */
92
+ async setFocus(options) {
93
+ var _a;
94
+ (_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.focus(options);
95
+ }
96
+ /** Removes focus from the checkbox. */
97
+ async removeFocus() {
98
+ var _a;
99
+ (_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.blur();
100
+ }
101
+ handleSlotChange() {
102
+ this.hasLabelSlot = hasSlot(this.host, 'label');
103
+ this.hasErrorSlot = hasSlot(this.host, 'error-text');
104
+ }
105
+ render() {
106
+ return (h(FormControl, { key: '12e158f9bba9dae3abb2db723d16597b232b92f3', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, errorTextId: this.errorTextId, hasErrorTextSlot: this.hasErrorSlot, errorText: this.errorText, errorTextCount: this.errorTextCount, size: "medium", disabled: this.disabled, required: this.required, displayError: this.invalid }, h("label", { key: 'a6227229bf66e4faf9eb71a5b2c313d471fed2e9', part: "base", class: {
107
+ checkbox: true,
108
+ 'checkbox--checked': this.checked,
109
+ 'checkbox--disabled': this.disabled,
110
+ 'checkbox--focused': this.hasFocus,
111
+ 'checkbox--invalid': this.invalid,
112
+ 'checkbox--indeterminate': this.indeterminate,
113
+ }, htmlFor: this.inputId, onMouseDown: this.handleMouseDown }, h("span", { key: '1d2ff238550165afeff4670e6a7071368d8a9372', part: "control", class: "checkbox__control" }, this.checked && (h("span", { part: "checked-icon", class: "checkbox__icon" }, h("svg", { viewBox: "0 0 16 16" }, h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" }, h("g", { stroke: "currentColor", "stroke-width": "2" }, h("g", { transform: "translate(3.428571, 3.428571)" }, h("path", { d: "M0,5.71428571 L3.42857143,9.14285714" }), h("path", { d: "M9.14285714,0 L3.42857143,9.14285714" }))))))), !this.checked && this.indeterminate && (h("span", { part: "indeterminate-icon", class: "checkbox__icon" }, h("svg", { viewBox: "0 0 16 16" }, h("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" }, h("g", { stroke: "currentColor", "stroke-width": "2" }, h("g", { transform: "translate(2.285714, 6.857143)" }, h("path", { d: "M10.2857143,1.14285714 L1.14285714,1.14285714" }))))))), h("input", { key: 'e6184461c925112762cca5da17cdd5b287a7e88a', ref: (el) => (this.nativeInput = el), id: this.inputId, type: "checkbox", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, required: this.required, role: "checkbox", "aria-checked": this.checked ? 'true' : 'false', "aria-labelledby": this.labelId, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus })), h("span", { key: 'f65e7b7349bb3bc10d1828cb928c377879579944', part: "text", id: this.textId, class: "checkbox__text" }, h("slot", { key: 'b67fbb40e8c47748e6713b708fc7d64be688dd82' })))));
114
+ }
115
+ get host() { return this; }
116
+ static get watchers() { return {
117
+ "checked": ["handleCheckedChange"],
118
+ "indeterminate": ["handleCheckedChange"],
119
+ "errorText": ["handleLabelChange"],
120
+ "label": ["handleLabelChange"]
121
+ }; }
122
+ static get style() { return SixCheckboxStyle0; }
123
+ }, [1, "six-checkbox", {
124
+ "name": [1],
125
+ "value": [1],
126
+ "disabled": [4],
127
+ "required": [4],
128
+ "label": [1],
129
+ "errorText": [1, "error-text"],
130
+ "errorTextCount": [2, "error-text-count"],
131
+ "invalid": [516],
132
+ "checked": [1540],
133
+ "indeterminate": [1540],
134
+ "hasFocus": [32],
135
+ "hasLabelSlot": [32],
136
+ "hasErrorSlot": [32],
137
+ "setFocus": [64],
138
+ "removeFocus": [64]
139
+ }, undefined, {
140
+ "checked": ["handleCheckedChange"],
141
+ "indeterminate": ["handleCheckedChange"],
142
+ "errorText": ["handleLabelChange"],
143
+ "label": ["handleLabelChange"]
144
+ }]);
145
+ function defineCustomElement() {
146
+ if (typeof customElements === "undefined") {
147
+ return;
148
+ }
149
+ const components = ["six-checkbox", "six-error"];
150
+ components.forEach(tagName => { switch (tagName) {
151
+ case "six-checkbox":
152
+ if (!customElements.get(tagName)) {
153
+ customElements.define(tagName, SixCheckbox);
154
+ }
155
+ break;
156
+ case "six-error":
157
+ if (!customElements.get(tagName)) {
158
+ defineCustomElement$1();
159
+ }
160
+ break;
161
+ } });
162
+ }
163
+
164
+ export { SixCheckbox as S, defineCustomElement as d };
165
+
166
+ //# sourceMappingURL=six-checkbox2.js.map
@@ -0,0 +1 @@
1
+ {"file":"six-checkbox2.js","mappings":"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","names":[],"sources":["src/components/six-checkbox/six-checkbox.scss?tag=six-checkbox&encapsulation=shadow","src/components/six-checkbox/six-checkbox.tsx"],"sourcesContent":["@import 'src/global/component';\n@import '../../functional-components/form-control/form-control';\n\n:host {\n display: inline-block;\n}\n\n.checkbox {\n display: inline-flex;\n align-items: center;\n font-family: var(--six-font-family);\n font-size: var(--six-input-font-size-medium);\n font-weight: var(--six-input-font-weight);\n color: var(--six-input-color);\n vertical-align: middle;\n cursor: pointer;\n}\n\n.checkbox--focused {\n .checkbox__control {\n outline: var(--six-focus-ring);\n outline-offset: 0;\n }\n}\n\n.checkbox__control {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--six-selection-control-toggle-size);\n min-width: var(--six-selection-control-toggle-size);\n height: var(--six-selection-control-toggle-size);\n border: solid var(--six-border-width) var(--six-input-border-color);\n border-radius: 0;\n background-color: var(--six-input-background-color);\n color: var(--six-checkbox-color);\n transition: var(--six-transition-fast) border-color, var(--six-transition-fast) background-color,\n var(--six-transition-fast) color, var(--six-transition-fast) box-shadow;\n\n input[type='checkbox'] {\n position: absolute;\n opacity: 0;\n padding: 0;\n margin: 0;\n pointer-events: none;\n min-width: var(--six-selection-control-toggle-size);\n }\n\n .checkbox__icon {\n display: inline-flex;\n width: var(--six-selection-control-toggle-size);\n height: var(--six-selection-control-toggle-size);\n\n svg {\n width: 100%;\n height: 100%;\n }\n }\n}\n\n// Hover\n.checkbox:not(.checkbox--checked):not(.checkbox--disabled) .checkbox__control:hover {\n border-color: var(--six-input-border-color-hover);\n}\n\n// Checked/indeterminate\n.checkbox--checked .checkbox__control,\n.checkbox--indeterminate .checkbox__control {\n border-color: var(--six-selection-control-color);\n background-color: var(--six-selection-control-color);\n}\n\n// Checked/indeterminate + hover\n.checkbox.checkbox--checked:not(.checkbox--disabled) .checkbox__control:hover,\n.checkbox.checkbox--indeterminate:not(.checkbox--disabled) .checkbox__control:hover {\n border-color: var(--six-input-border-color-focus);\n background-color: var(--six-input-border-color-focus);\n}\n\n// Disabled\n.checkbox--disabled {\n cursor: not-allowed;\n color: var(--six-input-color-disabled);\n\n .checkbox__control {\n border-color: var(--six-input-border-color-disabled);\n }\n\n &.checkbox--checked .checkbox__control,\n &.checkbox--indeterminate .checkbox__control {\n background-color: var(--six-selection-control-color-disabled);\n }\n}\n\n// Invalid\n.checkbox--invalid:not(.checkbox--disabled) {\n .checkbox__control {\n border-color: var(--six-input-border-color-danger);\n }\n}\n\n.checkbox__text {\n line-height: var(--six-selection-control-toggle-size);\n margin-left: 0.5em;\n user-select: none;\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport FormControl from '../../functional-components/form-control/form-control';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { EventListeners } from '../../utils/event-listeners';\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot label - The checkbox label.\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part control - The checkbox control.\n * @part checked-icon - The container the wraps the checked icon.\n * @part indeterminate-icon - The container that wraps the indeterminate icon.\n * @part text - The checkbox text rendered to the right.\n */\n\n@Component({\n tag: 'six-checkbox',\n styleUrl: 'six-checkbox.scss',\n shadow: true,\n})\nexport class SixCheckbox {\n private inputId = `checkbox-${++id}`;\n private labelId = `checkbox-label-${id}`;\n private textId = `checkbox-text-${id}`;\n private errorTextId = `input-error-text-${id}`;\n private nativeInput?: HTMLInputElement;\n private eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixCheckboxElement;\n\n @State() hasFocus = false;\n @State() hasLabelSlot = false;\n @State() hasErrorSlot = false;\n\n /** The checkbox's name attribute. */\n @Prop() name = '';\n\n /**\n * The value of the checkbox does not mean if it's checked or not, use the `checked`\n * property for that.\n *\n * The value of a checkbox is analogous to the value of an `<input type=\"checkbox\">`,\n * it's only used when the checkbox participates in a native `<form>`.\n */\n @Prop() value = 'on';\n\n /** Set to true to disable the checkbox. */\n @Prop() disabled = false;\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** The label text. */\n @Prop() label = '';\n\n /** The error message shown, if `invalid` is set to true. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n /** Set to true to draw the checkbox in a checked state. */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /** Set to true to draw the checkbox in an indeterminate state. */\n @Prop({ mutable: true, reflect: true }) indeterminate = false;\n\n /** Emitted when the control loses focus. */\n @Event({ eventName: 'six-checkbox-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control's checked state changes. */\n @Event({ eventName: 'six-checkbox-change' }) sixChange!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-checkbox-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n @Watch('checked')\n @Watch('indeterminate')\n handleCheckedChange() {\n if (this.nativeInput == null) return;\n\n this.nativeInput.checked = this.checked;\n this.checked = this.nativeInput.checked;\n this.nativeInput.indeterminate = this.indeterminate;\n }\n\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-checkbox-change', 'change', this.host);\n this.eventListeners.forward('six-checkbox-blur', 'blur', this.host);\n this.eventListeners.forward('six-checkbox-focus', 'focus', this.host);\n }\n\n disconnectedCallback() {\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n componentDidLoad() {\n const nativeInput = this.nativeInput;\n if (nativeInput == null) {\n return;\n }\n\n nativeInput.indeterminate = this.indeterminate;\n }\n\n /** Sets focus on the checkbox. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.nativeInput?.focus(options);\n }\n\n /** Removes focus from the checkbox. */\n @Method()\n async removeFocus() {\n this.nativeInput?.blur();\n }\n\n private handleChange = () => {\n if (this.nativeInput != null) {\n this.checked = this.nativeInput.checked;\n this.indeterminate = false;\n this.sixChange.emit();\n }\n };\n\n private handleBlur = () => {\n this.hasFocus = false;\n this.sixBlur.emit();\n };\n\n private handleFocus = () => {\n this.hasFocus = true;\n this.sixFocus.emit();\n };\n\n private handleMouseDown = (event: MouseEvent) => {\n // Prevent clicks on the label from briefly blurring the input\n event.preventDefault();\n this.nativeInput?.focus();\n };\n\n private handleSlotChange() {\n this.hasLabelSlot = hasSlot(this.host, 'label');\n this.hasErrorSlot = hasSlot(this.host, 'error-text');\n }\n\n render() {\n return (\n <FormControl\n inputId={this.inputId}\n label={this.label}\n labelId={this.labelId}\n hasLabelSlot={this.hasLabelSlot}\n errorTextId={this.errorTextId}\n hasErrorTextSlot={this.hasErrorSlot}\n errorText={this.errorText}\n errorTextCount={this.errorTextCount}\n size=\"medium\"\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <label\n part=\"base\"\n class={{\n checkbox: true,\n 'checkbox--checked': this.checked,\n 'checkbox--disabled': this.disabled,\n 'checkbox--focused': this.hasFocus,\n 'checkbox--invalid': this.invalid,\n 'checkbox--indeterminate': this.indeterminate,\n }}\n htmlFor={this.inputId}\n onMouseDown={this.handleMouseDown}\n >\n <span part=\"control\" class=\"checkbox__control\">\n {this.checked && (\n <span part=\"checked-icon\" class=\"checkbox__icon\">\n <svg viewBox=\"0 0 16 16\">\n <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" stroke-linecap=\"round\">\n <g stroke=\"currentColor\" stroke-width=\"2\">\n <g transform=\"translate(3.428571, 3.428571)\">\n <path d=\"M0,5.71428571 L3.42857143,9.14285714\"></path>\n <path d=\"M9.14285714,0 L3.42857143,9.14285714\"></path>\n </g>\n </g>\n </g>\n </svg>\n </span>\n )}\n\n {!this.checked && this.indeterminate && (\n <span part=\"indeterminate-icon\" class=\"checkbox__icon\">\n <svg viewBox=\"0 0 16 16\">\n <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\" stroke-linecap=\"round\">\n <g stroke=\"currentColor\" stroke-width=\"2\">\n <g transform=\"translate(2.285714, 6.857143)\">\n <path d=\"M10.2857143,1.14285714 L1.14285714,1.14285714\"></path>\n </g>\n </g>\n </g>\n </svg>\n </span>\n )}\n\n <input\n ref={(el) => (this.nativeInput = el)}\n id={this.inputId}\n type=\"checkbox\"\n name={this.name}\n value={this.value}\n checked={this.checked}\n disabled={this.disabled}\n required={this.required}\n role=\"checkbox\"\n aria-checked={this.checked ? 'true' : 'false'}\n aria-labelledby={this.labelId}\n onChange={this.handleChange}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n />\n </span>\n\n <span part=\"text\" id={this.textId} class=\"checkbox__text\">\n <slot />\n </span>\n </label>\n </FormControl>\n );\n }\n}\n"],"version":3}
@@ -114,6 +114,31 @@ const i18nDate = {
114
114
  weekdaysShort: ['lun', 'mar', 'mer', 'gio', 'ven', 'sab', 'dom'],
115
115
  weekdaysMin: ['lu', 'ma', 'me', 'gi', 've', 'sa', 'do'],
116
116
  },
117
+ es: {
118
+ months: [
119
+ 'enero',
120
+ 'febrero',
121
+ 'marzo',
122
+ 'abril',
123
+ 'mayo',
124
+ 'junio',
125
+ 'julio',
126
+ 'agosto',
127
+ 'septiembre',
128
+ 'octubre',
129
+ 'noviembre',
130
+ 'diciembre',
131
+ ],
132
+ monthsShort: ['ene', 'feb', 'mar', 'abr', 'may', 'jun', 'jul', 'ago', 'sep', 'oct', 'nov', 'dic'],
133
+ monthsShortGrouped: [
134
+ ['ene', 'feb', 'mar', 'abr'],
135
+ ['may', 'jun', 'jul', 'ago'],
136
+ ['sep', 'oct', 'nov', 'dic'],
137
+ ],
138
+ weekdays: ['lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado', 'domingo'],
139
+ weekdaysShort: ['lun', 'mar', 'mié', 'jue', 'vie', 'sáb', 'dom'],
140
+ weekdaysMin: ['lu', 'ma', 'mi', 'ju', 'vi', 'sa', 'do'],
141
+ },
117
142
  };
118
143
  /**
119
144
  * Returns a JS Date instance of the exact moment
@@ -520,6 +545,7 @@ function rangeAround(number, range) {
520
545
  }, []);
521
546
  }
522
547
 
548
+ // eslint-disable-next-line @stencil-community/ban-exported-const-enums
523
549
  var SixDateFormats;
524
550
  (function (SixDateFormats) {
525
551
  SixDateFormats["DDMMYYY_DOT"] = "dd.mm.yyyy";
@@ -581,7 +607,8 @@ const YearSelection = (yearSelectionParams) => {
581
607
  })))))));
582
608
  };
583
609
 
584
- const sixDatepickerCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:block;font-family:var(--six-font-family)}.datepicker__container{position:relative}.datepicker__popup{min-width:400px;background-color:white;padding:0.5em 0.5em 1.5em;box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);user-select:none;position:absolute;z-index:var(--six-z-index-dropdown);right:0;left:0}.datepicker__popup--is-up{bottom:100%;min-height:382px}.datepicker__popup--is-inline{position:initial;box-shadow:none;border:1px solid var(--six-color-web-rock-400)}.datepicker-header{display:flex;justify-content:space-between;border-bottom:1px solid var(--six-color-web-rock-400);padding:0.5em;margin-bottom:1em}.datepicker-header svg{fill:var(--six-color-web-rock-900);stroke:none}.datepicker-header__btn{cursor:pointer;width:2.5em;height:2.5em;display:flex;vertical-align:middle;align-items:center;justify-content:center}.datepicker-header__btn:hover{background-color:var(--six-color-web-rock-100);border-radius:100%}.datepicker-header__label{display:flex}.datepicker-header__label>div{cursor:pointer;padding:0.5em;display:flex;vertical-align:middle;align-items:center;justify-content:center}.datepicker-header__label>div:hover{background-color:var(--six-color-web-rock-100)}.datepicker-table{width:100%}.datepicker-table__cell{text-align:center;width:2.5rem;height:2.5rem;cursor:pointer}.datepicker-table__cell:hover{background-color:var(--six-color-web-rock-100)}.datepicker-table__cell--is-today{border:1px solid var(--six-color-web-rock-400)}.datepicker-table__cell--is-selected{background-color:var(--six-color-red);color:var(--six-color-white)}.datepicker-table__cell--is-disabled{background-color:var(--six-color-web-rock-200);cursor:initial}.datepicker-table__cell--is-disabled:hover{background-color:var(--six-color-web-rock-200)}.datepicker-table__cell--is-outdated{color:var(--six-color-web-rock-400)}.datepicker-clear{display:inline-flex;align-items:center;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;padding:0;transition:var(--six-transition-fast) color;cursor:pointer}.datepicker-clear:hover{color:var(--six-input-icon-color-hover)}.datepicker-clear:focus{outline:none}.datepicker-clear--right{right:0;position:absolute}.datepicker-clear--left{right:35px;position:absolute}.input--empty .datepicker-clear{visibility:hidden}.prefix{cursor:pointer}.prefix--right{right:0;display:inline-flex;position:absolute;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;margin-right:var(--six-input-spacing-medium);transition:var(--six-transition-fast) color}six-timepicker::part(popup){border:none;padding:0.5em 0.5em 0;min-height:0}";
610
+ const sixDatepickerCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}:host{display:block;font-family:var(--six-font-family)}.datepicker__container{position:relative}.datepicker__popup{min-width:400px;background-color:white;padding:0.5em 0.5em 1.5em;box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);user-select:none;position:absolute;z-index:var(--six-z-index-dropdown);right:0;left:0}.datepicker__popup--is-up{bottom:100%;min-height:382px}.datepicker__popup--is-inline{position:initial;box-shadow:none;border:1px solid var(--six-color-web-rock-400)}.datepicker-header{display:flex;justify-content:space-between;border-bottom:1px solid var(--six-color-web-rock-400);padding:0.5em;margin-bottom:1em}.datepicker-header svg{fill:var(--six-color-web-rock-900);stroke:none}.datepicker-header__btn{cursor:pointer;width:2.5em;height:2.5em;display:flex;vertical-align:middle;align-items:center;justify-content:center}.datepicker-header__btn:hover{background-color:var(--six-color-web-rock-100);border-radius:100%}.datepicker-header__label{display:flex}.datepicker-header__label>div{cursor:pointer;padding:0.5em;display:flex;vertical-align:middle;align-items:center;justify-content:center}.datepicker-header__label>div:hover{background-color:var(--six-color-web-rock-100)}.datepicker-table{width:100%}.datepicker-table__cell{text-align:center;width:2.5rem;height:2.5rem;cursor:pointer}.datepicker-table__cell:hover{background-color:var(--six-color-web-rock-100)}.datepicker-table__cell--is-today{border:1px solid var(--six-color-web-rock-400)}.datepicker-table__cell--is-selected{background-color:var(--six-color-red);color:var(--six-color-white)}.datepicker-table__cell--is-disabled{background-color:var(--six-color-web-rock-200);cursor:initial}.datepicker-table__cell--is-disabled:hover{background-color:var(--six-color-web-rock-200)}.datepicker-table__cell--is-outdated{color:var(--six-color-web-rock-400)}.datepicker-clear{display:inline-flex;align-items:center;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;padding:0;transition:var(--six-transition-fast) color;cursor:pointer}.datepicker-clear:hover{color:var(--six-input-icon-color-hover)}.datepicker-clear:focus{outline:none}.datepicker-clear--right{right:0;position:absolute}.datepicker-clear--left{right:35px;position:absolute}.input--empty .datepicker-clear{visibility:hidden}.prefix{cursor:pointer}.prefix--right{right:0;display:inline-flex;position:absolute;font-size:inherit;color:var(--six-input-icon-color);border:none;background:none;margin-right:var(--six-input-spacing-medium);transition:var(--six-transition-fast) color}six-timepicker::part(popup){border:none;padding:0.5em 0.5em 0;min-height:0}";
611
+ const SixDatepickerStyle0 = sixDatepickerCss;
585
612
 
586
613
  const NUMBER_OF_YEARS_SHOWN = 25;
587
614
  const MIN_POPUP_HEIGHT = 400;
@@ -706,19 +733,21 @@ const SixDatepicker$1 = /*@__PURE__*/ proxyCustomElement(class SixDatepicker ext
706
733
  }
707
734
  };
708
735
  this.handleOnBlur = (event) => {
709
- var _a, _b;
736
+ var _a, _b, _c;
737
+ event.stopPropagation();
710
738
  // clear the value if the user deleted the date
711
739
  if (((_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.value) === '' && isValidDate(this.value)) {
712
740
  this.value = undefined;
713
741
  this.sixSelect.emit(this.value);
714
742
  }
715
- event.stopPropagation();
716
- const inputValue = (_b = this.inputElement) === null || _b === void 0 ? void 0 : _b.value;
717
- const inputValueDate = toDate(inputValue, this.dateFormat);
718
- const formattedDate = formatDate(this.value, this.dateFormat);
719
- if (this.inputElement != null && inputValueDate != null && inputValue !== formattedDate) {
720
- // properly format date if necessary
721
- this.inputElement.value = formattedDate;
743
+ const currentDate = toDate((_b = this.inputElement) === null || _b === void 0 ? void 0 : _b.value, this.dateFormat);
744
+ if (isValidDate(currentDate) && ((_c = this.value) === null || _c === void 0 ? void 0 : _c.getTime()) !== (currentDate === null || currentDate === void 0 ? void 0 : currentDate.getTime())) {
745
+ // Set the value if the input field's value has changed. This can happen if the blur occurs
746
+ // before the change event had a chance to fire due to its debouncing.
747
+ this.value = currentDate;
748
+ }
749
+ if (this.inputElement != null) {
750
+ this.inputElement.value = formatDate(this.value, this.dateFormat);
722
751
  }
723
752
  this.sixBlur.emit(this.value);
724
753
  };
@@ -984,11 +1013,11 @@ const SixDatepicker$1 = /*@__PURE__*/ proxyCustomElement(class SixDatepicker ext
984
1013
  render() {
985
1014
  var _a, _b, _c;
986
1015
  this.adjustPopupPosition();
987
- return (h("div", { ref: (el) => (this.wrapper = el), class: "datepicker__container" }, h("six-input", { part: "base", value: formatDate(this.value, this.dateFormat), ref: (el) => (this.inputElement = el), placeholder: this.placeholder, readonly: this.readonly, disabled: this.disabled, name: this.name, label: this.label, required: this.required, errorText: this.errorText, errorTextCount: this.errorTextCount, invalid: this.invalid, onClick: () => this.openCalendar(), size: this.size, class: { 'input--empty': this.value == null } }, this.renderCustomIcon(), this.renderClearable(), hasSlot(this.host, 'label') ? (h("span", { slot: "label" }, h("slot", { name: "label" }))) : null, hasSlot(this.host, 'error-text') ? (h("span", { slot: "error-text" }, h("slot", { name: "error-text" }))) : null), this.open && (h("div", { part: "popup", ref: (el) => (this.popup = el), class: {
1016
+ return (h("div", { key: '8459cda3520ec482fd64237553bb19771c58a845', ref: (el) => (this.wrapper = el), class: "datepicker__container" }, h("six-input", { key: 'a14b8687952ec15b0148b348bac92eb23e5f7e05', part: "base", value: formatDate(this.value, this.dateFormat), ref: (el) => (this.inputElement = el), placeholder: this.placeholder, readonly: this.readonly, disabled: this.disabled, name: this.name, label: this.label, required: this.required, errorText: this.errorText, errorTextCount: this.errorTextCount, invalid: this.invalid, onClick: () => this.openCalendar(), size: this.size, class: { 'input--empty': this.value == null } }, this.renderCustomIcon(), this.renderClearable(), hasSlot(this.host, 'label') ? (h("span", { slot: "label" }, h("slot", { name: "label" }))) : null, hasSlot(this.host, 'error-text') ? (h("span", { slot: "error-text" }, h("slot", { name: "error-text" }))) : null), this.open && (h("div", { part: "popup", ref: (el) => (this.popup = el), class: {
988
1017
  datepicker__popup: true,
989
1018
  'datepicker__popup--is-up': this.placement != null ? this.placement === 'top' : this.isDropDownContentUp,
990
1019
  'datepicker__popup--is-inline': this.inline,
991
- } }, this.renderHeader(), this.renderBody(), this.type === 'date-time' && (h("six-timepicker", { inline: true, "onSix-timepicker-change-debounced": (event) => this.onTimepickerChange(event), value: ((_a = this.selectedDate) === null || _a === void 0 ? void 0 : _a.getHours()) +
1020
+ } }, this.renderHeader(), this.renderBody(), this.type === 'date-time' && (h("six-timepicker", { debounce: this.debounce, inline: true, "onSix-timepicker-change-debounced": (event) => this.onTimepickerChange(event), value: ((_a = this.selectedDate) === null || _a === void 0 ? void 0 : _a.getHours()) +
992
1021
  ':' +
993
1022
  ((_b = this.selectedDate) === null || _b === void 0 ? void 0 : _b.getMinutes()) +
994
1023
  ':' +
@@ -1020,7 +1049,7 @@ const SixDatepicker$1 = /*@__PURE__*/ proxyCustomElement(class SixDatepicker ext
1020
1049
  "debounce": ["debounceChanged"],
1021
1050
  "value": ["valueChanged"]
1022
1051
  }; }
1023
- static get style() { return sixDatepickerCss; }
1052
+ static get style() { return SixDatepickerStyle0; }
1024
1053
  }, [1, "six-datepicker", {
1025
1054
  "type": [1],
1026
1055
  "locale": [1],