@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
@@ -11,7 +11,7 @@ export class SixIcon {
11
11
  this.filled = false;
12
12
  }
13
13
  render() {
14
- return (h("i", { class: {
14
+ return (h("i", { key: '0df61da1a314e6860fe03bf12a391f93c9d61944', class: {
15
15
  'material-icons': true,
16
16
  'material-icons-outlined': !this.filled,
17
17
  'material-icons-filled': this.filled,
@@ -23,7 +23,7 @@ export class SixIcon {
23
23
  'icon--xxlarge': this.size === 'xxLarge',
24
24
  'icon--xxxlarge': this.size === 'xxxLarge',
25
25
  'icon--inherit': this.size === 'inherit',
26
- } }, h("slot", null)));
26
+ } }, h("slot", { key: '83f13f05cfb7771b169ac8d7a45312d8e7139335' })));
27
27
  }
28
28
  static get is() { return "six-icon"; }
29
29
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-icon.js","sourceRoot":"","sources":["../../../src/components/six-icon/six-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;GAKG;AAOH,MAAM,OAAO,OAAO;;oBAUD,SAAS;sBAGT,KAAK;;IAEtB,MAAM;QACJ,OAAO,CACL,SACE,KAAK,EAAE;gBACL,gBAAgB,EAAE,IAAI;gBACtB,yBAAyB,EAAE,CAAC,IAAI,CAAC,MAAM;gBACvC,uBAAuB,EAAE,IAAI,CAAC,MAAM;gBACpC,cAAc,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;gBACtC,aAAa,EAAE,IAAI,CAAC,IAAI,KAAK,OAAO;gBACpC,cAAc,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;gBACtC,aAAa,EAAE,IAAI,CAAC,IAAI,KAAK,OAAO;gBACpC,cAAc,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;gBACtC,eAAe,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS;gBACxC,gBAAgB,EAAE,IAAI,CAAC,IAAI,KAAK,UAAU;gBAC1C,eAAe,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS;aACzC;YAED,eAAa,CACX,CACL,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the material icon name.\n */\n\n@Component({\n tag: 'six-icon',\n styleUrls: ['six-icon.scss'],\n shadow: true,\n})\nexport class SixIcon {\n /** The icon's size. */\n @Prop({ reflect: true }) size:\n | 'inherit'\n | 'xSmall'\n | 'small'\n | 'medium'\n | 'large'\n | 'xLarge'\n | 'xxLarge'\n | 'xxxLarge' = 'inherit';\n\n /** If set to true the default material outlined icons are not used. */\n @Prop() filled = false;\n\n render() {\n return (\n <i\n class={{\n 'material-icons': true,\n 'material-icons-outlined': !this.filled,\n 'material-icons-filled': this.filled,\n 'icon--xsmall': this.size === 'xSmall',\n 'icon--small': this.size === 'small',\n 'icon--medium': this.size === 'medium',\n 'icon--large': this.size === 'large',\n 'icon--xlarge': this.size === 'xLarge',\n 'icon--xxlarge': this.size === 'xxLarge',\n 'icon--xxxlarge': this.size === 'xxxLarge',\n 'icon--inherit': this.size === 'inherit',\n }}\n >\n <slot></slot>\n </i>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-icon.js","sourceRoot":"","sources":["../../../src/components/six-icon/six-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD;;;;;GAKG;AAOH,MAAM,OAAO,OAAO;;oBAUD,SAAS;sBAGT,KAAK;;IAEtB,MAAM;QACJ,OAAO,CACL,0DACE,KAAK,EAAE;gBACL,gBAAgB,EAAE,IAAI;gBACtB,yBAAyB,EAAE,CAAC,IAAI,CAAC,MAAM;gBACvC,uBAAuB,EAAE,IAAI,CAAC,MAAM;gBACpC,cAAc,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;gBACtC,aAAa,EAAE,IAAI,CAAC,IAAI,KAAK,OAAO;gBACpC,cAAc,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;gBACtC,aAAa,EAAE,IAAI,CAAC,IAAI,KAAK,OAAO;gBACpC,cAAc,EAAE,IAAI,CAAC,IAAI,KAAK,QAAQ;gBACtC,eAAe,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS;gBACxC,gBAAgB,EAAE,IAAI,CAAC,IAAI,KAAK,UAAU;gBAC1C,eAAe,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS;aACzC;YAED,8DAAa,CACX,CACL,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @since 1.0\n * @status stable\n *\n * @slot - Used to define the material icon name.\n */\n\n@Component({\n tag: 'six-icon',\n styleUrls: ['six-icon.scss'],\n shadow: true,\n})\nexport class SixIcon {\n /** The icon's size. */\n @Prop({ reflect: true }) size:\n | 'inherit'\n | 'xSmall'\n | 'small'\n | 'medium'\n | 'large'\n | 'xLarge'\n | 'xxLarge'\n | 'xxxLarge' = 'inherit';\n\n /** If set to true the default material outlined icons are not used. */\n @Prop() filled = false;\n\n render() {\n return (\n <i\n class={{\n 'material-icons': true,\n 'material-icons-outlined': !this.filled,\n 'material-icons-filled': this.filled,\n 'icon--xsmall': this.size === 'xSmall',\n 'icon--small': this.size === 'small',\n 'icon--medium': this.size === 'medium',\n 'icon--large': this.size === 'large',\n 'icon--xlarge': this.size === 'xLarge',\n 'icon--xxlarge': this.size === 'xxLarge',\n 'icon--xxxlarge': this.size === 'xxxLarge',\n 'icon--inherit': this.size === 'inherit',\n }}\n >\n <slot></slot>\n </i>\n );\n }\n}\n"]}
@@ -33,11 +33,11 @@ export class SixIconButton {
33
33
  }
34
34
  }
35
35
  render() {
36
- const html = this.html && h("span", { innerHTML: this.html });
37
- return (h("div", { onClick: this.handleClickEvent, class: { 'icon-button-wrapper--disabled': this.disabled } }, h("button", { ref: (el) => (this.button = el), part: "base", disabled: this.disabled, class: {
36
+ const html = this.html && h("span", { key: '7b231c5c4181a3677e3f7c078cb704c559e267d2', innerHTML: this.html });
37
+ return (h("div", { key: '7be3cdd23dda1b8879bd78b061beaef8b10ca897', onClick: this.handleClickEvent, class: { 'icon-button-wrapper--disabled': this.disabled } }, h("button", { key: 'd3e02b7cb24e1f9ff64878784242f620ad1828b4', ref: (el) => (this.button = el), part: "base", disabled: this.disabled, class: {
38
38
  'icon-button': true,
39
39
  'icon-button--disabled': this.disabled,
40
- }, type: "button", "aria-label": this.label }, h("six-icon", { "aria-hidden": "true", size: this.size }, this.name), h("slot", null), html)));
40
+ }, type: "button", "aria-label": this.label }, h("six-icon", { key: 'df2435fefbd21985ee1c358acca4ed56dc0d1d48', "aria-hidden": "true", size: this.size }, this.name), h("slot", { key: '43098717ef3cc59f72e27330307cff41e049bec7' }), html)));
41
41
  }
42
42
  static get is() { return "six-icon-button"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-icon-button.js","sourceRoot":"","sources":["../../../src/components/six-icon-button/six-icon-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD;;;;;;;GAOG;AAOH,MAAM,OAAO,aAAa;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\nimport { focusVisible } from '../../utils/focus-visible';\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 * @part base - The component's base wrapper.\n */\n\n@Component({\n tag: 'six-icon-button',\n styleUrl: 'six-icon-button.scss',\n shadow: true,\n})\nexport class SixIconButton {\n private button?: HTMLButtonElement;\n\n /** The name of the icon to draw. */\n @Prop({ reflect: true }) name?: string;\n\n /** The icon's size. */\n @Prop({ reflect: true }) size: 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge' = 'medium';\n\n /**\n * A description that gets read by screen readers and other assistive devices. For optimal accessibility, you should\n * always include a label that describes what the icon button does.\n */\n @Prop({ reflect: true }) label?: string;\n\n /** Set to true to disable the button. */\n @Prop({ reflect: true }) disabled = false;\n\n /** HTML symbol code or entity. */\n @Prop({ reflect: true }) html?: string;\n\n componentDidLoad() {\n if (this.button != null) {\n focusVisible.observe(this.button);\n }\n }\n\n disconnectedCallback() {\n if (this.button != null) {\n focusVisible.unobserve(this.button);\n }\n }\n\n render() {\n const html = this.html && <span innerHTML={this.html} />;\n\n return (\n <div onClick={this.handleClickEvent} class={{ 'icon-button-wrapper--disabled': this.disabled }}>\n <button\n ref={(el) => (this.button = el)}\n part=\"base\"\n disabled={this.disabled}\n class={{\n 'icon-button': true,\n 'icon-button--disabled': this.disabled,\n }}\n type=\"button\"\n aria-label={this.label}\n >\n <six-icon aria-hidden=\"true\" size={this.size}>\n {this.name}\n </six-icon>\n <slot />\n {html}\n </button>\n </div>\n );\n }\n\n private handleClickEvent = (event: Event) => {\n if (this.disabled) {\n event.preventDefault();\n event.stopPropagation();\n }\n };\n}\n"]}
1
+ {"version":3,"file":"six-icon-button.js","sourceRoot":"","sources":["../../../src/components/six-icon-button/six-icon-button.tsx"],"names":[],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AAK;gBAEtB,gFAAsB,MAAM,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IACzC,IAAI,CAAC,IAAI,CACD;gBACX,8DAAQ;gBACP,IAAI,CACE,CACL,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\nimport { focusVisible } from '../../utils/focus-visible';\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 * @part base - The component's base wrapper.\n */\n\n@Component({\n tag: 'six-icon-button',\n styleUrl: 'six-icon-button.scss',\n shadow: true,\n})\nexport class SixIconButton {\n private button?: HTMLButtonElement;\n\n /** The name of the icon to draw. */\n @Prop({ reflect: true }) name?: string;\n\n /** The icon's size. */\n @Prop({ reflect: true }) size: 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge' = 'medium';\n\n /**\n * A description that gets read by screen readers and other assistive devices. For optimal accessibility, you should\n * always include a label that describes what the icon button does.\n */\n @Prop({ reflect: true }) label?: string;\n\n /** Set to true to disable the button. */\n @Prop({ reflect: true }) disabled = false;\n\n /** HTML symbol code or entity. */\n @Prop({ reflect: true }) html?: string;\n\n componentDidLoad() {\n if (this.button != null) {\n focusVisible.observe(this.button);\n }\n }\n\n disconnectedCallback() {\n if (this.button != null) {\n focusVisible.unobserve(this.button);\n }\n }\n\n render() {\n const html = this.html && <span innerHTML={this.html} />;\n\n return (\n <div onClick={this.handleClickEvent} class={{ 'icon-button-wrapper--disabled': this.disabled }}>\n <button\n ref={(el) => (this.button = el)}\n part=\"base\"\n disabled={this.disabled}\n class={{\n 'icon-button': true,\n 'icon-button--disabled': this.disabled,\n }}\n type=\"button\"\n aria-label={this.label}\n >\n <six-icon aria-hidden=\"true\" size={this.size}>\n {this.name}\n </six-icon>\n <slot />\n {html}\n </button>\n </div>\n );\n }\n\n private handleClickEvent = (event: Event) => {\n if (this.disabled) {\n event.preventDefault();\n event.stopPropagation();\n }\n };\n}\n"]}
@@ -158,6 +158,7 @@
158
158
 
159
159
  .input__control {
160
160
  flex: 1 1 auto;
161
+ width: 100%;
161
162
  font-family: inherit;
162
163
  font-size: inherit;
163
164
  font-weight: inherit;
@@ -173,6 +173,15 @@ export class SixInput {
173
173
  var _a;
174
174
  return (_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.setSelectionRange(selectionStart, selectionEnd, selectionDirection);
175
175
  }
176
+ /** Returns the start and end positions of the text selection */
177
+ async getSelectionRange() {
178
+ var _a, _b, _c, _d, _e, _f;
179
+ return {
180
+ selectionStart: (_b = (_a = this.nativeInput) === null || _a === void 0 ? void 0 : _a.selectionStart) !== null && _b !== void 0 ? _b : undefined,
181
+ selectionEnd: (_d = (_c = this.nativeInput) === null || _c === void 0 ? void 0 : _c.selectionEnd) !== null && _d !== void 0 ? _d : undefined,
182
+ selectionDirection: (_f = (_e = this.nativeInput) === null || _e === void 0 ? void 0 : _e.selectionDirection) !== null && _f !== void 0 ? _f : undefined,
183
+ };
184
+ }
176
185
  /** Replaces a range of text with a new string. */
177
186
  async setRangeText(replacement, start, end, selectMode = 'preserve') {
178
187
  if (this.nativeInput == null) {
@@ -190,7 +199,7 @@ export class SixInput {
190
199
  return ((_a = this.value) !== null && _a !== void 0 ? _a : '').toString();
191
200
  }
192
201
  render() {
193
- return (h(FormControl, { inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorSlot, size: this.size, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { part: "base", class: {
202
+ return (h(FormControl, { key: 'c8abff068de4ec76276e9a6d1d8a7948363ed6f1', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorSlot, size: this.size, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { key: '3c023310780a757dc79e8f892cf633243d38f5ed', part: "base", class: {
194
203
  input: true,
195
204
  // Sizes
196
205
  'input--small': this.size === 'small',
@@ -204,10 +213,10 @@ export class SixInput {
204
213
  'input--focused': this.hasFocus,
205
214
  'input--empty': this.getValue().length === 0,
206
215
  'input--invalid': this.invalid,
207
- } }, h("span", { part: "prefix", class: "input__prefix" }, h("slot", { name: "prefix" })), h("input", { part: "input", ref: (el) => (this.nativeInput = el), id: this.inputId, size: 1, class: {
216
+ } }, h("span", { key: 'c5f2eb65a8a83d3e03091f7c008540080f097c74', part: "prefix", class: "input__prefix" }, h("slot", { key: 'ad3ab17d4c8f01c6b13d1073fccc0bcdc130f771', name: "prefix" })), h("input", { key: 'd8106ecada971513c41d7702435ee00e885e039e', part: "input", ref: (el) => (this.nativeInput = el), id: this.inputId, size: 1, class: {
208
217
  input__control: true,
209
218
  input__control__prefix: hasSlot(this.host, 'prefix'),
210
- }, type: this.type === 'password' && this.isPasswordVisible ? 'text' : this.type, name: this.name, placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, minLength: this.minlength, maxLength: this.maxlength, min: this.min, max: this.max, step: this.step, value: this.getValue(), autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, spellcheck: this.spellcheck, pattern: this.pattern, required: this.required, inputMode: this.inputmode, "aria-labelledby": this.labelId, "aria-describedby": this.helpTextId, "aria-invalid": this.invalid ? 'true' : 'false', onChange: this.handleChange, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, "data-testid": "input-control" }), this.clearable && (h("button", { part: "clear-button", class: "input__clear", type: "button", onClick: this.handleClearClick, tabindex: "-1", "data-testid": "input-clear-button" }, h("slot", { name: "clear-icon" }, h("six-icon", { size: ICON_SIZES[this.size] }, "clear")))), this.togglePassword && (h("button", { part: "password-toggle-button", class: "input__password-toggle", type: "button", onClick: this.handlePasswordToggle, tabindex: "-1" }, this.isPasswordVisible ? (h("slot", { name: "show-password-icon" }, h("six-icon", { size: ICON_SIZES[this.size] }, "visibility_off"))) : (h("slot", { name: "hide-password-icon" }, h("six-icon", { size: ICON_SIZES[this.size] }, "visibility"))))), h("span", { part: "suffix", class: "input__suffix" }, h("slot", { name: "suffix" })))));
219
+ }, type: this.type === 'password' && this.isPasswordVisible ? 'text' : this.type, name: this.name, placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, minLength: this.minlength, maxLength: this.maxlength, min: this.min, max: this.max, step: this.step, value: this.getValue(), autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, spellcheck: this.spellcheck, pattern: this.pattern, required: this.required, inputMode: this.inputmode, "aria-labelledby": this.labelId, "aria-describedby": this.helpTextId, "aria-invalid": this.invalid ? 'true' : 'false', onChange: this.handleChange, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, "data-testid": "input-control" }), this.clearable && !this.disabled && (h("button", { key: '2ae4910e2a0bd42ae4343beafc51be98310e10fe', part: "clear-button", class: "input__clear", type: "button", onClick: this.handleClearClick, tabindex: "-1", "data-testid": "input-clear-button" }, h("slot", { key: '36590d6b6b62da59f60b550c545002f6e28fc3a5', name: "clear-icon" }, h("six-icon", { key: '0db38e18ff06b2884a82995144fda13e6dbe7c41', size: ICON_SIZES[this.size] }, "clear")))), this.togglePassword && (h("button", { key: '7b22999dd36f22c9f94b28f42f4b3ff132aa46b4', part: "password-toggle-button", class: "input__password-toggle", type: "button", onClick: this.handlePasswordToggle, tabindex: "-1" }, this.isPasswordVisible ? (h("slot", { name: "show-password-icon" }, h("six-icon", { size: ICON_SIZES[this.size] }, "visibility_off"))) : (h("slot", { name: "hide-password-icon" }, h("six-icon", { size: ICON_SIZES[this.size] }, "visibility"))))), h("span", { key: 'a257e3e6b931f6229fa6c4e6a1e4b588fb549392', part: "suffix", class: "input__suffix" }, h("slot", { key: 'ccd8ebed2f44ab8b082cb3fc8479c9d772a875a5', name: "suffix" })))));
211
220
  }
212
221
  static get is() { return "six-input"; }
213
222
  static get encapsulation() { return "shadow"; }
@@ -936,7 +945,7 @@ export class SixInput {
936
945
  },
937
946
  "setSelectionRange": {
938
947
  "complexType": {
939
- "signature": "(selectionStart: number, selectionEnd: number, selectionDirection?: 'forward' | 'backward' | 'none') => Promise<void | undefined>",
948
+ "signature": "(selectionStart: number, selectionEnd: number, selectionDirection?: SelectionRangeDirection) => Promise<void | undefined>",
940
949
  "parameters": [{
941
950
  "name": "selectionStart",
942
951
  "type": "number",
@@ -954,6 +963,11 @@ export class SixInput {
954
963
  "Promise": {
955
964
  "location": "global",
956
965
  "id": "global::Promise"
966
+ },
967
+ "SelectionRangeDirection": {
968
+ "location": "local",
969
+ "path": "/home/runner/work/six-webcomponents/six-webcomponents/libraries/ui-library/src/components/six-input/six-input.tsx",
970
+ "id": "src/components/six-input/six-input.tsx::SelectionRangeDirection"
957
971
  }
958
972
  },
959
973
  "return": "Promise<void | undefined>"
@@ -963,9 +977,31 @@ export class SixInput {
963
977
  "tags": []
964
978
  }
965
979
  },
980
+ "getSelectionRange": {
981
+ "complexType": {
982
+ "signature": "() => Promise<SelectionRange>",
983
+ "parameters": [],
984
+ "references": {
985
+ "Promise": {
986
+ "location": "global",
987
+ "id": "global::Promise"
988
+ },
989
+ "SelectionRange": {
990
+ "location": "local",
991
+ "path": "/home/runner/work/six-webcomponents/six-webcomponents/libraries/ui-library/src/components/six-input/six-input.tsx",
992
+ "id": "src/components/six-input/six-input.tsx::SelectionRange"
993
+ }
994
+ },
995
+ "return": "Promise<SelectionRange>"
996
+ },
997
+ "docs": {
998
+ "text": "Returns the start and end positions of the text selection",
999
+ "tags": []
1000
+ }
1001
+ },
966
1002
  "setRangeText": {
967
1003
  "complexType": {
968
- "signature": "(replacement: string, start: number, end: number, selectMode?: 'select' | 'start' | 'end' | 'preserve') => Promise<void>",
1004
+ "signature": "(replacement: string, start: number, end: number, selectMode?: \"select\" | \"start\" | \"end\" | \"preserve\") => Promise<void>",
969
1005
  "parameters": [{
970
1006
  "name": "replacement",
971
1007
  "type": "string",
@@ -1 +1 @@
1
- {"version":3,"file":"six-input.js","sourceRoot":"","sources":["../../../src/components/six-input/six-input.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;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,UAAU,GAAwE;IACtF,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,OAAO;IACf,KAAK,EAAE,QAAQ;CAChB,CAAC;AAEF,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAOH,MAAM,OAAO,QAAQ;;QACX,YAAO,GAAG,SAAS,EAAE,EAAE,EAAE,CAAC;QAC1B,YAAO,GAAG,eAAe,EAAE,EAAE,CAAC;QAC9B,eAAU,GAAG,mBAAmB,EAAE,EAAE,CAAC;QACrC,gBAAW,GAAG,oBAAoB,EAAE,EAAE,CAAC;QAEvC,mBAAc,GAAG,IAAI,cAAc,EAAE,CAAC;QAoMtC,iBAAY,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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';\nimport { submitForm } from '../../utils/form';\n\nconst ICON_SIZES: Record<'small' | 'medium' | 'large', 'xSmall' | 'small' | 'medium'> = {\n large: 'medium',\n medium: 'small',\n small: 'xSmall',\n};\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 input's label. Alternatively, you can use the label prop.\n * @slot prefix - Used to prepend an icon or similar element to the input.\n * @slot suffix - Used to append an icon or similar element to the input.\n * @slot clear-icon - An icon to use in lieu of the default clear icon.\n * @slot show-password-icon - An icon to use in lieu of the default show password icon.\n * @slot hide-password-icon - An icon to use in lieu of the default hide password icon.\n * @slot help-text - Help text that describes how to use the input. Alternatively, you can use the help-text prop.\n * @slot error-text - Error text that is shown when the status is set to invalid. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part form-control - The form control that wraps the label, input, error-text and help-text.\n * @part label - The input label.\n * @part input - The input control.\n * @part prefix - The input prefix container.\n * @part clear-button - The clear button.\n * @part password-toggle-button - The password toggle button.\n * @part suffix - The input suffix container.\n * @part help-text - The input help text.\n * @part error-text - The input error text.\n */\n\n@Component({\n tag: 'six-input',\n styleUrl: 'six-input.scss',\n shadow: true,\n})\nexport class SixInput {\n private inputId = `input-${++id}`;\n private labelId = `input-label-${id}`;\n private helpTextId = `input-help-text-${id}`;\n private errorTextId = `input-error-text-${id}`;\n private nativeInput?: HTMLInputElement;\n private eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixInputElement;\n\n @State() hasFocus = false;\n @State() hasHelpTextSlot = false;\n @State() hasLabelSlot = false;\n @State() hasErrorSlot = false;\n @State() isPasswordVisible = false;\n\n /** The input's type. */\n @Prop({ reflect: true }) type: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' = 'text';\n\n /** The input's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The input's name attribute. */\n @Prop({ reflect: true }) name = '';\n\n /** The input's value attribute. */\n @Prop({ mutable: true, reflect: true }) value = '';\n\n /** Set to true to draw a pill-style input with rounded edges. */\n @Prop({ reflect: true }) pill = false;\n\n /** The input's help text. Alternatively, you can use the help-text slot. */\n @Prop() helpText = '';\n\n /** The input's placeholder text. */\n @Prop() placeholder?: string;\n\n /** Set to true to disable the input. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set to true to make the input readonly. */\n @Prop({ reflect: true }) readonly = false;\n\n /** The minimum length of input that will be considered valid. */\n @Prop({ reflect: true }) minlength?: number;\n\n /** The maximum length of input that will be considered valid. */\n @Prop({ reflect: true }) maxlength?: number;\n\n /** The input's minimum value. */\n @Prop({ reflect: true }) min?: number;\n\n /** The input's maximum value. */\n @Prop({ reflect: true }) max?: number;\n\n /** The input's step attribute. */\n @Prop({ reflect: true }) step?: number;\n\n /** A pattern to validate input against. */\n @Prop({ reflect: true }) pattern?: string;\n\n /**\n * Internal: Styles the input for the dropdown filter search.\n */\n @Prop() dropdownSearch = false;\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** The input's autocaptialize attribute. */\n @Prop() autocapitalize = 'off';\n\n /** The input's autocorrect attribute. */\n @Prop() autocorrect: 'on' | 'off' = 'off';\n\n /** The input's autocomplete attribute. */\n @Prop() autocomplete = 'off';\n\n /** The input's autofocus attribute. */\n @Prop() autofocus = false;\n\n /** Enables spell checking on the input. */\n @Prop() spellcheck = 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 add a clear button when the input is populated. */\n @Prop() clearable = false;\n\n /** Set to true to add a password toggle button for password inputs. */\n @Prop() togglePassword = false;\n\n /** The input's inputmode attribute. */\n @Prop() inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n\n /** Set to render as line */\n @Prop() line = false;\n\n @Watch('helpText')\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n @Watch('value')\n handleValueChange() {\n this.value = this.getValue();\n if (this.nativeInput != null && this.nativeInput.value !== this.value) {\n this.nativeInput.value = this.value;\n }\n }\n\n /** Emitted when the control's value changes. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-change' }) sixChange!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the clear button is activated. */\n @Event({ eventName: 'six-input-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control receives input. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-input' }) sixInput!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-input-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control loses focus. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-input-input', 'input', this.host);\n this.eventListeners.forward('six-input-change', 'change', this.host);\n this.eventListeners.forward('six-input-focus', 'focus', this.host);\n this.eventListeners.forward('six-input-blur', 'blur', this.host);\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n disconnectedCallback() {\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n /** Sets focus on the input. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.nativeInput?.focus(options);\n }\n\n /** Removes focus from the input. */\n @Method()\n async removeFocus() {\n this.nativeInput?.blur();\n }\n\n /** Selects all the text in the input. */\n @Method()\n async select() {\n return this.nativeInput?.select();\n }\n\n /** Sets the start and end positions of the text selection (0-based). */\n @Method()\n async setSelectionRange(\n selectionStart: number,\n selectionEnd: number,\n selectionDirection: 'forward' | 'backward' | 'none' = 'none'\n ) {\n return this.nativeInput?.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n }\n\n /** Replaces a range of text with a new string. */\n @Method()\n async setRangeText(\n replacement: string,\n start: number,\n end: number,\n selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve'\n ) {\n if (this.nativeInput == null) {\n return;\n }\n this.nativeInput.setRangeText(replacement, start, end, selectMode);\n if (this.getValue() !== this.nativeInput.value) {\n this.value = this.nativeInput.value;\n this.sixChange.emit();\n this.sixInput.emit();\n }\n }\n\n private handleChange = (event: Event) => {\n event.stopPropagation();\n if (this.nativeInput != null) {\n this.value = this.nativeInput.value;\n this.sixChange.emit();\n }\n };\n\n private handleInput = (event: Event) => {\n event.stopPropagation();\n if (this.nativeInput != null) {\n this.value = this.nativeInput.value;\n this.sixInput.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 handleClearClick = (event: MouseEvent) => {\n this.value = '';\n this.sixClear.emit();\n this.sixInput.emit();\n this.sixChange.emit();\n if (this.nativeInput != null) {\n this.nativeInput.focus();\n }\n event.stopPropagation();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;\n if (event.key === 'Enter' && !hasModifier) {\n setTimeout(() => {\n if (!event.defaultPrevented && !event.isComposing) {\n submitForm(this.host);\n }\n });\n }\n };\n\n private handlePasswordToggle = () => {\n this.isPasswordVisible = !this.isPasswordVisible;\n };\n\n private handleSlotChange = () => {\n this.hasHelpTextSlot = hasSlot(this.host, 'help-text');\n this.hasLabelSlot = hasSlot(this.host, 'label');\n this.hasErrorSlot = hasSlot(this.host, 'error-text');\n };\n\n private getValue(): string {\n return (this.value ?? '').toString();\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 helpTextId={this.helpTextId}\n helpText={this.helpText}\n hasHelpTextSlot={this.hasHelpTextSlot}\n errorTextId={this.errorTextId}\n errorText={this.errorText}\n errorTextCount={this.errorTextCount}\n hasErrorTextSlot={this.hasErrorSlot}\n size={this.size}\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <div\n part=\"base\"\n class={{\n input: true,\n\n // Sizes\n 'input--small': this.size === 'small',\n 'input--medium': this.size === 'medium',\n 'input--large': this.size === 'large',\n\n // States\n 'input--line': this.line,\n 'input--pill': this.pill,\n 'input--disabled': this.disabled,\n 'input--dropdown-search': this.dropdownSearch,\n 'input--focused': this.hasFocus,\n 'input--empty': this.getValue().length === 0,\n 'input--invalid': this.invalid,\n }}\n >\n <span part=\"prefix\" class=\"input__prefix\">\n <slot name=\"prefix\" />\n </span>\n\n <input\n part=\"input\"\n ref={(el) => (this.nativeInput = el)}\n id={this.inputId}\n size={1} // needed for firefox to overrule the default of 20\n class={{\n input__control: true,\n input__control__prefix: hasSlot(this.host, 'prefix'),\n }}\n type={this.type === 'password' && this.isPasswordVisible ? 'text' : this.type}\n name={this.name}\n placeholder={this.placeholder}\n disabled={this.disabled}\n readonly={this.readonly}\n minLength={this.minlength}\n maxLength={this.maxlength}\n min={this.min}\n max={this.max}\n step={this.step}\n value={this.getValue()}\n autoCapitalize={this.autocapitalize}\n autoComplete={this.autocomplete}\n autoCorrect={this.autocorrect}\n autoFocus={this.autofocus}\n spellcheck={this.spellcheck}\n pattern={this.pattern}\n required={this.required}\n inputMode={this.inputmode}\n aria-labelledby={this.labelId}\n aria-describedby={this.helpTextId}\n aria-invalid={this.invalid ? 'true' : 'false'}\n onChange={this.handleChange}\n onInput={this.handleInput}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n onKeyDown={this.handleKeyDown}\n data-testid=\"input-control\"\n />\n\n {this.clearable && (\n <button\n part=\"clear-button\"\n class=\"input__clear\"\n type=\"button\"\n onClick={this.handleClearClick}\n tabindex=\"-1\"\n data-testid=\"input-clear-button\"\n >\n <slot name=\"clear-icon\">\n <six-icon size={ICON_SIZES[this.size]}>clear</six-icon>\n </slot>\n </button>\n )}\n\n {this.togglePassword && (\n <button\n part=\"password-toggle-button\"\n class=\"input__password-toggle\"\n type=\"button\"\n onClick={this.handlePasswordToggle}\n tabindex=\"-1\"\n >\n {this.isPasswordVisible ? (\n <slot name=\"show-password-icon\">\n <six-icon size={ICON_SIZES[this.size]}>visibility_off</six-icon>\n </slot>\n ) : (\n <slot name=\"hide-password-icon\">\n <six-icon size={ICON_SIZES[this.size]}>visibility</six-icon>\n </slot>\n )}\n </button>\n )}\n\n <span part=\"suffix\" class=\"input__suffix\">\n <slot name=\"suffix\" />\n </span>\n </div>\n </FormControl>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-input.js","sourceRoot":"","sources":["../../../src/components/six-input/six-input.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;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,UAAU,GAAwE;IACtF,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,OAAO;IACf,KAAK,EAAE,QAAQ;CAChB,CAAC;AASF,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAOH,MAAM,OAAO,QAAQ;;QACX,YAAO,GAAG,SAAS,EAAE,EAAE,EAAE,CAAC;QAC1B,YAAO,GAAG,eAAe,EAAE,EAAE,CAAC;QAC9B,eAAU,GAAG,mBAAmB,EAAE,EAAE,CAAC;QACrC,gBAAW,GAAG,oBAAoB,EAAE,EAAE,CAAC;QAEvC,mBAAc,GAAG,IAAI,cAAc,EAAE,CAAC;QA8MtC,iBAAY,GAAG,CAAC,KAAY,EAAE,EAAE;YACtC,KAAK,CAAC,eAAe,EAAE,CAAC;YACxB,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE,CAAC;gBAC7B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;gBACpC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;YACxB,CAAC;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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';\nimport { submitForm } from '../../utils/form';\n\nconst ICON_SIZES: Record<'small' | 'medium' | 'large', 'xSmall' | 'small' | 'medium'> = {\n large: 'medium',\n medium: 'small',\n small: 'xSmall',\n};\n\nexport type SelectionRangeDirection = 'forward' | 'backward' | 'none';\nexport type SelectionRange = {\n selectionStart: number | undefined;\n selectionEnd: number | undefined;\n selectionDirection: SelectionRangeDirection | undefined;\n};\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 input's label. Alternatively, you can use the label prop.\n * @slot prefix - Used to prepend an icon or similar element to the input.\n * @slot suffix - Used to append an icon or similar element to the input.\n * @slot clear-icon - An icon to use in lieu of the default clear icon.\n * @slot show-password-icon - An icon to use in lieu of the default show password icon.\n * @slot hide-password-icon - An icon to use in lieu of the default hide password icon.\n * @slot help-text - Help text that describes how to use the input. Alternatively, you can use the help-text prop.\n * @slot error-text - Error text that is shown when the status is set to invalid. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part form-control - The form control that wraps the label, input, error-text and help-text.\n * @part label - The input label.\n * @part input - The input control.\n * @part prefix - The input prefix container.\n * @part clear-button - The clear button.\n * @part password-toggle-button - The password toggle button.\n * @part suffix - The input suffix container.\n * @part help-text - The input help text.\n * @part error-text - The input error text.\n */\n\n@Component({\n tag: 'six-input',\n styleUrl: 'six-input.scss',\n shadow: true,\n})\nexport class SixInput {\n private inputId = `input-${++id}`;\n private labelId = `input-label-${id}`;\n private helpTextId = `input-help-text-${id}`;\n private errorTextId = `input-error-text-${id}`;\n private nativeInput?: HTMLInputElement;\n private eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixInputElement;\n\n @State() hasFocus = false;\n @State() hasHelpTextSlot = false;\n @State() hasLabelSlot = false;\n @State() hasErrorSlot = false;\n @State() isPasswordVisible = false;\n\n /** The input's type. */\n @Prop({ reflect: true }) type: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' = 'text';\n\n /** The input's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The input's name attribute. */\n @Prop({ reflect: true }) name = '';\n\n /** The input's value attribute. */\n @Prop({ mutable: true, reflect: true }) value = '';\n\n /** Set to true to draw a pill-style input with rounded edges. */\n @Prop({ reflect: true }) pill = false;\n\n /** The input's help text. Alternatively, you can use the help-text slot. */\n @Prop() helpText = '';\n\n /** The input's placeholder text. */\n @Prop() placeholder?: string;\n\n /** Set to true to disable the input. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set to true to make the input readonly. */\n @Prop({ reflect: true }) readonly = false;\n\n /** The minimum length of input that will be considered valid. */\n @Prop({ reflect: true }) minlength?: number;\n\n /** The maximum length of input that will be considered valid. */\n @Prop({ reflect: true }) maxlength?: number;\n\n /** The input's minimum value. */\n @Prop({ reflect: true }) min?: number;\n\n /** The input's maximum value. */\n @Prop({ reflect: true }) max?: number;\n\n /** The input's step attribute. */\n @Prop({ reflect: true }) step?: number;\n\n /** A pattern to validate input against. */\n @Prop({ reflect: true }) pattern?: string;\n\n /**\n * Internal: Styles the input for the dropdown filter search.\n */\n @Prop() dropdownSearch = false;\n\n /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** The input's autocaptialize attribute. */\n @Prop() autocapitalize = 'off';\n\n /** The input's autocorrect attribute. */\n @Prop() autocorrect: 'on' | 'off' = 'off';\n\n /** The input's autocomplete attribute. */\n @Prop() autocomplete = 'off';\n\n /** The input's autofocus attribute. */\n @Prop() autofocus = false;\n\n /** Enables spell checking on the input. */\n @Prop() spellcheck = 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 add a clear button when the input is populated. */\n @Prop() clearable = false;\n\n /** Set to true to add a password toggle button for password inputs. */\n @Prop() togglePassword = false;\n\n /** The input's inputmode attribute. */\n @Prop() inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n\n /** Set to render as line */\n @Prop() line = false;\n\n @Watch('helpText')\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n @Watch('value')\n handleValueChange() {\n this.value = this.getValue();\n if (this.nativeInput != null && this.nativeInput.value !== this.value) {\n this.nativeInput.value = this.value;\n }\n }\n\n /** Emitted when the control's value changes. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-change' }) sixChange!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the clear button is activated. */\n @Event({ eventName: 'six-input-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control receives input. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-input' }) sixInput!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-input-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control loses focus. Access the new value via event.target.value. */\n @Event({ eventName: 'six-input-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-input-input', 'input', this.host);\n this.eventListeners.forward('six-input-change', 'change', this.host);\n this.eventListeners.forward('six-input-focus', 'focus', this.host);\n this.eventListeners.forward('six-input-blur', 'blur', this.host);\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n disconnectedCallback() {\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n /** Sets focus on the input. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.nativeInput?.focus(options);\n }\n\n /** Removes focus from the input. */\n @Method()\n async removeFocus() {\n this.nativeInput?.blur();\n }\n\n /** Selects all the text in the input. */\n @Method()\n async select() {\n return this.nativeInput?.select();\n }\n\n /** Sets the start and end positions of the text selection (0-based). */\n @Method()\n async setSelectionRange(\n selectionStart: number,\n selectionEnd: number,\n selectionDirection: SelectionRangeDirection = 'none'\n ) {\n return this.nativeInput?.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n }\n\n /** Returns the start and end positions of the text selection */\n @Method()\n async getSelectionRange(): Promise<SelectionRange> {\n return {\n selectionStart: this.nativeInput?.selectionStart ?? undefined,\n selectionEnd: this.nativeInput?.selectionEnd ?? undefined,\n selectionDirection: this.nativeInput?.selectionDirection ?? undefined,\n };\n }\n\n /** Replaces a range of text with a new string. */\n @Method()\n async setRangeText(\n replacement: string,\n start: number,\n end: number,\n selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve'\n ) {\n if (this.nativeInput == null) {\n return;\n }\n this.nativeInput.setRangeText(replacement, start, end, selectMode);\n if (this.getValue() !== this.nativeInput.value) {\n this.value = this.nativeInput.value;\n this.sixChange.emit();\n this.sixInput.emit();\n }\n }\n\n private handleChange = (event: Event) => {\n event.stopPropagation();\n if (this.nativeInput != null) {\n this.value = this.nativeInput.value;\n this.sixChange.emit();\n }\n };\n\n private handleInput = (event: Event) => {\n event.stopPropagation();\n if (this.nativeInput != null) {\n this.value = this.nativeInput.value;\n this.sixInput.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 handleClearClick = (event: MouseEvent) => {\n this.value = '';\n this.sixClear.emit();\n this.sixInput.emit();\n this.sixChange.emit();\n if (this.nativeInput != null) {\n this.nativeInput.focus();\n }\n event.stopPropagation();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;\n if (event.key === 'Enter' && !hasModifier) {\n setTimeout(() => {\n if (!event.defaultPrevented && !event.isComposing) {\n submitForm(this.host);\n }\n });\n }\n };\n\n private handlePasswordToggle = () => {\n this.isPasswordVisible = !this.isPasswordVisible;\n };\n\n private handleSlotChange = () => {\n this.hasHelpTextSlot = hasSlot(this.host, 'help-text');\n this.hasLabelSlot = hasSlot(this.host, 'label');\n this.hasErrorSlot = hasSlot(this.host, 'error-text');\n };\n\n private getValue(): string {\n return (this.value ?? '').toString();\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 helpTextId={this.helpTextId}\n helpText={this.helpText}\n hasHelpTextSlot={this.hasHelpTextSlot}\n errorTextId={this.errorTextId}\n errorText={this.errorText}\n errorTextCount={this.errorTextCount}\n hasErrorTextSlot={this.hasErrorSlot}\n size={this.size}\n disabled={this.disabled}\n required={this.required}\n displayError={this.invalid}\n >\n <div\n part=\"base\"\n class={{\n input: true,\n\n // Sizes\n 'input--small': this.size === 'small',\n 'input--medium': this.size === 'medium',\n 'input--large': this.size === 'large',\n\n // States\n 'input--line': this.line,\n 'input--pill': this.pill,\n 'input--disabled': this.disabled,\n 'input--dropdown-search': this.dropdownSearch,\n 'input--focused': this.hasFocus,\n 'input--empty': this.getValue().length === 0,\n 'input--invalid': this.invalid,\n }}\n >\n <span part=\"prefix\" class=\"input__prefix\">\n <slot name=\"prefix\" />\n </span>\n\n <input\n part=\"input\"\n ref={(el) => (this.nativeInput = el)}\n id={this.inputId}\n size={1} // needed for firefox to overrule the default of 20\n class={{\n input__control: true,\n input__control__prefix: hasSlot(this.host, 'prefix'),\n }}\n type={this.type === 'password' && this.isPasswordVisible ? 'text' : this.type}\n name={this.name}\n placeholder={this.placeholder}\n disabled={this.disabled}\n readonly={this.readonly}\n minLength={this.minlength}\n maxLength={this.maxlength}\n min={this.min}\n max={this.max}\n step={this.step}\n value={this.getValue()}\n autoCapitalize={this.autocapitalize}\n autoComplete={this.autocomplete}\n autoCorrect={this.autocorrect}\n autoFocus={this.autofocus}\n spellcheck={this.spellcheck}\n pattern={this.pattern}\n required={this.required}\n inputMode={this.inputmode}\n aria-labelledby={this.labelId}\n aria-describedby={this.helpTextId}\n aria-invalid={this.invalid ? 'true' : 'false'}\n onChange={this.handleChange}\n onInput={this.handleInput}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n onKeyDown={this.handleKeyDown}\n data-testid=\"input-control\"\n />\n\n {this.clearable && !this.disabled && (\n <button\n part=\"clear-button\"\n class=\"input__clear\"\n type=\"button\"\n onClick={this.handleClearClick}\n tabindex=\"-1\"\n data-testid=\"input-clear-button\"\n >\n <slot name=\"clear-icon\">\n <six-icon size={ICON_SIZES[this.size]}>clear</six-icon>\n </slot>\n </button>\n )}\n\n {this.togglePassword && (\n <button\n part=\"password-toggle-button\"\n class=\"input__password-toggle\"\n type=\"button\"\n onClick={this.handlePasswordToggle}\n tabindex=\"-1\"\n >\n {this.isPasswordVisible ? (\n <slot name=\"show-password-icon\">\n <six-icon size={ICON_SIZES[this.size]}>visibility_off</six-icon>\n </slot>\n ) : (\n <slot name=\"hide-password-icon\">\n <six-icon size={ICON_SIZES[this.size]}>visibility</six-icon>\n </slot>\n )}\n </button>\n )}\n\n <span part=\"suffix\" class=\"input__suffix\">\n <slot name=\"suffix\" />\n </span>\n </div>\n </FormControl>\n );\n }\n}\n"]}
@@ -411,13 +411,13 @@ export class SixItemPicker {
411
411
  this.sixChange.emit(this.value);
412
412
  }
413
413
  render() {
414
- return (h("div", { part: "container", class: "item_picker__container", onKeyDown: (event) => this.handleKeyPress(event), tabindex: "0" }, h("div", { ref: (el) => (this.upButton = el), part: "up", class: {
414
+ return (h("div", { key: '9696809f37fa9db9f3b3212ea6c21cccb648ccab', part: "container", class: "item_picker__container", onKeyDown: (event) => this.handleKeyPress(event), tabindex: "0" }, h("div", { key: '5864af2b6f193d090e3411c8cd54842f58fe6609', ref: (el) => (this.upButton = el), part: "up", class: {
415
415
  item_picker__btn: true,
416
416
  'item_picker__btn--disabled': this.isNextDisabled(),
417
- }, onMouseDown: () => this.onMouseDownNext(), onMouseUp: () => this.onMouseUpNext(), tabindex: "-1" }, h("six-icon", { size: "large" }, "expand_less")), h("div", { part: "content", class: "item_picker__content" }, this.getFormattedValue()), h("div", { ref: (el) => (this.downButton = el), part: "down", class: {
417
+ }, onMouseDown: () => this.onMouseDownNext(), onMouseUp: () => this.onMouseUpNext(), tabindex: "-1" }, h("six-icon", { key: '37ac08eea928d8eaa2b3113879bd48a422261bb2', size: "large" }, "expand_less")), h("div", { key: '54948f29b05477d73228d00825c0b10b2f62d8bb', part: "content", class: "item_picker__content" }, this.getFormattedValue()), h("div", { key: '911a69c54e9151dd508d962867642e38eb8f0652', ref: (el) => (this.downButton = el), part: "down", class: {
418
418
  item_picker__btn: true,
419
419
  'item_picker__btn--disabled': this.isPrevDisabled(),
420
- }, onMouseDown: () => this.onMouseDownPrev(), onMouseUp: () => this.onMouseUpPrev(), tabindex: "-1" }, h("six-icon", { size: "large" }, "expand_more"))));
420
+ }, onMouseDown: () => this.onMouseDownPrev(), onMouseUp: () => this.onMouseUpPrev(), tabindex: "-1" }, h("six-icon", { key: '86785c1389e748d3a3c54dd09d5b8fc892882ee8', size: "large" }, "expand_more"))));
421
421
  }
422
422
  static get is() { return "six-item-picker"; }
423
423
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-item-picker.js","sourceRoot":"","sources":["../../../src/components/six-item-picker/six-item-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,qBAAqB,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAChH,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAQ7D,MAAM,gBAAgB,GAAG,4BAA4B,CAAC;AACtD,MAAM,wBAAwB,GAAG,CAAC,GAAG,gBAAgB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Prop, State, Watch } from '@stencil/core';\nimport { ItemPickerPaddingDirection, ItemPickerType } from './types';\nimport { debounce, DEFAULT_DEBOUNCE_FAST, DEFAULT_DEBOUNCE_INSANELY_FAST } from '../../utils/execution-control';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { TimePeriod } from '../../utils/time.util';\n\ninterface Alphabet {\n alphabet: string[];\n letterIndexes: Record<string, number>;\n}\n\nconst uppercaseLetters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';\nconst upperAndLowercaseLetters = [...uppercaseLetters].flatMap((c) => [c, c.toLowerCase()]);\nconst ALPHABET: Alphabet = {\n alphabet: upperAndLowercaseLetters,\n letterIndexes: Object.fromEntries(upperAndLowercaseLetters.map((c, i) => [c, i])),\n};\nconst CAPITAL_ALPHABET: Alphabet = {\n alphabet: [...uppercaseLetters].flatMap((c) => [c]),\n letterIndexes: Object.fromEntries([...uppercaseLetters].map((c, i) => [c, i])),\n};\nconst LOWERCASE_ALPHABET: Alphabet = {\n alphabet: [...uppercaseLetters.toLowerCase()].flatMap((c) => [c]),\n letterIndexes: Object.fromEntries([...uppercaseLetters.toLowerCase()].map((c, i) => [c, i])),\n};\n\nconst createItemIndexes = (arr: string[]): Record<string, number> => {\n return Object.fromEntries([...arr].map((c, i) => [c, i]));\n};\n\nconst TAG = `[SIX-ITEM-PICKER]`;\n\nconst subtract = (a: number, b: number) => a - b;\nconst add = (a: number, b: number) => a + b;\n\nexport type SixItemPickerChangePayload = number | string | boolean | TimePeriod;\n\nconst DEBOUNCE_ITEM_PICKER_LISTENER = 'debounced-item-picker';\n\n/**\n * @since 2.0.0\n * @status experimental\n * @part container - The whole component container\n * @part up - The up button\n * @part content - The content area\n * @part down - The down button\n *\n */\n@Component({\n tag: 'six-item-picker',\n styleUrl: 'six-item-picker.scss',\n shadow: true,\n})\nexport class SixItemPicker {\n private readonly eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixItemPickerElement;\n\n /** The item picker's value attribute. */\n @Prop({ mutable: true, reflect: true }) value: number | string = '';\n\n /** The type of items you want to rotate through. */\n @Prop() type: ItemPickerType = ItemPickerType.NUMBER;\n\n /** The minimum value allowed to pick. */\n @Prop({ reflect: true, mutable: true }) min?: number | string;\n\n /** The maximum value allowed to pick. */\n @Prop({ reflect: true, mutable: true }) max?: number | string;\n\n /** Define whether the picker should to a roundtrip i.e. start at max when reaching min and vice versa. */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop({ reflect: true }) roundtrip = true;\n\n /** Defines how many steps should be taken when navigating */\n @Prop({ reflect: true }) step = 1;\n\n /** Defines a custom list of items you can iterate through */\n @Prop() items?: string[];\n\n /** Defines whether the items should be padded */\n @Prop() padded = false;\n\n /** Defines the length of the padded area */\n @Prop() paddingLength = 2;\n\n /** Defines the character used for padding */\n @Prop() paddingChar = '0';\n\n /** Defines whether the padding should be before or after the value. You can either use 'before' or 'after'. By default,\n * before is selected */\n @Prop() paddingDirection: ItemPickerPaddingDirection = ItemPickerPaddingDirection.BEFORE;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger faster switching between items.\n */\n @Prop() timeout = DEFAULT_DEBOUNCE_FAST;\n\n /**\n * Set the amount of time, in milliseconds, to wait between switching to next item when mouse button is held pressed.\n */\n @Prop() interval = DEFAULT_DEBOUNCE_INSANELY_FAST;\n\n /**\n * Emitted when the item picker's value changes\n */\n @Event({ eventName: 'six-item-picker-change' }) sixChange!: EventEmitter<SixItemPickerChangePayload>;\n\n /**\n * Emitted when the item picker's value changes, but debounced\n */\n @Event({ eventName: 'six-item-picker-change-debounced' })\n sixChangeDebounced!: EventEmitter<SixItemPickerChangePayload>;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger the `six-item-picker-change-debounced` event.\n * If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce\n * is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click\n * (and keep pressed) and once you release\n */\n @Prop() debounce = DEFAULT_DEBOUNCE_FAST;\n\n @Watch('value')\n handleValueChange() {\n this.setup();\n }\n\n @Watch('debounce')\n protected debounceChanged() {\n this.eventListeners.removeByIdentifier(DEBOUNCE_ITEM_PICKER_LISTENER);\n this.eventListeners.add(\n this.host,\n 'six-item-picker-change',\n debounce(this.handleSixItemPickerChangeDebounced, this.debounce),\n DEBOUNCE_ITEM_PICKER_LISTENER\n );\n }\n\n @Watch('items')\n handleSetChange() {\n this.setup();\n this.min = this._items[0];\n this.max = this.getLastStringItem();\n }\n\n @State() _items: string[] = [];\n @State() _itemIndexes: Record<string, number> = {};\n\n // used for fast increasing when keeping the mouse button held down\n private _timeoutNext!: ReturnType<typeof setTimeout>;\n private _intervalNext!: ReturnType<typeof setInterval>;\n\n private _timeoutPrev!: ReturnType<typeof setTimeout>;\n private _intervalPrev!: ReturnType<typeof setInterval>;\n\n componentWillLoad() {\n this.setup();\n }\n\n componentDidLoad() {\n this.eventListeners.add(\n this.host,\n 'six-item-picker-change',\n debounce(this.handleSixItemPickerChangeDebounced, this.debounce),\n DEBOUNCE_ITEM_PICKER_LISTENER\n );\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n\n private handleSixItemPickerChangeDebounced = () => {\n this.sixChangeDebounced.emit(this.value);\n };\n\n private setup() {\n if (this.isNumber()) {\n this.setupNumberItems();\n } else {\n this.setUpStringItems();\n }\n }\n\n private setupNumberItems() {\n if (this.isInvalidNumber()) {\n console.warn(`${TAG} Expected number but value is not a number: \"${this.value}\"`);\n console.info(`${TAG} Will set value to either minimum or if not provided to zero.`);\n this.value = this.min ?? 0;\n }\n }\n\n private setUpStringItems() {\n this._items = this.getStringItems();\n this._itemIndexes = this.getItemIndexes();\n const itemsMissValue = this._items.find((i) => String(i) === String(this.value)) === undefined;\n if (itemsMissValue) {\n console.warn(`${TAG} Expected item from item set but value was not found in set: \"${this.value}\"`);\n console.info(`${TAG} Will set value to either minimum or if not provided to \"${this._items[0]}\".`);\n this.value = this._items[0];\n }\n\n if (this.min === undefined) {\n if (!this.roundtrip) {\n console.warn(`${TAG} Expected a min value`);\n console.info(`${TAG} Will set min value to ${this._items[0]}`);\n }\n this.min = this._items[0];\n }\n\n if (this.max === undefined) {\n const maxItem = this.getLastStringItem();\n if (!this.roundtrip) {\n console.warn(`${TAG} Expected a min value if roundtrip is enabled`);\n console.info(`${TAG} Will set min value to ${maxItem}`);\n }\n this.max = maxItem;\n }\n }\n\n private getLastStringItem() {\n return this._items[this._items.length - 1];\n }\n\n private getStringItems(): string[] {\n switch (this.type) {\n case ItemPickerType.NUMBER:\n console.warn(`${TAG}: unexpected type ${this.type}`);\n return [];\n case ItemPickerType.LETTER:\n return ALPHABET.alphabet;\n case ItemPickerType.CAPITAL_LETTER:\n return CAPITAL_ALPHABET.alphabet;\n case ItemPickerType.LOWER_LETTER:\n return LOWERCASE_ALPHABET.alphabet;\n case ItemPickerType.CUSTOM:\n if (this.items == null || this.items.length === 0) {\n console.warn(`${TAG}: no items defined for type ${this.type}`);\n return [];\n }\n return this.items;\n }\n }\n\n private getItemIndexes(): Record<string, number> {\n switch (this.type) {\n case ItemPickerType.NUMBER:\n console.warn(`${TAG}: unexpected type ${this.type}`);\n return {};\n case ItemPickerType.LETTER:\n return ALPHABET.letterIndexes;\n case ItemPickerType.CAPITAL_LETTER:\n return CAPITAL_ALPHABET.letterIndexes;\n case ItemPickerType.LOWER_LETTER:\n return LOWERCASE_ALPHABET.letterIndexes;\n case ItemPickerType.CUSTOM:\n return createItemIndexes(this._items);\n }\n }\n\n private previousItem() {\n if (this.isNumber()) {\n this.previousNumber();\n } else {\n this.previousStringItem();\n }\n\n this.sixChange.emit(this.value);\n }\n\n private previousNumber() {\n this.changeValue({\n isNextItemAllowed: () => !this.isPreviousNumberDisabled(),\n getNextItem: () => Number(this.value) - this.step,\n getRoundtripItem: () => Number(this.max),\n isRoundtripPossible: () => this.max === undefined && this.roundtrip,\n });\n }\n\n private previousStringItem() {\n const value = String(this.value);\n const minLetter = String(this.min);\n\n this.changeValue({\n isNextItemAllowed: () =>\n minLetter === undefined || this.getStringItemIndex(value) > this.getStringItemIndex(minLetter),\n getNextItem: () => this.getNextItemByOperation(subtract),\n getRoundtripItem: () => String(this.max),\n isRoundtripPossible: () => this.max == null && this.roundtrip,\n });\n }\n\n private nextItem() {\n if (this.isNumber()) {\n this.nextNumber();\n } else {\n this.nextStringItem();\n }\n\n this.sixChange.emit(this.value);\n }\n\n private nextNumber() {\n this.changeValue({\n isNextItemAllowed: () => !this.isNextNumberDisabled(),\n getNextItem: () => Number(this.value) + this.step,\n getRoundtripItem: () => Number(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n }\n\n private getStringItemIndex(char: string): number {\n return this._itemIndexes[char];\n }\n\n private nextStringItem() {\n const value = String(this.value);\n const maxLetter = String(this.max);\n\n this.changeValue({\n isNextItemAllowed: () =>\n maxLetter === undefined || this.getStringItemIndex(value) < this.getStringItemIndex(maxLetter),\n getNextItem: () => this.getNextItemByOperation(add),\n getRoundtripItem: () => String(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n }\n\n private getNextItemByOperation(operation: (a: number, b: number) => number, increment: number = this.step) {\n const value = String(this.value);\n const nextIndexCandidate = operation(this.getStringItemIndex(value), increment);\n const numberOfItems = this._items.length;\n const nextIndex = ((nextIndexCandidate % numberOfItems) + numberOfItems) % numberOfItems;\n return this._items[nextIndex];\n }\n\n private changeValue(params: {\n getNextItem: () => number | string;\n isNextItemAllowed: () => boolean;\n getRoundtripItem: () => number | string;\n isRoundtripPossible: () => boolean;\n }) {\n if (params.isNextItemAllowed()) {\n this.value = params.getNextItem();\n return;\n }\n\n if (params.isRoundtripPossible()) {\n console.error(\n `${TAG} Item picker is expected to perform a roundtrip, but either max or min value is missing so a roundtrip is not possible`\n );\n return;\n }\n\n if (this.roundtrip) {\n this.value = params.getRoundtripItem();\n return;\n }\n\n console.warn(\n `${TAG} Roundtrip is not allowed, but was still triggered, please report this issue to the developer of six-item-picker`\n );\n\n this.sixChange.emit(this.value);\n }\n\n private isNumber() {\n return this.type === ItemPickerType.NUMBER;\n }\n\n private isInvalidNumber() {\n return this.value === '' || isNaN(this.value as number);\n }\n\n private isNextDisabled() {\n if (this.roundtrip) {\n return false;\n }\n\n if (this.isNumber()) {\n return this.isNextNumberDisabled();\n } else {\n return this._itemIndexes[String(this.value)] + this.step > this._itemIndexes[String(this.max)];\n }\n }\n\n private isNextNumberDisabled() {\n return Number(this.value) + this.step > Number(this.max ?? Infinity);\n }\n\n private isPrevDisabled() {\n if (this.roundtrip) {\n return false;\n }\n\n if (this.isNumber()) {\n return this.isPreviousNumberDisabled();\n } else {\n return this._itemIndexes[String(this.value)] - this.step < this._itemIndexes[String(this.min)];\n }\n }\n\n private isPreviousNumberDisabled() {\n return Number(this.value) - this.step < Number(this.min ?? -Infinity);\n }\n\n private onMouseDownNext() {\n if (this.isNextDisabled()) {\n return;\n }\n\n this.nextItem();\n\n this._timeoutNext = setTimeout(() => {\n this._intervalNext = setInterval(() => {\n this.nextItem();\n }, this.interval);\n }, this.timeout);\n }\n\n private onMouseUpNext() {\n clearTimeout(this._timeoutNext);\n clearInterval(this._intervalNext);\n }\n\n private onMouseDownPrev() {\n if (this.isPrevDisabled()) {\n return;\n }\n\n this.previousItem();\n\n this._timeoutPrev = setTimeout(() => {\n this._intervalPrev = setInterval(() => {\n this.previousItem();\n }, this.interval);\n }, this.timeout);\n }\n\n private onMouseUpPrev() {\n clearTimeout(this._timeoutPrev);\n clearInterval(this._intervalPrev);\n }\n\n private getFormattedValue() {\n if (this.value === undefined || this.value === null) {\n return this.value;\n }\n\n if (!this.padded) {\n return this.value;\n }\n\n if (this.paddingDirection === ItemPickerPaddingDirection.BEFORE) {\n return String(this.value).padStart(this.paddingLength, this.paddingChar);\n } else if (this.paddingDirection === ItemPickerPaddingDirection.AFTER) {\n return String(this.value).padEnd(this.paddingLength, this.paddingChar);\n }\n\n return this.value;\n }\n\n private handleKeyPress(event: KeyboardEvent) {\n if (event.key === 'Enter') {\n event.preventDefault();\n\n if (event.target === this.upButton) {\n this.nextItem();\n } else if (event.target === this.downButton) {\n this.previousItem();\n }\n } else if (event.key === 'ArrowUp') {\n event.preventDefault();\n this.nextItem();\n } else if (event.key === 'ArrowDown') {\n event.preventDefault();\n this.previousItem();\n } else if (event.key === 'PageUp') {\n event.preventDefault();\n this.pageUp();\n } else if (event.key === 'PageDown') {\n event.preventDefault();\n this.pageDown();\n } else if (event.key === 'Home') {\n event.preventDefault();\n this.goToMin();\n } else if (event.key === 'End') {\n event.preventDefault();\n this.goToMax();\n }\n }\n\n private pageUp() {\n if (this.isNumber()) {\n this.changeValue({\n isNextItemAllowed: () => !this.isNextNumberDisabled(),\n getNextItem: () => Number(this.value) + 5 * this.step,\n getRoundtripItem: () => Number(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n } else {\n const value = String(this.value);\n const minLetter = String(this.min);\n\n this.changeValue({\n isNextItemAllowed: () =>\n minLetter === undefined || this.getStringItemIndex(value) > this.getStringItemIndex(minLetter),\n getNextItem: () => this.getNextItemByOperation(add, 5),\n getRoundtripItem: () => String(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n }\n }\n\n private pageDown() {\n if (this.isNumber()) {\n this.changeValue({\n isNextItemAllowed: () => !this.isPreviousNumberDisabled(),\n getNextItem: () => Number(this.value) - 5 * this.step,\n getRoundtripItem: () => Number(this.max),\n isRoundtripPossible: () => this.max === undefined && this.roundtrip,\n });\n } else {\n const value = String(this.value);\n const maxLetter = String(this.max);\n\n this.changeValue({\n isNextItemAllowed: () =>\n maxLetter === undefined || this.getStringItemIndex(value) < this.getStringItemIndex(maxLetter),\n getNextItem: () => this.getNextItemByOperation(subtract, 5),\n getRoundtripItem: () => String(this.max),\n isRoundtripPossible: () => this.max == null && this.roundtrip,\n });\n }\n }\n\n private goToMin() {\n if (this.isNumber()) {\n this.value = this.min ?? 0;\n } else {\n this.value = this._items[0];\n }\n\n this.sixChange.emit(this.value);\n }\n\n private goToMax() {\n if (this.isNumber()) {\n this.value = this.max ?? Infinity;\n } else {\n this.value = this.getLastStringItem();\n }\n\n this.sixChange.emit(this.value);\n }\n\n private upButton!: HTMLDivElement;\n private downButton!: HTMLDivElement;\n\n render() {\n return (\n <div\n part=\"container\"\n class=\"item_picker__container\"\n onKeyDown={(event) => this.handleKeyPress(event)}\n tabindex=\"0\"\n >\n <div\n ref={(el) => (this.upButton = el as HTMLDivElement)}\n part=\"up\"\n class={{\n item_picker__btn: true,\n 'item_picker__btn--disabled': this.isNextDisabled(),\n }}\n onMouseDown={() => this.onMouseDownNext()}\n onMouseUp={() => this.onMouseUpNext()}\n tabindex=\"-1\"\n >\n <six-icon size=\"large\">expand_less</six-icon>\n </div>\n <div part=\"content\" class=\"item_picker__content\">\n {this.getFormattedValue()}\n </div>\n <div\n ref={(el) => (this.downButton = el as HTMLDivElement)}\n part=\"down\"\n class={{\n item_picker__btn: true,\n 'item_picker__btn--disabled': this.isPrevDisabled(),\n }}\n onMouseDown={() => this.onMouseDownPrev()}\n onMouseUp={() => this.onMouseUpPrev()}\n tabindex=\"-1\"\n >\n <six-icon size=\"large\">expand_more</six-icon>\n </div>\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-item-picker.js","sourceRoot":"","sources":["../../../src/components/six-item-picker/six-item-picker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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Prop, State, Watch } from '@stencil/core';\nimport { ItemPickerPaddingDirection, ItemPickerType } from './types';\nimport { debounce, DEFAULT_DEBOUNCE_FAST, DEFAULT_DEBOUNCE_INSANELY_FAST } from '../../utils/execution-control';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { TimePeriod } from '../../utils/time.util';\n\ninterface Alphabet {\n alphabet: string[];\n letterIndexes: Record<string, number>;\n}\n\nconst uppercaseLetters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';\nconst upperAndLowercaseLetters = [...uppercaseLetters].flatMap((c) => [c, c.toLowerCase()]);\nconst ALPHABET: Alphabet = {\n alphabet: upperAndLowercaseLetters,\n letterIndexes: Object.fromEntries(upperAndLowercaseLetters.map((c, i) => [c, i])),\n};\nconst CAPITAL_ALPHABET: Alphabet = {\n alphabet: [...uppercaseLetters].flatMap((c) => [c]),\n letterIndexes: Object.fromEntries([...uppercaseLetters].map((c, i) => [c, i])),\n};\nconst LOWERCASE_ALPHABET: Alphabet = {\n alphabet: [...uppercaseLetters.toLowerCase()].flatMap((c) => [c]),\n letterIndexes: Object.fromEntries([...uppercaseLetters.toLowerCase()].map((c, i) => [c, i])),\n};\n\nconst createItemIndexes = (arr: string[]): Record<string, number> => {\n return Object.fromEntries([...arr].map((c, i) => [c, i]));\n};\n\nconst TAG = `[SIX-ITEM-PICKER]`;\n\nconst subtract = (a: number, b: number) => a - b;\nconst add = (a: number, b: number) => a + b;\n\nexport type SixItemPickerChangePayload = number | string | boolean | TimePeriod;\n\nconst DEBOUNCE_ITEM_PICKER_LISTENER = 'debounced-item-picker';\n\n/**\n * @since 2.0.0\n * @status experimental\n * @part container - The whole component container\n * @part up - The up button\n * @part content - The content area\n * @part down - The down button\n *\n */\n@Component({\n tag: 'six-item-picker',\n styleUrl: 'six-item-picker.scss',\n shadow: true,\n})\nexport class SixItemPicker {\n private readonly eventListeners = new EventListeners();\n\n @Element() host!: HTMLSixItemPickerElement;\n\n /** The item picker's value attribute. */\n @Prop({ mutable: true, reflect: true }) value: number | string = '';\n\n /** The type of items you want to rotate through. */\n @Prop() type: ItemPickerType = ItemPickerType.NUMBER;\n\n /** The minimum value allowed to pick. */\n @Prop({ reflect: true, mutable: true }) min?: number | string;\n\n /** The maximum value allowed to pick. */\n @Prop({ reflect: true, mutable: true }) max?: number | string;\n\n /** Define whether the picker should to a roundtrip i.e. start at max when reaching min and vice versa. */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop({ reflect: true }) roundtrip = true;\n\n /** Defines how many steps should be taken when navigating */\n @Prop({ reflect: true }) step = 1;\n\n /** Defines a custom list of items you can iterate through */\n @Prop() items?: string[];\n\n /** Defines whether the items should be padded */\n @Prop() padded = false;\n\n /** Defines the length of the padded area */\n @Prop() paddingLength = 2;\n\n /** Defines the character used for padding */\n @Prop() paddingChar = '0';\n\n /** Defines whether the padding should be before or after the value. You can either use 'before' or 'after'. By default,\n * before is selected */\n @Prop() paddingDirection: ItemPickerPaddingDirection = ItemPickerPaddingDirection.BEFORE;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger faster switching between items.\n */\n @Prop() timeout = DEFAULT_DEBOUNCE_FAST;\n\n /**\n * Set the amount of time, in milliseconds, to wait between switching to next item when mouse button is held pressed.\n */\n @Prop() interval = DEFAULT_DEBOUNCE_INSANELY_FAST;\n\n /**\n * Emitted when the item picker's value changes\n */\n @Event({ eventName: 'six-item-picker-change' }) sixChange!: EventEmitter<SixItemPickerChangePayload>;\n\n /**\n * Emitted when the item picker's value changes, but debounced\n */\n @Event({ eventName: 'six-item-picker-change-debounced' })\n sixChangeDebounced!: EventEmitter<SixItemPickerChangePayload>;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger the `six-item-picker-change-debounced` event.\n * If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce\n * is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click\n * (and keep pressed) and once you release\n */\n @Prop() debounce = DEFAULT_DEBOUNCE_FAST;\n\n @Watch('value')\n handleValueChange() {\n this.setup();\n }\n\n @Watch('debounce')\n protected debounceChanged() {\n this.eventListeners.removeByIdentifier(DEBOUNCE_ITEM_PICKER_LISTENER);\n this.eventListeners.add(\n this.host,\n 'six-item-picker-change',\n debounce(this.handleSixItemPickerChangeDebounced, this.debounce),\n DEBOUNCE_ITEM_PICKER_LISTENER\n );\n }\n\n @Watch('items')\n handleSetChange() {\n this.setup();\n this.min = this._items[0];\n this.max = this.getLastStringItem();\n }\n\n @State() _items: string[] = [];\n @State() _itemIndexes: Record<string, number> = {};\n\n // used for fast increasing when keeping the mouse button held down\n private _timeoutNext!: ReturnType<typeof setTimeout>;\n private _intervalNext!: ReturnType<typeof setInterval>;\n\n private _timeoutPrev!: ReturnType<typeof setTimeout>;\n private _intervalPrev!: ReturnType<typeof setInterval>;\n\n componentWillLoad() {\n this.setup();\n }\n\n componentDidLoad() {\n this.eventListeners.add(\n this.host,\n 'six-item-picker-change',\n debounce(this.handleSixItemPickerChangeDebounced, this.debounce),\n DEBOUNCE_ITEM_PICKER_LISTENER\n );\n }\n\n disconnectedCallback() {\n this.eventListeners.removeAll();\n }\n\n private handleSixItemPickerChangeDebounced = () => {\n this.sixChangeDebounced.emit(this.value);\n };\n\n private setup() {\n if (this.isNumber()) {\n this.setupNumberItems();\n } else {\n this.setUpStringItems();\n }\n }\n\n private setupNumberItems() {\n if (this.isInvalidNumber()) {\n console.warn(`${TAG} Expected number but value is not a number: \"${this.value}\"`);\n console.info(`${TAG} Will set value to either minimum or if not provided to zero.`);\n this.value = this.min ?? 0;\n }\n }\n\n private setUpStringItems() {\n this._items = this.getStringItems();\n this._itemIndexes = this.getItemIndexes();\n const itemsMissValue = this._items.find((i) => String(i) === String(this.value)) === undefined;\n if (itemsMissValue) {\n console.warn(`${TAG} Expected item from item set but value was not found in set: \"${this.value}\"`);\n console.info(`${TAG} Will set value to either minimum or if not provided to \"${this._items[0]}\".`);\n this.value = this._items[0];\n }\n\n if (this.min === undefined) {\n if (!this.roundtrip) {\n console.warn(`${TAG} Expected a min value`);\n console.info(`${TAG} Will set min value to ${this._items[0]}`);\n }\n this.min = this._items[0];\n }\n\n if (this.max === undefined) {\n const maxItem = this.getLastStringItem();\n if (!this.roundtrip) {\n console.warn(`${TAG} Expected a min value if roundtrip is enabled`);\n console.info(`${TAG} Will set min value to ${maxItem}`);\n }\n this.max = maxItem;\n }\n }\n\n private getLastStringItem() {\n return this._items[this._items.length - 1];\n }\n\n private getStringItems(): string[] {\n switch (this.type) {\n case ItemPickerType.NUMBER:\n console.warn(`${TAG}: unexpected type ${this.type}`);\n return [];\n case ItemPickerType.LETTER:\n return ALPHABET.alphabet;\n case ItemPickerType.CAPITAL_LETTER:\n return CAPITAL_ALPHABET.alphabet;\n case ItemPickerType.LOWER_LETTER:\n return LOWERCASE_ALPHABET.alphabet;\n case ItemPickerType.CUSTOM:\n if (this.items == null || this.items.length === 0) {\n console.warn(`${TAG}: no items defined for type ${this.type}`);\n return [];\n }\n return this.items;\n }\n }\n\n private getItemIndexes(): Record<string, number> {\n switch (this.type) {\n case ItemPickerType.NUMBER:\n console.warn(`${TAG}: unexpected type ${this.type}`);\n return {};\n case ItemPickerType.LETTER:\n return ALPHABET.letterIndexes;\n case ItemPickerType.CAPITAL_LETTER:\n return CAPITAL_ALPHABET.letterIndexes;\n case ItemPickerType.LOWER_LETTER:\n return LOWERCASE_ALPHABET.letterIndexes;\n case ItemPickerType.CUSTOM:\n return createItemIndexes(this._items);\n }\n }\n\n private previousItem() {\n if (this.isNumber()) {\n this.previousNumber();\n } else {\n this.previousStringItem();\n }\n\n this.sixChange.emit(this.value);\n }\n\n private previousNumber() {\n this.changeValue({\n isNextItemAllowed: () => !this.isPreviousNumberDisabled(),\n getNextItem: () => Number(this.value) - this.step,\n getRoundtripItem: () => Number(this.max),\n isRoundtripPossible: () => this.max === undefined && this.roundtrip,\n });\n }\n\n private previousStringItem() {\n const value = String(this.value);\n const minLetter = String(this.min);\n\n this.changeValue({\n isNextItemAllowed: () =>\n minLetter === undefined || this.getStringItemIndex(value) > this.getStringItemIndex(minLetter),\n getNextItem: () => this.getNextItemByOperation(subtract),\n getRoundtripItem: () => String(this.max),\n isRoundtripPossible: () => this.max == null && this.roundtrip,\n });\n }\n\n private nextItem() {\n if (this.isNumber()) {\n this.nextNumber();\n } else {\n this.nextStringItem();\n }\n\n this.sixChange.emit(this.value);\n }\n\n private nextNumber() {\n this.changeValue({\n isNextItemAllowed: () => !this.isNextNumberDisabled(),\n getNextItem: () => Number(this.value) + this.step,\n getRoundtripItem: () => Number(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n }\n\n private getStringItemIndex(char: string): number {\n return this._itemIndexes[char];\n }\n\n private nextStringItem() {\n const value = String(this.value);\n const maxLetter = String(this.max);\n\n this.changeValue({\n isNextItemAllowed: () =>\n maxLetter === undefined || this.getStringItemIndex(value) < this.getStringItemIndex(maxLetter),\n getNextItem: () => this.getNextItemByOperation(add),\n getRoundtripItem: () => String(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n }\n\n private getNextItemByOperation(operation: (a: number, b: number) => number, increment: number = this.step) {\n const value = String(this.value);\n const nextIndexCandidate = operation(this.getStringItemIndex(value), increment);\n const numberOfItems = this._items.length;\n const nextIndex = ((nextIndexCandidate % numberOfItems) + numberOfItems) % numberOfItems;\n return this._items[nextIndex];\n }\n\n private changeValue(params: {\n getNextItem: () => number | string;\n isNextItemAllowed: () => boolean;\n getRoundtripItem: () => number | string;\n isRoundtripPossible: () => boolean;\n }) {\n if (params.isNextItemAllowed()) {\n this.value = params.getNextItem();\n return;\n }\n\n if (params.isRoundtripPossible()) {\n console.error(\n `${TAG} Item picker is expected to perform a roundtrip, but either max or min value is missing so a roundtrip is not possible`\n );\n return;\n }\n\n if (this.roundtrip) {\n this.value = params.getRoundtripItem();\n return;\n }\n\n console.warn(\n `${TAG} Roundtrip is not allowed, but was still triggered, please report this issue to the developer of six-item-picker`\n );\n\n this.sixChange.emit(this.value);\n }\n\n private isNumber() {\n return this.type === ItemPickerType.NUMBER;\n }\n\n private isInvalidNumber() {\n return this.value === '' || isNaN(this.value as number);\n }\n\n private isNextDisabled() {\n if (this.roundtrip) {\n return false;\n }\n\n if (this.isNumber()) {\n return this.isNextNumberDisabled();\n } else {\n return this._itemIndexes[String(this.value)] + this.step > this._itemIndexes[String(this.max)];\n }\n }\n\n private isNextNumberDisabled() {\n return Number(this.value) + this.step > Number(this.max ?? Infinity);\n }\n\n private isPrevDisabled() {\n if (this.roundtrip) {\n return false;\n }\n\n if (this.isNumber()) {\n return this.isPreviousNumberDisabled();\n } else {\n return this._itemIndexes[String(this.value)] - this.step < this._itemIndexes[String(this.min)];\n }\n }\n\n private isPreviousNumberDisabled() {\n return Number(this.value) - this.step < Number(this.min ?? -Infinity);\n }\n\n private onMouseDownNext() {\n if (this.isNextDisabled()) {\n return;\n }\n\n this.nextItem();\n\n this._timeoutNext = setTimeout(() => {\n this._intervalNext = setInterval(() => {\n this.nextItem();\n }, this.interval);\n }, this.timeout);\n }\n\n private onMouseUpNext() {\n clearTimeout(this._timeoutNext);\n clearInterval(this._intervalNext);\n }\n\n private onMouseDownPrev() {\n if (this.isPrevDisabled()) {\n return;\n }\n\n this.previousItem();\n\n this._timeoutPrev = setTimeout(() => {\n this._intervalPrev = setInterval(() => {\n this.previousItem();\n }, this.interval);\n }, this.timeout);\n }\n\n private onMouseUpPrev() {\n clearTimeout(this._timeoutPrev);\n clearInterval(this._intervalPrev);\n }\n\n private getFormattedValue() {\n if (this.value === undefined || this.value === null) {\n return this.value;\n }\n\n if (!this.padded) {\n return this.value;\n }\n\n if (this.paddingDirection === ItemPickerPaddingDirection.BEFORE) {\n return String(this.value).padStart(this.paddingLength, this.paddingChar);\n } else if (this.paddingDirection === ItemPickerPaddingDirection.AFTER) {\n return String(this.value).padEnd(this.paddingLength, this.paddingChar);\n }\n\n return this.value;\n }\n\n private handleKeyPress(event: KeyboardEvent) {\n if (event.key === 'Enter') {\n event.preventDefault();\n\n if (event.target === this.upButton) {\n this.nextItem();\n } else if (event.target === this.downButton) {\n this.previousItem();\n }\n } else if (event.key === 'ArrowUp') {\n event.preventDefault();\n this.nextItem();\n } else if (event.key === 'ArrowDown') {\n event.preventDefault();\n this.previousItem();\n } else if (event.key === 'PageUp') {\n event.preventDefault();\n this.pageUp();\n } else if (event.key === 'PageDown') {\n event.preventDefault();\n this.pageDown();\n } else if (event.key === 'Home') {\n event.preventDefault();\n this.goToMin();\n } else if (event.key === 'End') {\n event.preventDefault();\n this.goToMax();\n }\n }\n\n private pageUp() {\n if (this.isNumber()) {\n this.changeValue({\n isNextItemAllowed: () => !this.isNextNumberDisabled(),\n getNextItem: () => Number(this.value) + 5 * this.step,\n getRoundtripItem: () => Number(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n } else {\n const value = String(this.value);\n const minLetter = String(this.min);\n\n this.changeValue({\n isNextItemAllowed: () =>\n minLetter === undefined || this.getStringItemIndex(value) > this.getStringItemIndex(minLetter),\n getNextItem: () => this.getNextItemByOperation(add, 5),\n getRoundtripItem: () => String(this.min),\n isRoundtripPossible: () => this.min === undefined && this.roundtrip,\n });\n }\n }\n\n private pageDown() {\n if (this.isNumber()) {\n this.changeValue({\n isNextItemAllowed: () => !this.isPreviousNumberDisabled(),\n getNextItem: () => Number(this.value) - 5 * this.step,\n getRoundtripItem: () => Number(this.max),\n isRoundtripPossible: () => this.max === undefined && this.roundtrip,\n });\n } else {\n const value = String(this.value);\n const maxLetter = String(this.max);\n\n this.changeValue({\n isNextItemAllowed: () =>\n maxLetter === undefined || this.getStringItemIndex(value) < this.getStringItemIndex(maxLetter),\n getNextItem: () => this.getNextItemByOperation(subtract, 5),\n getRoundtripItem: () => String(this.max),\n isRoundtripPossible: () => this.max == null && this.roundtrip,\n });\n }\n }\n\n private goToMin() {\n if (this.isNumber()) {\n this.value = this.min ?? 0;\n } else {\n this.value = this._items[0];\n }\n\n this.sixChange.emit(this.value);\n }\n\n private goToMax() {\n if (this.isNumber()) {\n this.value = this.max ?? Infinity;\n } else {\n this.value = this.getLastStringItem();\n }\n\n this.sixChange.emit(this.value);\n }\n\n private upButton!: HTMLDivElement;\n private downButton!: HTMLDivElement;\n\n render() {\n return (\n <div\n part=\"container\"\n class=\"item_picker__container\"\n onKeyDown={(event) => this.handleKeyPress(event)}\n tabindex=\"0\"\n >\n <div\n ref={(el) => (this.upButton = el as HTMLDivElement)}\n part=\"up\"\n class={{\n item_picker__btn: true,\n 'item_picker__btn--disabled': this.isNextDisabled(),\n }}\n onMouseDown={() => this.onMouseDownNext()}\n onMouseUp={() => this.onMouseUpNext()}\n tabindex=\"-1\"\n >\n <six-icon size=\"large\">expand_less</six-icon>\n </div>\n <div part=\"content\" class=\"item_picker__content\">\n {this.getFormattedValue()}\n </div>\n <div\n ref={(el) => (this.downButton = el as HTMLDivElement)}\n part=\"down\"\n class={{\n item_picker__btn: true,\n 'item_picker__btn--disabled': this.isPrevDisabled(),\n }}\n onMouseDown={() => this.onMouseDownPrev()}\n onMouseUp={() => this.onMouseUpPrev()}\n tabindex=\"-1\"\n >\n <six-icon size=\"large\">expand_more</six-icon>\n </div>\n </div>\n );\n }\n}\n"]}
@@ -8,8 +8,13 @@
8
8
  cursor: pointer;
9
9
  }
10
10
  .language-switcher__label:hover {
11
- color: var(--six-color-red);
11
+ color: var(--six-color-web-rock-600);
12
+ }
13
+ .language-switcher__label:focus-visible {
14
+ outline: var(--six-focus-ring);
15
+ outline-offset: var(--six-focus-ring-offset);
12
16
  }
13
17
  .language-switcher__label--selected {
14
- color: var(--six-color-red);
18
+ color: var(--six-color-black);
19
+ text-decoration: underline;
15
20
  }
@@ -44,12 +44,16 @@ export class SixLanguageSwitcher {
44
44
  }
45
45
  }
46
46
  render() {
47
- return (h("div", { part: "container", class: "language-switcher__container" }, this.languages.map((lang, index) => {
47
+ return (h("div", { key: '99c0dfcad069480bceb2a4167363248e119b341e', part: "container", class: "language-switcher__container" }, this.languages.map((lang, index) => {
48
48
  const language = typeof lang === 'string' ? lang : lang.key;
49
- return (h("div", { onClick: this.handleLanguageSwitching(language, typeof lang === 'string' ? lang : lang.value) }, h("span", { part: "label", class: {
49
+ return (h("div", { onClick: this.handleLanguageSwitching(language, typeof lang === 'string' ? lang : lang.value), onKeyDown: (e) => {
50
+ if (e.key === 'Enter' || e.key === ' ') {
51
+ this.handleLanguageSwitching(language, typeof lang === 'string' ? lang : lang.value)();
52
+ }
53
+ } }, h("span", { part: "label", tabindex: "0", class: {
50
54
  'language-switcher__label': true,
51
55
  'language-switcher__label--selected': this.selected === language,
52
- } }, language), index < this.languages.length - 1 && (h("span", { part: "separator", class: "language-switcher__separator" }, "/"))));
56
+ } }, language), index < this.languages.length - 1 && (h("span", { part: "separator", class: "language-switcher__separator" }, "|"))));
53
57
  })));
54
58
  }
55
59
  static get is() { return "six-language-switcher"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-language-switcher.js","sourceRoot":"","sources":["../../../src/components/six-language-switcher/six-language-switcher.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAa/E,MAAM,iBAAiB,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAE7C;;;;;;GAMG;AAMH,MAAM,OAAO,mBAAmB;;QAqCtB,4BAAuB,GAAG,CAAC,WAAmB,EAAE,aAAsB,EAAE,EAAE,CAAC,GAAG,EAAE;YACtF,IAAI,aAAa,KAAK,SAA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AC;YAC5D,OAAO,CACL,WAAK,OAAO,EAAE,IAAI,CAAC,uBAAuB,CAAC,QAAQ,EAAE,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;gBAChG,YACE,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE;wBACL,0BAA0B,EAAE,IAAI;wBAChC,oCAAoC,EAAE,IAAI,CAAC,QAAQ,KAAK,QAAQ;qBACjE,IAEA,QAAQ,CACJ;gBACN,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,CACpC,YAAM,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,8BAA8B,QAEpD,CACR,CACG,CACP,CAAC;QACJ,CAAC,CAAC,CACE,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, h, Prop, Watch } from '@stencil/core';\n\n/**\n * @since 2.1.0\n * @status experimental\n **/\n\nexport interface SixLanguageSwitcherInput {\n key: string;\n value: string;\n}\nexport type SixLanguageSwitcherChangePayload = string;\n\nconst DEFAULT_LANGUAGES = ['EN', 'DE', 'ES'];\n\n/*\n * @since 2.2.0\n * @status experimental\n * @part container - The whole component container\n * @part label - The language label\n * @part separator - The separator between the language labels\n */\n@Component({\n tag: 'six-language-switcher',\n styleUrl: 'six-language-switcher.scss',\n shadow: true,\n})\nexport class SixLanguageSwitcher {\n /** The language which should be shown as selected */\n @Prop({ mutable: true, reflect: true }) selected?: string;\n\n /** The languages which should be selectable options. */\n @Prop() languages: string[] | SixLanguageSwitcherInput[] = DEFAULT_LANGUAGES;\n\n @Watch('languages')\n handleChangesLanguages(newValue: string[]) {\n if (!Array.isArray(newValue)) {\n throw new Error('languages is expected to be an array');\n }\n\n this.updateSelectedLanguage();\n }\n /**\n * Emitted when the language switchers value changes\n */\n @Event({ eventName: 'six-language-switcher-change' }) sixChange!: EventEmitter<SixLanguageSwitcherChangePayload>;\n\n componentWillLoad() {\n if (this.selected === undefined) {\n this.updateSelectedLanguage();\n }\n }\n\n private updateSelectedLanguage() {\n const selectedLanguage = this.languages[0];\n if (typeof selectedLanguage === 'string') {\n this.selected = selectedLanguage;\n this.sixChange.emit(this.selected);\n } else {\n this.selected = selectedLanguage.key;\n this.sixChange.emit(selectedLanguage.value);\n }\n }\n\n private handleLanguageSwitching = (newLanguage: string, languageValue?: string) => () => {\n if (languageValue !== undefined) {\n this.sixChange.emit(languageValue);\n } else {\n this.sixChange.emit(newLanguage);\n }\n this.selected = newLanguage;\n };\n\n render() {\n return (\n <div part=\"container\" class=\"language-switcher__container\">\n {this.languages.map((lang, index) => {\n const language = typeof lang === 'string' ? lang : lang.key;\n return (\n <div onClick={this.handleLanguageSwitching(language, typeof lang === 'string' ? lang : lang.value)}>\n <span\n part=\"label\"\n class={{\n 'language-switcher__label': true,\n 'language-switcher__label--selected': this.selected === language,\n }}\n >\n {language}\n </span>\n {index < this.languages.length - 1 && (\n <span part=\"separator\" class=\"language-switcher__separator\">\n /\n </span>\n )}\n </div>\n );\n })}\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-language-switcher.js","sourceRoot":"","sources":["../../../src/components/six-language-switcher/six-language-switcher.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAa/E,MAAM,iBAAiB,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAE7C;;;;;;GAMG;AAMH,MAAM,OAAO,mBAAmB;;QAqCtB,4BAAuB,GAAG,CAAC,WAAmB,EAAE,aAAsB,EAAE,EAAE,CAAC,GAAG,EAAE;YACtF,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;gBAChC,IAAI,CAA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,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;YAC5D,OAAO,CACL,WACE,OAAO,EAAE,IAAI,CAAC,uBAAuB,CAAC,QAAQ,EAAE,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAC7F,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE;oBACf,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,IAAI,CAAC,CAAC,GAAG,KAAK,GAAG,EAAE,CAAC;wBACvC,IAAI,CAAC,uBAAuB,CAAC,QAAQ,EAAE,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;oBACzF,CAAC;gBACH,CAAC;gBAED,YACE,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAC,GAAG,EACZ,KAAK,EAAE;wBACL,0BAA0B,EAAE,IAAI;wBAChC,oCAAoC,EAAE,IAAI,CAAC,QAAQ,KAAK,QAAQ;qBACjE,IAEA,QAAQ,CACJ;gBAEN,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,CACpC,YAAM,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,8BAA8B,QAEpD,CACR,CACG,CACP,CAAC;QACJ,CAAC,CAAC,CACE,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, h, Prop, Watch } from '@stencil/core';\n\n/**\n * @since 2.1.0\n * @status experimental\n **/\n\nexport interface SixLanguageSwitcherInput {\n key: string;\n value: string;\n}\nexport type SixLanguageSwitcherChangePayload = string;\n\nconst DEFAULT_LANGUAGES = ['EN', 'DE', 'ES'];\n\n/*\n * @since 2.2.0\n * @status experimental\n * @part container - The whole component container\n * @part label - The language label\n * @part separator - The separator between the language labels\n */\n@Component({\n tag: 'six-language-switcher',\n styleUrl: 'six-language-switcher.scss',\n shadow: true,\n})\nexport class SixLanguageSwitcher {\n /** The language which should be shown as selected */\n @Prop({ mutable: true, reflect: true }) selected?: string;\n\n /** The languages which should be selectable options. */\n @Prop() languages: string[] | SixLanguageSwitcherInput[] = DEFAULT_LANGUAGES;\n\n @Watch('languages')\n handleChangesLanguages(newValue: string[]) {\n if (!Array.isArray(newValue)) {\n throw new Error('languages is expected to be an array');\n }\n\n this.updateSelectedLanguage();\n }\n /**\n * Emitted when the language switchers value changes\n */\n @Event({ eventName: 'six-language-switcher-change' }) sixChange!: EventEmitter<SixLanguageSwitcherChangePayload>;\n\n componentWillLoad() {\n if (this.selected === undefined) {\n this.updateSelectedLanguage();\n }\n }\n\n private updateSelectedLanguage() {\n const selectedLanguage = this.languages[0];\n if (typeof selectedLanguage === 'string') {\n this.selected = selectedLanguage;\n this.sixChange.emit(this.selected);\n } else {\n this.selected = selectedLanguage.key;\n this.sixChange.emit(selectedLanguage.value);\n }\n }\n\n private handleLanguageSwitching = (newLanguage: string, languageValue?: string) => () => {\n if (languageValue !== undefined) {\n this.sixChange.emit(languageValue);\n } else {\n this.sixChange.emit(newLanguage);\n }\n this.selected = newLanguage;\n };\n\n render() {\n return (\n <div part=\"container\" class=\"language-switcher__container\">\n {this.languages.map((lang, index) => {\n const language = typeof lang === 'string' ? lang : lang.key;\n return (\n <div\n onClick={this.handleLanguageSwitching(language, typeof lang === 'string' ? lang : lang.value)}\n onKeyDown={(e) => {\n if (e.key === 'Enter' || e.key === ' ') {\n this.handleLanguageSwitching(language, typeof lang === 'string' ? lang : lang.value)();\n }\n }}\n >\n <span\n part=\"label\"\n tabindex=\"0\"\n class={{\n 'language-switcher__label': true,\n 'language-switcher__label--selected': this.selected === language,\n }}\n >\n {language}\n </span>\n\n {index < this.languages.length - 1 && (\n <span part=\"separator\" class=\"language-switcher__separator\">\n |\n </span>\n )}\n </div>\n );\n })}\n </div>\n );\n }\n}\n"]}
@@ -19,7 +19,7 @@ export class SixLayoutGrid {
19
19
  this.handleColumnsChange();
20
20
  }
21
21
  render() {
22
- return (h(Host, null, h("slot", null)));
22
+ return (h(Host, { key: 'ddc61df108af02e8f30005246c189cf0364e2b4f' }, h("slot", { key: '6e03f8fc47d2fa8466796cf08aaed0e85cf1b080' })));
23
23
  }
24
24
  static get is() { return "six-layout-grid"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-layout-grid.js","sourceRoot":"","sources":["../../../src/components/six-layout-grid/six-layout-grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEzE;;;;;GAKG;AAOH,MAAM,OAAO,aAAa;;;;IAOxB,mBAAmB;QACjB,IAAI,OAAO,IAAI,CAAC,OAAO,KAAK,QAAQ,IAAI,IAAI,CAAC,OAAO,KAAK,CAAC,EAAE;YAC1D,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;SACnB;QACD,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IACvE,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,mBAAmB,EAAE,CAAC;IAC7B,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,eAAQ,CACH,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Host, Prop, Watch } from '@stencil/core';\n\n/**\n * @since 1.01\n * @status stable\n *\n * @slot - The grid's content\n */\n\n@Component({\n tag: 'six-layout-grid',\n styleUrl: 'six-layout-grid.scss',\n shadow: true,\n})\nexport class SixLayoutGrid {\n @Element() host!: HTMLSixLayoutGridElement;\n\n /** Set the number of grid columns */\n @Prop({ mutable: true }) columns?: number;\n\n @Watch('columns')\n handleColumnsChange() {\n if (typeof this.columns !== 'number' || this.columns === 0) {\n this.columns = 12;\n }\n this.host.style.setProperty('--no-of-columns', String(this.columns));\n }\n\n componentWillLoad() {\n this.handleColumnsChange();\n }\n\n render() {\n return (\n <Host>\n <slot />\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-layout-grid.js","sourceRoot":"","sources":["../../../src/components/six-layout-grid/six-layout-grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEzE;;;;;GAKG;AAOH,MAAM,OAAO,aAAa;;;;IAOxB,mBAAmB;QACjB,IAAI,OAAO,IAAI,CAAC,OAAO,KAAK,QAAQ,IAAI,IAAI,CAAC,OAAO,KAAK,CAAC,EAAE,CAAC;YAC3D,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QACpB,CAAC;QACD,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IACvE,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,mBAAmB,EAAE,CAAC;IAC7B,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,8DAAQ,CACH,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Host, Prop, Watch } from '@stencil/core';\n\n/**\n * @since 1.01\n * @status stable\n *\n * @slot - The grid's content\n */\n\n@Component({\n tag: 'six-layout-grid',\n styleUrl: 'six-layout-grid.scss',\n shadow: true,\n})\nexport class SixLayoutGrid {\n @Element() host!: HTMLSixLayoutGridElement;\n\n /** Set the number of grid columns */\n @Prop({ mutable: true }) columns?: number;\n\n @Watch('columns')\n handleColumnsChange() {\n if (typeof this.columns !== 'number' || this.columns === 0) {\n this.columns = 12;\n }\n this.host.style.setProperty('--no-of-columns', String(this.columns));\n }\n\n componentWillLoad() {\n this.handleColumnsChange();\n }\n\n render() {\n return (\n <Host>\n <slot />\n </Host>\n );\n }\n}\n"]}