@six-group/ui-library 0.0.0-insider.bb295d8 → 0.0.0-insider.bea5ab5

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 (2155) 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-b39f1df5.js +36 -0
  4. package/dist/cjs/form-control-b39f1df5.js.map +1 -0
  5. package/dist/cjs/index-417a06c8.js +1952 -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-bd7fc5bc.js +35 -0
  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 +7 -6
  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 +28 -26
  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-dropdown-item.cjs.entry.js +47 -0
  48. package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -0
  49. package/dist/cjs/six-header-item.cjs.entry.js +23 -0
  50. package/dist/cjs/six-header-item.cjs.entry.js.map +1 -0
  51. package/dist/cjs/six-header-menu-button.cjs.entry.js +27 -0
  52. package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -0
  53. package/dist/cjs/six-header.cjs.entry.js +11 -162
  54. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  55. package/dist/cjs/six-icon-button.cjs.entry.js +13 -6
  56. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  57. package/dist/cjs/six-icon.cjs.entry.js +5 -4
  58. package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
  59. package/dist/cjs/six-input.cjs.entry.js +17 -7
  60. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  61. package/dist/cjs/six-item-picker.cjs.entry.js +6 -5
  62. package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
  63. package/dist/cjs/six-language-switcher.cjs.entry.js +11 -6
  64. package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
  65. package/dist/cjs/six-layout-grid.cjs.entry.js +4 -3
  66. package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
  67. package/dist/cjs/six-logo.cjs.entry.js +29 -0
  68. package/dist/cjs/six-logo.cjs.entry.js.map +1 -0
  69. package/dist/cjs/six-main-container.cjs.entry.js +4 -3
  70. package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
  71. package/dist/cjs/six-menu-divider.cjs.entry.js +4 -3
  72. package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
  73. package/dist/cjs/six-menu-label.cjs.entry.js +4 -3
  74. package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
  75. package/dist/cjs/six-picto.cjs.entry.js +25 -8
  76. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  77. package/dist/cjs/six-progress-bar.cjs.entry.js +6 -5
  78. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  79. package/dist/cjs/six-progress-ring.cjs.entry.js +4 -3
  80. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  81. package/dist/cjs/six-radio.cjs.entry.js +5 -4
  82. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  83. package/dist/cjs/six-range.cjs.entry.js +17 -6
  84. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  85. package/dist/cjs/six-root.cjs.entry.js +4 -22
  86. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  87. package/dist/cjs/six-search-field.cjs.entry.js +4 -3
  88. package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
  89. package/dist/cjs/six-select.cjs.entry.js +93 -51
  90. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  91. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +5 -4
  92. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  93. package/dist/cjs/six-sidebar-item.cjs.entry.js +6 -5
  94. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  95. package/dist/cjs/six-sidebar.cjs.entry.js +5 -4
  96. package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
  97. package/dist/cjs/six-spinner.cjs.entry.js +41 -7
  98. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  99. package/dist/cjs/six-stage-indicator.cjs.entry.js +23 -0
  100. package/dist/cjs/six-stage-indicator.cjs.entry.js.map +1 -0
  101. package/dist/cjs/six-switch.cjs.entry.js +6 -5
  102. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  103. package/dist/cjs/six-tab-group.cjs.entry.js +34 -8
  104. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  105. package/dist/cjs/six-tab-panel.cjs.entry.js +4 -3
  106. package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
  107. package/dist/cjs/six-tab.cjs.entry.js +5 -4
  108. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  109. package/dist/cjs/six-tag.cjs.entry.js +5 -4
  110. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  111. package/dist/cjs/six-textarea.cjs.entry.js +7 -6
  112. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  113. package/dist/cjs/six-tile.cjs.entry.js +8 -7
  114. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  115. package/dist/cjs/six-timepicker.cjs.entry.js +5 -4
  116. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  117. package/dist/cjs/six-tooltip.cjs.entry.js +5 -4
  118. package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
  119. package/dist/cjs/ui-library.cjs.js +13 -11
  120. package/dist/cjs/ui-library.cjs.js.map +1 -1
  121. package/dist/collection/assets/TRADEMARKS.md +3 -3
  122. package/dist/collection/assets/pictograms/TPP.svg +1 -0
  123. package/dist/collection/assets/pictograms/agile.svg +1 -0
  124. package/dist/collection/assets/pictograms/ai.svg +1 -0
  125. package/dist/collection/assets/pictograms/airplane.svg +1 -0
  126. package/dist/collection/assets/pictograms/alert.svg +1 -0
  127. package/dist/collection/assets/pictograms/ambulance.svg +1 -0
  128. package/dist/collection/assets/pictograms/analyse.svg +1 -0
  129. package/dist/collection/assets/pictograms/anchor.svg +1 -0
  130. package/dist/collection/assets/pictograms/apple.svg +1 -0
  131. package/dist/collection/assets/pictograms/arrow-down.svg +1 -0
  132. package/dist/collection/assets/pictograms/arrow-right.svg +1 -0
  133. package/dist/collection/assets/pictograms/arrow-up.svg +1 -0
  134. package/dist/collection/assets/pictograms/astronaut-outline.svg +1 -0
  135. package/dist/collection/assets/pictograms/augmented-reality.svg +1 -0
  136. package/dist/collection/assets/pictograms/backoffice.svg +1 -0
  137. package/dist/collection/assets/pictograms/bank.svg +1 -0
  138. package/dist/collection/assets/pictograms/banknote.svg +1 -0
  139. package/dist/collection/assets/pictograms/barcode.svg +1 -0
  140. package/dist/collection/assets/pictograms/battery.svg +1 -0
  141. package/dist/collection/assets/pictograms/beacon.svg +1 -0
  142. package/dist/collection/assets/pictograms/beat.svg +1 -0
  143. package/dist/collection/assets/pictograms/bee.svg +1 -0
  144. package/dist/collection/assets/pictograms/bell.svg +1 -0
  145. package/dist/collection/assets/pictograms/berlin.svg +1 -0
  146. package/dist/collection/assets/pictograms/big-data.svg +1 -0
  147. package/dist/collection/assets/pictograms/bilateral.svg +1 -0
  148. package/dist/collection/assets/pictograms/bill.svg +1 -0
  149. package/dist/collection/assets/pictograms/binoculars.svg +1 -0
  150. package/dist/collection/assets/pictograms/block.svg +1 -0
  151. package/dist/collection/assets/pictograms/blockchain.svg +1 -0
  152. package/dist/collection/assets/pictograms/bluetooth.svg +1 -0
  153. package/dist/collection/assets/pictograms/bone.svg +1 -0
  154. package/dist/collection/assets/pictograms/book.svg +1 -0
  155. package/dist/collection/assets/pictograms/bottle.svg +1 -0
  156. package/dist/collection/assets/pictograms/buggy.svg +1 -0
  157. package/dist/collection/assets/pictograms/bull-bear.svg +1 -0
  158. package/dist/collection/assets/pictograms/business.svg +1 -0
  159. package/dist/collection/assets/pictograms/cake.svg +1 -0
  160. package/dist/collection/assets/pictograms/calculator.svg +1 -0
  161. package/dist/collection/assets/pictograms/calendar.svg +1 -0
  162. package/dist/collection/assets/pictograms/cam.svg +1 -0
  163. package/dist/collection/assets/pictograms/cap.svg +1 -0
  164. package/dist/collection/assets/pictograms/capsule.svg +1 -0
  165. package/dist/collection/assets/pictograms/car.svg +1 -0
  166. package/dist/collection/assets/pictograms/carabiner.svg +1 -0
  167. package/dist/collection/assets/pictograms/card.svg +1 -0
  168. package/dist/collection/assets/pictograms/cash-machine.svg +1 -0
  169. package/dist/collection/assets/pictograms/cash-register.svg +1 -0
  170. package/dist/collection/assets/pictograms/cash.svg +1 -0
  171. package/dist/collection/assets/pictograms/cashless.svg +1 -0
  172. package/dist/collection/assets/pictograms/check.svg +1 -0
  173. package/dist/collection/assets/pictograms/cheveron-right.svg +1 -0
  174. package/dist/collection/assets/pictograms/chf-eur.svg +1 -0
  175. package/dist/collection/assets/pictograms/cleaning.svg +1 -0
  176. package/dist/collection/assets/pictograms/click-collect.svg +1 -0
  177. package/dist/collection/assets/pictograms/click-return.svg +1 -0
  178. package/dist/collection/assets/pictograms/client-receipt.svg +1 -0
  179. package/dist/collection/assets/pictograms/clientesyusuarios.svg +1 -0
  180. package/dist/collection/assets/pictograms/clock.svg +1 -0
  181. package/dist/collection/assets/pictograms/cloud.svg +1 -0
  182. package/dist/collection/assets/pictograms/coffee.svg +1 -0
  183. package/dist/collection/assets/pictograms/coins.svg +1 -0
  184. package/dist/collection/assets/pictograms/configuracion-de-servicio.svg +1 -0
  185. package/dist/collection/assets/pictograms/connectivity.svg +1 -0
  186. package/dist/collection/assets/pictograms/contactless.svg +1 -0
  187. package/dist/collection/assets/pictograms/copy.svg +1 -0
  188. package/dist/collection/assets/pictograms/cornet.svg +1 -0
  189. package/dist/collection/assets/pictograms/cost-reduction.svg +1 -0
  190. package/dist/collection/assets/pictograms/coupon.svg +1 -0
  191. package/dist/collection/assets/pictograms/croissant.svg +1 -0
  192. package/dist/collection/assets/pictograms/crowdfunding.svg +1 -0
  193. package/dist/collection/assets/pictograms/crown.svg +1 -0
  194. package/dist/collection/assets/pictograms/cryptocurrency.svg +1 -0
  195. package/dist/collection/assets/pictograms/crystal-ball.svg +1 -0
  196. package/dist/collection/assets/pictograms/cup.svg +1 -0
  197. package/dist/collection/assets/pictograms/cupcake.svg +1 -0
  198. package/dist/collection/assets/pictograms/currency.svg +1 -0
  199. package/dist/collection/assets/pictograms/cyber-security.svg +1 -0
  200. package/dist/collection/assets/pictograms/data-mapping.svg +1 -0
  201. package/dist/collection/assets/pictograms/desktop.svg +1 -0
  202. package/dist/collection/assets/pictograms/diamond.svg +1 -0
  203. package/dist/collection/assets/pictograms/disc.svg +1 -0
  204. package/dist/collection/assets/pictograms/diversify.svg +1 -0
  205. package/dist/collection/assets/pictograms/dna.svg +1 -0
  206. package/dist/collection/assets/pictograms/dog.svg +1 -0
  207. package/dist/collection/assets/pictograms/download.svg +1 -0
  208. package/dist/collection/assets/pictograms/drop-zone.svg +1 -0
  209. package/dist/collection/assets/pictograms/drop.svg +1 -0
  210. package/dist/collection/assets/pictograms/dumbbell.svg +1 -0
  211. package/dist/collection/assets/pictograms/dws.svg +1 -0
  212. package/dist/collection/assets/pictograms/ear.svg +1 -0
  213. package/dist/collection/assets/pictograms/ecommerce.svg +1 -0
  214. package/dist/collection/assets/pictograms/ethernet.svg +1 -0
  215. package/dist/collection/assets/pictograms/eur-dollar.svg +1 -0
  216. package/dist/collection/assets/pictograms/exchange.svg +1 -0
  217. package/dist/collection/assets/pictograms/exclamation.svg +1 -0
  218. package/dist/collection/assets/pictograms/external-link.svg +1 -0
  219. package/dist/collection/assets/pictograms/extinguisher.svg +1 -0
  220. package/dist/collection/assets/pictograms/factory.svg +1 -0
  221. package/dist/collection/assets/pictograms/fax.svg +1 -0
  222. package/dist/collection/assets/pictograms/fence.svg +1 -0
  223. package/dist/collection/assets/pictograms/file-text.svg +1 -0
  224. package/dist/collection/assets/pictograms/file.svg +1 -0
  225. package/dist/collection/assets/pictograms/find-in-page.svg +1 -0
  226. package/dist/collection/assets/pictograms/fingerprint.svg +1 -0
  227. package/dist/collection/assets/pictograms/flag.svg +1 -0
  228. package/dist/collection/assets/pictograms/flash.svg +1 -0
  229. package/dist/collection/assets/pictograms/flexibility.svg +1 -0
  230. package/dist/collection/assets/pictograms/flipchart.svg +1 -0
  231. package/dist/collection/assets/pictograms/flower.svg +1 -0
  232. package/dist/collection/assets/pictograms/focus.svg +1 -0
  233. package/dist/collection/assets/pictograms/foreign-exchange.svg +1 -0
  234. package/dist/collection/assets/pictograms/fraud-free.svg +1 -0
  235. package/dist/collection/assets/pictograms/funnel.svg +1 -0
  236. package/dist/collection/assets/pictograms/gamepad.svg +1 -0
  237. package/dist/collection/assets/pictograms/gears.svg +1 -0
  238. package/dist/collection/assets/pictograms/generic.svg +1 -0
  239. package/dist/collection/assets/pictograms/genie.svg +1 -0
  240. package/dist/collection/assets/pictograms/gestion-de-fallidos.svg +1 -0
  241. package/dist/collection/assets/pictograms/gestion-de-instrucciones.svg +1 -0
  242. package/dist/collection/assets/pictograms/gestion-de-pago.svg +1 -0
  243. package/dist/collection/assets/pictograms/gift.svg +1 -0
  244. package/dist/collection/assets/pictograms/giftcard.svg +1 -0
  245. package/dist/collection/assets/pictograms/glass.svg +1 -0
  246. package/dist/collection/assets/pictograms/glasses.svg +1 -0
  247. package/dist/collection/assets/pictograms/global.svg +1 -0
  248. package/dist/collection/assets/pictograms/gprs-lan.svg +1 -0
  249. package/dist/collection/assets/pictograms/gprs.svg +1 -0
  250. package/dist/collection/assets/pictograms/guide.svg +1 -0
  251. package/dist/collection/assets/pictograms/hacker-security.svg +1 -0
  252. package/dist/collection/assets/pictograms/hand.svg +1 -0
  253. package/dist/collection/assets/pictograms/handshake.svg +1 -0
  254. package/dist/collection/assets/pictograms/happy.svg +1 -0
  255. package/dist/collection/assets/pictograms/hashtag.svg +1 -0
  256. package/dist/collection/assets/pictograms/headphones.svg +1 -0
  257. package/dist/collection/assets/pictograms/heart.svg +1 -0
  258. package/dist/collection/assets/pictograms/home.svg +1 -0
  259. package/dist/collection/assets/pictograms/identity-management.svg +1 -0
  260. package/dist/collection/assets/pictograms/info.svg +1 -0
  261. package/dist/collection/assets/pictograms/international-connectivity.svg +1 -0
  262. package/dist/collection/assets/pictograms/iot.svg +1 -0
  263. package/dist/collection/assets/pictograms/key.svg +1 -0
  264. package/dist/collection/assets/pictograms/lab.svg +1 -0
  265. package/dist/collection/assets/pictograms/labyrinth.svg +1 -0
  266. package/dist/collection/assets/pictograms/laptop-outline.svg +1 -0
  267. package/dist/collection/assets/pictograms/leaf.svg +1 -0
  268. package/dist/collection/assets/pictograms/lightbulb.svg +1 -0
  269. package/dist/collection/assets/pictograms/lighthouse.svg +1 -0
  270. package/dist/collection/assets/pictograms/like.svg +1 -0
  271. package/dist/collection/assets/pictograms/lines.svg +1 -0
  272. package/dist/collection/assets/pictograms/liquid.svg +1 -0
  273. package/dist/collection/assets/pictograms/lock.svg +1 -0
  274. package/dist/collection/assets/pictograms/london.svg +1 -0
  275. package/dist/collection/assets/pictograms/lounge.svg +1 -0
  276. package/dist/collection/assets/pictograms/lunch-learn.svg +1 -0
  277. package/dist/collection/assets/pictograms/machine-learning.svg +1 -0
  278. package/dist/collection/assets/pictograms/mail-copy.svg +1 -0
  279. package/dist/collection/assets/pictograms/mail.svg +1 -0
  280. package/dist/collection/assets/pictograms/map-marker.svg +1 -0
  281. package/dist/collection/assets/pictograms/map.svg +1 -0
  282. package/dist/collection/assets/pictograms/markets.svg +1 -0
  283. package/dist/collection/assets/pictograms/megaphone.svg +1 -0
  284. package/dist/collection/assets/pictograms/menu.svg +1 -0
  285. package/dist/collection/assets/pictograms/micro-payments.svg +1 -0
  286. package/dist/collection/assets/pictograms/microphone.svg +1 -0
  287. package/dist/collection/assets/pictograms/minus.svg +1 -0
  288. package/dist/collection/assets/pictograms/mobile-payment.svg +1 -0
  289. package/dist/collection/assets/pictograms/mobile-terminal.svg +1 -0
  290. package/dist/collection/assets/pictograms/monitoring.svg +1 -0
  291. package/dist/collection/assets/pictograms/more.svg +1 -0
  292. package/dist/collection/assets/pictograms/mountain.svg +1 -0
  293. package/dist/collection/assets/pictograms/movie-camera.svg +1 -0
  294. package/dist/collection/assets/pictograms/navigation.svg +1 -0
  295. package/dist/collection/assets/pictograms/no-smoking.svg +1 -0
  296. package/dist/collection/assets/pictograms/office.svg +1 -0
  297. package/dist/collection/assets/pictograms/outsorcing.svg +1 -0
  298. package/dist/collection/assets/pictograms/package.svg +1 -0
  299. package/dist/collection/assets/pictograms/paddle.svg +1 -0
  300. package/dist/collection/assets/pictograms/paninoteca.svg +1 -0
  301. package/dist/collection/assets/pictograms/paragraph.svg +1 -0
  302. package/dist/collection/assets/pictograms/paris.svg +1 -0
  303. package/dist/collection/assets/pictograms/parking.svg +1 -0
  304. package/dist/collection/assets/pictograms/pause.svg +1 -0
  305. package/dist/collection/assets/pictograms/pay-points.svg +1 -0
  306. package/dist/collection/assets/pictograms/pencil.svg +1 -0
  307. package/dist/collection/assets/pictograms/person-business.svg +1 -0
  308. package/dist/collection/assets/pictograms/person-callcenter.svg +1 -0
  309. package/dist/collection/assets/pictograms/person-client.svg +1 -0
  310. package/dist/collection/assets/pictograms/person-group.svg +1 -0
  311. package/dist/collection/assets/pictograms/person.svg +1 -0
  312. package/dist/collection/assets/pictograms/pet.svg +1 -0
  313. package/dist/collection/assets/pictograms/piechart.svg +1 -0
  314. package/dist/collection/assets/pictograms/pig.svg +1 -0
  315. package/dist/collection/assets/pictograms/piggy-bank.svg +1 -0
  316. package/dist/collection/assets/pictograms/planet.svg +1 -0
  317. package/dist/collection/assets/pictograms/play.svg +1 -0
  318. package/dist/collection/assets/pictograms/plus.svg +1 -0
  319. package/dist/collection/assets/pictograms/popsicle.svg +1 -0
  320. package/dist/collection/assets/pictograms/printer.svg +1 -0
  321. package/dist/collection/assets/pictograms/privacy.svg +1 -0
  322. package/dist/collection/assets/pictograms/process.svg +1 -0
  323. package/dist/collection/assets/pictograms/projector.svg +1 -0
  324. package/dist/collection/assets/pictograms/psp.svg +1 -0
  325. package/dist/collection/assets/pictograms/punch-card.svg +1 -0
  326. package/dist/collection/assets/pictograms/puzzle.svg +1 -0
  327. package/dist/collection/assets/pictograms/qr-scanner.svg +1 -0
  328. package/dist/collection/assets/pictograms/qr.svg +1 -0
  329. package/dist/collection/assets/pictograms/question.svg +1 -0
  330. package/dist/collection/assets/pictograms/rabbit.svg +1 -0
  331. package/dist/collection/assets/pictograms/rain.svg +1 -0
  332. package/dist/collection/assets/pictograms/realtime.svg +1 -0
  333. package/dist/collection/assets/pictograms/recurring-payments.svg +1 -0
  334. package/dist/collection/assets/pictograms/relaxing.svg +1 -0
  335. package/dist/collection/assets/pictograms/reporting.svg +1 -0
  336. package/dist/collection/assets/pictograms/responsive-design.svg +1 -0
  337. package/dist/collection/assets/pictograms/robo-advisor.svg +1 -0
  338. package/dist/collection/assets/pictograms/robotics.svg +1 -0
  339. package/dist/collection/assets/pictograms/rock.svg +1 -0
  340. package/dist/collection/assets/pictograms/rocket.svg +1 -0
  341. package/dist/collection/assets/pictograms/rss.svg +1 -0
  342. package/dist/collection/assets/pictograms/sad.svg +1 -0
  343. package/dist/collection/assets/pictograms/sailboat.svg +1 -0
  344. package/dist/collection/assets/pictograms/scales.svg +1 -0
  345. package/dist/collection/assets/pictograms/screen.svg +1 -0
  346. package/dist/collection/assets/pictograms/seal.svg +1 -0
  347. package/dist/collection/assets/pictograms/search.svg +1 -0
  348. package/dist/collection/assets/pictograms/sentiment-dissatisfied.svg +1 -0
  349. package/dist/collection/assets/pictograms/server.svg +1 -0
  350. package/dist/collection/assets/pictograms/service-center.svg +1 -0
  351. package/dist/collection/assets/pictograms/sextant.svg +1 -0
  352. package/dist/collection/assets/pictograms/share.svg +1 -0
  353. package/dist/collection/assets/pictograms/shield.svg +1 -0
  354. package/dist/collection/assets/pictograms/shop.svg +1 -0
  355. package/dist/collection/assets/pictograms/shopping-cart-chf.svg +1 -0
  356. package/dist/collection/assets/pictograms/shopping-cart-download.svg +1 -0
  357. package/dist/collection/assets/pictograms/shopping-cart.svg +1 -0
  358. package/dist/collection/assets/pictograms/signal.svg +1 -0
  359. package/dist/collection/assets/pictograms/simple-integration.svg +1 -0
  360. package/dist/collection/assets/pictograms/skull.svg +1 -0
  361. package/dist/collection/assets/pictograms/smoking.svg +1 -0
  362. package/dist/collection/assets/pictograms/snow.svg +1 -0
  363. package/dist/collection/assets/pictograms/snowflake.svg +1 -0
  364. package/dist/collection/assets/pictograms/snowman.svg +1 -0
  365. package/dist/collection/assets/pictograms/soc.svg +1 -0
  366. package/dist/collection/assets/pictograms/social-days.svg +1 -0
  367. package/dist/collection/assets/pictograms/social-trading.svg +1 -0
  368. package/dist/collection/assets/pictograms/softwarepackage.svg +1 -0
  369. package/dist/collection/assets/pictograms/sound.svg +1 -0
  370. package/dist/collection/assets/pictograms/speechbubble.svg +1 -0
  371. package/dist/collection/assets/pictograms/spirit.svg +1 -0
  372. package/dist/collection/assets/pictograms/split.svg +1 -0
  373. package/dist/collection/assets/pictograms/stability.svg +1 -0
  374. package/dist/collection/assets/pictograms/stairs.svg +1 -0
  375. package/dist/collection/assets/pictograms/star.svg +1 -0
  376. package/dist/collection/assets/pictograms/statistic.svg +1 -0
  377. package/dist/collection/assets/pictograms/stock.svg +1 -0
  378. package/dist/collection/assets/pictograms/stocks.svg +1 -0
  379. package/dist/collection/assets/pictograms/stop.svg +1 -0
  380. package/dist/collection/assets/pictograms/stopwatch.svg +1 -0
  381. package/dist/collection/assets/pictograms/storage.svg +1 -0
  382. package/dist/collection/assets/pictograms/success.svg +1 -0
  383. package/dist/collection/assets/pictograms/suitcase.svg +1 -0
  384. package/dist/collection/assets/pictograms/sun.svg +1 -0
  385. package/dist/collection/assets/pictograms/surveillance.svg +1 -0
  386. package/dist/collection/assets/pictograms/swiss.svg +1 -0
  387. package/dist/collection/assets/pictograms/tablet.svg +1 -0
  388. package/dist/collection/assets/pictograms/tachometer.svg +1 -0
  389. package/dist/collection/assets/pictograms/target.svg +1 -0
  390. package/dist/collection/assets/pictograms/telephone.svg +1 -0
  391. package/dist/collection/assets/pictograms/telescope.svg +1 -0
  392. package/dist/collection/assets/pictograms/temperature.svg +1 -0
  393. package/dist/collection/assets/pictograms/terminal.svg +1 -0
  394. package/dist/collection/assets/pictograms/ticket.svg +1 -0
  395. package/dist/collection/assets/pictograms/tin.svg +1 -0
  396. package/dist/collection/assets/pictograms/tokenization.svg +1 -0
  397. package/dist/collection/assets/pictograms/tool.svg +1 -0
  398. package/dist/collection/assets/pictograms/touch.svg +1 -0
  399. package/dist/collection/assets/pictograms/train.svg +1 -0
  400. package/dist/collection/assets/pictograms/trash.svg +1 -0
  401. package/dist/collection/assets/pictograms/umbrella.svg +1 -0
  402. package/dist/collection/assets/pictograms/unlock.svg +1 -0
  403. package/dist/collection/assets/pictograms/upload.svg +1 -0
  404. package/dist/collection/assets/pictograms/usb.svg +1 -0
  405. package/dist/collection/assets/pictograms/viena.svg +1 -0
  406. package/dist/collection/assets/pictograms/viking.svg +1 -0
  407. package/dist/collection/assets/pictograms/visibility.svg +1 -0
  408. package/dist/collection/assets/pictograms/wallet.svg +1 -0
  409. package/dist/collection/assets/pictograms/warning.svg +1 -0
  410. package/dist/collection/assets/pictograms/way-up.svg +1 -0
  411. package/dist/collection/assets/pictograms/wc-handicap.svg +1 -0
  412. package/dist/collection/assets/pictograms/wc-men.svg +1 -0
  413. package/dist/collection/assets/pictograms/wc-woman.svg +1 -0
  414. package/dist/collection/assets/pictograms/wearables.svg +1 -0
  415. package/dist/collection/assets/pictograms/webshop.svg +1 -0
  416. package/dist/collection/assets/pictograms/wlan-bluetooth.svg +1 -0
  417. package/dist/collection/assets/pictograms/wlan.svg +1 -0
  418. package/dist/collection/assets/pictograms/x.svg +1 -0
  419. package/dist/collection/assets/pictograms/zurich.svg +1 -0
  420. package/dist/collection/collection-manifest.json +10 -7
  421. package/dist/collection/components/six-alert/six-alert.js +15 -6
  422. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  423. package/dist/collection/components/six-avatar/six-avatar.js +2 -2
  424. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  425. package/dist/collection/components/six-badge/six-badge.js +2 -2
  426. package/dist/collection/components/six-badge/six-badge.js.map +1 -1
  427. package/dist/collection/components/six-button/six-button.css +17 -4
  428. package/dist/collection/components/six-button/six-button.js +5 -4
  429. package/dist/collection/components/six-button/six-button.js.map +1 -1
  430. package/dist/collection/components/six-card/six-card.js +1 -1
  431. package/dist/collection/components/six-card/six-card.js.map +1 -1
  432. package/dist/collection/components/six-checkbox/six-checkbox.css +2 -0
  433. package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
  434. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  435. package/dist/collection/components/six-datepicker/six-datepicker.js +15 -13
  436. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  437. package/dist/collection/components/six-details/six-details.css +0 -4
  438. package/dist/collection/components/six-details/six-details.js +3 -3
  439. package/dist/collection/components/six-details/six-details.js.map +1 -1
  440. package/dist/collection/components/six-dialog/six-dialog.js +10 -28
  441. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  442. package/dist/collection/components/six-drawer/six-drawer.js +9 -28
  443. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  444. package/dist/collection/components/six-dropdown/six-dropdown.js +10 -39
  445. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  446. package/dist/collection/components/six-error/six-error.css +1 -0
  447. package/dist/collection/components/six-error/six-error.js +1 -1
  448. package/dist/collection/components/six-error/six-error.js.map +1 -1
  449. package/dist/collection/components/six-error-page/six-error-page.js +1 -1
  450. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
  451. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  452. package/dist/collection/components/six-file-list/six-file-list.js.map +1 -1
  453. package/dist/collection/components/six-file-list-item/six-file-list-item.js +2 -2
  454. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  455. package/dist/collection/components/six-file-upload/six-file-upload.css +11 -0
  456. package/dist/collection/components/six-file-upload/six-file-upload.js +86 -11
  457. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  458. package/dist/collection/components/six-footer/six-footer.js +1 -1
  459. package/dist/collection/components/six-footer/six-footer.js.map +1 -1
  460. package/dist/collection/components/six-group-label/six-group-label.js +1 -1
  461. package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
  462. package/dist/collection/components/six-header/six-header.css +2 -37
  463. package/dist/collection/components/six-header/six-header.js +9 -392
  464. package/dist/collection/components/six-header/six-header.js.map +1 -1
  465. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +13 -0
  466. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +95 -0
  467. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -0
  468. package/dist/collection/components/six-header-item/six-header-item.css +15 -0
  469. package/dist/collection/components/six-header-item/six-header-item.js +48 -0
  470. package/dist/collection/components/six-header-item/six-header-item.js.map +1 -0
  471. package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +32 -0
  472. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +124 -0
  473. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -0
  474. package/dist/collection/components/six-icon/six-icon.js +2 -2
  475. package/dist/collection/components/six-icon/six-icon.js.map +1 -1
  476. package/dist/collection/components/six-icon-button/six-icon-button.css +2 -1
  477. package/dist/collection/components/six-icon-button/six-icon-button.js +60 -3
  478. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  479. package/dist/collection/components/six-input/six-input.css +1 -0
  480. package/dist/collection/components/six-input/six-input.js +41 -5
  481. package/dist/collection/components/six-input/six-input.js.map +1 -1
  482. package/dist/collection/components/six-item-picker/six-item-picker.js +3 -3
  483. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  484. package/dist/collection/components/six-language-switcher/six-language-switcher.css +7 -2
  485. package/dist/collection/components/six-language-switcher/six-language-switcher.js +7 -3
  486. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  487. package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
  488. package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
  489. package/dist/collection/components/six-logo/six-logo.css +18 -0
  490. package/dist/collection/components/six-logo/six-logo.js +54 -0
  491. package/dist/collection/components/six-logo/six-logo.js.map +1 -0
  492. package/dist/collection/components/six-main-container/six-main-container.js +1 -1
  493. package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
  494. package/dist/collection/components/six-menu/six-menu.js +13 -4
  495. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  496. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  497. package/dist/collection/components/six-menu-divider/six-menu-divider.js.map +1 -1
  498. package/dist/collection/components/six-menu-item/six-menu-item.js +2 -2
  499. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  500. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  501. package/dist/collection/components/six-menu-label/six-menu-label.js.map +1 -1
  502. package/dist/collection/components/six-picto/six-picto.css +0 -1193
  503. package/dist/collection/components/six-picto/six-picto.js +26 -5
  504. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  505. package/dist/collection/components/six-progress-bar/six-progress-bar.js +3 -3
  506. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  507. package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
  508. package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
  509. package/dist/collection/components/six-radio/six-radio.js +2 -2
  510. package/dist/collection/components/six-radio/six-radio.js.map +1 -1
  511. package/dist/collection/components/six-range/six-range.css +1 -1
  512. package/dist/collection/components/six-range/six-range.js +12 -2
  513. package/dist/collection/components/six-range/six-range.js.map +1 -1
  514. package/dist/collection/components/six-root/six-root.js +1 -69
  515. package/dist/collection/components/six-root/six-root.js.map +1 -1
  516. package/dist/collection/components/six-search-field/six-search-field.js +1 -1
  517. package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
  518. package/dist/collection/components/six-select/six-select.js +56 -69
  519. package/dist/collection/components/six-select/six-select.js.map +1 -1
  520. package/dist/collection/components/six-select/util.js +24 -0
  521. package/dist/collection/components/six-select/util.js.map +1 -1
  522. package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
  523. package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
  524. package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +7 -0
  525. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
  526. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
  527. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +8 -0
  528. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +1 -1
  529. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  530. package/dist/collection/components/six-spinner/six-spinner.css +45 -0
  531. package/dist/collection/components/six-spinner/six-spinner.js +59 -10
  532. package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
  533. package/dist/collection/components/six-switch/six-switch.js +2 -2
  534. package/dist/collection/components/six-switch/six-switch.js.map +1 -1
  535. package/dist/collection/components/six-tab/six-tab.js +2 -2
  536. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  537. package/dist/collection/components/six-tab-group/six-tab-group.js +33 -7
  538. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  539. package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
  540. package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
  541. package/dist/collection/components/six-tag/six-tag.js +2 -2
  542. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  543. package/dist/collection/components/six-textarea/six-textarea.css +5 -0
  544. package/dist/collection/components/six-textarea/six-textarea.js +4 -4
  545. package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
  546. package/dist/collection/components/six-tile/six-tile.js +5 -5
  547. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  548. package/dist/collection/components/six-timepicker/six-timepicker.js +2 -2
  549. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  550. package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
  551. package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
  552. package/dist/collection/files/material-icons-latin-400-normal.woff +0 -0
  553. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
  554. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  555. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
  556. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  557. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
  558. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  559. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
  560. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  561. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
  562. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  563. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
  564. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  565. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
  566. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  567. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
  568. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  569. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
  570. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  571. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
  572. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  573. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
  574. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  575. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
  576. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  577. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
  578. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  579. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
  580. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  581. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
  582. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  583. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
  584. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  585. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
  586. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  587. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
  588. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  589. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  590. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  591. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  592. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  593. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  594. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  595. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  596. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  597. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  598. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  599. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  600. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  601. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  602. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  603. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  604. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  605. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  606. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  607. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  608. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  609. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  610. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  611. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  612. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  613. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  614. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  615. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  616. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  617. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  618. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  619. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  620. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  621. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  622. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  623. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  624. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  625. package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
  626. package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  627. package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
  628. package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  629. package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
  630. package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  631. package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
  632. package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  633. package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
  634. package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  635. package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
  636. package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  637. package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
  638. package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  639. package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
  640. package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  641. package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
  642. package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  643. package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
  644. package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  645. package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
  646. package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  647. package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
  648. package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  649. package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
  650. package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  651. package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
  652. package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  653. package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
  654. package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  655. package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
  656. package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  657. package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
  658. package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  659. package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
  660. package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  661. package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
  662. package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
  663. package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
  664. package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
  665. package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
  666. package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
  667. package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
  668. package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
  669. package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
  670. package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
  671. package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
  672. package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
  673. package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
  674. package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
  675. package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
  676. package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
  677. package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
  678. package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
  679. package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
  680. package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
  681. package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
  682. package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
  683. package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
  684. package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
  685. package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
  686. package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
  687. package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
  688. package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
  689. package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
  690. package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
  691. package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
  692. package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
  693. package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
  694. package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
  695. package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
  696. package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
  697. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
  698. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  699. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
  700. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  701. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
  702. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  703. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
  704. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  705. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
  706. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  707. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
  708. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  709. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
  710. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  711. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
  712. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  713. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
  714. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  715. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
  716. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  717. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
  718. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  719. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
  720. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  721. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
  722. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  723. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
  724. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  725. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
  726. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  727. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
  728. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  729. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
  730. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  731. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
  732. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  733. package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
  734. package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
  735. package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
  736. package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
  737. package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
  738. package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
  739. package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
  740. package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
  741. package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
  742. package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
  743. package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
  744. package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
  745. package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
  746. package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
  747. package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
  748. package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
  749. package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
  750. package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
  751. package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
  752. package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
  753. package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
  754. package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
  755. package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
  756. package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
  757. package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
  758. package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
  759. package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
  760. package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
  761. package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
  762. package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
  763. package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
  764. package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
  765. package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
  766. package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
  767. package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
  768. package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
  769. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
  770. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  771. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
  772. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  773. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
  774. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  775. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
  776. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  777. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
  778. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  779. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
  780. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  781. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
  782. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  783. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
  784. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  785. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
  786. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  787. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
  788. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  789. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
  790. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  791. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
  792. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  793. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
  794. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  795. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
  796. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  797. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
  798. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  799. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
  800. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  801. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
  802. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  803. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
  804. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  805. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
  806. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  807. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
  808. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  809. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
  810. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  811. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
  812. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  813. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
  814. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  815. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
  816. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  817. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
  818. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  819. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
  820. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  821. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
  822. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  823. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
  824. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  825. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
  826. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  827. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
  828. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  829. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
  830. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  831. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
  832. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  833. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
  834. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  835. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
  836. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  837. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
  838. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  839. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
  840. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  841. package/dist/collection/utils/alert.js.map +1 -1
  842. package/dist/collection/utils/date-util.js +25 -0
  843. package/dist/collection/utils/date-util.js.map +1 -1
  844. package/dist/collection/utils/error-messages.js.map +1 -1
  845. package/dist/collection/utils/event-listeners.js.map +1 -1
  846. package/dist/collection/utils/focus-visible.js.map +1 -1
  847. package/dist/collection/utils/form.js.map +1 -1
  848. package/dist/collection/utils/modal.js.map +1 -1
  849. package/dist/collection/utils/popover.js.map +1 -1
  850. package/dist/collection/utils/popup.js.map +1 -1
  851. package/dist/collection/utils/scroll.js.map +1 -1
  852. package/dist/collection/utils/slot.js.map +1 -1
  853. package/dist/collection/utils/tabbable.js.map +1 -1
  854. package/dist/collection/utils/time.util.js.map +1 -1
  855. package/dist/components/index.js +8 -2
  856. package/dist/components/index.js.map +1 -1
  857. package/dist/components/modal.js +1 -17
  858. package/dist/components/modal.js.map +1 -1
  859. package/dist/components/six-alert.js +16 -6
  860. package/dist/components/six-alert.js.map +1 -1
  861. package/dist/components/six-avatar.js +4 -3
  862. package/dist/components/six-avatar.js.map +1 -1
  863. package/dist/components/six-badge.js +4 -3
  864. package/dist/components/six-badge.js.map +1 -1
  865. package/dist/components/six-button2.js +6 -4
  866. package/dist/components/six-button2.js.map +1 -1
  867. package/dist/components/six-card.js +3 -2
  868. package/dist/components/six-card.js.map +1 -1
  869. package/dist/components/six-checkbox2.js +5 -4
  870. package/dist/components/six-checkbox2.js.map +1 -1
  871. package/dist/components/six-datepicker.js +40 -12
  872. package/dist/components/six-datepicker.js.map +1 -1
  873. package/dist/components/six-details2.js +6 -5
  874. package/dist/components/six-details2.js.map +1 -1
  875. package/dist/components/six-dialog.js +13 -29
  876. package/dist/components/six-dialog.js.map +1 -1
  877. package/dist/components/six-drawer.js +12 -29
  878. package/dist/components/six-drawer.js.map +1 -1
  879. package/dist/components/six-dropdown2.js +13 -22
  880. package/dist/components/six-dropdown2.js.map +1 -1
  881. package/dist/components/six-error-page.js +3 -2
  882. package/dist/components/six-error-page.js.map +1 -1
  883. package/dist/components/six-error2.js +4 -3
  884. package/dist/components/six-error2.js.map +1 -1
  885. package/dist/components/six-file-list-item.js +4 -3
  886. package/dist/components/six-file-list-item.js.map +1 -1
  887. package/dist/components/six-file-list.js +3 -2
  888. package/dist/components/six-file-list.js.map +1 -1
  889. package/dist/components/six-file-upload.js +52 -16
  890. package/dist/components/six-file-upload.js.map +1 -1
  891. package/dist/components/six-footer.js +3 -2
  892. package/dist/components/six-footer.js.map +1 -1
  893. package/dist/components/six-group-label.js +3 -2
  894. package/dist/components/six-group-label.js.map +1 -1
  895. package/dist/components/six-header-dropdown-item.d.ts +11 -0
  896. package/dist/components/six-header-dropdown-item.js +107 -0
  897. package/dist/components/six-header-dropdown-item.js.map +1 -0
  898. package/dist/components/six-header-item.d.ts +11 -0
  899. package/dist/components/six-header-item.js +39 -0
  900. package/dist/components/six-header-item.js.map +1 -0
  901. package/dist/components/six-header-menu-button.d.ts +11 -0
  902. package/dist/components/six-header-menu-button.js +59 -0
  903. package/dist/components/six-header-menu-button.js.map +1 -0
  904. package/dist/components/six-header.js +14 -220
  905. package/dist/components/six-header.js.map +1 -1
  906. package/dist/components/six-icon-button2.js +16 -6
  907. package/dist/components/six-icon-button2.js.map +1 -1
  908. package/dist/components/six-icon2.js +4 -3
  909. package/dist/components/six-icon2.js.map +1 -1
  910. package/dist/components/six-input2.js +16 -5
  911. package/dist/components/six-input2.js.map +1 -1
  912. package/dist/components/six-item-picker2.js +5 -4
  913. package/dist/components/six-item-picker2.js.map +1 -1
  914. package/dist/components/six-language-switcher.js +10 -5
  915. package/dist/components/six-language-switcher.js.map +1 -1
  916. package/dist/components/six-layout-grid.js +3 -2
  917. package/dist/components/six-layout-grid.js.map +1 -1
  918. package/dist/components/six-logo.d.ts +11 -0
  919. package/dist/components/six-logo.js +45 -0
  920. package/dist/components/six-logo.js.map +1 -0
  921. package/dist/components/six-main-container.js +3 -2
  922. package/dist/components/six-main-container.js.map +1 -1
  923. package/dist/components/six-menu-divider.js +3 -2
  924. package/dist/components/six-menu-divider.js.map +1 -1
  925. package/dist/components/six-menu-item2.js +4 -3
  926. package/dist/components/six-menu-item2.js.map +1 -1
  927. package/dist/components/six-menu-label.js +3 -2
  928. package/dist/components/six-menu-label.js.map +1 -1
  929. package/dist/components/six-menu2.js +15 -5
  930. package/dist/components/six-menu2.js.map +1 -1
  931. package/dist/components/six-picto2.js +26 -8
  932. package/dist/components/six-picto2.js.map +1 -1
  933. package/dist/components/six-progress-bar.js +5 -4
  934. package/dist/components/six-progress-bar.js.map +1 -1
  935. package/dist/components/six-progress-ring.js +3 -2
  936. package/dist/components/six-progress-ring.js.map +1 -1
  937. package/dist/components/six-radio.js +4 -3
  938. package/dist/components/six-radio.js.map +1 -1
  939. package/dist/components/six-range.js +15 -4
  940. package/dist/components/six-range.js.map +1 -1
  941. package/dist/components/six-root.js +6 -34
  942. package/dist/components/six-root.js.map +1 -1
  943. package/dist/components/six-search-field.js +3 -2
  944. package/dist/components/six-search-field.js.map +1 -1
  945. package/dist/components/six-select.js +91 -50
  946. package/dist/components/six-select.js.map +1 -1
  947. package/dist/components/six-sidebar-item-group.js +4 -3
  948. package/dist/components/six-sidebar-item-group.js.map +1 -1
  949. package/dist/components/six-sidebar-item.js +5 -4
  950. package/dist/components/six-sidebar-item.js.map +1 -1
  951. package/dist/components/six-sidebar.js +4 -3
  952. package/dist/components/six-sidebar.js.map +1 -1
  953. package/dist/components/six-spinner2.js +41 -6
  954. package/dist/components/six-spinner2.js.map +1 -1
  955. package/dist/components/six-stage-indicator2.js +2 -1
  956. package/dist/components/six-stage-indicator2.js.map +1 -1
  957. package/dist/components/six-switch.js +4 -3
  958. package/dist/components/six-switch.js.map +1 -1
  959. package/dist/components/six-tab-group.js +35 -8
  960. package/dist/components/six-tab-group.js.map +1 -1
  961. package/dist/components/six-tab-panel.js +3 -2
  962. package/dist/components/six-tab-panel.js.map +1 -1
  963. package/dist/components/six-tab.js +4 -3
  964. package/dist/components/six-tab.js.map +1 -1
  965. package/dist/components/six-tag.js +4 -3
  966. package/dist/components/six-tag.js.map +1 -1
  967. package/dist/components/six-textarea.js +5 -4
  968. package/dist/components/six-textarea.js.map +1 -1
  969. package/dist/components/six-tile.js +7 -6
  970. package/dist/components/six-tile.js.map +1 -1
  971. package/dist/components/six-timepicker2.js +4 -3
  972. package/dist/components/six-timepicker2.js.map +1 -1
  973. package/dist/components/six-tooltip2.js +4 -3
  974. package/dist/components/six-tooltip2.js.map +1 -1
  975. package/dist/components.d.ts +34 -0
  976. package/dist/components.json +625 -481
  977. package/dist/esm/app-globals-0f993ce5.js +5 -0
  978. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  979. package/dist/esm/form-control-ad1710bf.js +34 -0
  980. package/dist/esm/form-control-ad1710bf.js.map +1 -0
  981. package/dist/esm/index-a7bee415.js +1923 -0
  982. package/dist/esm/index-a7bee415.js.map +1 -0
  983. package/dist/esm/loader.js +6 -4
  984. package/dist/esm/loader.js.map +1 -1
  985. package/dist/esm/modal-6c1288e3.js +33 -0
  986. package/dist/esm/modal-6c1288e3.js.map +1 -0
  987. package/dist/esm/six-alert.entry.js +17 -7
  988. package/dist/esm/six-alert.entry.js.map +1 -1
  989. package/dist/esm/six-avatar.entry.js +5 -4
  990. package/dist/esm/six-avatar.entry.js.map +1 -1
  991. package/dist/esm/six-badge.entry.js +5 -4
  992. package/dist/esm/six-badge.entry.js.map +1 -1
  993. package/dist/esm/six-button.entry.js +7 -5
  994. package/dist/esm/six-button.entry.js.map +1 -1
  995. package/dist/esm/six-card.entry.js +4 -3
  996. package/dist/esm/six-card.entry.js.map +1 -1
  997. package/dist/esm/six-checkbox_2.entry.js +11 -9
  998. package/dist/esm/six-checkbox_2.entry.js.map +1 -1
  999. package/dist/esm/six-datepicker.entry.js +41 -13
  1000. package/dist/esm/six-datepicker.entry.js.map +1 -1
  1001. package/dist/esm/six-details.entry.js +7 -6
  1002. package/dist/esm/six-details.entry.js.map +1 -1
  1003. package/dist/esm/six-dialog.entry.js +14 -30
  1004. package/dist/esm/six-dialog.entry.js.map +1 -1
  1005. package/dist/esm/six-drawer.entry.js +13 -30
  1006. package/dist/esm/six-drawer.entry.js.map +1 -1
  1007. package/dist/esm/six-dropdown_2.entry.js +28 -26
  1008. package/dist/esm/six-dropdown_2.entry.js.map +1 -1
  1009. package/dist/esm/six-error-page.entry.js +4 -3
  1010. package/dist/esm/six-error-page.entry.js.map +1 -1
  1011. package/dist/esm/six-error.entry.js +5 -4
  1012. package/dist/esm/six-error.entry.js.map +1 -1
  1013. package/dist/esm/six-file-list-item.entry.js +5 -4
  1014. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  1015. package/dist/esm/six-file-list.entry.js +4 -3
  1016. package/dist/esm/six-file-list.entry.js.map +1 -1
  1017. package/dist/esm/six-file-upload.entry.js +33 -13
  1018. package/dist/esm/six-file-upload.entry.js.map +1 -1
  1019. package/dist/esm/six-footer.entry.js +4 -3
  1020. package/dist/esm/six-footer.entry.js.map +1 -1
  1021. package/dist/esm/six-group-label.entry.js +5 -4
  1022. package/dist/esm/six-group-label.entry.js.map +1 -1
  1023. package/dist/esm/six-header-dropdown-item.entry.js +43 -0
  1024. package/dist/esm/six-header-dropdown-item.entry.js.map +1 -0
  1025. package/dist/esm/six-header-item.entry.js +19 -0
  1026. package/dist/esm/six-header-item.entry.js.map +1 -0
  1027. package/dist/esm/six-header-menu-button.entry.js +23 -0
  1028. package/dist/esm/six-header-menu-button.entry.js.map +1 -0
  1029. package/dist/esm/six-header.entry.js +12 -163
  1030. package/dist/esm/six-header.entry.js.map +1 -1
  1031. package/dist/esm/six-icon-button.entry.js +13 -6
  1032. package/dist/esm/six-icon-button.entry.js.map +1 -1
  1033. package/dist/esm/six-icon.entry.js +5 -4
  1034. package/dist/esm/six-icon.entry.js.map +1 -1
  1035. package/dist/esm/six-input.entry.js +17 -7
  1036. package/dist/esm/six-input.entry.js.map +1 -1
  1037. package/dist/esm/six-item-picker.entry.js +6 -5
  1038. package/dist/esm/six-item-picker.entry.js.map +1 -1
  1039. package/dist/esm/six-language-switcher.entry.js +11 -6
  1040. package/dist/esm/six-language-switcher.entry.js.map +1 -1
  1041. package/dist/esm/six-layout-grid.entry.js +4 -3
  1042. package/dist/esm/six-layout-grid.entry.js.map +1 -1
  1043. package/dist/esm/six-logo.entry.js +25 -0
  1044. package/dist/esm/six-logo.entry.js.map +1 -0
  1045. package/dist/esm/six-main-container.entry.js +4 -3
  1046. package/dist/esm/six-main-container.entry.js.map +1 -1
  1047. package/dist/esm/six-menu-divider.entry.js +4 -3
  1048. package/dist/esm/six-menu-divider.entry.js.map +1 -1
  1049. package/dist/esm/six-menu-label.entry.js +4 -3
  1050. package/dist/esm/six-menu-label.entry.js.map +1 -1
  1051. package/dist/esm/six-picto.entry.js +25 -8
  1052. package/dist/esm/six-picto.entry.js.map +1 -1
  1053. package/dist/esm/six-progress-bar.entry.js +6 -5
  1054. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  1055. package/dist/esm/six-progress-ring.entry.js +4 -3
  1056. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  1057. package/dist/esm/six-radio.entry.js +5 -4
  1058. package/dist/esm/six-radio.entry.js.map +1 -1
  1059. package/dist/esm/six-range.entry.js +17 -6
  1060. package/dist/esm/six-range.entry.js.map +1 -1
  1061. package/dist/esm/six-root.entry.js +4 -22
  1062. package/dist/esm/six-root.entry.js.map +1 -1
  1063. package/dist/esm/six-search-field.entry.js +4 -3
  1064. package/dist/esm/six-search-field.entry.js.map +1 -1
  1065. package/dist/esm/six-select.entry.js +93 -51
  1066. package/dist/esm/six-select.entry.js.map +1 -1
  1067. package/dist/esm/six-sidebar-item-group.entry.js +5 -4
  1068. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  1069. package/dist/esm/six-sidebar-item.entry.js +6 -5
  1070. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  1071. package/dist/esm/six-sidebar.entry.js +5 -4
  1072. package/dist/esm/six-sidebar.entry.js.map +1 -1
  1073. package/dist/esm/six-spinner.entry.js +41 -7
  1074. package/dist/esm/six-spinner.entry.js.map +1 -1
  1075. package/dist/esm/six-stage-indicator.entry.js +19 -0
  1076. package/dist/esm/six-stage-indicator.entry.js.map +1 -0
  1077. package/dist/esm/six-switch.entry.js +6 -5
  1078. package/dist/esm/six-switch.entry.js.map +1 -1
  1079. package/dist/esm/six-tab-group.entry.js +34 -8
  1080. package/dist/esm/six-tab-group.entry.js.map +1 -1
  1081. package/dist/esm/six-tab-panel.entry.js +4 -3
  1082. package/dist/esm/six-tab-panel.entry.js.map +1 -1
  1083. package/dist/esm/six-tab.entry.js +5 -4
  1084. package/dist/esm/six-tab.entry.js.map +1 -1
  1085. package/dist/esm/six-tag.entry.js +5 -4
  1086. package/dist/esm/six-tag.entry.js.map +1 -1
  1087. package/dist/esm/six-textarea.entry.js +7 -6
  1088. package/dist/esm/six-textarea.entry.js.map +1 -1
  1089. package/dist/esm/six-tile.entry.js +8 -7
  1090. package/dist/esm/six-tile.entry.js.map +1 -1
  1091. package/dist/esm/six-timepicker.entry.js +5 -4
  1092. package/dist/esm/six-timepicker.entry.js.map +1 -1
  1093. package/dist/esm/six-tooltip.entry.js +5 -4
  1094. package/dist/esm/six-tooltip.entry.js.map +1 -1
  1095. package/dist/esm/ui-library.js +14 -12
  1096. package/dist/esm/ui-library.js.map +1 -1
  1097. package/dist/types/components/six-alert/six-alert.d.ts +8 -4
  1098. package/dist/types/components/six-button/six-button.d.ts +1 -1
  1099. package/dist/types/components/six-datepicker/six-datepicker.d.ts +1 -1
  1100. package/dist/types/components/six-dialog/six-dialog.d.ts +1 -0
  1101. package/dist/types/components/six-dropdown/six-dropdown.d.ts +0 -7
  1102. package/dist/types/components/six-file-upload/six-file-upload.d.ts +11 -1
  1103. package/dist/types/components/six-header/six-header.d.ts +5 -68
  1104. package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +22 -0
  1105. package/dist/types/components/six-header-item/six-header-item.d.ts +15 -0
  1106. package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +17 -0
  1107. package/dist/types/components/six-icon-button/six-icon-button.d.ts +6 -0
  1108. package/dist/types/components/six-input/six-input.d.ts +9 -1
  1109. package/dist/types/components/six-logo/six-logo.d.ts +9 -0
  1110. package/dist/types/components/six-menu/six-menu.d.ts +1 -1
  1111. package/dist/types/components/six-picto/six-picto.d.ts +2 -0
  1112. package/dist/types/components/six-range/six-range.d.ts +2 -0
  1113. package/dist/types/components/six-root/six-root.d.ts +0 -13
  1114. package/dist/types/components/six-select/six-select.d.ts +0 -9
  1115. package/dist/types/components/six-select/util.d.ts +2 -0
  1116. package/dist/types/components/six-spinner/six-spinner.d.ts +24 -4
  1117. package/dist/types/components/six-tab-group/six-tab-group.d.ts +4 -1
  1118. package/dist/types/components.d.ts +259 -138
  1119. package/dist/types/stencil-public-runtime.d.ts +3 -10
  1120. package/dist/types/utils/date-util.d.ts +9 -1
  1121. package/dist/types/utils/type-check.d.ts +1 -1
  1122. package/dist/ui-library/assets/TRADEMARKS.md +3 -3
  1123. package/dist/ui-library/assets/pictograms/TPP.svg +1 -0
  1124. package/dist/ui-library/assets/pictograms/agile.svg +1 -0
  1125. package/dist/ui-library/assets/pictograms/ai.svg +1 -0
  1126. package/dist/ui-library/assets/pictograms/airplane.svg +1 -0
  1127. package/dist/ui-library/assets/pictograms/alert.svg +1 -0
  1128. package/dist/ui-library/assets/pictograms/ambulance.svg +1 -0
  1129. package/dist/ui-library/assets/pictograms/analyse.svg +1 -0
  1130. package/dist/ui-library/assets/pictograms/anchor.svg +1 -0
  1131. package/dist/ui-library/assets/pictograms/apple.svg +1 -0
  1132. package/dist/ui-library/assets/pictograms/arrow-down.svg +1 -0
  1133. package/dist/ui-library/assets/pictograms/arrow-right.svg +1 -0
  1134. package/dist/ui-library/assets/pictograms/arrow-up.svg +1 -0
  1135. package/dist/ui-library/assets/pictograms/astronaut-outline.svg +1 -0
  1136. package/dist/ui-library/assets/pictograms/augmented-reality.svg +1 -0
  1137. package/dist/ui-library/assets/pictograms/backoffice.svg +1 -0
  1138. package/dist/ui-library/assets/pictograms/bank.svg +1 -0
  1139. package/dist/ui-library/assets/pictograms/banknote.svg +1 -0
  1140. package/dist/ui-library/assets/pictograms/barcode.svg +1 -0
  1141. package/dist/ui-library/assets/pictograms/battery.svg +1 -0
  1142. package/dist/ui-library/assets/pictograms/beacon.svg +1 -0
  1143. package/dist/ui-library/assets/pictograms/beat.svg +1 -0
  1144. package/dist/ui-library/assets/pictograms/bee.svg +1 -0
  1145. package/dist/ui-library/assets/pictograms/bell.svg +1 -0
  1146. package/dist/ui-library/assets/pictograms/berlin.svg +1 -0
  1147. package/dist/ui-library/assets/pictograms/big-data.svg +1 -0
  1148. package/dist/ui-library/assets/pictograms/bilateral.svg +1 -0
  1149. package/dist/ui-library/assets/pictograms/bill.svg +1 -0
  1150. package/dist/ui-library/assets/pictograms/binoculars.svg +1 -0
  1151. package/dist/ui-library/assets/pictograms/block.svg +1 -0
  1152. package/dist/ui-library/assets/pictograms/blockchain.svg +1 -0
  1153. package/dist/ui-library/assets/pictograms/bluetooth.svg +1 -0
  1154. package/dist/ui-library/assets/pictograms/bone.svg +1 -0
  1155. package/dist/ui-library/assets/pictograms/book.svg +1 -0
  1156. package/dist/ui-library/assets/pictograms/bottle.svg +1 -0
  1157. package/dist/ui-library/assets/pictograms/buggy.svg +1 -0
  1158. package/dist/ui-library/assets/pictograms/bull-bear.svg +1 -0
  1159. package/dist/ui-library/assets/pictograms/business.svg +1 -0
  1160. package/dist/ui-library/assets/pictograms/cake.svg +1 -0
  1161. package/dist/ui-library/assets/pictograms/calculator.svg +1 -0
  1162. package/dist/ui-library/assets/pictograms/calendar.svg +1 -0
  1163. package/dist/ui-library/assets/pictograms/cam.svg +1 -0
  1164. package/dist/ui-library/assets/pictograms/cap.svg +1 -0
  1165. package/dist/ui-library/assets/pictograms/capsule.svg +1 -0
  1166. package/dist/ui-library/assets/pictograms/car.svg +1 -0
  1167. package/dist/ui-library/assets/pictograms/carabiner.svg +1 -0
  1168. package/dist/ui-library/assets/pictograms/card.svg +1 -0
  1169. package/dist/ui-library/assets/pictograms/cash-machine.svg +1 -0
  1170. package/dist/ui-library/assets/pictograms/cash-register.svg +1 -0
  1171. package/dist/ui-library/assets/pictograms/cash.svg +1 -0
  1172. package/dist/ui-library/assets/pictograms/cashless.svg +1 -0
  1173. package/dist/ui-library/assets/pictograms/check.svg +1 -0
  1174. package/dist/ui-library/assets/pictograms/cheveron-right.svg +1 -0
  1175. package/dist/ui-library/assets/pictograms/chf-eur.svg +1 -0
  1176. package/dist/ui-library/assets/pictograms/cleaning.svg +1 -0
  1177. package/dist/ui-library/assets/pictograms/click-collect.svg +1 -0
  1178. package/dist/ui-library/assets/pictograms/click-return.svg +1 -0
  1179. package/dist/ui-library/assets/pictograms/client-receipt.svg +1 -0
  1180. package/dist/ui-library/assets/pictograms/clientesyusuarios.svg +1 -0
  1181. package/dist/ui-library/assets/pictograms/clock.svg +1 -0
  1182. package/dist/ui-library/assets/pictograms/cloud.svg +1 -0
  1183. package/dist/ui-library/assets/pictograms/coffee.svg +1 -0
  1184. package/dist/ui-library/assets/pictograms/coins.svg +1 -0
  1185. package/dist/ui-library/assets/pictograms/configuracion-de-servicio.svg +1 -0
  1186. package/dist/ui-library/assets/pictograms/connectivity.svg +1 -0
  1187. package/dist/ui-library/assets/pictograms/contactless.svg +1 -0
  1188. package/dist/ui-library/assets/pictograms/copy.svg +1 -0
  1189. package/dist/ui-library/assets/pictograms/cornet.svg +1 -0
  1190. package/dist/ui-library/assets/pictograms/cost-reduction.svg +1 -0
  1191. package/dist/ui-library/assets/pictograms/coupon.svg +1 -0
  1192. package/dist/ui-library/assets/pictograms/croissant.svg +1 -0
  1193. package/dist/ui-library/assets/pictograms/crowdfunding.svg +1 -0
  1194. package/dist/ui-library/assets/pictograms/crown.svg +1 -0
  1195. package/dist/ui-library/assets/pictograms/cryptocurrency.svg +1 -0
  1196. package/dist/ui-library/assets/pictograms/crystal-ball.svg +1 -0
  1197. package/dist/ui-library/assets/pictograms/cup.svg +1 -0
  1198. package/dist/ui-library/assets/pictograms/cupcake.svg +1 -0
  1199. package/dist/ui-library/assets/pictograms/currency.svg +1 -0
  1200. package/dist/ui-library/assets/pictograms/cyber-security.svg +1 -0
  1201. package/dist/ui-library/assets/pictograms/data-mapping.svg +1 -0
  1202. package/dist/ui-library/assets/pictograms/desktop.svg +1 -0
  1203. package/dist/ui-library/assets/pictograms/diamond.svg +1 -0
  1204. package/dist/ui-library/assets/pictograms/disc.svg +1 -0
  1205. package/dist/ui-library/assets/pictograms/diversify.svg +1 -0
  1206. package/dist/ui-library/assets/pictograms/dna.svg +1 -0
  1207. package/dist/ui-library/assets/pictograms/dog.svg +1 -0
  1208. package/dist/ui-library/assets/pictograms/download.svg +1 -0
  1209. package/dist/ui-library/assets/pictograms/drop-zone.svg +1 -0
  1210. package/dist/ui-library/assets/pictograms/drop.svg +1 -0
  1211. package/dist/ui-library/assets/pictograms/dumbbell.svg +1 -0
  1212. package/dist/ui-library/assets/pictograms/dws.svg +1 -0
  1213. package/dist/ui-library/assets/pictograms/ear.svg +1 -0
  1214. package/dist/ui-library/assets/pictograms/ecommerce.svg +1 -0
  1215. package/dist/ui-library/assets/pictograms/ethernet.svg +1 -0
  1216. package/dist/ui-library/assets/pictograms/eur-dollar.svg +1 -0
  1217. package/dist/ui-library/assets/pictograms/exchange.svg +1 -0
  1218. package/dist/ui-library/assets/pictograms/exclamation.svg +1 -0
  1219. package/dist/ui-library/assets/pictograms/external-link.svg +1 -0
  1220. package/dist/ui-library/assets/pictograms/extinguisher.svg +1 -0
  1221. package/dist/ui-library/assets/pictograms/factory.svg +1 -0
  1222. package/dist/ui-library/assets/pictograms/fax.svg +1 -0
  1223. package/dist/ui-library/assets/pictograms/fence.svg +1 -0
  1224. package/dist/ui-library/assets/pictograms/file-text.svg +1 -0
  1225. package/dist/ui-library/assets/pictograms/file.svg +1 -0
  1226. package/dist/ui-library/assets/pictograms/find-in-page.svg +1 -0
  1227. package/dist/ui-library/assets/pictograms/fingerprint.svg +1 -0
  1228. package/dist/ui-library/assets/pictograms/flag.svg +1 -0
  1229. package/dist/ui-library/assets/pictograms/flash.svg +1 -0
  1230. package/dist/ui-library/assets/pictograms/flexibility.svg +1 -0
  1231. package/dist/ui-library/assets/pictograms/flipchart.svg +1 -0
  1232. package/dist/ui-library/assets/pictograms/flower.svg +1 -0
  1233. package/dist/ui-library/assets/pictograms/focus.svg +1 -0
  1234. package/dist/ui-library/assets/pictograms/foreign-exchange.svg +1 -0
  1235. package/dist/ui-library/assets/pictograms/fraud-free.svg +1 -0
  1236. package/dist/ui-library/assets/pictograms/funnel.svg +1 -0
  1237. package/dist/ui-library/assets/pictograms/gamepad.svg +1 -0
  1238. package/dist/ui-library/assets/pictograms/gears.svg +1 -0
  1239. package/dist/ui-library/assets/pictograms/generic.svg +1 -0
  1240. package/dist/ui-library/assets/pictograms/genie.svg +1 -0
  1241. package/dist/ui-library/assets/pictograms/gestion-de-fallidos.svg +1 -0
  1242. package/dist/ui-library/assets/pictograms/gestion-de-instrucciones.svg +1 -0
  1243. package/dist/ui-library/assets/pictograms/gestion-de-pago.svg +1 -0
  1244. package/dist/ui-library/assets/pictograms/gift.svg +1 -0
  1245. package/dist/ui-library/assets/pictograms/giftcard.svg +1 -0
  1246. package/dist/ui-library/assets/pictograms/glass.svg +1 -0
  1247. package/dist/ui-library/assets/pictograms/glasses.svg +1 -0
  1248. package/dist/ui-library/assets/pictograms/global.svg +1 -0
  1249. package/dist/ui-library/assets/pictograms/gprs-lan.svg +1 -0
  1250. package/dist/ui-library/assets/pictograms/gprs.svg +1 -0
  1251. package/dist/ui-library/assets/pictograms/guide.svg +1 -0
  1252. package/dist/ui-library/assets/pictograms/hacker-security.svg +1 -0
  1253. package/dist/ui-library/assets/pictograms/hand.svg +1 -0
  1254. package/dist/ui-library/assets/pictograms/handshake.svg +1 -0
  1255. package/dist/ui-library/assets/pictograms/happy.svg +1 -0
  1256. package/dist/ui-library/assets/pictograms/hashtag.svg +1 -0
  1257. package/dist/ui-library/assets/pictograms/headphones.svg +1 -0
  1258. package/dist/ui-library/assets/pictograms/heart.svg +1 -0
  1259. package/dist/ui-library/assets/pictograms/home.svg +1 -0
  1260. package/dist/ui-library/assets/pictograms/identity-management.svg +1 -0
  1261. package/dist/ui-library/assets/pictograms/info.svg +1 -0
  1262. package/dist/ui-library/assets/pictograms/international-connectivity.svg +1 -0
  1263. package/dist/ui-library/assets/pictograms/iot.svg +1 -0
  1264. package/dist/ui-library/assets/pictograms/key.svg +1 -0
  1265. package/dist/ui-library/assets/pictograms/lab.svg +1 -0
  1266. package/dist/ui-library/assets/pictograms/labyrinth.svg +1 -0
  1267. package/dist/ui-library/assets/pictograms/laptop-outline.svg +1 -0
  1268. package/dist/ui-library/assets/pictograms/leaf.svg +1 -0
  1269. package/dist/ui-library/assets/pictograms/lightbulb.svg +1 -0
  1270. package/dist/ui-library/assets/pictograms/lighthouse.svg +1 -0
  1271. package/dist/ui-library/assets/pictograms/like.svg +1 -0
  1272. package/dist/ui-library/assets/pictograms/lines.svg +1 -0
  1273. package/dist/ui-library/assets/pictograms/liquid.svg +1 -0
  1274. package/dist/ui-library/assets/pictograms/lock.svg +1 -0
  1275. package/dist/ui-library/assets/pictograms/london.svg +1 -0
  1276. package/dist/ui-library/assets/pictograms/lounge.svg +1 -0
  1277. package/dist/ui-library/assets/pictograms/lunch-learn.svg +1 -0
  1278. package/dist/ui-library/assets/pictograms/machine-learning.svg +1 -0
  1279. package/dist/ui-library/assets/pictograms/mail-copy.svg +1 -0
  1280. package/dist/ui-library/assets/pictograms/mail.svg +1 -0
  1281. package/dist/ui-library/assets/pictograms/map-marker.svg +1 -0
  1282. package/dist/ui-library/assets/pictograms/map.svg +1 -0
  1283. package/dist/ui-library/assets/pictograms/markets.svg +1 -0
  1284. package/dist/ui-library/assets/pictograms/megaphone.svg +1 -0
  1285. package/dist/ui-library/assets/pictograms/menu.svg +1 -0
  1286. package/dist/ui-library/assets/pictograms/micro-payments.svg +1 -0
  1287. package/dist/ui-library/assets/pictograms/microphone.svg +1 -0
  1288. package/dist/ui-library/assets/pictograms/minus.svg +1 -0
  1289. package/dist/ui-library/assets/pictograms/mobile-payment.svg +1 -0
  1290. package/dist/ui-library/assets/pictograms/mobile-terminal.svg +1 -0
  1291. package/dist/ui-library/assets/pictograms/monitoring.svg +1 -0
  1292. package/dist/ui-library/assets/pictograms/more.svg +1 -0
  1293. package/dist/ui-library/assets/pictograms/mountain.svg +1 -0
  1294. package/dist/ui-library/assets/pictograms/movie-camera.svg +1 -0
  1295. package/dist/ui-library/assets/pictograms/navigation.svg +1 -0
  1296. package/dist/ui-library/assets/pictograms/no-smoking.svg +1 -0
  1297. package/dist/ui-library/assets/pictograms/office.svg +1 -0
  1298. package/dist/ui-library/assets/pictograms/outsorcing.svg +1 -0
  1299. package/dist/ui-library/assets/pictograms/package.svg +1 -0
  1300. package/dist/ui-library/assets/pictograms/paddle.svg +1 -0
  1301. package/dist/ui-library/assets/pictograms/paninoteca.svg +1 -0
  1302. package/dist/ui-library/assets/pictograms/paragraph.svg +1 -0
  1303. package/dist/ui-library/assets/pictograms/paris.svg +1 -0
  1304. package/dist/ui-library/assets/pictograms/parking.svg +1 -0
  1305. package/dist/ui-library/assets/pictograms/pause.svg +1 -0
  1306. package/dist/ui-library/assets/pictograms/pay-points.svg +1 -0
  1307. package/dist/ui-library/assets/pictograms/pencil.svg +1 -0
  1308. package/dist/ui-library/assets/pictograms/person-business.svg +1 -0
  1309. package/dist/ui-library/assets/pictograms/person-callcenter.svg +1 -0
  1310. package/dist/ui-library/assets/pictograms/person-client.svg +1 -0
  1311. package/dist/ui-library/assets/pictograms/person-group.svg +1 -0
  1312. package/dist/ui-library/assets/pictograms/person.svg +1 -0
  1313. package/dist/ui-library/assets/pictograms/pet.svg +1 -0
  1314. package/dist/ui-library/assets/pictograms/piechart.svg +1 -0
  1315. package/dist/ui-library/assets/pictograms/pig.svg +1 -0
  1316. package/dist/ui-library/assets/pictograms/piggy-bank.svg +1 -0
  1317. package/dist/ui-library/assets/pictograms/planet.svg +1 -0
  1318. package/dist/ui-library/assets/pictograms/play.svg +1 -0
  1319. package/dist/ui-library/assets/pictograms/plus.svg +1 -0
  1320. package/dist/ui-library/assets/pictograms/popsicle.svg +1 -0
  1321. package/dist/ui-library/assets/pictograms/printer.svg +1 -0
  1322. package/dist/ui-library/assets/pictograms/privacy.svg +1 -0
  1323. package/dist/ui-library/assets/pictograms/process.svg +1 -0
  1324. package/dist/ui-library/assets/pictograms/projector.svg +1 -0
  1325. package/dist/ui-library/assets/pictograms/psp.svg +1 -0
  1326. package/dist/ui-library/assets/pictograms/punch-card.svg +1 -0
  1327. package/dist/ui-library/assets/pictograms/puzzle.svg +1 -0
  1328. package/dist/ui-library/assets/pictograms/qr-scanner.svg +1 -0
  1329. package/dist/ui-library/assets/pictograms/qr.svg +1 -0
  1330. package/dist/ui-library/assets/pictograms/question.svg +1 -0
  1331. package/dist/ui-library/assets/pictograms/rabbit.svg +1 -0
  1332. package/dist/ui-library/assets/pictograms/rain.svg +1 -0
  1333. package/dist/ui-library/assets/pictograms/realtime.svg +1 -0
  1334. package/dist/ui-library/assets/pictograms/recurring-payments.svg +1 -0
  1335. package/dist/ui-library/assets/pictograms/relaxing.svg +1 -0
  1336. package/dist/ui-library/assets/pictograms/reporting.svg +1 -0
  1337. package/dist/ui-library/assets/pictograms/responsive-design.svg +1 -0
  1338. package/dist/ui-library/assets/pictograms/robo-advisor.svg +1 -0
  1339. package/dist/ui-library/assets/pictograms/robotics.svg +1 -0
  1340. package/dist/ui-library/assets/pictograms/rock.svg +1 -0
  1341. package/dist/ui-library/assets/pictograms/rocket.svg +1 -0
  1342. package/dist/ui-library/assets/pictograms/rss.svg +1 -0
  1343. package/dist/ui-library/assets/pictograms/sad.svg +1 -0
  1344. package/dist/ui-library/assets/pictograms/sailboat.svg +1 -0
  1345. package/dist/ui-library/assets/pictograms/scales.svg +1 -0
  1346. package/dist/ui-library/assets/pictograms/screen.svg +1 -0
  1347. package/dist/ui-library/assets/pictograms/seal.svg +1 -0
  1348. package/dist/ui-library/assets/pictograms/search.svg +1 -0
  1349. package/dist/ui-library/assets/pictograms/sentiment-dissatisfied.svg +1 -0
  1350. package/dist/ui-library/assets/pictograms/server.svg +1 -0
  1351. package/dist/ui-library/assets/pictograms/service-center.svg +1 -0
  1352. package/dist/ui-library/assets/pictograms/sextant.svg +1 -0
  1353. package/dist/ui-library/assets/pictograms/share.svg +1 -0
  1354. package/dist/ui-library/assets/pictograms/shield.svg +1 -0
  1355. package/dist/ui-library/assets/pictograms/shop.svg +1 -0
  1356. package/dist/ui-library/assets/pictograms/shopping-cart-chf.svg +1 -0
  1357. package/dist/ui-library/assets/pictograms/shopping-cart-download.svg +1 -0
  1358. package/dist/ui-library/assets/pictograms/shopping-cart.svg +1 -0
  1359. package/dist/ui-library/assets/pictograms/signal.svg +1 -0
  1360. package/dist/ui-library/assets/pictograms/simple-integration.svg +1 -0
  1361. package/dist/ui-library/assets/pictograms/skull.svg +1 -0
  1362. package/dist/ui-library/assets/pictograms/smoking.svg +1 -0
  1363. package/dist/ui-library/assets/pictograms/snow.svg +1 -0
  1364. package/dist/ui-library/assets/pictograms/snowflake.svg +1 -0
  1365. package/dist/ui-library/assets/pictograms/snowman.svg +1 -0
  1366. package/dist/ui-library/assets/pictograms/soc.svg +1 -0
  1367. package/dist/ui-library/assets/pictograms/social-days.svg +1 -0
  1368. package/dist/ui-library/assets/pictograms/social-trading.svg +1 -0
  1369. package/dist/ui-library/assets/pictograms/softwarepackage.svg +1 -0
  1370. package/dist/ui-library/assets/pictograms/sound.svg +1 -0
  1371. package/dist/ui-library/assets/pictograms/speechbubble.svg +1 -0
  1372. package/dist/ui-library/assets/pictograms/spirit.svg +1 -0
  1373. package/dist/ui-library/assets/pictograms/split.svg +1 -0
  1374. package/dist/ui-library/assets/pictograms/stability.svg +1 -0
  1375. package/dist/ui-library/assets/pictograms/stairs.svg +1 -0
  1376. package/dist/ui-library/assets/pictograms/star.svg +1 -0
  1377. package/dist/ui-library/assets/pictograms/statistic.svg +1 -0
  1378. package/dist/ui-library/assets/pictograms/stock.svg +1 -0
  1379. package/dist/ui-library/assets/pictograms/stocks.svg +1 -0
  1380. package/dist/ui-library/assets/pictograms/stop.svg +1 -0
  1381. package/dist/ui-library/assets/pictograms/stopwatch.svg +1 -0
  1382. package/dist/ui-library/assets/pictograms/storage.svg +1 -0
  1383. package/dist/ui-library/assets/pictograms/success.svg +1 -0
  1384. package/dist/ui-library/assets/pictograms/suitcase.svg +1 -0
  1385. package/dist/ui-library/assets/pictograms/sun.svg +1 -0
  1386. package/dist/ui-library/assets/pictograms/surveillance.svg +1 -0
  1387. package/dist/ui-library/assets/pictograms/swiss.svg +1 -0
  1388. package/dist/ui-library/assets/pictograms/tablet.svg +1 -0
  1389. package/dist/ui-library/assets/pictograms/tachometer.svg +1 -0
  1390. package/dist/ui-library/assets/pictograms/target.svg +1 -0
  1391. package/dist/ui-library/assets/pictograms/telephone.svg +1 -0
  1392. package/dist/ui-library/assets/pictograms/telescope.svg +1 -0
  1393. package/dist/ui-library/assets/pictograms/temperature.svg +1 -0
  1394. package/dist/ui-library/assets/pictograms/terminal.svg +1 -0
  1395. package/dist/ui-library/assets/pictograms/ticket.svg +1 -0
  1396. package/dist/ui-library/assets/pictograms/tin.svg +1 -0
  1397. package/dist/ui-library/assets/pictograms/tokenization.svg +1 -0
  1398. package/dist/ui-library/assets/pictograms/tool.svg +1 -0
  1399. package/dist/ui-library/assets/pictograms/touch.svg +1 -0
  1400. package/dist/ui-library/assets/pictograms/train.svg +1 -0
  1401. package/dist/ui-library/assets/pictograms/trash.svg +1 -0
  1402. package/dist/ui-library/assets/pictograms/umbrella.svg +1 -0
  1403. package/dist/ui-library/assets/pictograms/unlock.svg +1 -0
  1404. package/dist/ui-library/assets/pictograms/upload.svg +1 -0
  1405. package/dist/ui-library/assets/pictograms/usb.svg +1 -0
  1406. package/dist/ui-library/assets/pictograms/viena.svg +1 -0
  1407. package/dist/ui-library/assets/pictograms/viking.svg +1 -0
  1408. package/dist/ui-library/assets/pictograms/visibility.svg +1 -0
  1409. package/dist/ui-library/assets/pictograms/wallet.svg +1 -0
  1410. package/dist/ui-library/assets/pictograms/warning.svg +1 -0
  1411. package/dist/ui-library/assets/pictograms/way-up.svg +1 -0
  1412. package/dist/ui-library/assets/pictograms/wc-handicap.svg +1 -0
  1413. package/dist/ui-library/assets/pictograms/wc-men.svg +1 -0
  1414. package/dist/ui-library/assets/pictograms/wc-woman.svg +1 -0
  1415. package/dist/ui-library/assets/pictograms/wearables.svg +1 -0
  1416. package/dist/ui-library/assets/pictograms/webshop.svg +1 -0
  1417. package/dist/ui-library/assets/pictograms/wlan-bluetooth.svg +1 -0
  1418. package/dist/ui-library/assets/pictograms/wlan.svg +1 -0
  1419. package/dist/ui-library/assets/pictograms/x.svg +1 -0
  1420. package/dist/ui-library/assets/pictograms/zurich.svg +1 -0
  1421. package/dist/ui-library/files/material-icons-latin-400-normal.woff +0 -0
  1422. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
  1423. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  1424. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
  1425. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  1426. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
  1427. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  1428. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
  1429. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  1430. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
  1431. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  1432. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
  1433. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  1434. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
  1435. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  1436. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
  1437. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  1438. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
  1439. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  1440. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
  1441. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  1442. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
  1443. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  1444. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
  1445. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  1446. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
  1447. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  1448. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
  1449. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  1450. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
  1451. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  1452. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
  1453. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  1454. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
  1455. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  1456. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
  1457. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  1458. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  1459. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  1460. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  1461. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  1462. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  1463. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  1464. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  1465. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  1466. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  1467. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  1468. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  1469. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  1470. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  1471. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  1472. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  1473. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  1474. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  1475. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  1476. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  1477. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  1478. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  1479. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  1480. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  1481. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  1482. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  1483. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  1484. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  1485. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  1486. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  1487. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  1488. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  1489. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  1490. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  1491. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  1492. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  1493. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  1494. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
  1495. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  1496. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
  1497. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  1498. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
  1499. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  1500. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
  1501. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  1502. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
  1503. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  1504. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
  1505. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  1506. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
  1507. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  1508. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
  1509. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  1510. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
  1511. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  1512. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
  1513. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  1514. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
  1515. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  1516. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
  1517. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  1518. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
  1519. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  1520. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
  1521. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  1522. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
  1523. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  1524. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
  1525. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  1526. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
  1527. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  1528. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
  1529. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  1530. package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
  1531. package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
  1532. package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
  1533. package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
  1534. package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
  1535. package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
  1536. package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
  1537. package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
  1538. package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
  1539. package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
  1540. package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
  1541. package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
  1542. package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
  1543. package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
  1544. package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
  1545. package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
  1546. package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
  1547. package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
  1548. package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
  1549. package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
  1550. package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
  1551. package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
  1552. package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
  1553. package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
  1554. package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
  1555. package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
  1556. package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
  1557. package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
  1558. package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
  1559. package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
  1560. package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
  1561. package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
  1562. package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
  1563. package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
  1564. package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
  1565. package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
  1566. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
  1567. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  1568. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
  1569. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  1570. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
  1571. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  1572. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
  1573. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  1574. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
  1575. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  1576. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
  1577. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  1578. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
  1579. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  1580. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
  1581. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  1582. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
  1583. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  1584. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
  1585. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  1586. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
  1587. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  1588. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
  1589. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  1590. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
  1591. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  1592. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
  1593. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  1594. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
  1595. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  1596. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
  1597. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  1598. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
  1599. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  1600. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
  1601. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  1602. package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
  1603. package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
  1604. package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
  1605. package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
  1606. package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
  1607. package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
  1608. package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
  1609. package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
  1610. package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
  1611. package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
  1612. package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
  1613. package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
  1614. package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
  1615. package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
  1616. package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
  1617. package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
  1618. package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
  1619. package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
  1620. package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
  1621. package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
  1622. package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
  1623. package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
  1624. package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
  1625. package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
  1626. package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
  1627. package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
  1628. package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
  1629. package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
  1630. package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
  1631. package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
  1632. package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
  1633. package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
  1634. package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
  1635. package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
  1636. package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
  1637. package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
  1638. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
  1639. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  1640. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
  1641. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  1642. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
  1643. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  1644. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
  1645. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  1646. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
  1647. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  1648. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
  1649. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  1650. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
  1651. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  1652. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
  1653. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  1654. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
  1655. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  1656. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
  1657. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  1658. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
  1659. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  1660. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
  1661. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  1662. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
  1663. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  1664. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
  1665. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  1666. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
  1667. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  1668. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
  1669. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  1670. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
  1671. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  1672. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
  1673. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  1674. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
  1675. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  1676. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
  1677. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  1678. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
  1679. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  1680. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
  1681. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  1682. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
  1683. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  1684. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
  1685. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  1686. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
  1687. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  1688. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
  1689. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  1690. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
  1691. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  1692. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
  1693. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  1694. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
  1695. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  1696. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
  1697. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  1698. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
  1699. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  1700. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
  1701. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  1702. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
  1703. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  1704. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
  1705. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  1706. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
  1707. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  1708. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
  1709. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  1710. package/dist/ui-library/index.esm.js.map +1 -1
  1711. package/dist/ui-library/p-06ba4450.js.map +1 -1
  1712. package/dist/ui-library/p-0cebf1d2.js.map +1 -1
  1713. package/dist/ui-library/p-0e3be65b.entry.js +2 -0
  1714. package/dist/ui-library/p-0e3be65b.entry.js.map +1 -0
  1715. package/dist/ui-library/p-0ea87016.entry.js +2 -0
  1716. package/dist/ui-library/p-0ea87016.entry.js.map +1 -0
  1717. package/dist/ui-library/p-107c1cc9.entry.js +2 -0
  1718. package/dist/ui-library/p-107c1cc9.entry.js.map +1 -0
  1719. package/dist/ui-library/p-119e0252.entry.js +2 -0
  1720. package/dist/ui-library/p-119e0252.entry.js.map +1 -0
  1721. package/dist/ui-library/p-2ad904a7.entry.js +2 -0
  1722. package/dist/ui-library/p-2ad904a7.entry.js.map +1 -0
  1723. package/dist/ui-library/p-2dda9f79.entry.js +2 -0
  1724. package/dist/ui-library/p-2dda9f79.entry.js.map +1 -0
  1725. package/dist/ui-library/p-30000e86.entry.js +2 -0
  1726. package/dist/ui-library/p-30000e86.entry.js.map +1 -0
  1727. package/dist/ui-library/p-31dc219a.entry.js +2 -0
  1728. package/dist/ui-library/p-31dc219a.entry.js.map +1 -0
  1729. package/dist/ui-library/p-3362f0a6.entry.js +2 -0
  1730. package/dist/ui-library/p-3362f0a6.entry.js.map +1 -0
  1731. package/dist/ui-library/p-33eff94d.entry.js +2 -0
  1732. package/dist/ui-library/p-33eff94d.entry.js.map +1 -0
  1733. package/dist/ui-library/p-38dca7f5.entry.js +2 -0
  1734. package/dist/ui-library/p-38dca7f5.entry.js.map +1 -0
  1735. package/dist/ui-library/p-3dde8246.entry.js +2 -0
  1736. package/dist/ui-library/p-3dde8246.entry.js.map +1 -0
  1737. package/dist/ui-library/p-3de9f1dd.entry.js +2 -0
  1738. package/dist/ui-library/p-3de9f1dd.entry.js.map +1 -0
  1739. package/dist/ui-library/p-42cd3588.entry.js +2 -0
  1740. package/dist/ui-library/p-42cd3588.entry.js.map +1 -0
  1741. package/dist/ui-library/p-4777053f.entry.js +2 -0
  1742. package/dist/ui-library/p-4777053f.entry.js.map +1 -0
  1743. package/dist/ui-library/p-48118ce8.js +3 -0
  1744. package/dist/ui-library/p-48118ce8.js.map +1 -0
  1745. package/dist/ui-library/p-484f68f9.entry.js +2 -0
  1746. package/dist/ui-library/p-484f68f9.entry.js.map +1 -0
  1747. package/dist/ui-library/p-4eb49fc9.entry.js +2 -0
  1748. package/dist/ui-library/p-4eb49fc9.entry.js.map +1 -0
  1749. package/dist/ui-library/p-4edde816.entry.js +2 -0
  1750. package/dist/ui-library/p-4edde816.entry.js.map +1 -0
  1751. package/dist/ui-library/p-5236fc59.entry.js +2 -0
  1752. package/dist/ui-library/p-5236fc59.entry.js.map +1 -0
  1753. package/dist/ui-library/p-5442fd21.entry.js +2 -0
  1754. package/dist/ui-library/p-5442fd21.entry.js.map +1 -0
  1755. package/dist/ui-library/p-54713ac9.entry.js +2 -0
  1756. package/dist/ui-library/p-54713ac9.entry.js.map +1 -0
  1757. package/dist/ui-library/p-59c4dc13.entry.js +2 -0
  1758. package/dist/ui-library/p-59c4dc13.entry.js.map +1 -0
  1759. package/dist/ui-library/p-651293e7.js +2 -0
  1760. package/dist/ui-library/p-651293e7.js.map +1 -0
  1761. package/dist/ui-library/p-663ac8f4.entry.js +2 -0
  1762. package/dist/ui-library/p-663ac8f4.entry.js.map +1 -0
  1763. package/dist/ui-library/p-70fac778.entry.js +2 -0
  1764. package/dist/ui-library/p-70fac778.entry.js.map +1 -0
  1765. package/dist/ui-library/p-7afdff5c.entry.js +2 -0
  1766. package/dist/ui-library/p-7afdff5c.entry.js.map +1 -0
  1767. package/dist/ui-library/p-7b413e80.entry.js +2 -0
  1768. package/dist/ui-library/p-7b413e80.entry.js.map +1 -0
  1769. package/dist/ui-library/p-7f3769d0.entry.js +2 -0
  1770. package/dist/ui-library/p-7f3769d0.entry.js.map +1 -0
  1771. package/dist/ui-library/p-7f856f00.js.map +1 -1
  1772. package/dist/ui-library/p-801c8ff4.entry.js +2 -0
  1773. package/dist/ui-library/p-801c8ff4.entry.js.map +1 -0
  1774. package/dist/ui-library/p-8227aaed.js.map +1 -1
  1775. package/dist/ui-library/p-842b492e.js.map +1 -1
  1776. package/dist/ui-library/p-862d474e.js.map +1 -1
  1777. package/dist/ui-library/p-8837e3fc.entry.js +2 -0
  1778. package/dist/ui-library/p-8837e3fc.entry.js.map +1 -0
  1779. package/dist/ui-library/p-88f4177a.entry.js +2 -0
  1780. package/dist/ui-library/p-88f4177a.entry.js.map +1 -0
  1781. package/dist/ui-library/p-8bfb4bfc.js.map +1 -1
  1782. package/dist/ui-library/p-8d0d99c9.entry.js +2 -0
  1783. package/dist/ui-library/p-8d0d99c9.entry.js.map +1 -0
  1784. package/dist/ui-library/p-90462eea.entry.js +2 -0
  1785. package/dist/ui-library/p-90462eea.entry.js.map +1 -0
  1786. package/dist/ui-library/p-99c8138a.entry.js +2 -0
  1787. package/dist/ui-library/p-99c8138a.entry.js.map +1 -0
  1788. package/dist/ui-library/p-9af41a65.entry.js +2 -0
  1789. package/dist/ui-library/p-9af41a65.entry.js.map +1 -0
  1790. package/dist/ui-library/p-9c40c714.entry.js +2 -0
  1791. package/dist/ui-library/p-9c40c714.entry.js.map +1 -0
  1792. package/dist/ui-library/p-a04460e3.js +2 -0
  1793. package/dist/ui-library/p-a04460e3.js.map +1 -0
  1794. package/dist/ui-library/p-a1502802.js.map +1 -1
  1795. package/dist/ui-library/p-a480590a.entry.js +2 -0
  1796. package/dist/ui-library/p-a480590a.entry.js.map +1 -0
  1797. package/dist/ui-library/p-aa980af9.entry.js +2 -0
  1798. package/dist/ui-library/p-aa980af9.entry.js.map +1 -0
  1799. package/dist/ui-library/p-b361d5da.entry.js +2 -0
  1800. package/dist/ui-library/p-b361d5da.entry.js.map +1 -0
  1801. package/dist/ui-library/p-b5f193e8.entry.js +2 -0
  1802. package/dist/ui-library/p-b5f193e8.entry.js.map +1 -0
  1803. package/dist/ui-library/p-b8b15329.entry.js +2 -0
  1804. package/dist/ui-library/p-b8b15329.entry.js.map +1 -0
  1805. package/dist/ui-library/p-c4045cb9.entry.js +2 -0
  1806. package/dist/ui-library/p-c4045cb9.entry.js.map +1 -0
  1807. package/dist/ui-library/p-c656cbbe.entry.js +2 -0
  1808. package/dist/ui-library/p-c656cbbe.entry.js.map +1 -0
  1809. package/dist/ui-library/p-c71f6a4d.entry.js +2 -0
  1810. package/dist/ui-library/p-c71f6a4d.entry.js.map +1 -0
  1811. package/dist/ui-library/p-c7860973.entry.js +2 -0
  1812. package/dist/ui-library/p-c7860973.entry.js.map +1 -0
  1813. package/dist/ui-library/p-cc5d6ffb.entry.js +2 -0
  1814. package/dist/ui-library/p-cc5d6ffb.entry.js.map +1 -0
  1815. package/dist/ui-library/p-cdc9224d.entry.js +2 -0
  1816. package/dist/ui-library/p-cdc9224d.entry.js.map +1 -0
  1817. package/dist/ui-library/p-d18354fa.entry.js +2 -0
  1818. package/dist/ui-library/p-d18354fa.entry.js.map +1 -0
  1819. package/dist/ui-library/p-d5ea5ee3.entry.js +2 -0
  1820. package/dist/ui-library/p-d5ea5ee3.entry.js.map +1 -0
  1821. package/dist/ui-library/p-df01fb64.entry.js +2 -0
  1822. package/dist/ui-library/p-df01fb64.entry.js.map +1 -0
  1823. package/dist/ui-library/p-e080d5b6.js.map +1 -1
  1824. package/dist/ui-library/p-e1255160.js +2 -0
  1825. package/dist/ui-library/p-e1255160.js.map +1 -0
  1826. package/dist/ui-library/p-e9462085.entry.js +2 -0
  1827. package/dist/ui-library/p-e9462085.entry.js.map +1 -0
  1828. package/dist/ui-library/p-ed371177.entry.js +2 -0
  1829. package/dist/ui-library/p-ed371177.entry.js.map +1 -0
  1830. package/dist/ui-library/p-f136a6b2.js.map +1 -1
  1831. package/dist/ui-library/p-f206cd87.entry.js +2 -0
  1832. package/dist/ui-library/p-f206cd87.entry.js.map +1 -0
  1833. package/dist/ui-library/p-f5145520.entry.js +2 -0
  1834. package/dist/ui-library/p-f5145520.entry.js.map +1 -0
  1835. package/dist/ui-library/p-f90411a2.entry.js +2 -0
  1836. package/dist/ui-library/p-f90411a2.entry.js.map +1 -0
  1837. package/dist/ui-library/ui-library.css +1 -1
  1838. package/dist/ui-library/ui-library.esm.js +1 -1
  1839. package/dist/ui-library/ui-library.esm.js.map +1 -1
  1840. package/loader/cdn.js +1 -3
  1841. package/loader/index.cjs.js +1 -3
  1842. package/loader/index.d.ts +3 -0
  1843. package/loader/index.es2017.js +1 -3
  1844. package/loader/index.js +1 -3
  1845. package/package.json +10 -21
  1846. package/dist/cjs/form-control-72186fcc.js +0 -36
  1847. package/dist/cjs/form-control-72186fcc.js.map +0 -1
  1848. package/dist/cjs/index-5dd19c4b.js +0 -2686
  1849. package/dist/cjs/index-5dd19c4b.js.map +0 -1
  1850. package/dist/cjs/modal-3ce015be.js +0 -52
  1851. package/dist/cjs/modal-3ce015be.js.map +0 -1
  1852. package/dist/cjs/set-attributes_2.cjs.entry.js +0 -73
  1853. package/dist/cjs/set-attributes_2.cjs.entry.js.map +0 -1
  1854. package/dist/collection/components/six-alert/test/six-alert.spec.js +0 -25
  1855. package/dist/collection/components/six-alert/test/six-alert.spec.js.map +0 -1
  1856. package/dist/collection/components/six-avatar/test/six-avatar.spec.js +0 -26
  1857. package/dist/collection/components/six-avatar/test/six-avatar.spec.js.map +0 -1
  1858. package/dist/collection/components/six-badge/test/six-badge.spec.js +0 -20
  1859. package/dist/collection/components/six-badge/test/six-badge.spec.js.map +0 -1
  1860. package/dist/collection/components/six-button/test/six-button.spec.js +0 -69
  1861. package/dist/collection/components/six-button/test/six-button.spec.js.map +0 -1
  1862. package/dist/collection/components/six-card/test/six-card.spec.js +0 -18
  1863. package/dist/collection/components/six-card/test/six-card.spec.js.map +0 -1
  1864. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +0 -83
  1865. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +0 -1
  1866. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +0 -26
  1867. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +0 -1
  1868. package/dist/collection/components/six-details/test/six-details.spec.js +0 -36
  1869. package/dist/collection/components/six-details/test/six-details.spec.js.map +0 -1
  1870. package/dist/collection/components/six-dialog/test/six-dialog.spec.js +0 -34
  1871. package/dist/collection/components/six-dialog/test/six-dialog.spec.js.map +0 -1
  1872. package/dist/collection/components/six-drawer/test/six-drawer.spec.js +0 -34
  1873. package/dist/collection/components/six-drawer/test/six-drawer.spec.js.map +0 -1
  1874. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +0 -147
  1875. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +0 -1
  1876. package/dist/collection/components/six-error-page/test/six-error-page.spec.js +0 -240
  1877. package/dist/collection/components/six-error-page/test/six-error-page.spec.js.map +0 -1
  1878. package/dist/collection/components/six-file-list/test/six-file-list.spec.js +0 -67
  1879. package/dist/collection/components/six-file-list/test/six-file-list.spec.js.map +0 -1
  1880. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js +0 -169
  1881. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js.map +0 -1
  1882. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +0 -103
  1883. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +0 -1
  1884. package/dist/collection/components/six-footer/test/six-footer.spec.js +0 -21
  1885. package/dist/collection/components/six-footer/test/six-footer.spec.js.map +0 -1
  1886. package/dist/collection/components/six-group-label/test/six-group-label.spec.js +0 -45
  1887. package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +0 -1
  1888. package/dist/collection/components/six-header/assets/six-logo.svg +0 -1
  1889. package/dist/collection/components/six-header/test/six-header.spec.js +0 -177
  1890. package/dist/collection/components/six-header/test/six-header.spec.js.map +0 -1
  1891. package/dist/collection/components/six-icon/test/six-icon.spec.js +0 -20
  1892. package/dist/collection/components/six-icon/test/six-icon.spec.js.map +0 -1
  1893. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js +0 -23
  1894. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js.map +0 -1
  1895. package/dist/collection/components/six-input/test/six-input.spec.js +0 -39
  1896. package/dist/collection/components/six-input/test/six-input.spec.js.map +0 -1
  1897. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js +0 -90
  1898. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js.map +0 -1
  1899. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +0 -196
  1900. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +0 -1
  1901. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js +0 -18
  1902. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js.map +0 -1
  1903. package/dist/collection/components/six-main-container/test/six-main-container.spec.js +0 -22
  1904. package/dist/collection/components/six-main-container/test/six-main-container.spec.js.map +0 -1
  1905. package/dist/collection/components/six-menu/test/six-menu.spec.js +0 -93
  1906. package/dist/collection/components/six-menu/test/six-menu.spec.js.map +0 -1
  1907. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js +0 -18
  1908. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js.map +0 -1
  1909. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js +0 -33
  1910. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js.map +0 -1
  1911. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js +0 -20
  1912. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js.map +0 -1
  1913. package/dist/collection/components/six-picto/test/six-picto.spec.js +0 -33
  1914. package/dist/collection/components/six-picto/test/six-picto.spec.js.map +0 -1
  1915. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js +0 -24
  1916. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js.map +0 -1
  1917. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js +0 -26
  1918. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js.map +0 -1
  1919. package/dist/collection/components/six-radio/test/six-radio.spec.js +0 -63
  1920. package/dist/collection/components/six-radio/test/six-radio.spec.js.map +0 -1
  1921. package/dist/collection/components/six-range/test/six-range.spec.js +0 -34
  1922. package/dist/collection/components/six-range/test/six-range.spec.js.map +0 -1
  1923. package/dist/collection/components/six-root/test/six-root.spec.js +0 -43
  1924. package/dist/collection/components/six-root/test/six-root.spec.js.map +0 -1
  1925. package/dist/collection/components/six-search-field/test/six-search-field.spec.js +0 -22
  1926. package/dist/collection/components/six-search-field/test/six-search-field.spec.js.map +0 -1
  1927. package/dist/collection/components/six-select/test/six-select.spec.js +0 -102
  1928. package/dist/collection/components/six-select/test/six-select.spec.js.map +0 -1
  1929. package/dist/collection/components/six-select/test/util.spec.js +0 -81
  1930. package/dist/collection/components/six-select/test/util.spec.js.map +0 -1
  1931. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js +0 -22
  1932. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js.map +0 -1
  1933. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js +0 -50
  1934. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js.map +0 -1
  1935. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +0 -53
  1936. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +0 -1
  1937. package/dist/collection/components/six-spinner/test/six-spinner.spec.js +0 -37
  1938. package/dist/collection/components/six-spinner/test/six-spinner.spec.js.map +0 -1
  1939. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js +0 -117
  1940. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js.map +0 -1
  1941. package/dist/collection/components/six-switch/test/six-switch.spec.js +0 -73
  1942. package/dist/collection/components/six-switch/test/six-switch.spec.js.map +0 -1
  1943. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js +0 -20
  1944. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js.map +0 -1
  1945. package/dist/collection/components/six-tag/test/six-tag.spec.js +0 -54
  1946. package/dist/collection/components/six-tag/test/six-tag.spec.js.map +0 -1
  1947. package/dist/collection/components/six-textarea/test/six-textarea.spec.js +0 -119
  1948. package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +0 -1
  1949. package/dist/collection/components/six-tile/test/six-tile.spec.js +0 -69
  1950. package/dist/collection/components/six-tile/test/six-tile.spec.js.map +0 -1
  1951. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +0 -496
  1952. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +0 -1
  1953. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js +0 -28
  1954. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js.map +0 -1
  1955. package/dist/collection/files/file-list.json +0 -308
  1956. package/dist/collection/files/noto-sans-all-100-italic.woff +0 -0
  1957. package/dist/collection/files/noto-sans-all-100-normal.woff +0 -0
  1958. package/dist/collection/files/noto-sans-all-200-italic.woff +0 -0
  1959. package/dist/collection/files/noto-sans-all-200-normal.woff +0 -0
  1960. package/dist/collection/files/noto-sans-all-300-italic.woff +0 -0
  1961. package/dist/collection/files/noto-sans-all-300-normal.woff +0 -0
  1962. package/dist/collection/files/noto-sans-all-400-italic.woff +0 -0
  1963. package/dist/collection/files/noto-sans-all-400-normal.woff +0 -0
  1964. package/dist/collection/files/noto-sans-all-500-italic.woff +0 -0
  1965. package/dist/collection/files/noto-sans-all-500-normal.woff +0 -0
  1966. package/dist/collection/files/noto-sans-all-600-italic.woff +0 -0
  1967. package/dist/collection/files/noto-sans-all-600-normal.woff +0 -0
  1968. package/dist/collection/files/noto-sans-all-700-italic.woff +0 -0
  1969. package/dist/collection/files/noto-sans-all-700-normal.woff +0 -0
  1970. package/dist/collection/files/noto-sans-all-800-italic.woff +0 -0
  1971. package/dist/collection/files/noto-sans-all-800-normal.woff +0 -0
  1972. package/dist/collection/files/noto-sans-all-900-italic.woff +0 -0
  1973. package/dist/collection/files/noto-sans-all-900-normal.woff +0 -0
  1974. package/dist/collection/material-icons-round.woff +0 -0
  1975. package/dist/collection/material-icons-round.woff2 +0 -0
  1976. package/dist/collection/material-icons-sharp.woff +0 -0
  1977. package/dist/collection/material-icons-sharp.woff2 +0 -0
  1978. package/dist/collection/material-icons-two-tone.woff +0 -0
  1979. package/dist/collection/material-icons-two-tone.woff2 +0 -0
  1980. package/dist/collection/material-icons.css +0 -124
  1981. package/dist/collection/material-icons.scss +0 -5
  1982. package/dist/collection/material-icons.woff +0 -0
  1983. package/dist/collection/utils/date-util.spec.js +0 -995
  1984. package/dist/collection/utils/date-util.spec.js.map +0 -1
  1985. package/dist/collection/utils/scroll.spec.js +0 -122
  1986. package/dist/collection/utils/scroll.spec.js.map +0 -1
  1987. package/dist/collection/utils/support.js +0 -16
  1988. package/dist/collection/utils/support.js.map +0 -1
  1989. package/dist/collection/utils/time.util.spec.js +0 -368
  1990. package/dist/collection/utils/time.util.spec.js.map +0 -1
  1991. package/dist/collection/wrappers/set-attributes/set-attributes.js +0 -74
  1992. package/dist/collection/wrappers/set-attributes/set-attributes.js.map +0 -1
  1993. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js +0 -16
  1994. package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js.map +0 -1
  1995. package/dist/components/set-attributes.d.ts +0 -11
  1996. package/dist/components/set-attributes.js +0 -8
  1997. package/dist/components/set-attributes.js.map +0 -1
  1998. package/dist/components/set-attributes2.js +0 -73
  1999. package/dist/components/set-attributes2.js.map +0 -1
  2000. package/dist/esm/form-control-77fcccd0.js +0 -34
  2001. package/dist/esm/form-control-77fcccd0.js.map +0 -1
  2002. package/dist/esm/index-6c10d50b.js +0 -2657
  2003. package/dist/esm/index-6c10d50b.js.map +0 -1
  2004. package/dist/esm/modal-96526245.js +0 -49
  2005. package/dist/esm/modal-96526245.js.map +0 -1
  2006. package/dist/esm/polyfills/core-js.js +0 -11
  2007. package/dist/esm/polyfills/dom.js +0 -79
  2008. package/dist/esm/polyfills/es5-html-element.js +0 -1
  2009. package/dist/esm/polyfills/index.js +0 -34
  2010. package/dist/esm/polyfills/system.js +0 -6
  2011. package/dist/esm/set-attributes_2.entry.js +0 -68
  2012. package/dist/esm/set-attributes_2.entry.js.map +0 -1
  2013. package/dist/types/utils/support.d.ts +0 -1
  2014. package/dist/types/wrappers/set-attributes/set-attributes.d.ts +0 -9
  2015. package/dist/ui-library/assets/six-logo.svg +0 -1
  2016. package/dist/ui-library/files/file-list.json +0 -308
  2017. package/dist/ui-library/files/noto-sans-all-100-italic.woff +0 -0
  2018. package/dist/ui-library/files/noto-sans-all-100-normal.woff +0 -0
  2019. package/dist/ui-library/files/noto-sans-all-200-italic.woff +0 -0
  2020. package/dist/ui-library/files/noto-sans-all-200-normal.woff +0 -0
  2021. package/dist/ui-library/files/noto-sans-all-300-italic.woff +0 -0
  2022. package/dist/ui-library/files/noto-sans-all-300-normal.woff +0 -0
  2023. package/dist/ui-library/files/noto-sans-all-400-italic.woff +0 -0
  2024. package/dist/ui-library/files/noto-sans-all-400-normal.woff +0 -0
  2025. package/dist/ui-library/files/noto-sans-all-500-italic.woff +0 -0
  2026. package/dist/ui-library/files/noto-sans-all-500-normal.woff +0 -0
  2027. package/dist/ui-library/files/noto-sans-all-600-italic.woff +0 -0
  2028. package/dist/ui-library/files/noto-sans-all-600-normal.woff +0 -0
  2029. package/dist/ui-library/files/noto-sans-all-700-italic.woff +0 -0
  2030. package/dist/ui-library/files/noto-sans-all-700-normal.woff +0 -0
  2031. package/dist/ui-library/files/noto-sans-all-800-italic.woff +0 -0
  2032. package/dist/ui-library/files/noto-sans-all-800-normal.woff +0 -0
  2033. package/dist/ui-library/files/noto-sans-all-900-italic.woff +0 -0
  2034. package/dist/ui-library/files/noto-sans-all-900-normal.woff +0 -0
  2035. package/dist/ui-library/material-icons-round.woff +0 -0
  2036. package/dist/ui-library/material-icons-round.woff2 +0 -0
  2037. package/dist/ui-library/material-icons-sharp.woff +0 -0
  2038. package/dist/ui-library/material-icons-sharp.woff2 +0 -0
  2039. package/dist/ui-library/material-icons-two-tone.woff +0 -0
  2040. package/dist/ui-library/material-icons-two-tone.woff2 +0 -0
  2041. package/dist/ui-library/material-icons.css +0 -124
  2042. package/dist/ui-library/material-icons.scss +0 -5
  2043. package/dist/ui-library/material-icons.woff +0 -0
  2044. package/dist/ui-library/p-01ae4500.entry.js +0 -2
  2045. package/dist/ui-library/p-01ae4500.entry.js.map +0 -1
  2046. package/dist/ui-library/p-021f6da9.entry.js +0 -2
  2047. package/dist/ui-library/p-021f6da9.entry.js.map +0 -1
  2048. package/dist/ui-library/p-0274c52c.entry.js +0 -2
  2049. package/dist/ui-library/p-0274c52c.entry.js.map +0 -1
  2050. package/dist/ui-library/p-0cb135aa.entry.js +0 -2
  2051. package/dist/ui-library/p-0cb135aa.entry.js.map +0 -1
  2052. package/dist/ui-library/p-1431a2a8.entry.js +0 -2
  2053. package/dist/ui-library/p-1431a2a8.entry.js.map +0 -1
  2054. package/dist/ui-library/p-1aa28025.entry.js +0 -2
  2055. package/dist/ui-library/p-1aa28025.entry.js.map +0 -1
  2056. package/dist/ui-library/p-1b135e1c.entry.js +0 -2
  2057. package/dist/ui-library/p-1b135e1c.entry.js.map +0 -1
  2058. package/dist/ui-library/p-1be990f9.entry.js +0 -2
  2059. package/dist/ui-library/p-1be990f9.entry.js.map +0 -1
  2060. package/dist/ui-library/p-2008636b.entry.js +0 -2
  2061. package/dist/ui-library/p-2008636b.entry.js.map +0 -1
  2062. package/dist/ui-library/p-2132da0a.entry.js +0 -2
  2063. package/dist/ui-library/p-2132da0a.entry.js.map +0 -1
  2064. package/dist/ui-library/p-2cd674e0.entry.js +0 -2
  2065. package/dist/ui-library/p-2cd674e0.entry.js.map +0 -1
  2066. package/dist/ui-library/p-2d86ba99.entry.js +0 -2
  2067. package/dist/ui-library/p-2d86ba99.entry.js.map +0 -1
  2068. package/dist/ui-library/p-31a4a74c.entry.js +0 -2
  2069. package/dist/ui-library/p-31a4a74c.entry.js.map +0 -1
  2070. package/dist/ui-library/p-3783aed0.entry.js +0 -2
  2071. package/dist/ui-library/p-3783aed0.entry.js.map +0 -1
  2072. package/dist/ui-library/p-391f10f1.entry.js +0 -2
  2073. package/dist/ui-library/p-391f10f1.entry.js.map +0 -1
  2074. package/dist/ui-library/p-3dd28dc0.entry.js +0 -2
  2075. package/dist/ui-library/p-3dd28dc0.entry.js.map +0 -1
  2076. package/dist/ui-library/p-46ee280d.entry.js +0 -2
  2077. package/dist/ui-library/p-46ee280d.entry.js.map +0 -1
  2078. package/dist/ui-library/p-4752a63c.entry.js +0 -2
  2079. package/dist/ui-library/p-4752a63c.entry.js.map +0 -1
  2080. package/dist/ui-library/p-4772a9d3.entry.js +0 -2
  2081. package/dist/ui-library/p-4772a9d3.entry.js.map +0 -1
  2082. package/dist/ui-library/p-4a3ba956.entry.js +0 -2
  2083. package/dist/ui-library/p-4a3ba956.entry.js.map +0 -1
  2084. package/dist/ui-library/p-4b154936.entry.js +0 -2
  2085. package/dist/ui-library/p-4b154936.entry.js.map +0 -1
  2086. package/dist/ui-library/p-5a5f6869.entry.js +0 -2
  2087. package/dist/ui-library/p-5a5f6869.entry.js.map +0 -1
  2088. package/dist/ui-library/p-621c2742.entry.js +0 -2
  2089. package/dist/ui-library/p-621c2742.entry.js.map +0 -1
  2090. package/dist/ui-library/p-65778e3d.entry.js +0 -2
  2091. package/dist/ui-library/p-65778e3d.entry.js.map +0 -1
  2092. package/dist/ui-library/p-66cd3b0c.entry.js +0 -2
  2093. package/dist/ui-library/p-66cd3b0c.entry.js.map +0 -1
  2094. package/dist/ui-library/p-67496e8c.js +0 -2
  2095. package/dist/ui-library/p-67496e8c.js.map +0 -1
  2096. package/dist/ui-library/p-78529c8c.entry.js +0 -2
  2097. package/dist/ui-library/p-78529c8c.entry.js.map +0 -1
  2098. package/dist/ui-library/p-831517cd.entry.js +0 -2
  2099. package/dist/ui-library/p-831517cd.entry.js.map +0 -1
  2100. package/dist/ui-library/p-87e197ee.entry.js +0 -2
  2101. package/dist/ui-library/p-87e197ee.entry.js.map +0 -1
  2102. package/dist/ui-library/p-88767c27.entry.js +0 -2
  2103. package/dist/ui-library/p-88767c27.entry.js.map +0 -1
  2104. package/dist/ui-library/p-8c38a7bd.entry.js +0 -2
  2105. package/dist/ui-library/p-8c38a7bd.entry.js.map +0 -1
  2106. package/dist/ui-library/p-943ce0f2.entry.js +0 -2
  2107. package/dist/ui-library/p-943ce0f2.entry.js.map +0 -1
  2108. package/dist/ui-library/p-979eabb5.entry.js +0 -2
  2109. package/dist/ui-library/p-979eabb5.entry.js.map +0 -1
  2110. package/dist/ui-library/p-98ce9502.entry.js +0 -2
  2111. package/dist/ui-library/p-98ce9502.entry.js.map +0 -1
  2112. package/dist/ui-library/p-998de05d.js +0 -2
  2113. package/dist/ui-library/p-998de05d.js.map +0 -1
  2114. package/dist/ui-library/p-a036cc6f.entry.js +0 -2
  2115. package/dist/ui-library/p-a036cc6f.entry.js.map +0 -1
  2116. package/dist/ui-library/p-a29f6a0e.entry.js +0 -2
  2117. package/dist/ui-library/p-a29f6a0e.entry.js.map +0 -1
  2118. package/dist/ui-library/p-a3fd8c74.entry.js +0 -2
  2119. package/dist/ui-library/p-a3fd8c74.entry.js.map +0 -1
  2120. package/dist/ui-library/p-a919b557.entry.js +0 -2
  2121. package/dist/ui-library/p-a919b557.entry.js.map +0 -1
  2122. package/dist/ui-library/p-ace4ec84.entry.js +0 -2
  2123. package/dist/ui-library/p-ace4ec84.entry.js.map +0 -1
  2124. package/dist/ui-library/p-adf5a4da.entry.js +0 -2
  2125. package/dist/ui-library/p-adf5a4da.entry.js.map +0 -1
  2126. package/dist/ui-library/p-b5f844f7.entry.js +0 -2
  2127. package/dist/ui-library/p-b5f844f7.entry.js.map +0 -1
  2128. package/dist/ui-library/p-b8ea574b.entry.js +0 -2
  2129. package/dist/ui-library/p-b8ea574b.entry.js.map +0 -1
  2130. package/dist/ui-library/p-bff679fa.entry.js +0 -2
  2131. package/dist/ui-library/p-bff679fa.entry.js.map +0 -1
  2132. package/dist/ui-library/p-ca63a6fa.js +0 -3
  2133. package/dist/ui-library/p-ca63a6fa.js.map +0 -1
  2134. package/dist/ui-library/p-d221d86a.entry.js +0 -2
  2135. package/dist/ui-library/p-d221d86a.entry.js.map +0 -1
  2136. package/dist/ui-library/p-d702b6ec.entry.js +0 -2
  2137. package/dist/ui-library/p-d702b6ec.entry.js.map +0 -1
  2138. package/dist/ui-library/p-db9d2fde.entry.js +0 -2
  2139. package/dist/ui-library/p-db9d2fde.entry.js.map +0 -1
  2140. package/dist/ui-library/p-e0dd0307.entry.js +0 -2
  2141. package/dist/ui-library/p-e0dd0307.entry.js.map +0 -1
  2142. package/dist/ui-library/p-e340a0ad.entry.js +0 -2
  2143. package/dist/ui-library/p-e340a0ad.entry.js.map +0 -1
  2144. package/dist/ui-library/p-f640731b.entry.js +0 -2
  2145. package/dist/ui-library/p-f640731b.entry.js.map +0 -1
  2146. package/dist/ui-library/p-fce214eb.entry.js +0 -2
  2147. package/dist/ui-library/p-fce214eb.entry.js.map +0 -1
  2148. package/dist/ui-library/p-fe87f64b.entry.js +0 -2
  2149. package/dist/ui-library/p-fe87f64b.entry.js.map +0 -1
  2150. /package/dist/collection/{material-icons.woff2 → files/material-icons-latin-400-normal.woff2} +0 -0
  2151. /package/dist/collection/{material-icons-outlined.woff → files/material-icons-outlined-latin-400-normal.woff} +0 -0
  2152. /package/dist/collection/{material-icons-outlined.woff2 → files/material-icons-outlined-latin-400-normal.woff2} +0 -0
  2153. /package/dist/ui-library/{material-icons.woff2 → files/material-icons-latin-400-normal.woff2} +0 -0
  2154. /package/dist/ui-library/{material-icons-outlined.woff → files/material-icons-outlined-latin-400-normal.woff} +0 -0
  2155. /package/dist/ui-library/{material-icons-outlined.woff2 → files/material-icons-outlined-latin-400-normal.woff2} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"six-dialog.js","sourceRoot":"","sources":["../../../src/components/six-dialog/six-dialog.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,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAGtC,MAAM,gBAAgB,GAAG,wBAAwB,EAAE,CAAC;AAEpD,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;;;;;;;GAmBG;AAMH,MAAM,OAAO,SAAS;;QACZ,gBAAW,GAAG,UAAU,EAAE,EAAE,EAAE,CAAC;QAI/B,aAAQ,GAAG,KAAK,CAAC;QACjB,aAAQ,GAAG,KAAK,CAAC;QA2IjB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EAAC,mBAAmB,EAC/B,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,IAAI,CAAC,gBAAgB,GAC9B,CACK,CACV;gBAED,WAAK,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,cAAc;oBACnC,eAAQ,CACJ;gBAEN,cAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,gBAAgB;oBAC1C,YAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,GAAI,CACpD,CACL,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../utils/scroll';\nimport { hasSlot } from '../../utils/slot';\nimport { isPreventScrollSupported } from '../../utils/support';\nimport Modal from '../../utils/modal';\nimport { EmptyPayload } from '../../utils/types';\n\nconst hasPreventScroll = isPreventScrollSupported();\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 dialog's content.\n * @slot label - The dialog's label. Alternatively, you can use the label prop.\n * @slot footer - The dialog's footer, usually one or more buttons representing various options.\n *\n * @part base - The component's base wrapper.\n * @part overlay - The overlay.\n * @part panel - The dialog panel (where the dialog and its content is rendered).\n * @part header - The dialog header.\n * @part title - The dialog title.\n * @part close-button - The close button.\n * @part body - The dialog body.\n * @part footer - The dialog footer.\n *\n */\n@Component({\n tag: 'six-dialog',\n styleUrl: 'six-dialog.scss',\n shadow: true,\n})\nexport class SixDialog {\n private componentId = `dialog-${++id}`;\n private dialog?: HTMLElement;\n private modal?: Modal;\n private panel?: HTMLElement;\n private willShow = false;\n private willHide = false;\n\n @Element() host!: HTMLSixDialogElement;\n\n @State() hasFooter = false;\n @State() isVisible = false;\n\n /** Indicates whether the dialog is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The dialog's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility.\n */\n @Prop() label = '';\n\n /**\n * Set to true to disable the header. This will also remove the default close button, so please ensure you provide an\n * easy, accessible way for users to dismiss the dialog.\n */\n @Prop() noHeader = false;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the dialog opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-dialog-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dialog opens and all transitions are complete. */\n @Event({ eventName: 'six-dialog-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the dialog closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-dialog-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dialog closes and all transitions are complete. */\n @Event({ eventName: 'six-dialog-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the dialog opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the dialog, such as an input or button.\n */\n @Event({ eventName: 'six-dialog-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the overlay is clicked. Calling `event.preventDefault()` will prevent the dialog from closing. */\n @Event({ eventName: 'six-dialog-overlay-dismiss' }) sixOverlayDismiss!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.modal = new Modal(this.host, {\n onFocusOut: () => this.panel?.focus(),\n });\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n\n // Show on init if open\n if (this.open) {\n this.show();\n }\n }\n\n disconnectedCallback() {\n unlockBodyScrolling(this.host);\n }\n\n /** Shows the dialog */\n @Method()\n async show() {\n if (this.willShow || this.modal == null || this.panel == null || this.dialog == null) {\n return;\n }\n const panel = this.panel;\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n this.modal.activate();\n\n lockBodyScrolling(this.host);\n\n if (this.open) {\n if (hasPreventScroll) {\n // Wait for the next frame before setting initial focus so the dialog is technically visible\n requestAnimationFrame(() => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus({ preventScroll: true });\n }\n });\n } else {\n // Once Safari supports { preventScroll: true } we can remove this nasty little hack, but until then we need to\n // wait for the transition to complete before setting focus, otherwise the panel may render in a buggy way its\n // out of view initially.\n //\n // Fiddle: https://jsfiddle.net/g6buoafq/1/\n // Safari: https://bugs.webkit.org/show_bug.cgi?id=178583\n //\n this.dialog.addEventListener(\n 'transitionend',\n () => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus();\n }\n },\n { once: true }\n );\n }\n }\n }\n\n /** Hides the dialog */\n @Method()\n async hide() {\n if (this.willHide || this.modal == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n this.modal.deactivate();\n\n unlockBodyScrolling(this.host);\n }\n\n private handleCloseClick = () => {\n this.hide();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.hide();\n }\n };\n\n private handleOverlayClick = () => {\n const sixOverlayDismiss = this.sixOverlayDismiss.emit();\n\n if (!sixOverlayDismiss.defaultPrevented) {\n this.hide();\n }\n };\n\n private handleSlotChange = () => {\n this.hasFooter = hasSlot(this.host, 'footer');\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'opacity' && target.classList.contains('dialog__panel')) {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n };\n\n render() {\n return (\n <div\n ref={(el) => (this.dialog = el)}\n part=\"base\"\n class={{\n dialog: true,\n 'dialog--open': this.open,\n 'dialog--visible': this.isVisible,\n 'dialog--has-footer': this.hasFooter,\n }}\n onKeyDown={this.handleKeyDown}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <div part=\"overlay\" class=\"dialog__overlay\" onClick={this.handleOverlayClick} />\n\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"dialog__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-label={this.noHeader ? this.label : null}\n aria-labelledby={!this.noHeader ? `${this.componentId}-title` : null}\n tabIndex={0}\n >\n {!this.noHeader && (\n <header part=\"header\" class=\"dialog__header\">\n <span part=\"title\" class=\"dialog__title\" id={`${this.componentId}-title`}>\n <slot name=\"label\">\n {/* If there's no label, use an invisible character to prevent the heading from collapsing */}\n {this.label || String.fromCharCode(65279)}\n </slot>\n </span>\n <six-icon-button\n exportparts=\"base:close-button\"\n class=\"dialog__close\"\n name=\"close\"\n onClick={this.handleCloseClick}\n />\n </header>\n )}\n\n <div part=\"body\" class=\"dialog__body\">\n <slot />\n </div>\n\n <footer part=\"footer\" class=\"dialog__footer\">\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </footer>\n </div>\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-dialog.js","sourceRoot":"","sources":["../../../src/components/six-dialog/six-dialog.tsx"],"names":[],"mappings":"AAA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OAAO,EAAC,KAAK,EAAC,eAAe,EAAC,EAAE,EAAE,GAAG,IAAI,CAAC,WAAW,QAAQ;wBACtE,6DAAM,IAAI,EAAC,OAAO,IAEf,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CACpC,CACF;oBACP,wEACE,WAAW,EAAC,mBAAmB,EAC/B,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,IAAI,CAAC,gBAAgB,GAC9B,CACK,CACV;gBAED,4DAAK,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,cAAc;oBACnC,8DAAQ,CACJ;gBAEN,+DAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,gBAAgB;oBAC1C,6DAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,GAAI,CACpD,CACL,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../utils/scroll';\nimport { hasSlot } from '../../utils/slot';\nimport Modal from '../../utils/modal';\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 dialog's content.\n * @slot label - The dialog's label. Alternatively, you can use the label prop.\n * @slot footer - The dialog's footer, usually one or more buttons representing various options.\n *\n * @part base - The component's base wrapper.\n * @part overlay - The overlay.\n * @part panel - The dialog panel (where the dialog and its content is rendered).\n * @part header - The dialog header.\n * @part title - The dialog title.\n * @part close-button - The close button.\n * @part body - The dialog body.\n * @part footer - The dialog footer.\n *\n */\n@Component({\n tag: 'six-dialog',\n styleUrl: 'six-dialog.scss',\n shadow: true,\n})\nexport class SixDialog {\n private componentId = `dialog-${++id}`;\n private dialog?: HTMLElement;\n private modal?: Modal;\n private panel?: HTMLElement;\n private willShow = false;\n private willHide = false;\n\n @Element() host!: HTMLSixDialogElement;\n\n @State() hasFooter = false;\n @State() isVisible = false;\n\n /** Indicates whether the dialog is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The dialog's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility.\n */\n @Prop() label = '';\n\n /**\n * Set to true to disable the header. This will also remove the default close button, so please ensure you provide an\n * easy, accessible way for users to dismiss the dialog.\n */\n @Prop() noHeader = false;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the dialog opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-dialog-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dialog opens and all transitions are complete. */\n @Event({ eventName: 'six-dialog-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the dialog closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-dialog-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dialog closes and all transitions are complete. */\n @Event({ eventName: 'six-dialog-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the dialog opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the dialog, such as an input or button.\n */\n @Event({ eventName: 'six-dialog-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the overlay is clicked. Calling `event.preventDefault()` will prevent the dialog from closing. */\n @Event({ eventName: 'six-dialog-overlay-dismiss' }) sixOverlayDismiss!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.modal = new Modal(this.host, {\n onFocusOut: () => this.panel?.focus(),\n });\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n }\n\n componentDidLoad() {\n // Show on init if open\n if (this.open) {\n this.show();\n }\n }\n\n disconnectedCallback() {\n unlockBodyScrolling(this.host);\n }\n\n /** Shows the dialog */\n @Method()\n async show() {\n if (this.willShow || this.modal == null || this.panel == null || this.dialog == null) {\n return;\n }\n const panel = this.panel;\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n this.modal.activate();\n\n lockBodyScrolling(this.host);\n\n if (this.open) {\n requestAnimationFrame(() => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus({ preventScroll: true });\n }\n });\n }\n }\n\n /** Hides the dialog */\n @Method()\n async hide() {\n if (this.willHide || this.modal == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n this.modal.deactivate();\n\n unlockBodyScrolling(this.host);\n }\n\n private handleCloseClick = () => {\n this.hide();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.hide();\n }\n };\n\n private handleOverlayClick = () => {\n const sixOverlayDismiss = this.sixOverlayDismiss.emit();\n\n if (!sixOverlayDismiss.defaultPrevented) {\n this.hide();\n }\n };\n\n private handleSlotChange = () => {\n this.hasFooter = hasSlot(this.host, 'footer');\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'opacity' && target.classList.contains('dialog__panel')) {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n };\n\n render() {\n return (\n <div\n ref={(el) => (this.dialog = el)}\n part=\"base\"\n class={{\n dialog: true,\n 'dialog--open': this.open,\n 'dialog--visible': this.isVisible,\n 'dialog--has-footer': this.hasFooter,\n }}\n onKeyDown={this.handleKeyDown}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <div part=\"overlay\" class=\"dialog__overlay\" onClick={this.handleOverlayClick} />\n\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"dialog__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-label={this.noHeader ? this.label : null}\n aria-labelledby={!this.noHeader ? `${this.componentId}-title` : null}\n tabIndex={0}\n >\n {!this.noHeader && (\n <header part=\"header\" class=\"dialog__header\">\n <span part=\"title\" class=\"dialog__title\" id={`${this.componentId}-title`}>\n <slot name=\"label\">\n {/* If there's no label, use an invisible character to prevent the heading from collapsing */}\n {this.label || String.fromCharCode(65279)}\n </slot>\n </span>\n <six-icon-button\n exportparts=\"base:close-button\"\n class=\"dialog__close\"\n name=\"close\"\n onClick={this.handleCloseClick}\n />\n </header>\n )}\n\n <div part=\"body\" class=\"dialog__body\">\n <slot />\n </div>\n\n <footer part=\"footer\" class=\"dialog__footer\">\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </footer>\n </div>\n </div>\n );\n }\n}\n"]}
@@ -1,9 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { lockBodyScrolling, unlockBodyScrolling } from "../../utils/scroll";
3
3
  import { hasSlot } from "../../utils/slot";
4
- import { isPreventScrollSupported } from "../../utils/support";
5
4
  import Modal from "../../utils/modal";
6
- const hasPreventScroll = isPreventScrollSupported();
7
5
  let id = 0;
8
6
  /**
9
7
  * @since 1.0
@@ -102,30 +100,13 @@ export class SixDrawer {
102
100
  lockBodyScrolling(this.host);
103
101
  }
104
102
  if (this.open) {
105
- if (hasPreventScroll) {
106
- // Wait for the next frame before setting initial focus so the dialog is technically visible
107
- requestAnimationFrame(() => {
108
- const sixInitialFocus = this.sixInitialFocus.emit();
109
- if (!sixInitialFocus.defaultPrevented) {
110
- panel.focus({ preventScroll: true });
111
- }
112
- });
113
- }
114
- else {
115
- // Once Safari supports { preventScroll: true } we can remove this nasty little hack, but until then we need to
116
- // wait for the transition to complete before setting focus, otherwise the panel may render in a buggy way its
117
- // out of view initially.
118
- //
119
- // Fiddle: https://jsfiddle.net/g6buoafq/1/
120
- // Safari: https://bugs.webkit.org/show_bug.cgi?id=178583
121
- //
122
- this.drawer.addEventListener('transitionend', () => {
123
- const sixInitialFocus = this.sixInitialFocus.emit();
124
- if (!sixInitialFocus.defaultPrevented) {
125
- panel.focus();
126
- }
127
- }, { once: true });
128
- }
103
+ // Wait for the next frame before setting initial focus so the dialog is technically visible
104
+ requestAnimationFrame(() => {
105
+ const sixInitialFocus = this.sixInitialFocus.emit();
106
+ if (!sixInitialFocus.defaultPrevented) {
107
+ panel.focus({ preventScroll: true });
108
+ }
109
+ });
129
110
  }
130
111
  }
131
112
  /** Hides the drawer */
@@ -150,7 +131,7 @@ export class SixDrawer {
150
131
  this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
151
132
  }
152
133
  render() {
153
- return (h("div", { ref: (el) => (this.drawer = el), part: "base", class: {
134
+ return (h("div", { key: '3f0c58a92f99ceaedd021a99055d4b9d3cb6b490', ref: (el) => (this.drawer = el), part: "base", class: {
154
135
  drawer: true,
155
136
  'drawer--open': this.open,
156
137
  'drawer--visible': this.isVisible,
@@ -161,7 +142,7 @@ export class SixDrawer {
161
142
  'drawer--contained': this.contained,
162
143
  'drawer--fixed': !this.contained,
163
144
  'drawer--has-footer': this.hasFooter,
164
- }, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { part: "overlay", class: "drawer__overlay", onClick: this.handleOverlayClick, tabIndex: -1 }), h("div", { ref: (el) => (this.panel = el), part: "panel", class: "drawer__panel", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', "aria-label": this.noHeader ? this.label : null, "aria-labelledby": !this.noHeader ? `${this.componentId}-title` : null, tabIndex: 0 }, !this.noHeader && (h("header", { part: "header", class: "drawer__header" }, h("span", { part: "title", class: "drawer__title", id: `${this.componentId}-title` }, h("slot", { name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { exportparts: "base:close-button", class: "drawer__close", name: "close", onClick: this.handleCloseClick }))), h("div", { part: "body", class: "drawer__body" }, h("slot", null)), h("footer", { part: "footer", class: "drawer__footer" }, h("slot", { name: "footer", onSlotchange: this.handleSlotChange })))));
145
+ }, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '06d4b753471747898380ad96df47d14eb97f3191', part: "overlay", class: "drawer__overlay", onClick: this.handleOverlayClick, tabIndex: -1 }), h("div", { key: '3c5fc6ef2f0e6fa30feacd66534628385957894a', ref: (el) => (this.panel = el), part: "panel", class: "drawer__panel", role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? 'false' : 'true', "aria-label": this.noHeader ? this.label : null, "aria-labelledby": !this.noHeader ? `${this.componentId}-title` : null, tabIndex: 0 }, !this.noHeader && (h("header", { key: '0b49d4f269ba18e09a4b249200385c58746057f2', part: "header", class: "drawer__header" }, h("span", { key: 'b6ae3162f1eef9678470add112b5a7588c1a59d2', part: "title", class: "drawer__title", id: `${this.componentId}-title` }, h("slot", { key: 'a6da570ad5f2cc9bfea3738be1f49f2da8e0e4bf', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: 'b91dcd172972abab22d6c3160d305a2188281a57', exportparts: "base:close-button", class: "drawer__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: '92e6853d2012222b7eaa29c1f8a3df56d138d7c5', part: "body", class: "drawer__body" }, h("slot", { key: '2abc9eb1633feb27ae0cf658602a79e5eef8a3f5' })), h("footer", { key: 'b772e1b63f3a50d1b68de0adae38aa28270fe884', part: "footer", class: "drawer__footer" }, h("slot", { key: 'a20158d9f897a62749150469ddb7e97ba545305e', name: "footer", onSlotchange: this.handleSlotChange })))));
165
146
  }
166
147
  static get is() { return "six-drawer"; }
167
148
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-drawer.js","sourceRoot":"","sources":["../../../src/components/six-drawer/six-drawer.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,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAGtC,MAAM,gBAAgB,GAAG,wBAAwB,EAAE,CAAC;AACpD,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;;;;;;GAkBG;AAOH,MAAM,OAAO,SAAS;;QACZ,gBAAW,GAAG,UAAU,EAAE,EAAE,EAAE,CAAC;QAI/B,aAAQ,GAAG,KAAK,CAAC;QACjB,aAAQ,GAAG,KAAK,CAAC;QA0JjB,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,IAAI,EAAE,CAAC;QACd,CAAC,CAAC;QAEM,kBAAa,GAAG,CAAC,KAAoB,EAAE,EAAE;YAC/C,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ,EAAE;gBAC1B,IAAI,CAAC,IAAI,EAAE,CAAC;aACb;QACH,CAAC,CAAC;QAEM,uBAAkB,GAAG,GAAG,EAAE;YAChC,MAAM,iBAAiB,GAAG,IAAI,CA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C,QAAQ,IAAI,CACjB,cAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,gBAAgB;oBAC1C,YAAM,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,eAAe,EAAC,EAAE,EAAE,GAAG,IAAI,CAAC,WAAW,QAAQ;wBACtE,YAAM,IAAI,EAAC,OAAO,IAEf,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CACpC,CACF;oBACP,uBACE,WAAW,EAAC,mBAAmB,EAC/B,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,IAAI,CAAC,gBAAgB,GAC9B,CACK,CACV;gBAED,WAAK,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,cAAc;oBACnC,eAAQ,CACJ;gBAEN,cAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,gBAAgB;oBAC1C,YAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,GAAI,CACpD,CACL,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../utils/scroll';\nimport { hasSlot } from '../../utils/slot';\nimport { isPreventScrollSupported } from '../../utils/support';\nimport Modal from '../../utils/modal';\nimport { EmptyPayload } from '../../utils/types';\n\nconst hasPreventScroll = isPreventScrollSupported();\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 drawer's content.\n * @slot label - The drawer's label. Alternatively, you can use the label prop.\n * @slot footer - The drawer's footer, usually one or more buttons representing various options.\n *\n * @part base - The component's base wrapper.\n * @part overlay - The overlay.\n * @part panel - The drawer panel (where the drawer and its content is rendered).\n * @part header - The drawer header.\n * @part title - The drawer title.\n * @part close-button - The close button.\n * @part body - The drawer body.\n * @part footer - The drawer footer.\n */\n\n@Component({\n tag: 'six-drawer',\n styleUrl: 'six-drawer.scss',\n shadow: true,\n})\nexport class SixDrawer {\n private componentId = `drawer-${++id}`;\n private drawer?: HTMLElement;\n private modal?: Modal;\n private panel?: HTMLElement;\n private willShow = false;\n private willHide = false;\n\n @Element() host!: HTMLSixDrawerElement;\n\n @State() hasFooter = false;\n @State() isVisible = false;\n\n /** Indicates whether the drawer is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The drawer's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility.\n */\n @Prop() label = '';\n\n /** The direction from which the drawer will open. */\n @Prop() placement: 'top' | 'right' | 'bottom' | 'left' = 'right';\n\n /**\n * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\n * its parent element, set this prop and add `position: relative` to the parent.\n */\n @Prop() contained = false;\n\n /**\n * Removes the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the drawer.\n */\n @Prop() noHeader = false;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the drawer opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-drawer-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the drawer opens and all transitions are complete. */\n @Event({ eventName: 'six-drawer-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the drawer closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-drawer-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the drawer closes and all transitions are complete. */\n @Event({ eventName: 'six-drawer-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the drawer opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the drawer, such as an input or button.\n */\n @Event({ eventName: 'six-drawer-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the overlay is clicked. Calling `event.preventDefault()` will prevent the drawer from closing. */\n @Event({ eventName: 'six-drawer-overlay-dismiss' }) sixOverlayDismiss!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.modal = new Modal(this.host, {\n onFocusOut: () => (this.contained ? null : this.panel?.focus()),\n });\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n\n // Show on init if open\n if (this.open) {\n this.show();\n // if the sidebar is open by default we need to manually reset the\n // transition variables since there will be no transition event\n this.resetTransitionVariables();\n }\n }\n\n disconnectedCallback() {\n unlockBodyScrolling(this.host);\n }\n\n /** Shows the drawer */\n @Method()\n async show() {\n if (this.willShow || this.modal == null || this.panel == null || this.drawer == null) {\n return;\n }\n const panel = this.panel;\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n\n // Lock body scrolling only if the drawer isn't contained\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this.host);\n }\n\n if (this.open) {\n if (hasPreventScroll) {\n // Wait for the next frame before setting initial focus so the dialog is technically visible\n requestAnimationFrame(() => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus({ preventScroll: true });\n }\n });\n } else {\n // Once Safari supports { preventScroll: true } we can remove this nasty little hack, but until then we need to\n // wait for the transition to complete before setting focus, otherwise the panel may render in a buggy way its\n // out of view initially.\n //\n // Fiddle: https://jsfiddle.net/g6buoafq/1/\n // Safari: https://bugs.webkit.org/show_bug.cgi?id=178583\n //\n this.drawer.addEventListener(\n 'transitionend',\n () => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus();\n }\n },\n { once: true }\n );\n }\n }\n }\n\n /** Hides the drawer */\n @Method()\n async hide() {\n if (this.willHide || this.modal == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n this.modal.deactivate();\n\n unlockBodyScrolling(this.host);\n }\n\n private handleCloseClick = () => {\n this.hide();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.hide();\n }\n };\n\n private handleOverlayClick = () => {\n const sixOverlayDismiss = this.sixOverlayDismiss.emit();\n\n if (!sixOverlayDismiss.defaultPrevented) {\n this.hide();\n }\n };\n\n private handleSlotChange = () => {\n this.hasFooter = hasSlot(this.host, 'footer');\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'transform' && target.classList.contains('drawer__panel')) {\n this.resetTransitionVariables();\n }\n };\n\n private resetTransitionVariables() {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n\n render() {\n return (\n <div\n ref={(el) => (this.drawer = el)}\n part=\"base\"\n class={{\n drawer: true,\n 'drawer--open': this.open,\n 'drawer--visible': this.isVisible,\n 'drawer--top': this.placement === 'top',\n 'drawer--right': this.placement === 'right',\n 'drawer--bottom': this.placement === 'bottom',\n 'drawer--left': this.placement === 'left',\n 'drawer--contained': this.contained,\n 'drawer--fixed': !this.contained,\n 'drawer--has-footer': this.hasFooter,\n }}\n onKeyDown={this.handleKeyDown}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <div part=\"overlay\" class=\"drawer__overlay\" onClick={this.handleOverlayClick} tabIndex={-1} />\n\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"drawer__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-label={this.noHeader ? this.label : null}\n aria-labelledby={!this.noHeader ? `${this.componentId}-title` : null}\n tabIndex={0}\n >\n {!this.noHeader && (\n <header part=\"header\" class=\"drawer__header\">\n <span part=\"title\" class=\"drawer__title\" id={`${this.componentId}-title`}>\n <slot name=\"label\">\n {/* If there's no label, use an invisible character to prevent the heading from collapsing */}\n {this.label || String.fromCharCode(65279)}\n </slot>\n </span>\n <six-icon-button\n exportparts=\"base:close-button\"\n class=\"drawer__close\"\n name=\"close\"\n onClick={this.handleCloseClick}\n />\n </header>\n )}\n\n <div part=\"body\" class=\"drawer__body\">\n <slot />\n </div>\n\n <footer part=\"footer\" class=\"drawer__footer\">\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </footer>\n </div>\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-drawer.js","sourceRoot":"","sources":["../../../src/components/six-drawer/six-drawer.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,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAGtC,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;;;;;;GAkBG;AAOH,MAAM,OAAO,SAAS;;QACZ,gBAAW,GAAG,UAAU,EAAE,EAAE,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C,WAAW,QAAQ,CAAC,CAAC,CAAC,IAAI,EACpE,QAAQ,EAAE,CAAC;gBAEV,CAAC,IAAI,CAAC,QAAQ,IAAI,CACjB,+DAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,gBAAgB;oBAC1C,6DAAM,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,eAAe,EAAC,EAAE,EAAE,GAAG,IAAI,CAAC,WAAW,QAAQ;wBACtE,6DAAM,IAAI,EAAC,OAAO,IAEf,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CACpC,CACF;oBACP,wEACE,WAAW,EAAC,mBAAmB,EAC/B,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,IAAI,CAAC,gBAAgB,GAC9B,CACK,CACV;gBAED,4DAAK,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,cAAc;oBACnC,8DAAQ,CACJ;gBAEN,+DAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,gBAAgB;oBAC1C,6DAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,GAAI,CACpD,CACL,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../utils/scroll';\nimport { hasSlot } from '../../utils/slot';\nimport Modal from '../../utils/modal';\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 drawer's content.\n * @slot label - The drawer's label. Alternatively, you can use the label prop.\n * @slot footer - The drawer's footer, usually one or more buttons representing various options.\n *\n * @part base - The component's base wrapper.\n * @part overlay - The overlay.\n * @part panel - The drawer panel (where the drawer and its content is rendered).\n * @part header - The drawer header.\n * @part title - The drawer title.\n * @part close-button - The close button.\n * @part body - The drawer body.\n * @part footer - The drawer footer.\n */\n\n@Component({\n tag: 'six-drawer',\n styleUrl: 'six-drawer.scss',\n shadow: true,\n})\nexport class SixDrawer {\n private componentId = `drawer-${++id}`;\n private drawer?: HTMLElement;\n private modal?: Modal;\n private panel?: HTMLElement;\n private willShow = false;\n private willHide = false;\n\n @Element() host!: HTMLSixDrawerElement;\n\n @State() hasFooter = false;\n @State() isVisible = false;\n\n /** Indicates whether the drawer is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The drawer's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility.\n */\n @Prop() label = '';\n\n /** The direction from which the drawer will open. */\n @Prop() placement: 'top' | 'right' | 'bottom' | 'left' = 'right';\n\n /**\n * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\n * its parent element, set this prop and add `position: relative` to the parent.\n */\n @Prop() contained = false;\n\n /**\n * Removes the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the drawer.\n */\n @Prop() noHeader = false;\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n }\n\n /** Emitted when the drawer opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-drawer-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the drawer opens and all transitions are complete. */\n @Event({ eventName: 'six-drawer-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the drawer closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-drawer-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the drawer closes and all transitions are complete. */\n @Event({ eventName: 'six-drawer-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /**\n * Emitted when the drawer opens and the panel gains focus. Calling `event.preventDefault()` will prevent focus and\n * allow you to set it on a different element in the drawer, such as an input or button.\n */\n @Event({ eventName: 'six-drawer-initial-focus' }) sixInitialFocus!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the overlay is clicked. Calling `event.preventDefault()` will prevent the drawer from closing. */\n @Event({ eventName: 'six-drawer-overlay-dismiss' }) sixOverlayDismiss!: EventEmitter<EmptyPayload>;\n\n connectedCallback() {\n this.modal = new Modal(this.host, {\n onFocusOut: () => (this.contained ? null : this.panel?.focus()),\n });\n }\n\n componentWillLoad() {\n this.handleSlotChange();\n\n // Show on init if open\n if (this.open) {\n this.show();\n // if the sidebar is open by default we need to manually reset the\n // transition variables since there will be no transition event\n this.resetTransitionVariables();\n }\n }\n\n disconnectedCallback() {\n unlockBodyScrolling(this.host);\n }\n\n /** Shows the drawer */\n @Method()\n async show() {\n if (this.willShow || this.modal == null || this.panel == null || this.drawer == null) {\n return;\n }\n const panel = this.panel;\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.willShow = true;\n this.isVisible = true;\n this.open = true;\n\n // Lock body scrolling only if the drawer isn't contained\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this.host);\n }\n\n if (this.open) {\n // Wait for the next frame before setting initial focus so the dialog is technically visible\n requestAnimationFrame(() => {\n const sixInitialFocus = this.sixInitialFocus.emit();\n if (!sixInitialFocus.defaultPrevented) {\n panel.focus({ preventScroll: true });\n }\n });\n }\n }\n\n /** Hides the drawer */\n @Method()\n async hide() {\n if (this.willHide || this.modal == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.willHide = true;\n this.open = false;\n this.modal.deactivate();\n\n unlockBodyScrolling(this.host);\n }\n\n private handleCloseClick = () => {\n this.hide();\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.hide();\n }\n };\n\n private handleOverlayClick = () => {\n const sixOverlayDismiss = this.sixOverlayDismiss.emit();\n\n if (!sixOverlayDismiss.defaultPrevented) {\n this.hide();\n }\n };\n\n private handleSlotChange = () => {\n this.hasFooter = hasSlot(this.host, 'footer');\n };\n\n private handleTransitionEnd = (event: TransitionEvent) => {\n const target = event.target as HTMLElement;\n\n // Ensure we only emit one event when the target element is no longer visible\n if (event.propertyName === 'transform' && target.classList.contains('drawer__panel')) {\n this.resetTransitionVariables();\n }\n };\n\n private resetTransitionVariables() {\n this.isVisible = this.open;\n this.willShow = false;\n this.willHide = false;\n this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();\n }\n\n render() {\n return (\n <div\n ref={(el) => (this.drawer = el)}\n part=\"base\"\n class={{\n drawer: true,\n 'drawer--open': this.open,\n 'drawer--visible': this.isVisible,\n 'drawer--top': this.placement === 'top',\n 'drawer--right': this.placement === 'right',\n 'drawer--bottom': this.placement === 'bottom',\n 'drawer--left': this.placement === 'left',\n 'drawer--contained': this.contained,\n 'drawer--fixed': !this.contained,\n 'drawer--has-footer': this.hasFooter,\n }}\n onKeyDown={this.handleKeyDown}\n onTransitionEnd={this.handleTransitionEnd}\n >\n <div part=\"overlay\" class=\"drawer__overlay\" onClick={this.handleOverlayClick} tabIndex={-1} />\n\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"drawer__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-label={this.noHeader ? this.label : null}\n aria-labelledby={!this.noHeader ? `${this.componentId}-title` : null}\n tabIndex={0}\n >\n {!this.noHeader && (\n <header part=\"header\" class=\"drawer__header\">\n <span part=\"title\" class=\"drawer__title\" id={`${this.componentId}-title`}>\n <slot name=\"label\">\n {/* If there's no label, use an invisible character to prevent the heading from collapsing */}\n {this.label || String.fromCharCode(65279)}\n </slot>\n </span>\n <six-icon-button\n exportparts=\"base:close-button\"\n class=\"drawer__close\"\n name=\"close\"\n onClick={this.handleCloseClick}\n />\n </header>\n )}\n\n <div part=\"body\" class=\"drawer__body\">\n <slot />\n </div>\n\n <footer part=\"footer\" class=\"drawer__footer\">\n <slot name=\"footer\" onSlotchange={this.handleSlotChange} />\n </footer>\n </div>\n </div>\n );\n }\n}\n"]}
@@ -25,7 +25,7 @@ export class SixDropdown {
25
25
  this.resizeObserver = new ResizeObserver(debounce(() => this.updatePanelPosition(), 100));
26
26
  this.eventListeners = new EventListeners();
27
27
  this.getMenuItems = () => {
28
- var _a, _b, _c;
28
+ var _a, _b, _c, _d;
29
29
  if (this.options.length > 0) {
30
30
  return {
31
31
  sixMenuItems: this.renderedOptions.map((option) => (h("six-menu-item", { value: option.value }, option.label))),
@@ -39,8 +39,10 @@ export class SixDropdown {
39
39
  const selectionContainer = (_a = this.panelSlot) === null || _a === void 0 ? void 0 : _a.assignedElements({ flatten: true }).filter(isSelectionContainer).at(0);
40
40
  const sixMenuElement = (_b = this.panelSlot) === null || _b === void 0 ? void 0 : _b.assignedElements({ flatten: true }).filter(isSixMenu).at(0);
41
41
  const selectionContainerItems = (selectionContainer === null || selectionContainer === void 0 ? void 0 : selectionContainer.querySelectorAll('six-menu-item')) || [];
42
- const sixMenuItems = (((_c = sixMenuElement === null || sixMenuElement === void 0 ? void 0 : sixMenuElement.querySelector('slot')) === null || _c === void 0 ? void 0 : _c.assignedElements().filter(isSixMenuItem)) ||
43
- []);
42
+ let sixMenuItems = ((_c = sixMenuElement === null || sixMenuElement === void 0 ? void 0 : sixMenuElement.querySelector('slot')) === null || _c === void 0 ? void 0 : _c.assignedElements().filter((el) => isSixMenuItem(el))) || [];
43
+ if (sixMenuItems.length === 0) {
44
+ sixMenuItems = Array.from(((_d = sixMenuElement === null || sixMenuElement === void 0 ? void 0 : sixMenuElement.shadowRoot) === null || _d === void 0 ? void 0 : _d.querySelectorAll('six-menu-item')) || []);
45
+ }
44
46
  if (selectionContainerItems.length > 0 || sixMenuItems.length > 0) {
45
47
  return { sixMenuItems, selectionContainerItems: [...selectionContainerItems] };
46
48
  }
@@ -420,17 +422,6 @@ export class SixDropdown {
420
422
  var _a;
421
423
  return (_a = this.panelSlot) === null || _a === void 0 ? void 0 : _a.assignedElements({ flatten: true }).filter(isSixMenu).at(0);
422
424
  }
423
- /**
424
- * Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu
425
- * is activated.
426
- *
427
- * @deprecated: use the property `matchTriggerWidth` instead.
428
- */
429
- async reposition() {
430
- if (this.open && this.popover != null) {
431
- this.popover.reposition();
432
- }
433
- }
434
425
  //
435
426
  // Slotted triggers can be arbitrary content, but we need to link them to the dropdown panel with `aria-haspopup` and
436
427
  // `aria-expanded`. These must be applied to the "accessible trigger" (the tabbable portion of the trigger element
@@ -453,19 +444,19 @@ export class SixDropdown {
453
444
  }
454
445
  }
455
446
  render() {
456
- return (h("div", { part: "base", id: this.componentId, class: {
447
+ return (h("div", { key: 'cc52ce0f9780812dbd3c4ae4bf25d96cc2a88fd1', part: "base", id: this.componentId, class: {
457
448
  dropdown: true,
458
449
  'dropdown--open': this.open,
459
- } }, h("span", { part: "trigger", class: "dropdown__trigger", ref: (el) => (this.trigger = el), onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown, onKeyUp: this.handleTriggerKeyUp }, h("slot", { name: "trigger", ref: (el) => (this.triggerSlot = el), onSlotchange: this.handleTriggerSlotChange })), h("div", { ref: (el) => (this.positioner = el), class: {
450
+ } }, h("span", { key: 'bdcbe6a535449187ac2f45216dc7a1e5cb6bd209', part: "trigger", class: "dropdown__trigger", ref: (el) => (this.trigger = el), onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown, onKeyUp: this.handleTriggerKeyUp }, h("slot", { key: 'e186b6d56ee406c4dfd265404334de54625929e3', name: "trigger", ref: (el) => (this.triggerSlot = el), onSlotchange: this.handleTriggerSlotChange })), h("div", { key: '5c8a3c859a2987023300566f713f9006b628319c', ref: (el) => (this.positioner = el), class: {
460
451
  dropdown__positioner: true,
461
452
  dropdown__positioner__filtered: (this.filter || this.asyncFilter) && !this.hoist,
462
- } }, h("div", { ref: (el) => (this.panel = el), part: "panel", class: "dropdown__panel", role: "menu", "aria-hidden": this.open ? 'false' : 'true', "aria-labelledby": this.componentId }, this.filterEnabled && (h("six-input", { class: {
453
+ } }, h("div", { key: '1a98de64de04d31d775460b08e587701e31b0481', ref: (el) => (this.panel = el), part: "panel", class: "dropdown__panel", role: "menu", "aria-hidden": this.open ? 'false' : 'true', "aria-labelledby": this.componentId }, this.filterEnabled && (h("six-input", { key: 'f1fe1336ecaf8ac27962a24d4053c4fe4fcb14f0', class: {
463
454
  filter: true,
464
455
  'filter-hidden': !this.open,
465
- }, "dropdown-search": true, "aria-hidden": this.open ? 'false' : 'true', ref: (el) => (this.filterInputElement = el), placeholder: this.filterPlaceholder }, h("six-icon", { class: "filter__icon", slot: "suffix", size: "small" }, "search"))), h("div", { class: {
456
+ }, "dropdown-search": true, "aria-hidden": this.open ? 'false' : 'true', ref: (el) => (this.filterInputElement = el), placeholder: this.filterPlaceholder }, h("six-icon", { key: 'e243dab2dd7616eeff5940030cb950d4c58d29cf', class: "filter__icon", slot: "suffix", size: "small" }, "search"))), h("div", { key: 'c3c7dd6748d5664f80a2506f84a954bb004ec25a', class: {
466
457
  dropdown__panel__scroll: true,
467
458
  'dropdown__panel__scroll--virtual': this.virtualScroll,
468
- }, onScroll: this.handleDropdownScroll, ref: (el) => (this.scrollPanel = el) }, h("slot", { ref: (el) => (this.panelSlot = el) }), this.options.length > 0 && (h("six-menu", { part: "menu", items: this.renderedOptions, virtualScroll: this.virtualScroll }))), h("slot", { name: "dropdown-footer" })))));
459
+ }, onScroll: this.handleDropdownScroll, ref: (el) => (this.scrollPanel = el) }, h("slot", { key: 'db2d71995c04a1991637afb86b052193ef1899d3', ref: (el) => (this.panelSlot = el) }), this.options.length > 0 && (h("six-menu", { key: '70057ee0dbd07357db1b3474ee0093f00feabee9', part: "menu", items: this.renderedOptions, virtualScroll: this.virtualScroll }))), h("slot", { key: 'da379b66ef95f53335cdea54eff1aa5eb0190053', name: "dropdown-footer" })))));
469
460
  }
470
461
  static get is() { return "six-dropdown"; }
471
462
  static get encapsulation() { return "shadow"; }
@@ -967,26 +958,6 @@ export class SixDropdown {
967
958
  "text": "Hides the dropdown panel",
968
959
  "tags": []
969
960
  }
970
- },
971
- "reposition": {
972
- "complexType": {
973
- "signature": "() => Promise<void>",
974
- "parameters": [],
975
- "references": {
976
- "Promise": {
977
- "location": "global",
978
- "id": "global::Promise"
979
- }
980
- },
981
- "return": "Promise<void>"
982
- },
983
- "docs": {
984
- "text": "Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated.",
985
- "tags": [{
986
- "name": "deprecated",
987
- "text": ": use the property `matchTriggerWidth` instead."
988
- }]
989
- }
990
961
  }
991
962
  };
992
963
  }
@@ -1 +1 @@
1
- {"version":3,"file":"six-dropdown.js","sourceRoot":"","sources":["../../../src/components/six-dropdown/six-dropdown.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,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,OAAO,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;A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KAAK,UAAU,kBAAkB,CAAC,QAAgC,EAAE,mBAA2B;IAC7F,OAAO,CACL,QAAQ,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;QAC1D,CAAC,MAAM,QAAQ,CAAC,YAAY,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAC5E,CAAC;AACJ,CAAC","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { getNearestTabbableElement } from '../../utils/tabbable';\nimport Popover from '../../utils/popover';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { debounce, DEFAULT_DEBOUNCE_FAST } from '../../utils/execution-control';\nimport { EmptyPayload } from '../../utils/types';\nimport { SixMenuItemData } from '../six-menu/six-menu';\n\nexport interface SixDropdownAutoFilterPayload {\n filterValue: string;\n}\n\nexport interface SixDropdownAsyncFilterPayload {\n filterValue: string;\n}\n\nexport interface SixDropdownScrollPayload {\n scrollHeight: number;\n scrollTop: number;\n scrollbarHeight: number;\n scrollRatio: number;\n}\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot trigger - The dropdown's trigger, usually a `<six-button>` element.\n * @slot dropdown-footer - The dropdown's footer area.\n * @slot - The dropdown's content.\n *\n * @part base - The component's base wrapper.\n * @part trigger - The container that wraps the trigger.\n * @part panel - The panel that gets shown when the dropdown is open.\n */\n\n@Component({\n tag: 'six-dropdown',\n styleUrl: 'six-dropdown.scss',\n shadow: true,\n})\nexport class SixDropdown {\n private componentId = `dropdown-${++id}`;\n private isVisible = false;\n private panel?: HTMLElement;\n private scrollPanel?: HTMLElement;\n private panelSlot?: HTMLSlotElement;\n private positioner?: HTMLElement;\n private popover?: Popover;\n private trigger?: HTMLElement;\n private triggerSlot?: HTMLSlotElement;\n private resizeObserver = new ResizeObserver(debounce(() => this.updatePanelPosition(), 100));\n\n // the input element shown in the dropdown when filter is set to true\n private filterInputElement?: HTMLSixInputElement;\n\n @Element() host!: HTMLSixDropdownElement;\n\n /** Indicates whether the dropdown is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\n * inside the viewport.\n */\n @Prop() placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'bottom-start';\n\n /** Determines whether the dropdown should hide when a menu item is selected. */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop() closeOnSelect = true;\n\n /** The distance in pixels from which to offset the panel away from its trigger. */\n @Prop() distance = 4;\n\n /** The distance in pixels from which to offset the panel along its trigger. */\n @Prop() skidding = 0;\n\n /**\n * Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n * `overflow: auto|scroll`.\n */\n @Prop() hoist = false;\n\n /** The dropdown will close when the user interacts outside of this element (e.g. clicking). */\n @Prop() containingElement?: HTMLElement;\n\n /**\n * Set to true to allow auto filtering for entries in the dropdown.\n * With this flag the dropdown will automatically filter itsel.\n * If you need to coordinate the shown elements yourself,\n * e.g. because you need to call an endpoint use asyncFilter instead\n */\n @Prop() filter = false;\n\n /**\n * Set to true to allow async filtering.\n * When you enter something in the search field the component will only emit an event but not filter any elements itself.\n * You can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself\n */\n @Prop() asyncFilter = false;\n\n /** The filter's placeholder text. */\n @Prop() filterPlaceholder = 'Filter...';\n\n /** By default the search field will be focused when opening a dropdown with filtering enabled. */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop() autofocusFilter = true;\n\n get filterEnabled() {\n return this.filter || this.asyncFilter;\n }\n\n /** The debounce for the filter callbacks. */\n @Prop({ mutable: true }) filterDebounce = 0;\n\n /** The panel can be opend/closed by pressing the spacebar or the enter key. In some cases you might want to avoid this */\n @Prop() disableHideOnEnterAndSpace = false;\n\n /** Set the options to be shown in the dropdown (alternative to setting the elements via html)*/\n @Prop({ mutable: true }) options: SixMenuItemData[] = [];\n\n /** Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around)\n * are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot. */\n @Prop() virtualScroll = false;\n\n /**\n * Determines if the dropdown panel's width should match the width of the trigger element.\n *\n * If set to `true`, the panel will resize its width to align with the trigger's width.\n * If `false` or omitted, the panel will maintain its default width.\n */\n @Prop() matchTriggerWidth = false;\n\n get container() {\n return this.containingElement || this.host;\n }\n\n /** Emitted when the dropdown opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-dropdown-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dropdown opens and all transitions are complete. */\n @Event({ eventName: 'six-dropdown-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the dropdown closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-dropdown-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dropdown closes and all transitions are complete. */\n @Event({ eventName: 'six-dropdown-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the auto filter is triggered */\n @Event({ eventName: 'six-dropdown-auto-filter-fired' }) sixAutoFilter!: EventEmitter<SixDropdownAutoFilterPayload>;\n\n /** Emitted when the async filter is triggered */\n @Event({ eventName: 'six-async-filter-fired' }) sixAsyncFilterFired!: EventEmitter<SixDropdownAsyncFilterPayload>;\n\n /** Emitted when the user scrolls inside dropdown panel.*/\n @Event({ eventName: 'six-dropdown-scroll' }) sixScroll!: EventEmitter<SixDropdownScrollPayload>;\n\n private eventListeners = new EventListeners();\n\n // internal representation of options, so we don't have to make options mutable\n @State() renderedOptions: SixMenuItemData[] = [];\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n this.updateAccessibleTrigger();\n }\n\n @Watch('distance')\n @Watch('hoist')\n @Watch('placement')\n @Watch('skidding')\n handlePopoverOptionsChange() {\n if (this.popover == null) return;\n\n this.popover.setOptions({\n strategy: this.hoist ? 'fixed' : 'absolute',\n placement: this.placement,\n distance: this.distance,\n skidding: this.skidding,\n });\n }\n\n @Watch('options')\n @Watch('virtualScroll')\n handleOptionsChange() {\n this.validateOptions();\n }\n\n private validateOptions() {\n if (!Array.isArray(this.options)) {\n this.options = [];\n }\n if (this.virtualScroll && this.options.length === 0) {\n console.error('Options must be defined when using virtual scrolling');\n }\n this.renderedOptions = [...this.options];\n }\n\n componentWillLoad() {\n this.validateOptions();\n if (this.asyncFilter) {\n this.filterDebounce = DEFAULT_DEBOUNCE_FAST;\n }\n }\n\n componentDidLoad() {\n this.init();\n if (this.open) {\n void this.show();\n }\n }\n\n connectedCallback() {\n this.init();\n }\n\n private init() {\n this.initPopover();\n\n // listen to filter\n const filterInputElement = this.filterInputElement;\n if (filterInputElement != null) {\n this.eventListeners.add(\n filterInputElement,\n 'six-input-input',\n debounce(() => {\n const filterValue = filterInputElement.value ?? '';\n if (this.filter) {\n this.applyFilter(filterValue);\n }\n this.emitFilterEvents(filterValue);\n }, this.filterDebounce)\n );\n }\n }\n\n private applyFilter(filterTerm: string) {\n const lowerCaseFilterTerm = filterTerm.toLowerCase()?.trim() || '';\n if (this.options.length > 0) {\n this.renderedOptions = this.options.filter(\n (option) =>\n (option.label && String(option.label)?.toLowerCase()?.includes(lowerCaseFilterTerm)) ||\n (option.value && String(option.value)?.toLowerCase()?.includes(lowerCaseFilterTerm))\n );\n } else {\n const { selectionContainerItems, sixMenuItems } = this.getMenuItems();\n const selectionContainerValues = selectionContainerItems.map((s) => s.value);\n\n // Filter items in selection container\n selectionContainerItems.forEach(async (menuItem) => {\n menuItem.style.display = (await containsFilterTerm(menuItem, lowerCaseFilterTerm)) ? 'unset' : 'none';\n });\n\n // Filter other items. Always hide items which contained in the selection container.\n sixMenuItems.forEach(async (menuItem) => {\n menuItem.style.display =\n (await containsFilterTerm(menuItem, lowerCaseFilterTerm)) &&\n !selectionContainerValues.includes(menuItem.value)\n ? 'unset'\n : 'none';\n });\n }\n }\n\n private resetFilter() {\n if (this.filterInputElement != null) {\n this.filterInputElement.value = '';\n this.emitFilterEvents('');\n }\n if (this.options.length > 0) {\n this.renderedOptions = [...this.options];\n } else {\n const { selectionContainerItems, sixMenuItems } = this.getMenuItems();\n [...selectionContainerItems, ...sixMenuItems].forEach((item) => (item.style.display = 'unset'));\n }\n }\n\n private emitFilterEvents(filterValue: string) {\n if (this.filter) {\n this.sixAutoFilter.emit({ filterValue });\n } else if (this.asyncFilter) {\n this.sixAsyncFilterFired.emit({ filterValue });\n }\n }\n\n private initPopover() {\n if (this.trigger == null || this.positioner == null) return;\n this.popover = new Popover(this.trigger, this.positioner, {\n strategy: this.hoist ? 'fixed' : 'absolute',\n placement: this.placement,\n distance: this.distance,\n skidding: this.skidding,\n transitionElement: this.panel,\n onAfterHide: () => {\n if (this.filterEnabled) {\n this.resetFilter();\n }\n this.sixAfterHide.emit();\n },\n onAfterShow: async () => {\n this.sixAfterShow.emit();\n },\n onTransitionEnd: () => {\n if (!this.open && this.scrollPanel != null) {\n this.scrollPanel.scrollTop = 0;\n }\n },\n });\n }\n\n private getMenuItems = (): {\n selectionContainerItems: HTMLSixMenuItemElement[];\n sixMenuItems: HTMLSixMenuItemElement[];\n } => {\n if (this.options.length > 0) {\n return {\n sixMenuItems: this.renderedOptions.map((option) => (\n <six-menu-item value={option.value}>{option.label}</six-menu-item>\n )),\n selectionContainerItems: [],\n };\n }\n if (this.panel == null) return { sixMenuItems: [], selectionContainerItems: [] };\n\n // Relies on the implementation of six-select. Its dropdown slot contains two elements,\n // one for the selected menu items, and one for the other items.\n const selectionContainer = this.panelSlot?.assignedElements({ flatten: true }).filter(isSelectionContainer).at(0);\n const sixMenuElement = this.panelSlot?.assignedElements({ flatten: true }).filter(isSixMenu).at(0) as\n | HTMLSixMenuElement\n | undefined;\n const selectionContainerItems = selectionContainer?.querySelectorAll('six-menu-item') || [];\n const sixMenuItems = (sixMenuElement?.querySelector('slot')?.assignedElements().filter(isSixMenuItem) ||\n []) as HTMLSixMenuItemElement[];\n\n if (selectionContainerItems.length > 0 || sixMenuItems.length > 0) {\n return { sixMenuItems, selectionContainerItems: [...selectionContainerItems] };\n } else {\n return {\n sixMenuItems: sixMenuElement ? Array.from(sixMenuElement.querySelectorAll('six-menu-item')) : [],\n selectionContainerItems: [],\n };\n }\n };\n\n disconnectedCallback() {\n this.resizeObserver.disconnect();\n this.eventListeners.removeAll();\n void this.hide();\n this.popover?.destroy();\n this.popover = undefined;\n }\n\n /** Shows the dropdown panel */\n @Method()\n async show() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (this.isVisible || this.popover == null || this.panel == null) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.eventListeners.add(this.panel, 'six-menu-item-selected', this.handlePanelSelect);\n this.eventListeners.add(document, 'keydown', this.handleDocumentKeyDown);\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n\n this.isVisible = true;\n this.open = true;\n\n if (this.trigger != null) {\n this.resizeObserver.observe(this.trigger);\n }\n this.updatePanelPosition();\n this.popover.show();\n\n if (this.filterEnabled && this.autofocusFilter) {\n requestAnimationFrame(() => {\n this.filterInputElement?.setFocus();\n });\n }\n }\n\n /**\n * Set min width of dropdown panel to the width of the trigger element\n */\n private updatePanelPosition() {\n if (!this.open) {\n return;\n }\n\n if (this.matchTriggerWidth && this.trigger != null && this.panel != null) {\n const width = this.trigger.getBoundingClientRect().width;\n this.panel.style.minWidth = `${width}px`;\n }\n\n if (this.popover != null) {\n this.popover.reposition();\n }\n }\n\n /** Hides the dropdown panel */\n @Method()\n async hide() {\n this.resizeObserver.disconnect();\n\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (!this.isVisible || this.panel == null || this.popover == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.eventListeners.remove(this.panel, 'six-menu-item-selected', this.handlePanelSelect);\n this.eventListeners.remove(document, 'keydown', this.handleDocumentKeyDown);\n this.eventListeners.remove(document, 'mousedown', this.handleDocumentMouseDown);\n\n this.isVisible = false;\n this.open = false;\n this.popover.hide();\n }\n\n private focusOnTrigger() {\n if (this.trigger == null) return;\n const trigger = this.triggerSlot?.assignedElements({ flatten: true }).at(0) as HTMLSixButtonElement | undefined;\n if (trigger != null) {\n if (typeof trigger.setFocus === 'function') {\n trigger.setFocus();\n } else if (typeof trigger.focus === 'function') {\n trigger.focus();\n }\n }\n }\n\n private getMenu(): HTMLSixMenuElement | undefined {\n return this.panelSlot?.assignedElements({ flatten: true }).filter(isSixMenu).at(0) as\n | HTMLSixMenuElement\n | undefined;\n }\n\n /**\n * Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\n * is activated.\n *\n * @deprecated: use the property `matchTriggerWidth` instead.\n */\n @Method()\n async reposition() {\n if (this.open && this.popover != null) {\n this.popover.reposition();\n }\n }\n\n private handleDocumentKeyDown = (event: Event) => {\n const keyboardEvent = event as KeyboardEvent;\n // Close when escape is pressed\n if (keyboardEvent.key === 'Escape') {\n void this.hide();\n this.focusOnTrigger();\n return;\n }\n\n if (this.filterInputElement === this.host.shadowRoot?.activeElement) {\n if (keyboardEvent.key === 'ArrowDown') {\n const { sixMenuItems, selectionContainerItems } = this.getMenuItems();\n const item = [...selectionContainerItems, ...sixMenuItems].find((item) => item.style.display !== 'none');\n if (item != null) {\n item.setFocus();\n }\n }\n }\n\n // Handle tabbing\n if (keyboardEvent.key === 'Tab') {\n // Tabbing within an open menu should close the dropdown and refocus the trigger\n if (this.open && document.activeElement != null && isSixMenuItem(document.activeElement)) {\n keyboardEvent.preventDefault();\n void this.hide();\n this.focusOnTrigger();\n return;\n }\n\n // Tabbing outside the containing element closes the panel\n //\n // If the dropdown is used within a shadow DOM, we need to obtain the activeElement within that shadowRoot,\n // otherwise `document.activeElement` will only return the name of the parent shadow DOM element.\n setTimeout(() => {\n const activeElement =\n this.container.getRootNode() instanceof ShadowRoot\n ? document.activeElement?.shadowRoot?.activeElement\n : document.activeElement;\n\n if (activeElement?.closest(this.container.tagName.toLowerCase()) !== this.container) {\n void this.hide();\n return;\n }\n });\n }\n };\n\n private handleDocumentMouseDown = (event: Event) => {\n // Close when clicking outside the containing element\n const path = event.composedPath() as EventTarget[];\n if (!path.includes(this.container)) {\n void this.hide();\n return;\n }\n };\n\n private handlePanelSelect = (event: Event) => {\n const target = event.target as HTMLElement;\n\n // Hide the dropdown when a menu item is selected\n if (this.closeOnSelect && isSixMenu(target)) {\n void this.hide();\n this.focusOnTrigger();\n }\n };\n\n private handleTriggerClick = () => {\n this.open ? this.hide() : this.show();\n };\n\n private handleTriggerKeyDown = (event: KeyboardEvent) => {\n // Close when escape or tab is pressed\n if (event.key === 'Escape') {\n this.focusOnTrigger();\n void this.hide();\n return;\n }\n\n // When spacebar/enter is pressed, show the panel but don't focus on the menu. This let's the user press the same\n // key again to hide the menu in case they don't want to make a selection.\n if (!this.disableHideOnEnterAndSpace && [' ', 'Enter'].includes(event.key)) {\n event.preventDefault();\n this.open ? void this.hide() : void this.show();\n return;\n }\n\n const menu = this.getMenu();\n\n // When up/down is pressed, we make the assumption that the user is familiar with the menu and plans to make a\n // selection. Rather than toggle the panel, we focus on the menu (if one exists) and activate the first item for\n // faster navigation.\n if (['ArrowDown', 'ArrowUp'].includes(event.key)) {\n event.preventDefault();\n\n // Show the menu if it's not already open\n if (!this.open) {\n void this.show();\n }\n\n if (menu == null) {\n return;\n }\n const menuItems = [...menu.querySelectorAll('six-menu-item')];\n const firstMenuItem = menuItems.at(0);\n const lastMenuItem = menuItems.at(menuItems.length - 1);\n\n // Focus on a menu item\n if (event.key === 'ArrowDown' && firstMenuItem != null) {\n firstMenuItem.setFocus();\n return;\n }\n\n if (event.key === 'ArrowUp' && lastMenuItem != null) {\n lastMenuItem.setFocus();\n return;\n }\n }\n\n // Other keys bring focus to the menu and initiate type-to-select behavior\n const ignoredKeys = ['Tab', 'Shift', 'Meta', 'Ctrl', 'Alt'];\n if (this.open && menu != null && !ignoredKeys.includes(event.key)) {\n void menu.typeToSelect(event.key);\n return;\n }\n };\n\n private handleTriggerKeyUp = (event: KeyboardEvent) => {\n // Prevent space from triggering a click event in Firefox\n if (event.key === ' ') {\n event.preventDefault();\n }\n };\n\n private handleTriggerSlotChange = () => {\n this.updateAccessibleTrigger();\n };\n\n private handleDropdownScroll = () => {\n if (this.scrollPanel == null) return;\n\n this.sixScroll.emit({\n scrollHeight: this.scrollPanel.scrollHeight,\n scrollTop: this.scrollPanel.scrollTop,\n scrollbarHeight: this.scrollPanel.offsetHeight * (this.scrollPanel.offsetHeight / this.scrollPanel.scrollHeight),\n scrollRatio: this.scrollPanel.scrollTop / (this.scrollPanel.scrollHeight - this.scrollPanel.clientHeight),\n });\n };\n\n //\n // Slotted triggers can be arbitrary content, but we need to link them to the dropdown panel with `aria-haspopup` and\n // `aria-expanded`. These must be applied to the \"accessible trigger\" (the tabbable portion of the trigger element\n // that gets slotted in) so screen readers will understand them. The accessible trigger could be the slotted element,\n // a child of the slotted element, or an element in the slotted element's shadow root.\n //\n // For example, the accessible trigger of an <sl-button> is a <button> located inside its shadow root.\n //\n // To determine this, we assume the first tabbable element in the trigger slot is the \"accessible trigger.\"\n //\n private updateAccessibleTrigger() {\n if (this.trigger == null) return;\n const assignedElements = (this.triggerSlot?.assignedElements({ flatten: true }) || []) as HTMLElement[];\n const accessibleTrigger = assignedElements.map(getNearestTabbableElement).at(0);\n if (accessibleTrigger != null) {\n accessibleTrigger.setAttribute('aria-haspopup', 'true');\n accessibleTrigger.setAttribute('aria-expanded', this.open ? 'true' : 'false');\n }\n }\n\n render() {\n return (\n <div\n part=\"base\"\n id={this.componentId}\n class={{\n dropdown: true,\n 'dropdown--open': this.open,\n }}\n >\n <span\n part=\"trigger\"\n class=\"dropdown__trigger\"\n ref={(el) => (this.trigger = el)}\n onClick={this.handleTriggerClick}\n onKeyDown={this.handleTriggerKeyDown}\n onKeyUp={this.handleTriggerKeyUp}\n >\n <slot\n name=\"trigger\"\n ref={(el) => (this.triggerSlot = el as HTMLSlotElement)}\n onSlotchange={this.handleTriggerSlotChange}\n />\n </span>\n\n {/* Position the panel with a wrapper since the popover makes use of `translate`. This let's us add transitions\n on the panel without interfering with the position. */}\n <div\n ref={(el) => (this.positioner = el)}\n class={{\n dropdown__positioner: true,\n dropdown__positioner__filtered: (this.filter || this.asyncFilter) && !this.hoist,\n }}\n >\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"dropdown__panel\"\n role=\"menu\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-labelledby={this.componentId}\n >\n {this.filterEnabled && (\n <six-input\n class={{\n filter: true,\n 'filter-hidden': !this.open,\n }}\n dropdown-search\n aria-hidden={this.open ? 'false' : 'true'}\n ref={(el) => (this.filterInputElement = el)}\n placeholder={this.filterPlaceholder}\n >\n <six-icon class=\"filter__icon\" slot=\"suffix\" size=\"small\">\n search\n </six-icon>\n </six-input>\n )}\n <div\n class={{\n dropdown__panel__scroll: true,\n 'dropdown__panel__scroll--virtual': this.virtualScroll,\n }}\n onScroll={this.handleDropdownScroll}\n ref={(el) => (this.scrollPanel = el)}\n >\n <slot ref={(el) => (this.panelSlot = el as HTMLSlotElement)} />\n {this.options.length > 0 && (\n <six-menu part=\"menu\" items={this.renderedOptions} virtualScroll={this.virtualScroll}></six-menu>\n )}\n </div>\n <slot name=\"dropdown-footer\"></slot>\n </div>\n </div>\n </div>\n );\n }\n}\n\nfunction isSixMenu(el?: Element): boolean {\n return el?.tagName.toLowerCase() === 'six-menu';\n}\nfunction isSixMenuItem(el?: Element): boolean {\n return el?.tagName.toLowerCase() === 'six-menu-item';\n}\nfunction isSelectionContainer(el?: Element): boolean {\n return el?.getAttribute('class')?.includes('selection-container') || false;\n}\nasync function containsFilterTerm(menuItem: HTMLSixMenuItemElement, lowerCaseFilterTerm: string): Promise<boolean> {\n return (\n menuItem.value.toLowerCase().includes(lowerCaseFilterTerm) ||\n (await menuItem.getTextLabel()).toLowerCase().includes(lowerCaseFilterTerm)\n );\n}\n"]}
1
+ {"version":3,"file":"six-dropdown.js","sourceRoot":"","sources":["../../../src/components/six-dropdown/six-dropdown.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,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,OAAO,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAmBhF,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;GAaG;AAOH,MAAM,OAAO,WAAW;;QACd,gBAAW,GAAG,YAAY,EAAE,EAAE,EAAE,CAAC;QACjC,cAAS,GAAG,KAAK,CAAC;QAQlB,mBAAc,GAAG,IAAI,cAAc,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC;QAuHrF,mBAAc,GAAG,IAAI,cAAc,EAAE,CAAC;QA0JtC,iBAAY,GAAG,GAGrB,EAAE;;YACF,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC5B,OAAO;oBACL,YAAY,EAAE,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CACjD,qBAAe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E,CAAE,YAAY,CAAC,OAAO,CAAC,0CAAE,QAAQ,CAAC,qBAAqB,CAAC,KAAI,KAAK,CAAC;AAC7E,CAAC;AACD,KAAK,UAAU,kBAAkB,CAAC,QAAgC,EAAE,mBAA2B;IAC7F,OAAO,CACL,QAAQ,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;QAC1D,CAAC,MAAM,QAAQ,CAAC,YAAY,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAC5E,CAAC;AACJ,CAAC","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { getNearestTabbableElement } from '../../utils/tabbable';\nimport Popover from '../../utils/popover';\nimport { EventListeners } from '../../utils/event-listeners';\nimport { debounce, DEFAULT_DEBOUNCE_FAST } from '../../utils/execution-control';\nimport { EmptyPayload } from '../../utils/types';\nimport { SixMenuItemData } from '../six-menu/six-menu';\n\nexport interface SixDropdownAutoFilterPayload {\n filterValue: string;\n}\n\nexport interface SixDropdownAsyncFilterPayload {\n filterValue: string;\n}\n\nexport interface SixDropdownScrollPayload {\n scrollHeight: number;\n scrollTop: number;\n scrollbarHeight: number;\n scrollRatio: number;\n}\n\nlet id = 0;\n\n/**\n * @since 1.0\n * @status stable\n *\n * Forked from https://github.com/shoelace-style/shoelace version v2.0.0-beta27.\n *\n * @slot trigger - The dropdown's trigger, usually a `<six-button>` element.\n * @slot dropdown-footer - The dropdown's footer area.\n * @slot - The dropdown's content.\n *\n * @part base - The component's base wrapper.\n * @part trigger - The container that wraps the trigger.\n * @part panel - The panel that gets shown when the dropdown is open.\n */\n\n@Component({\n tag: 'six-dropdown',\n styleUrl: 'six-dropdown.scss',\n shadow: true,\n})\nexport class SixDropdown {\n private componentId = `dropdown-${++id}`;\n private isVisible = false;\n private panel?: HTMLElement;\n private scrollPanel?: HTMLElement;\n private panelSlot?: HTMLSlotElement;\n private positioner?: HTMLElement;\n private popover?: Popover;\n private trigger?: HTMLElement;\n private triggerSlot?: HTMLSlotElement;\n private resizeObserver = new ResizeObserver(debounce(() => this.updatePanelPosition(), 100));\n\n // the input element shown in the dropdown when filter is set to true\n private filterInputElement?: HTMLSixInputElement;\n\n @Element() host!: HTMLSixDropdownElement;\n\n /** Indicates whether the dropdown is open. You can use this in lieu of the show/hide methods. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\n * inside the viewport.\n */\n @Prop() placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'bottom-start';\n\n /** Determines whether the dropdown should hide when a menu item is selected. */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop() closeOnSelect = true;\n\n /** The distance in pixels from which to offset the panel away from its trigger. */\n @Prop() distance = 4;\n\n /** The distance in pixels from which to offset the panel along its trigger. */\n @Prop() skidding = 0;\n\n /**\n * Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n * `overflow: auto|scroll`.\n */\n @Prop() hoist = false;\n\n /** The dropdown will close when the user interacts outside of this element (e.g. clicking). */\n @Prop() containingElement?: HTMLElement;\n\n /**\n * Set to true to allow auto filtering for entries in the dropdown.\n * With this flag the dropdown will automatically filter itsel.\n * If you need to coordinate the shown elements yourself,\n * e.g. because you need to call an endpoint use asyncFilter instead\n */\n @Prop() filter = false;\n\n /**\n * Set to true to allow async filtering.\n * When you enter something in the search field the component will only emit an event but not filter any elements itself.\n * You can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself\n */\n @Prop() asyncFilter = false;\n\n /** The filter's placeholder text. */\n @Prop() filterPlaceholder = 'Filter...';\n\n /** By default the search field will be focused when opening a dropdown with filtering enabled. */\n // eslint-disable-next-line @stencil-community/ban-default-true\n @Prop() autofocusFilter = true;\n\n get filterEnabled() {\n return this.filter || this.asyncFilter;\n }\n\n /** The debounce for the filter callbacks. */\n @Prop({ mutable: true }) filterDebounce = 0;\n\n /** The panel can be opend/closed by pressing the spacebar or the enter key. In some cases you might want to avoid this */\n @Prop() disableHideOnEnterAndSpace = false;\n\n /** Set the options to be shown in the dropdown (alternative to setting the elements via html)*/\n @Prop({ mutable: true }) options: SixMenuItemData[] = [];\n\n /** Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around)\n * are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot. */\n @Prop() virtualScroll = false;\n\n /**\n * Determines if the dropdown panel's width should match the width of the trigger element.\n *\n * If set to `true`, the panel will resize its width to align with the trigger's width.\n * If `false` or omitted, the panel will maintain its default width.\n */\n @Prop() matchTriggerWidth = false;\n\n get container() {\n return this.containingElement || this.host;\n }\n\n /** Emitted when the dropdown opens. Calling `event.preventDefault()` will prevent it from being opened. */\n @Event({ eventName: 'six-dropdown-show' }) sixShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dropdown opens and all transitions are complete. */\n @Event({ eventName: 'six-dropdown-after-show' }) sixAfterShow!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the dropdown closes. Calling `event.preventDefault()` will prevent it from being closed. */\n @Event({ eventName: 'six-dropdown-hide' }) sixHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted after the dropdown closes and all transitions are complete. */\n @Event({ eventName: 'six-dropdown-after-hide' }) sixAfterHide!: EventEmitter<EmptyPayload>;\n\n /** Emitted when the auto filter is triggered */\n @Event({ eventName: 'six-dropdown-auto-filter-fired' }) sixAutoFilter!: EventEmitter<SixDropdownAutoFilterPayload>;\n\n /** Emitted when the async filter is triggered */\n @Event({ eventName: 'six-async-filter-fired' }) sixAsyncFilterFired!: EventEmitter<SixDropdownAsyncFilterPayload>;\n\n /** Emitted when the user scrolls inside dropdown panel.*/\n @Event({ eventName: 'six-dropdown-scroll' }) sixScroll!: EventEmitter<SixDropdownScrollPayload>;\n\n private eventListeners = new EventListeners();\n\n // internal representation of options, so we don't have to make options mutable\n @State() renderedOptions: SixMenuItemData[] = [];\n\n @Watch('open')\n handleOpenChange() {\n this.open ? this.show() : this.hide();\n this.updateAccessibleTrigger();\n }\n\n @Watch('distance')\n @Watch('hoist')\n @Watch('placement')\n @Watch('skidding')\n handlePopoverOptionsChange() {\n if (this.popover == null) return;\n\n this.popover.setOptions({\n strategy: this.hoist ? 'fixed' : 'absolute',\n placement: this.placement,\n distance: this.distance,\n skidding: this.skidding,\n });\n }\n\n @Watch('options')\n @Watch('virtualScroll')\n handleOptionsChange() {\n this.validateOptions();\n }\n\n private validateOptions() {\n if (!Array.isArray(this.options)) {\n this.options = [];\n }\n if (this.virtualScroll && this.options.length === 0) {\n console.error('Options must be defined when using virtual scrolling');\n }\n this.renderedOptions = [...this.options];\n }\n\n componentWillLoad() {\n this.validateOptions();\n if (this.asyncFilter) {\n this.filterDebounce = DEFAULT_DEBOUNCE_FAST;\n }\n }\n\n componentDidLoad() {\n this.init();\n if (this.open) {\n void this.show();\n }\n }\n\n connectedCallback() {\n this.init();\n }\n\n private init() {\n this.initPopover();\n\n // listen to filter\n const filterInputElement = this.filterInputElement;\n if (filterInputElement != null) {\n this.eventListeners.add(\n filterInputElement,\n 'six-input-input',\n debounce(() => {\n const filterValue = filterInputElement.value ?? '';\n if (this.filter) {\n this.applyFilter(filterValue);\n }\n this.emitFilterEvents(filterValue);\n }, this.filterDebounce)\n );\n }\n }\n\n private applyFilter(filterTerm: string) {\n const lowerCaseFilterTerm = filterTerm.toLowerCase()?.trim() || '';\n if (this.options.length > 0) {\n this.renderedOptions = this.options.filter(\n (option) =>\n (option.label && String(option.label)?.toLowerCase()?.includes(lowerCaseFilterTerm)) ||\n (option.value && String(option.value)?.toLowerCase()?.includes(lowerCaseFilterTerm))\n );\n } else {\n const { selectionContainerItems, sixMenuItems } = this.getMenuItems();\n const selectionContainerValues = selectionContainerItems.map((s) => s.value);\n\n // Filter items in selection container\n selectionContainerItems.forEach(async (menuItem) => {\n menuItem.style.display = (await containsFilterTerm(menuItem, lowerCaseFilterTerm)) ? 'unset' : 'none';\n });\n\n // Filter other items. Always hide items which contained in the selection container.\n sixMenuItems.forEach(async (menuItem) => {\n menuItem.style.display =\n (await containsFilterTerm(menuItem, lowerCaseFilterTerm)) &&\n !selectionContainerValues.includes(menuItem.value)\n ? 'unset'\n : 'none';\n });\n }\n }\n\n private resetFilter() {\n if (this.filterInputElement != null) {\n this.filterInputElement.value = '';\n this.emitFilterEvents('');\n }\n if (this.options.length > 0) {\n this.renderedOptions = [...this.options];\n } else {\n const { selectionContainerItems, sixMenuItems } = this.getMenuItems();\n [...selectionContainerItems, ...sixMenuItems].forEach((item) => (item.style.display = 'unset'));\n }\n }\n\n private emitFilterEvents(filterValue: string) {\n if (this.filter) {\n this.sixAutoFilter.emit({ filterValue });\n } else if (this.asyncFilter) {\n this.sixAsyncFilterFired.emit({ filterValue });\n }\n }\n\n private initPopover() {\n if (this.trigger == null || this.positioner == null) return;\n this.popover = new Popover(this.trigger, this.positioner, {\n strategy: this.hoist ? 'fixed' : 'absolute',\n placement: this.placement,\n distance: this.distance,\n skidding: this.skidding,\n transitionElement: this.panel,\n onAfterHide: () => {\n if (this.filterEnabled) {\n this.resetFilter();\n }\n this.sixAfterHide.emit();\n },\n onAfterShow: async () => {\n this.sixAfterShow.emit();\n },\n onTransitionEnd: () => {\n if (!this.open && this.scrollPanel != null) {\n this.scrollPanel.scrollTop = 0;\n }\n },\n });\n }\n\n private getMenuItems = (): {\n selectionContainerItems: HTMLSixMenuItemElement[];\n sixMenuItems: HTMLSixMenuItemElement[];\n } => {\n if (this.options.length > 0) {\n return {\n sixMenuItems: this.renderedOptions.map((option) => (\n <six-menu-item value={option.value}>{option.label}</six-menu-item>\n )),\n selectionContainerItems: [],\n };\n }\n if (this.panel == null) return { sixMenuItems: [], selectionContainerItems: [] };\n\n // Relies on the implementation of six-select. Its dropdown slot contains two elements,\n // one for the selected menu items, and one for the other items.\n const selectionContainer = this.panelSlot?.assignedElements({ flatten: true }).filter(isSelectionContainer).at(0);\n const sixMenuElement = this.panelSlot?.assignedElements({ flatten: true }).filter(isSixMenu).at(0) as\n | HTMLSixMenuElement\n | undefined;\n const selectionContainerItems = selectionContainer?.querySelectorAll('six-menu-item') || [];\n let sixMenuItems: HTMLSixMenuItemElement[] =\n sixMenuElement\n ?.querySelector('slot')\n ?.assignedElements()\n .filter((el): el is HTMLSixMenuItemElement => isSixMenuItem(el)) || [];\n\n if (sixMenuItems.length === 0) {\n sixMenuItems = Array.from(sixMenuElement?.shadowRoot?.querySelectorAll('six-menu-item') || []);\n }\n\n if (selectionContainerItems.length > 0 || sixMenuItems.length > 0) {\n return { sixMenuItems, selectionContainerItems: [...selectionContainerItems] };\n } else {\n return {\n sixMenuItems: sixMenuElement ? Array.from(sixMenuElement.querySelectorAll('six-menu-item')) : [],\n selectionContainerItems: [],\n };\n }\n };\n\n disconnectedCallback() {\n this.resizeObserver.disconnect();\n this.eventListeners.removeAll();\n void this.hide();\n this.popover?.destroy();\n this.popover = undefined;\n }\n\n /** Shows the dropdown panel */\n @Method()\n async show() {\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (this.isVisible || this.popover == null || this.panel == null) {\n return;\n }\n\n const sixShow = this.sixShow.emit();\n if (sixShow.defaultPrevented) {\n this.open = false;\n return;\n }\n\n this.eventListeners.add(this.panel, 'six-menu-item-selected', this.handlePanelSelect);\n this.eventListeners.add(document, 'keydown', this.handleDocumentKeyDown);\n this.eventListeners.add(document, 'mousedown', this.handleDocumentMouseDown);\n\n this.isVisible = true;\n this.open = true;\n\n if (this.trigger != null) {\n this.resizeObserver.observe(this.trigger);\n }\n this.updatePanelPosition();\n this.popover.show();\n\n if (this.filterEnabled && this.autofocusFilter) {\n requestAnimationFrame(() => {\n this.filterInputElement?.setFocus();\n });\n }\n }\n\n /**\n * Set min width of dropdown panel to the width of the trigger element\n */\n private updatePanelPosition() {\n if (!this.open) {\n return;\n }\n\n if (this.matchTriggerWidth && this.trigger != null && this.panel != null) {\n const width = this.trigger.getBoundingClientRect().width;\n this.panel.style.minWidth = `${width}px`;\n }\n\n if (this.popover != null) {\n this.popover.reposition();\n }\n }\n\n /** Hides the dropdown panel */\n @Method()\n async hide() {\n this.resizeObserver.disconnect();\n\n // Prevent subsequent calls to the method, whether manually or triggered by the `open` watcher\n if (!this.isVisible || this.panel == null || this.popover == null) {\n return;\n }\n\n const sixHide = this.sixHide.emit();\n if (sixHide.defaultPrevented) {\n this.open = true;\n return;\n }\n\n this.eventListeners.remove(this.panel, 'six-menu-item-selected', this.handlePanelSelect);\n this.eventListeners.remove(document, 'keydown', this.handleDocumentKeyDown);\n this.eventListeners.remove(document, 'mousedown', this.handleDocumentMouseDown);\n\n this.isVisible = false;\n this.open = false;\n this.popover.hide();\n }\n\n private focusOnTrigger() {\n if (this.trigger == null) return;\n const trigger = this.triggerSlot?.assignedElements({ flatten: true }).at(0) as HTMLSixButtonElement | undefined;\n if (trigger != null) {\n if (typeof trigger.setFocus === 'function') {\n trigger.setFocus();\n } else if (typeof trigger.focus === 'function') {\n trigger.focus();\n }\n }\n }\n\n private getMenu(): HTMLSixMenuElement | undefined {\n return this.panelSlot?.assignedElements({ flatten: true }).filter(isSixMenu).at(0) as\n | HTMLSixMenuElement\n | undefined;\n }\n\n private handleDocumentKeyDown = (event: Event) => {\n const keyboardEvent = event as KeyboardEvent;\n // Close when escape is pressed\n if (keyboardEvent.key === 'Escape') {\n void this.hide();\n this.focusOnTrigger();\n return;\n }\n\n if (this.filterInputElement === this.host.shadowRoot?.activeElement) {\n if (keyboardEvent.key === 'ArrowDown') {\n const { sixMenuItems, selectionContainerItems } = this.getMenuItems();\n const item = [...selectionContainerItems, ...sixMenuItems].find((item) => item.style.display !== 'none');\n if (item != null) {\n item.setFocus();\n }\n }\n }\n\n // Handle tabbing\n if (keyboardEvent.key === 'Tab') {\n // Tabbing within an open menu should close the dropdown and refocus the trigger\n if (this.open && document.activeElement != null && isSixMenuItem(document.activeElement)) {\n keyboardEvent.preventDefault();\n void this.hide();\n this.focusOnTrigger();\n return;\n }\n\n // Tabbing outside the containing element closes the panel\n //\n // If the dropdown is used within a shadow DOM, we need to obtain the activeElement within that shadowRoot,\n // otherwise `document.activeElement` will only return the name of the parent shadow DOM element.\n setTimeout(() => {\n const activeElement =\n this.container.getRootNode() instanceof ShadowRoot\n ? document.activeElement?.shadowRoot?.activeElement\n : document.activeElement;\n\n if (activeElement?.closest(this.container.tagName.toLowerCase()) !== this.container) {\n void this.hide();\n return;\n }\n });\n }\n };\n\n private handleDocumentMouseDown = (event: Event) => {\n // Close when clicking outside the containing element\n const path = event.composedPath() as EventTarget[];\n if (!path.includes(this.container)) {\n void this.hide();\n return;\n }\n };\n\n private handlePanelSelect = (event: Event) => {\n const target = event.target as HTMLElement;\n\n // Hide the dropdown when a menu item is selected\n if (this.closeOnSelect && isSixMenu(target)) {\n void this.hide();\n this.focusOnTrigger();\n }\n };\n\n private handleTriggerClick = () => {\n this.open ? this.hide() : this.show();\n };\n\n private handleTriggerKeyDown = (event: KeyboardEvent) => {\n // Close when escape or tab is pressed\n if (event.key === 'Escape') {\n this.focusOnTrigger();\n void this.hide();\n return;\n }\n\n // When spacebar/enter is pressed, show the panel but don't focus on the menu. This let's the user press the same\n // key again to hide the menu in case they don't want to make a selection.\n if (!this.disableHideOnEnterAndSpace && [' ', 'Enter'].includes(event.key)) {\n event.preventDefault();\n this.open ? void this.hide() : void this.show();\n return;\n }\n\n const menu = this.getMenu();\n\n // When up/down is pressed, we make the assumption that the user is familiar with the menu and plans to make a\n // selection. Rather than toggle the panel, we focus on the menu (if one exists) and activate the first item for\n // faster navigation.\n if (['ArrowDown', 'ArrowUp'].includes(event.key)) {\n event.preventDefault();\n\n // Show the menu if it's not already open\n if (!this.open) {\n void this.show();\n }\n\n if (menu == null) {\n return;\n }\n const menuItems = [...menu.querySelectorAll('six-menu-item')];\n const firstMenuItem = menuItems.at(0);\n const lastMenuItem = menuItems.at(menuItems.length - 1);\n\n // Focus on a menu item\n if (event.key === 'ArrowDown' && firstMenuItem != null) {\n firstMenuItem.setFocus();\n return;\n }\n\n if (event.key === 'ArrowUp' && lastMenuItem != null) {\n lastMenuItem.setFocus();\n return;\n }\n }\n\n // Other keys bring focus to the menu and initiate type-to-select behavior\n const ignoredKeys = ['Tab', 'Shift', 'Meta', 'Ctrl', 'Alt'];\n if (this.open && menu != null && !ignoredKeys.includes(event.key)) {\n void menu.typeToSelect(event.key);\n return;\n }\n };\n\n private handleTriggerKeyUp = (event: KeyboardEvent) => {\n // Prevent space from triggering a click event in Firefox\n if (event.key === ' ') {\n event.preventDefault();\n }\n };\n\n private handleTriggerSlotChange = () => {\n this.updateAccessibleTrigger();\n };\n\n private handleDropdownScroll = () => {\n if (this.scrollPanel == null) return;\n\n this.sixScroll.emit({\n scrollHeight: this.scrollPanel.scrollHeight,\n scrollTop: this.scrollPanel.scrollTop,\n scrollbarHeight: this.scrollPanel.offsetHeight * (this.scrollPanel.offsetHeight / this.scrollPanel.scrollHeight),\n scrollRatio: this.scrollPanel.scrollTop / (this.scrollPanel.scrollHeight - this.scrollPanel.clientHeight),\n });\n };\n\n //\n // Slotted triggers can be arbitrary content, but we need to link them to the dropdown panel with `aria-haspopup` and\n // `aria-expanded`. These must be applied to the \"accessible trigger\" (the tabbable portion of the trigger element\n // that gets slotted in) so screen readers will understand them. The accessible trigger could be the slotted element,\n // a child of the slotted element, or an element in the slotted element's shadow root.\n //\n // For example, the accessible trigger of an <sl-button> is a <button> located inside its shadow root.\n //\n // To determine this, we assume the first tabbable element in the trigger slot is the \"accessible trigger.\"\n //\n private updateAccessibleTrigger() {\n if (this.trigger == null) return;\n const assignedElements = (this.triggerSlot?.assignedElements({ flatten: true }) || []) as HTMLElement[];\n const accessibleTrigger = assignedElements.map(getNearestTabbableElement).at(0);\n if (accessibleTrigger != null) {\n accessibleTrigger.setAttribute('aria-haspopup', 'true');\n accessibleTrigger.setAttribute('aria-expanded', this.open ? 'true' : 'false');\n }\n }\n\n render() {\n return (\n <div\n part=\"base\"\n id={this.componentId}\n class={{\n dropdown: true,\n 'dropdown--open': this.open,\n }}\n >\n <span\n part=\"trigger\"\n class=\"dropdown__trigger\"\n ref={(el) => (this.trigger = el)}\n onClick={this.handleTriggerClick}\n onKeyDown={this.handleTriggerKeyDown}\n onKeyUp={this.handleTriggerKeyUp}\n >\n <slot\n name=\"trigger\"\n ref={(el) => (this.triggerSlot = el as HTMLSlotElement)}\n onSlotchange={this.handleTriggerSlotChange}\n />\n </span>\n\n {/* Position the panel with a wrapper since the popover makes use of `translate`. This let's us add transitions\n on the panel without interfering with the position. */}\n <div\n ref={(el) => (this.positioner = el)}\n class={{\n dropdown__positioner: true,\n dropdown__positioner__filtered: (this.filter || this.asyncFilter) && !this.hoist,\n }}\n >\n <div\n ref={(el) => (this.panel = el)}\n part=\"panel\"\n class=\"dropdown__panel\"\n role=\"menu\"\n aria-hidden={this.open ? 'false' : 'true'}\n aria-labelledby={this.componentId}\n >\n {this.filterEnabled && (\n <six-input\n class={{\n filter: true,\n 'filter-hidden': !this.open,\n }}\n dropdown-search\n aria-hidden={this.open ? 'false' : 'true'}\n ref={(el) => (this.filterInputElement = el)}\n placeholder={this.filterPlaceholder}\n >\n <six-icon class=\"filter__icon\" slot=\"suffix\" size=\"small\">\n search\n </six-icon>\n </six-input>\n )}\n <div\n class={{\n dropdown__panel__scroll: true,\n 'dropdown__panel__scroll--virtual': this.virtualScroll,\n }}\n onScroll={this.handleDropdownScroll}\n ref={(el) => (this.scrollPanel = el)}\n >\n <slot ref={(el) => (this.panelSlot = el as HTMLSlotElement)} />\n {this.options.length > 0 && (\n <six-menu part=\"menu\" items={this.renderedOptions} virtualScroll={this.virtualScroll}></six-menu>\n )}\n </div>\n <slot name=\"dropdown-footer\"></slot>\n </div>\n </div>\n </div>\n );\n }\n}\n\nfunction isSixMenu(el?: Element): boolean {\n return el?.tagName.toLowerCase() === 'six-menu';\n}\nfunction isSixMenuItem(el?: Element): boolean {\n return el?.tagName.toLowerCase() === 'six-menu-item';\n}\nfunction isSelectionContainer(el?: Element): boolean {\n return el?.getAttribute('class')?.includes('selection-container') || false;\n}\nasync function containsFilterTerm(menuItem: HTMLSixMenuItemElement, lowerCaseFilterTerm: string): Promise<boolean> {\n return (\n menuItem.value.toLowerCase().includes(lowerCaseFilterTerm) ||\n (await menuItem.getTextLabel()).toLowerCase().includes(lowerCaseFilterTerm)\n );\n}\n"]}
@@ -2,4 +2,5 @@
2
2
  text-align: left;
3
3
  color: var(--six-color-danger-800);
4
4
  width: 100%;
5
+ font-size: var(--six-input-help-text-font-size-medium);
5
6
  }
@@ -7,7 +7,7 @@ import { h } from "@stencil/core";
7
7
  */
8
8
  export class SixError {
9
9
  render() {
10
- return (h("div", { class: "six-error-container" }, h("slot", null)));
10
+ return (h("div", { key: '2d7fcbbfd43290274cda14d19cc36de363375cfd', class: "six-error-container" }, h("slot", { key: 'da0ef0f523cff1d6d0dfae310957c6b8c99ab63c' })));
11
11
  }
12
12
  static get is() { return "six-error"; }
13
13
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"six-error.js","sourceRoot":"","sources":["../../../src/components/six-error/six-error.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAE7C;;;;;GAKG;AAOH,MAAM,OAAO,QAAQ;IACnB,MAAM;QACJ,OAAO,CACL,WAAK,KAAK,EAAC,qBAAqB;YAC9B,eAAQ,CACJ,CACP,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import { Component, h } from '@stencil/core';\n\n/**\n * @since 4.0\n * @status beta\n *\n * @slot default - The error's message content\n */\n\n@Component({\n tag: 'six-error',\n styleUrl: 'six-error.scss',\n shadow: true,\n})\nexport class SixError {\n render() {\n return (\n <div class=\"six-error-container\">\n <slot />\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-error.js","sourceRoot":"","sources":["../../../src/components/six-error/six-error.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAE7C;;;;;GAKG;AAOH,MAAM,OAAO,QAAQ;IACnB,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAC,qBAAqB;YAC9B,8DAAQ,CACJ,CACP,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import { Component, h } from '@stencil/core';\n\n/**\n * @since 4.0\n * @status beta\n *\n * @slot default - The error's message content\n */\n\n@Component({\n tag: 'six-error',\n styleUrl: 'six-error.scss',\n shadow: true,\n})\nexport class SixError {\n render() {\n return (\n <div class=\"six-error-container\">\n <slot />\n </div>\n );\n }\n}\n"]}
@@ -95,7 +95,7 @@ export class SixErrorPage {
95
95
  return DESCRIPTION_PER_ERROR_CODE[this.errorCode][this.language];
96
96
  }
97
97
  render() {
98
- return (h("div", { part: "container" }, h("div", { class: "six-error-page__icon-container", part: "icon-container" }, h("six-picto", { size: "4xl", class: "six-error-page__icon", part: "icon" }, this.getIconName())), h("div", { class: "six-error-page__title", part: "title" }, this.getErrorTitle()), h("div", { class: "six-error-page__description", part: "description" }, this.getErrorDescription())));
98
+ return (h("div", { key: '6b37d62582a5b07926ab326efa2064c854143817', part: "container" }, h("div", { key: 'fb92d248f0bfab9716569a74fa7458a899b5a244', class: "six-error-page__icon-container", part: "icon-container" }, h("six-picto", { key: 'fd543564f87c4870f1d424b0b5132fb6e7b38f94', size: "4xl", class: "six-error-page__icon", part: "icon" }, this.getIconName())), h("div", { key: '347c9155de1d0bde81188aa01bc959a01856b531', class: "six-error-page__title", part: "title" }, this.getErrorTitle()), h("div", { key: 'e23468922bae5999349ef63b1884e5f6ab065b90', class: "six-error-page__description", part: "description" }, this.getErrorDescription())));
99
99
  }
100
100
  static get is() { return "six-error-page"; }
101
101
  static get encapsulation() { return "shadow"; }