@six-group/ui-library 0.0.0-insider.4b8cb1b → 0.0.0-insider.513eb55

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 (1433) 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/{form-control-8d64e974.js → form-control-b39f1df5.js} +2 -2
  4. package/dist/cjs/{form-control-8d64e974.js.map → form-control-b39f1df5.js.map} +1 -1
  5. package/dist/cjs/index-417a06c8.js +1936 -0
  6. package/dist/cjs/index-417a06c8.js.map +1 -0
  7. package/dist/cjs/loader.cjs.js +5 -3
  8. package/dist/cjs/loader.cjs.js.map +1 -1
  9. package/dist/cjs/{modal-3ce015be.js → modal-bd7fc5bc.js} +1 -18
  10. package/dist/cjs/modal-bd7fc5bc.js.map +1 -0
  11. package/dist/cjs/six-alert.cjs.entry.js +17 -7
  12. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  13. package/dist/cjs/six-avatar.cjs.entry.js +5 -4
  14. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  15. package/dist/cjs/six-badge.cjs.entry.js +5 -4
  16. package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
  17. package/dist/cjs/six-button.cjs.entry.js +7 -5
  18. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  19. package/dist/cjs/six-card.cjs.entry.js +4 -3
  20. package/dist/cjs/six-card.cjs.entry.js.map +1 -1
  21. package/dist/cjs/six-checkbox_2.cjs.entry.js +11 -9
  22. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -1
  23. package/dist/cjs/six-datepicker.cjs.entry.js +41 -13
  24. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  25. package/dist/cjs/six-details.cjs.entry.js +6 -5
  26. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  27. package/dist/cjs/six-dialog.cjs.entry.js +14 -30
  28. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  29. package/dist/cjs/six-drawer.cjs.entry.js +13 -30
  30. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  31. package/dist/cjs/six-dropdown_2.cjs.entry.js +23 -12
  32. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
  33. package/dist/cjs/six-error-page.cjs.entry.js +4 -3
  34. package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
  35. package/dist/cjs/six-error.cjs.entry.js +5 -4
  36. package/dist/cjs/six-error.cjs.entry.js.map +1 -1
  37. package/dist/cjs/six-file-list-item.cjs.entry.js +5 -4
  38. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  39. package/dist/cjs/six-file-list.cjs.entry.js +4 -3
  40. package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
  41. package/dist/cjs/six-file-upload.cjs.entry.js +33 -13
  42. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  43. package/dist/cjs/six-footer.cjs.entry.js +4 -3
  44. package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
  45. package/dist/cjs/six-group-label.cjs.entry.js +5 -4
  46. package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
  47. package/dist/cjs/six-header.cjs.entry.js +24 -16
  48. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  49. package/dist/cjs/six-icon-button.cjs.entry.js +6 -5
  50. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  51. package/dist/cjs/six-icon.cjs.entry.js +5 -4
  52. package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
  53. package/dist/cjs/six-input.cjs.entry.js +17 -7
  54. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  55. package/dist/cjs/six-item-picker.cjs.entry.js +6 -5
  56. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
  57. package/dist/cjs/six-language-switcher.cjs.entry.js +11 -6
  58. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
  59. package/dist/cjs/six-layout-grid.cjs.entry.js +4 -3
  60. package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
  61. package/dist/cjs/six-main-container.cjs.entry.js +4 -3
  62. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
  63. package/dist/cjs/six-menu-divider.cjs.entry.js +4 -3
  64. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
  65. package/dist/cjs/six-menu-label.cjs.entry.js +4 -3
  66. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
  67. package/dist/cjs/six-picto.cjs.entry.js +4 -3
  68. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  69. package/dist/cjs/six-progress-bar.cjs.entry.js +6 -5
  70. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  71. package/dist/cjs/six-progress-ring.cjs.entry.js +4 -3
  72. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  73. package/dist/cjs/six-radio.cjs.entry.js +5 -4
  74. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  75. package/dist/cjs/six-range.cjs.entry.js +17 -6
  76. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  77. package/dist/cjs/six-root.cjs.entry.js +4 -3
  78. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  79. package/dist/cjs/six-search-field.cjs.entry.js +4 -3
  80. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
  81. package/dist/cjs/six-select.cjs.entry.js +93 -50
  82. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  83. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +4 -3
  84. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  85. package/dist/cjs/six-sidebar-item.cjs.entry.js +5 -4
  86. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  87. package/dist/cjs/six-sidebar.cjs.entry.js +5 -4
  88. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
  89. package/dist/cjs/six-spinner.cjs.entry.js +3 -2
  90. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  91. package/dist/cjs/six-stage-indicator.cjs.entry.js +3 -2
  92. package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -1
  93. package/dist/cjs/six-switch.cjs.entry.js +6 -5
  94. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  95. package/dist/cjs/six-tab-group.cjs.entry.js +34 -8
  96. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  97. package/dist/cjs/six-tab-panel.cjs.entry.js +4 -3
  98. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
  99. package/dist/cjs/six-tab.cjs.entry.js +5 -4
  100. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  101. package/dist/cjs/six-tag.cjs.entry.js +5 -4
  102. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  103. package/dist/cjs/six-textarea.cjs.entry.js +7 -6
  104. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  105. package/dist/cjs/six-tile.cjs.entry.js +8 -7
  106. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  107. package/dist/cjs/six-timepicker.cjs.entry.js +5 -4
  108. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  109. package/dist/cjs/six-tooltip.cjs.entry.js +5 -4
  110. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
  111. package/dist/cjs/ui-library.cjs.js +13 -11
  112. package/dist/cjs/ui-library.cjs.js.map +1 -1
  113. package/dist/collection/assets/TRADEMARKS.md +3 -3
  114. package/dist/collection/collection-manifest.json +3 -3
  115. package/dist/collection/components/six-alert/six-alert.js +15 -6
  116. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  117. package/dist/collection/components/six-avatar/six-avatar.js +2 -2
  118. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  119. package/dist/collection/components/six-badge/six-badge.js +2 -2
  120. package/dist/collection/components/six-badge/six-badge.js.map +1 -1
  121. package/dist/collection/components/six-button/six-button.css +17 -0
  122. package/dist/collection/components/six-button/six-button.js +5 -4
  123. package/dist/collection/components/six-button/six-button.js.map +1 -1
  124. package/dist/collection/components/six-card/six-card.js +1 -1
  125. package/dist/collection/components/six-card/six-card.js.map +1 -1
  126. package/dist/collection/components/six-checkbox/six-checkbox.css +2 -0
  127. package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
  128. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  129. package/dist/collection/components/six-datepicker/six-datepicker.js +15 -13
  130. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  131. package/dist/collection/components/six-details/six-details.js +3 -3
  132. package/dist/collection/components/six-details/six-details.js.map +1 -1
  133. package/dist/collection/components/six-dialog/six-dialog.js +10 -28
  134. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  135. package/dist/collection/components/six-drawer/six-drawer.js +9 -28
  136. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  137. package/dist/collection/components/six-dropdown/six-dropdown.js +5 -5
  138. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  139. package/dist/collection/components/six-error/six-error.css +1 -0
  140. package/dist/collection/components/six-error/six-error.js +1 -1
  141. package/dist/collection/components/six-error/six-error.js.map +1 -1
  142. package/dist/collection/components/six-error-page/six-error-page.js +1 -1
  143. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
  144. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  145. package/dist/collection/components/six-file-list/six-file-list.js.map +1 -1
  146. package/dist/collection/components/six-file-list-item/six-file-list-item.js +2 -2
  147. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  148. package/dist/collection/components/six-file-upload/six-file-upload.css +11 -0
  149. package/dist/collection/components/six-file-upload/six-file-upload.js +86 -11
  150. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  151. package/dist/collection/components/six-footer/six-footer.js +1 -1
  152. package/dist/collection/components/six-footer/six-footer.js.map +1 -1
  153. package/dist/collection/components/six-group-label/six-group-label.js +1 -1
  154. package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
  155. package/dist/collection/components/six-header/six-header.css +9 -0
  156. package/dist/collection/components/six-header/six-header.js +38 -13
  157. package/dist/collection/components/six-header/six-header.js.map +1 -1
  158. package/dist/collection/components/six-icon/six-icon.js +2 -2
  159. package/dist/collection/components/six-icon/six-icon.js.map +1 -1
  160. package/dist/collection/components/six-icon-button/six-icon-button.js +3 -3
  161. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  162. package/dist/collection/components/six-input/six-input.css +1 -0
  163. package/dist/collection/components/six-input/six-input.js +41 -5
  164. package/dist/collection/components/six-input/six-input.js.map +1 -1
  165. package/dist/collection/components/six-item-picker/six-item-picker.js +3 -3
  166. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  167. package/dist/collection/components/six-language-switcher/six-language-switcher.css +7 -2
  168. package/dist/collection/components/six-language-switcher/six-language-switcher.js +7 -3
  169. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  170. package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
  171. package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
  172. package/dist/collection/components/six-main-container/six-main-container.js +1 -1
  173. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
  174. package/dist/collection/components/six-menu/six-menu.js +13 -4
  175. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  176. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  177. package/dist/collection/components/six-menu-divider/six-menu-divider.js.map +1 -1
  178. package/dist/collection/components/six-menu-item/six-menu-item.js +2 -2
  179. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  180. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  181. package/dist/collection/components/six-menu-label/six-menu-label.js.map +1 -1
  182. package/dist/collection/components/six-picto/six-picto.js +1 -1
  183. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  184. package/dist/collection/components/six-progress-bar/six-progress-bar.js +3 -3
  185. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  186. package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
  187. package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
  188. package/dist/collection/components/six-radio/six-radio.js +2 -2
  189. package/dist/collection/components/six-radio/six-radio.js.map +1 -1
  190. package/dist/collection/components/six-range/six-range.css +1 -1
  191. package/dist/collection/components/six-range/six-range.js +12 -2
  192. package/dist/collection/components/six-range/six-range.js.map +1 -1
  193. package/dist/collection/components/six-root/six-root.js +1 -1
  194. package/dist/collection/components/six-root/six-root.js.map +1 -1
  195. package/dist/collection/components/six-search-field/six-search-field.js +1 -1
  196. package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
  197. package/dist/collection/components/six-select/six-select.js +56 -47
  198. package/dist/collection/components/six-select/six-select.js.map +1 -1
  199. package/dist/collection/components/six-select/util.js +24 -0
  200. package/dist/collection/components/six-select/util.js.map +1 -1
  201. package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
  202. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
  203. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
  204. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
  205. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +1 -0
  206. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  207. package/dist/collection/components/six-switch/six-switch.js +2 -2
  208. package/dist/collection/components/six-switch/six-switch.js.map +1 -1
  209. package/dist/collection/components/six-tab/six-tab.js +2 -2
  210. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  211. package/dist/collection/components/six-tab-group/six-tab-group.js +33 -7
  212. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  213. package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
  214. package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
  215. package/dist/collection/components/six-tag/six-tag.js +2 -2
  216. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  217. package/dist/collection/components/six-textarea/six-textarea.css +5 -0
  218. package/dist/collection/components/six-textarea/six-textarea.js +4 -4
  219. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
  220. package/dist/collection/components/six-tile/six-tile.js +5 -5
  221. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  222. package/dist/collection/components/six-timepicker/six-timepicker.js +2 -2
  223. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  224. package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
  225. package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
  226. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
  227. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  228. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
  229. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  230. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
  231. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  232. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
  233. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  234. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
  235. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  236. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
  237. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  238. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
  239. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  240. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
  241. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  242. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
  243. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  244. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
  245. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  246. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
  247. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  248. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
  249. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  250. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
  251. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  252. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
  253. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  254. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
  255. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  256. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
  257. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  258. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
  259. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  260. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
  261. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  262. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  263. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  264. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  265. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  266. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  267. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  268. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  269. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  270. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  271. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  272. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  273. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  274. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  275. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  276. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  277. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  278. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  279. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  280. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  281. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  282. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  283. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  284. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  285. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  286. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  287. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  288. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  289. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  290. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  291. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  292. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  293. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  294. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  295. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  296. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  297. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  298. package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
  299. package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  300. package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
  301. package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  302. package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
  303. package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  304. package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
  305. package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  306. package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
  307. package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  308. package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
  309. package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  310. package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
  311. package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  312. package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
  313. package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  314. package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
  315. package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  316. package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
  317. package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  318. package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
  319. package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  320. package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
  321. package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  322. package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
  323. package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  324. package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
  325. package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  326. package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
  327. package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  328. package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
  329. package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  330. package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
  331. package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  332. package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
  333. package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  334. package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
  335. package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
  336. package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
  337. package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
  338. package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
  339. package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
  340. package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
  341. package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
  342. package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
  343. package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
  344. package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
  345. package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
  346. package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
  347. package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
  348. package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
  349. package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
  350. package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
  351. package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
  352. package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
  353. package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
  354. package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
  355. package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
  356. package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
  357. package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
  358. package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
  359. package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
  360. package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
  361. package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
  362. package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
  363. package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
  364. package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
  365. package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
  366. package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
  367. package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
  368. package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
  369. package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
  370. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
  371. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  372. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
  373. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  374. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
  375. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  376. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
  377. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  378. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
  379. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  380. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
  381. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  382. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
  383. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  384. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
  385. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  386. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
  387. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  388. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
  389. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  390. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
  391. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  392. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
  393. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  394. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
  395. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  396. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
  397. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  398. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
  399. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  400. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
  401. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  402. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
  403. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  404. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
  405. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  406. package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
  407. package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
  408. package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
  409. package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
  410. package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
  411. package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
  412. package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
  413. package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
  414. package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
  415. package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
  416. package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
  417. package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
  418. package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
  419. package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
  420. package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
  421. package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
  422. package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
  423. package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
  424. package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
  425. package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
  426. package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
  427. package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
  428. package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
  429. package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
  430. package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
  431. package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
  432. package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
  433. package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
  434. package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
  435. package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
  436. package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
  437. package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
  438. package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
  439. package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
  440. package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
  441. package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
  442. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
  443. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  444. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
  445. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  446. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
  447. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  448. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
  449. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  450. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
  451. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  452. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
  453. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  454. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
  455. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  456. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
  457. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  458. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
  459. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  460. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
  461. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  462. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
  463. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  464. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
  465. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  466. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
  467. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  468. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
  469. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  470. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
  471. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  472. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
  473. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  474. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
  475. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  476. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
  477. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  478. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
  479. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  480. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
  481. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  482. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
  483. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  484. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
  485. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  486. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
  487. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  488. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
  489. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  490. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
  491. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  492. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
  493. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  494. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
  495. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  496. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
  497. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  498. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
  499. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  500. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
  501. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  502. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
  503. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  504. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
  505. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  506. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
  507. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  508. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
  509. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  510. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
  511. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  512. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
  513. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  514. package/dist/collection/utils/alert.js.map +1 -1
  515. package/dist/collection/utils/date-util.js +25 -0
  516. package/dist/collection/utils/date-util.js.map +1 -1
  517. package/dist/collection/utils/error-messages.js.map +1 -1
  518. package/dist/collection/utils/event-listeners.js.map +1 -1
  519. package/dist/collection/utils/focus-visible.js.map +1 -1
  520. package/dist/collection/utils/form.js.map +1 -1
  521. package/dist/collection/utils/modal.js.map +1 -1
  522. package/dist/collection/utils/popover.js.map +1 -1
  523. package/dist/collection/utils/popup.js.map +1 -1
  524. package/dist/collection/utils/scroll.js.map +1 -1
  525. package/dist/collection/utils/slot.js.map +1 -1
  526. package/dist/collection/utils/tabbable.js.map +1 -1
  527. package/dist/collection/utils/time.util.js.map +1 -1
  528. package/dist/components/modal.js +1 -17
  529. package/dist/components/modal.js.map +1 -1
  530. package/dist/components/six-alert.js +16 -6
  531. package/dist/components/six-alert.js.map +1 -1
  532. package/dist/components/six-avatar.js +4 -3
  533. package/dist/components/six-avatar.js.map +1 -1
  534. package/dist/components/six-badge.js +4 -3
  535. package/dist/components/six-badge.js.map +1 -1
  536. package/dist/components/six-button2.js +6 -4
  537. package/dist/components/six-button2.js.map +1 -1
  538. package/dist/components/six-card.js +3 -2
  539. package/dist/components/six-card.js.map +1 -1
  540. package/dist/components/six-checkbox2.js +5 -4
  541. package/dist/components/six-checkbox2.js.map +1 -1
  542. package/dist/components/six-datepicker.js +40 -12
  543. package/dist/components/six-datepicker.js.map +1 -1
  544. package/dist/components/six-details2.js +5 -4
  545. package/dist/components/six-details2.js.map +1 -1
  546. package/dist/components/six-dialog.js +13 -29
  547. package/dist/components/six-dialog.js.map +1 -1
  548. package/dist/components/six-drawer.js +12 -29
  549. package/dist/components/six-drawer.js.map +1 -1
  550. package/dist/components/six-dropdown2.js +7 -6
  551. package/dist/components/six-dropdown2.js.map +1 -1
  552. package/dist/components/six-error-page.js +3 -2
  553. package/dist/components/six-error-page.js.map +1 -1
  554. package/dist/components/six-error2.js +4 -3
  555. package/dist/components/six-error2.js.map +1 -1
  556. package/dist/components/six-file-list-item.js +4 -3
  557. package/dist/components/six-file-list-item.js.map +1 -1
  558. package/dist/components/six-file-list.js +3 -2
  559. package/dist/components/six-file-list.js.map +1 -1
  560. package/dist/components/six-file-upload.js +52 -16
  561. package/dist/components/six-file-upload.js.map +1 -1
  562. package/dist/components/six-footer.js +3 -2
  563. package/dist/components/six-footer.js.map +1 -1
  564. package/dist/components/six-group-label.js +3 -2
  565. package/dist/components/six-group-label.js.map +1 -1
  566. package/dist/components/six-header.js +24 -15
  567. package/dist/components/six-header.js.map +1 -1
  568. package/dist/components/six-icon-button2.js +5 -4
  569. package/dist/components/six-icon-button2.js.map +1 -1
  570. package/dist/components/six-icon2.js +4 -3
  571. package/dist/components/six-icon2.js.map +1 -1
  572. package/dist/components/six-input2.js +16 -5
  573. package/dist/components/six-input2.js.map +1 -1
  574. package/dist/components/six-item-picker2.js +5 -4
  575. package/dist/components/six-item-picker2.js.map +1 -1
  576. package/dist/components/six-language-switcher.js +10 -5
  577. package/dist/components/six-language-switcher.js.map +1 -1
  578. package/dist/components/six-layout-grid.js +3 -2
  579. package/dist/components/six-layout-grid.js.map +1 -1
  580. package/dist/components/six-main-container.js +3 -2
  581. package/dist/components/six-main-container.js.map +1 -1
  582. package/dist/components/six-menu-divider.js +3 -2
  583. package/dist/components/six-menu-divider.js.map +1 -1
  584. package/dist/components/six-menu-item2.js +4 -3
  585. package/dist/components/six-menu-item2.js.map +1 -1
  586. package/dist/components/six-menu-label.js +3 -2
  587. package/dist/components/six-menu-label.js.map +1 -1
  588. package/dist/components/six-menu2.js +15 -5
  589. package/dist/components/six-menu2.js.map +1 -1
  590. package/dist/components/six-picto2.js +3 -2
  591. package/dist/components/six-picto2.js.map +1 -1
  592. package/dist/components/six-progress-bar.js +5 -4
  593. package/dist/components/six-progress-bar.js.map +1 -1
  594. package/dist/components/six-progress-ring.js +3 -2
  595. package/dist/components/six-progress-ring.js.map +1 -1
  596. package/dist/components/six-radio.js +4 -3
  597. package/dist/components/six-radio.js.map +1 -1
  598. package/dist/components/six-range.js +15 -4
  599. package/dist/components/six-range.js.map +1 -1
  600. package/dist/components/six-root.js +3 -2
  601. package/dist/components/six-root.js.map +1 -1
  602. package/dist/components/six-search-field.js +3 -2
  603. package/dist/components/six-search-field.js.map +1 -1
  604. package/dist/components/six-select.js +91 -48
  605. package/dist/components/six-select.js.map +1 -1
  606. package/dist/components/six-sidebar-item-group.js +3 -2
  607. package/dist/components/six-sidebar-item-group.js.map +1 -1
  608. package/dist/components/six-sidebar-item.js +4 -3
  609. package/dist/components/six-sidebar-item.js.map +1 -1
  610. package/dist/components/six-sidebar.js +4 -3
  611. package/dist/components/six-sidebar.js.map +1 -1
  612. package/dist/components/six-spinner2.js +2 -1
  613. package/dist/components/six-spinner2.js.map +1 -1
  614. package/dist/components/six-stage-indicator2.js +2 -1
  615. package/dist/components/six-stage-indicator2.js.map +1 -1
  616. package/dist/components/six-switch.js +4 -3
  617. package/dist/components/six-switch.js.map +1 -1
  618. package/dist/components/six-tab-group.js +35 -8
  619. package/dist/components/six-tab-group.js.map +1 -1
  620. package/dist/components/six-tab-panel.js +3 -2
  621. package/dist/components/six-tab-panel.js.map +1 -1
  622. package/dist/components/six-tab.js +4 -3
  623. package/dist/components/six-tab.js.map +1 -1
  624. package/dist/components/six-tag.js +4 -3
  625. package/dist/components/six-tag.js.map +1 -1
  626. package/dist/components/six-textarea.js +5 -4
  627. package/dist/components/six-textarea.js.map +1 -1
  628. package/dist/components/six-tile.js +7 -6
  629. package/dist/components/six-tile.js.map +1 -1
  630. package/dist/components/six-timepicker2.js +4 -3
  631. package/dist/components/six-timepicker2.js.map +1 -1
  632. package/dist/components/six-tooltip2.js +4 -3
  633. package/dist/components/six-tooltip2.js.map +1 -1
  634. package/dist/components.d.ts +34 -0
  635. package/dist/components.json +204 -26
  636. package/dist/esm/app-globals-0f993ce5.js +5 -0
  637. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  638. package/dist/esm/{form-control-d403a9cf.js → form-control-ad1710bf.js} +2 -2
  639. package/dist/esm/{form-control-d403a9cf.js.map → form-control-ad1710bf.js.map} +1 -1
  640. package/dist/esm/index-a7bee415.js +1907 -0
  641. package/dist/esm/index-a7bee415.js.map +1 -0
  642. package/dist/esm/loader.js +6 -4
  643. package/dist/esm/loader.js.map +1 -1
  644. package/dist/esm/{modal-96526245.js → modal-6c1288e3.js} +2 -18
  645. package/dist/esm/modal-6c1288e3.js.map +1 -0
  646. package/dist/esm/six-alert.entry.js +17 -7
  647. package/dist/esm/six-alert.entry.js.map +1 -1
  648. package/dist/esm/six-avatar.entry.js +5 -4
  649. package/dist/esm/six-avatar.entry.js.map +1 -1
  650. package/dist/esm/six-badge.entry.js +5 -4
  651. package/dist/esm/six-badge.entry.js.map +1 -1
  652. package/dist/esm/six-button.entry.js +7 -5
  653. package/dist/esm/six-button.entry.js.map +1 -1
  654. package/dist/esm/six-card.entry.js +4 -3
  655. package/dist/esm/six-card.entry.js.map +1 -1
  656. package/dist/esm/six-checkbox_2.entry.js +11 -9
  657. package/dist/esm/six-checkbox_2.entry.js.map +1 -1
  658. package/dist/esm/six-datepicker.entry.js +41 -13
  659. package/dist/esm/six-datepicker.entry.js.map +1 -1
  660. package/dist/esm/six-details.entry.js +6 -5
  661. package/dist/esm/six-details.entry.js.map +1 -1
  662. package/dist/esm/six-dialog.entry.js +14 -30
  663. package/dist/esm/six-dialog.entry.js.map +1 -1
  664. package/dist/esm/six-drawer.entry.js +13 -30
  665. package/dist/esm/six-drawer.entry.js.map +1 -1
  666. package/dist/esm/six-dropdown_2.entry.js +23 -12
  667. package/dist/esm/six-dropdown_2.entry.js.map +1 -1
  668. package/dist/esm/six-error-page.entry.js +4 -3
  669. package/dist/esm/six-error-page.entry.js.map +1 -1
  670. package/dist/esm/six-error.entry.js +5 -4
  671. package/dist/esm/six-error.entry.js.map +1 -1
  672. package/dist/esm/six-file-list-item.entry.js +5 -4
  673. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  674. package/dist/esm/six-file-list.entry.js +4 -3
  675. package/dist/esm/six-file-list.entry.js.map +1 -1
  676. package/dist/esm/six-file-upload.entry.js +33 -13
  677. package/dist/esm/six-file-upload.entry.js.map +1 -1
  678. package/dist/esm/six-footer.entry.js +4 -3
  679. package/dist/esm/six-footer.entry.js.map +1 -1
  680. package/dist/esm/six-group-label.entry.js +5 -4
  681. package/dist/esm/six-group-label.entry.js.map +1 -1
  682. package/dist/esm/six-header.entry.js +24 -16
  683. package/dist/esm/six-header.entry.js.map +1 -1
  684. package/dist/esm/six-icon-button.entry.js +6 -5
  685. package/dist/esm/six-icon-button.entry.js.map +1 -1
  686. package/dist/esm/six-icon.entry.js +5 -4
  687. package/dist/esm/six-icon.entry.js.map +1 -1
  688. package/dist/esm/six-input.entry.js +17 -7
  689. package/dist/esm/six-input.entry.js.map +1 -1
  690. package/dist/esm/six-item-picker.entry.js +6 -5
  691. package/dist/esm/six-item-picker.entry.js.map +1 -1
  692. package/dist/esm/six-language-switcher.entry.js +11 -6
  693. package/dist/esm/six-language-switcher.entry.js.map +1 -1
  694. package/dist/esm/six-layout-grid.entry.js +4 -3
  695. package/dist/esm/six-layout-grid.entry.js.map +1 -1
  696. package/dist/esm/six-main-container.entry.js +4 -3
  697. package/dist/esm/six-main-container.entry.js.map +1 -1
  698. package/dist/esm/six-menu-divider.entry.js +4 -3
  699. package/dist/esm/six-menu-divider.entry.js.map +1 -1
  700. package/dist/esm/six-menu-label.entry.js +4 -3
  701. package/dist/esm/six-menu-label.entry.js.map +1 -1
  702. package/dist/esm/six-picto.entry.js +4 -3
  703. package/dist/esm/six-picto.entry.js.map +1 -1
  704. package/dist/esm/six-progress-bar.entry.js +6 -5
  705. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  706. package/dist/esm/six-progress-ring.entry.js +4 -3
  707. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  708. package/dist/esm/six-radio.entry.js +5 -4
  709. package/dist/esm/six-radio.entry.js.map +1 -1
  710. package/dist/esm/six-range.entry.js +17 -6
  711. package/dist/esm/six-range.entry.js.map +1 -1
  712. package/dist/esm/six-root.entry.js +4 -3
  713. package/dist/esm/six-root.entry.js.map +1 -1
  714. package/dist/esm/six-search-field.entry.js +4 -3
  715. package/dist/esm/six-search-field.entry.js.map +1 -1
  716. package/dist/esm/six-select.entry.js +93 -50
  717. package/dist/esm/six-select.entry.js.map +1 -1
  718. package/dist/esm/six-sidebar-item-group.entry.js +4 -3
  719. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  720. package/dist/esm/six-sidebar-item.entry.js +5 -4
  721. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  722. package/dist/esm/six-sidebar.entry.js +5 -4
  723. package/dist/esm/six-sidebar.entry.js.map +1 -1
  724. package/dist/esm/six-spinner.entry.js +3 -2
  725. package/dist/esm/six-spinner.entry.js.map +1 -1
  726. package/dist/esm/six-stage-indicator.entry.js +3 -2
  727. package/dist/esm/six-stage-indicator.entry.js.map +1 -1
  728. package/dist/esm/six-switch.entry.js +6 -5
  729. package/dist/esm/six-switch.entry.js.map +1 -1
  730. package/dist/esm/six-tab-group.entry.js +34 -8
  731. package/dist/esm/six-tab-group.entry.js.map +1 -1
  732. package/dist/esm/six-tab-panel.entry.js +4 -3
  733. package/dist/esm/six-tab-panel.entry.js.map +1 -1
  734. package/dist/esm/six-tab.entry.js +5 -4
  735. package/dist/esm/six-tab.entry.js.map +1 -1
  736. package/dist/esm/six-tag.entry.js +5 -4
  737. package/dist/esm/six-tag.entry.js.map +1 -1
  738. package/dist/esm/six-textarea.entry.js +7 -6
  739. package/dist/esm/six-textarea.entry.js.map +1 -1
  740. package/dist/esm/six-tile.entry.js +8 -7
  741. package/dist/esm/six-tile.entry.js.map +1 -1
  742. package/dist/esm/six-timepicker.entry.js +5 -4
  743. package/dist/esm/six-timepicker.entry.js.map +1 -1
  744. package/dist/esm/six-tooltip.entry.js +5 -4
  745. package/dist/esm/six-tooltip.entry.js.map +1 -1
  746. package/dist/esm/ui-library.js +14 -12
  747. package/dist/esm/ui-library.js.map +1 -1
  748. package/dist/types/components/six-alert/six-alert.d.ts +8 -4
  749. package/dist/types/components/six-button/six-button.d.ts +1 -1
  750. package/dist/types/components/six-datepicker/six-datepicker.d.ts +1 -1
  751. package/dist/types/components/six-dialog/six-dialog.d.ts +1 -0
  752. package/dist/types/components/six-file-upload/six-file-upload.d.ts +11 -1
  753. package/dist/types/components/six-header/six-header.d.ts +3 -1
  754. package/dist/types/components/six-input/six-input.d.ts +9 -1
  755. package/dist/types/components/six-menu/six-menu.d.ts +1 -1
  756. package/dist/types/components/six-range/six-range.d.ts +2 -0
  757. package/dist/types/components/six-select/six-select.d.ts +0 -2
  758. package/dist/types/components/six-select/util.d.ts +2 -0
  759. package/dist/types/components/six-tab-group/six-tab-group.d.ts +4 -1
  760. package/dist/types/components.d.ts +62 -10
  761. package/dist/types/stencil-public-runtime.d.ts +3 -10
  762. package/dist/types/utils/date-util.d.ts +9 -1
  763. package/dist/types/utils/type-check.d.ts +1 -1
  764. package/dist/ui-library/assets/TRADEMARKS.md +3 -3
  765. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
  766. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  767. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
  768. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  769. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
  770. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  771. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
  772. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  773. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
  774. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  775. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
  776. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  777. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
  778. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  779. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
  780. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  781. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
  782. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  783. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
  784. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  785. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
  786. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  787. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
  788. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  789. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
  790. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  791. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
  792. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  793. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
  794. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  795. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
  796. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  797. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
  798. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  799. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
  800. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  801. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  802. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  803. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  804. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  805. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  806. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  807. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  808. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  809. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  810. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  811. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  812. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  813. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  814. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  815. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  816. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  817. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  818. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  819. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  820. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  821. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  822. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  823. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  824. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  825. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  826. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  827. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  828. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  829. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  830. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  831. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  832. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  833. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  834. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  835. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  836. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  837. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
  838. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  839. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
  840. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  841. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
  842. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  843. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
  844. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  845. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
  846. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  847. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
  848. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  849. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
  850. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  851. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
  852. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  853. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
  854. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  855. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
  856. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  857. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
  858. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  859. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
  860. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  861. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
  862. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  863. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
  864. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  865. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
  866. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  867. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
  868. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  869. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
  870. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  871. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
  872. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  873. package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
  874. package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
  875. package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
  876. package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
  877. package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
  878. package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
  879. package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
  880. package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
  881. package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
  882. package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
  883. package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
  884. package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
  885. package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
  886. package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
  887. package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
  888. package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
  889. package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
  890. package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
  891. package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
  892. package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
  893. package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
  894. package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
  895. package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
  896. package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
  897. package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
  898. package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
  899. package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
  900. package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
  901. package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
  902. package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
  903. package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
  904. package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
  905. package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
  906. package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
  907. package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
  908. package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
  909. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
  910. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  911. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
  912. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  913. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
  914. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  915. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
  916. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  917. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
  918. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  919. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
  920. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  921. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
  922. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  923. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
  924. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  925. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
  926. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  927. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
  928. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  929. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
  930. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  931. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
  932. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  933. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
  934. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  935. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
  936. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  937. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
  938. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  939. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
  940. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  941. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
  942. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  943. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
  944. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  945. package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
  946. package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
  947. package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
  948. package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
  949. package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
  950. package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
  951. package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
  952. package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
  953. package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
  954. package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
  955. package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
  956. package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
  957. package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
  958. package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
  959. package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
  960. package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
  961. package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
  962. package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
  963. package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
  964. package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
  965. package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
  966. package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
  967. package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
  968. package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
  969. package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
  970. package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
  971. package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
  972. package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
  973. package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
  974. package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
  975. package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
  976. package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
  977. package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
  978. package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
  979. package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
  980. package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
  981. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
  982. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  983. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
  984. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  985. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
  986. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  987. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
  988. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  989. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
  990. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  991. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
  992. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  993. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
  994. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  995. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
  996. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  997. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
  998. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  999. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
  1000. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  1001. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
  1002. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  1003. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
  1004. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  1005. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
  1006. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  1007. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
  1008. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  1009. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
  1010. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  1011. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
  1012. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  1013. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
  1014. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  1015. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
  1016. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  1017. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
  1018. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  1019. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
  1020. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  1021. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
  1022. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  1023. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
  1024. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  1025. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
  1026. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  1027. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
  1028. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  1029. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
  1030. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  1031. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
  1032. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  1033. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
  1034. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  1035. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
  1036. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  1037. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
  1038. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  1039. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
  1040. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  1041. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
  1042. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  1043. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
  1044. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  1045. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
  1046. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  1047. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
  1048. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  1049. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
  1050. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  1051. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
  1052. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  1053. package/dist/ui-library/index.esm.js.map +1 -1
  1054. package/dist/ui-library/p-06ba4450.js.map +1 -1
  1055. package/dist/ui-library/p-0cebf1d2.js.map +1 -1
  1056. package/dist/ui-library/p-160223d5.entry.js +2 -0
  1057. package/dist/ui-library/p-160223d5.entry.js.map +1 -0
  1058. package/dist/ui-library/p-1b67b95f.entry.js +2 -0
  1059. package/dist/ui-library/p-1b67b95f.entry.js.map +1 -0
  1060. package/dist/ui-library/{p-50dae789.entry.js → p-1e47e014.entry.js} +2 -2
  1061. package/dist/ui-library/p-1e47e014.entry.js.map +1 -0
  1062. package/dist/ui-library/p-2146cf22.entry.js +2 -0
  1063. package/dist/ui-library/p-2146cf22.entry.js.map +1 -0
  1064. package/dist/ui-library/{p-884c5cf9.entry.js → p-22f2ca14.entry.js} +2 -2
  1065. package/dist/ui-library/p-22f2ca14.entry.js.map +1 -0
  1066. package/dist/ui-library/p-2ad904a7.entry.js +2 -0
  1067. package/dist/ui-library/p-2ad904a7.entry.js.map +1 -0
  1068. package/dist/ui-library/p-30000e86.entry.js +2 -0
  1069. package/dist/ui-library/p-30000e86.entry.js.map +1 -0
  1070. package/dist/ui-library/p-3267becc.entry.js +2 -0
  1071. package/dist/ui-library/p-3267becc.entry.js.map +1 -0
  1072. package/dist/ui-library/p-3f6cc2c2.entry.js +2 -0
  1073. package/dist/ui-library/p-3f6cc2c2.entry.js.map +1 -0
  1074. package/dist/ui-library/{p-d95e292e.entry.js → p-418413d3.entry.js} +2 -2
  1075. package/dist/ui-library/p-418413d3.entry.js.map +1 -0
  1076. package/dist/ui-library/{p-da7f3dbd.entry.js → p-42cd3588.entry.js} +2 -2
  1077. package/dist/ui-library/p-42cd3588.entry.js.map +1 -0
  1078. package/dist/ui-library/p-43213f9e.entry.js +2 -0
  1079. package/dist/ui-library/p-43213f9e.entry.js.map +1 -0
  1080. package/dist/ui-library/p-45761392.entry.js +2 -0
  1081. package/dist/ui-library/p-45761392.entry.js.map +1 -0
  1082. package/dist/ui-library/p-48118ce8.js +3 -0
  1083. package/dist/ui-library/p-48118ce8.js.map +1 -0
  1084. package/dist/ui-library/{p-caea1eb6.entry.js → p-53867d77.entry.js} +2 -2
  1085. package/dist/ui-library/p-53867d77.entry.js.map +1 -0
  1086. package/dist/ui-library/p-559a15db.entry.js +2 -0
  1087. package/dist/ui-library/p-559a15db.entry.js.map +1 -0
  1088. package/dist/ui-library/{p-870b988d.entry.js → p-592c7cf9.entry.js} +2 -2
  1089. package/dist/ui-library/p-592c7cf9.entry.js.map +1 -0
  1090. package/dist/ui-library/p-5a513e96.entry.js +2 -0
  1091. package/dist/ui-library/p-5a513e96.entry.js.map +1 -0
  1092. package/dist/ui-library/p-651293e7.js +2 -0
  1093. package/dist/ui-library/p-651293e7.js.map +1 -0
  1094. package/dist/ui-library/p-6be7f9f4.entry.js +2 -0
  1095. package/dist/ui-library/p-6be7f9f4.entry.js.map +1 -0
  1096. package/dist/ui-library/p-70a7e87c.entry.js +2 -0
  1097. package/dist/ui-library/p-70a7e87c.entry.js.map +1 -0
  1098. package/dist/ui-library/p-70fac778.entry.js +2 -0
  1099. package/dist/ui-library/p-70fac778.entry.js.map +1 -0
  1100. package/dist/ui-library/p-783ec07c.entry.js +2 -0
  1101. package/dist/ui-library/p-783ec07c.entry.js.map +1 -0
  1102. package/dist/ui-library/p-78a4fabd.entry.js +2 -0
  1103. package/dist/ui-library/p-78a4fabd.entry.js.map +1 -0
  1104. package/dist/ui-library/p-798e7eeb.entry.js +2 -0
  1105. package/dist/ui-library/p-798e7eeb.entry.js.map +1 -0
  1106. package/dist/ui-library/p-7afdff5c.entry.js +2 -0
  1107. package/dist/ui-library/p-7afdff5c.entry.js.map +1 -0
  1108. package/dist/ui-library/p-7f856f00.js.map +1 -1
  1109. package/dist/ui-library/p-8227aaed.js.map +1 -1
  1110. package/dist/ui-library/p-842b492e.js.map +1 -1
  1111. package/dist/ui-library/p-84370073.entry.js +2 -0
  1112. package/dist/ui-library/p-84370073.entry.js.map +1 -0
  1113. package/dist/ui-library/p-862d474e.js.map +1 -1
  1114. package/dist/ui-library/p-8bfb4bfc.js.map +1 -1
  1115. package/dist/ui-library/p-8fe4ec36.entry.js +2 -0
  1116. package/dist/ui-library/p-8fe4ec36.entry.js.map +1 -0
  1117. package/dist/ui-library/p-9370d59e.entry.js +2 -0
  1118. package/dist/ui-library/p-9370d59e.entry.js.map +1 -0
  1119. package/dist/ui-library/p-9915dfc2.entry.js +2 -0
  1120. package/dist/ui-library/p-9915dfc2.entry.js.map +1 -0
  1121. package/dist/ui-library/p-9bb03da7.entry.js +2 -0
  1122. package/dist/ui-library/p-9bb03da7.entry.js.map +1 -0
  1123. package/dist/ui-library/{p-61e66671.js → p-a04460e3.js} +2 -2
  1124. package/dist/ui-library/{p-61e66671.js.map → p-a04460e3.js.map} +1 -1
  1125. package/dist/ui-library/p-a1502802.js.map +1 -1
  1126. package/dist/ui-library/p-a929b095.entry.js +2 -0
  1127. package/dist/ui-library/p-a929b095.entry.js.map +1 -0
  1128. package/dist/ui-library/p-a9c733e3.entry.js +2 -0
  1129. package/dist/ui-library/p-a9c733e3.entry.js.map +1 -0
  1130. package/dist/ui-library/{p-961bd001.entry.js → p-aa319c2c.entry.js} +2 -2
  1131. package/dist/ui-library/p-aa319c2c.entry.js.map +1 -0
  1132. package/dist/ui-library/p-aff7bbcb.entry.js +2 -0
  1133. package/dist/ui-library/p-aff7bbcb.entry.js.map +1 -0
  1134. package/dist/ui-library/p-b361d5da.entry.js +2 -0
  1135. package/dist/ui-library/p-b361d5da.entry.js.map +1 -0
  1136. package/dist/ui-library/p-b3b243a6.entry.js +2 -0
  1137. package/dist/ui-library/p-b3b243a6.entry.js.map +1 -0
  1138. package/dist/ui-library/{p-9c79341d.entry.js → p-b4bd1767.entry.js} +2 -2
  1139. package/dist/ui-library/p-b4bd1767.entry.js.map +1 -0
  1140. package/dist/ui-library/p-bbf2ac6b.entry.js +2 -0
  1141. package/dist/ui-library/p-bbf2ac6b.entry.js.map +1 -0
  1142. package/dist/ui-library/p-c1cd72fb.entry.js +2 -0
  1143. package/dist/ui-library/p-c1cd72fb.entry.js.map +1 -0
  1144. package/dist/ui-library/p-c6f5a872.entry.js +2 -0
  1145. package/dist/ui-library/p-c6f5a872.entry.js.map +1 -0
  1146. package/dist/ui-library/p-cb510ea1.entry.js +2 -0
  1147. package/dist/ui-library/p-cb510ea1.entry.js.map +1 -0
  1148. package/dist/ui-library/p-cdc9224d.entry.js +2 -0
  1149. package/dist/ui-library/p-cdc9224d.entry.js.map +1 -0
  1150. package/dist/ui-library/p-cf323369.entry.js +2 -0
  1151. package/dist/ui-library/p-cf323369.entry.js.map +1 -0
  1152. package/dist/ui-library/p-e080d5b6.js.map +1 -1
  1153. package/dist/ui-library/{p-ac57ba5c.entry.js → p-e0ac4cd8.entry.js} +2 -2
  1154. package/dist/ui-library/p-e0ac4cd8.entry.js.map +1 -0
  1155. package/dist/ui-library/p-e1255160.js +2 -0
  1156. package/dist/ui-library/p-e1255160.js.map +1 -0
  1157. package/dist/ui-library/p-e3ff26dd.entry.js +2 -0
  1158. package/dist/ui-library/p-e3ff26dd.entry.js.map +1 -0
  1159. package/dist/ui-library/p-e8c717d3.entry.js +2 -0
  1160. package/dist/ui-library/p-e8c717d3.entry.js.map +1 -0
  1161. package/dist/ui-library/{p-0440335d.entry.js → p-e8e16974.entry.js} +2 -2
  1162. package/dist/ui-library/p-e8e16974.entry.js.map +1 -0
  1163. package/dist/ui-library/p-ecfb0aec.entry.js +2 -0
  1164. package/dist/ui-library/p-ecfb0aec.entry.js.map +1 -0
  1165. package/dist/ui-library/{p-04cc397c.entry.js → p-f0bc11a5.entry.js} +2 -2
  1166. package/dist/ui-library/p-f0bc11a5.entry.js.map +1 -0
  1167. package/dist/ui-library/p-f12eec83.entry.js +2 -0
  1168. package/dist/ui-library/p-f12eec83.entry.js.map +1 -0
  1169. package/dist/ui-library/p-f136a6b2.js.map +1 -1
  1170. package/dist/ui-library/p-f9b341a3.entry.js +2 -0
  1171. package/dist/ui-library/p-f9b341a3.entry.js.map +1 -0
  1172. package/dist/ui-library/ui-library.css +1 -1
  1173. package/dist/ui-library/ui-library.esm.js +1 -1
  1174. package/dist/ui-library/ui-library.esm.js.map +1 -1
  1175. package/loader/cdn.js +1 -3
  1176. package/loader/index.cjs.js +1 -3
  1177. package/loader/index.d.ts +3 -0
  1178. package/loader/index.es2017.js +1 -3
  1179. package/loader/index.js +1 -3
  1180. package/package.json +8 -20
  1181. package/dist/cjs/index-d7748d51.js +0 -2230
  1182. package/dist/cjs/index-d7748d51.js.map +0 -1
  1183. package/dist/cjs/modal-3ce015be.js.map +0 -1
  1184. package/dist/collection/components/six-alert/test/six-alert.spec.js +0 -25
  1185. package/dist/collection/components/six-alert/test/six-alert.spec.js.map +0 -1
  1186. package/dist/collection/components/six-avatar/test/six-avatar.spec.js +0 -26
  1187. package/dist/collection/components/six-avatar/test/six-avatar.spec.js.map +0 -1
  1188. package/dist/collection/components/six-badge/test/six-badge.spec.js +0 -20
  1189. package/dist/collection/components/six-badge/test/six-badge.spec.js.map +0 -1
  1190. package/dist/collection/components/six-button/test/six-button.spec.js +0 -69
  1191. package/dist/collection/components/six-button/test/six-button.spec.js.map +0 -1
  1192. package/dist/collection/components/six-card/test/six-card.spec.js +0 -18
  1193. package/dist/collection/components/six-card/test/six-card.spec.js.map +0 -1
  1194. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +0 -83
  1195. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +0 -1
  1196. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +0 -26
  1197. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +0 -1
  1198. package/dist/collection/components/six-details/test/six-details.spec.js +0 -36
  1199. package/dist/collection/components/six-details/test/six-details.spec.js.map +0 -1
  1200. package/dist/collection/components/six-dialog/test/six-dialog.spec.js +0 -34
  1201. package/dist/collection/components/six-dialog/test/six-dialog.spec.js.map +0 -1
  1202. package/dist/collection/components/six-drawer/test/six-drawer.spec.js +0 -34
  1203. package/dist/collection/components/six-drawer/test/six-drawer.spec.js.map +0 -1
  1204. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +0 -147
  1205. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +0 -1
  1206. package/dist/collection/components/six-error-page/test/six-error-page.spec.js +0 -240
  1207. package/dist/collection/components/six-error-page/test/six-error-page.spec.js.map +0 -1
  1208. package/dist/collection/components/six-file-list/test/six-file-list.spec.js +0 -67
  1209. package/dist/collection/components/six-file-list/test/six-file-list.spec.js.map +0 -1
  1210. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js +0 -169
  1211. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js.map +0 -1
  1212. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +0 -103
  1213. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +0 -1
  1214. package/dist/collection/components/six-footer/test/six-footer.spec.js +0 -21
  1215. package/dist/collection/components/six-footer/test/six-footer.spec.js.map +0 -1
  1216. package/dist/collection/components/six-group-label/test/six-group-label.spec.js +0 -45
  1217. package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +0 -1
  1218. package/dist/collection/components/six-header/assets/six-logo.svg +0 -1
  1219. package/dist/collection/components/six-header/test/six-header.spec.js +0 -177
  1220. package/dist/collection/components/six-header/test/six-header.spec.js.map +0 -1
  1221. package/dist/collection/components/six-icon/test/six-icon.spec.js +0 -20
  1222. package/dist/collection/components/six-icon/test/six-icon.spec.js.map +0 -1
  1223. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js +0 -23
  1224. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js.map +0 -1
  1225. package/dist/collection/components/six-input/test/six-input.spec.js +0 -39
  1226. package/dist/collection/components/six-input/test/six-input.spec.js.map +0 -1
  1227. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js +0 -90
  1228. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js.map +0 -1
  1229. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +0 -196
  1230. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +0 -1
  1231. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js +0 -18
  1232. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js.map +0 -1
  1233. package/dist/collection/components/six-main-container/test/six-main-container.spec.js +0 -22
  1234. package/dist/collection/components/six-main-container/test/six-main-container.spec.js.map +0 -1
  1235. package/dist/collection/components/six-menu/test/six-menu.spec.js +0 -93
  1236. package/dist/collection/components/six-menu/test/six-menu.spec.js.map +0 -1
  1237. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js +0 -18
  1238. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js.map +0 -1
  1239. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js +0 -33
  1240. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js.map +0 -1
  1241. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js +0 -20
  1242. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js.map +0 -1
  1243. package/dist/collection/components/six-picto/test/six-picto.spec.js +0 -33
  1244. package/dist/collection/components/six-picto/test/six-picto.spec.js.map +0 -1
  1245. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js +0 -24
  1246. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js.map +0 -1
  1247. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js +0 -26
  1248. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js.map +0 -1
  1249. package/dist/collection/components/six-radio/test/six-radio.spec.js +0 -63
  1250. package/dist/collection/components/six-radio/test/six-radio.spec.js.map +0 -1
  1251. package/dist/collection/components/six-range/test/six-range.spec.js +0 -34
  1252. package/dist/collection/components/six-range/test/six-range.spec.js.map +0 -1
  1253. package/dist/collection/components/six-root/test/six-root.spec.js +0 -36
  1254. package/dist/collection/components/six-root/test/six-root.spec.js.map +0 -1
  1255. package/dist/collection/components/six-search-field/test/six-search-field.spec.js +0 -22
  1256. package/dist/collection/components/six-search-field/test/six-search-field.spec.js.map +0 -1
  1257. package/dist/collection/components/six-select/test/six-select.spec.js +0 -102
  1258. package/dist/collection/components/six-select/test/six-select.spec.js.map +0 -1
  1259. package/dist/collection/components/six-select/test/util.spec.js +0 -81
  1260. package/dist/collection/components/six-select/test/util.spec.js.map +0 -1
  1261. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js +0 -22
  1262. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js.map +0 -1
  1263. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js +0 -50
  1264. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js.map +0 -1
  1265. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +0 -53
  1266. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +0 -1
  1267. package/dist/collection/components/six-spinner/test/six-spinner.spec.js +0 -37
  1268. package/dist/collection/components/six-spinner/test/six-spinner.spec.js.map +0 -1
  1269. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js +0 -117
  1270. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js.map +0 -1
  1271. package/dist/collection/components/six-switch/test/six-switch.spec.js +0 -73
  1272. package/dist/collection/components/six-switch/test/six-switch.spec.js.map +0 -1
  1273. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js +0 -20
  1274. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js.map +0 -1
  1275. package/dist/collection/components/six-tag/test/six-tag.spec.js +0 -54
  1276. package/dist/collection/components/six-tag/test/six-tag.spec.js.map +0 -1
  1277. package/dist/collection/components/six-textarea/test/six-textarea.spec.js +0 -119
  1278. package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +0 -1
  1279. package/dist/collection/components/six-tile/test/six-tile.spec.js +0 -69
  1280. package/dist/collection/components/six-tile/test/six-tile.spec.js.map +0 -1
  1281. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +0 -496
  1282. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +0 -1
  1283. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js +0 -28
  1284. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js.map +0 -1
  1285. package/dist/collection/files/file-list.json +0 -308
  1286. package/dist/collection/files/noto-sans-all-100-italic.woff +0 -0
  1287. package/dist/collection/files/noto-sans-all-100-normal.woff +0 -0
  1288. package/dist/collection/files/noto-sans-all-200-italic.woff +0 -0
  1289. package/dist/collection/files/noto-sans-all-200-normal.woff +0 -0
  1290. package/dist/collection/files/noto-sans-all-300-italic.woff +0 -0
  1291. package/dist/collection/files/noto-sans-all-300-normal.woff +0 -0
  1292. package/dist/collection/files/noto-sans-all-400-italic.woff +0 -0
  1293. package/dist/collection/files/noto-sans-all-400-normal.woff +0 -0
  1294. package/dist/collection/files/noto-sans-all-500-italic.woff +0 -0
  1295. package/dist/collection/files/noto-sans-all-500-normal.woff +0 -0
  1296. package/dist/collection/files/noto-sans-all-600-italic.woff +0 -0
  1297. package/dist/collection/files/noto-sans-all-600-normal.woff +0 -0
  1298. package/dist/collection/files/noto-sans-all-700-italic.woff +0 -0
  1299. package/dist/collection/files/noto-sans-all-700-normal.woff +0 -0
  1300. package/dist/collection/files/noto-sans-all-800-italic.woff +0 -0
  1301. package/dist/collection/files/noto-sans-all-800-normal.woff +0 -0
  1302. package/dist/collection/files/noto-sans-all-900-italic.woff +0 -0
  1303. package/dist/collection/files/noto-sans-all-900-normal.woff +0 -0
  1304. package/dist/collection/utils/date-util.spec.js +0 -995
  1305. package/dist/collection/utils/date-util.spec.js.map +0 -1
  1306. package/dist/collection/utils/scroll.spec.js +0 -122
  1307. package/dist/collection/utils/scroll.spec.js.map +0 -1
  1308. package/dist/collection/utils/support.js +0 -16
  1309. package/dist/collection/utils/support.js.map +0 -1
  1310. package/dist/collection/utils/time.util.spec.js +0 -368
  1311. package/dist/collection/utils/time.util.spec.js.map +0 -1
  1312. package/dist/esm/index-79d4ef67.js +0 -2201
  1313. package/dist/esm/index-79d4ef67.js.map +0 -1
  1314. package/dist/esm/modal-96526245.js.map +0 -1
  1315. package/dist/esm/polyfills/core-js.js +0 -11
  1316. package/dist/esm/polyfills/dom.js +0 -79
  1317. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1318. package/dist/esm/polyfills/index.js +0 -34
  1319. package/dist/esm/polyfills/system.js +0 -6
  1320. package/dist/types/utils/support.d.ts +0 -1
  1321. package/dist/ui-library/assets/six-logo.svg +0 -1
  1322. package/dist/ui-library/files/file-list.json +0 -308
  1323. package/dist/ui-library/files/noto-sans-all-100-italic.woff +0 -0
  1324. package/dist/ui-library/files/noto-sans-all-100-normal.woff +0 -0
  1325. package/dist/ui-library/files/noto-sans-all-200-italic.woff +0 -0
  1326. package/dist/ui-library/files/noto-sans-all-200-normal.woff +0 -0
  1327. package/dist/ui-library/files/noto-sans-all-300-italic.woff +0 -0
  1328. package/dist/ui-library/files/noto-sans-all-300-normal.woff +0 -0
  1329. package/dist/ui-library/files/noto-sans-all-400-italic.woff +0 -0
  1330. package/dist/ui-library/files/noto-sans-all-400-normal.woff +0 -0
  1331. package/dist/ui-library/files/noto-sans-all-500-italic.woff +0 -0
  1332. package/dist/ui-library/files/noto-sans-all-500-normal.woff +0 -0
  1333. package/dist/ui-library/files/noto-sans-all-600-italic.woff +0 -0
  1334. package/dist/ui-library/files/noto-sans-all-600-normal.woff +0 -0
  1335. package/dist/ui-library/files/noto-sans-all-700-italic.woff +0 -0
  1336. package/dist/ui-library/files/noto-sans-all-700-normal.woff +0 -0
  1337. package/dist/ui-library/files/noto-sans-all-800-italic.woff +0 -0
  1338. package/dist/ui-library/files/noto-sans-all-800-normal.woff +0 -0
  1339. package/dist/ui-library/files/noto-sans-all-900-italic.woff +0 -0
  1340. package/dist/ui-library/files/noto-sans-all-900-normal.woff +0 -0
  1341. package/dist/ui-library/p-0440335d.entry.js.map +0 -1
  1342. package/dist/ui-library/p-04cc397c.entry.js.map +0 -1
  1343. package/dist/ui-library/p-0edd3091.entry.js +0 -2
  1344. package/dist/ui-library/p-0edd3091.entry.js.map +0 -1
  1345. package/dist/ui-library/p-150b7664.entry.js +0 -2
  1346. package/dist/ui-library/p-150b7664.entry.js.map +0 -1
  1347. package/dist/ui-library/p-1f5840b5.entry.js +0 -2
  1348. package/dist/ui-library/p-1f5840b5.entry.js.map +0 -1
  1349. package/dist/ui-library/p-28cc013e.entry.js +0 -2
  1350. package/dist/ui-library/p-28cc013e.entry.js.map +0 -1
  1351. package/dist/ui-library/p-3424bbc0.entry.js +0 -2
  1352. package/dist/ui-library/p-3424bbc0.entry.js.map +0 -1
  1353. package/dist/ui-library/p-348c68a8.entry.js +0 -2
  1354. package/dist/ui-library/p-348c68a8.entry.js.map +0 -1
  1355. package/dist/ui-library/p-3723ca06.entry.js +0 -2
  1356. package/dist/ui-library/p-3723ca06.entry.js.map +0 -1
  1357. package/dist/ui-library/p-37aeac5e.entry.js +0 -2
  1358. package/dist/ui-library/p-37aeac5e.entry.js.map +0 -1
  1359. package/dist/ui-library/p-3d7fb086.entry.js +0 -2
  1360. package/dist/ui-library/p-3d7fb086.entry.js.map +0 -1
  1361. package/dist/ui-library/p-457f7373.entry.js +0 -2
  1362. package/dist/ui-library/p-457f7373.entry.js.map +0 -1
  1363. package/dist/ui-library/p-4a667f31.entry.js +0 -2
  1364. package/dist/ui-library/p-4a667f31.entry.js.map +0 -1
  1365. package/dist/ui-library/p-50dae789.entry.js.map +0 -1
  1366. package/dist/ui-library/p-546e33d9.entry.js +0 -2
  1367. package/dist/ui-library/p-546e33d9.entry.js.map +0 -1
  1368. package/dist/ui-library/p-5db3a705.entry.js +0 -2
  1369. package/dist/ui-library/p-5db3a705.entry.js.map +0 -1
  1370. package/dist/ui-library/p-6296779b.entry.js +0 -2
  1371. package/dist/ui-library/p-6296779b.entry.js.map +0 -1
  1372. package/dist/ui-library/p-64b4755d.entry.js +0 -2
  1373. package/dist/ui-library/p-64b4755d.entry.js.map +0 -1
  1374. package/dist/ui-library/p-6c1b046e.entry.js +0 -2
  1375. package/dist/ui-library/p-6c1b046e.entry.js.map +0 -1
  1376. package/dist/ui-library/p-7115316e.entry.js +0 -2
  1377. package/dist/ui-library/p-7115316e.entry.js.map +0 -1
  1378. package/dist/ui-library/p-870b988d.entry.js.map +0 -1
  1379. package/dist/ui-library/p-884c5cf9.entry.js.map +0 -1
  1380. package/dist/ui-library/p-8888a367.entry.js +0 -2
  1381. package/dist/ui-library/p-8888a367.entry.js.map +0 -1
  1382. package/dist/ui-library/p-935c78a7.entry.js +0 -2
  1383. package/dist/ui-library/p-935c78a7.entry.js.map +0 -1
  1384. package/dist/ui-library/p-961bd001.entry.js.map +0 -1
  1385. package/dist/ui-library/p-998de05d.js +0 -2
  1386. package/dist/ui-library/p-998de05d.js.map +0 -1
  1387. package/dist/ui-library/p-9b08068d.entry.js +0 -2
  1388. package/dist/ui-library/p-9b08068d.entry.js.map +0 -1
  1389. package/dist/ui-library/p-9c79341d.entry.js.map +0 -1
  1390. package/dist/ui-library/p-a9c159f2.entry.js +0 -2
  1391. package/dist/ui-library/p-a9c159f2.entry.js.map +0 -1
  1392. package/dist/ui-library/p-ac57ba5c.entry.js.map +0 -1
  1393. package/dist/ui-library/p-ae45f6f4.entry.js +0 -2
  1394. package/dist/ui-library/p-ae45f6f4.entry.js.map +0 -1
  1395. package/dist/ui-library/p-af15381b.js +0 -3
  1396. package/dist/ui-library/p-af15381b.js.map +0 -1
  1397. package/dist/ui-library/p-b1a5f3cd.entry.js +0 -2
  1398. package/dist/ui-library/p-b1a5f3cd.entry.js.map +0 -1
  1399. package/dist/ui-library/p-b385a241.entry.js +0 -2
  1400. package/dist/ui-library/p-b385a241.entry.js.map +0 -1
  1401. package/dist/ui-library/p-bf2fb53f.entry.js +0 -2
  1402. package/dist/ui-library/p-bf2fb53f.entry.js.map +0 -1
  1403. package/dist/ui-library/p-c2c7370b.entry.js +0 -2
  1404. package/dist/ui-library/p-c2c7370b.entry.js.map +0 -1
  1405. package/dist/ui-library/p-caea1eb6.entry.js.map +0 -1
  1406. package/dist/ui-library/p-d3f5b9a8.entry.js +0 -2
  1407. package/dist/ui-library/p-d3f5b9a8.entry.js.map +0 -1
  1408. package/dist/ui-library/p-d42b18eb.entry.js +0 -2
  1409. package/dist/ui-library/p-d42b18eb.entry.js.map +0 -1
  1410. package/dist/ui-library/p-d769cc36.entry.js +0 -2
  1411. package/dist/ui-library/p-d769cc36.entry.js.map +0 -1
  1412. package/dist/ui-library/p-d95e292e.entry.js.map +0 -1
  1413. package/dist/ui-library/p-da7f3dbd.entry.js.map +0 -1
  1414. package/dist/ui-library/p-dfb89b6a.entry.js +0 -2
  1415. package/dist/ui-library/p-dfb89b6a.entry.js.map +0 -1
  1416. package/dist/ui-library/p-e6032375.entry.js +0 -2
  1417. package/dist/ui-library/p-e6032375.entry.js.map +0 -1
  1418. package/dist/ui-library/p-e60d2324.entry.js +0 -2
  1419. package/dist/ui-library/p-e60d2324.entry.js.map +0 -1
  1420. package/dist/ui-library/p-e8298c6e.entry.js +0 -2
  1421. package/dist/ui-library/p-e8298c6e.entry.js.map +0 -1
  1422. package/dist/ui-library/p-ed279165.entry.js +0 -2
  1423. package/dist/ui-library/p-ed279165.entry.js.map +0 -1
  1424. package/dist/ui-library/p-ed61b75c.entry.js +0 -2
  1425. package/dist/ui-library/p-ed61b75c.entry.js.map +0 -1
  1426. package/dist/ui-library/p-ee872c04.entry.js +0 -2
  1427. package/dist/ui-library/p-ee872c04.entry.js.map +0 -1
  1428. package/dist/ui-library/p-f1ab3384.entry.js +0 -2
  1429. package/dist/ui-library/p-f1ab3384.entry.js.map +0 -1
  1430. package/dist/ui-library/p-f4ef481c.entry.js +0 -2
  1431. package/dist/ui-library/p-f4ef481c.entry.js.map +0 -1
  1432. package/dist/ui-library/p-f8cbb8da.entry.js +0 -2
  1433. package/dist/ui-library/p-f8cbb8da.entry.js.map +0 -1
@@ -9,6 +9,7 @@
9
9
  "components/six-file-list-item/six-file-list-item.js",
10
10
  "components/six-file-upload/six-file-upload.js",
11
11
  "components/six-header/six-header.js",
12
+ "components/six-input/six-input.js",
12
13
  "components/six-language-switcher/six-language-switcher.js",
13
14
  "components/six-stage-indicator/six-stage-indicator.js",
14
15
  "components/six-search-field/six-search-field.js",
@@ -29,7 +30,6 @@
29
30
  "components/six-group-label/six-group-label.js",
30
31
  "components/six-icon/six-icon.js",
31
32
  "components/six-icon-button/six-icon-button.js",
32
- "components/six-input/six-input.js",
33
33
  "components/six-layout-grid/six-layout-grid.js",
34
34
  "components/six-main-container/six-main-container.js",
35
35
  "components/six-menu-divider/six-menu-divider.js",
@@ -55,8 +55,8 @@
55
55
  ],
56
56
  "compiler": {
57
57
  "name": "@stencil/core",
58
- "version": "4.9.0",
59
- "typescriptVersion": "5.2.2"
58
+ "version": "4.21.0",
59
+ "typescriptVersion": "5.5.3"
60
60
  },
61
61
  "collections": [],
62
62
  "bundles": []
@@ -20,8 +20,11 @@ export class SixAlert {
20
20
  this.handleCloseClick = () => {
21
21
  this.hide();
22
22
  };
23
- this.handleMouseMove = () => {
24
- this.restartAutoHide();
23
+ this.handleMouseEnter = () => {
24
+ this.pauseAutoHide();
25
+ };
26
+ this.handleMouseLeave = () => {
27
+ this.resetAutoHide();
25
28
  };
26
29
  this.handleTransitionEnd = (event) => {
27
30
  const target = event.target;
@@ -123,15 +126,21 @@ export class SixAlert {
123
126
  }, { once: true });
124
127
  });
125
128
  }
126
- restartAutoHide() {
129
+ pauseAutoHide() {
127
130
  clearTimeout(this.autoHideTimeout);
131
+ }
132
+ resetAutoHide() {
128
133
  if (this.open && this.duration < Infinity) {
129
134
  this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);
130
135
  }
131
136
  }
137
+ restartAutoHide() {
138
+ this.pauseAutoHide();
139
+ this.resetAutoHide();
140
+ }
132
141
  render() {
133
142
  const asToast = this.host.closest('.six-toast-stack') != null;
134
- return (h("div", { part: "base", class: {
143
+ return (h("div", { key: 'cd9d14bef5923cf2ec8add1f61e92733aa9dd59f', part: "base", class: {
135
144
  alert: true,
136
145
  'alert--open': this.open,
137
146
  'alert--visible': this.isVisible,
@@ -142,7 +151,7 @@ export class SixAlert {
142
151
  'alert--warning': this.type === 'warning',
143
152
  'alert--danger': this.type === 'danger',
144
153
  'alert--shadow': asToast,
145
- }, role: "alert", "aria-live": "assertive", "aria-atomic": "true", "aria-hidden": this.open ? 'false' : 'true', onMouseMove: this.handleMouseMove, onTransitionEnd: this.handleTransitionEnd }, h("span", { part: "icon", class: "alert__icon" }, h("slot", { name: "icon" })), h("span", { part: "message", class: "alert__message" }, h("slot", null)), this.closable && (h("span", { class: "alert__close" }, h("six-icon-button", { name: "clear", exportparts: "base:close-button", onClick: this.handleCloseClick })))));
154
+ }, role: "alert", "aria-live": "assertive", "aria-atomic": "true", "aria-hidden": this.open ? 'false' : 'true', onTransitionEnd: this.handleTransitionEnd, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("span", { key: 'fb6e8cf52eb87ddb1a81a797482457b3afccaa98', part: "icon", class: "alert__icon" }, h("slot", { key: '3d97a399ac05620214ef8a4d6a19c37a103f76a2', name: "icon" })), h("span", { key: '3984ce04838d33a688b6cfafb7827646e0e9d582', part: "message", class: "alert__message" }, h("slot", { key: 'f84ff31b7b74571b2ff9f074b617cb344313939e' })), this.closable && (h("span", { key: '5291d4a747001042ad9882c32427094019e16dbb', class: "alert__close" }, h("six-icon-button", { key: '48a38b0a283400ae84ed95df38a43ee6a41e1fb0', name: "clear", exportparts: "base:close-button", onClick: this.handleCloseClick })))));
146
155
  }
147
156
  static get is() { return "six-alert"; }
148
157
  static get encapsulation() { return "shadow"; }
@@ -230,7 +239,7 @@ export class SixAlert {
230
239
  "optional": false,
231
240
  "docs": {
232
241
  "tags": [],
233
- "text": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the\nalert before it closes (e.g. moves the mouse over it), the timer will restart."
242
+ "text": "The length of time, in milliseconds, the alert will show before closing itself.\nIf the user hovers over the toast alert, the timer will pause.\nOn leaving the element with the mouse, the timer resets."
234
243
  },
235
244
  "attribute": "duration",
236
245
  "reflect": false,
@@ -1 +1 @@
1
- {"version":3,"file":"six-alert.js","sourceRoot":"","sources":["../../../src/components/six-alert/six-alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEvG,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC,CAAC;AAElG;;;;;;;;;;;;;GAaG;AAOH,MAAM,OAAO,QAAQ;;QA8IX,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,IAAI,EAAE,CAAC;QACd,CAAC,CAAC;QAEM,oBAAe,GAAG,GAAG,EAAE;YAC7B,IAAI,CAAC,eAAe,EAAE,CAAC;QACzB,CAAC,CAAC;QAEM,wBAAmB,GAAG,CAAC,KAAsB,EAAE,EAAE;YACvD,MAAM,MAAM,GAAG,KAAK,CAAC,MAAqB,CAAC;YAE3C,6EAA6E;YAC7E,IAAI,KAAK,CAAC,YAAY,KAAK,SAAS,IA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { getSlot } from '../../utils/slot';\n\nconst toastStack = Object.assign(document.createElement('div'), { className: 'six-toast-stack' });\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The alert's content.\n * @slot icon - An icon to show in the alert.\n *\n * @part base - The component's base wrapper.\n * @part icon - The container that wraps the alert icon.\n * @part message - The alert message.\n * @part close-button - The close button.\n */\n\n@Component({\n tag: 'six-alert',\n styleUrl: 'six-alert.scss',\n shadow: true,\n})\nexport class SixAlert {\n private autoHideTimeout?: number;\n\n @Element() host!: HTMLSixAlertElement;\n\n @State() isVisible = false;\n\n /** Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Set to true to make the alert closable. */\n @Prop({ reflect: true }) closable = false;\n\n /** The type of alert. */\n @Prop({ reflect: true }) type: AlertType = 'primary';\n\n /**\n * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the\n * alert before it closes (e.g. moves the mouse over it), the timer will restart.\n */\n @Prop() duration = Infinity;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n @Watch('duration')\n handleDurationChange() {\n this.restartAutoHide();\n }\n\n /** Emitted when the alert opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-alert-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the alert opens and all transitions are complete. */\n @Event({ eventName: 'six-alert-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the alert closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-alert-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the alert closes and all transitions are complete. */\n @Event({ eventName: 'six-alert-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n componentWillLoad() {\n // Show on init if open\n if (this.open) {\n this.show();\n }\n }\n\n /** Shows the alert. */\n @Method()\n async show() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (this.isVisible) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.isVisible = true;\n this.open = true;\n\n if (this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);\n }\n }\n\n /** Hides the alert */\n @Method()\n async hide() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (!this.isVisible) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n clearTimeout(this.autoHideTimeout);\n this.isVisible = false;\n this.open = false;\n }\n\n /**\n * Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\n * dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\n * calling this method again. The returned promise will resolve after the alert is hidden.\n * @param adjustPosition If true, the top and right position of the toast stack is shifted according to the\n * six-root header's height and the presence of a vertical scrollbar.\n */\n @Method()\n async toast(adjustPosition = true) {\n return new Promise<void>((resolve) => {\n if (!toastStack.parentElement) {\n document.body.append(toastStack);\n }\n toastStack.append(this.host);\n\n if (adjustPosition) {\n const sixRoot = document.querySelector('six-root');\n const headerSlot = getSlot(sixRoot, 'header');\n const mainSlot = sixRoot?.shadowRoot?.querySelector('host main');\n if (mainSlot != null && mainSlot instanceof HTMLElement) {\n const scrollbarWidth = mainSlot.offsetWidth - mainSlot.clientWidth;\n toastStack.style.right = `${scrollbarWidth}px`;\n }\n if (headerSlot != null) {\n const rect = headerSlot?.getBoundingClientRect();\n toastStack.style.top = `${rect.top + rect.height}px`;\n }\n } else {\n toastStack.style.top = '0';\n toastStack.style.right = '0';\n }\n\n requestAnimationFrame(() => this.show());\n\n this.host.addEventListener(\n 'six-alert-after-hide',\n () => {\n this.host.remove();\n resolve();\n\n // Remove the toast stack from the DOM when there are no more alerts\n if (toastStack.querySelector('six-alert') === null) {\n toastStack.remove();\n }\n },\n { once: true }\n );\n });\n }\n\n private handleCloseClick = () => {\n this.hide();\n };\n\n private handleMouseMove = () => {\n this.restartAutoHide();\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'opacity' && target.classList.contains('alert')) {\n this.isVisible = this.open;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n };\n\n private restartAutoHide() {\n clearTimeout(this.autoHideTimeout);\n if (this.open && this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);\n }\n }\n\n render() {\n const asToast = this.host.closest('.six-toast-stack') != null;\n\n return (\n <div\n part=\"base\"\n class={{\n alert: true,\n 'alert--open': this.open,\n 'alert--visible': this.isVisible,\n 'alert--closable': this.closable,\n 'alert--primary': this.type === 'primary',\n 'alert--success': this.type === 'success',\n 'alert--info': this.type === 'info',\n 'alert--warning': this.type === 'warning',\n 'alert--danger': this.type === 'danger',\n 'alert--shadow': asToast,\n }}\n role=\"alert\"\n aria-live=\"assertive\"\n aria-atomic=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n onMouseMove={this.handleMouseMove}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <span part=\"icon\" class=\"alert__icon\">\n <slot name=\"icon\" />\n </span>\n\n <span part=\"message\" class=\"alert__message\">\n <slot />\n </span>\n\n {this.closable && (\n <span class=\"alert__close\">\n <six-icon-button\n name=\"clear\"\n exportparts=\"base:close-button\"\n onClick={this.handleCloseClick}\n ></six-icon-button>\n </span>\n )}\n </div>\n );\n }\n}\n\nexport type AlertType = 'primary' | 'success' | 'info' | 'warning' | 'danger';\n"]}
1
+ {"version":3,"file":"six-alert.js","sourceRoot":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import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { getSlot } from '../../utils/slot';\n\nconst toastStack = Object.assign(document.createElement('div'), { className: 'six-toast-stack' });\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The alert's content.\n * @slot icon - An icon to show in the alert.\n *\n * @part base - The component's base wrapper.\n * @part icon - The container that wraps the alert icon.\n * @part message - The alert message.\n * @part close-button - The close button.\n */\n\n@Component({\n tag: 'six-alert',\n styleUrl: 'six-alert.scss',\n shadow: true,\n})\nexport class SixAlert {\n private autoHideTimeout?: number;\n\n @Element() host!: HTMLSixAlertElement;\n\n @State() isVisible = false;\n\n /** Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Set to true to make the alert closable. */\n @Prop({ reflect: true }) closable = false;\n\n /** The type of alert. */\n @Prop({ reflect: true }) type: AlertType = 'primary';\n\n /**\n * The length of time, in milliseconds, the alert will show before closing itself.\n * If the user hovers over the toast alert, the timer will pause.\n * On leaving the element with the mouse, the timer resets.\n */\n @Prop() duration = Infinity;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n @Watch('duration')\n handleDurationChange() {\n this.restartAutoHide();\n }\n\n /** Emitted when the alert opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-alert-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the alert opens and all transitions are complete. */\n @Event({ eventName: 'six-alert-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the alert closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-alert-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the alert closes and all transitions are complete. */\n @Event({ eventName: 'six-alert-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n componentWillLoad() {\n // Show on init if open\n if (this.open) {\n this.show();\n }\n }\n\n /** Shows the alert. */\n @Method()\n async show() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (this.isVisible) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.isVisible = true;\n this.open = true;\n\n if (this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);\n }\n }\n\n /** Hides the alert */\n @Method()\n async hide() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (!this.isVisible) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n clearTimeout(this.autoHideTimeout);\n this.isVisible = false;\n this.open = false;\n }\n\n /**\n * Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\n * dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\n * calling this method again. The returned promise will resolve after the alert is hidden.\n * @param adjustPosition If true, the top and right position of the toast stack is shifted according to the\n * six-root header's height and the presence of a vertical scrollbar.\n */\n @Method()\n async toast(adjustPosition = true) {\n return new Promise<void>((resolve) => {\n if (!toastStack.parentElement) {\n document.body.append(toastStack);\n }\n toastStack.append(this.host);\n\n if (adjustPosition) {\n const sixRoot = document.querySelector('six-root');\n const headerSlot = getSlot(sixRoot, 'header');\n const mainSlot = sixRoot?.shadowRoot?.querySelector('host main');\n if (mainSlot != null && mainSlot instanceof HTMLElement) {\n const scrollbarWidth = mainSlot.offsetWidth - mainSlot.clientWidth;\n toastStack.style.right = `${scrollbarWidth}px`;\n }\n if (headerSlot != null) {\n const rect = headerSlot?.getBoundingClientRect();\n toastStack.style.top = `${rect.top + rect.height}px`;\n }\n } else {\n toastStack.style.top = '0';\n toastStack.style.right = '0';\n }\n\n requestAnimationFrame(() => this.show());\n\n this.host.addEventListener(\n 'six-alert-after-hide',\n () => {\n this.host.remove();\n resolve();\n\n // Remove the toast stack from the DOM when there are no more alerts\n if (toastStack.querySelector('six-alert') === null) {\n toastStack.remove();\n }\n },\n { once: true }\n );\n });\n }\n\n private pauseAutoHide() {\n clearTimeout(this.autoHideTimeout);\n }\n\n private resetAutoHide() {\n if (this.open && this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);\n }\n }\n\n private restartAutoHide() {\n this.pauseAutoHide();\n this.resetAutoHide();\n }\n\n private handleCloseClick = () => {\n this.hide();\n };\n\n private handleMouseEnter = () => {\n this.pauseAutoHide();\n };\n\n private handleMouseLeave = () => {\n this.resetAutoHide();\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'opacity' && target.classList.contains('alert')) {\n this.isVisible = this.open;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n };\n\n render() {\n const asToast = this.host.closest('.six-toast-stack') != null;\n\n return (\n <div\n part=\"base\"\n class={{\n alert: true,\n 'alert--open': this.open,\n 'alert--visible': this.isVisible,\n 'alert--closable': this.closable,\n 'alert--primary': this.type === 'primary',\n 'alert--success': this.type === 'success',\n 'alert--info': this.type === 'info',\n 'alert--warning': this.type === 'warning',\n 'alert--danger': this.type === 'danger',\n 'alert--shadow': asToast,\n }}\n role=\"alert\"\n aria-live=\"assertive\"\n aria-atomic=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n onTransitionEnd={this.handleTransitionEnd}\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n >\n <span part=\"icon\" class=\"alert__icon\">\n <slot name=\"icon\" />\n </span>\n\n <span part=\"message\" class=\"alert__message\">\n <slot />\n </span>\n\n {this.closable && (\n <span class=\"alert__close\">\n <six-icon-button\n name=\"clear\"\n exportparts=\"base:close-button\"\n onClick={this.handleCloseClick}\n ></six-icon-button>\n </span>\n )}\n </div>\n );\n }\n}\n\nexport type AlertType = 'primary' | 'success' | 'info' | 'warning' | 'danger';\n"]}
@@ -24,12 +24,12 @@ export class SixAvatar {
24
24
  this.shape = 'circle';
25
25
  }
26
26
  render() {
27
- return (h("div", { part: "base", class: {
27
+ return (h("div", { key: '2a76d2e154958ee61ff52642b9ecbfda16701b25', part: "base", class: {
28
28
  avatar: true,
29
29
  'avatar--circle': this.shape === 'circle',
30
30
  'avatar--rounded': this.shape === 'rounded',
31
31
  'avatar--square': this.shape === 'square',
32
- }, role: "image", "aria-label": this.alt, tabIndex: 0 }, this.initials === '' && (h("div", { part: "icon", class: "avatar__icon" }, h("slot", { name: "icon" }, h("six-icon", null, "person")))), this.initials && (h("div", { part: "initials", class: "avatar__initials" }, this.initials)), this.image && !this.hasError && (h("img", { part: "image", class: "avatar__image", src: this.image, onError: this.handleImageError }))));
32
+ }, role: "image", "aria-label": this.alt, tabIndex: 0 }, this.initials === '' && (h("div", { key: '7a5a16e6c2a09c62e321cd3487630dca8c01e38d', part: "icon", class: "avatar__icon" }, h("slot", { key: 'ea9da268e893e431afdefa1ff56047859d4b669f', name: "icon" }, h("six-icon", { key: 'ef9e7e4471bb5c7e9a87071d32e3ce809c393ce3' }, "person")))), this.initials && (h("div", { key: '03d05790514501eb466305351ec99701e3a7ce84', part: "initials", class: "avatar__initials" }, this.initials)), this.image && !this.hasError && (h("img", { key: '4c5ad967457ed0a0ea6e6c7ccbec67372c717d46', part: "image", class: "avatar__image", src: this.image, onError: this.handleImageError }))));
33
33
  }
34
34
  static get is() { return "six-avatar"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-avatar.js","sourceRoot":"","sources":["../../../src/components/six-avatar/six-avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE1D;;;;;;;;;;;;GAYG;AAMH,MAAM,OAAO,SAAS;;QAeZ,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACvB,CAAC,CAAC;wBAhBkB,KAAK;qBAGT,EAAE;mBAGJ,EAAE;wBAGG,EAAE;qBAG4B,QAAQ;;IAMzD,MAAM;QACJ,OAAO,CACL,WACE,IAAI,EAAC,MAAM,EACX,KAAK,EAAE;gBACL,MAAM,EAAE,IAAI;gBACZ,gBAAgB,EAAE,IAAI,CAAC,KAAK,KAAK,QAAQ;gBACzC,iBAAiB,EAAE,IAAI,CAAC,KAAK,KAAK,SAAS;gBAC3C,gBAAgB,EAAE,IAAI,CAAC,KAAK,KAAK,QAAQ;aAC1C,EACD,IAAI,EAAC,OAAO,gBACA,IAAI,CAAC,GAAG,EACpB,QAAQ,EAAE,CAAC;YAEV,IAAI,CAAC,QAAQ,KAAK,EAAE,IAAI,CACvB,WAAK,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,cAAc;gBACnC,YAAM,IAAI,EAAC,MAAM;oBACf,6BAA2B,CACtB,CACH,CACP;YAEA,IAAI,CAAC,QAAQ,IAAI,CAChB,WAAK,IAAI,EAAC,UAAU,EAAC,KAAK,EAAC,kBAAkB,IAC1C,IAAI,CAAC,QAAQ,CACV,CACP;YAEA,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAC/B,WAAK,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,eAAe,EAAC,GAAG,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,gBAAgB,GAAI,CAC5F,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop, State } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot icon - The default icon to use when no image or initials are present.\n *\n * @part base - The component's base wrapper.\n * @part icon - The container that wraps the avatar icon.\n * @part initials - The container that wraps the avatar initials.\n * @part image - The avatar image.\n */\n@Component({\n tag: 'six-avatar',\n styleUrl: 'six-avatar.scss',\n shadow: true,\n})\nexport class SixAvatar {\n @State() hasError = false;\n\n /** The image source to use for the avatar. */\n @Prop() image = '';\n\n /** Alternative text for the image. */\n @Prop() alt = '';\n\n /** Initials to use as a fallback when no image is available (1-2 characters max recommended). */\n @Prop() initials = '';\n\n /** The shape of the avatar. */\n @Prop() shape: 'circle' | 'square' | 'rounded' = 'circle';\n\n private handleImageError = () => {\n this.hasError = true;\n };\n\n render() {\n return (\n <div\n part=\"base\"\n class={{\n avatar: true,\n 'avatar--circle': this.shape === 'circle',\n 'avatar--rounded': this.shape === 'rounded',\n 'avatar--square': this.shape === 'square',\n }}\n role=\"image\"\n aria-label={this.alt}\n tabIndex={0}\n >\n {this.initials === '' && (\n <div part=\"icon\" class=\"avatar__icon\">\n <slot name=\"icon\">\n <six-icon>person</six-icon>\n </slot>\n </div>\n )}\n\n {this.initials && (\n <div part=\"initials\" class=\"avatar__initials\">\n {this.initials}\n </div>\n )}\n\n {this.image && !this.hasError && (\n <img part=\"image\" class=\"avatar__image\" src={this.image} onError={this.handleImageError} />\n )}\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-avatar.js","sourceRoot":"","sources":["../../../src/components/six-avatar/six-avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE1D;;;;;;;;;;;;GAYG;AAMH,MAAM,OAAO,SAAS;;QAeZ,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACvB,CAAC,CAAC;wBAhBkB,KAAK;qBAGT,EAAE;mBAGJ,EAAE;wBAGG,EAAE;qBAG4B,QAAQ;;IAMzD,MAAM;QACJ,OAAO,CACL,4DACE,IAAI,EAAC,MAAM,EACX,KAAK,EAAE;gBACL,MAAM,EAAE,IAAI;gBACZ,gBAAgB,EAAE,IAAI,CAAC,KAAK,KAAK,QAAQ;gBACzC,iBAAiB,EAAE,IAAI,CAAC,KAAK,KAAK,SAAS;gBAC3C,gBAAgB,EAAE,IAAI,CAAC,KAAK,KAAK,QAAQ;aAC1C,EACD,IAAI,EAAC,OAAO,gBACA,IAAI,CAAC,GAAG,EACpB,QAAQ,EAAE,CAAC;YAEV,IAAI,CAAC,QAAQ,KAAK,EAAE,IAAI,CACvB,4DAAK,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,cAAc;gBACnC,6DAAM,IAAI,EAAC,MAAM;oBACf,4EAA2B,CACtB,CACH,CACP;YAEA,IAAI,CAAC,QAAQ,IAAI,CAChB,4DAAK,IAAI,EAAC,UAAU,EAAC,KAAK,EAAC,kBAAkB,IAC1C,IAAI,CAAC,QAAQ,CACV,CACP;YAEA,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAC/B,4DAAK,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,eAAe,EAAC,GAAG,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,gBAAgB,GAAI,CAC5F,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop, State } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot icon - The default icon to use when no image or initials are present.\n *\n * @part base - The component's base wrapper.\n * @part icon - The container that wraps the avatar icon.\n * @part initials - The container that wraps the avatar initials.\n * @part image - The avatar image.\n */\n@Component({\n tag: 'six-avatar',\n styleUrl: 'six-avatar.scss',\n shadow: true,\n})\nexport class SixAvatar {\n @State() hasError = false;\n\n /** The image source to use for the avatar. */\n @Prop() image = '';\n\n /** Alternative text for the image. */\n @Prop() alt = '';\n\n /** Initials to use as a fallback when no image is available (1-2 characters max recommended). */\n @Prop() initials = '';\n\n /** The shape of the avatar. */\n @Prop() shape: 'circle' | 'square' | 'rounded' = 'circle';\n\n private handleImageError = () => {\n this.hasError = true;\n };\n\n render() {\n return (\n <div\n part=\"base\"\n class={{\n avatar: true,\n 'avatar--circle': this.shape === 'circle',\n 'avatar--rounded': this.shape === 'rounded',\n 'avatar--square': this.shape === 'square',\n }}\n role=\"image\"\n aria-label={this.alt}\n tabIndex={0}\n >\n {this.initials === '' && (\n <div part=\"icon\" class=\"avatar__icon\">\n <slot name=\"icon\">\n <six-icon>person</six-icon>\n </slot>\n </div>\n )}\n\n {this.initials && (\n <div part=\"initials\" class=\"avatar__initials\">\n {this.initials}\n </div>\n )}\n\n {this.image && !this.hasError && (\n <img part=\"image\" class=\"avatar__image\" src={this.image} onError={this.handleImageError} />\n )}\n </div>\n );\n }\n}\n"]}
@@ -16,7 +16,7 @@ export class SixBadge {
16
16
  this.pulse = false;
17
17
  }
18
18
  render() {
19
- return (h("span", { part: "base", class: {
19
+ return (h("span", { key: '23abdb168494d38a44857402773c283617865376', part: "base", class: {
20
20
  badge: true,
21
21
  // Types
22
22
  'badge--primary': this.type === 'primary',
@@ -28,7 +28,7 @@ export class SixBadge {
28
28
  'badge--info': this.type === 'info',
29
29
  'badge--pill': this.pill,
30
30
  'badge--pulse': this.pulse,
31
- }, role: "status" }, h("slot", null)));
31
+ }, role: "status" }, h("slot", { key: '7de84841ba8881ae53e103d5ba07a496f801e254' })));
32
32
  }
33
33
  static get is() { return "six-badge"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-badge.js","sourceRoot":"","sources":["../../../src/components/six-badge/six-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;;;;;GASG;AAOH,MAAM,OAAO,QAAQ;;oBAE4E,SAAS;oBAGzF,KAAK;qBAGJ,KAAK;;IAErB,MAAM;QACJ,OAAO,CACL,YACE,IAAI,EAAC,MAAM,EACX,KAAK,EAAE;gBACL,KAAK,EAAE,IAAI;gBAEX,QAAQ;gBACR,gBAAgB,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS;gBACzC,kBAAkB,EAAE,IAAI,CAAC,IAAI,KAAK,WAAW;gBAC7C,gBAAgB,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS;gBACzC,gBAAgB,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS;gBACzC,eAAe,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;gBACvC,eAAe,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;gBACvC,aAAa,EAAE,IAAI,CAAC,IAAI,KAAK,MAAM;gBACnC,aAAa,EAAE,IAAI,CAAC,IAAI;gBACxB,cAAc,EAAE,IAAI,CAAC,KAAK;aAC3B,EACD,IAAI,EAAC,QAAQ;YAEb,eAAQ,CACH,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The badge's content.\n *\n * @part base - The base wrapper\n */\n\n@Component({\n tag: 'six-badge',\n styleUrl: 'six-badge.scss',\n shadow: true,\n})\nexport class SixBadge {\n /** The badge's type. */\n @Prop() type: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'action' = 'primary';\n\n /** Set to true to draw a pill-style badge with rounded edges. */\n @Prop() pill = false;\n\n /** Set to true to make the badge pulsate to draw attention. */\n @Prop() pulse = false;\n\n render() {\n return (\n <span\n part=\"base\"\n class={{\n badge: true,\n\n // Types\n 'badge--primary': this.type === 'primary',\n 'badge--secondary': this.type === 'secondary',\n 'badge--success': this.type === 'success',\n 'badge--warning': this.type === 'warning',\n 'badge--danger': this.type === 'danger',\n 'badge--action': this.type === 'action',\n 'badge--info': this.type === 'info',\n 'badge--pill': this.pill,\n 'badge--pulse': this.pulse,\n }}\n role=\"status\"\n >\n <slot />\n </span>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-badge.js","sourceRoot":"","sources":["../../../src/components/six-badge/six-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;;;;;GASG;AAOH,MAAM,OAAO,QAAQ;;oBAE4E,SAAS;oBAGzF,KAAK;qBAGJ,KAAK;;IAErB,MAAM;QACJ,OAAO,CACL,6DACE,IAAI,EAAC,MAAM,EACX,KAAK,EAAE;gBACL,KAAK,EAAE,IAAI;gBAEX,QAAQ;gBACR,gBAAgB,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS;gBACzC,kBAAkB,EAAE,IAAI,CAAC,IAAI,KAAK,WAAW;gBAC7C,gBAAgB,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS;gBACzC,gBAAgB,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS;gBACzC,eAAe,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;gBACvC,eAAe,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;gBACvC,aAAa,EAAE,IAAI,CAAC,IAAI,KAAK,MAAM;gBACnC,aAAa,EAAE,IAAI,CAAC,IAAI;gBACxB,cAAc,EAAE,IAAI,CAAC,KAAK;aAC3B,EACD,IAAI,EAAC,QAAQ;YAEb,8DAAQ,CACH,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The badge's content.\n *\n * @part base - The base wrapper\n */\n\n@Component({\n tag: 'six-badge',\n styleUrl: 'six-badge.scss',\n shadow: true,\n})\nexport class SixBadge {\n /** The badge's type. */\n @Prop() type: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'action' = 'primary';\n\n /** Set to true to draw a pill-style badge with rounded edges. */\n @Prop() pill = false;\n\n /** Set to true to make the badge pulsate to draw attention. */\n @Prop() pulse = false;\n\n render() {\n return (\n <span\n part=\"base\"\n class={{\n badge: true,\n\n // Types\n 'badge--primary': this.type === 'primary',\n 'badge--secondary': this.type === 'secondary',\n 'badge--success': this.type === 'success',\n 'badge--warning': this.type === 'warning',\n 'badge--danger': this.type === 'danger',\n 'badge--action': this.type === 'action',\n 'badge--info': this.type === 'info',\n 'badge--pill': this.pill,\n 'badge--pulse': this.pulse,\n }}\n role=\"status\"\n >\n <slot />\n </span>\n );\n }\n}\n"]}
@@ -190,6 +190,23 @@
190
190
  border-color: var(--six-color-action-500);
191
191
  opacity: 70%;
192
192
  }
193
+ .button.button--action-outline {
194
+ border-color: var(--six-color-action-500);
195
+ background-color: var(--six-color-white);
196
+ color: var(--six-color-action-500);
197
+ }
198
+ .button.button--action-outline.button--disabled {
199
+ background-color: var(--six-color-web-rock-400);
200
+ border-color: var(--six-color-web-rock-400);
201
+ color: var(--six-color-web-rock-700);
202
+ }
203
+ .button.button--action-outline:hover:not(.button--disabled) {
204
+ background-color: var(--six-color-web-rock-100);
205
+ }
206
+ .button.button--action-outline:active:not(.button--disabled) {
207
+ border-color: var(--six-color-action-500);
208
+ opacity: 70%;
209
+ }
193
210
 
194
211
  .button--small {
195
212
  font-size: var(--six-button-font-size-small);
@@ -79,7 +79,7 @@ export class SixButton {
79
79
  const isLink = this.href != null;
80
80
  const isButton = !isLink;
81
81
  const Button = isLink ? 'a' : 'button';
82
- return (h("div", { onClick: this.handleClick, class: { 'button-wrapper--disabled': this.disabled } }, h(Button, { ref: (el) => (this.nativeButton = el), part: "base", class: {
82
+ return (h("div", { key: '2cd90894b14168322a23d219c0b21da8f379d5e2', onClick: this.handleClick, class: { 'button-wrapper--disabled': this.disabled } }, h(Button, { key: 'b09de02adbfb8628689cc8084e381bebd1e839f8', ref: (el) => (this.nativeButton = el), part: "base", class: {
83
83
  button: true,
84
84
  // Types
85
85
  'button--secondary': this.type === 'secondary',
@@ -89,6 +89,7 @@ export class SixButton {
89
89
  'button--warning': this.type === 'warning',
90
90
  'button--danger': this.type === 'danger',
91
91
  'button--action': this.type === 'action',
92
+ 'button--action-outline': this.type === 'action-outline',
92
93
  // Sizes
93
94
  'button--small': this.size === 'small',
94
95
  'button--medium': this.size === 'medium',
@@ -103,7 +104,7 @@ export class SixButton {
103
104
  'button--has-label': this.hasLabel,
104
105
  'button--has-prefix': this.hasPrefix,
105
106
  'button--has-suffix': this.hasSuffix,
106
- }, disabled: isButton ? this.disabled : undefined, tabindex: this.disabled ? '-1' : undefined, type: isButton ? (this.submit ? 'submit' : this.reset ? 'reset' : 'button') : undefined, name: isButton ? this.name : undefined, value: isButton ? this.value : undefined, href: isLink ? this.href : undefined, target: isLink && this.target != null ? this.target : undefined, download: isLink && this.download != null ? this.download : undefined, rel: isLink && this.target != null ? 'noreferrer noopener' : undefined, onBlur: this.handleBlur, onFocus: this.handleFocus, "data-testid": "button" }, h("span", { part: "prefix", class: "button__prefix" }, h("slot", { onSlotchange: this.handleSlotChange, name: "prefix" })), h("span", { part: "label", class: "button__label" }, h("slot", { onSlotchange: this.handleSlotChange })), h("span", { part: "suffix", class: "button__suffix" }, h("slot", { onSlotchange: this.handleSlotChange, name: "suffix" })), this.caret && (h("span", { part: "caret", class: "button__caret" }, h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("polyline", { points: "6 9 12 15 18 9" })))), this.loading && h("six-spinner", null))));
107
+ }, disabled: isButton ? this.disabled : undefined, tabindex: this.disabled ? '-1' : undefined, type: isButton ? (this.submit ? 'submit' : this.reset ? 'reset' : 'button') : undefined, name: isButton ? this.name : undefined, value: isButton ? this.value : undefined, href: isLink ? this.href : undefined, target: isLink && this.target != null ? this.target : undefined, download: isLink && this.download != null ? this.download : undefined, rel: isLink && this.target != null ? 'noreferrer noopener' : undefined, onBlur: this.handleBlur, onFocus: this.handleFocus, "data-testid": "button" }, h("span", { key: 'df5d79a6bf46b4c3ea3adf6e68e3978aa2acb18e', part: "prefix", class: "button__prefix" }, h("slot", { key: 'e78449a92a82939e3d1ba5c8fdcd2fcbe63a1ce1', onSlotchange: this.handleSlotChange, name: "prefix" })), h("span", { key: '392781b1720026d57987b911772944970245fefd', part: "label", class: "button__label" }, h("slot", { key: '0bb149fcf825c5ddbe0b40f49df019864e671824', onSlotchange: this.handleSlotChange })), h("span", { key: 'c78c7c657c9117151f32482d0a98b37308288304', part: "suffix", class: "button__suffix" }, h("slot", { key: '579fa531656c5e9f9e4341a7f6ea49d01062e63b', onSlotchange: this.handleSlotChange, name: "suffix" })), this.caret && (h("span", { key: 'de61f96d9a9fef93b2f471093d6f75015e0f765a', part: "caret", class: "button__caret" }, h("svg", { key: 'f4a2af2484f93de8da2d8eb4396acae6b7a4668c', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("polyline", { key: '91dd04bce9eba1265390cc633004b5524cc5b42f', points: "6 9 12 15 18 9" })))), this.loading && h("six-spinner", { key: '6c182105a54a74d8b68c9fb47a866a69ebcb4573' }))));
107
108
  }
108
109
  static get is() { return "six-button"; }
109
110
  static get encapsulation() { return "shadow"; }
@@ -123,8 +124,8 @@ export class SixButton {
123
124
  "type": "string",
124
125
  "mutable": false,
125
126
  "complexType": {
126
- "original": "'secondary' | 'primary' | 'link' | 'success' | 'warning' | 'danger' | 'action'",
127
- "resolved": "\"action\" | \"danger\" | \"link\" | \"primary\" | \"secondary\" | \"success\" | \"warning\"",
127
+ "original": "| 'secondary'\n | 'primary'\n | 'link'\n | 'success'\n | 'warning'\n | 'danger'\n | 'action'\n | 'action-outline'",
128
+ "resolved": "\"action\" | \"action-outline\" | \"danger\" | \"link\" | \"primary\" | \"secondary\" | \"success\" | \"warning\"",
128
129
  "references": {}
129
130
  },
130
131
  "required": false,
@@ -1 +1 @@
1
- {"version":3,"file":"six-button.js","sourceRoot":"","sources":["../../../src/components/six-button/six-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C;;;;;;;;;;;;;;;GAeG;AAOH,MAAM,OAAO,SAAS;;QA2EZ,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACnC,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YAC9C,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAChD,CAAC,CAAC;QAEM,eAAU,GAAG,GAAG,EAAE;YACxB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QACtB,CAAC,CAAC;QAEM,gBAAW,GAAG,GAAG,EAAE;YACzB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,E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AgB;oBACxC,YAAM,YAAY,EAAE,IAAI,CAAC,gBAAgB,EAAE,IAAI,EAAC,QAAQ,GAAG,CACtD;gBACN,IAAI,CAAC,KAAK,IAAI,CACb,YAAM,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,eAAe;oBACtC,WACE,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,kBACR,GAAG,oBACD,OAAO,qBACN,OAAO;wBAEvB,gBAAU,MAAM,EAAC,gBAAgB,GAAG,CAChC,CACD,CACR;gBAEA,IAAI,CAAC,OAAO,IAAI,sBAAe,CACzB,CACL,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State } from '@stencil/core';\nimport { hasSlot } from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { submitForm } from '../../utils/form';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The button's label.\n * @slot prefix - Used to prepend an icon or similar element to the button.\n * @slot suffix - Used to append an icon or similar element to the button.\n *\n * @part base - The component's base wrapper.\n * @part prefix - The prefix container.\n * @part label - The button's label.\n * @part suffix - The suffix container.\n * @part caret - The button's caret.\n */\n\n@Component({\n tag: 'six-button',\n styleUrl: 'six-button.scss',\n shadow: true,\n})\nexport class SixButton {\n private nativeButton?: HTMLButtonElement | HTMLAnchorElement;\n\n @Element() host!: HTMLSixButtonElement;\n\n @State() hasFocus = false;\n @State() hasLabel = false;\n @State() hasPrefix = false;\n @State() hasSuffix = false;\n\n /** The button's type. */\n @Prop({ reflect: true }) type: 'secondary' | 'primary' | 'link' | 'success' | 'warning' | 'danger' | 'action' =\n 'primary';\n\n /** The button's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Set to true to draw the button with a caret for use with dropdowns, popovers, etc. */\n @Prop() caret = false;\n\n /** Set to true to disable the button. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set to true to draw the button in a loading state. */\n @Prop({ reflect: true }) loading = false;\n\n /** Set to true to draw a pill-style button with rounded edges. */\n @Prop({ reflect: true }) pill = false;\n\n /** Set to true to draw a circle button. */\n @Prop({ reflect: true }) circle = false;\n\n /** Indicates if activating the button should submit the form. Ignored when `href` is set. */\n @Prop({ reflect: true }) submit = false;\n\n /** Indicates if activating the button should reset the form. */\n @Prop({ reflect: true }) reset = false;\n\n /** An optional name for the button. Ignored when `href` is set. */\n @Prop() name = '';\n\n /** An optional value for the button. Ignored when `href` is set. */\n @Prop() value = '';\n\n /** When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`. */\n @Prop() href?: string;\n\n /** Tells the browser where to open the link. Only used when `href` is set. */\n @Prop() target?: '_blank' | '_parent' | '_self' | '_top';\n\n /** Tells the browser to download the linked file as this filename. Only used when `href` is set. */\n @Prop() download?: string;\n\n /** Emitted when the button loses focus. */\n @Event({ eventName: 'six-button-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the button gains focus. */\n @Event({ eventName: 'six-button-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n /** Sets focus on the button. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.nativeButton?.focus(options);\n }\n\n /** Removes focus from the button. */\n @Method()\n async removeFocus() {\n this.nativeButton?.blur();\n }\n\n private handleSlotChange = () => {\n this.hasLabel = hasSlot(this.host);\n this.hasPrefix = hasSlot(this.host, 'prefix');\n this.hasSuffix = hasSlot(this.host, 'suffix');\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 handleClick = (event: MouseEvent) => {\n if (this.disabled || this.loading) {\n event.preventDefault();\n event.stopPropagation();\n return;\n }\n\n if (this.submit) {\n event.preventDefault();\n submitForm(this.host);\n }\n };\n\n render() {\n const isLink = this.href != null;\n const isButton = !isLink;\n const Button = isLink ? 'a' : 'button';\n\n return (\n <div onClick={this.handleClick} class={{ 'button-wrapper--disabled': this.disabled }}>\n <Button\n ref={(el) => (this.nativeButton = el)}\n part=\"base\"\n class={{\n button: true,\n\n // Types\n 'button--secondary': this.type === 'secondary',\n 'button--primary': this.type === 'primary',\n 'button--link': this.type === 'link',\n 'button--success': this.type === 'success',\n 'button--warning': this.type === 'warning',\n 'button--danger': this.type === 'danger',\n 'button--action': this.type === 'action',\n\n // Sizes\n 'button--small': this.size === 'small',\n 'button--medium': this.size === 'medium',\n 'button--large': this.size === 'large',\n\n // Modifiers\n 'button--caret': this.caret,\n 'button--circle': this.circle,\n 'button--disabled': this.disabled,\n 'button--focused': this.hasFocus,\n 'button--loading': this.loading,\n 'button--pill': this.pill,\n 'button--has-label': this.hasLabel,\n 'button--has-prefix': this.hasPrefix,\n 'button--has-suffix': this.hasSuffix,\n }}\n disabled={isButton ? this.disabled : undefined}\n tabindex={this.disabled ? '-1' : undefined}\n type={isButton ? (this.submit ? 'submit' : this.reset ? 'reset' : 'button') : undefined}\n name={isButton ? this.name : undefined}\n value={isButton ? this.value : undefined}\n href={isLink ? this.href : undefined}\n target={isLink && this.target != null ? this.target : undefined}\n download={isLink && this.download != null ? this.download : undefined}\n rel={isLink && this.target != null ? 'noreferrer noopener' : undefined}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n data-testid=\"button\"\n >\n <span part=\"prefix\" class=\"button__prefix\">\n <slot onSlotchange={this.handleSlotChange} name=\"prefix\" />\n </span>\n <span part=\"label\" class=\"button__label\">\n <slot onSlotchange={this.handleSlotChange} />\n </span>\n <span part=\"suffix\" class=\"button__suffix\">\n <slot onSlotchange={this.handleSlotChange} name=\"suffix\" />\n </span>\n {this.caret && (\n <span part=\"caret\" class=\"button__caret\">\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <polyline points=\"6 9 12 15 18 9\" />\n </svg>\n </span>\n )}\n\n {this.loading && <six-spinner />}\n </Button>\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-button.js","sourceRoot":"","sources":["../../../src/components/six-button/six-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C;;;;;;;;;;;;;;;GAeG;AAOH,MAAM,OAAO,SAAS;;QAkFZ,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACnC,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YAC9C,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAChD,CAAC,CAAC;QAEM,eAAU,GAAG,GAAG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from '../../utils/slot';\nimport { EmptyPayload } from '../../utils/types';\nimport { submitForm } from '../../utils/form';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The button's label.\n * @slot prefix - Used to prepend an icon or similar element to the button.\n * @slot suffix - Used to append an icon or similar element to the button.\n *\n * @part base - The component's base wrapper.\n * @part prefix - The prefix container.\n * @part label - The button's label.\n * @part suffix - The suffix container.\n * @part caret - The button's caret.\n */\n\n@Component({\n tag: 'six-button',\n styleUrl: 'six-button.scss',\n shadow: true,\n})\nexport class SixButton {\n private nativeButton?: HTMLButtonElement | HTMLAnchorElement;\n\n @Element() host!: HTMLSixButtonElement;\n\n @State() hasFocus = false;\n @State() hasLabel = false;\n @State() hasPrefix = false;\n @State() hasSuffix = false;\n\n /** The button's type. */\n @Prop({ reflect: true }) type:\n | 'secondary'\n | 'primary'\n | 'link'\n | 'success'\n | 'warning'\n | 'danger'\n | 'action'\n | 'action-outline' = 'primary';\n\n /** The button's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Set to true to draw the button with a caret for use with dropdowns, popovers, etc. */\n @Prop() caret = false;\n\n /** Set to true to disable the button. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set to true to draw the button in a loading state. */\n @Prop({ reflect: true }) loading = false;\n\n /** Set to true to draw a pill-style button with rounded edges. */\n @Prop({ reflect: true }) pill = false;\n\n /** Set to true to draw a circle button. */\n @Prop({ reflect: true }) circle = false;\n\n /** Indicates if activating the button should submit the form. Ignored when `href` is set. */\n @Prop({ reflect: true }) submit = false;\n\n /** Indicates if activating the button should reset the form. */\n @Prop({ reflect: true }) reset = false;\n\n /** An optional name for the button. Ignored when `href` is set. */\n @Prop() name = '';\n\n /** An optional value for the button. Ignored when `href` is set. */\n @Prop() value = '';\n\n /** When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`. */\n @Prop() href?: string;\n\n /** Tells the browser where to open the link. Only used when `href` is set. */\n @Prop() target?: '_blank' | '_parent' | '_self' | '_top';\n\n /** Tells the browser to download the linked file as this filename. Only used when `href` is set. */\n @Prop() download?: string;\n\n /** Emitted when the button loses focus. */\n @Event({ eventName: 'six-button-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the button gains focus. */\n @Event({ eventName: 'six-button-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n /** Sets focus on the button. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.nativeButton?.focus(options);\n }\n\n /** Removes focus from the button. */\n @Method()\n async removeFocus() {\n this.nativeButton?.blur();\n }\n\n private handleSlotChange = () => {\n this.hasLabel = hasSlot(this.host);\n this.hasPrefix = hasSlot(this.host, 'prefix');\n this.hasSuffix = hasSlot(this.host, 'suffix');\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 handleClick = (event: MouseEvent) => {\n if (this.disabled || this.loading) {\n event.preventDefault();\n event.stopPropagation();\n return;\n }\n\n if (this.submit) {\n event.preventDefault();\n submitForm(this.host);\n }\n };\n\n render() {\n const isLink = this.href != null;\n const isButton = !isLink;\n const Button = isLink ? 'a' : 'button';\n\n return (\n <div onClick={this.handleClick} class={{ 'button-wrapper--disabled': this.disabled }}>\n <Button\n ref={(el) => (this.nativeButton = el)}\n part=\"base\"\n class={{\n button: true,\n\n // Types\n 'button--secondary': this.type === 'secondary',\n 'button--primary': this.type === 'primary',\n 'button--link': this.type === 'link',\n 'button--success': this.type === 'success',\n 'button--warning': this.type === 'warning',\n 'button--danger': this.type === 'danger',\n 'button--action': this.type === 'action',\n 'button--action-outline': this.type === 'action-outline',\n\n // Sizes\n 'button--small': this.size === 'small',\n 'button--medium': this.size === 'medium',\n 'button--large': this.size === 'large',\n\n // Modifiers\n 'button--caret': this.caret,\n 'button--circle': this.circle,\n 'button--disabled': this.disabled,\n 'button--focused': this.hasFocus,\n 'button--loading': this.loading,\n 'button--pill': this.pill,\n 'button--has-label': this.hasLabel,\n 'button--has-prefix': this.hasPrefix,\n 'button--has-suffix': this.hasSuffix,\n }}\n disabled={isButton ? this.disabled : undefined}\n tabindex={this.disabled ? '-1' : undefined}\n type={isButton ? (this.submit ? 'submit' : this.reset ? 'reset' : 'button') : undefined}\n name={isButton ? this.name : undefined}\n value={isButton ? this.value : undefined}\n href={isLink ? this.href : undefined}\n target={isLink && this.target != null ? this.target : undefined}\n download={isLink && this.download != null ? this.download : undefined}\n rel={isLink && this.target != null ? 'noreferrer noopener' : undefined}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n data-testid=\"button\"\n >\n <span part=\"prefix\" class=\"button__prefix\">\n <slot onSlotchange={this.handleSlotChange} name=\"prefix\" />\n </span>\n <span part=\"label\" class=\"button__label\">\n <slot onSlotchange={this.handleSlotChange} />\n </span>\n <span part=\"suffix\" class=\"button__suffix\">\n <slot onSlotchange={this.handleSlotChange} name=\"suffix\" />\n </span>\n {this.caret && (\n <span part=\"caret\" class=\"button__caret\">\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <polyline points=\"6 9 12 15 18 9\" />\n </svg>\n </span>\n )}\n\n {this.loading && <six-spinner />}\n </Button>\n </div>\n );\n }\n}\n"]}
@@ -7,7 +7,7 @@ import { h, Host } from "@stencil/core";
7
7
  */
8
8
  export class SixCard {
9
9
  render() {
10
- return (h(Host, null, h("slot", null)));
10
+ return (h(Host, { key: '57b9d5502d3afd1e3f4bf2f58301dc1bd42105e0' }, h("slot", { key: 'a0dac50eb9ecb0c01f48b705de76e3a6cca34c2e' })));
11
11
  }
12
12
  static get is() { return "six-card"; }
13
13
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-card.js","sourceRoot":"","sources":["../../../src/components/six-card/six-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;GAKG;AAOH,MAAM,OAAO,OAAO;IAClB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,eAAQ,CACH,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the content of the card.\n */\n\n@Component({\n tag: 'six-card',\n styleUrl: 'six-card.scss',\n shadow: true,\n})\nexport class SixCard {\n render() {\n return (\n <Host>\n <slot />\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-card.js","sourceRoot":"","sources":["../../../src/components/six-card/six-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;GAKG;AAOH,MAAM,OAAO,OAAO;IAClB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,8DAAQ,CACH,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the content of the card.\n */\n\n@Component({\n tag: 'six-card',\n styleUrl: 'six-card.scss',\n shadow: true,\n})\nexport class SixCard {\n render() {\n return (\n <Host>\n <slot />\n </Host>\n );\n }\n}\n"]}
@@ -112,6 +112,7 @@
112
112
  align-items: center;
113
113
  justify-content: center;
114
114
  width: var(--six-selection-control-toggle-size);
115
+ min-width: var(--six-selection-control-toggle-size);
115
116
  height: var(--six-selection-control-toggle-size);
116
117
  border: solid var(--six-border-width) var(--six-input-border-color);
117
118
  border-radius: 0;
@@ -125,6 +126,7 @@
125
126
  padding: 0;
126
127
  margin: 0;
127
128
  pointer-events: none;
129
+ min-width: var(--six-selection-control-toggle-size);
128
130
  }
129
131
  .checkbox__control .checkbox__icon {
130
132
  display: inline-flex;
@@ -107,14 +107,14 @@ export class SixCheckbox {
107
107
  this.hasErrorSlot = hasSlot(this.host, 'error-text');
108
108
  }
109
109
  render() {
110
- return (h(FormControl, { 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", { part: "base", class: {
110
+ return (h(FormControl, { key: '559223a5b607e90c425563bb7562cc841bb37b4a', 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: '41020a952865aade603a27da643500dde1577d9a', part: "base", class: {
111
111
  checkbox: true,
112
112
  'checkbox--checked': this.checked,
113
113
  'checkbox--disabled': this.disabled,
114
114
  'checkbox--focused': this.hasFocus,
115
115
  'checkbox--invalid': this.invalid,
116
116
  'checkbox--indeterminate': this.indeterminate,
117
- }, htmlFor: this.inputId, onMouseDown: this.handleMouseDown }, h("span", { 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", { 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", { part: "text", id: this.textId, class: "checkbox__text" }, h("slot", null)))));
117
+ }, htmlFor: this.inputId, onMouseDown: this.handleMouseDown }, h("span", { key: 'e8ca565702d0f28a8268419b1922377de019aeb9', part: "control", class: "checkbox__control" }, this.checked && (h("span", { key: '9f2766870cca805718bcb354f1b9f8fa816058a3', part: "checked-icon", class: "checkbox__icon" }, h("svg", { key: 'b723d2fe38eac6458817a52b4cd817d406b6b168', viewBox: "0 0 16 16" }, h("g", { key: '7c666760a32d708289f4b2be73d7ddf741c9224f', stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" }, h("g", { key: '9504107d0784555ab6d1706ee6650f465e9f4f14', stroke: "currentColor", "stroke-width": "2" }, h("g", { key: 'aba8c4fbc2241f72ca7e69e1df55b1aeb131eba4', transform: "translate(3.428571, 3.428571)" }, h("path", { key: '8c94324eacc3775f4670431b1893ffed23eb9022', d: "M0,5.71428571 L3.42857143,9.14285714" }), h("path", { key: '2956ea4fcd3f60c11122f9b9ded05e2fea91dc5f', d: "M9.14285714,0 L3.42857143,9.14285714" }))))))), !this.checked && this.indeterminate && (h("span", { key: '8a5299ac61e23fececb5a4a31e92170c35e3ea16', part: "indeterminate-icon", class: "checkbox__icon" }, h("svg", { key: '67d397a1dad6d040a8173f33e79f96d9b79074a4', viewBox: "0 0 16 16" }, h("g", { key: 'a3bdc58b383787142ca0c4bbbaf4d42c01ddbcef', stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" }, h("g", { key: '1e750eec7684c2776776bbeeb52bc1ed121410c2', stroke: "currentColor", "stroke-width": "2" }, h("g", { key: '73c759793a9fdb8eb97e7b2b23577e71b952f6fd', transform: "translate(2.285714, 6.857143)" }, h("path", { key: '318d6b4e2784e0e4fa24daff80b0a5f459ccbff5', d: "M10.2857143,1.14285714 L1.14285714,1.14285714" }))))))), h("input", { key: '6a12322684da921310573ac048dd6690e70b452f', 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: 'd3f29202344b2daddbef69927c447f61a1936760', part: "text", id: this.textId, class: "checkbox__text" }, h("slot", { key: '53fc91b65194dd3966e27d767e0c713fc16b9bd2' })))));
118
118
  }
119
119
  static get is() { return "six-checkbox"; }
120
120
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-checkbox.js","sourceRoot":"","sources":["../../../src/components/six-checkbox/six-checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACvG,OAAO,WAAW,MAAM,uDAAuD,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;;GAcG;AAOH,MAAM,OAAO,WAAW;;QACd,YAAO,GAAG,YAAY,EAAE,EAAE,EAAE,CAAC;QAC7B,YAAO,GAAG,kBAAkB,EAAE,EAAE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CACG;gBAEP,YAAM,IAAI,EAAC,MAAM,EAAC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,EAAC,gBAAgB;oBACvD,eAAQ,CACH,CACD,CACI,CACf,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["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"]}
1
+ {"version":3,"file":"six-checkbox.js","sourceRoot":"","sources":["../../../src/components/six-checkbox/six-checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACvG,OAAO,WAAW,MAAM,uDAAuD,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,kBAA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,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAC,UAAU,kBACD,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,qBAC5B,IAAI,CAAC,OAAO,EAC7B,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,MAAM,EAAE,IAAI,CAAC,UAAU,EACvB,OAAO,EAAE,IAAI,CAAC,WAAW,GACzB,CACG;gBAEP,6DAAM,IAAI,EAAC,MAAM,EAAC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,EAAC,gBAAgB;oBACvD,8DAAQ,CACH,CACD,CACI,CACf,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["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"]}
@@ -132,19 +132,21 @@ export class SixDatepicker {
132
132
  }
133
133
  };
134
134
  this.handleOnBlur = (event) => {
135
- var _a, _b;
135
+ var _a, _b, _c;
136
+ event.stopPropagation();
136
137
  // clear the value if the user deleted the date
137
138
  if (((_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.value) === '' && isValidDate(this.value)) {
138
139
  this.value = undefined;
139
140
  this.sixSelect.emit(this.value);
140
141
  }
141
- event.stopPropagation();
142
- const inputValue = (_b = this.inputElement) === null || _b === void 0 ? void 0 : _b.value;
143
- const inputValueDate = toDate(inputValue, this.dateFormat);
144
- const formattedDate = formatDate(this.value, this.dateFormat);
145
- if (this.inputElement != null && inputValueDate != null && inputValue !== formattedDate) {
146
- // properly format date if necessary
147
- this.inputElement.value = formattedDate;
142
+ const currentDate = toDate((_b = this.inputElement) === null || _b === void 0 ? void 0 : _b.value, this.dateFormat);
143
+ if (isValidDate(currentDate) && ((_c = this.value) === null || _c === void 0 ? void 0 : _c.getTime()) !== (currentDate === null || currentDate === void 0 ? void 0 : currentDate.getTime())) {
144
+ // Set the value if the input field's value has changed. This can happen if the blur occurs
145
+ // before the change event had a chance to fire due to its debouncing.
146
+ this.value = currentDate;
147
+ }
148
+ if (this.inputElement != null) {
149
+ this.inputElement.value = formatDate(this.value, this.dateFormat);
148
150
  }
149
151
  this.sixBlur.emit(this.value);
150
152
  };
@@ -410,15 +412,15 @@ export class SixDatepicker {
410
412
  render() {
411
413
  var _a, _b, _c;
412
414
  this.adjustPopupPosition();
413
- 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: {
415
+ return (h("div", { key: 'b5ba1d95babef5f6f47bd176f607756df09f293b', ref: (el) => (this.wrapper = el), class: "datepicker__container" }, h("six-input", { key: 'bbc7941bb975cb5e66eda215fea89dc3455724a3', 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", { key: 'ceaf12686b514b8708e1b254e8ed8990c519e19b', part: "popup", ref: (el) => (this.popup = el), class: {
414
416
  datepicker__popup: true,
415
417
  'datepicker__popup--is-up': this.placement != null ? this.placement === 'top' : this.isDropDownContentUp,
416
418
  'datepicker__popup--is-inline': this.inline,
417
- } }, 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()) +
419
+ } }, this.renderHeader(), this.renderBody(), this.type === 'date-time' && (h("six-timepicker", { key: 'c978d4bf39f7b212eb6f4f37acbfc2f5533e2ebc', 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()) +
418
420
  ':' +
419
421
  ((_b = this.selectedDate) === null || _b === void 0 ? void 0 : _b.getMinutes()) +
420
422
  ':' +
421
- ((_c = this.selectedDate) === null || _c === void 0 ? void 0 : _c.getSeconds()) })), h("div", { class: "datepicker__footer" }, h("slot", null))))));
423
+ ((_c = this.selectedDate) === null || _c === void 0 ? void 0 : _c.getSeconds()) })), h("div", { key: 'ffaec9fff60951e6f8134437f31b359d93b3b91e', class: "datepicker__footer" }, h("slot", { key: '58655ebaf55d53e2524eee16e87ecf629fe9eb29' }))))));
422
424
  }
423
425
  adjustPopupPosition() {
424
426
  adjustPopupForHoisting(this.hoist, this.popup, this.inputElement, this.wrapper, MIN_POPUP_HEIGHT, (isUp) => (this.isDropDownContentUp = isUp));
@@ -477,8 +479,8 @@ export class SixDatepicker {
477
479
  "type": "string",
478
480
  "mutable": false,
479
481
  "complexType": {
480
- "original": "'en' | 'de' | 'fr' | 'it'",
481
- "resolved": "\"de\" | \"en\" | \"fr\" | \"it\"",
482
+ "original": "'en' | 'de' | 'fr' | 'it' | 'es'",
483
+ "resolved": "\"de\" | \"en\" | \"es\" | \"fr\" | \"it\"",
482
484
  "references": {}
483
485
  },
484
486
  "required": false,