@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
@@ -1 +1 @@
1
- {"version":3,"file":"six-tab.js","sourceRoot":"","sources":["../../../src/components/six-tab/six-tab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAG/F,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;GAUG;AAOH,MAAM,OAAO,MAAM;;QACT,gBAAW,GAAG,OAAO,EAAE,EAAE,EAAE,CAAC;qBAMH,EAAE;sBAGD,KAAK;wBAGpB,KAAK;wBAGY,KAAK;;IAKzC,iBAAiB;QACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;IAED,6BAA6B;IAE7B,KAAK,CAAC,QAAQ,CAAC,OAAsB;;QACnC,MAAA,IAAI,CAAC,GAAG,0CAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;IAED,kCAAkC;IAElC,KAAK,CAAC,WAAW;;QACf,MAAA,IAAI,CAAC,GAAG,0CAAE,IAAI,EAAE,CAAC;IACnB,CAAC;IAEO,gBAAgB;QACtB,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;IAED,MAAM;;QACJ,MAAM,QAAQ,GAAkC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;QACnF,MAAM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,cAAc,EAAE,IAAI;oBACpB,wBAAwB,EAAE,IAAI,CAAC,MAAM;oBAErC,aAAa;oBACb,qBAAqB,EAAE,SAAS,KAAK,KAAK;oBAC1C,wBAAwB,EAAE,SAAS,KAAK,QAAQ;oBAChD,sBAAsB,EAAE,SAAS,KAAK,MAAM;oBAC5C,uBAAuB,EAAE,SAAS,KAAK,OAAO;iBAC/C,GACI,CACF,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Method, Prop } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\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 - The tab's label.\n *\n * @part base - The component's base wrapper.\n * @part close-button - The close button, which is the icon button's base wrapper.\n */\n\n@Component({\n tag: 'six-tab',\n styleUrl: 'six-tab.scss',\n shadow: true,\n})\nexport class SixTab {\n private componentId = `tab-${++id}`;\n private tab?: HTMLElement;\n\n @Element() host!: HTMLSixTabElement;\n\n /** The name of the tab panel the tab will control. The panel must be located in the same tab group. */\n @Prop({ reflect: true }) panel = '';\n\n /** Set to true to draw the tab in an active state. */\n @Prop({ reflect: true }) active = false;\n\n /** When true, the tab will be rendered with a close icon. */\n @Prop() closable = false;\n\n /** Set to true to draw the tab in a disabled state. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Emitted when the tab is closable and the close button is activated. */\n @Event({ eventName: 'six-tab-close' }) sixClose!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.handleCloseClick = this.handleCloseClick.bind(this);\n }\n\n /** Sets focus to the tab. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.tab?.focus(options);\n }\n\n /** Removes focus from the tab. */\n @Method()\n async removeFocus() {\n this.tab?.blur();\n }\n\n private handleCloseClick() {\n this.sixClose.emit();\n }\n\n render() {\n const tabGroup: HTMLSixTabGroupElement | null = this.host.closest('six-tab-group');\n const placement = tabGroup?.placement ?? 'top';\n return (\n // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels\n <Host id={this.host.id || this.componentId}>\n <div\n part=\"base\"\n ref={(el) => (this.tab = el)}\n class={{\n tab: true,\n\n // Placements\n 'tab--top': placement === 'top',\n 'tab--bottom': placement === 'bottom',\n 'tab--left': placement === 'left',\n 'tab--right': placement === 'right',\n\n // States\n 'tab--active': this.active,\n 'tab--closable': this.closable,\n 'tab--disabled': this.disabled,\n }}\n role=\"tab\"\n aria-disabled={this.disabled ? 'true' : 'false'}\n aria-selected={this.active ? 'true' : 'false'}\n tabindex={this.disabled || !this.active ? '-1' : '0'}\n >\n <slot />\n {this.closable && (\n <six-icon-button\n name=\"close\"\n size=\"xSmall\"\n exportparts=\"base:close-button\"\n class=\"tab__close-button\"\n onClick={this.handleCloseClick}\n tabIndex={-1}\n aria-hidden=\"true\"\n />\n )}\n </div>\n <div\n class={{\n tab__indicator: true,\n 'tab__indicator--active': this.active,\n\n // Placements\n 'tab__indicator--top': placement === 'top',\n 'tab__indicator--bottom': placement === 'bottom',\n 'tab__indicator--left': placement === 'left',\n 'tab__indicator--right': placement === 'right',\n }}\n ></div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-tab.js","sourceRoot":"","sources":["../../../src/components/six-tab/six-tab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAG/F,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;GAUG;AAOH,MAAM,OAAO,MAAM;;QACT,gBA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encil/core';\nimport { EmptyPayload } from '../../utils/types';\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 - The tab's label.\n *\n * @part base - The component's base wrapper.\n * @part close-button - The close button, which is the icon button's base wrapper.\n */\n\n@Component({\n tag: 'six-tab',\n styleUrl: 'six-tab.scss',\n shadow: true,\n})\nexport class SixTab {\n private componentId = `tab-${++id}`;\n private tab?: HTMLElement;\n\n @Element() host!: HTMLSixTabElement;\n\n /** The name of the tab panel the tab will control. The panel must be located in the same tab group. */\n @Prop({ reflect: true }) panel = '';\n\n /** Set to true to draw the tab in an active state. */\n @Prop({ reflect: true }) active = false;\n\n /** When true, the tab will be rendered with a close icon. */\n @Prop() closable = false;\n\n /** Set to true to draw the tab in a disabled state. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Emitted when the tab is closable and the close button is activated. */\n @Event({ eventName: 'six-tab-close' }) sixClose!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.handleCloseClick = this.handleCloseClick.bind(this);\n }\n\n /** Sets focus to the tab. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.tab?.focus(options);\n }\n\n /** Removes focus from the tab. */\n @Method()\n async removeFocus() {\n this.tab?.blur();\n }\n\n private handleCloseClick() {\n this.sixClose.emit();\n }\n\n render() {\n const tabGroup: HTMLSixTabGroupElement | null = this.host.closest('six-tab-group');\n const placement = tabGroup?.placement ?? 'top';\n return (\n // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels\n <Host id={this.host.id || this.componentId}>\n <div\n part=\"base\"\n ref={(el) => (this.tab = el)}\n class={{\n tab: true,\n\n // Placements\n 'tab--top': placement === 'top',\n 'tab--bottom': placement === 'bottom',\n 'tab--left': placement === 'left',\n 'tab--right': placement === 'right',\n\n // States\n 'tab--active': this.active,\n 'tab--closable': this.closable,\n 'tab--disabled': this.disabled,\n }}\n role=\"tab\"\n aria-disabled={this.disabled ? 'true' : 'false'}\n aria-selected={this.active ? 'true' : 'false'}\n tabindex={this.disabled || !this.active ? '-1' : '0'}\n >\n <slot />\n {this.closable && (\n <six-icon-button\n name=\"close\"\n size=\"xSmall\"\n exportparts=\"base:close-button\"\n class=\"tab__close-button\"\n onClick={this.handleCloseClick}\n tabIndex={-1}\n aria-hidden=\"true\"\n />\n )}\n </div>\n <div\n part={this.active ? 'active-tab-indicator' : ''}\n class={{\n tab__indicator: true,\n 'tab__indicator--active': this.active,\n\n // Placements\n 'tab__indicator--top': placement === 'top',\n 'tab__indicator--bottom': placement === 'bottom',\n 'tab__indicator--left': placement === 'left',\n 'tab__indicator--right': placement === 'right',\n }}\n ></div>\n </Host>\n );\n }\n}\n"]}
@@ -84,7 +84,8 @@ export class SixTabGroup {
84
84
  behavior: 'smooth',
85
85
  });
86
86
  };
87
- this.hasScrollControls = false;
87
+ this.hasLeftControl = false;
88
+ this.hasRightControl = false;
88
89
  this.placement = 'top';
89
90
  this.noScrollControls = false;
90
91
  }
@@ -106,6 +107,13 @@ export class SixTabGroup {
106
107
  this.resizeObserver = new ResizeObserver(() => this.updateScrollControls());
107
108
  this.resizeObserver.observe(this.nav);
108
109
  requestAnimationFrame(() => this.updateScrollControls());
110
+ this.nav.addEventListener('scroll', () => {
111
+ if (this.nav == null) {
112
+ return;
113
+ }
114
+ this.hasRightControl = this.calculateRightControlVisibility();
115
+ this.hasLeftControl = this.calculateLeftControlVisibility();
116
+ });
109
117
  // Update aria labels if the DOM changes
110
118
  this.mutationObserver = new MutationObserver((mutations) => {
111
119
  if (mutations.some((mutation) => {
@@ -153,12 +161,29 @@ export class SixTabGroup {
153
161
  getActiveTab() {
154
162
  return this.getAllTabs().find((el) => el.active);
155
163
  }
164
+ calculateRightControlVisibility() {
165
+ var _a, _b, _c;
166
+ if (this.nav == null) {
167
+ return false;
168
+ }
169
+ return Math.abs((_a = this.nav) === null || _a === void 0 ? void 0 : _a.scrollLeft) + ((_b = this.nav) === null || _b === void 0 ? void 0 : _b.clientWidth) < ((_c = this.nav) === null || _c === void 0 ? void 0 : _c.scrollWidth) - 1;
170
+ }
171
+ calculateLeftControlVisibility() {
172
+ var _a;
173
+ if (this.nav == null) {
174
+ return false;
175
+ }
176
+ return Math.abs((_a = this.nav) === null || _a === void 0 ? void 0 : _a.scrollLeft) > 0;
177
+ }
156
178
  updateScrollControls() {
157
179
  if (this.nav == null)
158
180
  return;
159
- this.hasScrollControls = this.noScrollControls
181
+ this.hasRightControl = this.noScrollControls
182
+ ? false
183
+ : ['top', 'bottom'].includes(this.placement) && this.calculateRightControlVisibility();
184
+ this.hasLeftControl = this.noScrollControls
160
185
  ? false
161
- : ['top', 'bottom'].includes(this.placement) && this.nav.scrollWidth > this.nav.clientWidth;
186
+ : ['top', 'bottom'].includes(this.placement) && this.calculateLeftControlVisibility();
162
187
  }
163
188
  setActiveTab(tab, emitEvents = true) {
164
189
  var _a, _b, _c;
@@ -201,15 +226,15 @@ export class SixTabGroup {
201
226
  });
202
227
  }
203
228
  render() {
204
- return (h("div", { part: "base", ref: (el) => (this.tabGroup = el), class: {
229
+ return (h("div", { key: '60f54ff4d4cd4131cd1b34a7930f26f5881cdb29', part: "base", ref: (el) => (this.tabGroup = el), class: {
205
230
  'tab-group': true,
206
231
  // Placements
207
232
  'tab-group--top': this.placement === 'top',
208
233
  'tab-group--bottom': this.placement === 'bottom',
209
234
  'tab-group--left': this.placement === 'left',
210
235
  'tab-group--right': this.placement === 'right',
211
- 'tab-group--has-scroll-controls': this.hasScrollControls,
212
- }, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { class: "tab-group__nav-container" }, this.hasScrollControls && (h("six-icon-button", { class: "tab-group__scroll-button tab-group__scroll-button--left", exportparts: "base:scroll-button", name: "chevron_left", onClick: this.handleScrollLeft })), h("div", { ref: (el) => (this.nav = el), key: "nav", part: "nav", class: "tab-group__nav" }, h("div", { ref: (el) => (this.tabs = el), part: "tabs", class: "tab-group__tabs", role: "tablist" }, h("slot", { name: "nav" }))), this.hasScrollControls && (h("six-icon-button", { class: "tab-group__scroll-button tab-group__scroll-button--right", exportparts: "base:scroll-button", name: "chevron_right", onClick: this.handleScrollRight }))), h("div", { ref: (el) => (this.body = el), part: "body", class: "tab-group__body" }, h("slot", null))));
236
+ 'tab-group--has-scroll-controls': this.hasRightControl || this.hasLeftControl,
237
+ }, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '54a95d4a91ba3353eaa0f628353073d206e45c89', class: "tab-group__nav-container" }, this.hasLeftControl && (h("six-icon-button", { key: '6f7d4640cf7c39b33c47d811c32ecc15b94d965d', class: "tab-group__scroll-button tab-group__scroll-button--left", exportparts: "base:scroll-button", name: "chevron_left", onClick: this.handleScrollLeft })), h("div", { ref: (el) => (this.nav = el), key: "nav", part: "nav", class: "tab-group__nav" }, h("div", { key: '4c16b3f6ea9f11a7cfe213cae93906d5697db55b', ref: (el) => (this.tabs = el), part: "tabs", class: "tab-group__tabs", role: "tablist" }, h("slot", { key: '820aa64c25c995209aa55602a35ab4c73a0fe02c', name: "nav" }))), this.hasRightControl && (h("six-icon-button", { key: '5941d65f3065f283067092dd248a03be48c56fba', class: "tab-group__scroll-button tab-group__scroll-button--right", exportparts: "base:scroll-button", name: "chevron_right", onClick: this.handleScrollRight }))), h("div", { key: '74eaa776c877ae1f0dea669655f35f09c336fe5b', ref: (el) => (this.body = el), part: "body", class: "tab-group__body" }, h("slot", { key: '8c12c1d7312e6013fbc4e68f65beb28f43f1ffec' }))));
213
238
  }
214
239
  static get is() { return "six-tab-group"; }
215
240
  static get encapsulation() { return "shadow"; }
@@ -265,7 +290,8 @@ export class SixTabGroup {
265
290
  }
266
291
  static get states() {
267
292
  return {
268
- "hasScrollControls": {}
293
+ "hasLeftControl": {},
294
+ "hasRightControl": {}
269
295
  };
270
296
  }
271
297
  static get events() {
@@ -1 +1 @@
1
- {"version":3,"file":"six-tab-group.js","sourceRoot":"","sources":["../../../src/components/six-tab-group/six-tab-group.tsx"],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I,CACzB,uBACE,KAAK,EAAC,0DAA0D,EAChE,WAAW,EAAC,oBAAoB,EAChC,IAAI,EAAC,eAAe,EACpB,OAAO,EAAE,IAAI,CAAC,iBAAiB,GAC/B,CACH,CACG;YAEN,WAAK,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,iBAAiB;gBACrE,eAAQ,CACJ,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { scrollIntoView } from '../../utils/scroll';\nimport { flipAnimate } from '../../utils/animation';\n\nexport interface SixTabShowPayload {\n name: string;\n}\n\nexport interface SixTabHidePayload {\n name: string;\n}\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 nav - Used for grouping tabs in the tab group.\n * @slot - Used for grouping tab panels in the tab group.\n *\n * @part base - The component's base wrapper.\n * @part nav - The tab group navigation container.\n * @part tabs - The container that wraps the slotted tabs.\n * @part active-tab-indicator - An element that displays the currently selected tab. This is a child of the tab's container.\n * @part body - The tab group body where tab panels are slotted in.\n * @part scroll-button - The previous and next scroll buttons that appear when tabs are scrollable.\n */\n@Component({\n tag: 'six-tab-group',\n styleUrl: 'six-tab-group.scss',\n shadow: true,\n})\nexport class SixTabGroup {\n private activeTab?: HTMLSixTabElement;\n private body?: HTMLElement;\n private mutationObserver?: MutationObserver;\n private nav?: HTMLElement;\n private resizeObserver?: ResizeObserver;\n private tabGroup?: HTMLElement;\n private tabs?: HTMLElement;\n\n @Element() host!: HTMLSixTabGroupElement;\n\n @State() hasScrollControls = false;\n\n /** The placement of the tabs. */\n @Prop() placement: 'top' | 'bottom' | 'left' | 'right' = 'top';\n\n /** Disables the scroll arrows that appear when tabs overflow. */\n @Prop() noScrollControls = false;\n\n @Watch('noScrollControls')\n handleNoScrollControlsChange() {\n this.updateScrollControls();\n }\n\n /** Emitted when a tab is shown. */\n @Event({ eventName: 'six-tab-show' }) sixTabShow!: EventEmitter<SixTabShowPayload>;\n\n /** Emitted when a tab is hidden. */\n @Event({ eventName: 'six-tab-hide' }) sixTabHide!: EventEmitter<SixTabHidePayload>;\n\n componentDidLoad() {\n if (this.tabGroup == null || this.nav == null) return;\n\n // Set initial tab state when the tabs first become visible\n const observer = new IntersectionObserver((entries, observer) => {\n if (entries[0].intersectionRatio > 0) {\n this.setAriaLabels();\n this.setActiveTab(this.getActiveTab() || this.getAllTabs()[0], false);\n observer.unobserve(entries[0].target);\n }\n });\n observer.observe(this.host);\n this.resizeObserver = new ResizeObserver(() => this.updateScrollControls());\n this.resizeObserver.observe(this.nav);\n requestAnimationFrame(() => this.updateScrollControls());\n\n // Update aria labels if the DOM changes\n this.mutationObserver = new MutationObserver((mutations) => {\n if (\n mutations.some((mutation) => {\n return !['aria-labelledby', 'aria-controls'].includes(mutation.attributeName ?? '');\n })\n ) {\n setTimeout(() => this.setAriaLabels());\n }\n });\n this.mutationObserver.observe(this.host, { attributes: true, childList: true, subtree: true });\n }\n\n disconnectedCallback() {\n if (this.mutationObserver == null || this.tabGroup == null || this.nav == null || this.resizeObserver == null) {\n return;\n }\n this.mutationObserver.disconnect();\n this.resizeObserver.unobserve(this.nav);\n }\n\n /** Shows the specified tab panel. */\n @Method()\n async show(panel: string) {\n const tabs = this.getAllTabs();\n const tab = tabs.find((el) => el.panel === panel);\n\n if (tab != null) {\n this.setActiveTab(tab);\n }\n }\n\n private getAllTabs(includeDisabled = false): HTMLSixTabElement[] {\n const slot = this.tabs?.querySelector('slot');\n if (slot == null) return [];\n\n return [...slot.assignedElements()].filter((el: Element) => {\n return includeDisabled\n ? el.tagName.toLowerCase() === 'six-tab'\n : el.tagName.toLowerCase() === 'six-tab' && !(el as HTMLSixTabElement).disabled;\n }) as [HTMLSixTabElement];\n }\n\n private getAllPanels(): HTMLSixTabPanelElement[] {\n const slot = this.body?.querySelector('slot');\n if (slot == null) return [];\n return [...slot.assignedElements()].filter((el: Element) => el.tagName.toLowerCase() === 'six-tab-panel') as [\n HTMLSixTabPanelElement\n ];\n }\n\n private getActiveTab() {\n return this.getAllTabs().find((el) => el.active);\n }\n\n private handleClick = (event: MouseEvent) => {\n const target = event.target as HTMLElement;\n const tab = target.closest('six-tab');\n const tabGroup = tab?.closest('six-tab-group');\n\n // Ensure the target tab is in this tab group\n if (tabGroup !== this.host) {\n return false;\n }\n\n if (tab != null) {\n this.setActiveTab(tab);\n }\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (this.nav == null) return;\n\n const target = event.target as HTMLElement;\n const tab = target.closest('six-tab');\n const tabGroup = tab?.closest('six-tab-group');\n\n // Ensure the target tab is in this tab group\n if (tabGroup !== this.host) {\n return false;\n }\n\n // Move focus left or right\n if (['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Home', 'End'].includes(event.key)) {\n const activeEl = document.activeElement as HTMLSixTabElement;\n\n if (activeEl && activeEl.tagName.toLowerCase() === 'six-tab') {\n const tabs = this.getAllTabs();\n let index = tabs.indexOf(activeEl);\n\n if (event.key === 'Home') {\n index = 0;\n } else if (event.key === 'End') {\n index = tabs.length - 1;\n } else if (event.key === 'ArrowLeft') {\n index = Math.max(0, index - 1);\n } else if (event.key === 'ArrowRight') {\n index = Math.min(tabs.length - 1, index + 1);\n }\n\n tabs[index].setFocus({ preventScroll: true });\n this.setActiveTab(tabs[index]);\n\n if (['top', 'bottom'].includes(this.placement)) {\n scrollIntoView(tabs[index], this.nav, 'horizontal');\n }\n\n event.preventDefault();\n }\n }\n };\n\n private handleScrollLeft = () => {\n if (this.nav == null) return;\n\n this.nav.scroll({\n left: this.nav.scrollLeft - this.nav.clientWidth,\n behavior: 'smooth',\n });\n };\n\n private handleScrollRight = () => {\n if (this.nav == null) return;\n\n this.nav.scroll({\n left: this.nav.scrollLeft + this.nav.clientWidth,\n behavior: 'smooth',\n });\n };\n\n private updateScrollControls() {\n if (this.nav == null) return;\n\n this.hasScrollControls = this.noScrollControls\n ? false\n : ['top', 'bottom'].includes(this.placement) && this.nav.scrollWidth > this.nav.clientWidth;\n }\n\n private setActiveTab(tab: HTMLSixTabElement, emitEvents = true) {\n if (this.nav == null) return;\n\n const newIndicator = tab?.shadowRoot?.querySelector('.tab__indicator');\n const oldIndicator = this.getActiveTab()?.shadowRoot?.querySelector('.tab__indicator');\n\n if (oldIndicator != null && newIndicator != null) {\n flipAnimate(newIndicator, oldIndicator);\n }\n\n if (tab !== this.activeTab && !tab.disabled) {\n const previousTab = this.activeTab;\n this.activeTab = tab;\n\n // Sync tabs and panels\n this.getAllTabs().map((el) => (el.active = el === this.activeTab));\n this.getAllPanels().map((el) => (el.active = el.name === this.activeTab?.panel));\n\n if (['top', 'bottom'].includes(this.placement)) {\n scrollIntoView(this.activeTab, this.nav, 'horizontal');\n }\n\n // Emit events\n if (emitEvents) {\n if (previousTab != null) {\n this.sixTabHide.emit({ name: previousTab.panel });\n }\n\n this.sixTabShow.emit({ name: this.activeTab.panel });\n }\n }\n }\n\n private setAriaLabels() {\n const tabs = this.getAllTabs();\n const panels = this.getAllPanels();\n\n // Link each tab with its corresponding panel\n tabs.map((tab) => {\n const panel = panels.find((el) => el.name === tab.panel);\n if (panel != null) {\n tab.setAttribute('aria-controls', panel.getAttribute('id') ?? '');\n panel.setAttribute('aria-labelledby', tab.getAttribute('id') ?? '');\n }\n });\n }\n\n render() {\n return (\n <div\n part=\"base\"\n ref={(el) => (this.tabGroup = el)}\n class={{\n 'tab-group': true,\n\n // Placements\n 'tab-group--top': this.placement === 'top',\n 'tab-group--bottom': this.placement === 'bottom',\n 'tab-group--left': this.placement === 'left',\n 'tab-group--right': this.placement === 'right',\n\n 'tab-group--has-scroll-controls': this.hasScrollControls,\n }}\n onClick={this.handleClick}\n onKeyDown={this.handleKeyDown}\n >\n <div class=\"tab-group__nav-container\">\n {this.hasScrollControls && (\n <six-icon-button\n class=\"tab-group__scroll-button tab-group__scroll-button--left\"\n exportparts=\"base:scroll-button\"\n name=\"chevron_left\"\n onClick={this.handleScrollLeft}\n />\n )}\n <div ref={(el) => (this.nav = el)} key=\"nav\" part=\"nav\" class=\"tab-group__nav\">\n <div ref={(el) => (this.tabs = el)} part=\"tabs\" class=\"tab-group__tabs\" role=\"tablist\">\n <slot name=\"nav\" />\n </div>\n </div>\n {this.hasScrollControls && (\n <six-icon-button\n class=\"tab-group__scroll-button tab-group__scroll-button--right\"\n exportparts=\"base:scroll-button\"\n name=\"chevron_right\"\n onClick={this.handleScrollRight}\n />\n )}\n </div>\n\n <div ref={(el) => (this.body = el)} part=\"body\" class=\"tab-group__body\">\n <slot />\n </div>\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-tab-group.js","sourceRoot":"","sources":["../../../src/components/six-tab-group/six-tab-group.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,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAUpD;;;;;;;;;;;;;;;GAeG;AAMH,MAAM,OAAO,WAAW;;QA+Gd,gBAAW,GAAG,CAAC,KAAiB,EAAE,EAAE;YAC1C,MAAM,MAAM,GAAG,KAAK,CAAC,MAAqB,CAAC;YAC3C,MAAM,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YACtC,MAAM,QAAQ,GAAG,GAAG,aAAH,GAAG,uBAAH,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;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { scrollIntoView } from '../../utils/scroll';\nimport { flipAnimate } from '../../utils/animation';\n\nexport interface SixTabShowPayload {\n name: string;\n}\n\nexport interface SixTabHidePayload {\n name: string;\n}\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 nav - Used for grouping tabs in the tab group.\n * @slot - Used for grouping tab panels in the tab group.\n *\n * @part base - The component's base wrapper.\n * @part nav - The tab group navigation container.\n * @part tabs - The container that wraps the slotted tabs.\n * @part active-tab-indicator - An element that displays the currently selected tab. This is a child of the tab's container.\n * @part body - The tab group body where tab panels are slotted in.\n * @part scroll-button - The previous and next scroll buttons that appear when tabs are scrollable.\n */\n@Component({\n tag: 'six-tab-group',\n styleUrl: 'six-tab-group.scss',\n shadow: true,\n})\nexport class SixTabGroup {\n private activeTab?: HTMLSixTabElement;\n private body?: HTMLElement;\n private mutationObserver?: MutationObserver;\n private nav?: HTMLElement;\n private resizeObserver?: ResizeObserver;\n private tabGroup?: HTMLElement;\n private tabs?: HTMLElement;\n\n @Element() host!: HTMLSixTabGroupElement;\n\n @State() hasLeftControl = false;\n @State() hasRightControl = false;\n\n /** The placement of the tabs. */\n @Prop() placement: 'top' | 'bottom' | 'left' | 'right' = 'top';\n\n /** Disables the scroll arrows that appear when tabs overflow. */\n @Prop() noScrollControls = false;\n\n @Watch('noScrollControls')\n handleNoScrollControlsChange() {\n this.updateScrollControls();\n }\n\n /** Emitted when a tab is shown. */\n @Event({ eventName: 'six-tab-show' }) sixTabShow!: EventEmitter<SixTabShowPayload>;\n\n /** Emitted when a tab is hidden. */\n @Event({ eventName: 'six-tab-hide' }) sixTabHide!: EventEmitter<SixTabHidePayload>;\n\n componentDidLoad() {\n if (this.tabGroup == null || this.nav == null) return;\n\n // Set initial tab state when the tabs first become visible\n const observer = new IntersectionObserver((entries, observer) => {\n if (entries[0].intersectionRatio > 0) {\n this.setAriaLabels();\n this.setActiveTab(this.getActiveTab() || this.getAllTabs()[0], false);\n observer.unobserve(entries[0].target);\n }\n });\n observer.observe(this.host);\n this.resizeObserver = new ResizeObserver(() => this.updateScrollControls());\n this.resizeObserver.observe(this.nav);\n requestAnimationFrame(() => this.updateScrollControls());\n\n this.nav.addEventListener('scroll', () => {\n if (this.nav == null) {\n return;\n }\n this.hasRightControl = this.calculateRightControlVisibility();\n\n this.hasLeftControl = this.calculateLeftControlVisibility();\n });\n\n // Update aria labels if the DOM changes\n this.mutationObserver = new MutationObserver((mutations) => {\n if (\n mutations.some((mutation) => {\n return !['aria-labelledby', 'aria-controls'].includes(mutation.attributeName ?? '');\n })\n ) {\n setTimeout(() => this.setAriaLabels());\n }\n });\n this.mutationObserver.observe(this.host, { attributes: true, childList: true, subtree: true });\n }\n\n disconnectedCallback() {\n if (this.mutationObserver == null || this.tabGroup == null || this.nav == null || this.resizeObserver == null) {\n return;\n }\n this.mutationObserver.disconnect();\n this.resizeObserver.unobserve(this.nav);\n }\n\n /** Shows the specified tab panel. */\n @Method()\n async show(panel: string) {\n const tabs = this.getAllTabs();\n const tab = tabs.find((el) => el.panel === panel);\n\n if (tab != null) {\n this.setActiveTab(tab);\n }\n }\n\n private getAllTabs(includeDisabled = false): HTMLSixTabElement[] {\n const slot = this.tabs?.querySelector('slot');\n if (slot == null) return [];\n\n return [...slot.assignedElements()].filter((el: Element) => {\n return includeDisabled\n ? el.tagName.toLowerCase() === 'six-tab'\n : el.tagName.toLowerCase() === 'six-tab' && !(el as HTMLSixTabElement).disabled;\n }) as [HTMLSixTabElement];\n }\n\n private getAllPanels(): HTMLSixTabPanelElement[] {\n const slot = this.body?.querySelector('slot');\n if (slot == null) return [];\n return [...slot.assignedElements()].filter((el: Element) => el.tagName.toLowerCase() === 'six-tab-panel') as [\n HTMLSixTabPanelElement\n ];\n }\n\n private getActiveTab() {\n return this.getAllTabs().find((el) => el.active);\n }\n\n private handleClick = (event: MouseEvent) => {\n const target = event.target as HTMLElement;\n const tab = target.closest('six-tab');\n const tabGroup = tab?.closest('six-tab-group');\n\n // Ensure the target tab is in this tab group\n if (tabGroup !== this.host) {\n return false;\n }\n\n if (tab != null) {\n this.setActiveTab(tab);\n }\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (this.nav == null) return;\n\n const target = event.target as HTMLElement;\n const tab = target.closest('six-tab');\n const tabGroup = tab?.closest('six-tab-group');\n\n // Ensure the target tab is in this tab group\n if (tabGroup !== this.host) {\n return false;\n }\n\n // Move focus left or right\n if (['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Home', 'End'].includes(event.key)) {\n const activeEl = document.activeElement as HTMLSixTabElement;\n\n if (activeEl && activeEl.tagName.toLowerCase() === 'six-tab') {\n const tabs = this.getAllTabs();\n let index = tabs.indexOf(activeEl);\n\n if (event.key === 'Home') {\n index = 0;\n } else if (event.key === 'End') {\n index = tabs.length - 1;\n } else if (event.key === 'ArrowLeft') {\n index = Math.max(0, index - 1);\n } else if (event.key === 'ArrowRight') {\n index = Math.min(tabs.length - 1, index + 1);\n }\n\n tabs[index].setFocus({ preventScroll: true });\n this.setActiveTab(tabs[index]);\n\n if (['top', 'bottom'].includes(this.placement)) {\n scrollIntoView(tabs[index], this.nav, 'horizontal');\n }\n\n event.preventDefault();\n }\n }\n };\n\n private handleScrollLeft = () => {\n if (this.nav == null) return;\n\n this.nav.scroll({\n left: this.nav.scrollLeft - this.nav.clientWidth,\n behavior: 'smooth',\n });\n };\n\n private handleScrollRight = () => {\n if (this.nav == null) return;\n\n this.nav.scroll({\n left: this.nav.scrollLeft + this.nav.clientWidth,\n behavior: 'smooth',\n });\n };\n\n private calculateRightControlVisibility() {\n if (this.nav == null) {\n return false;\n }\n return Math.abs(this.nav?.scrollLeft) + this.nav?.clientWidth < this.nav?.scrollWidth - 1;\n }\n\n private calculateLeftControlVisibility() {\n if (this.nav == null) {\n return false;\n }\n return Math.abs(this.nav?.scrollLeft) > 0;\n }\n\n private updateScrollControls() {\n if (this.nav == null) return;\n\n this.hasRightControl = this.noScrollControls\n ? false\n : ['top', 'bottom'].includes(this.placement) && this.calculateRightControlVisibility();\n\n this.hasLeftControl = this.noScrollControls\n ? false\n : ['top', 'bottom'].includes(this.placement) && this.calculateLeftControlVisibility();\n }\n\n private setActiveTab(tab: HTMLSixTabElement, emitEvents = true) {\n if (this.nav == null) return;\n\n const newIndicator = tab?.shadowRoot?.querySelector('.tab__indicator');\n const oldIndicator = this.getActiveTab()?.shadowRoot?.querySelector('.tab__indicator');\n\n if (oldIndicator != null && newIndicator != null) {\n flipAnimate(newIndicator, oldIndicator);\n }\n\n if (tab !== this.activeTab && !tab.disabled) {\n const previousTab = this.activeTab;\n this.activeTab = tab;\n\n // Sync tabs and panels\n this.getAllTabs().map((el) => (el.active = el === this.activeTab));\n this.getAllPanels().map((el) => (el.active = el.name === this.activeTab?.panel));\n\n if (['top', 'bottom'].includes(this.placement)) {\n scrollIntoView(this.activeTab, this.nav, 'horizontal');\n }\n\n // Emit events\n if (emitEvents) {\n if (previousTab != null) {\n this.sixTabHide.emit({ name: previousTab.panel });\n }\n\n this.sixTabShow.emit({ name: this.activeTab.panel });\n }\n }\n }\n\n private setAriaLabels() {\n const tabs = this.getAllTabs();\n const panels = this.getAllPanels();\n\n // Link each tab with its corresponding panel\n tabs.map((tab) => {\n const panel = panels.find((el) => el.name === tab.panel);\n if (panel != null) {\n tab.setAttribute('aria-controls', panel.getAttribute('id') ?? '');\n panel.setAttribute('aria-labelledby', tab.getAttribute('id') ?? '');\n }\n });\n }\n\n render() {\n return (\n <div\n part=\"base\"\n ref={(el) => (this.tabGroup = el)}\n class={{\n 'tab-group': true,\n\n // Placements\n 'tab-group--top': this.placement === 'top',\n 'tab-group--bottom': this.placement === 'bottom',\n 'tab-group--left': this.placement === 'left',\n 'tab-group--right': this.placement === 'right',\n\n 'tab-group--has-scroll-controls': this.hasRightControl || this.hasLeftControl,\n }}\n onClick={this.handleClick}\n onKeyDown={this.handleKeyDown}\n >\n <div class=\"tab-group__nav-container\">\n {this.hasLeftControl && (\n <six-icon-button\n class=\"tab-group__scroll-button tab-group__scroll-button--left\"\n exportparts=\"base:scroll-button\"\n name=\"chevron_left\"\n onClick={this.handleScrollLeft}\n />\n )}\n <div ref={(el) => (this.nav = el)} key=\"nav\" part=\"nav\" class=\"tab-group__nav\">\n <div ref={(el) => (this.tabs = el)} part=\"tabs\" class=\"tab-group__tabs\" role=\"tablist\">\n <slot name=\"nav\" />\n </div>\n </div>\n {this.hasRightControl && (\n <six-icon-button\n class=\"tab-group__scroll-button tab-group__scroll-button--right\"\n exportparts=\"base:scroll-button\"\n name=\"chevron_right\"\n onClick={this.handleScrollRight}\n />\n )}\n </div>\n\n <div ref={(el) => (this.body = el)} part=\"body\" class=\"tab-group__body\">\n <slot />\n </div>\n </div>\n );\n }\n}\n"]}
@@ -19,7 +19,7 @@ export class SixTabPanel {
19
19
  render() {
20
20
  return (
21
21
  // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels
22
- h(Host, { id: this.host.id || this.componentId, style: { display: this.active ? 'block' : 'none' } }, h("div", { part: "base", class: "tab-panel", role: "tabpanel", "aria-selected": this.active ? 'true' : 'false', "aria-hidden": this.active ? 'false' : 'true' }, h("slot", null))));
22
+ h(Host, { key: 'fc3d3db3be1c5b3ad6b9f016c457a125bfaa2562', id: this.host.id || this.componentId, style: { display: this.active ? 'block' : 'none' } }, h("div", { key: 'b0b17b2d02f91a540612108a386db0bb92bd069e', part: "base", class: "tab-panel", role: "tabpanel", "aria-selected": this.active ? 'true' : 'false', "aria-hidden": this.active ? 'false' : 'true' }, h("slot", { key: '29dfde6d87307b7ea582df86faad4504aa94e2f6' }))));
23
23
  }
24
24
  static get is() { return "six-tab-panel"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-tab-panel.js","sourceRoot":"","sources":["../../../src/components/six-tab-panel/six-tab-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAElE,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;GASG;AAOH,MAAM,OAAO,WAAW;;QACd,gBAAW,GAAG,aAAa,EAAE,EAAE,EAAE,CAAC;oBAK3B,EAAE;sBAGiB,KAAK;;IAEvC,MAAM;QACJ,OAAO;QACL,uGAAuG;QACvG,EAAC,IAAI,IAAC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE;YAC5F,WACE,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,WAAW,EACjB,IAAI,EAAC,UAAU,mBACA,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,iBAChC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM;gBAE3C,eAAQ,CACJ,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Host, Prop } from '@stencil/core';\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 - The tab panel's content.\n *\n * @part base - The component's base wrapper.\n */\n\n@Component({\n tag: 'six-tab-panel',\n styleUrl: 'six-tab-panel.scss',\n shadow: true,\n})\nexport class SixTabPanel {\n private componentId = `tab-panel-${++id}`;\n\n @Element() host!: HTMLSixTabPanelElement;\n\n /** The tab panel's name. */\n @Prop() name = '';\n\n /** When true, the tab panel will be shown. */\n @Prop({ reflect: true }) active = false;\n\n render() {\n return (\n // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels\n <Host id={this.host.id || this.componentId} style={{ display: this.active ? 'block' : 'none' }}>\n <div\n part=\"base\"\n class=\"tab-panel\"\n role=\"tabpanel\"\n aria-selected={this.active ? 'true' : 'false'}\n aria-hidden={this.active ? 'false' : 'true'}\n >\n <slot />\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-tab-panel.js","sourceRoot":"","sources":["../../../src/components/six-tab-panel/six-tab-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAElE,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;GASG;AAOH,MAAM,OAAO,WAAW;;QACd,gBAAW,GAAG,aAAa,EAAE,EAAE,EAAE,CAAC;oBAK3B,EAAE;sBAGiB,KAAK;;IAEvC,MAAM;QACJ,OAAO;QACL,uGAAuG;QACvG,EAAC,IAAI,qDAAC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE;YAC5F,4DACE,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,WAAW,EACjB,IAAI,EAAC,UAAU,mBACA,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,iBAChC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM;gBAE3C,8DAAQ,CACJ,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Host, Prop } from '@stencil/core';\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 - The tab panel's content.\n *\n * @part base - The component's base wrapper.\n */\n\n@Component({\n tag: 'six-tab-panel',\n styleUrl: 'six-tab-panel.scss',\n shadow: true,\n})\nexport class SixTabPanel {\n private componentId = `tab-panel-${++id}`;\n\n @Element() host!: HTMLSixTabPanelElement;\n\n /** The tab panel's name. */\n @Prop() name = '';\n\n /** When true, the tab panel will be shown. */\n @Prop({ reflect: true }) active = false;\n\n render() {\n return (\n // If the user didn't provide an ID, we'll set one, so we can link tabs and tab panels with aria labels\n <Host id={this.host.id || this.componentId} style={{ display: this.active ? 'block' : 'none' }}>\n <div\n part=\"base\"\n class=\"tab-panel\"\n role=\"tabpanel\"\n aria-selected={this.active ? 'true' : 'false'}\n aria-hidden={this.active ? 'false' : 'true'}\n >\n <slot />\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -44,7 +44,7 @@ export class SixTag {
44
44
  this.resizeObserver.disconnect();
45
45
  }
46
46
  render() {
47
- return (h("span", { part: "base", class: {
47
+ return (h("span", { key: '480e8d5bed91865a31471b7f0e0eb433e9026ff7', part: "base", class: {
48
48
  tag: true,
49
49
  // Types
50
50
  'tag--primary': this.type === 'primary',
@@ -61,7 +61,7 @@ export class SixTag {
61
61
  // Modifers
62
62
  'tag--pill': this.pill,
63
63
  'tag--clear': this.clearable,
64
- } }, h("six-tooltip", { ref: (el) => (this.tooltipElement = el) }, h("span", { ref: (el) => (this.contentElement = el), part: "content", class: "tag__content" }, h("slot", { ref: (el) => (this.contentSlotElement = el) }))), this.clearable && (h("six-icon-button", { exportparts: "base:clear-button", size: "xSmall", name: "clear", class: "tag__clear", onClick: this.handleClearClick }))));
64
+ } }, h("six-tooltip", { key: '3af188748afc314713bb9e879a7f40df95acdf52', ref: (el) => (this.tooltipElement = el) }, h("span", { key: 'defb96f6d751d5f7e604205d4c5cf7eed11ca303', ref: (el) => (this.contentElement = el), part: "content", class: "tag__content" }, h("slot", { key: 'c68ec76249d3698b2d943053a773992169af7722', ref: (el) => (this.contentSlotElement = el) }))), this.clearable && (h("six-icon-button", { key: '1649c4712fa0135dc8a77fae5c5dfed6cf046ebd', exportparts: "base:clear-button", size: "xSmall", name: "clear", class: "tag__clear", onClick: this.handleClearClick }))));
65
65
  }
66
66
  static get is() { return "six-tag"; }
67
67
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-tag.js","sourceRoot":"","sources":["../../../src/components/six-tag/six-tag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAExE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAEzD;;;;;;;;;;;GAWG;AAOH,MAAM,OAAO,MAAM;;QAmBT,mBAAc,GAAG,IAAI,cAAc,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;QAkB1E,kBAAa,GAAG,GAAG,EAAE;YAC3B,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;gBACjG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;gBACtE,IAAI,CAAC,cAAc,CAAC,QAAQ,GAAG,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;aACrG;QACH,CAAC,CAAC;QAEM,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;QACvB,CAAC,CAAC;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EAAE,CAAC;gBAClD,YAAM,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC,EAAE,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,cAAc;oBAChF,YAAM,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,GAAG,EAAqB,CAAC,GAAI,CACnE,CACK;YAEb,IAAI,CAAC,SAAS,IAAI,CACjB,uBACE,WAAW,EAAC,mBAAmB,EAC/B,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,OAAO,EACZ,KAAK,EAAC,YAAY,EAClB,OAAO,EAAE,IAAI,CAAC,gBAAgB,GAC9B,CACH,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { getTextContent } from '../../utils/slot';\nimport { debounce } from '../../utils/execution-control';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The tag's content.\n *\n * @part base - The component's base wrapper.\n * @part content - The tag content.\n * @part clear-button - The clear button.\n */\n\n@Component({\n tag: 'six-tag',\n styleUrl: 'six-tag.scss',\n shadow: true,\n})\nexport class SixTag {\n /** The tag's type. */\n @Prop({ reflect: true }) type: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'action' | 'text' = 'primary';\n\n /** The tag's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Set to true to draw a pill-style tag with rounded edges. */\n @Prop({ reflect: true }) pill = false;\n\n /** Set to true to make the tag clearable. */\n @Prop({ reflect: true }) clearable = false;\n\n /** Emitted when the clear button is activated. */\n @Event({ eventName: 'six-tag-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n private contentSlotElement: HTMLSlotElement | undefined;\n private tooltipElement: HTMLSixTooltipElement | undefined;\n private contentElement: HTMLElement | undefined;\n private resizeObserver = new ResizeObserver(debounce(() => this.updateTooltip()));\n\n connectedCallback() {\n if (this.contentElement != null) {\n this.resizeObserver.observe(this.contentElement);\n }\n }\n\n componentDidLoad() {\n if (this.contentElement != null) {\n this.resizeObserver.observe(this.contentElement);\n }\n }\n\n disconnectedCallback() {\n this.resizeObserver.disconnect();\n }\n\n private updateTooltip = () => {\n if (this.tooltipElement != null && this.contentSlotElement != null && this.contentElement != null) {\n this.tooltipElement.content = getTextContent(this.contentSlotElement);\n this.tooltipElement.disabled = !(this.contentElement.offsetWidth < this.contentElement.scrollWidth);\n }\n };\n\n private handleClearClick = () => {\n this.sixClear.emit();\n };\n\n render() {\n return (\n <span\n part=\"base\"\n class={{\n tag: true,\n\n // Types\n 'tag--primary': this.type === 'primary',\n 'tag--success': this.type === 'success',\n 'tag--info': this.type === 'info',\n 'tag--warning': this.type === 'warning',\n 'tag--danger': this.type === 'danger',\n 'tag--action': this.type === 'action',\n 'tag--text': this.type === 'text',\n\n // Sizes\n 'tag--small': this.size === 'small',\n 'tag--medium': this.size === 'medium',\n 'tag--large': this.size === 'large',\n\n // Modifers\n 'tag--pill': this.pill,\n 'tag--clear': this.clearable,\n }}\n >\n <six-tooltip ref={(el) => (this.tooltipElement = el)}>\n <span ref={(el) => (this.contentElement = el)} part=\"content\" class=\"tag__content\">\n <slot ref={(el) => (this.contentSlotElement = el as HTMLSlotElement)} />\n </span>\n </six-tooltip>\n\n {this.clearable && (\n <six-icon-button\n exportparts=\"base:clear-button\"\n size=\"xSmall\"\n name=\"clear\"\n class=\"tag__clear\"\n onClick={this.handleClearClick}\n />\n )}\n </span>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-tag.js","sourceRoot":"","sources":["../../../src/components/six-tag/six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,WAAW,EAAC,mBAAmB,EAC/B,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,OAAO,EACZ,KAAK,EAAC,YAAY,EAClB,OAAO,EAAE,IAAI,CAAC,gBAAgB,GAC9B,CACH,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { getTextContent } from '../../utils/slot';\nimport { debounce } from '../../utils/execution-control';\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot - The tag's content.\n *\n * @part base - The component's base wrapper.\n * @part content - The tag content.\n * @part clear-button - The clear button.\n */\n\n@Component({\n tag: 'six-tag',\n styleUrl: 'six-tag.scss',\n shadow: true,\n})\nexport class SixTag {\n /** The tag's type. */\n @Prop({ reflect: true }) type: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'action' | 'text' = 'primary';\n\n /** The tag's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Set to true to draw a pill-style tag with rounded edges. */\n @Prop({ reflect: true }) pill = false;\n\n /** Set to true to make the tag clearable. */\n @Prop({ reflect: true }) clearable = false;\n\n /** Emitted when the clear button is activated. */\n @Event({ eventName: 'six-tag-clear' }) sixClear!: EventEmitter<EmptyPayload>;\n\n private contentSlotElement: HTMLSlotElement | undefined;\n private tooltipElement: HTMLSixTooltipElement | undefined;\n private contentElement: HTMLElement | undefined;\n private resizeObserver = new ResizeObserver(debounce(() => this.updateTooltip()));\n\n connectedCallback() {\n if (this.contentElement != null) {\n this.resizeObserver.observe(this.contentElement);\n }\n }\n\n componentDidLoad() {\n if (this.contentElement != null) {\n this.resizeObserver.observe(this.contentElement);\n }\n }\n\n disconnectedCallback() {\n this.resizeObserver.disconnect();\n }\n\n private updateTooltip = () => {\n if (this.tooltipElement != null && this.contentSlotElement != null && this.contentElement != null) {\n this.tooltipElement.content = getTextContent(this.contentSlotElement);\n this.tooltipElement.disabled = !(this.contentElement.offsetWidth < this.contentElement.scrollWidth);\n }\n };\n\n private handleClearClick = () => {\n this.sixClear.emit();\n };\n\n render() {\n return (\n <span\n part=\"base\"\n class={{\n tag: true,\n\n // Types\n 'tag--primary': this.type === 'primary',\n 'tag--success': this.type === 'success',\n 'tag--info': this.type === 'info',\n 'tag--warning': this.type === 'warning',\n 'tag--danger': this.type === 'danger',\n 'tag--action': this.type === 'action',\n 'tag--text': this.type === 'text',\n\n // Sizes\n 'tag--small': this.size === 'small',\n 'tag--medium': this.size === 'medium',\n 'tag--large': this.size === 'large',\n\n // Modifers\n 'tag--pill': this.pill,\n 'tag--clear': this.clearable,\n }}\n >\n <six-tooltip ref={(el) => (this.tooltipElement = el)}>\n <span ref={(el) => (this.contentElement = el)} part=\"content\" class=\"tag__content\">\n <slot ref={(el) => (this.contentSlotElement = el as HTMLSlotElement)} />\n </span>\n </six-tooltip>\n\n {this.clearable && (\n <six-icon-button\n exportparts=\"base:clear-button\"\n size=\"xSmall\"\n name=\"clear\"\n class=\"tag__clear\"\n onClick={this.handleClearClick}\n />\n )}\n </span>\n );\n }\n}\n"]}
@@ -86,7 +86,11 @@
86
86
  color: var(--six-input-label-color);
87
87
  }
88
88
 
89
+ /**
90
+ * @prop --height: The textarea height.
91
+ */
89
92
  :host {
93
+ --height: 100%;
90
94
  display: block;
91
95
  }
92
96
 
@@ -135,6 +139,7 @@
135
139
 
136
140
  .textarea__control {
137
141
  flex: 1 1 auto;
142
+ height: calc(var(--height) - 2 * var(--six-border-width));
138
143
  font-family: inherit;
139
144
  font-size: inherit;
140
145
  font-weight: inherit;
@@ -167,7 +167,7 @@ export class SixTextarea {
167
167
  return ((_a = this.value) !== null && _a !== void 0 ? _a : '').toString();
168
168
  }
169
169
  render() {
170
- 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.hasErrorTextSlot, size: this.size, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { part: "base", class: {
170
+ return (h(FormControl, { key: '00028d12eac65d362517b2c6e094329d8c069f43', inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.errorText, errorTextCount: this.errorTextCount, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, disabled: this.disabled, required: this.required, displayError: this.invalid }, h("div", { key: 'edc65e69870856efdc9b40ffc67918262348879f', part: "base", class: {
171
171
  textarea: true,
172
172
  // Sizes
173
173
  'textarea--small': this.size === 'small',
@@ -182,7 +182,7 @@ export class SixTextarea {
182
182
  'textarea--resize-none': this.resize === 'none',
183
183
  'textarea--resize-vertical': this.resize === 'vertical',
184
184
  'textarea--resize-auto': this.resize === 'auto',
185
- } }, h("textarea", { part: "textarea", ref: (el) => (this.nativeTextarea = el), id: this.inputId, class: "textarea__control", name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, rows: this.rows, minLength: this.minlength, maxLength: this.maxlength, value: this.getValue(), autoCapitalize: this.autocapitalize, autoCorrect: this.autocorrect, autoFocus: this.autofocus, spellcheck: this.spellcheck, required: this.required, inputMode: this.inputmode, "aria-labelledby": this.labelId, onChange: this.handleChange, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }))));
185
+ } }, h("textarea", { key: '45ae6befea1819b076625029c4549e00d683fd5c', part: "textarea", ref: (el) => (this.nativeTextarea = el), id: this.inputId, class: "textarea__control", name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, rows: this.rows, minLength: this.minlength, maxLength: this.maxlength, value: this.getValue(), autoCapitalize: this.autocapitalize, autoCorrect: this.autocorrect, autoFocus: this.autofocus, spellcheck: this.spellcheck, required: this.required, inputMode: this.inputmode, "aria-labelledby": this.labelId, onChange: this.handleChange, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }))));
186
186
  }
187
187
  static get is() { return "six-textarea"; }
188
188
  static get encapsulation() { return "shadow"; }
@@ -749,7 +749,7 @@ export class SixTextarea {
749
749
  },
750
750
  "setSelectionRange": {
751
751
  "complexType": {
752
- "signature": "(selectionStart: number, selectionEnd: number, selectionDirection?: 'forward' | 'backward' | 'none') => Promise<void | undefined>",
752
+ "signature": "(selectionStart: number, selectionEnd: number, selectionDirection?: \"forward\" | \"backward\" | \"none\") => Promise<void | undefined>",
753
753
  "parameters": [{
754
754
  "name": "selectionStart",
755
755
  "type": "number",
@@ -778,7 +778,7 @@ export class SixTextarea {
778
778
  },
779
779
  "setRangeText": {
780
780
  "complexType": {
781
- "signature": "(replacement: string, start: number, end: number, selectMode?: 'select' | 'start' | 'end' | 'preserve') => Promise<void>",
781
+ "signature": "(replacement: string, start: number, end: number, selectMode?: \"select\" | \"start\" | \"end\" | \"preserve\") => Promise<void>",
782
782
  "parameters": [{
783
783
  "name": "replacement",
784
784
  "type": "string",
@@ -1 +1 @@
1
- {"version":3,"file":"six-textarea.js","sourceRoot":"","sources":["../../../src/components/six-textarea/six-textarea.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;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA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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 { EventListeners } from '../../utils/event-listeners';\nimport { EmptyPayload } from '../../utils/types';\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 textarea's label. Alternatively, you can use the label prop.\n * @slot help-text - Help text that describes how to use the input.\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part form-control - The form control that wraps the label, textarea, and help text.\n * @part label - The textarea label.\n * @part textarea - The textarea control.\n * @part help-text - The textarea help text.\n */\n@Component({\n tag: 'six-textarea',\n styleUrl: 'six-textarea.scss',\n shadow: true,\n})\nexport class SixTextarea {\n private inputId = `textarea-${++id}`;\n private labelId = `textarea-label-${id}`;\n private helpTextId = `textarea-help-text-${id}`;\n private errorTextId = `input-error-text-${id}`;\n private nativeTextarea?: HTMLTextAreaElement;\n private eventListeners = new EventListeners();\n private resizeObserver = new ResizeObserver(() => this.setTextareaHeight());\n\n @Element() host!: HTMLSixTextareaElement;\n\n @State() hasFocus = false;\n @State() hasHelpTextSlot = false;\n @State() hasLabelSlot = false;\n @State() hasErrorTextSlot = false;\n\n /** The textarea's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The textarea's name attribute. */\n @Prop({ reflect: true }) name = '';\n\n /** The textarea's value attribute. */\n @Prop({ mutable: true, reflect: true }) value = '';\n\n /** The textarea's help text. Alternatively, you can use the help-text slot. */\n @Prop() helpText = '';\n\n /** The textarea's placeholder text. */\n @Prop() placeholder?: string;\n\n /** The number of rows to display by default. */\n @Prop() rows = 4;\n\n /** Controls how the textarea can be resized. */\n @Prop() resize: 'none' | 'vertical' | 'auto' = 'vertical';\n\n /** Set to true to disable the textarea. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set to true for a readonly textarea. */\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 /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** The label text. */\n @Prop() label = '';\n\n /** The error message shown, if `invalid` is set to true. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n /** The textarea's autocaptialize attribute. */\n @Prop() autocapitalize = 'off';\n\n /** The textarea's autocorrect attribute. */\n @Prop() autocorrect: 'on' | 'off' = 'off';\n\n /** The textarea's autocomplete attribute. */\n @Prop() autocomplete = 'off';\n\n /** The textarea's autofocus attribute. */\n @Prop() autofocus = false;\n\n /** The textarea's spellcheck attribute. */\n @Prop() spellcheck = false;\n\n /** The textarea's inputmode attribute. */\n @Prop() inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n\n /** Emitted when the control's value changes. Access the new value via event.target.value. */\n @Event({ eventName: 'six-textarea-change' }) sixChange!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control receives input. Access the new value via event.target.value. */\n @Event({ eventName: 'six-textarea-input' }) sixInput!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-textarea-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control loses focus. Access the new value via event.target.value. */\n @Event({ eventName: 'six-textarea-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n @Watch('helpText')\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n @Watch('rows')\n handleRowsChange() {\n this.setTextareaHeight();\n }\n\n @Watch('value')\n handleValueChange() {\n this.value = this.getValue();\n if (this.nativeTextarea != null) {\n if (this.nativeTextarea.value !== this.value) {\n this.nativeTextarea.value = this.value;\n }\n }\n }\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-textarea-input', 'input', this.host);\n this.eventListeners.forward('six-textarea-change', 'change', this.host);\n this.eventListeners.forward('six-textarea-focus', 'focus', this.host);\n this.eventListeners.forward('six-textarea-blur', 'blur', this.host);\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n componentDidLoad() {\n this.setTextareaHeight();\n if (this.nativeTextarea != null) {\n this.resizeObserver.observe(this.nativeTextarea);\n }\n }\n\n disconnectedCallback() {\n if (this.nativeTextarea != null) {\n this.resizeObserver.unobserve(this.nativeTextarea);\n }\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n /** Sets focus on the textarea. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.nativeTextarea?.focus(options);\n }\n\n /** Removes focus fromt the textarea. */\n @Method()\n async removeFocus() {\n this.nativeTextarea?.blur();\n }\n\n /** Selects all the text in the input. */\n @Method()\n async select() {\n return this.nativeTextarea?.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.nativeTextarea?.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.nativeTextarea == null) return;\n\n this.nativeTextarea.setRangeText(replacement, start, end, selectMode);\n if (this.getValue() !== this.nativeTextarea.value) {\n this.value = this.nativeTextarea.value;\n this.setTextareaHeight();\n this.sixChange.emit();\n this.sixInput.emit();\n }\n }\n\n private handleChange = () => {\n if (this.nativeTextarea != null) {\n this.value = this.nativeTextarea.value;\n this.sixChange.emit();\n }\n };\n\n private handleInput = () => {\n if (this.nativeTextarea != null) {\n this.value = this.nativeTextarea.value;\n this.setTextareaHeight();\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 handleSlotChange = () => {\n this.hasLabelSlot = hasSlot(this.host, 'label');\n this.hasHelpTextSlot = hasSlot(this.host, 'help-text');\n this.hasErrorTextSlot = hasSlot(this.host, 'error-text');\n };\n\n private setTextareaHeight() {\n if (this.nativeTextarea == null) return;\n\n if (this.resize === 'auto') {\n this.nativeTextarea.style.height = 'auto';\n this.nativeTextarea.style.height = this.nativeTextarea.scrollHeight + 'px';\n } else {\n (this.nativeTextarea.style.height as string | undefined) = undefined;\n }\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.hasErrorTextSlot}\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 textarea: true,\n\n // Sizes\n 'textarea--small': this.size === 'small',\n 'textarea--medium': this.size === 'medium',\n 'textarea--large': this.size === 'large',\n\n // States\n 'textarea--disabled': this.disabled,\n 'textarea--focused': this.hasFocus,\n 'textarea--empty': this.getValue().length === 0,\n 'textarea--invalid': this.invalid,\n\n // Modifiers\n 'textarea--resize-none': this.resize === 'none',\n 'textarea--resize-vertical': this.resize === 'vertical',\n 'textarea--resize-auto': this.resize === 'auto',\n }}\n >\n <textarea\n part=\"textarea\"\n ref={(el) => (this.nativeTextarea = el)}\n id={this.inputId}\n class=\"textarea__control\"\n name={this.name}\n placeholder={this.placeholder}\n disabled={this.disabled}\n readOnly={this.readonly}\n rows={this.rows}\n minLength={this.minlength}\n maxLength={this.maxlength}\n value={this.getValue()}\n autoCapitalize={this.autocapitalize}\n autoCorrect={this.autocorrect}\n autoFocus={this.autofocus}\n spellcheck={this.spellcheck}\n required={this.required}\n inputMode={this.inputmode}\n aria-labelledby={this.labelId}\n onChange={this.handleChange}\n onInput={this.handleInput}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n />\n </div>\n </FormControl>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-textarea.js","sourceRoot":"","sources":["../../../src/components/six-textarea/six-textarea.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;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAG7D,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;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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 { EventListeners } from '../../utils/event-listeners';\nimport { EmptyPayload } from '../../utils/types';\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 textarea's label. Alternatively, you can use the label prop.\n * @slot help-text - Help text that describes how to use the input.\n * @slot error-text - Error text that is shown for validation errors. Alternatively, you can use the error-text prop.\n *\n * @part base - The component's base wrapper.\n * @part form-control - The form control that wraps the label, textarea, and help text.\n * @part label - The textarea label.\n * @part textarea - The textarea control.\n * @part help-text - The textarea help text.\n */\n@Component({\n tag: 'six-textarea',\n styleUrl: 'six-textarea.scss',\n shadow: true,\n})\nexport class SixTextarea {\n private inputId = `textarea-${++id}`;\n private labelId = `textarea-label-${id}`;\n private helpTextId = `textarea-help-text-${id}`;\n private errorTextId = `input-error-text-${id}`;\n private nativeTextarea?: HTMLTextAreaElement;\n private eventListeners = new EventListeners();\n private resizeObserver = new ResizeObserver(() => this.setTextareaHeight());\n\n @Element() host!: HTMLSixTextareaElement;\n\n @State() hasFocus = false;\n @State() hasHelpTextSlot = false;\n @State() hasLabelSlot = false;\n @State() hasErrorTextSlot = false;\n\n /** The textarea's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The textarea's name attribute. */\n @Prop({ reflect: true }) name = '';\n\n /** The textarea's value attribute. */\n @Prop({ mutable: true, reflect: true }) value = '';\n\n /** The textarea's help text. Alternatively, you can use the help-text slot. */\n @Prop() helpText = '';\n\n /** The textarea's placeholder text. */\n @Prop() placeholder?: string;\n\n /** The number of rows to display by default. */\n @Prop() rows = 4;\n\n /** Controls how the textarea can be resized. */\n @Prop() resize: 'none' | 'vertical' | 'auto' = 'vertical';\n\n /** Set to true to disable the textarea. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set to true for a readonly textarea. */\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 /** Set to true to show an asterisk beneath the label. */\n @Prop() required = false;\n\n /** The label text. */\n @Prop() label = '';\n\n /** The error message shown, if `invalid` is set to true. */\n @Prop() errorText: string | string[] = '';\n\n /** The number of error texts to be shown (if the error-text slot isn't used). Defaults to 1 */\n @Prop() errorTextCount?: number;\n\n /** If this property is set to true and an error message is provided by `errorText`, the error message is displayed. */\n @Prop({ reflect: true }) invalid = false;\n\n /** The textarea's autocaptialize attribute. */\n @Prop() autocapitalize = 'off';\n\n /** The textarea's autocorrect attribute. */\n @Prop() autocorrect: 'on' | 'off' = 'off';\n\n /** The textarea's autocomplete attribute. */\n @Prop() autocomplete = 'off';\n\n /** The textarea's autofocus attribute. */\n @Prop() autofocus = false;\n\n /** The textarea's spellcheck attribute. */\n @Prop() spellcheck = false;\n\n /** The textarea's inputmode attribute. */\n @Prop() inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n\n /** Emitted when the control's value changes. Access the new value via event.target.value. */\n @Event({ eventName: 'six-textarea-change' }) sixChange!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control receives input. Access the new value via event.target.value. */\n @Event({ eventName: 'six-textarea-input' }) sixInput!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control gains focus. */\n @Event({ eventName: 'six-textarea-focus' }) sixFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the control loses focus. Access the new value via event.target.value. */\n @Event({ eventName: 'six-textarea-blur' }) sixBlur!: EventEmitter<EmptyPayload>;\n\n @Watch('helpText')\n @Watch('errorText')\n @Watch('label')\n handleLabelChange() {\n this.handleSlotChange();\n }\n\n @Watch('rows')\n handleRowsChange() {\n this.setTextareaHeight();\n }\n\n @Watch('value')\n handleValueChange() {\n this.value = this.getValue();\n if (this.nativeTextarea != null) {\n if (this.nativeTextarea.value !== this.value) {\n this.nativeTextarea.value = this.value;\n }\n }\n }\n\n connectedCallback() {\n this.host.shadowRoot?.addEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.forward('six-textarea-input', 'input', this.host);\n this.eventListeners.forward('six-textarea-change', 'change', this.host);\n this.eventListeners.forward('six-textarea-focus', 'focus', this.host);\n this.eventListeners.forward('six-textarea-blur', 'blur', this.host);\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n componentDidLoad() {\n this.setTextareaHeight();\n if (this.nativeTextarea != null) {\n this.resizeObserver.observe(this.nativeTextarea);\n }\n }\n\n disconnectedCallback() {\n if (this.nativeTextarea != null) {\n this.resizeObserver.unobserve(this.nativeTextarea);\n }\n this.host.shadowRoot?.removeEventListener('slotchange', this.handleSlotChange);\n this.eventListeners.removeAll();\n }\n\n /** Sets focus on the textarea. */\n @Method()\n async setFocus(options?: FocusOptions) {\n this.nativeTextarea?.focus(options);\n }\n\n /** Removes focus fromt the textarea. */\n @Method()\n async removeFocus() {\n this.nativeTextarea?.blur();\n }\n\n /** Selects all the text in the input. */\n @Method()\n async select() {\n return this.nativeTextarea?.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.nativeTextarea?.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.nativeTextarea == null) return;\n\n this.nativeTextarea.setRangeText(replacement, start, end, selectMode);\n if (this.getValue() !== this.nativeTextarea.value) {\n this.value = this.nativeTextarea.value;\n this.setTextareaHeight();\n this.sixChange.emit();\n this.sixInput.emit();\n }\n }\n\n private handleChange = () => {\n if (this.nativeTextarea != null) {\n this.value = this.nativeTextarea.value;\n this.sixChange.emit();\n }\n };\n\n private handleInput = () => {\n if (this.nativeTextarea != null) {\n this.value = this.nativeTextarea.value;\n this.setTextareaHeight();\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 handleSlotChange = () => {\n this.hasLabelSlot = hasSlot(this.host, 'label');\n this.hasHelpTextSlot = hasSlot(this.host, 'help-text');\n this.hasErrorTextSlot = hasSlot(this.host, 'error-text');\n };\n\n private setTextareaHeight() {\n if (this.nativeTextarea == null) return;\n\n if (this.resize === 'auto') {\n this.nativeTextarea.style.height = 'auto';\n this.nativeTextarea.style.height = this.nativeTextarea.scrollHeight + 'px';\n } else {\n (this.nativeTextarea.style.height as string | undefined) = undefined;\n }\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.hasErrorTextSlot}\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 textarea: true,\n\n // Sizes\n 'textarea--small': this.size === 'small',\n 'textarea--medium': this.size === 'medium',\n 'textarea--large': this.size === 'large',\n\n // States\n 'textarea--disabled': this.disabled,\n 'textarea--focused': this.hasFocus,\n 'textarea--empty': this.getValue().length === 0,\n 'textarea--invalid': this.invalid,\n\n // Modifiers\n 'textarea--resize-none': this.resize === 'none',\n 'textarea--resize-vertical': this.resize === 'vertical',\n 'textarea--resize-auto': this.resize === 'auto',\n }}\n >\n <textarea\n part=\"textarea\"\n ref={(el) => (this.nativeTextarea = el)}\n id={this.inputId}\n class=\"textarea__control\"\n name={this.name}\n placeholder={this.placeholder}\n disabled={this.disabled}\n readOnly={this.readonly}\n rows={this.rows}\n minLength={this.minlength}\n maxLength={this.maxlength}\n value={this.getValue()}\n autoCapitalize={this.autocapitalize}\n autoCorrect={this.autocorrect}\n autoFocus={this.autofocus}\n spellcheck={this.spellcheck}\n required={this.required}\n inputMode={this.inputmode}\n aria-labelledby={this.labelId}\n onChange={this.handleChange}\n onInput={this.handleInput}\n onFocus={this.handleFocus}\n onBlur={this.handleBlur}\n />\n </div>\n </FormControl>\n );\n }\n}\n"]}
@@ -48,22 +48,22 @@ export class SixTile {
48
48
  this.handleSlotChange();
49
49
  }
50
50
  render() {
51
- return (h("six-tooltip", { disabled: this.disableTooltip || this.label === '', content: this.label }, h("div", { part: "base", class: {
51
+ return (h("six-tooltip", { key: '79d848913c540512b81fe66755c9da076fb9b226', disabled: this.disableTooltip || this.label === '', content: this.label }, h("div", { key: 'f548dacf54c2c72979b1e709e785d432e462d0f3', part: "base", class: {
52
52
  tile: true,
53
53
  'tile--visible': this.visible,
54
54
  'tile--small': this.size === 'small',
55
55
  'tile--medium': this.size === 'medium',
56
56
  'tile--large': this.size === 'large',
57
57
  'tile--elevated': this.elevated,
58
- } }, h("div", { part: "header", class: "tile__header" }, h("six-icon-button", { class: {
58
+ } }, h("div", { key: 'b568c12be9fa62e9465e52294aa51c03fade0ae2', part: "header", class: "tile__header" }, h("six-icon-button", { key: '5fd04515c4941997d9a6b919bbd1c95a8ed66438', class: {
59
59
  'tile__header--hidden': !this.closeable,
60
- }, name: "close", size: closeIconSize(this.size), onClick: this.handleCloseClickEvent })), h("div", { part: "body", class: "tile__body" }, this.iconName && (h("six-icon", { onClick: this.handleClickEvent, size: iconSize(this.size) }, this.iconName)), this.hasIconSlot && h("slot", { name: "icon" })), h("div", { part: "footer", class: {
60
+ }, name: "close", size: closeIconSize(this.size), onClick: this.handleCloseClickEvent })), h("div", { key: 'f3ec21cbf34d4af5bec6ba5a198e6de0a05778cb', part: "body", class: "tile__body" }, this.iconName && (h("six-icon", { key: '7e73683d85265a75fbe8e3de6a8d6a02b5463430', onClick: this.handleClickEvent, size: iconSize(this.size) }, this.iconName)), this.hasIconSlot && h("slot", { key: '93526f1c218f38e8e1d03ba9dfb5743f8d025f25', name: "icon" })), h("div", { key: 'b27888fa0273cfc31972473a96c5f96ca8d1ab6b', part: "footer", class: {
61
61
  'tile__footer--small': this.size === 'small',
62
62
  'tile__footer--medium': this.size === 'medium',
63
63
  'tile__footer--large': this.size === 'large',
64
- } }, this.label && (h("div", { class: {
64
+ } }, this.label && (h("div", { key: '2104c0ed3f5dafcdba7e68884a3c077889f8d939', class: {
65
65
  '.label__footer': true,
66
- }, onClick: this.handleClickEvent }, this.label)), this.hasLabelSlot && h("slot", { name: "label" })))));
66
+ }, onClick: this.handleClickEvent }, this.label)), this.hasLabelSlot && h("slot", { key: '79df8d3d558862bf4e8e7cf361a72b7c583663d9', name: "label" })))));
67
67
  }
68
68
  static get is() { return "six-tile"; }
69
69
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-tile.js","sourceRoot":"","sources":["../../../src/components/six-tile/six-tile.tsx"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il/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { getSlot, hasSlot } from '../../utils/slot';\n\n/**\n * @since 1.0\n * @status stable\n */\n\n@Component({\n tag: 'six-tile',\n styleUrl: 'six-tile.scss',\n shadow: true,\n})\nexport class SixTile {\n @Element() host!: HTMLSixTileElement;\n\n /** The tile's label. */\n @Prop() label = '';\n\n /** The icon's name. */\n @Prop() iconName?: string;\n\n /** Flag, whether the tile is closeable. */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop() closeable = true;\n\n /** Flag, whether the tile should cast a shadow. */\n @Prop() elevated = false;\n\n /** Enables tile tooltip for tiles */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop() disableTooltip = true;\n\n /** Set to true to disable the tile. */\n @Prop({ reflect: true }) disabled = false;\n\n /** The tile's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n @State() visible = true;\n\n /** Emitted when the tile was closed. */\n @Event({ eventName: 'six-tile-closed' }) sixTileClose!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the tile is selected. */\n @Event({ eventName: 'six-tile-selected' }) sixTileSelected!: EventEmitter<EmptyPayload>;\n\n /** Hides the tile */\n @Method()\n async hide() {\n this.visible = false;\n }\n\n /** Shows the tile */\n @Method()\n async show() {\n this.visible = true;\n }\n\n @State() hasIconSlot = false;\n\n @State() hasLabelSlot = false;\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n private handleSlotChange = () => {\n this.hasIconSlot = hasSlot(this.host, 'icon');\n this.hasLabelSlot = hasSlot(this.host, 'label');\n\n if (this.hasIconSlot) {\n const slot = getSlot(this.host, 'icon');\n slot?.addEventListener('click', this.handleClickEvent);\n }\n\n if (this.hasLabelSlot) {\n const slot = getSlot(this.host, 'label');\n slot?.addEventListener('click', this.handleClickEvent);\n }\n };\n\n render() {\n return (\n <six-tooltip disabled={this.disableTooltip || this.label === ''} content={this.label}>\n <div\n part=\"base\"\n class={{\n tile: true,\n 'tile--visible': this.visible,\n 'tile--small': this.size === 'small',\n 'tile--medium': this.size === 'medium',\n 'tile--large': this.size === 'large',\n 'tile--elevated': this.elevated,\n }}\n >\n <div part=\"header\" class=\"tile__header\">\n <six-icon-button\n class={{\n 'tile__header--hidden': !this.closeable,\n }}\n name=\"close\"\n size={closeIconSize(this.size)}\n onClick={this.handleCloseClickEvent}\n />\n </div>\n\n <div part=\"body\" class=\"tile__body\">\n {this.iconName && (\n <six-icon onClick={this.handleClickEvent} size={iconSize(this.size)}>\n {this.iconName}\n </six-icon>\n )}\n {this.hasIconSlot && <slot name=\"icon\"></slot>}\n </div>\n\n <div\n part=\"footer\"\n class={{\n 'tile__footer--small': this.size === 'small',\n 'tile__footer--medium': this.size === 'medium',\n 'tile__footer--large': this.size === 'large',\n }}\n >\n {this.label && (\n <div\n class={{\n '.label__footer': true,\n }}\n onClick={this.handleClickEvent}\n >\n {this.label}\n </div>\n )}\n {this.hasLabelSlot && <slot name=\"label\"></slot>}\n </div>\n </div>\n </six-tooltip>\n );\n }\n\n private handleCloseClickEvent = () => {\n this.visible = false;\n this.sixTileClose.emit();\n };\n\n private handleClickEvent = () => {\n this.sixTileSelected.emit();\n };\n}\n\nconst closeIconSize = (size: string) => {\n return {\n small: 'xxSmall',\n medium: 'medium',\n large: 'medium',\n }[size] as 'xSmall' | 'medium';\n};\n\nconst iconSize = (size: string) => {\n return {\n small: 'xLarge',\n medium: 'xxLarge',\n large: 'xxxLarge',\n }[size] as 'xLarge' | 'xxLarge' | 'xxxLarge';\n};\n"]}
1
+ {"version":3,"file":"six-tile.js","sourceRoot":"","sources":["../../../src/components/six-tile/six-tile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEhG,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEpD;;;GAGG;AAOH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AE,IAAI,CAAC,IAAI,KAAK,QAAQ;wBAC9C,qBAAqB,EAAE,IAAI,CAAC,IAAI,KAAK,OAAO;qBAC7C;oBAEA,IAAI,CAAC,KAAK,IAAI,CACb,4DACE,KAAK,EAAE;4BACL,gBAAgB,EAAE,IAAI;yBACvB,EACD,OAAO,EAAE,IAAI,CAAC,gBAAgB,IAE7B,IAAI,CAAC,KAAK,CACP,CACP;oBACA,IAAI,CAAC,YAAY,IAAI,6DAAM,IAAI,EAAC,OAAO,GAAQ,CAC5C,CACF,CACM,CACf,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUF;AAED,MAAM,aAAa,GAAG,CAAC,IAAY,EAAE,EAAE;IACrC,OAAO;QACL,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,QAAQ;QAChB,KAAK,EAAE,QAAQ;KAChB,CAAC,IAAI,CAAwB,CAAC;AACjC,CAAC,CAAC;AAEF,MAAM,QAAQ,GAAG,CAAC,IAAY,EAAE,EAAE;IAChC,OAAO;QACL,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,SAAS;QACjB,KAAK,EAAE,UAAU;KAClB,CAAC,IAAI,CAAsC,CAAC;AAC/C,CAAC,CAAC","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State } from '@stencil/core';\nimport { EmptyPayload } from '../../utils/types';\nimport { getSlot, hasSlot } from '../../utils/slot';\n\n/**\n * @since 1.0\n * @status stable\n */\n\n@Component({\n tag: 'six-tile',\n styleUrl: 'six-tile.scss',\n shadow: true,\n})\nexport class SixTile {\n @Element() host!: HTMLSixTileElement;\n\n /** The tile's label. */\n @Prop() label = '';\n\n /** The icon's name. */\n @Prop() iconName?: string;\n\n /** Flag, whether the tile is closeable. */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop() closeable = true;\n\n /** Flag, whether the tile should cast a shadow. */\n @Prop() elevated = false;\n\n /** Enables tile tooltip for tiles */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop() disableTooltip = true;\n\n /** Set to true to disable the tile. */\n @Prop({ reflect: true }) disabled = false;\n\n /** The tile's size. */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n @State() visible = true;\n\n /** Emitted when the tile was closed. */\n @Event({ eventName: 'six-tile-closed' }) sixTileClose!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the tile is selected. */\n @Event({ eventName: 'six-tile-selected' }) sixTileSelected!: EventEmitter<EmptyPayload>;\n\n /** Hides the tile */\n @Method()\n async hide() {\n this.visible = false;\n }\n\n /** Shows the tile */\n @Method()\n async show() {\n this.visible = true;\n }\n\n @State() hasIconSlot = false;\n\n @State() hasLabelSlot = false;\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n private handleSlotChange = () => {\n this.hasIconSlot = hasSlot(this.host, 'icon');\n this.hasLabelSlot = hasSlot(this.host, 'label');\n\n if (this.hasIconSlot) {\n const slot = getSlot(this.host, 'icon');\n slot?.addEventListener('click', this.handleClickEvent);\n }\n\n if (this.hasLabelSlot) {\n const slot = getSlot(this.host, 'label');\n slot?.addEventListener('click', this.handleClickEvent);\n }\n };\n\n render() {\n return (\n <six-tooltip disabled={this.disableTooltip || this.label === ''} content={this.label}>\n <div\n part=\"base\"\n class={{\n tile: true,\n 'tile--visible': this.visible,\n 'tile--small': this.size === 'small',\n 'tile--medium': this.size === 'medium',\n 'tile--large': this.size === 'large',\n 'tile--elevated': this.elevated,\n }}\n >\n <div part=\"header\" class=\"tile__header\">\n <six-icon-button\n class={{\n 'tile__header--hidden': !this.closeable,\n }}\n name=\"close\"\n size={closeIconSize(this.size)}\n onClick={this.handleCloseClickEvent}\n />\n </div>\n\n <div part=\"body\" class=\"tile__body\">\n {this.iconName && (\n <six-icon onClick={this.handleClickEvent} size={iconSize(this.size)}>\n {this.iconName}\n </six-icon>\n )}\n {this.hasIconSlot && <slot name=\"icon\"></slot>}\n </div>\n\n <div\n part=\"footer\"\n class={{\n 'tile__footer--small': this.size === 'small',\n 'tile__footer--medium': this.size === 'medium',\n 'tile__footer--large': this.size === 'large',\n }}\n >\n {this.label && (\n <div\n class={{\n '.label__footer': true,\n }}\n onClick={this.handleClickEvent}\n >\n {this.label}\n </div>\n )}\n {this.hasLabelSlot && <slot name=\"label\"></slot>}\n </div>\n </div>\n </six-tooltip>\n );\n }\n\n private handleCloseClickEvent = () => {\n this.visible = false;\n this.sixTileClose.emit();\n };\n\n private handleClickEvent = () => {\n this.sixTileSelected.emit();\n };\n}\n\nconst closeIconSize = (size: string) => {\n return {\n small: 'xxSmall',\n medium: 'medium',\n large: 'medium',\n }[size] as 'xSmall' | 'medium';\n};\n\nconst iconSize = (size: string) => {\n return {\n small: 'xLarge',\n medium: 'xxLarge',\n large: 'xxxLarge',\n }[size] as 'xLarge' | 'xxLarge' | 'xxxLarge';\n};\n"]}
@@ -285,10 +285,10 @@ export class SixTimepicker {
285
285
  } }, icon));
286
286
  }
287
287
  render() {
288
- return (h("div", { part: "container", ref: (el) => (this.wrapper = el), class: "timepicker__container" }, h("six-input", { ref: (el) => (this.inputElement = el), part: "input", onClick: () => this.openPopup(), value: this.value, placeholder: this.placeholder, readonly: this.readonly, disabled: this.disabled, errorTextCount: this.errorTextCount, errorText: this.errorText, invalid: this.invalid, size: this.size, name: this.name, label: this.label, required: this.required, class: {
288
+ return (h("div", { key: '58240c7c32227225d1811fa59e9cf336aad03a4d', part: "container", ref: (el) => (this.wrapper = el), class: "timepicker__container" }, h("six-input", { key: '1b6e9b28d997b67a933d055fa3e73e3c0751aa53', ref: (el) => (this.inputElement = el), part: "input", onClick: () => this.openPopup(), value: this.value, placeholder: this.placeholder, readonly: this.readonly, disabled: this.disabled, errorTextCount: this.errorTextCount, errorText: this.errorText, invalid: this.invalid, size: this.size, name: this.name, label: this.label, required: this.required, class: {
289
289
  'input--empty': this.value === '',
290
290
  'input--hide': this.inline,
291
- } }, this.renderCustomIcon(), this.renderClearable(), hasSlot(this.host, 'label') ? (h("span", { slot: "label" }, h("slot", { name: "label" }))) : null, hasSlot(this.host, 'error-text') ? (h("span", { slot: "error-text" }, h("slot", { name: "error-text" }))) : null), this.open && (h("div", { ref: (el) => (this.popup = el), part: "popup", class: {
291
+ } }, this.renderCustomIcon(), this.renderClearable(), hasSlot(this.host, 'label') ? (h("span", { slot: "label" }, h("slot", { name: "label" }))) : null, hasSlot(this.host, 'error-text') ? (h("span", { slot: "error-text" }, h("slot", { name: "error-text" }))) : null), this.open && (h("div", { key: 'b762116d0af1bc11d7f2cbb255b071e8fe3b52cf', ref: (el) => (this.popup = el), part: "popup", class: {
292
292
  timepicker__popup: true,
293
293
  'timepicker__popup--is-up': this.placement == null ? this.placement === 'top' : this.isPopupContentUp,
294
294
  'timepicker__popup--is-inline': this.inline,