@six-group/ui-library 0.0.0-insider.af88f91 → 0.0.0-insider.b13c699

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 (1969) hide show
  1. package/dist/cjs/form-control-b39f1df5.js +36 -0
  2. package/dist/cjs/form-control-b39f1df5.js.map +1 -0
  3. package/dist/cjs/index-417a06c8.js +1948 -0
  4. package/dist/cjs/index-417a06c8.js.map +1 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/six-alert.cjs.entry.js +2 -2
  7. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  8. package/dist/cjs/six-avatar.cjs.entry.js +3 -3
  9. package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
  10. package/dist/cjs/six-badge.cjs.entry.js +3 -3
  11. package/dist/cjs/six-button.cjs.entry.js +4 -4
  12. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  13. package/dist/cjs/six-card.cjs.entry.js +2 -2
  14. package/dist/cjs/six-checkbox.cjs.entry.js +128 -0
  15. package/dist/cjs/six-checkbox.cjs.entry.js.map +1 -0
  16. package/dist/cjs/six-datepicker.cjs.entry.js +4 -4
  17. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  18. package/dist/cjs/six-details.cjs.entry.js +4 -4
  19. package/dist/cjs/six-details.cjs.entry.js.map +1 -1
  20. package/dist/cjs/six-dialog.cjs.entry.js +3 -3
  21. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  22. package/dist/cjs/six-drawer.cjs.entry.js +3 -3
  23. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  24. package/dist/cjs/six-dropdown_3.cjs.entry.js +818 -0
  25. package/dist/cjs/six-dropdown_3.cjs.entry.js.map +1 -0
  26. package/dist/cjs/six-error-page.cjs.entry.js +2 -2
  27. package/dist/cjs/six-error.cjs.entry.js +2 -2
  28. package/dist/cjs/six-file-list-item.cjs.entry.js +3 -3
  29. package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
  30. package/dist/cjs/six-file-list.cjs.entry.js +2 -2
  31. package/dist/cjs/six-file-upload.cjs.entry.js +6 -9
  32. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  33. package/dist/cjs/six-footer.cjs.entry.js +2 -2
  34. package/dist/cjs/six-group-label.cjs.entry.js +3 -3
  35. package/dist/cjs/six-header-dropdown-item.cjs.entry.js +45 -0
  36. package/dist/cjs/six-header-dropdown-item.cjs.entry.js.map +1 -0
  37. package/dist/cjs/six-header-item_2.cjs.entry.js +47 -0
  38. package/dist/cjs/six-header-item_2.cjs.entry.js.map +1 -0
  39. package/dist/cjs/six-header-menu-button.cjs.entry.js +23 -0
  40. package/dist/cjs/six-header-menu-button.cjs.entry.js.map +1 -0
  41. package/dist/cjs/six-header.cjs.entry.js +40 -31
  42. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  43. package/dist/cjs/six-icon-button.cjs.entry.js +11 -5
  44. package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
  45. package/dist/cjs/six-icon.cjs.entry.js +3 -3
  46. package/dist/cjs/six-input.cjs.entry.js +15 -6
  47. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  48. package/dist/cjs/six-item-picker.cjs.entry.js +4 -4
  49. package/dist/cjs/six-language-switcher.cjs.entry.js +2 -2
  50. package/dist/cjs/six-layout-grid.cjs.entry.js +2 -2
  51. package/dist/cjs/six-main-container.cjs.entry.js +2 -2
  52. package/dist/cjs/six-menu-divider.cjs.entry.js +2 -2
  53. package/dist/cjs/six-menu-label.cjs.entry.js +2 -2
  54. package/dist/cjs/six-picto.cjs.entry.js +23 -7
  55. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  56. package/dist/cjs/six-progress-bar.cjs.entry.js +4 -4
  57. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  58. package/dist/cjs/six-progress-ring.cjs.entry.js +2 -2
  59. package/dist/cjs/six-radio.cjs.entry.js +3 -3
  60. package/dist/cjs/six-range.cjs.entry.js +4 -4
  61. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  62. package/dist/cjs/six-root.cjs.entry.js +2 -2
  63. package/dist/cjs/six-root.cjs.entry.js.map +1 -1
  64. package/dist/cjs/six-search-field.cjs.entry.js +2 -2
  65. package/dist/cjs/six-select.cjs.entry.js +31 -14
  66. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  67. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +3 -3
  68. package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
  69. package/dist/cjs/six-sidebar-item.cjs.entry.js +4 -4
  70. package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
  71. package/dist/cjs/six-sidebar.cjs.entry.js +3 -3
  72. package/dist/cjs/six-spinner.cjs.entry.js +39 -6
  73. package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
  74. package/dist/cjs/six-stage-indicator.cjs.entry.js +1 -1
  75. package/dist/cjs/six-switch.cjs.entry.js +4 -4
  76. package/dist/cjs/six-tab-group.cjs.entry.js +3 -3
  77. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  78. package/dist/cjs/six-tab-panel.cjs.entry.js +2 -2
  79. package/dist/cjs/six-tab.cjs.entry.js +3 -3
  80. package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
  81. package/dist/cjs/six-tag.cjs.entry.js +3 -3
  82. package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
  83. package/dist/cjs/six-textarea.cjs.entry.js +5 -5
  84. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  85. package/dist/cjs/six-tile.cjs.entry.js +6 -6
  86. package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
  87. package/dist/cjs/six-timepicker.cjs.entry.js +3 -3
  88. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  89. package/dist/cjs/six-tooltip.cjs.entry.js +3 -3
  90. package/dist/cjs/ui-library.cjs.js +10 -10
  91. package/dist/cjs/ui-library.cjs.js.map +1 -1
  92. package/dist/collection/assets/pictograms/TPP.svg +1 -0
  93. package/dist/collection/assets/pictograms/agile.svg +1 -0
  94. package/dist/collection/assets/pictograms/ai.svg +1 -0
  95. package/dist/collection/assets/pictograms/airplane.svg +1 -0
  96. package/dist/collection/assets/pictograms/alert.svg +1 -0
  97. package/dist/collection/assets/pictograms/ambulance.svg +1 -0
  98. package/dist/collection/assets/pictograms/analyse.svg +1 -0
  99. package/dist/collection/assets/pictograms/anchor.svg +1 -0
  100. package/dist/collection/assets/pictograms/apple.svg +1 -0
  101. package/dist/collection/assets/pictograms/arrow-down.svg +1 -0
  102. package/dist/collection/assets/pictograms/arrow-right.svg +1 -0
  103. package/dist/collection/assets/pictograms/arrow-up.svg +1 -0
  104. package/dist/collection/assets/pictograms/astronaut-outline.svg +1 -0
  105. package/dist/collection/assets/pictograms/augmented-reality.svg +1 -0
  106. package/dist/collection/assets/pictograms/backoffice.svg +1 -0
  107. package/dist/collection/assets/pictograms/bank.svg +1 -0
  108. package/dist/collection/assets/pictograms/banknote.svg +1 -0
  109. package/dist/collection/assets/pictograms/barcode.svg +1 -0
  110. package/dist/collection/assets/pictograms/battery.svg +1 -0
  111. package/dist/collection/assets/pictograms/beacon.svg +1 -0
  112. package/dist/collection/assets/pictograms/beat.svg +1 -0
  113. package/dist/collection/assets/pictograms/bee.svg +1 -0
  114. package/dist/collection/assets/pictograms/bell.svg +1 -0
  115. package/dist/collection/assets/pictograms/berlin.svg +1 -0
  116. package/dist/collection/assets/pictograms/big-data.svg +1 -0
  117. package/dist/collection/assets/pictograms/bilateral.svg +1 -0
  118. package/dist/collection/assets/pictograms/bill.svg +1 -0
  119. package/dist/collection/assets/pictograms/binoculars.svg +1 -0
  120. package/dist/collection/assets/pictograms/block.svg +1 -0
  121. package/dist/collection/assets/pictograms/blockchain.svg +1 -0
  122. package/dist/collection/assets/pictograms/bluetooth.svg +1 -0
  123. package/dist/collection/assets/pictograms/bone.svg +1 -0
  124. package/dist/collection/assets/pictograms/book.svg +1 -0
  125. package/dist/collection/assets/pictograms/bottle.svg +1 -0
  126. package/dist/collection/assets/pictograms/buggy.svg +1 -0
  127. package/dist/collection/assets/pictograms/bull-bear.svg +1 -0
  128. package/dist/collection/assets/pictograms/business.svg +1 -0
  129. package/dist/collection/assets/pictograms/cake.svg +1 -0
  130. package/dist/collection/assets/pictograms/calculator.svg +1 -0
  131. package/dist/collection/assets/pictograms/calendar.svg +1 -0
  132. package/dist/collection/assets/pictograms/cam.svg +1 -0
  133. package/dist/collection/assets/pictograms/cap.svg +1 -0
  134. package/dist/collection/assets/pictograms/capsule.svg +1 -0
  135. package/dist/collection/assets/pictograms/car.svg +1 -0
  136. package/dist/collection/assets/pictograms/carabiner.svg +1 -0
  137. package/dist/collection/assets/pictograms/card.svg +1 -0
  138. package/dist/collection/assets/pictograms/cash-machine.svg +1 -0
  139. package/dist/collection/assets/pictograms/cash-register.svg +1 -0
  140. package/dist/collection/assets/pictograms/cash.svg +1 -0
  141. package/dist/collection/assets/pictograms/cashless.svg +1 -0
  142. package/dist/collection/assets/pictograms/check.svg +1 -0
  143. package/dist/collection/assets/pictograms/cheveron-right.svg +1 -0
  144. package/dist/collection/assets/pictograms/chf-eur.svg +1 -0
  145. package/dist/collection/assets/pictograms/cleaning.svg +1 -0
  146. package/dist/collection/assets/pictograms/click-collect.svg +1 -0
  147. package/dist/collection/assets/pictograms/click-return.svg +1 -0
  148. package/dist/collection/assets/pictograms/client-receipt.svg +1 -0
  149. package/dist/collection/assets/pictograms/clientesyusuarios.svg +1 -0
  150. package/dist/collection/assets/pictograms/clock.svg +1 -0
  151. package/dist/collection/assets/pictograms/cloud.svg +1 -0
  152. package/dist/collection/assets/pictograms/coffee.svg +1 -0
  153. package/dist/collection/assets/pictograms/coins.svg +1 -0
  154. package/dist/collection/assets/pictograms/configuracion-de-servicio.svg +1 -0
  155. package/dist/collection/assets/pictograms/connectivity.svg +1 -0
  156. package/dist/collection/assets/pictograms/contactless.svg +1 -0
  157. package/dist/collection/assets/pictograms/copy.svg +1 -0
  158. package/dist/collection/assets/pictograms/cornet.svg +1 -0
  159. package/dist/collection/assets/pictograms/cost-reduction.svg +1 -0
  160. package/dist/collection/assets/pictograms/coupon.svg +1 -0
  161. package/dist/collection/assets/pictograms/croissant.svg +1 -0
  162. package/dist/collection/assets/pictograms/crowdfunding.svg +1 -0
  163. package/dist/collection/assets/pictograms/crown.svg +1 -0
  164. package/dist/collection/assets/pictograms/cryptocurrency.svg +1 -0
  165. package/dist/collection/assets/pictograms/crystal-ball.svg +1 -0
  166. package/dist/collection/assets/pictograms/cup.svg +1 -0
  167. package/dist/collection/assets/pictograms/cupcake.svg +1 -0
  168. package/dist/collection/assets/pictograms/currency.svg +1 -0
  169. package/dist/collection/assets/pictograms/cyber-security.svg +1 -0
  170. package/dist/collection/assets/pictograms/data-mapping.svg +1 -0
  171. package/dist/collection/assets/pictograms/desktop.svg +1 -0
  172. package/dist/collection/assets/pictograms/diamond.svg +1 -0
  173. package/dist/collection/assets/pictograms/disc.svg +1 -0
  174. package/dist/collection/assets/pictograms/diversify.svg +1 -0
  175. package/dist/collection/assets/pictograms/dna.svg +1 -0
  176. package/dist/collection/assets/pictograms/dog.svg +1 -0
  177. package/dist/collection/assets/pictograms/download.svg +1 -0
  178. package/dist/collection/assets/pictograms/drop-zone.svg +1 -0
  179. package/dist/collection/assets/pictograms/drop.svg +1 -0
  180. package/dist/collection/assets/pictograms/dumbbell.svg +1 -0
  181. package/dist/collection/assets/pictograms/dws.svg +1 -0
  182. package/dist/collection/assets/pictograms/ear.svg +1 -0
  183. package/dist/collection/assets/pictograms/ecommerce.svg +1 -0
  184. package/dist/collection/assets/pictograms/ethernet.svg +1 -0
  185. package/dist/collection/assets/pictograms/eur-dollar.svg +1 -0
  186. package/dist/collection/assets/pictograms/exchange.svg +1 -0
  187. package/dist/collection/assets/pictograms/exclamation.svg +1 -0
  188. package/dist/collection/assets/pictograms/external-link.svg +1 -0
  189. package/dist/collection/assets/pictograms/extinguisher.svg +1 -0
  190. package/dist/collection/assets/pictograms/factory.svg +1 -0
  191. package/dist/collection/assets/pictograms/fax.svg +1 -0
  192. package/dist/collection/assets/pictograms/fence.svg +1 -0
  193. package/dist/collection/assets/pictograms/file-text.svg +1 -0
  194. package/dist/collection/assets/pictograms/file.svg +1 -0
  195. package/dist/collection/assets/pictograms/find-in-page.svg +1 -0
  196. package/dist/collection/assets/pictograms/fingerprint.svg +1 -0
  197. package/dist/collection/assets/pictograms/flag.svg +1 -0
  198. package/dist/collection/assets/pictograms/flash.svg +1 -0
  199. package/dist/collection/assets/pictograms/flexibility.svg +1 -0
  200. package/dist/collection/assets/pictograms/flipchart.svg +1 -0
  201. package/dist/collection/assets/pictograms/flower.svg +1 -0
  202. package/dist/collection/assets/pictograms/focus.svg +1 -0
  203. package/dist/collection/assets/pictograms/foreign-exchange.svg +1 -0
  204. package/dist/collection/assets/pictograms/fraud-free.svg +1 -0
  205. package/dist/collection/assets/pictograms/funnel.svg +1 -0
  206. package/dist/collection/assets/pictograms/gamepad.svg +1 -0
  207. package/dist/collection/assets/pictograms/gears.svg +1 -0
  208. package/dist/collection/assets/pictograms/generic.svg +1 -0
  209. package/dist/collection/assets/pictograms/genie.svg +1 -0
  210. package/dist/collection/assets/pictograms/gestion-de-fallidos.svg +1 -0
  211. package/dist/collection/assets/pictograms/gestion-de-instrucciones.svg +1 -0
  212. package/dist/collection/assets/pictograms/gestion-de-pago.svg +1 -0
  213. package/dist/collection/assets/pictograms/gift.svg +1 -0
  214. package/dist/collection/assets/pictograms/giftcard.svg +1 -0
  215. package/dist/collection/assets/pictograms/glass.svg +1 -0
  216. package/dist/collection/assets/pictograms/glasses.svg +1 -0
  217. package/dist/collection/assets/pictograms/global.svg +1 -0
  218. package/dist/collection/assets/pictograms/gprs-lan.svg +1 -0
  219. package/dist/collection/assets/pictograms/gprs.svg +1 -0
  220. package/dist/collection/assets/pictograms/guide.svg +1 -0
  221. package/dist/collection/assets/pictograms/hacker-security.svg +1 -0
  222. package/dist/collection/assets/pictograms/hand.svg +1 -0
  223. package/dist/collection/assets/pictograms/handshake.svg +1 -0
  224. package/dist/collection/assets/pictograms/happy.svg +1 -0
  225. package/dist/collection/assets/pictograms/hashtag.svg +1 -0
  226. package/dist/collection/assets/pictograms/headphones.svg +1 -0
  227. package/dist/collection/assets/pictograms/heart.svg +1 -0
  228. package/dist/collection/assets/pictograms/home.svg +1 -0
  229. package/dist/collection/assets/pictograms/identity-management.svg +1 -0
  230. package/dist/collection/assets/pictograms/info.svg +1 -0
  231. package/dist/collection/assets/pictograms/international-connectivity.svg +1 -0
  232. package/dist/collection/assets/pictograms/iot.svg +1 -0
  233. package/dist/collection/assets/pictograms/key.svg +1 -0
  234. package/dist/collection/assets/pictograms/lab.svg +1 -0
  235. package/dist/collection/assets/pictograms/labyrinth.svg +1 -0
  236. package/dist/collection/assets/pictograms/laptop-outline.svg +1 -0
  237. package/dist/collection/assets/pictograms/leaf.svg +1 -0
  238. package/dist/collection/assets/pictograms/lightbulb.svg +1 -0
  239. package/dist/collection/assets/pictograms/lighthouse.svg +1 -0
  240. package/dist/collection/assets/pictograms/like.svg +1 -0
  241. package/dist/collection/assets/pictograms/lines.svg +1 -0
  242. package/dist/collection/assets/pictograms/liquid.svg +1 -0
  243. package/dist/collection/assets/pictograms/lock.svg +1 -0
  244. package/dist/collection/assets/pictograms/london.svg +1 -0
  245. package/dist/collection/assets/pictograms/lounge.svg +1 -0
  246. package/dist/collection/assets/pictograms/lunch-learn.svg +1 -0
  247. package/dist/collection/assets/pictograms/machine-learning.svg +1 -0
  248. package/dist/collection/assets/pictograms/mail-copy.svg +1 -0
  249. package/dist/collection/assets/pictograms/mail.svg +1 -0
  250. package/dist/collection/assets/pictograms/map-marker.svg +1 -0
  251. package/dist/collection/assets/pictograms/map.svg +1 -0
  252. package/dist/collection/assets/pictograms/markets.svg +1 -0
  253. package/dist/collection/assets/pictograms/megaphone.svg +1 -0
  254. package/dist/collection/assets/pictograms/menu.svg +1 -0
  255. package/dist/collection/assets/pictograms/micro-payments.svg +1 -0
  256. package/dist/collection/assets/pictograms/microphone.svg +1 -0
  257. package/dist/collection/assets/pictograms/minus.svg +1 -0
  258. package/dist/collection/assets/pictograms/mobile-payment.svg +1 -0
  259. package/dist/collection/assets/pictograms/mobile-terminal.svg +1 -0
  260. package/dist/collection/assets/pictograms/monitoring.svg +1 -0
  261. package/dist/collection/assets/pictograms/more.svg +1 -0
  262. package/dist/collection/assets/pictograms/mountain.svg +1 -0
  263. package/dist/collection/assets/pictograms/movie-camera.svg +1 -0
  264. package/dist/collection/assets/pictograms/navigation.svg +1 -0
  265. package/dist/collection/assets/pictograms/no-smoking.svg +1 -0
  266. package/dist/collection/assets/pictograms/office.svg +1 -0
  267. package/dist/collection/assets/pictograms/outsorcing.svg +1 -0
  268. package/dist/collection/assets/pictograms/package.svg +1 -0
  269. package/dist/collection/assets/pictograms/paddle.svg +1 -0
  270. package/dist/collection/assets/pictograms/paninoteca.svg +1 -0
  271. package/dist/collection/assets/pictograms/paragraph.svg +1 -0
  272. package/dist/collection/assets/pictograms/paris.svg +1 -0
  273. package/dist/collection/assets/pictograms/parking.svg +1 -0
  274. package/dist/collection/assets/pictograms/pause.svg +1 -0
  275. package/dist/collection/assets/pictograms/pay-points.svg +1 -0
  276. package/dist/collection/assets/pictograms/pencil.svg +1 -0
  277. package/dist/collection/assets/pictograms/person-business.svg +1 -0
  278. package/dist/collection/assets/pictograms/person-callcenter.svg +1 -0
  279. package/dist/collection/assets/pictograms/person-client.svg +1 -0
  280. package/dist/collection/assets/pictograms/person-group.svg +1 -0
  281. package/dist/collection/assets/pictograms/person.svg +1 -0
  282. package/dist/collection/assets/pictograms/pet.svg +1 -0
  283. package/dist/collection/assets/pictograms/piechart.svg +1 -0
  284. package/dist/collection/assets/pictograms/pig.svg +1 -0
  285. package/dist/collection/assets/pictograms/piggy-bank.svg +1 -0
  286. package/dist/collection/assets/pictograms/planet.svg +1 -0
  287. package/dist/collection/assets/pictograms/play.svg +1 -0
  288. package/dist/collection/assets/pictograms/plus.svg +1 -0
  289. package/dist/collection/assets/pictograms/popsicle.svg +1 -0
  290. package/dist/collection/assets/pictograms/printer.svg +1 -0
  291. package/dist/collection/assets/pictograms/privacy.svg +1 -0
  292. package/dist/collection/assets/pictograms/process.svg +1 -0
  293. package/dist/collection/assets/pictograms/projector.svg +1 -0
  294. package/dist/collection/assets/pictograms/psp.svg +1 -0
  295. package/dist/collection/assets/pictograms/punch-card.svg +1 -0
  296. package/dist/collection/assets/pictograms/puzzle.svg +1 -0
  297. package/dist/collection/assets/pictograms/qr-scanner.svg +1 -0
  298. package/dist/collection/assets/pictograms/qr.svg +1 -0
  299. package/dist/collection/assets/pictograms/question.svg +1 -0
  300. package/dist/collection/assets/pictograms/rabbit.svg +1 -0
  301. package/dist/collection/assets/pictograms/rain.svg +1 -0
  302. package/dist/collection/assets/pictograms/realtime.svg +1 -0
  303. package/dist/collection/assets/pictograms/recurring-payments.svg +1 -0
  304. package/dist/collection/assets/pictograms/relaxing.svg +1 -0
  305. package/dist/collection/assets/pictograms/reporting.svg +1 -0
  306. package/dist/collection/assets/pictograms/responsive-design.svg +1 -0
  307. package/dist/collection/assets/pictograms/robo-advisor.svg +1 -0
  308. package/dist/collection/assets/pictograms/robotics.svg +1 -0
  309. package/dist/collection/assets/pictograms/rock.svg +1 -0
  310. package/dist/collection/assets/pictograms/rocket.svg +1 -0
  311. package/dist/collection/assets/pictograms/rss.svg +1 -0
  312. package/dist/collection/assets/pictograms/sad.svg +1 -0
  313. package/dist/collection/assets/pictograms/sailboat.svg +1 -0
  314. package/dist/collection/assets/pictograms/scales.svg +1 -0
  315. package/dist/collection/assets/pictograms/screen.svg +1 -0
  316. package/dist/collection/assets/pictograms/seal.svg +1 -0
  317. package/dist/collection/assets/pictograms/search.svg +1 -0
  318. package/dist/collection/assets/pictograms/sentiment-dissatisfied.svg +1 -0
  319. package/dist/collection/assets/pictograms/server.svg +1 -0
  320. package/dist/collection/assets/pictograms/service-center.svg +1 -0
  321. package/dist/collection/assets/pictograms/sextant.svg +1 -0
  322. package/dist/collection/assets/pictograms/share.svg +1 -0
  323. package/dist/collection/assets/pictograms/shield.svg +1 -0
  324. package/dist/collection/assets/pictograms/shop.svg +1 -0
  325. package/dist/collection/assets/pictograms/shopping-cart-chf.svg +1 -0
  326. package/dist/collection/assets/pictograms/shopping-cart-download.svg +1 -0
  327. package/dist/collection/assets/pictograms/shopping-cart.svg +1 -0
  328. package/dist/collection/assets/pictograms/signal.svg +1 -0
  329. package/dist/collection/assets/pictograms/simple-integration.svg +1 -0
  330. package/dist/collection/assets/pictograms/skull.svg +1 -0
  331. package/dist/collection/assets/pictograms/smoking.svg +1 -0
  332. package/dist/collection/assets/pictograms/snow.svg +1 -0
  333. package/dist/collection/assets/pictograms/snowflake.svg +1 -0
  334. package/dist/collection/assets/pictograms/snowman.svg +1 -0
  335. package/dist/collection/assets/pictograms/soc.svg +1 -0
  336. package/dist/collection/assets/pictograms/social-days.svg +1 -0
  337. package/dist/collection/assets/pictograms/social-trading.svg +1 -0
  338. package/dist/collection/assets/pictograms/softwarepackage.svg +1 -0
  339. package/dist/collection/assets/pictograms/sound.svg +1 -0
  340. package/dist/collection/assets/pictograms/speechbubble.svg +1 -0
  341. package/dist/collection/assets/pictograms/spirit.svg +1 -0
  342. package/dist/collection/assets/pictograms/split.svg +1 -0
  343. package/dist/collection/assets/pictograms/stability.svg +1 -0
  344. package/dist/collection/assets/pictograms/stairs.svg +1 -0
  345. package/dist/collection/assets/pictograms/star.svg +1 -0
  346. package/dist/collection/assets/pictograms/statistic.svg +1 -0
  347. package/dist/collection/assets/pictograms/stock.svg +1 -0
  348. package/dist/collection/assets/pictograms/stocks.svg +1 -0
  349. package/dist/collection/assets/pictograms/stop.svg +1 -0
  350. package/dist/collection/assets/pictograms/stopwatch.svg +1 -0
  351. package/dist/collection/assets/pictograms/storage.svg +1 -0
  352. package/dist/collection/assets/pictograms/success.svg +1 -0
  353. package/dist/collection/assets/pictograms/suitcase.svg +1 -0
  354. package/dist/collection/assets/pictograms/sun.svg +1 -0
  355. package/dist/collection/assets/pictograms/surveillance.svg +1 -0
  356. package/dist/collection/assets/pictograms/swiss.svg +1 -0
  357. package/dist/collection/assets/pictograms/tablet.svg +1 -0
  358. package/dist/collection/assets/pictograms/tachometer.svg +1 -0
  359. package/dist/collection/assets/pictograms/target.svg +1 -0
  360. package/dist/collection/assets/pictograms/telephone.svg +1 -0
  361. package/dist/collection/assets/pictograms/telescope.svg +1 -0
  362. package/dist/collection/assets/pictograms/temperature.svg +1 -0
  363. package/dist/collection/assets/pictograms/terminal.svg +1 -0
  364. package/dist/collection/assets/pictograms/ticket.svg +1 -0
  365. package/dist/collection/assets/pictograms/tin.svg +1 -0
  366. package/dist/collection/assets/pictograms/tokenization.svg +1 -0
  367. package/dist/collection/assets/pictograms/tool.svg +1 -0
  368. package/dist/collection/assets/pictograms/touch.svg +1 -0
  369. package/dist/collection/assets/pictograms/train.svg +1 -0
  370. package/dist/collection/assets/pictograms/trash.svg +1 -0
  371. package/dist/collection/assets/pictograms/umbrella.svg +1 -0
  372. package/dist/collection/assets/pictograms/unlock.svg +1 -0
  373. package/dist/collection/assets/pictograms/upload.svg +1 -0
  374. package/dist/collection/assets/pictograms/usb.svg +1 -0
  375. package/dist/collection/assets/pictograms/viena.svg +1 -0
  376. package/dist/collection/assets/pictograms/viking.svg +1 -0
  377. package/dist/collection/assets/pictograms/visibility.svg +1 -0
  378. package/dist/collection/assets/pictograms/wallet.svg +1 -0
  379. package/dist/collection/assets/pictograms/warning.svg +1 -0
  380. package/dist/collection/assets/pictograms/way-up.svg +1 -0
  381. package/dist/collection/assets/pictograms/wc-handicap.svg +1 -0
  382. package/dist/collection/assets/pictograms/wc-men.svg +1 -0
  383. package/dist/collection/assets/pictograms/wc-woman.svg +1 -0
  384. package/dist/collection/assets/pictograms/wearables.svg +1 -0
  385. package/dist/collection/assets/pictograms/webshop.svg +1 -0
  386. package/dist/collection/assets/pictograms/wlan-bluetooth.svg +1 -0
  387. package/dist/collection/assets/pictograms/wlan.svg +1 -0
  388. package/dist/collection/assets/pictograms/x.svg +1 -0
  389. package/dist/collection/assets/pictograms/zurich.svg +1 -0
  390. package/dist/collection/collection-manifest.json +7 -3
  391. package/dist/collection/components/six-alert/six-alert.js +1 -1
  392. package/dist/collection/components/six-alert/six-alert.js.map +1 -1
  393. package/dist/collection/components/six-avatar/six-avatar.js +2 -2
  394. package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
  395. package/dist/collection/components/six-badge/six-badge.js +2 -2
  396. package/dist/collection/components/six-button/six-button.css +0 -4
  397. package/dist/collection/components/six-button/six-button.js +2 -2
  398. package/dist/collection/components/six-button/six-button.js.map +1 -1
  399. package/dist/collection/components/six-card/six-card.js +1 -1
  400. package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
  401. package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
  402. package/dist/collection/components/six-datepicker/six-datepicker.js +3 -3
  403. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  404. package/dist/collection/components/six-details/six-details.js +3 -3
  405. package/dist/collection/components/six-details/six-details.js.map +1 -1
  406. package/dist/collection/components/six-dialog/six-dialog.js +2 -2
  407. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  408. package/dist/collection/components/six-drawer/six-drawer.js +2 -2
  409. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  410. package/dist/collection/components/six-dropdown/six-dropdown.js +5 -5
  411. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  412. package/dist/collection/components/six-error/six-error.js +1 -1
  413. package/dist/collection/components/six-error-page/six-error-page.js +1 -1
  414. package/dist/collection/components/six-file-list/six-file-list.js +1 -1
  415. package/dist/collection/components/six-file-list-item/six-file-list-item.js +2 -2
  416. package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
  417. package/dist/collection/components/six-file-upload/six-file-upload.js +5 -8
  418. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  419. package/dist/collection/components/six-footer/six-footer.js +1 -1
  420. package/dist/collection/components/six-group-label/six-group-label.js +1 -1
  421. package/dist/collection/components/six-header/six-header.css +5 -29
  422. package/dist/collection/components/six-header/six-header.js +115 -47
  423. package/dist/collection/components/six-header/six-header.js.map +1 -1
  424. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.css +15 -0
  425. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +53 -0
  426. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js.map +1 -0
  427. package/dist/collection/components/six-header-item/six-header-item.css +15 -0
  428. package/dist/collection/components/six-header-item/six-header-item.js +51 -0
  429. package/dist/collection/components/six-header-item/six-header-item.js.map +1 -0
  430. package/dist/collection/components/six-header-menu-button/six-header-menu-button.css +27 -0
  431. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +48 -0
  432. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js.map +1 -0
  433. package/dist/collection/components/six-icon/six-icon.js +2 -2
  434. package/dist/collection/components/six-icon-button/six-icon-button.css +2 -1
  435. package/dist/collection/components/six-icon-button/six-icon-button.js +60 -3
  436. package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
  437. package/dist/collection/components/six-input/six-input.css +1 -0
  438. package/dist/collection/components/six-input/six-input.js +41 -5
  439. package/dist/collection/components/six-input/six-input.js.map +1 -1
  440. package/dist/collection/components/six-item-picker/six-item-picker.js +3 -3
  441. package/dist/collection/components/six-language-switcher/six-language-switcher.js +1 -1
  442. package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
  443. package/dist/collection/components/six-logo/six-logo.css +18 -0
  444. package/dist/collection/components/six-logo/six-logo.js +54 -0
  445. package/dist/collection/components/six-logo/six-logo.js.map +1 -0
  446. package/dist/collection/components/six-main-container/six-main-container.js +1 -1
  447. package/dist/collection/components/six-menu/six-menu.js +13 -4
  448. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  449. package/dist/collection/components/six-menu-divider/six-menu-divider.js +1 -1
  450. package/dist/collection/components/six-menu-item/six-menu-item.js +2 -2
  451. package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
  452. package/dist/collection/components/six-menu-label/six-menu-label.js +1 -1
  453. package/dist/collection/components/six-picto/six-picto.css +0 -1193
  454. package/dist/collection/components/six-picto/six-picto.js +26 -5
  455. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  456. package/dist/collection/components/six-progress-bar/six-progress-bar.js +3 -3
  457. package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
  458. package/dist/collection/components/six-progress-ring/six-progress-ring.js +1 -1
  459. package/dist/collection/components/six-radio/six-radio.js +2 -2
  460. package/dist/collection/components/six-range/six-range.js +2 -2
  461. package/dist/collection/components/six-range/six-range.js.map +1 -1
  462. package/dist/collection/components/six-root/six-root.js +1 -1
  463. package/dist/collection/components/six-root/six-root.js.map +1 -1
  464. package/dist/collection/components/six-search-field/six-search-field.js +1 -1
  465. package/dist/collection/components/six-select/six-select.js +29 -12
  466. package/dist/collection/components/six-select/six-select.js.map +1 -1
  467. package/dist/collection/components/six-sidebar/six-sidebar.js +2 -2
  468. package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +7 -0
  469. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +2 -2
  470. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +7 -0
  471. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +1 -1
  472. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
  473. package/dist/collection/components/six-spinner/six-spinner.css +45 -0
  474. package/dist/collection/components/six-spinner/six-spinner.js +59 -10
  475. package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
  476. package/dist/collection/components/six-switch/six-switch.js +2 -2
  477. package/dist/collection/components/six-tab/six-tab.js +2 -2
  478. package/dist/collection/components/six-tab/six-tab.js.map +1 -1
  479. package/dist/collection/components/six-tab-group/six-tab-group.js +2 -2
  480. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  481. package/dist/collection/components/six-tab-panel/six-tab-panel.js +1 -1
  482. package/dist/collection/components/six-tag/six-tag.js +2 -2
  483. package/dist/collection/components/six-tag/six-tag.js.map +1 -1
  484. package/dist/collection/components/six-textarea/six-textarea.css +5 -0
  485. package/dist/collection/components/six-textarea/six-textarea.js +4 -4
  486. package/dist/collection/components/six-tile/six-tile.js +5 -5
  487. package/dist/collection/components/six-tile/six-tile.js.map +1 -1
  488. package/dist/collection/components/six-timepicker/six-timepicker.js +2 -2
  489. package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
  490. package/dist/collection/components/six-tooltip/six-tooltip.js +2 -2
  491. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
  492. package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  493. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
  494. package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  495. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
  496. package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  497. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
  498. package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  499. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
  500. package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  501. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
  502. package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  503. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
  504. package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  505. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
  506. package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  507. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
  508. package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  509. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
  510. package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  511. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
  512. package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  513. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
  514. package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  515. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
  516. package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  517. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
  518. package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  519. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
  520. package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  521. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
  522. package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  523. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
  524. package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  525. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
  526. package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  527. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  528. package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  529. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  530. package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  531. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  532. package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  533. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  534. package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  535. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  536. package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  537. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  538. package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  539. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  540. package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  541. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  542. package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  543. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  544. package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  545. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  546. package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  547. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  548. package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  549. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  550. package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  551. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  552. package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  553. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  554. package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  555. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  556. package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  557. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  558. package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  559. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  560. package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  561. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  562. package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  563. package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
  564. package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  565. package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
  566. package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  567. package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
  568. package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  569. package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
  570. package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  571. package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
  572. package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  573. package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
  574. package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  575. package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
  576. package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  577. package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
  578. package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  579. package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
  580. package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  581. package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
  582. package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  583. package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
  584. package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  585. package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
  586. package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  587. package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
  588. package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  589. package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
  590. package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  591. package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
  592. package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  593. package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
  594. package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  595. package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
  596. package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  597. package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
  598. package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  599. package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
  600. package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
  601. package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
  602. package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
  603. package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
  604. package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
  605. package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
  606. package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
  607. package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
  608. package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
  609. package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
  610. package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
  611. package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
  612. package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
  613. package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
  614. package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
  615. package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
  616. package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
  617. package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
  618. package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
  619. package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
  620. package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
  621. package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
  622. package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
  623. package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
  624. package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
  625. package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
  626. package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
  627. package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
  628. package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
  629. package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
  630. package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
  631. package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
  632. package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
  633. package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
  634. package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
  635. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
  636. package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  637. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
  638. package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  639. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
  640. package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  641. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
  642. package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  643. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
  644. package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  645. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
  646. package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  647. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
  648. package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  649. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
  650. package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  651. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
  652. package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  653. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
  654. package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  655. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
  656. package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  657. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
  658. package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  659. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
  660. package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  661. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
  662. package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  663. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
  664. package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  665. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
  666. package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  667. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
  668. package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  669. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
  670. package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  671. package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
  672. package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
  673. package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
  674. package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
  675. package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
  676. package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
  677. package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
  678. package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
  679. package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
  680. package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
  681. package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
  682. package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
  683. package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
  684. package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
  685. package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
  686. package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
  687. package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
  688. package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
  689. package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
  690. package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
  691. package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
  692. package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
  693. package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
  694. package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
  695. package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
  696. package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
  697. package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
  698. package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
  699. package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
  700. package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
  701. package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
  702. package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
  703. package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
  704. package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
  705. package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
  706. package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
  707. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
  708. package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  709. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
  710. package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  711. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
  712. package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  713. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
  714. package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  715. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
  716. package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  717. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
  718. package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  719. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
  720. package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  721. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
  722. package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  723. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
  724. package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  725. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
  726. package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  727. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
  728. package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  729. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
  730. package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  731. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
  732. package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  733. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
  734. package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  735. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
  736. package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  737. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
  738. package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  739. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
  740. package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  741. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
  742. package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  743. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
  744. package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  745. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
  746. package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  747. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
  748. package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  749. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
  750. package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  751. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
  752. package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  753. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
  754. package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  755. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
  756. package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  757. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
  758. package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  759. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
  760. package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  761. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
  762. package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  763. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
  764. package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  765. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
  766. package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  767. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
  768. package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  769. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
  770. package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  771. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
  772. package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  773. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
  774. package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  775. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
  776. package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  777. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
  778. package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  779. package/dist/components/index.js +8 -0
  780. package/dist/components/index.js.map +1 -1
  781. package/dist/components/six-alert.js +1 -1
  782. package/dist/components/six-alert.js.map +1 -1
  783. package/dist/components/six-avatar.js +2 -2
  784. package/dist/components/six-avatar.js.map +1 -1
  785. package/dist/components/six-badge.js +2 -2
  786. package/dist/components/six-button2.js +3 -3
  787. package/dist/components/six-button2.js.map +1 -1
  788. package/dist/components/six-card.js +1 -1
  789. package/dist/components/six-checkbox2.js +2 -2
  790. package/dist/components/six-checkbox2.js.map +1 -1
  791. package/dist/components/six-datepicker.js +3 -3
  792. package/dist/components/six-datepicker.js.map +1 -1
  793. package/dist/components/six-details2.js +3 -3
  794. package/dist/components/six-details2.js.map +1 -1
  795. package/dist/components/six-dialog.js +2 -2
  796. package/dist/components/six-dialog.js.map +1 -1
  797. package/dist/components/six-drawer.js +2 -2
  798. package/dist/components/six-drawer.js.map +1 -1
  799. package/dist/components/six-dropdown2.js +5 -5
  800. package/dist/components/six-dropdown2.js.map +1 -1
  801. package/dist/components/six-error-page.js +1 -1
  802. package/dist/components/six-error2.js +1 -1
  803. package/dist/components/six-file-list-item.js +2 -2
  804. package/dist/components/six-file-list-item.js.map +1 -1
  805. package/dist/components/six-file-list.js +1 -1
  806. package/dist/components/six-file-upload.js +5 -8
  807. package/dist/components/six-file-upload.js.map +1 -1
  808. package/dist/components/six-footer.js +1 -1
  809. package/dist/components/six-group-label.js +1 -1
  810. package/dist/components/six-header-dropdown-item.d.ts +11 -0
  811. package/dist/components/six-header-dropdown-item.js +103 -0
  812. package/dist/components/six-header-dropdown-item.js.map +1 -0
  813. package/dist/components/six-header-item.d.ts +11 -0
  814. package/dist/components/six-header-item.js +8 -0
  815. package/dist/components/six-header-item.js.map +1 -0
  816. package/dist/components/six-header-item2.js +39 -0
  817. package/dist/components/six-header-item2.js.map +1 -0
  818. package/dist/components/six-header-menu-button.d.ts +11 -0
  819. package/dist/components/six-header-menu-button.js +57 -0
  820. package/dist/components/six-header-menu-button.js.map +1 -0
  821. package/dist/components/six-header.js +64 -42
  822. package/dist/components/six-header.js.map +1 -1
  823. package/dist/components/six-icon-button2.js +14 -5
  824. package/dist/components/six-icon-button2.js.map +1 -1
  825. package/dist/components/six-icon2.js +2 -2
  826. package/dist/components/six-input2.js +14 -4
  827. package/dist/components/six-input2.js.map +1 -1
  828. package/dist/components/six-item-picker2.js +3 -3
  829. package/dist/components/six-language-switcher.js +1 -1
  830. package/dist/components/six-layout-grid.js +1 -1
  831. package/dist/components/six-logo.d.ts +11 -0
  832. package/dist/components/six-logo.js +8 -0
  833. package/dist/components/six-logo.js.map +1 -0
  834. package/dist/components/six-logo2.js +42 -0
  835. package/dist/components/six-logo2.js.map +1 -0
  836. package/dist/components/six-main-container.js +1 -1
  837. package/dist/components/six-menu-divider.js +1 -1
  838. package/dist/components/six-menu-item2.js +2 -2
  839. package/dist/components/six-menu-item2.js.map +1 -1
  840. package/dist/components/six-menu-label.js +1 -1
  841. package/dist/components/six-menu2.js +13 -4
  842. package/dist/components/six-menu2.js.map +1 -1
  843. package/dist/components/six-picto2.js +24 -7
  844. package/dist/components/six-picto2.js.map +1 -1
  845. package/dist/components/six-progress-bar.js +3 -3
  846. package/dist/components/six-progress-bar.js.map +1 -1
  847. package/dist/components/six-progress-ring.js +1 -1
  848. package/dist/components/six-radio.js +2 -2
  849. package/dist/components/six-range.js +2 -2
  850. package/dist/components/six-range.js.map +1 -1
  851. package/dist/components/six-root.js +1 -1
  852. package/dist/components/six-root.js.map +1 -1
  853. package/dist/components/six-search-field.js +1 -1
  854. package/dist/components/six-select.js +29 -12
  855. package/dist/components/six-select.js.map +1 -1
  856. package/dist/components/six-sidebar-item-group.js +2 -2
  857. package/dist/components/six-sidebar-item-group.js.map +1 -1
  858. package/dist/components/six-sidebar-item.js +3 -3
  859. package/dist/components/six-sidebar-item.js.map +1 -1
  860. package/dist/components/six-sidebar.js +2 -2
  861. package/dist/components/six-spinner2.js +39 -5
  862. package/dist/components/six-spinner2.js.map +1 -1
  863. package/dist/components/six-switch.js +2 -2
  864. package/dist/components/six-tab-group.js +2 -2
  865. package/dist/components/six-tab-group.js.map +1 -1
  866. package/dist/components/six-tab-panel.js +1 -1
  867. package/dist/components/six-tab.js +2 -2
  868. package/dist/components/six-tab.js.map +1 -1
  869. package/dist/components/six-tag.js +2 -2
  870. package/dist/components/six-tag.js.map +1 -1
  871. package/dist/components/six-textarea.js +3 -3
  872. package/dist/components/six-textarea.js.map +1 -1
  873. package/dist/components/six-tile.js +5 -5
  874. package/dist/components/six-tile.js.map +1 -1
  875. package/dist/components/six-timepicker2.js +2 -2
  876. package/dist/components/six-timepicker2.js.map +1 -1
  877. package/dist/components/six-tooltip2.js +2 -2
  878. package/dist/components.d.ts +34 -0
  879. package/dist/components.json +566 -42
  880. package/dist/esm/form-control-ad1710bf.js +34 -0
  881. package/dist/esm/form-control-ad1710bf.js.map +1 -0
  882. package/dist/esm/index-a7bee415.js +1919 -0
  883. package/dist/esm/index-a7bee415.js.map +1 -0
  884. package/dist/esm/loader.js +3 -3
  885. package/dist/esm/six-alert.entry.js +2 -2
  886. package/dist/esm/six-alert.entry.js.map +1 -1
  887. package/dist/esm/six-avatar.entry.js +3 -3
  888. package/dist/esm/six-avatar.entry.js.map +1 -1
  889. package/dist/esm/six-badge.entry.js +3 -3
  890. package/dist/esm/six-button.entry.js +4 -4
  891. package/dist/esm/six-button.entry.js.map +1 -1
  892. package/dist/esm/six-card.entry.js +2 -2
  893. package/dist/esm/six-checkbox.entry.js +124 -0
  894. package/dist/esm/six-checkbox.entry.js.map +1 -0
  895. package/dist/esm/six-datepicker.entry.js +4 -4
  896. package/dist/esm/six-datepicker.entry.js.map +1 -1
  897. package/dist/esm/six-details.entry.js +4 -4
  898. package/dist/esm/six-details.entry.js.map +1 -1
  899. package/dist/esm/six-dialog.entry.js +3 -3
  900. package/dist/esm/six-dialog.entry.js.map +1 -1
  901. package/dist/esm/six-drawer.entry.js +3 -3
  902. package/dist/esm/six-drawer.entry.js.map +1 -1
  903. package/dist/esm/six-dropdown_3.entry.js +812 -0
  904. package/dist/esm/six-dropdown_3.entry.js.map +1 -0
  905. package/dist/esm/six-error-page.entry.js +2 -2
  906. package/dist/esm/six-error.entry.js +2 -2
  907. package/dist/esm/six-file-list-item.entry.js +3 -3
  908. package/dist/esm/six-file-list-item.entry.js.map +1 -1
  909. package/dist/esm/six-file-list.entry.js +2 -2
  910. package/dist/esm/six-file-upload.entry.js +6 -9
  911. package/dist/esm/six-file-upload.entry.js.map +1 -1
  912. package/dist/esm/six-footer.entry.js +2 -2
  913. package/dist/esm/six-group-label.entry.js +3 -3
  914. package/dist/esm/six-header-dropdown-item.entry.js +41 -0
  915. package/dist/esm/six-header-dropdown-item.entry.js.map +1 -0
  916. package/dist/esm/six-header-item_2.entry.js +42 -0
  917. package/dist/esm/six-header-item_2.entry.js.map +1 -0
  918. package/dist/esm/six-header-menu-button.entry.js +19 -0
  919. package/dist/esm/six-header-menu-button.entry.js.map +1 -0
  920. package/dist/esm/six-header.entry.js +40 -31
  921. package/dist/esm/six-header.entry.js.map +1 -1
  922. package/dist/esm/six-icon-button.entry.js +11 -5
  923. package/dist/esm/six-icon-button.entry.js.map +1 -1
  924. package/dist/esm/six-icon.entry.js +3 -3
  925. package/dist/esm/six-input.entry.js +15 -6
  926. package/dist/esm/six-input.entry.js.map +1 -1
  927. package/dist/esm/six-item-picker.entry.js +4 -4
  928. package/dist/esm/six-language-switcher.entry.js +2 -2
  929. package/dist/esm/six-layout-grid.entry.js +2 -2
  930. package/dist/esm/six-main-container.entry.js +2 -2
  931. package/dist/esm/six-menu-divider.entry.js +2 -2
  932. package/dist/esm/six-menu-label.entry.js +2 -2
  933. package/dist/esm/six-picto.entry.js +23 -7
  934. package/dist/esm/six-picto.entry.js.map +1 -1
  935. package/dist/esm/six-progress-bar.entry.js +4 -4
  936. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  937. package/dist/esm/six-progress-ring.entry.js +2 -2
  938. package/dist/esm/six-radio.entry.js +3 -3
  939. package/dist/esm/six-range.entry.js +4 -4
  940. package/dist/esm/six-range.entry.js.map +1 -1
  941. package/dist/esm/six-root.entry.js +2 -2
  942. package/dist/esm/six-root.entry.js.map +1 -1
  943. package/dist/esm/six-search-field.entry.js +2 -2
  944. package/dist/esm/six-select.entry.js +31 -14
  945. package/dist/esm/six-select.entry.js.map +1 -1
  946. package/dist/esm/six-sidebar-item-group.entry.js +3 -3
  947. package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
  948. package/dist/esm/six-sidebar-item.entry.js +4 -4
  949. package/dist/esm/six-sidebar-item.entry.js.map +1 -1
  950. package/dist/esm/six-sidebar.entry.js +3 -3
  951. package/dist/esm/six-spinner.entry.js +39 -6
  952. package/dist/esm/six-spinner.entry.js.map +1 -1
  953. package/dist/esm/six-stage-indicator.entry.js +1 -1
  954. package/dist/esm/six-switch.entry.js +4 -4
  955. package/dist/esm/six-tab-group.entry.js +3 -3
  956. package/dist/esm/six-tab-group.entry.js.map +1 -1
  957. package/dist/esm/six-tab-panel.entry.js +2 -2
  958. package/dist/esm/six-tab.entry.js +3 -3
  959. package/dist/esm/six-tab.entry.js.map +1 -1
  960. package/dist/esm/six-tag.entry.js +3 -3
  961. package/dist/esm/six-tag.entry.js.map +1 -1
  962. package/dist/esm/six-textarea.entry.js +5 -5
  963. package/dist/esm/six-textarea.entry.js.map +1 -1
  964. package/dist/esm/six-tile.entry.js +6 -6
  965. package/dist/esm/six-tile.entry.js.map +1 -1
  966. package/dist/esm/six-timepicker.entry.js +3 -3
  967. package/dist/esm/six-timepicker.entry.js.map +1 -1
  968. package/dist/esm/six-tooltip.entry.js +3 -3
  969. package/dist/esm/ui-library.js +11 -11
  970. package/dist/esm/ui-library.js.map +1 -1
  971. package/dist/types/components/six-file-upload/six-file-upload.d.ts +1 -1
  972. package/dist/types/components/six-header/six-header.d.ts +79 -18
  973. package/dist/types/components/six-header-dropdown-item/six-header-dropdown-item.d.ts +13 -0
  974. package/dist/types/components/six-header-item/six-header-item.d.ts +15 -0
  975. package/dist/types/components/six-header-menu-button/six-header-menu-button.d.ts +11 -0
  976. package/dist/types/components/six-icon-button/six-icon-button.d.ts +6 -0
  977. package/dist/types/components/six-input/six-input.d.ts +9 -1
  978. package/dist/types/components/six-logo/six-logo.d.ts +9 -0
  979. package/dist/types/components/six-menu/six-menu.d.ts +1 -1
  980. package/dist/types/components/six-picto/six-picto.d.ts +2 -0
  981. package/dist/types/components/six-spinner/six-spinner.d.ts +24 -4
  982. package/dist/types/components.d.ts +215 -9
  983. package/dist/types/stencil-public-runtime.d.ts +3 -10
  984. package/dist/types/utils/type-check.d.ts +1 -1
  985. package/dist/ui-library/assets/pictograms/TPP.svg +1 -0
  986. package/dist/ui-library/assets/pictograms/agile.svg +1 -0
  987. package/dist/ui-library/assets/pictograms/ai.svg +1 -0
  988. package/dist/ui-library/assets/pictograms/airplane.svg +1 -0
  989. package/dist/ui-library/assets/pictograms/alert.svg +1 -0
  990. package/dist/ui-library/assets/pictograms/ambulance.svg +1 -0
  991. package/dist/ui-library/assets/pictograms/analyse.svg +1 -0
  992. package/dist/ui-library/assets/pictograms/anchor.svg +1 -0
  993. package/dist/ui-library/assets/pictograms/apple.svg +1 -0
  994. package/dist/ui-library/assets/pictograms/arrow-down.svg +1 -0
  995. package/dist/ui-library/assets/pictograms/arrow-right.svg +1 -0
  996. package/dist/ui-library/assets/pictograms/arrow-up.svg +1 -0
  997. package/dist/ui-library/assets/pictograms/astronaut-outline.svg +1 -0
  998. package/dist/ui-library/assets/pictograms/augmented-reality.svg +1 -0
  999. package/dist/ui-library/assets/pictograms/backoffice.svg +1 -0
  1000. package/dist/ui-library/assets/pictograms/bank.svg +1 -0
  1001. package/dist/ui-library/assets/pictograms/banknote.svg +1 -0
  1002. package/dist/ui-library/assets/pictograms/barcode.svg +1 -0
  1003. package/dist/ui-library/assets/pictograms/battery.svg +1 -0
  1004. package/dist/ui-library/assets/pictograms/beacon.svg +1 -0
  1005. package/dist/ui-library/assets/pictograms/beat.svg +1 -0
  1006. package/dist/ui-library/assets/pictograms/bee.svg +1 -0
  1007. package/dist/ui-library/assets/pictograms/bell.svg +1 -0
  1008. package/dist/ui-library/assets/pictograms/berlin.svg +1 -0
  1009. package/dist/ui-library/assets/pictograms/big-data.svg +1 -0
  1010. package/dist/ui-library/assets/pictograms/bilateral.svg +1 -0
  1011. package/dist/ui-library/assets/pictograms/bill.svg +1 -0
  1012. package/dist/ui-library/assets/pictograms/binoculars.svg +1 -0
  1013. package/dist/ui-library/assets/pictograms/block.svg +1 -0
  1014. package/dist/ui-library/assets/pictograms/blockchain.svg +1 -0
  1015. package/dist/ui-library/assets/pictograms/bluetooth.svg +1 -0
  1016. package/dist/ui-library/assets/pictograms/bone.svg +1 -0
  1017. package/dist/ui-library/assets/pictograms/book.svg +1 -0
  1018. package/dist/ui-library/assets/pictograms/bottle.svg +1 -0
  1019. package/dist/ui-library/assets/pictograms/buggy.svg +1 -0
  1020. package/dist/ui-library/assets/pictograms/bull-bear.svg +1 -0
  1021. package/dist/ui-library/assets/pictograms/business.svg +1 -0
  1022. package/dist/ui-library/assets/pictograms/cake.svg +1 -0
  1023. package/dist/ui-library/assets/pictograms/calculator.svg +1 -0
  1024. package/dist/ui-library/assets/pictograms/calendar.svg +1 -0
  1025. package/dist/ui-library/assets/pictograms/cam.svg +1 -0
  1026. package/dist/ui-library/assets/pictograms/cap.svg +1 -0
  1027. package/dist/ui-library/assets/pictograms/capsule.svg +1 -0
  1028. package/dist/ui-library/assets/pictograms/car.svg +1 -0
  1029. package/dist/ui-library/assets/pictograms/carabiner.svg +1 -0
  1030. package/dist/ui-library/assets/pictograms/card.svg +1 -0
  1031. package/dist/ui-library/assets/pictograms/cash-machine.svg +1 -0
  1032. package/dist/ui-library/assets/pictograms/cash-register.svg +1 -0
  1033. package/dist/ui-library/assets/pictograms/cash.svg +1 -0
  1034. package/dist/ui-library/assets/pictograms/cashless.svg +1 -0
  1035. package/dist/ui-library/assets/pictograms/check.svg +1 -0
  1036. package/dist/ui-library/assets/pictograms/cheveron-right.svg +1 -0
  1037. package/dist/ui-library/assets/pictograms/chf-eur.svg +1 -0
  1038. package/dist/ui-library/assets/pictograms/cleaning.svg +1 -0
  1039. package/dist/ui-library/assets/pictograms/click-collect.svg +1 -0
  1040. package/dist/ui-library/assets/pictograms/click-return.svg +1 -0
  1041. package/dist/ui-library/assets/pictograms/client-receipt.svg +1 -0
  1042. package/dist/ui-library/assets/pictograms/clientesyusuarios.svg +1 -0
  1043. package/dist/ui-library/assets/pictograms/clock.svg +1 -0
  1044. package/dist/ui-library/assets/pictograms/cloud.svg +1 -0
  1045. package/dist/ui-library/assets/pictograms/coffee.svg +1 -0
  1046. package/dist/ui-library/assets/pictograms/coins.svg +1 -0
  1047. package/dist/ui-library/assets/pictograms/configuracion-de-servicio.svg +1 -0
  1048. package/dist/ui-library/assets/pictograms/connectivity.svg +1 -0
  1049. package/dist/ui-library/assets/pictograms/contactless.svg +1 -0
  1050. package/dist/ui-library/assets/pictograms/copy.svg +1 -0
  1051. package/dist/ui-library/assets/pictograms/cornet.svg +1 -0
  1052. package/dist/ui-library/assets/pictograms/cost-reduction.svg +1 -0
  1053. package/dist/ui-library/assets/pictograms/coupon.svg +1 -0
  1054. package/dist/ui-library/assets/pictograms/croissant.svg +1 -0
  1055. package/dist/ui-library/assets/pictograms/crowdfunding.svg +1 -0
  1056. package/dist/ui-library/assets/pictograms/crown.svg +1 -0
  1057. package/dist/ui-library/assets/pictograms/cryptocurrency.svg +1 -0
  1058. package/dist/ui-library/assets/pictograms/crystal-ball.svg +1 -0
  1059. package/dist/ui-library/assets/pictograms/cup.svg +1 -0
  1060. package/dist/ui-library/assets/pictograms/cupcake.svg +1 -0
  1061. package/dist/ui-library/assets/pictograms/currency.svg +1 -0
  1062. package/dist/ui-library/assets/pictograms/cyber-security.svg +1 -0
  1063. package/dist/ui-library/assets/pictograms/data-mapping.svg +1 -0
  1064. package/dist/ui-library/assets/pictograms/desktop.svg +1 -0
  1065. package/dist/ui-library/assets/pictograms/diamond.svg +1 -0
  1066. package/dist/ui-library/assets/pictograms/disc.svg +1 -0
  1067. package/dist/ui-library/assets/pictograms/diversify.svg +1 -0
  1068. package/dist/ui-library/assets/pictograms/dna.svg +1 -0
  1069. package/dist/ui-library/assets/pictograms/dog.svg +1 -0
  1070. package/dist/ui-library/assets/pictograms/download.svg +1 -0
  1071. package/dist/ui-library/assets/pictograms/drop-zone.svg +1 -0
  1072. package/dist/ui-library/assets/pictograms/drop.svg +1 -0
  1073. package/dist/ui-library/assets/pictograms/dumbbell.svg +1 -0
  1074. package/dist/ui-library/assets/pictograms/dws.svg +1 -0
  1075. package/dist/ui-library/assets/pictograms/ear.svg +1 -0
  1076. package/dist/ui-library/assets/pictograms/ecommerce.svg +1 -0
  1077. package/dist/ui-library/assets/pictograms/ethernet.svg +1 -0
  1078. package/dist/ui-library/assets/pictograms/eur-dollar.svg +1 -0
  1079. package/dist/ui-library/assets/pictograms/exchange.svg +1 -0
  1080. package/dist/ui-library/assets/pictograms/exclamation.svg +1 -0
  1081. package/dist/ui-library/assets/pictograms/external-link.svg +1 -0
  1082. package/dist/ui-library/assets/pictograms/extinguisher.svg +1 -0
  1083. package/dist/ui-library/assets/pictograms/factory.svg +1 -0
  1084. package/dist/ui-library/assets/pictograms/fax.svg +1 -0
  1085. package/dist/ui-library/assets/pictograms/fence.svg +1 -0
  1086. package/dist/ui-library/assets/pictograms/file-text.svg +1 -0
  1087. package/dist/ui-library/assets/pictograms/file.svg +1 -0
  1088. package/dist/ui-library/assets/pictograms/find-in-page.svg +1 -0
  1089. package/dist/ui-library/assets/pictograms/fingerprint.svg +1 -0
  1090. package/dist/ui-library/assets/pictograms/flag.svg +1 -0
  1091. package/dist/ui-library/assets/pictograms/flash.svg +1 -0
  1092. package/dist/ui-library/assets/pictograms/flexibility.svg +1 -0
  1093. package/dist/ui-library/assets/pictograms/flipchart.svg +1 -0
  1094. package/dist/ui-library/assets/pictograms/flower.svg +1 -0
  1095. package/dist/ui-library/assets/pictograms/focus.svg +1 -0
  1096. package/dist/ui-library/assets/pictograms/foreign-exchange.svg +1 -0
  1097. package/dist/ui-library/assets/pictograms/fraud-free.svg +1 -0
  1098. package/dist/ui-library/assets/pictograms/funnel.svg +1 -0
  1099. package/dist/ui-library/assets/pictograms/gamepad.svg +1 -0
  1100. package/dist/ui-library/assets/pictograms/gears.svg +1 -0
  1101. package/dist/ui-library/assets/pictograms/generic.svg +1 -0
  1102. package/dist/ui-library/assets/pictograms/genie.svg +1 -0
  1103. package/dist/ui-library/assets/pictograms/gestion-de-fallidos.svg +1 -0
  1104. package/dist/ui-library/assets/pictograms/gestion-de-instrucciones.svg +1 -0
  1105. package/dist/ui-library/assets/pictograms/gestion-de-pago.svg +1 -0
  1106. package/dist/ui-library/assets/pictograms/gift.svg +1 -0
  1107. package/dist/ui-library/assets/pictograms/giftcard.svg +1 -0
  1108. package/dist/ui-library/assets/pictograms/glass.svg +1 -0
  1109. package/dist/ui-library/assets/pictograms/glasses.svg +1 -0
  1110. package/dist/ui-library/assets/pictograms/global.svg +1 -0
  1111. package/dist/ui-library/assets/pictograms/gprs-lan.svg +1 -0
  1112. package/dist/ui-library/assets/pictograms/gprs.svg +1 -0
  1113. package/dist/ui-library/assets/pictograms/guide.svg +1 -0
  1114. package/dist/ui-library/assets/pictograms/hacker-security.svg +1 -0
  1115. package/dist/ui-library/assets/pictograms/hand.svg +1 -0
  1116. package/dist/ui-library/assets/pictograms/handshake.svg +1 -0
  1117. package/dist/ui-library/assets/pictograms/happy.svg +1 -0
  1118. package/dist/ui-library/assets/pictograms/hashtag.svg +1 -0
  1119. package/dist/ui-library/assets/pictograms/headphones.svg +1 -0
  1120. package/dist/ui-library/assets/pictograms/heart.svg +1 -0
  1121. package/dist/ui-library/assets/pictograms/home.svg +1 -0
  1122. package/dist/ui-library/assets/pictograms/identity-management.svg +1 -0
  1123. package/dist/ui-library/assets/pictograms/info.svg +1 -0
  1124. package/dist/ui-library/assets/pictograms/international-connectivity.svg +1 -0
  1125. package/dist/ui-library/assets/pictograms/iot.svg +1 -0
  1126. package/dist/ui-library/assets/pictograms/key.svg +1 -0
  1127. package/dist/ui-library/assets/pictograms/lab.svg +1 -0
  1128. package/dist/ui-library/assets/pictograms/labyrinth.svg +1 -0
  1129. package/dist/ui-library/assets/pictograms/laptop-outline.svg +1 -0
  1130. package/dist/ui-library/assets/pictograms/leaf.svg +1 -0
  1131. package/dist/ui-library/assets/pictograms/lightbulb.svg +1 -0
  1132. package/dist/ui-library/assets/pictograms/lighthouse.svg +1 -0
  1133. package/dist/ui-library/assets/pictograms/like.svg +1 -0
  1134. package/dist/ui-library/assets/pictograms/lines.svg +1 -0
  1135. package/dist/ui-library/assets/pictograms/liquid.svg +1 -0
  1136. package/dist/ui-library/assets/pictograms/lock.svg +1 -0
  1137. package/dist/ui-library/assets/pictograms/london.svg +1 -0
  1138. package/dist/ui-library/assets/pictograms/lounge.svg +1 -0
  1139. package/dist/ui-library/assets/pictograms/lunch-learn.svg +1 -0
  1140. package/dist/ui-library/assets/pictograms/machine-learning.svg +1 -0
  1141. package/dist/ui-library/assets/pictograms/mail-copy.svg +1 -0
  1142. package/dist/ui-library/assets/pictograms/mail.svg +1 -0
  1143. package/dist/ui-library/assets/pictograms/map-marker.svg +1 -0
  1144. package/dist/ui-library/assets/pictograms/map.svg +1 -0
  1145. package/dist/ui-library/assets/pictograms/markets.svg +1 -0
  1146. package/dist/ui-library/assets/pictograms/megaphone.svg +1 -0
  1147. package/dist/ui-library/assets/pictograms/menu.svg +1 -0
  1148. package/dist/ui-library/assets/pictograms/micro-payments.svg +1 -0
  1149. package/dist/ui-library/assets/pictograms/microphone.svg +1 -0
  1150. package/dist/ui-library/assets/pictograms/minus.svg +1 -0
  1151. package/dist/ui-library/assets/pictograms/mobile-payment.svg +1 -0
  1152. package/dist/ui-library/assets/pictograms/mobile-terminal.svg +1 -0
  1153. package/dist/ui-library/assets/pictograms/monitoring.svg +1 -0
  1154. package/dist/ui-library/assets/pictograms/more.svg +1 -0
  1155. package/dist/ui-library/assets/pictograms/mountain.svg +1 -0
  1156. package/dist/ui-library/assets/pictograms/movie-camera.svg +1 -0
  1157. package/dist/ui-library/assets/pictograms/navigation.svg +1 -0
  1158. package/dist/ui-library/assets/pictograms/no-smoking.svg +1 -0
  1159. package/dist/ui-library/assets/pictograms/office.svg +1 -0
  1160. package/dist/ui-library/assets/pictograms/outsorcing.svg +1 -0
  1161. package/dist/ui-library/assets/pictograms/package.svg +1 -0
  1162. package/dist/ui-library/assets/pictograms/paddle.svg +1 -0
  1163. package/dist/ui-library/assets/pictograms/paninoteca.svg +1 -0
  1164. package/dist/ui-library/assets/pictograms/paragraph.svg +1 -0
  1165. package/dist/ui-library/assets/pictograms/paris.svg +1 -0
  1166. package/dist/ui-library/assets/pictograms/parking.svg +1 -0
  1167. package/dist/ui-library/assets/pictograms/pause.svg +1 -0
  1168. package/dist/ui-library/assets/pictograms/pay-points.svg +1 -0
  1169. package/dist/ui-library/assets/pictograms/pencil.svg +1 -0
  1170. package/dist/ui-library/assets/pictograms/person-business.svg +1 -0
  1171. package/dist/ui-library/assets/pictograms/person-callcenter.svg +1 -0
  1172. package/dist/ui-library/assets/pictograms/person-client.svg +1 -0
  1173. package/dist/ui-library/assets/pictograms/person-group.svg +1 -0
  1174. package/dist/ui-library/assets/pictograms/person.svg +1 -0
  1175. package/dist/ui-library/assets/pictograms/pet.svg +1 -0
  1176. package/dist/ui-library/assets/pictograms/piechart.svg +1 -0
  1177. package/dist/ui-library/assets/pictograms/pig.svg +1 -0
  1178. package/dist/ui-library/assets/pictograms/piggy-bank.svg +1 -0
  1179. package/dist/ui-library/assets/pictograms/planet.svg +1 -0
  1180. package/dist/ui-library/assets/pictograms/play.svg +1 -0
  1181. package/dist/ui-library/assets/pictograms/plus.svg +1 -0
  1182. package/dist/ui-library/assets/pictograms/popsicle.svg +1 -0
  1183. package/dist/ui-library/assets/pictograms/printer.svg +1 -0
  1184. package/dist/ui-library/assets/pictograms/privacy.svg +1 -0
  1185. package/dist/ui-library/assets/pictograms/process.svg +1 -0
  1186. package/dist/ui-library/assets/pictograms/projector.svg +1 -0
  1187. package/dist/ui-library/assets/pictograms/psp.svg +1 -0
  1188. package/dist/ui-library/assets/pictograms/punch-card.svg +1 -0
  1189. package/dist/ui-library/assets/pictograms/puzzle.svg +1 -0
  1190. package/dist/ui-library/assets/pictograms/qr-scanner.svg +1 -0
  1191. package/dist/ui-library/assets/pictograms/qr.svg +1 -0
  1192. package/dist/ui-library/assets/pictograms/question.svg +1 -0
  1193. package/dist/ui-library/assets/pictograms/rabbit.svg +1 -0
  1194. package/dist/ui-library/assets/pictograms/rain.svg +1 -0
  1195. package/dist/ui-library/assets/pictograms/realtime.svg +1 -0
  1196. package/dist/ui-library/assets/pictograms/recurring-payments.svg +1 -0
  1197. package/dist/ui-library/assets/pictograms/relaxing.svg +1 -0
  1198. package/dist/ui-library/assets/pictograms/reporting.svg +1 -0
  1199. package/dist/ui-library/assets/pictograms/responsive-design.svg +1 -0
  1200. package/dist/ui-library/assets/pictograms/robo-advisor.svg +1 -0
  1201. package/dist/ui-library/assets/pictograms/robotics.svg +1 -0
  1202. package/dist/ui-library/assets/pictograms/rock.svg +1 -0
  1203. package/dist/ui-library/assets/pictograms/rocket.svg +1 -0
  1204. package/dist/ui-library/assets/pictograms/rss.svg +1 -0
  1205. package/dist/ui-library/assets/pictograms/sad.svg +1 -0
  1206. package/dist/ui-library/assets/pictograms/sailboat.svg +1 -0
  1207. package/dist/ui-library/assets/pictograms/scales.svg +1 -0
  1208. package/dist/ui-library/assets/pictograms/screen.svg +1 -0
  1209. package/dist/ui-library/assets/pictograms/seal.svg +1 -0
  1210. package/dist/ui-library/assets/pictograms/search.svg +1 -0
  1211. package/dist/ui-library/assets/pictograms/sentiment-dissatisfied.svg +1 -0
  1212. package/dist/ui-library/assets/pictograms/server.svg +1 -0
  1213. package/dist/ui-library/assets/pictograms/service-center.svg +1 -0
  1214. package/dist/ui-library/assets/pictograms/sextant.svg +1 -0
  1215. package/dist/ui-library/assets/pictograms/share.svg +1 -0
  1216. package/dist/ui-library/assets/pictograms/shield.svg +1 -0
  1217. package/dist/ui-library/assets/pictograms/shop.svg +1 -0
  1218. package/dist/ui-library/assets/pictograms/shopping-cart-chf.svg +1 -0
  1219. package/dist/ui-library/assets/pictograms/shopping-cart-download.svg +1 -0
  1220. package/dist/ui-library/assets/pictograms/shopping-cart.svg +1 -0
  1221. package/dist/ui-library/assets/pictograms/signal.svg +1 -0
  1222. package/dist/ui-library/assets/pictograms/simple-integration.svg +1 -0
  1223. package/dist/ui-library/assets/pictograms/skull.svg +1 -0
  1224. package/dist/ui-library/assets/pictograms/smoking.svg +1 -0
  1225. package/dist/ui-library/assets/pictograms/snow.svg +1 -0
  1226. package/dist/ui-library/assets/pictograms/snowflake.svg +1 -0
  1227. package/dist/ui-library/assets/pictograms/snowman.svg +1 -0
  1228. package/dist/ui-library/assets/pictograms/soc.svg +1 -0
  1229. package/dist/ui-library/assets/pictograms/social-days.svg +1 -0
  1230. package/dist/ui-library/assets/pictograms/social-trading.svg +1 -0
  1231. package/dist/ui-library/assets/pictograms/softwarepackage.svg +1 -0
  1232. package/dist/ui-library/assets/pictograms/sound.svg +1 -0
  1233. package/dist/ui-library/assets/pictograms/speechbubble.svg +1 -0
  1234. package/dist/ui-library/assets/pictograms/spirit.svg +1 -0
  1235. package/dist/ui-library/assets/pictograms/split.svg +1 -0
  1236. package/dist/ui-library/assets/pictograms/stability.svg +1 -0
  1237. package/dist/ui-library/assets/pictograms/stairs.svg +1 -0
  1238. package/dist/ui-library/assets/pictograms/star.svg +1 -0
  1239. package/dist/ui-library/assets/pictograms/statistic.svg +1 -0
  1240. package/dist/ui-library/assets/pictograms/stock.svg +1 -0
  1241. package/dist/ui-library/assets/pictograms/stocks.svg +1 -0
  1242. package/dist/ui-library/assets/pictograms/stop.svg +1 -0
  1243. package/dist/ui-library/assets/pictograms/stopwatch.svg +1 -0
  1244. package/dist/ui-library/assets/pictograms/storage.svg +1 -0
  1245. package/dist/ui-library/assets/pictograms/success.svg +1 -0
  1246. package/dist/ui-library/assets/pictograms/suitcase.svg +1 -0
  1247. package/dist/ui-library/assets/pictograms/sun.svg +1 -0
  1248. package/dist/ui-library/assets/pictograms/surveillance.svg +1 -0
  1249. package/dist/ui-library/assets/pictograms/swiss.svg +1 -0
  1250. package/dist/ui-library/assets/pictograms/tablet.svg +1 -0
  1251. package/dist/ui-library/assets/pictograms/tachometer.svg +1 -0
  1252. package/dist/ui-library/assets/pictograms/target.svg +1 -0
  1253. package/dist/ui-library/assets/pictograms/telephone.svg +1 -0
  1254. package/dist/ui-library/assets/pictograms/telescope.svg +1 -0
  1255. package/dist/ui-library/assets/pictograms/temperature.svg +1 -0
  1256. package/dist/ui-library/assets/pictograms/terminal.svg +1 -0
  1257. package/dist/ui-library/assets/pictograms/ticket.svg +1 -0
  1258. package/dist/ui-library/assets/pictograms/tin.svg +1 -0
  1259. package/dist/ui-library/assets/pictograms/tokenization.svg +1 -0
  1260. package/dist/ui-library/assets/pictograms/tool.svg +1 -0
  1261. package/dist/ui-library/assets/pictograms/touch.svg +1 -0
  1262. package/dist/ui-library/assets/pictograms/train.svg +1 -0
  1263. package/dist/ui-library/assets/pictograms/trash.svg +1 -0
  1264. package/dist/ui-library/assets/pictograms/umbrella.svg +1 -0
  1265. package/dist/ui-library/assets/pictograms/unlock.svg +1 -0
  1266. package/dist/ui-library/assets/pictograms/upload.svg +1 -0
  1267. package/dist/ui-library/assets/pictograms/usb.svg +1 -0
  1268. package/dist/ui-library/assets/pictograms/viena.svg +1 -0
  1269. package/dist/ui-library/assets/pictograms/viking.svg +1 -0
  1270. package/dist/ui-library/assets/pictograms/visibility.svg +1 -0
  1271. package/dist/ui-library/assets/pictograms/wallet.svg +1 -0
  1272. package/dist/ui-library/assets/pictograms/warning.svg +1 -0
  1273. package/dist/ui-library/assets/pictograms/way-up.svg +1 -0
  1274. package/dist/ui-library/assets/pictograms/wc-handicap.svg +1 -0
  1275. package/dist/ui-library/assets/pictograms/wc-men.svg +1 -0
  1276. package/dist/ui-library/assets/pictograms/wc-woman.svg +1 -0
  1277. package/dist/ui-library/assets/pictograms/wearables.svg +1 -0
  1278. package/dist/ui-library/assets/pictograms/webshop.svg +1 -0
  1279. package/dist/ui-library/assets/pictograms/wlan-bluetooth.svg +1 -0
  1280. package/dist/ui-library/assets/pictograms/wlan.svg +1 -0
  1281. package/dist/ui-library/assets/pictograms/x.svg +1 -0
  1282. package/dist/ui-library/assets/pictograms/zurich.svg +1 -0
  1283. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
  1284. package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
  1285. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
  1286. package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
  1287. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
  1288. package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
  1289. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
  1290. package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
  1291. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
  1292. package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
  1293. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
  1294. package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
  1295. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
  1296. package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
  1297. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
  1298. package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
  1299. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
  1300. package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
  1301. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
  1302. package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
  1303. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
  1304. package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
  1305. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
  1306. package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
  1307. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
  1308. package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
  1309. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
  1310. package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
  1311. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
  1312. package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
  1313. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
  1314. package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
  1315. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
  1316. package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
  1317. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
  1318. package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
  1319. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
  1320. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
  1321. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
  1322. package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
  1323. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
  1324. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
  1325. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
  1326. package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
  1327. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
  1328. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
  1329. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
  1330. package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
  1331. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
  1332. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
  1333. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
  1334. package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
  1335. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
  1336. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
  1337. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
  1338. package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
  1339. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
  1340. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
  1341. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
  1342. package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
  1343. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
  1344. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
  1345. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
  1346. package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
  1347. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
  1348. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
  1349. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
  1350. package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
  1351. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
  1352. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
  1353. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
  1354. package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
  1355. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
  1356. package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
  1357. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
  1358. package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
  1359. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
  1360. package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
  1361. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
  1362. package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
  1363. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
  1364. package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
  1365. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
  1366. package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
  1367. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
  1368. package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
  1369. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
  1370. package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
  1371. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
  1372. package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
  1373. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
  1374. package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
  1375. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
  1376. package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
  1377. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
  1378. package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
  1379. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
  1380. package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
  1381. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
  1382. package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
  1383. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
  1384. package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
  1385. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
  1386. package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
  1387. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
  1388. package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
  1389. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
  1390. package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
  1391. package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
  1392. package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
  1393. package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
  1394. package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
  1395. package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
  1396. package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
  1397. package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
  1398. package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
  1399. package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
  1400. package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
  1401. package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
  1402. package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
  1403. package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
  1404. package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
  1405. package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
  1406. package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
  1407. package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
  1408. package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
  1409. package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
  1410. package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
  1411. package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
  1412. package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
  1413. package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
  1414. package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
  1415. package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
  1416. package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
  1417. package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
  1418. package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
  1419. package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
  1420. package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
  1421. package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
  1422. package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
  1423. package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
  1424. package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
  1425. package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
  1426. package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
  1427. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
  1428. package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
  1429. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
  1430. package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
  1431. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
  1432. package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
  1433. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
  1434. package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
  1435. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
  1436. package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
  1437. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
  1438. package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
  1439. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
  1440. package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
  1441. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
  1442. package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
  1443. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
  1444. package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
  1445. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
  1446. package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
  1447. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
  1448. package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
  1449. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
  1450. package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
  1451. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
  1452. package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
  1453. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
  1454. package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
  1455. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
  1456. package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
  1457. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
  1458. package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
  1459. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
  1460. package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
  1461. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
  1462. package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
  1463. package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
  1464. package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
  1465. package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
  1466. package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
  1467. package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
  1468. package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
  1469. package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
  1470. package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
  1471. package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
  1472. package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
  1473. package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
  1474. package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
  1475. package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
  1476. package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
  1477. package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
  1478. package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
  1479. package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
  1480. package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
  1481. package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
  1482. package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
  1483. package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
  1484. package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
  1485. package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
  1486. package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
  1487. package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
  1488. package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
  1489. package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
  1490. package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
  1491. package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
  1492. package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
  1493. package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
  1494. package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
  1495. package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
  1496. package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
  1497. package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
  1498. package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
  1499. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
  1500. package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
  1501. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
  1502. package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
  1503. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
  1504. package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
  1505. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
  1506. package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
  1507. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
  1508. package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
  1509. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
  1510. package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
  1511. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
  1512. package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
  1513. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
  1514. package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
  1515. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
  1516. package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
  1517. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
  1518. package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
  1519. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
  1520. package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
  1521. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
  1522. package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
  1523. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
  1524. package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
  1525. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
  1526. package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
  1527. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
  1528. package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
  1529. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
  1530. package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
  1531. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
  1532. package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
  1533. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
  1534. package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
  1535. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
  1536. package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
  1537. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
  1538. package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
  1539. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
  1540. package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
  1541. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
  1542. package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
  1543. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
  1544. package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
  1545. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
  1546. package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
  1547. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
  1548. package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
  1549. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
  1550. package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
  1551. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
  1552. package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
  1553. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
  1554. package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
  1555. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
  1556. package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
  1557. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
  1558. package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
  1559. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
  1560. package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
  1561. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
  1562. package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
  1563. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
  1564. package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
  1565. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
  1566. package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
  1567. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
  1568. package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
  1569. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
  1570. package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
  1571. package/dist/ui-library/index.esm.js.map +1 -1
  1572. package/dist/ui-library/p-03acec96.entry.js +2 -0
  1573. package/dist/ui-library/p-03acec96.entry.js.map +1 -0
  1574. package/dist/ui-library/p-06ba4450.js.map +1 -1
  1575. package/dist/ui-library/p-06d562b7.entry.js +2 -0
  1576. package/dist/ui-library/p-06d562b7.entry.js.map +1 -0
  1577. package/dist/ui-library/p-07b6203f.entry.js +2 -0
  1578. package/dist/ui-library/p-07b6203f.entry.js.map +1 -0
  1579. package/dist/ui-library/p-0a6b6429.entry.js +2 -0
  1580. package/dist/ui-library/p-0a6b6429.entry.js.map +1 -0
  1581. package/dist/ui-library/p-0cebf1d2.js.map +1 -1
  1582. package/dist/ui-library/p-14d09601.entry.js +2 -0
  1583. package/dist/ui-library/p-14d09601.entry.js.map +1 -0
  1584. package/dist/ui-library/p-171df3ad.entry.js +2 -0
  1585. package/dist/ui-library/p-171df3ad.entry.js.map +1 -0
  1586. package/dist/ui-library/p-1cc3b56d.entry.js +2 -0
  1587. package/dist/ui-library/p-1cc3b56d.entry.js.map +1 -0
  1588. package/dist/ui-library/p-1cd09d9b.entry.js +2 -0
  1589. package/dist/ui-library/p-1cd09d9b.entry.js.map +1 -0
  1590. package/dist/ui-library/p-1f7a0cb5.entry.js +2 -0
  1591. package/dist/ui-library/p-1f7a0cb5.entry.js.map +1 -0
  1592. package/dist/ui-library/p-2355c444.entry.js +2 -0
  1593. package/dist/ui-library/p-2355c444.entry.js.map +1 -0
  1594. package/dist/ui-library/p-281ffc35.entry.js +2 -0
  1595. package/dist/ui-library/p-281ffc35.entry.js.map +1 -0
  1596. package/dist/ui-library/p-2ad904a7.entry.js +2 -0
  1597. package/dist/ui-library/p-2ad904a7.entry.js.map +1 -0
  1598. package/dist/ui-library/p-30000e86.entry.js +2 -0
  1599. package/dist/ui-library/p-30000e86.entry.js.map +1 -0
  1600. package/dist/ui-library/p-42cd3588.entry.js +2 -0
  1601. package/dist/ui-library/p-42cd3588.entry.js.map +1 -0
  1602. package/dist/ui-library/p-48118ce8.js +3 -0
  1603. package/dist/ui-library/p-48118ce8.js.map +1 -0
  1604. package/dist/ui-library/p-49019d6c.entry.js +2 -0
  1605. package/dist/ui-library/p-49019d6c.entry.js.map +1 -0
  1606. package/dist/ui-library/p-4d72b179.entry.js +2 -0
  1607. package/dist/ui-library/p-4d72b179.entry.js.map +1 -0
  1608. package/dist/ui-library/p-4de4ee7a.entry.js +2 -0
  1609. package/dist/ui-library/p-4de4ee7a.entry.js.map +1 -0
  1610. package/dist/ui-library/p-4edde816.entry.js +2 -0
  1611. package/dist/ui-library/p-4edde816.entry.js.map +1 -0
  1612. package/dist/ui-library/p-4f129bb3.entry.js +2 -0
  1613. package/dist/ui-library/p-4f129bb3.entry.js.map +1 -0
  1614. package/dist/ui-library/p-57ea4cb7.entry.js +2 -0
  1615. package/dist/ui-library/p-57ea4cb7.entry.js.map +1 -0
  1616. package/dist/ui-library/p-5ece7986.entry.js +2 -0
  1617. package/dist/ui-library/p-5ece7986.entry.js.map +1 -0
  1618. package/dist/ui-library/p-5f491974.entry.js +2 -0
  1619. package/dist/ui-library/p-5f491974.entry.js.map +1 -0
  1620. package/dist/ui-library/p-5fc9cd7b.entry.js +2 -0
  1621. package/dist/ui-library/p-5fc9cd7b.entry.js.map +1 -0
  1622. package/dist/ui-library/p-618bf750.entry.js +2 -0
  1623. package/dist/ui-library/p-618bf750.entry.js.map +1 -0
  1624. package/dist/ui-library/p-62a1f514.entry.js +2 -0
  1625. package/dist/ui-library/p-62a1f514.entry.js.map +1 -0
  1626. package/dist/ui-library/p-651293e7.js.map +1 -1
  1627. package/dist/ui-library/p-6513b8ce.entry.js +2 -0
  1628. package/dist/ui-library/p-6513b8ce.entry.js.map +1 -0
  1629. package/dist/ui-library/p-6795e0a9.entry.js +2 -0
  1630. package/dist/ui-library/p-6795e0a9.entry.js.map +1 -0
  1631. package/dist/ui-library/p-6ec126f7.entry.js +2 -0
  1632. package/dist/ui-library/p-6ec126f7.entry.js.map +1 -0
  1633. package/dist/ui-library/p-705e3612.entry.js +2 -0
  1634. package/dist/ui-library/p-705e3612.entry.js.map +1 -0
  1635. package/dist/ui-library/p-70fac778.entry.js +2 -0
  1636. package/dist/ui-library/p-70fac778.entry.js.map +1 -0
  1637. package/dist/ui-library/p-7afdff5c.entry.js +2 -0
  1638. package/dist/ui-library/p-7afdff5c.entry.js.map +1 -0
  1639. package/dist/ui-library/p-7eb9ae75.entry.js +2 -0
  1640. package/dist/ui-library/p-7eb9ae75.entry.js.map +1 -0
  1641. package/dist/ui-library/p-7f856f00.js.map +1 -1
  1642. package/dist/ui-library/p-8227aaed.js.map +1 -1
  1643. package/dist/ui-library/p-842b492e.js.map +1 -1
  1644. package/dist/ui-library/p-862d474e.js.map +1 -1
  1645. package/dist/ui-library/p-870139dc.entry.js +2 -0
  1646. package/dist/ui-library/p-870139dc.entry.js.map +1 -0
  1647. package/dist/ui-library/p-8bfb4bfc.js.map +1 -1
  1648. package/dist/ui-library/p-a04460e3.js +2 -0
  1649. package/dist/ui-library/p-a04460e3.js.map +1 -0
  1650. package/dist/ui-library/p-a1502802.js.map +1 -1
  1651. package/dist/ui-library/p-a20a702a.entry.js +2 -0
  1652. package/dist/ui-library/p-a20a702a.entry.js.map +1 -0
  1653. package/dist/ui-library/p-adc65fc8.entry.js +2 -0
  1654. package/dist/ui-library/p-adc65fc8.entry.js.map +1 -0
  1655. package/dist/ui-library/p-afb15ea4.entry.js +2 -0
  1656. package/dist/ui-library/p-afb15ea4.entry.js.map +1 -0
  1657. package/dist/ui-library/p-b361d5da.entry.js +2 -0
  1658. package/dist/ui-library/p-b361d5da.entry.js.map +1 -0
  1659. package/dist/ui-library/p-bfb398c6.entry.js +2 -0
  1660. package/dist/ui-library/p-bfb398c6.entry.js.map +1 -0
  1661. package/dist/ui-library/p-cd65e3b2.entry.js +2 -0
  1662. package/dist/ui-library/p-cd65e3b2.entry.js.map +1 -0
  1663. package/dist/ui-library/p-cd79700c.entry.js +2 -0
  1664. package/dist/ui-library/p-cd79700c.entry.js.map +1 -0
  1665. package/dist/ui-library/p-cdc9224d.entry.js +2 -0
  1666. package/dist/ui-library/p-cdc9224d.entry.js.map +1 -0
  1667. package/dist/ui-library/p-cdc94cd6.entry.js +2 -0
  1668. package/dist/ui-library/p-cdc94cd6.entry.js.map +1 -0
  1669. package/dist/ui-library/p-ce13acf3.entry.js +2 -0
  1670. package/dist/ui-library/p-ce13acf3.entry.js.map +1 -0
  1671. package/dist/ui-library/p-d67b8482.entry.js +2 -0
  1672. package/dist/ui-library/p-d67b8482.entry.js.map +1 -0
  1673. package/dist/ui-library/p-db193a32.entry.js +2 -0
  1674. package/dist/ui-library/p-db193a32.entry.js.map +1 -0
  1675. package/dist/ui-library/p-e080d5b6.js.map +1 -1
  1676. package/dist/ui-library/p-e1255160.js.map +1 -1
  1677. package/dist/ui-library/p-e1529ef6.entry.js +2 -0
  1678. package/dist/ui-library/p-e1529ef6.entry.js.map +1 -0
  1679. package/dist/ui-library/p-e181944f.entry.js +2 -0
  1680. package/dist/ui-library/p-e181944f.entry.js.map +1 -0
  1681. package/dist/ui-library/p-e6efc08a.entry.js +2 -0
  1682. package/dist/ui-library/p-e6efc08a.entry.js.map +1 -0
  1683. package/dist/ui-library/p-e9462085.entry.js +2 -0
  1684. package/dist/ui-library/p-e9462085.entry.js.map +1 -0
  1685. package/dist/ui-library/p-ea854ec5.entry.js +2 -0
  1686. package/dist/ui-library/p-ea854ec5.entry.js.map +1 -0
  1687. package/dist/ui-library/p-f12b22bc.entry.js +2 -0
  1688. package/dist/ui-library/p-f12b22bc.entry.js.map +1 -0
  1689. package/dist/ui-library/p-f136a6b2.js.map +1 -1
  1690. package/dist/ui-library/p-f9a1f6ab.entry.js +2 -0
  1691. package/dist/ui-library/p-f9a1f6ab.entry.js.map +1 -0
  1692. package/dist/ui-library/p-ffce31da.entry.js +2 -0
  1693. package/dist/ui-library/p-ffce31da.entry.js.map +1 -0
  1694. package/dist/ui-library/ui-library.css +1 -1
  1695. package/dist/ui-library/ui-library.esm.js +1 -1
  1696. package/dist/ui-library/ui-library.esm.js.map +1 -1
  1697. package/loader/cdn.js +1 -3
  1698. package/loader/index.cjs.js +1 -3
  1699. package/loader/index.d.ts +3 -0
  1700. package/loader/index.es2017.js +1 -3
  1701. package/loader/index.js +1 -3
  1702. package/package.json +7 -19
  1703. package/dist/cjs/form-control-de259450.js +0 -36
  1704. package/dist/cjs/form-control-de259450.js.map +0 -1
  1705. package/dist/cjs/index-1f707a55.js +0 -2718
  1706. package/dist/cjs/index-1f707a55.js.map +0 -1
  1707. package/dist/cjs/six-checkbox_2.cjs.entry.js +0 -192
  1708. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +0 -1
  1709. package/dist/cjs/six-dropdown_2.cjs.entry.js +0 -745
  1710. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +0 -1
  1711. package/dist/collection/components/six-alert/test/six-alert.spec.js +0 -25
  1712. package/dist/collection/components/six-alert/test/six-alert.spec.js.map +0 -1
  1713. package/dist/collection/components/six-avatar/test/six-avatar.spec.js +0 -26
  1714. package/dist/collection/components/six-avatar/test/six-avatar.spec.js.map +0 -1
  1715. package/dist/collection/components/six-badge/test/six-badge.spec.js +0 -20
  1716. package/dist/collection/components/six-badge/test/six-badge.spec.js.map +0 -1
  1717. package/dist/collection/components/six-button/test/six-button.spec.js +0 -69
  1718. package/dist/collection/components/six-button/test/six-button.spec.js.map +0 -1
  1719. package/dist/collection/components/six-card/test/six-card.spec.js +0 -18
  1720. package/dist/collection/components/six-card/test/six-card.spec.js.map +0 -1
  1721. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +0 -83
  1722. package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +0 -1
  1723. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +0 -26
  1724. package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +0 -1
  1725. package/dist/collection/components/six-details/test/six-details.spec.js +0 -36
  1726. package/dist/collection/components/six-details/test/six-details.spec.js.map +0 -1
  1727. package/dist/collection/components/six-dialog/test/six-dialog.spec.js +0 -34
  1728. package/dist/collection/components/six-dialog/test/six-dialog.spec.js.map +0 -1
  1729. package/dist/collection/components/six-drawer/test/six-drawer.spec.js +0 -34
  1730. package/dist/collection/components/six-drawer/test/six-drawer.spec.js.map +0 -1
  1731. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +0 -147
  1732. package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +0 -1
  1733. package/dist/collection/components/six-error-page/test/six-error-page.spec.js +0 -240
  1734. package/dist/collection/components/six-error-page/test/six-error-page.spec.js.map +0 -1
  1735. package/dist/collection/components/six-file-list/test/six-file-list.spec.js +0 -67
  1736. package/dist/collection/components/six-file-list/test/six-file-list.spec.js.map +0 -1
  1737. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js +0 -169
  1738. package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js.map +0 -1
  1739. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +0 -266
  1740. package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +0 -1
  1741. package/dist/collection/components/six-footer/test/six-footer.spec.js +0 -21
  1742. package/dist/collection/components/six-footer/test/six-footer.spec.js.map +0 -1
  1743. package/dist/collection/components/six-group-label/test/six-group-label.spec.js +0 -45
  1744. package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +0 -1
  1745. package/dist/collection/components/six-icon/test/six-icon.spec.js +0 -20
  1746. package/dist/collection/components/six-icon/test/six-icon.spec.js.map +0 -1
  1747. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js +0 -23
  1748. package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js.map +0 -1
  1749. package/dist/collection/components/six-input/test/six-input.spec.js +0 -39
  1750. package/dist/collection/components/six-input/test/six-input.spec.js.map +0 -1
  1751. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js +0 -90
  1752. package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js.map +0 -1
  1753. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +0 -196
  1754. package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +0 -1
  1755. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js +0 -18
  1756. package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js.map +0 -1
  1757. package/dist/collection/components/six-main-container/test/six-main-container.spec.js +0 -22
  1758. package/dist/collection/components/six-main-container/test/six-main-container.spec.js.map +0 -1
  1759. package/dist/collection/components/six-menu/test/six-menu.spec.js +0 -93
  1760. package/dist/collection/components/six-menu/test/six-menu.spec.js.map +0 -1
  1761. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js +0 -18
  1762. package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js.map +0 -1
  1763. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js +0 -33
  1764. package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js.map +0 -1
  1765. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js +0 -20
  1766. package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js.map +0 -1
  1767. package/dist/collection/components/six-picto/test/six-picto.spec.js +0 -33
  1768. package/dist/collection/components/six-picto/test/six-picto.spec.js.map +0 -1
  1769. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js +0 -24
  1770. package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js.map +0 -1
  1771. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js +0 -26
  1772. package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js.map +0 -1
  1773. package/dist/collection/components/six-radio/test/six-radio.spec.js +0 -63
  1774. package/dist/collection/components/six-radio/test/six-radio.spec.js.map +0 -1
  1775. package/dist/collection/components/six-range/test/six-range.spec.js +0 -34
  1776. package/dist/collection/components/six-range/test/six-range.spec.js.map +0 -1
  1777. package/dist/collection/components/six-root/test/six-root.spec.js +0 -36
  1778. package/dist/collection/components/six-root/test/six-root.spec.js.map +0 -1
  1779. package/dist/collection/components/six-search-field/test/six-search-field.spec.js +0 -22
  1780. package/dist/collection/components/six-search-field/test/six-search-field.spec.js.map +0 -1
  1781. package/dist/collection/components/six-select/test/six-select.spec.js +0 -102
  1782. package/dist/collection/components/six-select/test/six-select.spec.js.map +0 -1
  1783. package/dist/collection/components/six-select/test/util.spec.js +0 -103
  1784. package/dist/collection/components/six-select/test/util.spec.js.map +0 -1
  1785. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js +0 -22
  1786. package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js.map +0 -1
  1787. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js +0 -50
  1788. package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js.map +0 -1
  1789. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +0 -53
  1790. package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +0 -1
  1791. package/dist/collection/components/six-spinner/test/six-spinner.spec.js +0 -37
  1792. package/dist/collection/components/six-spinner/test/six-spinner.spec.js.map +0 -1
  1793. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js +0 -117
  1794. package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js.map +0 -1
  1795. package/dist/collection/components/six-switch/test/six-switch.spec.js +0 -73
  1796. package/dist/collection/components/six-switch/test/six-switch.spec.js.map +0 -1
  1797. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js +0 -20
  1798. package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js.map +0 -1
  1799. package/dist/collection/components/six-tag/test/six-tag.spec.js +0 -54
  1800. package/dist/collection/components/six-tag/test/six-tag.spec.js.map +0 -1
  1801. package/dist/collection/components/six-textarea/test/six-textarea.spec.js +0 -119
  1802. package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +0 -1
  1803. package/dist/collection/components/six-tile/test/six-tile.spec.js +0 -69
  1804. package/dist/collection/components/six-tile/test/six-tile.spec.js.map +0 -1
  1805. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +0 -496
  1806. package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +0 -1
  1807. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js +0 -28
  1808. package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js.map +0 -1
  1809. package/dist/collection/files/file-list.json +0 -308
  1810. package/dist/collection/files/noto-sans-all-100-italic.woff +0 -0
  1811. package/dist/collection/files/noto-sans-all-100-normal.woff +0 -0
  1812. package/dist/collection/files/noto-sans-all-200-italic.woff +0 -0
  1813. package/dist/collection/files/noto-sans-all-200-normal.woff +0 -0
  1814. package/dist/collection/files/noto-sans-all-300-italic.woff +0 -0
  1815. package/dist/collection/files/noto-sans-all-300-normal.woff +0 -0
  1816. package/dist/collection/files/noto-sans-all-400-italic.woff +0 -0
  1817. package/dist/collection/files/noto-sans-all-400-normal.woff +0 -0
  1818. package/dist/collection/files/noto-sans-all-500-italic.woff +0 -0
  1819. package/dist/collection/files/noto-sans-all-500-normal.woff +0 -0
  1820. package/dist/collection/files/noto-sans-all-600-italic.woff +0 -0
  1821. package/dist/collection/files/noto-sans-all-600-normal.woff +0 -0
  1822. package/dist/collection/files/noto-sans-all-700-italic.woff +0 -0
  1823. package/dist/collection/files/noto-sans-all-700-normal.woff +0 -0
  1824. package/dist/collection/files/noto-sans-all-800-italic.woff +0 -0
  1825. package/dist/collection/files/noto-sans-all-800-normal.woff +0 -0
  1826. package/dist/collection/files/noto-sans-all-900-italic.woff +0 -0
  1827. package/dist/collection/files/noto-sans-all-900-normal.woff +0 -0
  1828. package/dist/collection/utils/date-util.spec.js +0 -995
  1829. package/dist/collection/utils/date-util.spec.js.map +0 -1
  1830. package/dist/collection/utils/scroll.spec.js +0 -122
  1831. package/dist/collection/utils/scroll.spec.js.map +0 -1
  1832. package/dist/collection/utils/time.util.spec.js +0 -368
  1833. package/dist/collection/utils/time.util.spec.js.map +0 -1
  1834. package/dist/esm/form-control-30c5bd8b.js +0 -34
  1835. package/dist/esm/form-control-30c5bd8b.js.map +0 -1
  1836. package/dist/esm/index-5390c1d6.js +0 -2689
  1837. package/dist/esm/index-5390c1d6.js.map +0 -1
  1838. package/dist/esm/polyfills/core-js.js +0 -11
  1839. package/dist/esm/polyfills/dom.js +0 -79
  1840. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1841. package/dist/esm/polyfills/index.js +0 -34
  1842. package/dist/esm/polyfills/system.js +0 -6
  1843. package/dist/esm/six-checkbox_2.entry.js +0 -187
  1844. package/dist/esm/six-checkbox_2.entry.js.map +0 -1
  1845. package/dist/esm/six-dropdown_2.entry.js +0 -740
  1846. package/dist/esm/six-dropdown_2.entry.js.map +0 -1
  1847. package/dist/ui-library/files/file-list.json +0 -308
  1848. package/dist/ui-library/files/noto-sans-all-100-italic.woff +0 -0
  1849. package/dist/ui-library/files/noto-sans-all-100-normal.woff +0 -0
  1850. package/dist/ui-library/files/noto-sans-all-200-italic.woff +0 -0
  1851. package/dist/ui-library/files/noto-sans-all-200-normal.woff +0 -0
  1852. package/dist/ui-library/files/noto-sans-all-300-italic.woff +0 -0
  1853. package/dist/ui-library/files/noto-sans-all-300-normal.woff +0 -0
  1854. package/dist/ui-library/files/noto-sans-all-400-italic.woff +0 -0
  1855. package/dist/ui-library/files/noto-sans-all-400-normal.woff +0 -0
  1856. package/dist/ui-library/files/noto-sans-all-500-italic.woff +0 -0
  1857. package/dist/ui-library/files/noto-sans-all-500-normal.woff +0 -0
  1858. package/dist/ui-library/files/noto-sans-all-600-italic.woff +0 -0
  1859. package/dist/ui-library/files/noto-sans-all-600-normal.woff +0 -0
  1860. package/dist/ui-library/files/noto-sans-all-700-italic.woff +0 -0
  1861. package/dist/ui-library/files/noto-sans-all-700-normal.woff +0 -0
  1862. package/dist/ui-library/files/noto-sans-all-800-italic.woff +0 -0
  1863. package/dist/ui-library/files/noto-sans-all-800-normal.woff +0 -0
  1864. package/dist/ui-library/files/noto-sans-all-900-italic.woff +0 -0
  1865. package/dist/ui-library/files/noto-sans-all-900-normal.woff +0 -0
  1866. package/dist/ui-library/p-030fa1fa.entry.js +0 -2
  1867. package/dist/ui-library/p-030fa1fa.entry.js.map +0 -1
  1868. package/dist/ui-library/p-037afc74.entry.js +0 -2
  1869. package/dist/ui-library/p-037afc74.entry.js.map +0 -1
  1870. package/dist/ui-library/p-03d1b956.entry.js +0 -2
  1871. package/dist/ui-library/p-03d1b956.entry.js.map +0 -1
  1872. package/dist/ui-library/p-047d02ad.entry.js +0 -2
  1873. package/dist/ui-library/p-047d02ad.entry.js.map +0 -1
  1874. package/dist/ui-library/p-05eb1bab.js +0 -3
  1875. package/dist/ui-library/p-05eb1bab.js.map +0 -1
  1876. package/dist/ui-library/p-060069d4.entry.js +0 -2
  1877. package/dist/ui-library/p-060069d4.entry.js.map +0 -1
  1878. package/dist/ui-library/p-06ba653e.entry.js +0 -2
  1879. package/dist/ui-library/p-06ba653e.entry.js.map +0 -1
  1880. package/dist/ui-library/p-07c8de65.entry.js +0 -2
  1881. package/dist/ui-library/p-07c8de65.entry.js.map +0 -1
  1882. package/dist/ui-library/p-14e5fccc.entry.js +0 -2
  1883. package/dist/ui-library/p-14e5fccc.entry.js.map +0 -1
  1884. package/dist/ui-library/p-189602e4.entry.js +0 -2
  1885. package/dist/ui-library/p-189602e4.entry.js.map +0 -1
  1886. package/dist/ui-library/p-19560508.entry.js +0 -2
  1887. package/dist/ui-library/p-19560508.entry.js.map +0 -1
  1888. package/dist/ui-library/p-2386627e.entry.js +0 -2
  1889. package/dist/ui-library/p-2386627e.entry.js.map +0 -1
  1890. package/dist/ui-library/p-32e421a3.entry.js +0 -2
  1891. package/dist/ui-library/p-32e421a3.entry.js.map +0 -1
  1892. package/dist/ui-library/p-3603dd96.entry.js +0 -2
  1893. package/dist/ui-library/p-3603dd96.entry.js.map +0 -1
  1894. package/dist/ui-library/p-39ff5f61.entry.js +0 -2
  1895. package/dist/ui-library/p-39ff5f61.entry.js.map +0 -1
  1896. package/dist/ui-library/p-3b5a76ea.entry.js +0 -2
  1897. package/dist/ui-library/p-3b5a76ea.entry.js.map +0 -1
  1898. package/dist/ui-library/p-419ed003.entry.js +0 -2
  1899. package/dist/ui-library/p-419ed003.entry.js.map +0 -1
  1900. package/dist/ui-library/p-45003bae.entry.js +0 -2
  1901. package/dist/ui-library/p-45003bae.entry.js.map +0 -1
  1902. package/dist/ui-library/p-4963f03c.entry.js +0 -2
  1903. package/dist/ui-library/p-4963f03c.entry.js.map +0 -1
  1904. package/dist/ui-library/p-4d89932f.entry.js +0 -2
  1905. package/dist/ui-library/p-4d89932f.entry.js.map +0 -1
  1906. package/dist/ui-library/p-605bdd81.js +0 -2
  1907. package/dist/ui-library/p-605bdd81.js.map +0 -1
  1908. package/dist/ui-library/p-63acceb6.entry.js +0 -2
  1909. package/dist/ui-library/p-63acceb6.entry.js.map +0 -1
  1910. package/dist/ui-library/p-6888b9ee.entry.js +0 -2
  1911. package/dist/ui-library/p-6888b9ee.entry.js.map +0 -1
  1912. package/dist/ui-library/p-6f9153be.entry.js +0 -2
  1913. package/dist/ui-library/p-6f9153be.entry.js.map +0 -1
  1914. package/dist/ui-library/p-7561b336.entry.js +0 -2
  1915. package/dist/ui-library/p-7561b336.entry.js.map +0 -1
  1916. package/dist/ui-library/p-785810fa.entry.js +0 -2
  1917. package/dist/ui-library/p-785810fa.entry.js.map +0 -1
  1918. package/dist/ui-library/p-7c18b8ca.entry.js +0 -2
  1919. package/dist/ui-library/p-7c18b8ca.entry.js.map +0 -1
  1920. package/dist/ui-library/p-82bd8781.entry.js +0 -2
  1921. package/dist/ui-library/p-82bd8781.entry.js.map +0 -1
  1922. package/dist/ui-library/p-89db9a8b.entry.js +0 -2
  1923. package/dist/ui-library/p-89db9a8b.entry.js.map +0 -1
  1924. package/dist/ui-library/p-8f1d3461.entry.js +0 -2
  1925. package/dist/ui-library/p-8f1d3461.entry.js.map +0 -1
  1926. package/dist/ui-library/p-8fb96142.entry.js +0 -2
  1927. package/dist/ui-library/p-8fb96142.entry.js.map +0 -1
  1928. package/dist/ui-library/p-96d441e9.entry.js +0 -2
  1929. package/dist/ui-library/p-96d441e9.entry.js.map +0 -1
  1930. package/dist/ui-library/p-9bc1639b.entry.js +0 -2
  1931. package/dist/ui-library/p-9bc1639b.entry.js.map +0 -1
  1932. package/dist/ui-library/p-9cb83369.entry.js +0 -2
  1933. package/dist/ui-library/p-9cb83369.entry.js.map +0 -1
  1934. package/dist/ui-library/p-a398e3eb.entry.js +0 -2
  1935. package/dist/ui-library/p-a398e3eb.entry.js.map +0 -1
  1936. package/dist/ui-library/p-a7e2f511.entry.js +0 -2
  1937. package/dist/ui-library/p-a7e2f511.entry.js.map +0 -1
  1938. package/dist/ui-library/p-a8863197.entry.js +0 -2
  1939. package/dist/ui-library/p-a8863197.entry.js.map +0 -1
  1940. package/dist/ui-library/p-a9e009af.entry.js +0 -2
  1941. package/dist/ui-library/p-a9e009af.entry.js.map +0 -1
  1942. package/dist/ui-library/p-ab921403.entry.js +0 -2
  1943. package/dist/ui-library/p-ab921403.entry.js.map +0 -1
  1944. package/dist/ui-library/p-ac00076d.entry.js +0 -2
  1945. package/dist/ui-library/p-ac00076d.entry.js.map +0 -1
  1946. package/dist/ui-library/p-b4bc4915.entry.js +0 -2
  1947. package/dist/ui-library/p-b4bc4915.entry.js.map +0 -1
  1948. package/dist/ui-library/p-b5acf54d.entry.js +0 -2
  1949. package/dist/ui-library/p-b5acf54d.entry.js.map +0 -1
  1950. package/dist/ui-library/p-b60c20aa.entry.js +0 -2
  1951. package/dist/ui-library/p-b60c20aa.entry.js.map +0 -1
  1952. package/dist/ui-library/p-c1d68730.entry.js +0 -2
  1953. package/dist/ui-library/p-c1d68730.entry.js.map +0 -1
  1954. package/dist/ui-library/p-c35a7cef.entry.js +0 -2
  1955. package/dist/ui-library/p-c35a7cef.entry.js.map +0 -1
  1956. package/dist/ui-library/p-c62893e5.entry.js +0 -2
  1957. package/dist/ui-library/p-c62893e5.entry.js.map +0 -1
  1958. package/dist/ui-library/p-c6464bfe.entry.js +0 -2
  1959. package/dist/ui-library/p-c6464bfe.entry.js.map +0 -1
  1960. package/dist/ui-library/p-cf109cbf.entry.js +0 -2
  1961. package/dist/ui-library/p-cf109cbf.entry.js.map +0 -1
  1962. package/dist/ui-library/p-d07b549f.entry.js +0 -2
  1963. package/dist/ui-library/p-d07b549f.entry.js.map +0 -1
  1964. package/dist/ui-library/p-d42f1ea9.entry.js +0 -2
  1965. package/dist/ui-library/p-d42f1ea9.entry.js.map +0 -1
  1966. package/dist/ui-library/p-fe37dadf.entry.js +0 -2
  1967. package/dist/ui-library/p-fe37dadf.entry.js.map +0 -1
  1968. package/dist/ui-library/p-fe89a7c4.entry.js +0 -2
  1969. package/dist/ui-library/p-fe89a7c4.entry.js.map +0 -1
@@ -122,12 +122,12 @@ export class SixDialog {
122
122
  unlockBodyScrolling(this.host);
123
123
  }
124
124
  render() {
125
- return (h("div", { key: 'a296b25173faa0d4570673307476f19457803b4a', ref: (el) => (this.dialog = el), part: "base", class: {
125
+ return (h("div", { key: '6f14cb488875cc193db6e577ba338514a548f938', ref: (el) => (this.dialog = el), part: "base", class: {
126
126
  dialog: true,
127
127
  'dialog--open': this.open,
128
128
  'dialog--visible': this.isVisible,
129
129
  'dialog--has-footer': this.hasFooter,
130
- }, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: 'f2a1cf3398fdf89247e6437785225ceccaa56710', part: "overlay", class: "dialog__overlay", onClick: this.handleOverlayClick }), h("div", { key: 'cac00fcc56a2b11147a133a188e77b381429c519', ref: (el) => (this.panel = el), part: "panel", class: "dialog__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: "dialog__header" }, h("span", { part: "title", class: "dialog__title", id: `${this.componentId}-title` }, h("slot", { name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { exportparts: "base:close-button", class: "dialog__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: '45b0a5f97bac8ed08877780dbe944b6cc306159e', part: "body", class: "dialog__body" }, h("slot", { key: '299de573193e389abf04d3ecdaa94e8af8b62131' })), h("footer", { key: 'b80b726e690f443461a368251ef6827f261e5d86', part: "footer", class: "dialog__footer" }, h("slot", { key: '05bc0252b546c1cf77edce28632b19bddf8086c9', name: "footer", onSlotchange: this.handleSlotChange })))));
130
+ }, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: 'a68c26974993aae32b5af10726994d49673c548e', part: "overlay", class: "dialog__overlay", onClick: this.handleOverlayClick }), h("div", { key: 'd65b34ab367b255e11ec0153c5bbef8dea9b37bc', ref: (el) => (this.panel = el), part: "panel", class: "dialog__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: '9134f6b97e1115ee8a4921ce8a43b7fff93cc9a4', part: "header", class: "dialog__header" }, h("span", { key: 'f373bc7278c75661c420cdd4cff713965988fa73', part: "title", class: "dialog__title", id: `${this.componentId}-title` }, h("slot", { key: '23e17699f04a560f79127127eed5e2d93ef0a40d', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: 'f0cbdbbd0d99ae5307d0aaa7e543346549ac59b9', exportparts: "base:close-button", class: "dialog__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: '7cef3cee366fa1b5dd2666e2cd38591092e599ec', part: "body", class: "dialog__body" }, h("slot", { key: 'f5547ca08f289964e90e1897de2c662cf2ef4ecf' })), h("footer", { key: '6fd4cc4b379881d0d773dcb7c169319ebbd1cc86', part: "footer", class: "dialog__footer" }, h("slot", { key: 'f16e994808340a7c7d92069769af0f191fcbaf19', name: "footer", onSlotchange: this.handleSlotChange })))));
131
131
  }
132
132
  static get is() { return "six-dialog"; }
133
133
  static get encapsulation() { return "shadow"; }
@@ -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,KAAK,MAAM,mBAAmB,CAAC;AAGtC,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;QAwHjB,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,CAAC;gBAC3B,IAAI,CAAC,IAAI,EAAE,CAAC;YACd,CAAC;QACH,CAAC,CAAC;QAEM,uBAAkB,GAAG,GAAG,EAAE;YA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
+ {"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,KAAK,MAAM,mBAAmB,CAAC;AAGtC,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;QAwHjB,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,CAAC;gBAC3B,IAAI,CAAC,IAAI,EAAE,CAAC;YACd,CAAC;QACH,CAAC,CAAC;QAEM,uBAAkB,GAAG,GAAG,EAAE;YAChC,MAAM,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;YAExD,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,EAAE,CAAC;gBACxC,IAAI,CAAC,IAAI,EAAE,CAAC;YACd,CAAC;QACH,CAAC,CAAC;QAEM,qB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C,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,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 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"]}
@@ -131,7 +131,7 @@ export class SixDrawer {
131
131
  this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
132
132
  }
133
133
  render() {
134
- return (h("div", { key: '764586f5b8502e4eabe27c78bc416a9b72425ab4', ref: (el) => (this.drawer = el), part: "base", class: {
134
+ return (h("div", { key: '36e3f65ac5f2721b42452c5c8bb6b7c82caaf90b', ref: (el) => (this.drawer = el), part: "base", class: {
135
135
  drawer: true,
136
136
  'drawer--open': this.open,
137
137
  'drawer--visible': this.isVisible,
@@ -142,7 +142,7 @@ export class SixDrawer {
142
142
  'drawer--contained': this.contained,
143
143
  'drawer--fixed': !this.contained,
144
144
  'drawer--has-footer': this.hasFooter,
145
- }, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '4c5a437df38d0228564c2b2aac07b5435d405716', part: "overlay", class: "drawer__overlay", onClick: this.handleOverlayClick, tabIndex: -1 }), h("div", { key: '5ce513b508fa8f91b8477af3c3398f4bbf888e02', 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", { key: 'c06ee09f9fe63ceef10c9d3f2477cdd209debe0a', part: "body", class: "drawer__body" }, h("slot", { key: '2d6759dd377e91abeae74b0dea987b870b27c594' })), h("footer", { key: '9beb459f0ea560fa519537225ff97af3e0d5aad7', part: "footer", class: "drawer__footer" }, h("slot", { key: '1ece0987ef2c655cb3bfeba8dcecd638139f1f67', name: "footer", onSlotchange: this.handleSlotChange })))));
145
+ }, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '1d882839efb405169548546f93eacabd88803051', part: "overlay", class: "drawer__overlay", onClick: this.handleOverlayClick, tabIndex: -1 }), h("div", { key: 'b53bc8fa6d3d233727f87b111b220674de9ab2d5', 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: '3d580bea13f4ce5e361a1789550b011e52af859e', part: "header", class: "drawer__header" }, h("span", { key: 'e068532fb2b4e517ef09289396cba476ab699331', part: "title", class: "drawer__title", id: `${this.componentId}-title` }, h("slot", { key: '35a8c80566e7083d532817bd9cc6fa2acbf4416c', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: 'a294b23eb653e39fc714adf63b6df7c4b46e9002', exportparts: "base:close-button", class: "drawer__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: 'a347e151af6ecb2d79c6b5773ddd533405e6b5b6', part: "body", class: "drawer__body" }, h("slot", { key: '5a0634971a10582fb22c3cbbecd0975a6b65fd04' })), h("footer", { key: '051fe5aa4ec54b0fe82a20f569884adbf29256cb', part: "footer", class: "drawer__footer" }, h("slot", { key: 'dce35b793bbc64207727c39f7cc8153a8102ca86', name: "footer", onSlotchange: this.handleSlotChange })))));
146
146
  }
147
147
  static get is() { return "six-drawer"; }
148
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,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"]}
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,EAAE,CAAC;QAI/B,aAAQ,GAAG,KAAK,CAAC;QACjB,aAAQ,GAAG,KAAK,CAAC;QAsIjB,q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AAC,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"]}
@@ -455,19 +455,19 @@ export class SixDropdown {
455
455
  }
456
456
  }
457
457
  render() {
458
- return (h("div", { key: '6569a6e118fd68e19f14dcae0553e25f81987923', part: "base", id: this.componentId, class: {
458
+ return (h("div", { key: '26cba1568dfda35efa2791df5c2228aa51201fb9', part: "base", id: this.componentId, class: {
459
459
  dropdown: true,
460
460
  'dropdown--open': this.open,
461
- } }, h("span", { key: 'be04c5d687eafa3c58c9fed9cf43f72d43aa45ef', part: "trigger", class: "dropdown__trigger", ref: (el) => (this.trigger = el), onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown, onKeyUp: this.handleTriggerKeyUp }, h("slot", { key: 'fba562d4fc45a0874e5cf8caad5e9710d6dd34e0', name: "trigger", ref: (el) => (this.triggerSlot = el), onSlotchange: this.handleTriggerSlotChange })), h("div", { key: 'd37f1cb0246d47ca34004f35e3575e8433d998c8', ref: (el) => (this.positioner = el), class: {
461
+ } }, h("span", { key: '5bd9acd7e1470a88158b233df327090cccaf6707', part: "trigger", class: "dropdown__trigger", ref: (el) => (this.trigger = el), onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown, onKeyUp: this.handleTriggerKeyUp }, h("slot", { key: 'ab3915fb99a943f5e1ab8b9ad6c0339e6312614f', name: "trigger", ref: (el) => (this.triggerSlot = el), onSlotchange: this.handleTriggerSlotChange })), h("div", { key: 'f9615d2a48275ce167a683ffc5b6f1b4f3945732', ref: (el) => (this.positioner = el), class: {
462
462
  dropdown__positioner: true,
463
463
  dropdown__positioner__filtered: (this.filter || this.asyncFilter) && !this.hoist,
464
- } }, h("div", { key: 'e6c08b51f39a12259b4d8911770e1e1754dc4b8e', 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: {
464
+ } }, h("div", { key: '121185720985a0650aa7a03d697fa66bb9752c35', 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: '7422f2a0179806aa116c7ae42aa71bcb79167395', class: {
465
465
  filter: true,
466
466
  'filter-hidden': !this.open,
467
- }, "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", { key: '174d0a5dd5965877e9278475112e2f14d959966d', class: {
467
+ }, "dropdown-search": true, "aria-hidden": this.open ? 'false' : 'true', ref: (el) => (this.filterInputElement = el), placeholder: this.filterPlaceholder }, h("six-icon", { key: '5e22ddbdb949c2ec389bb238202e02e0b5905c66', class: "filter__icon", slot: "suffix", size: "small" }, "search"))), h("div", { key: '3212216bf8a156711ff7ea68ce916626146c1828', class: {
468
468
  dropdown__panel__scroll: true,
469
469
  'dropdown__panel__scroll--virtual': this.virtualScroll,
470
- }, onScroll: this.handleDropdownScroll, ref: (el) => (this.scrollPanel = el) }, h("slot", { key: 'fa0fc63a45e693cc6655db03b0382f028aea9473', ref: (el) => (this.panelSlot = el) }), this.options.length > 0 && (h("six-menu", { part: "menu", items: this.renderedOptions, virtualScroll: this.virtualScroll }))), h("slot", { key: 'f24f41a9a70f0624078d43eb60b41e841ee90bf7', name: "dropdown-footer" })))));
470
+ }, onScroll: this.handleDropdownScroll, ref: (el) => (this.scrollPanel = el) }, h("slot", { key: '37626706d68beb0e3894e5db14af370a7433e5e0', ref: (el) => (this.panelSlot = el) }), this.options.length > 0 && (h("six-menu", { key: '014217ffca577be6a6d46aa212df955eb93f3233', part: "menu", items: this.renderedOptions, virtualScroll: this.virtualScroll }))), h("slot", { key: 'a9fd4bc79298e9e720f9608717dec61c3bbc3100', name: "dropdown-footer" })))));
471
471
  }
472
472
  static get is() { return "six-dropdown"; }
473
473
  static get encapsulation() { return "shadow"; }
@@ -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;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,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,CAAE,OAAO,CAAC,WAAW,EAAE,MAAK,UAAU,CAAC;AAClD,CAAC;AACD,SAAS,aAAa,CAAC,EAAY;IACjC,OAAO,CAAA,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,OAAO,CAAC,WAAW,EAAE,MAAK,eAAe,CAAC;AACvD,CAAC;AACD,SAAS,oBAAoB,CAAC,EAAY;;IACxC,OAAO,CAAA,MAAA,EAAE,aAAF,EAAE,uBAAF,EAAE,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 /**\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;AAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF;AAED,SAAS,SAAS,CAAC,EAAY;IAC7B,OAAO,CAAA,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,OAAO,CAAC,WAAW,EAAE,MAAK,UAAU,CAAC;AAClD,CAAC;AACD,SAAS,aAAa,CAAC,EAAY;IACjC,OAAO,CAAA,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,OAAO,CAAC,WAAW,EAAE,MAAK,eAAe,CAAC;AACvD,CAAC;AACD,SAAS,oBAAoB,CAAC,EAAY;;IACxC,OAAO,CAAA,MAAA,EAAE,aAAF,EAAE,uBAAF,EAAE,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 /**\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"]}
@@ -7,7 +7,7 @@ import { h } from "@stencil/core";
7
7
  */
8
8
  export class SixError {
9
9
  render() {
10
- return (h("div", { key: 'cb030d06c5672995c6c8077eebe7ec6e605bfbec', class: "six-error-container" }, h("slot", { key: 'eec715b6c3f8933ffce58f37dedc73c7e006c14b' })));
10
+ return (h("div", { key: 'dce0c9954ec6c3b549af8fffd0252ebd1326ec64', class: "six-error-container" }, h("slot", { key: 'cc431e31efedd919f485269b68c6471c1e2bd88a' })));
11
11
  }
12
12
  static get is() { return "six-error"; }
13
13
  static get encapsulation() { return "shadow"; }
@@ -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", { key: '480b7593df8c54c64e63fb4218d8f9ab41cc1e0a', part: "container" }, h("div", { key: '9842ad416849c357952fb90009a8311058e803e4', class: "six-error-page__icon-container", part: "icon-container" }, h("six-picto", { key: 'd4ff368cbab362f49baa76217bf0bef0ce4d77c9', size: "4xl", class: "six-error-page__icon", part: "icon" }, this.getIconName())), h("div", { key: '270eabc20c8974d788b10ccf144204db5bad0d75', class: "six-error-page__title", part: "title" }, this.getErrorTitle()), h("div", { key: 'e005a5ef17a1ec204a6b1704568ba19993c774a9', class: "six-error-page__description", part: "description" }, this.getErrorDescription())));
98
+ return (h("div", { key: 'c11b8a0d98ed8a03a1ee91e8932a3c7f7ba60fb8', part: "container" }, h("div", { key: '54352589667286a7659b65adcc071f14bd4ac409', class: "six-error-page__icon-container", part: "icon-container" }, h("six-picto", { key: '8532d61184d3de5f8c00e1f8bff8a9bfb9cff44b', size: "4xl", class: "six-error-page__icon", part: "icon" }, this.getIconName())), h("div", { key: 'b94c4b57087f5278a8424bf5dc9b0e9c73a9f4ef', class: "six-error-page__title", part: "title" }, this.getErrorTitle()), h("div", { key: '6313d2f5039d1ceeaac79ea3eb5cbb9a30d44b01', 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"; }
@@ -6,7 +6,7 @@ import { h } from "@stencil/core";
6
6
  */
7
7
  export class SixFileList {
8
8
  render() {
9
- return (h("div", { key: 'a7119608a094e12dec079974a2a313eac5bf63ae', class: "six-files-list__container" }, h("slot", { key: 'eedc03a42dafc5d690db84ed670b1f0b0bb71b81' })));
9
+ return (h("div", { key: '5856049cee6f4ed3201403e1c917208d720e3a7a', class: "six-files-list__container" }, h("slot", { key: '78874af25ab226bbd61b0067ae34dd1516754f34' })));
10
10
  }
11
11
  static get is() { return "six-file-list"; }
12
12
  static get encapsulation() { return "shadow"; }
@@ -26,10 +26,10 @@ export class SixFileListItem {
26
26
  this.nodelete = false;
27
27
  }
28
28
  render() {
29
- return (h("div", { key: 'd952d96c29ffa8e5e4b0476e3c7ed2f28d635517', class: "six-files-list-item" }, h("span", { key: '1690a23c428c3b70281fbcff30183d8079ed83a4', class: {
29
+ return (h("div", { key: '65ea17f1ce1ff3d9cb48696bbf25465f126ca879', class: "six-files-list-item" }, h("span", { key: '53749104860721fd92bbb07b84029e2d3a22c0c0', class: {
30
30
  'six-files-list-item__name': true,
31
31
  'six-files-list-item__name--disabled': this.nodownload,
32
- }, onClick: this.downloadFile }, this.name), h("span", { key: '8c7437e946edaeeeedee8e76e28950f0f14ed4bb', class: "six-files-list-item__date" }, this.date), this.size != null && h("span", { class: "six-files-list-item__size" }, Math.round(this.size / 1024), " KB"), h("six-icon", { key: '1b433c6baf5a67b7b812919058562e31bc402a9d', class: {
32
+ }, onClick: this.downloadFile }, this.name), h("span", { key: '637a12f8bb040e3cf5392ebe7ac488e3d08ae6fb', class: "six-files-list-item__date" }, this.date), this.size != null && h("span", { key: '208e19ce7a5fa642b0b860fdba2d0dc83feb12fc', class: "six-files-list-item__size" }, Math.round(this.size / 1024), " KB"), h("six-icon", { key: 'ecca120c27d87cd450f99ab24ec26f056d014d71', class: {
33
33
  'six-files-list-item__icon': true,
34
34
  'six-files-list-item__icon--disabled': this.nodelete,
35
35
  }, size: "small", onClick: this.removeFile }, "delete")));
@@ -1 +1 @@
1
- {"version":3,"file":"six-file-list-item.js","sourceRoot":"","sources":["../../../src/components/six-file-list-item/six-file-list-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAYxE;;;;GAIG;AAMH,MAAM,OAAO,eAAe;;QAyBlB,iBAAY,GAAG,GAAG,EAAE;YAC1B,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACpB,OAAO;YACT,CAAC;YAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;QACxE,CAAC,CAAC;QAEM,eAAU,GAAG,GAAG,EAAE;YACxB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAClB,OAAO;YACT,CAAC;YAED,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;QACtE,CAAC,CAAC;0BArCoC,EAAE;oBAGR,EAAE;oBAGF,EAAE;;0BAMI,KAAK;wBAGP,KAAK;;IAwBzC,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAC,qBAAqB;YAC9B,6DACE,KAAK,EAAE;oBACL,2BAA2B,EAAE,IAAI;oBACjC,qCAAqC,EAAE,IAAI,CAAC,UAAU;iBACvD,EACD,OAAO,EAAE,IAAI,CAAC,YAAY,IAEzB,IAAI,CAAC,IAAI,CACL;YACP,6DAAM,KAAK,EAAC,2BAA2B,IAAE,IAAI,CAAC,IAAI,CAAQ;YACzD,IAAI,CAAC,IAAI,IAAI,IAAI,IAAI,YAAM,KAAK,EAAC,2BAA2B;gBAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;sBAAW;YACtG,iEACE,KAAK,EAAE;oBACL,2BAA2B,EAAE,IAAI;oBACjC,qCAAqC,EAAE,IAAI,CAAC,QAAQ;iBACrD,EACD,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,IAAI,CAAC,UAAU,aAGf,CACP,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\n\nexport interface SixFileListDownloadPayload {\n fileId: string;\n name: string;\n}\n\nexport interface SixFileListRemovePayload {\n fileId: string;\n name: string;\n}\n\n/**\n * @since 2.0.0\n * @status experimental\n *\n */\n@Component({\n tag: 'six-file-list-item',\n styleUrl: 'six-file-list-item.scss',\n shadow: true,\n})\nexport class SixFileListItem {\n /** An id to clearly identify the file */\n @Prop({ reflect: true }) identifier = '';\n\n /** The filename */\n @Prop({ reflect: true }) name = '';\n\n /** The date when the file was uploaded */\n @Prop({ reflect: true }) date = '';\n\n /** The file size. This number will be divided by 1024 to show the filesize in KB */\n @Prop({ reflect: true }) size?: number;\n\n /** Set to true if you don't want to allow to download this file */\n @Prop({ reflect: true }) nodownload = false;\n\n /** Set to true if you don't want to allow to delete this file */\n @Prop({ reflect: true }) nodelete = false;\n\n /** Triggered on file download. */\n @Event({ eventName: 'six-file-list-item-download' }) downloadEvent!: EventEmitter<SixFileListDownloadPayload>;\n\n /** Triggered on file remove. */\n @Event({ eventName: 'six-file-list-item-remove' }) removeEvent!: EventEmitter<SixFileListRemovePayload>;\n\n private downloadFile = () => {\n if (this.nodownload) {\n return;\n }\n\n this.downloadEvent.emit({ fileId: this.identifier, name: this.name });\n };\n\n private removeFile = () => {\n if (this.nodelete) {\n return;\n }\n\n this.removeEvent.emit({ fileId: this.identifier, name: this.name });\n };\n\n render() {\n return (\n <div class=\"six-files-list-item\">\n <span\n class={{\n 'six-files-list-item__name': true,\n 'six-files-list-item__name--disabled': this.nodownload,\n }}\n onClick={this.downloadFile}\n >\n {this.name}\n </span>\n <span class=\"six-files-list-item__date\">{this.date}</span>\n {this.size != null && <span class=\"six-files-list-item__size\">{Math.round(this.size / 1024)} KB</span>}\n <six-icon\n class={{\n 'six-files-list-item__icon': true,\n 'six-files-list-item__icon--disabled': this.nodelete,\n }}\n size=\"small\"\n onClick={this.removeFile}\n >\n delete\n </six-icon>\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"six-file-list-item.js","sourceRoot":"","sources":["../../../src/components/six-file-list-item/six-file-list-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAYxE;;;;GAIG;AAMH,MAAM,OAAO,eAAe;;QAyBlB,iBAAY,GAAG,GAAG,EAAE;YAC1B,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACpB,OAAO;YACT,CAAC;YAED,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;QACxE,CAAC,CAAC;QAEM,eAAU,GAAG,GAAG,EAAE;YACxB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAClB,OAAO;YACT,CAAC;YAED,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;QACtE,CAAC,CAAC;0BArCoC,EAAE;oBAGR,EAAE;oBAGF,EAAE;;0BAMI,KAAK;wBAGP,KAAK;;IAwBzC,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EAAC,qBAAqB;YAC9B,6DACE,KAAK,EAAE;oBACL,2BAA2B,EAAE,IAAI;oBACjC,qCAAqC,EAAE,IAAI,CAAC,UAAU;iBACvD,EACD,OAAO,EAAE,IAAI,CAAC,YAAY,IAEzB,IAAI,CAAC,IAAI,CACL;YACP,6DAAM,KAAK,EAAC,2BAA2B,IAAE,IAAI,CAAC,IAAI,CAAQ;YACzD,IAAI,CAAC,IAAI,IAAI,IAAI,IAAI,6DAAM,KAAK,EAAC,2BAA2B;gBAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;sBAAW;YACtG,iEACE,KAAK,EAAE;oBACL,2BAA2B,EAAE,IAAI;oBACjC,qCAAqC,EAAE,IAAI,CAAC,QAAQ;iBACrD,EACD,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,IAAI,CAAC,UAAU,aAGf,CACP,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\n\nexport interface SixFileListDownloadPayload {\n fileId: string;\n name: string;\n}\n\nexport interface SixFileListRemovePayload {\n fileId: string;\n name: string;\n}\n\n/**\n * @since 2.0.0\n * @status experimental\n *\n */\n@Component({\n tag: 'six-file-list-item',\n styleUrl: 'six-file-list-item.scss',\n shadow: true,\n})\nexport class SixFileListItem {\n /** An id to clearly identify the file */\n @Prop({ reflect: true }) identifier = '';\n\n /** The filename */\n @Prop({ reflect: true }) name = '';\n\n /** The date when the file was uploaded */\n @Prop({ reflect: true }) date = '';\n\n /** The file size. This number will be divided by 1024 to show the filesize in KB */\n @Prop({ reflect: true }) size?: number;\n\n /** Set to true if you don't want to allow to download this file */\n @Prop({ reflect: true }) nodownload = false;\n\n /** Set to true if you don't want to allow to delete this file */\n @Prop({ reflect: true }) nodelete = false;\n\n /** Triggered on file download. */\n @Event({ eventName: 'six-file-list-item-download' }) downloadEvent!: EventEmitter<SixFileListDownloadPayload>;\n\n /** Triggered on file remove. */\n @Event({ eventName: 'six-file-list-item-remove' }) removeEvent!: EventEmitter<SixFileListRemovePayload>;\n\n private downloadFile = () => {\n if (this.nodownload) {\n return;\n }\n\n this.downloadEvent.emit({ fileId: this.identifier, name: this.name });\n };\n\n private removeFile = () => {\n if (this.nodelete) {\n return;\n }\n\n this.removeEvent.emit({ fileId: this.identifier, name: this.name });\n };\n\n render() {\n return (\n <div class=\"six-files-list-item\">\n <span\n class={{\n 'six-files-list-item__name': true,\n 'six-files-list-item__name--disabled': this.nodownload,\n }}\n onClick={this.downloadFile}\n >\n {this.name}\n </span>\n <span class=\"six-files-list-item__date\">{this.date}</span>\n {this.size != null && <span class=\"six-files-list-item__size\">{Math.round(this.size / 1024)} KB</span>}\n <six-icon\n class={{\n 'six-files-list-item__icon': true,\n 'six-files-list-item__icon--disabled': this.nodelete,\n }}\n size=\"small\"\n onClick={this.removeFile}\n >\n delete\n </six-icon>\n </div>\n );\n }\n}\n"]}
@@ -79,12 +79,9 @@ export class SixFileUpload {
79
79
  this.isOver = false;
80
80
  }
81
81
  }
82
- dropHandler({ dataTransfer }) {
82
+ dropHandler() {
83
83
  if (!this.disabled) {
84
84
  this.isOver = false;
85
- if (dataTransfer != null) {
86
- this.handleFiles(dataTransfer.files);
87
- }
88
85
  }
89
86
  }
90
87
  componentWillLoad() {
@@ -117,17 +114,17 @@ export class SixFileUpload {
117
114
  render() {
118
115
  const Container = this.compact ? 'six-button' : 'six-card';
119
116
  const errorMessages = (Array.isArray(this.errorText) ? this.errorText : [this.errorText]).filter((text) => text != null && text.trim() !== '');
120
- return (h("div", { key: 'eb14977865630579c21ac9bb4a711d1c31878cb2', class: {
117
+ return (h("div", { key: '273eaa495b7158f3caba301a3efa49918ee44e2b', class: {
121
118
  'six-file-upload': true,
122
119
  'six-file-upload--disabled': this.disabled || this.uploading,
123
- } }, h(Container, { key: '7e5399fe2defdcf4c653056c6593e819c45964f0', disabled: this.disabled || this.uploading, "aria-invalid": this.invalid ? 'true' : 'false', class: {
120
+ } }, h(Container, { key: '6f230b253610a589d7ef1ce8d38ec5db724c129a', disabled: this.disabled || this.uploading, "aria-invalid": this.invalid ? 'true' : 'false', class: {
124
121
  'six-file-upload__container--compact': this.compact,
125
122
  'six-file-upload__container--full': !this.compact,
126
- } }, this.compact && !this.uploading && (h("span", { slot: "prefix" }, h("six-icon", { class: "six-file-upload__label-icon" }, "arrow_circle_up"))), h("div", { key: '6a1870eaebbbdf1bafb6b893342af3730211402e', class: {
123
+ } }, this.compact && !this.uploading && (h("span", { key: 'b1f5604ddacd8ec9b996e4de2f91b8afc48757b4', slot: "prefix" }, h("six-icon", { key: 'fd364b1912a31f703c8e8db887eb83ff53998e46', class: "six-file-upload__label-icon" }, "arrow_circle_up"))), h("div", { key: '4f26acba5da00bea31b8f7d87073e839058a86ec', class: {
127
124
  'six-file-upload__drop-zone': true,
128
125
  'six-file-upload__drop-zone--hover': this.isOver,
129
126
  'six-file-upload__drop-zone--compact': this.compact,
130
- } }, this.uploading ? (h("span", { class: "six-file-upload__drop-zone__spinner-container" }, h("six-spinner", null), " Uploading...")) : (h("div", null, h("span", null, this.renderLabel()), h("input", { class: "six-file-upload__input", type: "file", name: "resume", disabled: this.disabled, accept: this.accept, multiple: this.multiple, onChange: this.onChange, ref: (el) => (this.fileInput = el) }))))), h("div", { key: '063123eb020e8f370733294760d96709a8c22b0a', "aria-hidden": this.invalid ? 'false' : 'true' }, h("slot", { key: '4ac9dad1011635a2974f2d642c5748fa7e5aff3d', name: "error-text" }, errorMessages.map((text) => (h("six-error", null, h("div", { class: "six-file-upload__error-text" }, text))))))));
127
+ } }, this.uploading ? (h("span", { class: "six-file-upload__drop-zone__spinner-container" }, h("six-spinner", null), " Uploading...")) : (h("div", null, h("span", null, this.renderLabel()), h("input", { class: "six-file-upload__input", type: "file", name: "resume", disabled: this.disabled, accept: this.accept, multiple: this.multiple, onChange: this.onChange, ref: (el) => (this.fileInput = el) }))))), h("div", { key: 'b3959e13c80f7d12102ef746aaa290bb9e420547', "aria-hidden": this.invalid ? 'false' : 'true' }, h("slot", { key: '979d2e80ad7028b300cc5a80888cb5f3fcfb598e', name: "error-text" }, errorMessages.map((text) => (h("six-error", null, h("div", { class: "six-file-upload__error-text" }, text))))))));
131
128
  }
132
129
  static get is() { return "six-file-upload"; }
133
130
  static get encapsulation() { return "scoped"; }