@six-group/ui-library 0.0.0-insider.b2db78f → 0.0.0-insider.b85326c

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 (1176) hide show
  1. package/dist/cjs/animation-ZgWV0fC6.js +54 -0
  2. package/dist/cjs/animation-ZgWV0fC6.js.map +1 -0
  3. package/dist/cjs/{form-control-BHd-Z4ot.js → form-control-Ditp8yHw.js} +5 -5
  4. package/dist/cjs/form-control-Ditp8yHw.js.map +1 -0
  5. package/dist/cjs/{index-B_stPhJp.js → index-BKTrCUjx.js} +38 -8
  6. package/dist/cjs/index-BKTrCUjx.js.map +1 -0
  7. package/dist/cjs/loader.cjs.js +2 -2
  8. package/dist/cjs/six-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
  10. package/dist/cjs/six-alert.entry.cjs.js.map +1 -1
  11. package/dist/cjs/six-avatar.cjs.entry.js +3 -3
  12. package/dist/cjs/six-badge.cjs.entry.js +3 -3
  13. package/dist/cjs/six-button.cjs.entry.js +3 -3
  14. package/dist/cjs/six-button.cjs.entry.js.map +1 -1
  15. package/dist/cjs/six-button.entry.cjs.js.map +1 -1
  16. package/dist/cjs/six-card.cjs.entry.js +2 -2
  17. package/dist/cjs/six-checkbox.six-menu-item.entry.cjs.js.map +1 -1
  18. package/dist/cjs/six-checkbox_2.cjs.entry.js +4 -4
  19. package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -1
  20. package/dist/cjs/six-date.cjs.entry.js +24 -22
  21. package/dist/cjs/six-date.cjs.entry.js.map +1 -1
  22. package/dist/cjs/six-date.entry.cjs.js.map +1 -1
  23. package/dist/cjs/six-datepicker.cjs.entry.js +1 -1
  24. package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
  25. package/dist/cjs/six-datepicker.entry.cjs.js.map +1 -1
  26. package/dist/cjs/six-details.cjs.entry.js +4 -4
  27. package/dist/cjs/six-dialog.cjs.entry.js +16 -10
  28. package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
  29. package/dist/cjs/six-dialog.entry.cjs.js.map +1 -1
  30. package/dist/cjs/six-drawer.cjs.entry.js +16 -10
  31. package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
  32. package/dist/cjs/six-drawer.entry.cjs.js.map +1 -1
  33. package/dist/cjs/six-dropdown.six-menu.entry.cjs.js.map +1 -1
  34. package/dist/cjs/six-dropdown_2.cjs.entry.js +8 -8
  35. package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
  36. package/dist/cjs/six-error-page.cjs.entry.js +1 -1
  37. package/dist/cjs/six-error.cjs.entry.js +1 -1
  38. package/dist/cjs/six-file-list-item.cjs.entry.js +3 -3
  39. package/dist/cjs/six-file-list.cjs.entry.js +1 -1
  40. package/dist/cjs/six-file-upload.cjs.entry.js +14 -10
  41. package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
  42. package/dist/cjs/six-file-upload.entry.cjs.js.map +1 -1
  43. package/dist/cjs/six-footer.cjs.entry.js +1 -1
  44. package/dist/cjs/six-group-label.cjs.entry.js +2 -2
  45. package/dist/cjs/six-header-dropdown-item.cjs.entry.js +1 -1
  46. package/dist/cjs/six-header-item.cjs.entry.js +1 -1
  47. package/dist/cjs/six-header-menu-button.cjs.entry.js +1 -1
  48. package/dist/cjs/six-header.cjs.entry.js +1 -1
  49. package/dist/cjs/six-header.cjs.entry.js.map +1 -1
  50. package/dist/cjs/six-header.entry.cjs.js.map +1 -1
  51. package/dist/cjs/six-icon-button.cjs.entry.js +1 -1
  52. package/dist/cjs/six-icon.cjs.entry.js +1 -1
  53. package/dist/cjs/six-input.cjs.entry.js +5 -5
  54. package/dist/cjs/six-input.cjs.entry.js.map +1 -1
  55. package/dist/cjs/six-input.entry.cjs.js.map +1 -1
  56. package/dist/cjs/six-item-picker.cjs.entry.js +1 -1
  57. package/dist/cjs/six-language-switcher.cjs.entry.js +2 -2
  58. package/dist/cjs/six-layout-grid.cjs.entry.js +1 -1
  59. package/dist/cjs/six-logo.cjs.entry.js +1 -1
  60. package/dist/cjs/six-main-container.cjs.entry.js +1 -1
  61. package/dist/cjs/six-menu-divider.cjs.entry.js +1 -1
  62. package/dist/cjs/six-menu-label.cjs.entry.js +1 -1
  63. package/dist/cjs/six-picto.cjs.entry.js +7 -23
  64. package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
  65. package/dist/cjs/six-picto.entry.cjs.js.map +1 -1
  66. package/dist/cjs/six-progress-bar.cjs.entry.js +1 -1
  67. package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
  68. package/dist/cjs/six-progress-bar.entry.cjs.js.map +1 -1
  69. package/dist/cjs/six-progress-ring.cjs.entry.js +1 -1
  70. package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
  71. package/dist/cjs/six-progress-ring.entry.cjs.js.map +1 -1
  72. package/dist/cjs/six-radio.cjs.entry.js +1 -1
  73. package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
  74. package/dist/cjs/six-radio.entry.cjs.js.map +1 -1
  75. package/dist/cjs/six-range.cjs.entry.js +2 -2
  76. package/dist/cjs/six-range.cjs.entry.js.map +1 -1
  77. package/dist/cjs/six-range.entry.cjs.js.map +1 -1
  78. package/dist/cjs/six-root.cjs.entry.js +1 -1
  79. package/dist/cjs/six-search-field.cjs.entry.js +2 -2
  80. package/dist/cjs/six-select.cjs.entry.js +17 -9
  81. package/dist/cjs/six-select.cjs.entry.js.map +1 -1
  82. package/dist/cjs/six-select.entry.cjs.js.map +1 -1
  83. package/dist/cjs/six-sidebar-item-group.cjs.entry.js +1 -1
  84. package/dist/cjs/six-sidebar-item.cjs.entry.js +1 -1
  85. package/dist/cjs/six-sidebar.cjs.entry.js +1 -1
  86. package/dist/cjs/six-spinner.cjs.entry.js +1 -1
  87. package/dist/cjs/six-stage-indicator.cjs.entry.js +1 -1
  88. package/dist/cjs/six-switch.cjs.entry.js +2 -2
  89. package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
  90. package/dist/cjs/six-switch.entry.cjs.js.map +1 -1
  91. package/dist/cjs/six-tab-group.cjs.entry.js +5 -38
  92. package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
  93. package/dist/cjs/six-tab-group.entry.cjs.js.map +1 -1
  94. package/dist/cjs/six-tab-panel.cjs.entry.js +1 -1
  95. package/dist/cjs/six-tab.cjs.entry.js +1 -1
  96. package/dist/cjs/six-tag.cjs.entry.js +1 -1
  97. package/dist/cjs/six-textarea.cjs.entry.js +2 -2
  98. package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
  99. package/dist/cjs/six-textarea.entry.cjs.js.map +1 -1
  100. package/dist/cjs/six-tile.cjs.entry.js +1 -1
  101. package/dist/cjs/six-timepicker.cjs.entry.js +1 -1
  102. package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
  103. package/dist/cjs/six-timepicker.entry.cjs.js.map +1 -1
  104. package/dist/cjs/six-tooltip.cjs.entry.js +1 -1
  105. package/dist/cjs/ui-library.cjs.js +3 -3
  106. package/dist/cjs/ui-library.cjs.js.map +1 -1
  107. package/dist/collection/collection-manifest.json +3 -3
  108. package/dist/collection/components/six-alert/six-alert.js +4 -4
  109. package/dist/collection/components/six-avatar/six-avatar.js +6 -6
  110. package/dist/collection/components/six-badge/six-badge.js +5 -5
  111. package/dist/collection/components/six-button/six-button.js +16 -16
  112. package/dist/collection/components/six-card/six-card.js +1 -1
  113. package/dist/collection/components/six-checkbox/six-checkbox.js +12 -12
  114. package/dist/collection/components/six-date/iso-date.js +2 -2
  115. package/dist/collection/components/six-date/iso-date.js.map +1 -1
  116. package/dist/collection/components/six-date/six-date.js +42 -59
  117. package/dist/collection/components/six-date/six-date.js.map +1 -1
  118. package/dist/collection/components/six-datepicker/six-datepicker.js +27 -22
  119. package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
  120. package/dist/collection/components/six-details/six-details.js +11 -11
  121. package/dist/collection/components/six-dialog/six-dialog.js +26 -20
  122. package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
  123. package/dist/collection/components/six-drawer/six-drawer.js +28 -22
  124. package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
  125. package/dist/collection/components/six-dropdown/six-dropdown.js +21 -19
  126. package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
  127. package/dist/collection/components/six-error-page/six-error-page.js +5 -4
  128. package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
  129. package/dist/collection/components/six-file-list-item/six-file-list-item.js +8 -8
  130. package/dist/collection/components/six-file-upload/six-file-upload.js +23 -19
  131. package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
  132. package/dist/collection/components/six-group-label/six-group-label.js +5 -5
  133. package/dist/collection/components/six-header/six-header.js +2 -2
  134. package/dist/collection/components/six-header-dropdown-item/six-header-dropdown-item.js +2 -2
  135. package/dist/collection/components/six-header-item/six-header-item.js +1 -1
  136. package/dist/collection/components/six-header-menu-button/six-header-menu-button.js +5 -5
  137. package/dist/collection/components/six-icon/six-icon.js +2 -2
  138. package/dist/collection/components/six-icon-button/six-icon-button.js +8 -8
  139. package/dist/collection/components/six-input/six-input.js +33 -33
  140. package/dist/collection/components/six-item-picker/six-item-picker.js +14 -13
  141. package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
  142. package/dist/collection/components/six-language-switcher/six-language-switcher.js +3 -2
  143. package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
  144. package/dist/collection/components/six-layout-grid/six-layout-grid.js +1 -1
  145. package/dist/collection/components/six-logo/six-logo.js +1 -1
  146. package/dist/collection/components/six-main-container/six-main-container.js +1 -1
  147. package/dist/collection/components/six-menu/six-menu.js +9 -8
  148. package/dist/collection/components/six-menu/six-menu.js.map +1 -1
  149. package/dist/collection/components/six-menu-item/six-menu-item.js +4 -4
  150. package/dist/collection/components/six-picto/six-picto.css +1193 -0
  151. package/dist/collection/components/six-picto/six-picto.js +6 -27
  152. package/dist/collection/components/six-picto/six-picto.js.map +1 -1
  153. package/dist/collection/components/six-progress-bar/six-progress-bar.js +2 -2
  154. package/dist/collection/components/six-progress-ring/six-progress-ring.js +3 -3
  155. package/dist/collection/components/six-radio/six-radio.js +5 -5
  156. package/dist/collection/components/six-range/six-range.js +14 -13
  157. package/dist/collection/components/six-range/six-range.js.map +1 -1
  158. package/dist/collection/components/six-root/six-root.js +3 -3
  159. package/dist/collection/components/six-search-field/six-search-field.js +6 -6
  160. package/dist/collection/components/six-select/six-select.js +42 -33
  161. package/dist/collection/components/six-select/six-select.js.map +1 -1
  162. package/dist/collection/components/six-sidebar/six-sidebar.js +4 -4
  163. package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +5 -5
  164. package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +6 -6
  165. package/dist/collection/components/six-spinner/six-spinner.js +2 -2
  166. package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +1 -1
  167. package/dist/collection/components/six-switch/six-switch.js +9 -9
  168. package/dist/collection/components/six-tab/six-tab.js +4 -4
  169. package/dist/collection/components/six-tab-group/six-tab-group.js +4 -4
  170. package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
  171. package/dist/collection/components/six-tab-panel/six-tab-panel.js +2 -2
  172. package/dist/collection/components/six-tag/six-tag.js +4 -4
  173. package/dist/collection/components/six-textarea/six-textarea.js +22 -22
  174. package/dist/collection/components/six-tile/six-tile.js +7 -7
  175. package/dist/collection/components/six-timepicker/six-timepicker.js +23 -23
  176. package/dist/collection/components/six-tooltip/six-tooltip.js +7 -7
  177. package/dist/collection/functional-components/form-control/form-control.js +2 -2
  178. package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
  179. package/dist/collection/utils/animation.js +13 -0
  180. package/dist/collection/utils/animation.js.map +1 -1
  181. package/dist/components/index.js +1 -1
  182. package/dist/components/{p-C733XVqS.js → p-7eUoSVPj.js} +7 -7
  183. package/dist/components/{p-C733XVqS.js.map → p-7eUoSVPj.js.map} +1 -1
  184. package/dist/components/{p-DAOD-npI.js → p-B-XztaHV.js} +6 -6
  185. package/dist/components/{p-DAOD-npI.js.map → p-B-XztaHV.js.map} +1 -1
  186. package/dist/components/{p-C4Shm3wX.js → p-Bl7vxyI3.js} +7 -7
  187. package/dist/components/p-Bl7vxyI3.js.map +1 -0
  188. package/dist/components/{p-Cc_nfyAl.js → p-BmW8cpEG.js} +5 -5
  189. package/dist/components/p-BmW8cpEG.js.map +1 -0
  190. package/dist/components/{p-BAe7gBEi.js → p-BtF2Ym6T.js} +38 -8
  191. package/dist/components/p-BtF2Ym6T.js.map +1 -0
  192. package/dist/components/{p-ByetrMwd.js → p-BtNjuUha.js} +6 -6
  193. package/dist/components/p-BtNjuUha.js.map +1 -0
  194. package/dist/components/{p-BFrSuO7n.js → p-BxWEEwNO.js} +9 -9
  195. package/dist/components/p-BxWEEwNO.js.map +1 -0
  196. package/dist/components/{p-ltzGzaAu.js → p-CKhg9ibv.js} +3 -3
  197. package/dist/components/{p-ltzGzaAu.js.map → p-CKhg9ibv.js.map} +1 -1
  198. package/dist/components/{p-DYN2qwe6.js → p-CLtU4Br-.js} +4 -4
  199. package/dist/components/{p-DYN2qwe6.js.map → p-CLtU4Br-.js.map} +1 -1
  200. package/dist/components/{p-DwZ0ygip.js → p-CNVkBlqA.js} +16 -16
  201. package/dist/components/p-CNVkBlqA.js.map +1 -0
  202. package/dist/components/{p-g7aZB0FM.js → p-CYrYPnLQ.js} +3 -3
  203. package/dist/components/{p-g7aZB0FM.js.map → p-CYrYPnLQ.js.map} +1 -1
  204. package/dist/components/{p-B72cH-mu.js → p-CpcN3YG9.js} +5 -5
  205. package/dist/components/{p-B72cH-mu.js.map → p-CpcN3YG9.js.map} +1 -1
  206. package/dist/components/{p-su5lTFPV.js → p-Cr6sHYme.js} +3 -3
  207. package/dist/components/{p-su5lTFPV.js.map → p-Cr6sHYme.js.map} +1 -1
  208. package/dist/components/{p-Ce-a0l4Q.js → p-D0dsFLio.js} +8 -8
  209. package/dist/components/{p-Ce-a0l4Q.js.map → p-D0dsFLio.js.map} +1 -1
  210. package/dist/components/{p-BPj4WRz2.js → p-DV46ui1Q.js} +3 -3
  211. package/dist/components/{p-BPj4WRz2.js.map → p-DV46ui1Q.js.map} +1 -1
  212. package/dist/components/p-DXhOme6Y.js +45 -0
  213. package/dist/components/p-DXhOme6Y.js.map +1 -0
  214. package/dist/components/{p-Bga8smgq.js → p-Mse5vRUS.js} +3 -3
  215. package/dist/components/{p-Bga8smgq.js.map → p-Mse5vRUS.js.map} +1 -1
  216. package/dist/components/p-SLlDVtvF.js +51 -0
  217. package/dist/components/p-SLlDVtvF.js.map +1 -0
  218. package/dist/components/{p-CS9Rg27-.js → p-eW-dQ-wI.js} +4 -4
  219. package/dist/components/{p-CS9Rg27-.js.map → p-eW-dQ-wI.js.map} +1 -1
  220. package/dist/components/{p-BUw6MZZI.js → p-mLQ66WNK.js} +10 -10
  221. package/dist/components/{p-BUw6MZZI.js.map → p-mLQ66WNK.js.map} +1 -1
  222. package/dist/components/six-alert.js +3 -3
  223. package/dist/components/six-alert.js.map +1 -1
  224. package/dist/components/six-avatar.js +4 -4
  225. package/dist/components/six-badge.js +3 -3
  226. package/dist/components/six-button.js +1 -1
  227. package/dist/components/six-card.js +2 -2
  228. package/dist/components/six-checkbox.js +1 -1
  229. package/dist/components/six-date.js +29 -28
  230. package/dist/components/six-date.js.map +1 -1
  231. package/dist/components/six-datepicker.js +9 -9
  232. package/dist/components/six-datepicker.js.map +1 -1
  233. package/dist/components/six-details.js +1 -1
  234. package/dist/components/six-dialog.js +18 -12
  235. package/dist/components/six-dialog.js.map +1 -1
  236. package/dist/components/six-drawer.js +18 -12
  237. package/dist/components/six-drawer.js.map +1 -1
  238. package/dist/components/six-dropdown.js +1 -1
  239. package/dist/components/six-error-page.js +3 -3
  240. package/dist/components/six-error.js +1 -1
  241. package/dist/components/six-file-list-item.js +4 -4
  242. package/dist/components/six-file-list.js +1 -1
  243. package/dist/components/six-file-upload.js +17 -13
  244. package/dist/components/six-file-upload.js.map +1 -1
  245. package/dist/components/six-footer.js +1 -1
  246. package/dist/components/six-group-label.js +3 -3
  247. package/dist/components/six-header-dropdown-item.js +8 -8
  248. package/dist/components/six-header-item.js +1 -1
  249. package/dist/components/six-header-menu-button.js +3 -3
  250. package/dist/components/six-header.js +1 -1
  251. package/dist/components/six-header.js.map +1 -1
  252. package/dist/components/six-icon-button.js +1 -1
  253. package/dist/components/six-icon.js +1 -1
  254. package/dist/components/six-input.js +1 -1
  255. package/dist/components/six-item-picker.js +1 -1
  256. package/dist/components/six-language-switcher.js +2 -2
  257. package/dist/components/six-layout-grid.js +1 -1
  258. package/dist/components/six-logo.js +1 -1
  259. package/dist/components/six-main-container.js +1 -1
  260. package/dist/components/six-menu-divider.js +1 -1
  261. package/dist/components/six-menu-item.js +1 -1
  262. package/dist/components/six-menu-label.js +1 -1
  263. package/dist/components/six-menu.js +1 -1
  264. package/dist/components/six-picto.js +1 -1
  265. package/dist/components/six-progress-bar.js +1 -1
  266. package/dist/components/six-progress-bar.js.map +1 -1
  267. package/dist/components/six-progress-ring.js +1 -1
  268. package/dist/components/six-progress-ring.js.map +1 -1
  269. package/dist/components/six-radio.js +1 -1
  270. package/dist/components/six-radio.js.map +1 -1
  271. package/dist/components/six-range.js +4 -4
  272. package/dist/components/six-range.js.map +1 -1
  273. package/dist/components/six-root.js +3 -3
  274. package/dist/components/six-search-field.js +6 -6
  275. package/dist/components/six-select.js +29 -21
  276. package/dist/components/six-select.js.map +1 -1
  277. package/dist/components/six-sidebar-item-group.js +3 -3
  278. package/dist/components/six-sidebar-item.js +2 -2
  279. package/dist/components/six-sidebar.js +1 -1
  280. package/dist/components/six-spinner.js +1 -1
  281. package/dist/components/six-stage-indicator.js +1 -1
  282. package/dist/components/six-switch.js +3 -3
  283. package/dist/components/six-switch.js.map +1 -1
  284. package/dist/components/six-tab-group.js +6 -39
  285. package/dist/components/six-tab-group.js.map +1 -1
  286. package/dist/components/six-tab-panel.js +1 -1
  287. package/dist/components/six-tab.js +3 -3
  288. package/dist/components/six-tag.js +5 -5
  289. package/dist/components/six-textarea.js +3 -3
  290. package/dist/components/six-textarea.js.map +1 -1
  291. package/dist/components/six-tile.js +4 -4
  292. package/dist/components/six-timepicker.js +1 -1
  293. package/dist/components/six-tooltip.js +1 -1
  294. package/dist/components.json +50 -50
  295. package/dist/esm/animation-SLlDVtvF.js +51 -0
  296. package/dist/esm/animation-SLlDVtvF.js.map +1 -0
  297. package/dist/esm/{execution-control-ltzGzaAu.js → execution-control-CKhg9ibv.js} +3 -3
  298. package/dist/esm/{execution-control-ltzGzaAu.js.map → execution-control-CKhg9ibv.js.map} +1 -1
  299. package/dist/esm/{form-control-_dvMXnmg.js → form-control-D_uS8E6o.js} +5 -5
  300. package/dist/esm/form-control-D_uS8E6o.js.map +1 -0
  301. package/dist/esm/{index-BF09Gr5y.js → index-D0Go1Zjj.js} +38 -8
  302. package/dist/esm/index-D0Go1Zjj.js.map +1 -0
  303. package/dist/esm/loader.js +3 -3
  304. package/dist/esm/six-alert.entry.js +1 -1
  305. package/dist/esm/six-alert.entry.js.map +1 -1
  306. package/dist/esm/six-avatar.entry.js +3 -3
  307. package/dist/esm/six-badge.entry.js +3 -3
  308. package/dist/esm/six-button.entry.js +3 -3
  309. package/dist/esm/six-button.entry.js.map +1 -1
  310. package/dist/esm/six-card.entry.js +2 -2
  311. package/dist/esm/six-checkbox.six-menu-item.entry.js.map +1 -1
  312. package/dist/esm/six-checkbox_2.entry.js +4 -4
  313. package/dist/esm/six-checkbox_2.entry.js.map +1 -1
  314. package/dist/esm/six-date.entry.js +24 -22
  315. package/dist/esm/six-date.entry.js.map +1 -1
  316. package/dist/esm/six-datepicker.entry.js +2 -2
  317. package/dist/esm/six-datepicker.entry.js.map +1 -1
  318. package/dist/esm/six-details.entry.js +4 -4
  319. package/dist/esm/six-dialog.entry.js +16 -10
  320. package/dist/esm/six-dialog.entry.js.map +1 -1
  321. package/dist/esm/six-drawer.entry.js +16 -10
  322. package/dist/esm/six-drawer.entry.js.map +1 -1
  323. package/dist/esm/six-dropdown.six-menu.entry.js.map +1 -1
  324. package/dist/esm/six-dropdown_2.entry.js +9 -9
  325. package/dist/esm/six-dropdown_2.entry.js.map +1 -1
  326. package/dist/esm/six-error-page.entry.js +1 -1
  327. package/dist/esm/six-error.entry.js +1 -1
  328. package/dist/esm/six-file-list-item.entry.js +3 -3
  329. package/dist/esm/six-file-list.entry.js +1 -1
  330. package/dist/esm/six-file-upload.entry.js +14 -10
  331. package/dist/esm/six-file-upload.entry.js.map +1 -1
  332. package/dist/esm/six-footer.entry.js +1 -1
  333. package/dist/esm/six-group-label.entry.js +2 -2
  334. package/dist/esm/six-header-dropdown-item.entry.js +1 -1
  335. package/dist/esm/six-header-item.entry.js +1 -1
  336. package/dist/esm/six-header-menu-button.entry.js +1 -1
  337. package/dist/esm/six-header.entry.js +1 -1
  338. package/dist/esm/six-header.entry.js.map +1 -1
  339. package/dist/esm/six-icon-button.entry.js +1 -1
  340. package/dist/esm/six-icon.entry.js +1 -1
  341. package/dist/esm/six-input.entry.js +5 -5
  342. package/dist/esm/six-input.entry.js.map +1 -1
  343. package/dist/esm/six-item-picker.entry.js +2 -2
  344. package/dist/esm/six-language-switcher.entry.js +2 -2
  345. package/dist/esm/six-layout-grid.entry.js +1 -1
  346. package/dist/esm/six-logo.entry.js +1 -1
  347. package/dist/esm/six-main-container.entry.js +1 -1
  348. package/dist/esm/six-menu-divider.entry.js +1 -1
  349. package/dist/esm/six-menu-label.entry.js +1 -1
  350. package/dist/esm/six-picto.entry.js +7 -23
  351. package/dist/esm/six-picto.entry.js.map +1 -1
  352. package/dist/esm/six-progress-bar.entry.js +1 -1
  353. package/dist/esm/six-progress-bar.entry.js.map +1 -1
  354. package/dist/esm/six-progress-ring.entry.js +1 -1
  355. package/dist/esm/six-progress-ring.entry.js.map +1 -1
  356. package/dist/esm/six-radio.entry.js +1 -1
  357. package/dist/esm/six-radio.entry.js.map +1 -1
  358. package/dist/esm/six-range.entry.js +2 -2
  359. package/dist/esm/six-range.entry.js.map +1 -1
  360. package/dist/esm/six-root.entry.js +1 -1
  361. package/dist/esm/six-search-field.entry.js +3 -3
  362. package/dist/esm/six-select.entry.js +19 -11
  363. package/dist/esm/six-select.entry.js.map +1 -1
  364. package/dist/esm/six-sidebar-item-group.entry.js +1 -1
  365. package/dist/esm/six-sidebar-item.entry.js +1 -1
  366. package/dist/esm/six-sidebar.entry.js +1 -1
  367. package/dist/esm/six-spinner.entry.js +1 -1
  368. package/dist/esm/six-stage-indicator.entry.js +1 -1
  369. package/dist/esm/six-switch.entry.js +2 -2
  370. package/dist/esm/six-switch.entry.js.map +1 -1
  371. package/dist/esm/six-tab-group.entry.js +4 -37
  372. package/dist/esm/six-tab-group.entry.js.map +1 -1
  373. package/dist/esm/six-tab-panel.entry.js +1 -1
  374. package/dist/esm/six-tab.entry.js +1 -1
  375. package/dist/esm/six-tag.entry.js +2 -2
  376. package/dist/esm/six-textarea.entry.js +2 -2
  377. package/dist/esm/six-textarea.entry.js.map +1 -1
  378. package/dist/esm/six-tile.entry.js +1 -1
  379. package/dist/esm/six-timepicker.entry.js +2 -2
  380. package/dist/esm/six-timepicker.entry.js.map +1 -1
  381. package/dist/esm/six-tooltip.entry.js +1 -1
  382. package/dist/esm/ui-library.js +4 -4
  383. package/dist/esm/ui-library.js.map +1 -1
  384. package/dist/types/components/six-date/six-date.d.ts +9 -7
  385. package/dist/types/components/six-dialog/six-dialog.d.ts +10 -2
  386. package/dist/types/components/six-drawer/six-drawer.d.ts +10 -2
  387. package/dist/types/components/six-file-upload/six-file-upload.d.ts +2 -6
  388. package/dist/types/components/six-picto/six-picto.d.ts +0 -2
  389. package/dist/types/components/six-select/six-select.d.ts +1 -0
  390. package/dist/types/components.d.ts +16 -20
  391. package/dist/types/stencil-public-runtime.d.ts +2 -0
  392. package/dist/types/utils/animation.d.ts +4 -0
  393. package/dist/ui-library/{p-dfd0956a.entry.js → p-01306147.entry.js} +2 -2
  394. package/dist/ui-library/{p-2bac7418.entry.js → p-071ed780.entry.js} +2 -2
  395. package/dist/ui-library/p-071ed780.entry.js.map +1 -0
  396. package/dist/ui-library/{p-9656e941.entry.js → p-0d97e592.entry.js} +2 -2
  397. package/dist/ui-library/{p-e516182e.entry.js → p-16028bce.entry.js} +2 -2
  398. package/dist/ui-library/{p-041c4b5d.entry.js → p-19361e9b.entry.js} +2 -2
  399. package/dist/ui-library/{p-abe6f5c4.entry.js → p-1e4d1252.entry.js} +2 -2
  400. package/dist/ui-library/p-2992225b.entry.js +2 -0
  401. package/dist/ui-library/p-2992225b.entry.js.map +1 -0
  402. package/dist/ui-library/{p-33b2003b.entry.js → p-36a316e0.entry.js} +2 -2
  403. package/dist/ui-library/p-36a316e0.entry.js.map +1 -0
  404. package/dist/ui-library/{p-5003f61b.entry.js → p-394c1dc0.entry.js} +2 -2
  405. package/dist/ui-library/{p-d601b41b.entry.js → p-4a4a0751.entry.js} +2 -2
  406. package/dist/ui-library/{p-a4f39b82.entry.js → p-537a8953.entry.js} +2 -2
  407. package/dist/ui-library/p-5e5bd309.entry.js +2 -0
  408. package/dist/ui-library/p-5e5bd309.entry.js.map +1 -0
  409. package/dist/ui-library/{p-35ebd705.entry.js → p-5e70085d.entry.js} +2 -2
  410. package/dist/ui-library/{p-f1e48369.entry.js → p-5ed5842b.entry.js} +2 -2
  411. package/dist/ui-library/p-5ed5842b.entry.js.map +1 -0
  412. package/dist/ui-library/p-64377a4b.entry.js +2 -0
  413. package/dist/ui-library/p-64377a4b.entry.js.map +1 -0
  414. package/dist/ui-library/{p-fac22819.entry.js → p-679f1e08.entry.js} +2 -2
  415. package/dist/ui-library/p-679f1e08.entry.js.map +1 -0
  416. package/dist/ui-library/{p-7cdda567.entry.js → p-68c50fb7.entry.js} +2 -2
  417. package/dist/ui-library/p-68c50fb7.entry.js.map +1 -0
  418. package/dist/ui-library/{p-91511258.entry.js → p-695e450e.entry.js} +2 -2
  419. package/dist/ui-library/{p-bf10bd79.entry.js → p-6990e5ed.entry.js} +2 -2
  420. package/dist/ui-library/p-6a760300.entry.js +2 -0
  421. package/dist/ui-library/p-6a760300.entry.js.map +1 -0
  422. package/dist/ui-library/{p-4d714149.entry.js → p-6bb0b9e9.entry.js} +2 -2
  423. package/dist/ui-library/p-6bb0b9e9.entry.js.map +1 -0
  424. package/dist/ui-library/{p-8496e1cd.entry.js → p-6d212bc0.entry.js} +2 -2
  425. package/dist/ui-library/{p-eed32256.entry.js → p-73b64625.entry.js} +2 -2
  426. package/dist/ui-library/{p-220ffc25.entry.js → p-79a79513.entry.js} +2 -2
  427. package/dist/ui-library/p-79a79513.entry.js.map +1 -0
  428. package/dist/ui-library/p-7bdc9f95.entry.js +2 -0
  429. package/dist/ui-library/p-7bdc9f95.entry.js.map +1 -0
  430. package/dist/ui-library/{p-367d2873.entry.js → p-7c438e21.entry.js} +2 -2
  431. package/dist/ui-library/{p-c72c0d32.entry.js → p-7d2f5f44.entry.js} +2 -2
  432. package/dist/ui-library/{p-03ac847d.entry.js → p-81af96f2.entry.js} +2 -2
  433. package/dist/ui-library/{p-2db80aaf.entry.js → p-830ed202.entry.js} +2 -2
  434. package/dist/ui-library/{p-a747beba.entry.js → p-84964501.entry.js} +2 -2
  435. package/dist/ui-library/{p-4e183258.entry.js → p-85dbcfb5.entry.js} +2 -2
  436. package/dist/ui-library/p-85dbcfb5.entry.js.map +1 -0
  437. package/dist/ui-library/{p-9deb70a3.entry.js → p-868fab98.entry.js} +2 -2
  438. package/dist/ui-library/{p-07dbfe1d.entry.js → p-8fe7ecdd.entry.js} +2 -2
  439. package/dist/ui-library/{p-15d09aea.entry.js → p-95182417.entry.js} +2 -2
  440. package/dist/ui-library/p-95182417.entry.js.map +1 -0
  441. package/dist/ui-library/{p-8e5b7dbb.entry.js → p-9713ecff.entry.js} +2 -2
  442. package/dist/ui-library/p-9713ecff.entry.js.map +1 -0
  443. package/dist/ui-library/p-97b78889.entry.js +2 -0
  444. package/dist/ui-library/p-97b78889.entry.js.map +1 -0
  445. package/dist/ui-library/{p-d9224c76.entry.js → p-9b1c8a24.entry.js} +2 -2
  446. package/dist/ui-library/p-9b1c8a24.entry.js.map +1 -0
  447. package/dist/ui-library/p-9e8fdf44.entry.js +2 -0
  448. package/dist/ui-library/p-9e8fdf44.entry.js.map +1 -0
  449. package/dist/ui-library/{p-080bf19c.entry.js → p-9f0ed997.entry.js} +2 -2
  450. package/dist/ui-library/{p-696590b3.entry.js → p-9f77ae55.entry.js} +2 -2
  451. package/dist/ui-library/{p-ltzGzaAu.js → p-CKhg9ibv.js} +2 -2
  452. package/dist/ui-library/{p-ltzGzaAu.js.map → p-CKhg9ibv.js.map} +1 -1
  453. package/dist/ui-library/p-D0Go1Zjj.js +3 -0
  454. package/dist/ui-library/p-D0Go1Zjj.js.map +1 -0
  455. package/dist/ui-library/p-IBmarOIS.js +2 -0
  456. package/dist/ui-library/p-IBmarOIS.js.map +1 -0
  457. package/dist/ui-library/p-SLlDVtvF.js +2 -0
  458. package/dist/ui-library/p-SLlDVtvF.js.map +1 -0
  459. package/dist/ui-library/{p-0f7aff92.entry.js → p-a534a4bc.entry.js} +2 -2
  460. package/dist/ui-library/{p-7722c3c9.entry.js → p-b8db5638.entry.js} +2 -2
  461. package/dist/ui-library/{p-e2460554.entry.js → p-ba68b30c.entry.js} +2 -2
  462. package/dist/ui-library/{p-f22b0f49.entry.js → p-baf698e1.entry.js} +2 -2
  463. package/dist/ui-library/{p-6183f4c8.entry.js → p-c2ec443c.entry.js} +2 -2
  464. package/dist/ui-library/{p-894dd0f7.entry.js → p-cc44af70.entry.js} +2 -2
  465. package/dist/ui-library/p-cc44af70.entry.js.map +1 -0
  466. package/dist/ui-library/{p-3aeff13e.entry.js → p-d1bd67af.entry.js} +2 -2
  467. package/dist/ui-library/{p-83806640.entry.js → p-d7866617.entry.js} +2 -2
  468. package/dist/ui-library/p-d7866617.entry.js.map +1 -0
  469. package/dist/ui-library/p-d9640c45.entry.js +2 -0
  470. package/dist/ui-library/p-d9640c45.entry.js.map +1 -0
  471. package/dist/ui-library/{p-314df297.entry.js → p-df05b23b.entry.js} +2 -2
  472. package/dist/ui-library/{p-16fefaf7.entry.js → p-e91aa04b.entry.js} +2 -2
  473. package/dist/ui-library/{p-dc9badb8.entry.js → p-f0f73eef.entry.js} +2 -2
  474. package/dist/ui-library/p-f38c1d23.entry.js +2 -0
  475. package/dist/ui-library/{p-f8dccfa9.entry.js → p-f4e2ddfc.entry.js} +2 -2
  476. package/dist/ui-library/{p-9a7aa0d7.entry.js → p-f585a5ab.entry.js} +2 -2
  477. package/dist/ui-library/six-alert.entry.esm.js.map +1 -1
  478. package/dist/ui-library/six-button.entry.esm.js.map +1 -1
  479. package/dist/ui-library/six-checkbox.six-menu-item.entry.esm.js.map +1 -1
  480. package/dist/ui-library/six-date.entry.esm.js.map +1 -1
  481. package/dist/ui-library/six-datepicker.entry.esm.js.map +1 -1
  482. package/dist/ui-library/six-dialog.entry.esm.js.map +1 -1
  483. package/dist/ui-library/six-drawer.entry.esm.js.map +1 -1
  484. package/dist/ui-library/six-dropdown.six-menu.entry.esm.js.map +1 -1
  485. package/dist/ui-library/six-file-upload.entry.esm.js.map +1 -1
  486. package/dist/ui-library/six-header.entry.esm.js.map +1 -1
  487. package/dist/ui-library/six-input.entry.esm.js.map +1 -1
  488. package/dist/ui-library/six-picto.entry.esm.js.map +1 -1
  489. package/dist/ui-library/six-progress-bar.entry.esm.js.map +1 -1
  490. package/dist/ui-library/six-progress-ring.entry.esm.js.map +1 -1
  491. package/dist/ui-library/six-radio.entry.esm.js.map +1 -1
  492. package/dist/ui-library/six-range.entry.esm.js.map +1 -1
  493. package/dist/ui-library/six-select.entry.esm.js.map +1 -1
  494. package/dist/ui-library/six-switch.entry.esm.js.map +1 -1
  495. package/dist/ui-library/six-tab-group.entry.esm.js.map +1 -1
  496. package/dist/ui-library/six-textarea.entry.esm.js.map +1 -1
  497. package/dist/ui-library/six-timepicker.entry.esm.js.map +1 -1
  498. package/dist/ui-library/ui-library.esm.js +1 -1
  499. package/dist/ui-library/ui-library.esm.js.map +1 -1
  500. package/package.json +7 -6
  501. package/dist/cjs/form-control-BHd-Z4ot.js.map +0 -1
  502. package/dist/cjs/index-B_stPhJp.js.map +0 -1
  503. package/dist/collection/assets/pictograms/TPP.svg +0 -1
  504. package/dist/collection/assets/pictograms/agile.svg +0 -1
  505. package/dist/collection/assets/pictograms/ai.svg +0 -1
  506. package/dist/collection/assets/pictograms/airplane.svg +0 -1
  507. package/dist/collection/assets/pictograms/alert.svg +0 -1
  508. package/dist/collection/assets/pictograms/ambulance.svg +0 -1
  509. package/dist/collection/assets/pictograms/analyse.svg +0 -1
  510. package/dist/collection/assets/pictograms/anchor.svg +0 -1
  511. package/dist/collection/assets/pictograms/apple.svg +0 -1
  512. package/dist/collection/assets/pictograms/arrow-down.svg +0 -1
  513. package/dist/collection/assets/pictograms/arrow-right.svg +0 -1
  514. package/dist/collection/assets/pictograms/arrow-up.svg +0 -1
  515. package/dist/collection/assets/pictograms/astronaut-outline.svg +0 -1
  516. package/dist/collection/assets/pictograms/augmented-reality.svg +0 -1
  517. package/dist/collection/assets/pictograms/backoffice.svg +0 -1
  518. package/dist/collection/assets/pictograms/bank.svg +0 -1
  519. package/dist/collection/assets/pictograms/banknote.svg +0 -1
  520. package/dist/collection/assets/pictograms/barcode.svg +0 -1
  521. package/dist/collection/assets/pictograms/battery.svg +0 -1
  522. package/dist/collection/assets/pictograms/beacon.svg +0 -1
  523. package/dist/collection/assets/pictograms/beat.svg +0 -1
  524. package/dist/collection/assets/pictograms/bee.svg +0 -1
  525. package/dist/collection/assets/pictograms/bell.svg +0 -1
  526. package/dist/collection/assets/pictograms/berlin.svg +0 -1
  527. package/dist/collection/assets/pictograms/big-data.svg +0 -1
  528. package/dist/collection/assets/pictograms/bilateral.svg +0 -1
  529. package/dist/collection/assets/pictograms/bill.svg +0 -1
  530. package/dist/collection/assets/pictograms/binoculars.svg +0 -1
  531. package/dist/collection/assets/pictograms/block.svg +0 -1
  532. package/dist/collection/assets/pictograms/blockchain.svg +0 -1
  533. package/dist/collection/assets/pictograms/bluetooth.svg +0 -1
  534. package/dist/collection/assets/pictograms/bone.svg +0 -1
  535. package/dist/collection/assets/pictograms/book.svg +0 -1
  536. package/dist/collection/assets/pictograms/bottle.svg +0 -1
  537. package/dist/collection/assets/pictograms/buggy.svg +0 -1
  538. package/dist/collection/assets/pictograms/bull-bear.svg +0 -1
  539. package/dist/collection/assets/pictograms/business.svg +0 -1
  540. package/dist/collection/assets/pictograms/cake.svg +0 -1
  541. package/dist/collection/assets/pictograms/calculator.svg +0 -1
  542. package/dist/collection/assets/pictograms/calendar.svg +0 -1
  543. package/dist/collection/assets/pictograms/cam.svg +0 -1
  544. package/dist/collection/assets/pictograms/cap.svg +0 -1
  545. package/dist/collection/assets/pictograms/capsule.svg +0 -1
  546. package/dist/collection/assets/pictograms/car.svg +0 -1
  547. package/dist/collection/assets/pictograms/carabiner.svg +0 -1
  548. package/dist/collection/assets/pictograms/card.svg +0 -1
  549. package/dist/collection/assets/pictograms/cash-machine.svg +0 -1
  550. package/dist/collection/assets/pictograms/cash-register.svg +0 -1
  551. package/dist/collection/assets/pictograms/cash.svg +0 -1
  552. package/dist/collection/assets/pictograms/cashless.svg +0 -1
  553. package/dist/collection/assets/pictograms/check.svg +0 -1
  554. package/dist/collection/assets/pictograms/cheveron-right.svg +0 -1
  555. package/dist/collection/assets/pictograms/chf-eur.svg +0 -1
  556. package/dist/collection/assets/pictograms/cleaning.svg +0 -1
  557. package/dist/collection/assets/pictograms/click-collect.svg +0 -1
  558. package/dist/collection/assets/pictograms/click-return.svg +0 -1
  559. package/dist/collection/assets/pictograms/client-receipt.svg +0 -1
  560. package/dist/collection/assets/pictograms/clientesyusuarios.svg +0 -1
  561. package/dist/collection/assets/pictograms/clock.svg +0 -1
  562. package/dist/collection/assets/pictograms/cloud.svg +0 -1
  563. package/dist/collection/assets/pictograms/coffee.svg +0 -1
  564. package/dist/collection/assets/pictograms/coins.svg +0 -1
  565. package/dist/collection/assets/pictograms/configuracion-de-servicio.svg +0 -1
  566. package/dist/collection/assets/pictograms/connectivity.svg +0 -1
  567. package/dist/collection/assets/pictograms/contactless.svg +0 -1
  568. package/dist/collection/assets/pictograms/copy.svg +0 -1
  569. package/dist/collection/assets/pictograms/cornet.svg +0 -1
  570. package/dist/collection/assets/pictograms/cost-reduction.svg +0 -1
  571. package/dist/collection/assets/pictograms/coupon.svg +0 -1
  572. package/dist/collection/assets/pictograms/croissant.svg +0 -1
  573. package/dist/collection/assets/pictograms/crowdfunding.svg +0 -1
  574. package/dist/collection/assets/pictograms/crown.svg +0 -1
  575. package/dist/collection/assets/pictograms/cryptocurrency.svg +0 -1
  576. package/dist/collection/assets/pictograms/crystal-ball.svg +0 -1
  577. package/dist/collection/assets/pictograms/cup.svg +0 -1
  578. package/dist/collection/assets/pictograms/cupcake.svg +0 -1
  579. package/dist/collection/assets/pictograms/currency.svg +0 -1
  580. package/dist/collection/assets/pictograms/cyber-security.svg +0 -1
  581. package/dist/collection/assets/pictograms/data-mapping.svg +0 -1
  582. package/dist/collection/assets/pictograms/desktop.svg +0 -1
  583. package/dist/collection/assets/pictograms/diamond.svg +0 -1
  584. package/dist/collection/assets/pictograms/disc.svg +0 -1
  585. package/dist/collection/assets/pictograms/diversify.svg +0 -1
  586. package/dist/collection/assets/pictograms/dna.svg +0 -1
  587. package/dist/collection/assets/pictograms/dog.svg +0 -1
  588. package/dist/collection/assets/pictograms/download.svg +0 -1
  589. package/dist/collection/assets/pictograms/drop-zone.svg +0 -1
  590. package/dist/collection/assets/pictograms/drop.svg +0 -1
  591. package/dist/collection/assets/pictograms/dumbbell.svg +0 -1
  592. package/dist/collection/assets/pictograms/dws.svg +0 -1
  593. package/dist/collection/assets/pictograms/ear.svg +0 -1
  594. package/dist/collection/assets/pictograms/ecommerce.svg +0 -1
  595. package/dist/collection/assets/pictograms/ethernet.svg +0 -1
  596. package/dist/collection/assets/pictograms/eur-dollar.svg +0 -1
  597. package/dist/collection/assets/pictograms/exchange.svg +0 -1
  598. package/dist/collection/assets/pictograms/exclamation.svg +0 -1
  599. package/dist/collection/assets/pictograms/external-link.svg +0 -1
  600. package/dist/collection/assets/pictograms/extinguisher.svg +0 -1
  601. package/dist/collection/assets/pictograms/factory.svg +0 -1
  602. package/dist/collection/assets/pictograms/fax.svg +0 -1
  603. package/dist/collection/assets/pictograms/fence.svg +0 -1
  604. package/dist/collection/assets/pictograms/file-text.svg +0 -1
  605. package/dist/collection/assets/pictograms/file.svg +0 -1
  606. package/dist/collection/assets/pictograms/find-in-page.svg +0 -1
  607. package/dist/collection/assets/pictograms/fingerprint.svg +0 -1
  608. package/dist/collection/assets/pictograms/flag.svg +0 -1
  609. package/dist/collection/assets/pictograms/flash.svg +0 -1
  610. package/dist/collection/assets/pictograms/flexibility.svg +0 -1
  611. package/dist/collection/assets/pictograms/flipchart.svg +0 -1
  612. package/dist/collection/assets/pictograms/flower.svg +0 -1
  613. package/dist/collection/assets/pictograms/focus.svg +0 -1
  614. package/dist/collection/assets/pictograms/foreign-exchange.svg +0 -1
  615. package/dist/collection/assets/pictograms/fraud-free.svg +0 -1
  616. package/dist/collection/assets/pictograms/funnel.svg +0 -1
  617. package/dist/collection/assets/pictograms/gamepad.svg +0 -1
  618. package/dist/collection/assets/pictograms/gears.svg +0 -1
  619. package/dist/collection/assets/pictograms/generic.svg +0 -1
  620. package/dist/collection/assets/pictograms/genie.svg +0 -1
  621. package/dist/collection/assets/pictograms/gestion-de-fallidos.svg +0 -1
  622. package/dist/collection/assets/pictograms/gestion-de-instrucciones.svg +0 -1
  623. package/dist/collection/assets/pictograms/gestion-de-pago.svg +0 -1
  624. package/dist/collection/assets/pictograms/gift.svg +0 -1
  625. package/dist/collection/assets/pictograms/giftcard.svg +0 -1
  626. package/dist/collection/assets/pictograms/glass.svg +0 -1
  627. package/dist/collection/assets/pictograms/glasses.svg +0 -1
  628. package/dist/collection/assets/pictograms/global.svg +0 -1
  629. package/dist/collection/assets/pictograms/gprs-lan.svg +0 -1
  630. package/dist/collection/assets/pictograms/gprs.svg +0 -1
  631. package/dist/collection/assets/pictograms/guide.svg +0 -1
  632. package/dist/collection/assets/pictograms/hacker-security.svg +0 -1
  633. package/dist/collection/assets/pictograms/hand.svg +0 -1
  634. package/dist/collection/assets/pictograms/handshake.svg +0 -1
  635. package/dist/collection/assets/pictograms/happy.svg +0 -1
  636. package/dist/collection/assets/pictograms/hashtag.svg +0 -1
  637. package/dist/collection/assets/pictograms/headphones.svg +0 -1
  638. package/dist/collection/assets/pictograms/heart.svg +0 -1
  639. package/dist/collection/assets/pictograms/home.svg +0 -1
  640. package/dist/collection/assets/pictograms/identity-management.svg +0 -1
  641. package/dist/collection/assets/pictograms/info.svg +0 -1
  642. package/dist/collection/assets/pictograms/international-connectivity.svg +0 -1
  643. package/dist/collection/assets/pictograms/iot.svg +0 -1
  644. package/dist/collection/assets/pictograms/key.svg +0 -1
  645. package/dist/collection/assets/pictograms/lab.svg +0 -1
  646. package/dist/collection/assets/pictograms/labyrinth.svg +0 -1
  647. package/dist/collection/assets/pictograms/laptop-outline.svg +0 -1
  648. package/dist/collection/assets/pictograms/leaf.svg +0 -1
  649. package/dist/collection/assets/pictograms/lightbulb.svg +0 -1
  650. package/dist/collection/assets/pictograms/lighthouse.svg +0 -1
  651. package/dist/collection/assets/pictograms/like.svg +0 -1
  652. package/dist/collection/assets/pictograms/lines.svg +0 -1
  653. package/dist/collection/assets/pictograms/liquid.svg +0 -1
  654. package/dist/collection/assets/pictograms/lock.svg +0 -1
  655. package/dist/collection/assets/pictograms/london.svg +0 -1
  656. package/dist/collection/assets/pictograms/lounge.svg +0 -1
  657. package/dist/collection/assets/pictograms/lunch-learn.svg +0 -1
  658. package/dist/collection/assets/pictograms/machine-learning.svg +0 -1
  659. package/dist/collection/assets/pictograms/mail-copy.svg +0 -1
  660. package/dist/collection/assets/pictograms/mail.svg +0 -1
  661. package/dist/collection/assets/pictograms/map-marker.svg +0 -1
  662. package/dist/collection/assets/pictograms/map.svg +0 -1
  663. package/dist/collection/assets/pictograms/markets.svg +0 -1
  664. package/dist/collection/assets/pictograms/megaphone.svg +0 -1
  665. package/dist/collection/assets/pictograms/menu.svg +0 -1
  666. package/dist/collection/assets/pictograms/micro-payments.svg +0 -1
  667. package/dist/collection/assets/pictograms/microphone.svg +0 -1
  668. package/dist/collection/assets/pictograms/minus.svg +0 -1
  669. package/dist/collection/assets/pictograms/mobile-payment.svg +0 -1
  670. package/dist/collection/assets/pictograms/mobile-terminal.svg +0 -1
  671. package/dist/collection/assets/pictograms/monitoring.svg +0 -1
  672. package/dist/collection/assets/pictograms/more.svg +0 -1
  673. package/dist/collection/assets/pictograms/mountain.svg +0 -1
  674. package/dist/collection/assets/pictograms/movie-camera.svg +0 -1
  675. package/dist/collection/assets/pictograms/navigation.svg +0 -1
  676. package/dist/collection/assets/pictograms/no-smoking.svg +0 -1
  677. package/dist/collection/assets/pictograms/office.svg +0 -1
  678. package/dist/collection/assets/pictograms/outsorcing.svg +0 -1
  679. package/dist/collection/assets/pictograms/package.svg +0 -1
  680. package/dist/collection/assets/pictograms/paddle.svg +0 -1
  681. package/dist/collection/assets/pictograms/paninoteca.svg +0 -1
  682. package/dist/collection/assets/pictograms/paragraph.svg +0 -1
  683. package/dist/collection/assets/pictograms/paris.svg +0 -1
  684. package/dist/collection/assets/pictograms/parking.svg +0 -1
  685. package/dist/collection/assets/pictograms/pause.svg +0 -1
  686. package/dist/collection/assets/pictograms/pay-points.svg +0 -1
  687. package/dist/collection/assets/pictograms/pencil.svg +0 -1
  688. package/dist/collection/assets/pictograms/person-business.svg +0 -1
  689. package/dist/collection/assets/pictograms/person-callcenter.svg +0 -1
  690. package/dist/collection/assets/pictograms/person-client.svg +0 -1
  691. package/dist/collection/assets/pictograms/person-group.svg +0 -1
  692. package/dist/collection/assets/pictograms/person.svg +0 -1
  693. package/dist/collection/assets/pictograms/pet.svg +0 -1
  694. package/dist/collection/assets/pictograms/piechart.svg +0 -1
  695. package/dist/collection/assets/pictograms/pig.svg +0 -1
  696. package/dist/collection/assets/pictograms/piggy-bank.svg +0 -1
  697. package/dist/collection/assets/pictograms/planet.svg +0 -1
  698. package/dist/collection/assets/pictograms/play.svg +0 -1
  699. package/dist/collection/assets/pictograms/plus.svg +0 -1
  700. package/dist/collection/assets/pictograms/popsicle.svg +0 -1
  701. package/dist/collection/assets/pictograms/printer.svg +0 -1
  702. package/dist/collection/assets/pictograms/privacy.svg +0 -1
  703. package/dist/collection/assets/pictograms/process.svg +0 -1
  704. package/dist/collection/assets/pictograms/projector.svg +0 -1
  705. package/dist/collection/assets/pictograms/psp.svg +0 -1
  706. package/dist/collection/assets/pictograms/punch-card.svg +0 -1
  707. package/dist/collection/assets/pictograms/puzzle.svg +0 -1
  708. package/dist/collection/assets/pictograms/qr-scanner.svg +0 -1
  709. package/dist/collection/assets/pictograms/qr.svg +0 -1
  710. package/dist/collection/assets/pictograms/question.svg +0 -1
  711. package/dist/collection/assets/pictograms/rabbit.svg +0 -1
  712. package/dist/collection/assets/pictograms/rain.svg +0 -1
  713. package/dist/collection/assets/pictograms/realtime.svg +0 -1
  714. package/dist/collection/assets/pictograms/recurring-payments.svg +0 -1
  715. package/dist/collection/assets/pictograms/relaxing.svg +0 -1
  716. package/dist/collection/assets/pictograms/reporting.svg +0 -1
  717. package/dist/collection/assets/pictograms/responsive-design.svg +0 -1
  718. package/dist/collection/assets/pictograms/robo-advisor.svg +0 -1
  719. package/dist/collection/assets/pictograms/robotics.svg +0 -1
  720. package/dist/collection/assets/pictograms/rock.svg +0 -1
  721. package/dist/collection/assets/pictograms/rocket.svg +0 -1
  722. package/dist/collection/assets/pictograms/rss.svg +0 -1
  723. package/dist/collection/assets/pictograms/sad.svg +0 -1
  724. package/dist/collection/assets/pictograms/sailboat.svg +0 -1
  725. package/dist/collection/assets/pictograms/scales.svg +0 -1
  726. package/dist/collection/assets/pictograms/screen.svg +0 -1
  727. package/dist/collection/assets/pictograms/seal.svg +0 -1
  728. package/dist/collection/assets/pictograms/search.svg +0 -1
  729. package/dist/collection/assets/pictograms/sentiment-dissatisfied.svg +0 -1
  730. package/dist/collection/assets/pictograms/server.svg +0 -1
  731. package/dist/collection/assets/pictograms/service-center.svg +0 -1
  732. package/dist/collection/assets/pictograms/sextant.svg +0 -1
  733. package/dist/collection/assets/pictograms/share.svg +0 -1
  734. package/dist/collection/assets/pictograms/shield.svg +0 -1
  735. package/dist/collection/assets/pictograms/shop.svg +0 -1
  736. package/dist/collection/assets/pictograms/shopping-cart-chf.svg +0 -1
  737. package/dist/collection/assets/pictograms/shopping-cart-download.svg +0 -1
  738. package/dist/collection/assets/pictograms/shopping-cart.svg +0 -1
  739. package/dist/collection/assets/pictograms/signal.svg +0 -1
  740. package/dist/collection/assets/pictograms/simple-integration.svg +0 -1
  741. package/dist/collection/assets/pictograms/skull.svg +0 -1
  742. package/dist/collection/assets/pictograms/smoking.svg +0 -1
  743. package/dist/collection/assets/pictograms/snow.svg +0 -1
  744. package/dist/collection/assets/pictograms/snowflake.svg +0 -1
  745. package/dist/collection/assets/pictograms/snowman.svg +0 -1
  746. package/dist/collection/assets/pictograms/soc.svg +0 -1
  747. package/dist/collection/assets/pictograms/social-days.svg +0 -1
  748. package/dist/collection/assets/pictograms/social-trading.svg +0 -1
  749. package/dist/collection/assets/pictograms/softwarepackage.svg +0 -1
  750. package/dist/collection/assets/pictograms/sound.svg +0 -1
  751. package/dist/collection/assets/pictograms/speechbubble.svg +0 -1
  752. package/dist/collection/assets/pictograms/spirit.svg +0 -1
  753. package/dist/collection/assets/pictograms/split.svg +0 -1
  754. package/dist/collection/assets/pictograms/stability.svg +0 -1
  755. package/dist/collection/assets/pictograms/stairs.svg +0 -1
  756. package/dist/collection/assets/pictograms/star.svg +0 -1
  757. package/dist/collection/assets/pictograms/statistic.svg +0 -1
  758. package/dist/collection/assets/pictograms/stock.svg +0 -1
  759. package/dist/collection/assets/pictograms/stocks.svg +0 -1
  760. package/dist/collection/assets/pictograms/stop.svg +0 -1
  761. package/dist/collection/assets/pictograms/stopwatch.svg +0 -1
  762. package/dist/collection/assets/pictograms/storage.svg +0 -1
  763. package/dist/collection/assets/pictograms/success.svg +0 -1
  764. package/dist/collection/assets/pictograms/suitcase.svg +0 -1
  765. package/dist/collection/assets/pictograms/sun.svg +0 -1
  766. package/dist/collection/assets/pictograms/surveillance.svg +0 -1
  767. package/dist/collection/assets/pictograms/swiss.svg +0 -1
  768. package/dist/collection/assets/pictograms/tablet.svg +0 -1
  769. package/dist/collection/assets/pictograms/tachometer.svg +0 -1
  770. package/dist/collection/assets/pictograms/target.svg +0 -1
  771. package/dist/collection/assets/pictograms/telephone.svg +0 -1
  772. package/dist/collection/assets/pictograms/telescope.svg +0 -1
  773. package/dist/collection/assets/pictograms/temperature.svg +0 -1
  774. package/dist/collection/assets/pictograms/terminal.svg +0 -1
  775. package/dist/collection/assets/pictograms/ticket.svg +0 -1
  776. package/dist/collection/assets/pictograms/tin.svg +0 -1
  777. package/dist/collection/assets/pictograms/tokenization.svg +0 -1
  778. package/dist/collection/assets/pictograms/tool.svg +0 -1
  779. package/dist/collection/assets/pictograms/touch.svg +0 -1
  780. package/dist/collection/assets/pictograms/train.svg +0 -1
  781. package/dist/collection/assets/pictograms/trash.svg +0 -1
  782. package/dist/collection/assets/pictograms/umbrella.svg +0 -1
  783. package/dist/collection/assets/pictograms/unlock.svg +0 -1
  784. package/dist/collection/assets/pictograms/upload.svg +0 -1
  785. package/dist/collection/assets/pictograms/usb.svg +0 -1
  786. package/dist/collection/assets/pictograms/viena.svg +0 -1
  787. package/dist/collection/assets/pictograms/viking.svg +0 -1
  788. package/dist/collection/assets/pictograms/visibility.svg +0 -1
  789. package/dist/collection/assets/pictograms/wallet.svg +0 -1
  790. package/dist/collection/assets/pictograms/warning.svg +0 -1
  791. package/dist/collection/assets/pictograms/way-up.svg +0 -1
  792. package/dist/collection/assets/pictograms/wc-handicap.svg +0 -1
  793. package/dist/collection/assets/pictograms/wc-men.svg +0 -1
  794. package/dist/collection/assets/pictograms/wc-woman.svg +0 -1
  795. package/dist/collection/assets/pictograms/wearables.svg +0 -1
  796. package/dist/collection/assets/pictograms/webshop.svg +0 -1
  797. package/dist/collection/assets/pictograms/wlan-bluetooth.svg +0 -1
  798. package/dist/collection/assets/pictograms/wlan.svg +0 -1
  799. package/dist/collection/assets/pictograms/x.svg +0 -1
  800. package/dist/collection/assets/pictograms/zurich.svg +0 -1
  801. package/dist/components/p-BAe7gBEi.js.map +0 -1
  802. package/dist/components/p-BFrSuO7n.js.map +0 -1
  803. package/dist/components/p-ByetrMwd.js.map +0 -1
  804. package/dist/components/p-C4Shm3wX.js.map +0 -1
  805. package/dist/components/p-Cc_nfyAl.js.map +0 -1
  806. package/dist/components/p-DK3EH5_F.js +0 -62
  807. package/dist/components/p-DK3EH5_F.js.map +0 -1
  808. package/dist/components/p-DwZ0ygip.js.map +0 -1
  809. package/dist/esm/form-control-_dvMXnmg.js.map +0 -1
  810. package/dist/esm/index-BF09Gr5y.js.map +0 -1
  811. package/dist/ui-library/assets/pictograms/TPP.svg +0 -1
  812. package/dist/ui-library/assets/pictograms/agile.svg +0 -1
  813. package/dist/ui-library/assets/pictograms/ai.svg +0 -1
  814. package/dist/ui-library/assets/pictograms/airplane.svg +0 -1
  815. package/dist/ui-library/assets/pictograms/alert.svg +0 -1
  816. package/dist/ui-library/assets/pictograms/ambulance.svg +0 -1
  817. package/dist/ui-library/assets/pictograms/analyse.svg +0 -1
  818. package/dist/ui-library/assets/pictograms/anchor.svg +0 -1
  819. package/dist/ui-library/assets/pictograms/apple.svg +0 -1
  820. package/dist/ui-library/assets/pictograms/arrow-down.svg +0 -1
  821. package/dist/ui-library/assets/pictograms/arrow-right.svg +0 -1
  822. package/dist/ui-library/assets/pictograms/arrow-up.svg +0 -1
  823. package/dist/ui-library/assets/pictograms/astronaut-outline.svg +0 -1
  824. package/dist/ui-library/assets/pictograms/augmented-reality.svg +0 -1
  825. package/dist/ui-library/assets/pictograms/backoffice.svg +0 -1
  826. package/dist/ui-library/assets/pictograms/bank.svg +0 -1
  827. package/dist/ui-library/assets/pictograms/banknote.svg +0 -1
  828. package/dist/ui-library/assets/pictograms/barcode.svg +0 -1
  829. package/dist/ui-library/assets/pictograms/battery.svg +0 -1
  830. package/dist/ui-library/assets/pictograms/beacon.svg +0 -1
  831. package/dist/ui-library/assets/pictograms/beat.svg +0 -1
  832. package/dist/ui-library/assets/pictograms/bee.svg +0 -1
  833. package/dist/ui-library/assets/pictograms/bell.svg +0 -1
  834. package/dist/ui-library/assets/pictograms/berlin.svg +0 -1
  835. package/dist/ui-library/assets/pictograms/big-data.svg +0 -1
  836. package/dist/ui-library/assets/pictograms/bilateral.svg +0 -1
  837. package/dist/ui-library/assets/pictograms/bill.svg +0 -1
  838. package/dist/ui-library/assets/pictograms/binoculars.svg +0 -1
  839. package/dist/ui-library/assets/pictograms/block.svg +0 -1
  840. package/dist/ui-library/assets/pictograms/blockchain.svg +0 -1
  841. package/dist/ui-library/assets/pictograms/bluetooth.svg +0 -1
  842. package/dist/ui-library/assets/pictograms/bone.svg +0 -1
  843. package/dist/ui-library/assets/pictograms/book.svg +0 -1
  844. package/dist/ui-library/assets/pictograms/bottle.svg +0 -1
  845. package/dist/ui-library/assets/pictograms/buggy.svg +0 -1
  846. package/dist/ui-library/assets/pictograms/bull-bear.svg +0 -1
  847. package/dist/ui-library/assets/pictograms/business.svg +0 -1
  848. package/dist/ui-library/assets/pictograms/cake.svg +0 -1
  849. package/dist/ui-library/assets/pictograms/calculator.svg +0 -1
  850. package/dist/ui-library/assets/pictograms/calendar.svg +0 -1
  851. package/dist/ui-library/assets/pictograms/cam.svg +0 -1
  852. package/dist/ui-library/assets/pictograms/cap.svg +0 -1
  853. package/dist/ui-library/assets/pictograms/capsule.svg +0 -1
  854. package/dist/ui-library/assets/pictograms/car.svg +0 -1
  855. package/dist/ui-library/assets/pictograms/carabiner.svg +0 -1
  856. package/dist/ui-library/assets/pictograms/card.svg +0 -1
  857. package/dist/ui-library/assets/pictograms/cash-machine.svg +0 -1
  858. package/dist/ui-library/assets/pictograms/cash-register.svg +0 -1
  859. package/dist/ui-library/assets/pictograms/cash.svg +0 -1
  860. package/dist/ui-library/assets/pictograms/cashless.svg +0 -1
  861. package/dist/ui-library/assets/pictograms/check.svg +0 -1
  862. package/dist/ui-library/assets/pictograms/cheveron-right.svg +0 -1
  863. package/dist/ui-library/assets/pictograms/chf-eur.svg +0 -1
  864. package/dist/ui-library/assets/pictograms/cleaning.svg +0 -1
  865. package/dist/ui-library/assets/pictograms/click-collect.svg +0 -1
  866. package/dist/ui-library/assets/pictograms/click-return.svg +0 -1
  867. package/dist/ui-library/assets/pictograms/client-receipt.svg +0 -1
  868. package/dist/ui-library/assets/pictograms/clientesyusuarios.svg +0 -1
  869. package/dist/ui-library/assets/pictograms/clock.svg +0 -1
  870. package/dist/ui-library/assets/pictograms/cloud.svg +0 -1
  871. package/dist/ui-library/assets/pictograms/coffee.svg +0 -1
  872. package/dist/ui-library/assets/pictograms/coins.svg +0 -1
  873. package/dist/ui-library/assets/pictograms/configuracion-de-servicio.svg +0 -1
  874. package/dist/ui-library/assets/pictograms/connectivity.svg +0 -1
  875. package/dist/ui-library/assets/pictograms/contactless.svg +0 -1
  876. package/dist/ui-library/assets/pictograms/copy.svg +0 -1
  877. package/dist/ui-library/assets/pictograms/cornet.svg +0 -1
  878. package/dist/ui-library/assets/pictograms/cost-reduction.svg +0 -1
  879. package/dist/ui-library/assets/pictograms/coupon.svg +0 -1
  880. package/dist/ui-library/assets/pictograms/croissant.svg +0 -1
  881. package/dist/ui-library/assets/pictograms/crowdfunding.svg +0 -1
  882. package/dist/ui-library/assets/pictograms/crown.svg +0 -1
  883. package/dist/ui-library/assets/pictograms/cryptocurrency.svg +0 -1
  884. package/dist/ui-library/assets/pictograms/crystal-ball.svg +0 -1
  885. package/dist/ui-library/assets/pictograms/cup.svg +0 -1
  886. package/dist/ui-library/assets/pictograms/cupcake.svg +0 -1
  887. package/dist/ui-library/assets/pictograms/currency.svg +0 -1
  888. package/dist/ui-library/assets/pictograms/cyber-security.svg +0 -1
  889. package/dist/ui-library/assets/pictograms/data-mapping.svg +0 -1
  890. package/dist/ui-library/assets/pictograms/desktop.svg +0 -1
  891. package/dist/ui-library/assets/pictograms/diamond.svg +0 -1
  892. package/dist/ui-library/assets/pictograms/disc.svg +0 -1
  893. package/dist/ui-library/assets/pictograms/diversify.svg +0 -1
  894. package/dist/ui-library/assets/pictograms/dna.svg +0 -1
  895. package/dist/ui-library/assets/pictograms/dog.svg +0 -1
  896. package/dist/ui-library/assets/pictograms/download.svg +0 -1
  897. package/dist/ui-library/assets/pictograms/drop-zone.svg +0 -1
  898. package/dist/ui-library/assets/pictograms/drop.svg +0 -1
  899. package/dist/ui-library/assets/pictograms/dumbbell.svg +0 -1
  900. package/dist/ui-library/assets/pictograms/dws.svg +0 -1
  901. package/dist/ui-library/assets/pictograms/ear.svg +0 -1
  902. package/dist/ui-library/assets/pictograms/ecommerce.svg +0 -1
  903. package/dist/ui-library/assets/pictograms/ethernet.svg +0 -1
  904. package/dist/ui-library/assets/pictograms/eur-dollar.svg +0 -1
  905. package/dist/ui-library/assets/pictograms/exchange.svg +0 -1
  906. package/dist/ui-library/assets/pictograms/exclamation.svg +0 -1
  907. package/dist/ui-library/assets/pictograms/external-link.svg +0 -1
  908. package/dist/ui-library/assets/pictograms/extinguisher.svg +0 -1
  909. package/dist/ui-library/assets/pictograms/factory.svg +0 -1
  910. package/dist/ui-library/assets/pictograms/fax.svg +0 -1
  911. package/dist/ui-library/assets/pictograms/fence.svg +0 -1
  912. package/dist/ui-library/assets/pictograms/file-text.svg +0 -1
  913. package/dist/ui-library/assets/pictograms/file.svg +0 -1
  914. package/dist/ui-library/assets/pictograms/find-in-page.svg +0 -1
  915. package/dist/ui-library/assets/pictograms/fingerprint.svg +0 -1
  916. package/dist/ui-library/assets/pictograms/flag.svg +0 -1
  917. package/dist/ui-library/assets/pictograms/flash.svg +0 -1
  918. package/dist/ui-library/assets/pictograms/flexibility.svg +0 -1
  919. package/dist/ui-library/assets/pictograms/flipchart.svg +0 -1
  920. package/dist/ui-library/assets/pictograms/flower.svg +0 -1
  921. package/dist/ui-library/assets/pictograms/focus.svg +0 -1
  922. package/dist/ui-library/assets/pictograms/foreign-exchange.svg +0 -1
  923. package/dist/ui-library/assets/pictograms/fraud-free.svg +0 -1
  924. package/dist/ui-library/assets/pictograms/funnel.svg +0 -1
  925. package/dist/ui-library/assets/pictograms/gamepad.svg +0 -1
  926. package/dist/ui-library/assets/pictograms/gears.svg +0 -1
  927. package/dist/ui-library/assets/pictograms/generic.svg +0 -1
  928. package/dist/ui-library/assets/pictograms/genie.svg +0 -1
  929. package/dist/ui-library/assets/pictograms/gestion-de-fallidos.svg +0 -1
  930. package/dist/ui-library/assets/pictograms/gestion-de-instrucciones.svg +0 -1
  931. package/dist/ui-library/assets/pictograms/gestion-de-pago.svg +0 -1
  932. package/dist/ui-library/assets/pictograms/gift.svg +0 -1
  933. package/dist/ui-library/assets/pictograms/giftcard.svg +0 -1
  934. package/dist/ui-library/assets/pictograms/glass.svg +0 -1
  935. package/dist/ui-library/assets/pictograms/glasses.svg +0 -1
  936. package/dist/ui-library/assets/pictograms/global.svg +0 -1
  937. package/dist/ui-library/assets/pictograms/gprs-lan.svg +0 -1
  938. package/dist/ui-library/assets/pictograms/gprs.svg +0 -1
  939. package/dist/ui-library/assets/pictograms/guide.svg +0 -1
  940. package/dist/ui-library/assets/pictograms/hacker-security.svg +0 -1
  941. package/dist/ui-library/assets/pictograms/hand.svg +0 -1
  942. package/dist/ui-library/assets/pictograms/handshake.svg +0 -1
  943. package/dist/ui-library/assets/pictograms/happy.svg +0 -1
  944. package/dist/ui-library/assets/pictograms/hashtag.svg +0 -1
  945. package/dist/ui-library/assets/pictograms/headphones.svg +0 -1
  946. package/dist/ui-library/assets/pictograms/heart.svg +0 -1
  947. package/dist/ui-library/assets/pictograms/home.svg +0 -1
  948. package/dist/ui-library/assets/pictograms/identity-management.svg +0 -1
  949. package/dist/ui-library/assets/pictograms/info.svg +0 -1
  950. package/dist/ui-library/assets/pictograms/international-connectivity.svg +0 -1
  951. package/dist/ui-library/assets/pictograms/iot.svg +0 -1
  952. package/dist/ui-library/assets/pictograms/key.svg +0 -1
  953. package/dist/ui-library/assets/pictograms/lab.svg +0 -1
  954. package/dist/ui-library/assets/pictograms/labyrinth.svg +0 -1
  955. package/dist/ui-library/assets/pictograms/laptop-outline.svg +0 -1
  956. package/dist/ui-library/assets/pictograms/leaf.svg +0 -1
  957. package/dist/ui-library/assets/pictograms/lightbulb.svg +0 -1
  958. package/dist/ui-library/assets/pictograms/lighthouse.svg +0 -1
  959. package/dist/ui-library/assets/pictograms/like.svg +0 -1
  960. package/dist/ui-library/assets/pictograms/lines.svg +0 -1
  961. package/dist/ui-library/assets/pictograms/liquid.svg +0 -1
  962. package/dist/ui-library/assets/pictograms/lock.svg +0 -1
  963. package/dist/ui-library/assets/pictograms/london.svg +0 -1
  964. package/dist/ui-library/assets/pictograms/lounge.svg +0 -1
  965. package/dist/ui-library/assets/pictograms/lunch-learn.svg +0 -1
  966. package/dist/ui-library/assets/pictograms/machine-learning.svg +0 -1
  967. package/dist/ui-library/assets/pictograms/mail-copy.svg +0 -1
  968. package/dist/ui-library/assets/pictograms/mail.svg +0 -1
  969. package/dist/ui-library/assets/pictograms/map-marker.svg +0 -1
  970. package/dist/ui-library/assets/pictograms/map.svg +0 -1
  971. package/dist/ui-library/assets/pictograms/markets.svg +0 -1
  972. package/dist/ui-library/assets/pictograms/megaphone.svg +0 -1
  973. package/dist/ui-library/assets/pictograms/menu.svg +0 -1
  974. package/dist/ui-library/assets/pictograms/micro-payments.svg +0 -1
  975. package/dist/ui-library/assets/pictograms/microphone.svg +0 -1
  976. package/dist/ui-library/assets/pictograms/minus.svg +0 -1
  977. package/dist/ui-library/assets/pictograms/mobile-payment.svg +0 -1
  978. package/dist/ui-library/assets/pictograms/mobile-terminal.svg +0 -1
  979. package/dist/ui-library/assets/pictograms/monitoring.svg +0 -1
  980. package/dist/ui-library/assets/pictograms/more.svg +0 -1
  981. package/dist/ui-library/assets/pictograms/mountain.svg +0 -1
  982. package/dist/ui-library/assets/pictograms/movie-camera.svg +0 -1
  983. package/dist/ui-library/assets/pictograms/navigation.svg +0 -1
  984. package/dist/ui-library/assets/pictograms/no-smoking.svg +0 -1
  985. package/dist/ui-library/assets/pictograms/office.svg +0 -1
  986. package/dist/ui-library/assets/pictograms/outsorcing.svg +0 -1
  987. package/dist/ui-library/assets/pictograms/package.svg +0 -1
  988. package/dist/ui-library/assets/pictograms/paddle.svg +0 -1
  989. package/dist/ui-library/assets/pictograms/paninoteca.svg +0 -1
  990. package/dist/ui-library/assets/pictograms/paragraph.svg +0 -1
  991. package/dist/ui-library/assets/pictograms/paris.svg +0 -1
  992. package/dist/ui-library/assets/pictograms/parking.svg +0 -1
  993. package/dist/ui-library/assets/pictograms/pause.svg +0 -1
  994. package/dist/ui-library/assets/pictograms/pay-points.svg +0 -1
  995. package/dist/ui-library/assets/pictograms/pencil.svg +0 -1
  996. package/dist/ui-library/assets/pictograms/person-business.svg +0 -1
  997. package/dist/ui-library/assets/pictograms/person-callcenter.svg +0 -1
  998. package/dist/ui-library/assets/pictograms/person-client.svg +0 -1
  999. package/dist/ui-library/assets/pictograms/person-group.svg +0 -1
  1000. package/dist/ui-library/assets/pictograms/person.svg +0 -1
  1001. package/dist/ui-library/assets/pictograms/pet.svg +0 -1
  1002. package/dist/ui-library/assets/pictograms/piechart.svg +0 -1
  1003. package/dist/ui-library/assets/pictograms/pig.svg +0 -1
  1004. package/dist/ui-library/assets/pictograms/piggy-bank.svg +0 -1
  1005. package/dist/ui-library/assets/pictograms/planet.svg +0 -1
  1006. package/dist/ui-library/assets/pictograms/play.svg +0 -1
  1007. package/dist/ui-library/assets/pictograms/plus.svg +0 -1
  1008. package/dist/ui-library/assets/pictograms/popsicle.svg +0 -1
  1009. package/dist/ui-library/assets/pictograms/printer.svg +0 -1
  1010. package/dist/ui-library/assets/pictograms/privacy.svg +0 -1
  1011. package/dist/ui-library/assets/pictograms/process.svg +0 -1
  1012. package/dist/ui-library/assets/pictograms/projector.svg +0 -1
  1013. package/dist/ui-library/assets/pictograms/psp.svg +0 -1
  1014. package/dist/ui-library/assets/pictograms/punch-card.svg +0 -1
  1015. package/dist/ui-library/assets/pictograms/puzzle.svg +0 -1
  1016. package/dist/ui-library/assets/pictograms/qr-scanner.svg +0 -1
  1017. package/dist/ui-library/assets/pictograms/qr.svg +0 -1
  1018. package/dist/ui-library/assets/pictograms/question.svg +0 -1
  1019. package/dist/ui-library/assets/pictograms/rabbit.svg +0 -1
  1020. package/dist/ui-library/assets/pictograms/rain.svg +0 -1
  1021. package/dist/ui-library/assets/pictograms/realtime.svg +0 -1
  1022. package/dist/ui-library/assets/pictograms/recurring-payments.svg +0 -1
  1023. package/dist/ui-library/assets/pictograms/relaxing.svg +0 -1
  1024. package/dist/ui-library/assets/pictograms/reporting.svg +0 -1
  1025. package/dist/ui-library/assets/pictograms/responsive-design.svg +0 -1
  1026. package/dist/ui-library/assets/pictograms/robo-advisor.svg +0 -1
  1027. package/dist/ui-library/assets/pictograms/robotics.svg +0 -1
  1028. package/dist/ui-library/assets/pictograms/rock.svg +0 -1
  1029. package/dist/ui-library/assets/pictograms/rocket.svg +0 -1
  1030. package/dist/ui-library/assets/pictograms/rss.svg +0 -1
  1031. package/dist/ui-library/assets/pictograms/sad.svg +0 -1
  1032. package/dist/ui-library/assets/pictograms/sailboat.svg +0 -1
  1033. package/dist/ui-library/assets/pictograms/scales.svg +0 -1
  1034. package/dist/ui-library/assets/pictograms/screen.svg +0 -1
  1035. package/dist/ui-library/assets/pictograms/seal.svg +0 -1
  1036. package/dist/ui-library/assets/pictograms/search.svg +0 -1
  1037. package/dist/ui-library/assets/pictograms/sentiment-dissatisfied.svg +0 -1
  1038. package/dist/ui-library/assets/pictograms/server.svg +0 -1
  1039. package/dist/ui-library/assets/pictograms/service-center.svg +0 -1
  1040. package/dist/ui-library/assets/pictograms/sextant.svg +0 -1
  1041. package/dist/ui-library/assets/pictograms/share.svg +0 -1
  1042. package/dist/ui-library/assets/pictograms/shield.svg +0 -1
  1043. package/dist/ui-library/assets/pictograms/shop.svg +0 -1
  1044. package/dist/ui-library/assets/pictograms/shopping-cart-chf.svg +0 -1
  1045. package/dist/ui-library/assets/pictograms/shopping-cart-download.svg +0 -1
  1046. package/dist/ui-library/assets/pictograms/shopping-cart.svg +0 -1
  1047. package/dist/ui-library/assets/pictograms/signal.svg +0 -1
  1048. package/dist/ui-library/assets/pictograms/simple-integration.svg +0 -1
  1049. package/dist/ui-library/assets/pictograms/skull.svg +0 -1
  1050. package/dist/ui-library/assets/pictograms/smoking.svg +0 -1
  1051. package/dist/ui-library/assets/pictograms/snow.svg +0 -1
  1052. package/dist/ui-library/assets/pictograms/snowflake.svg +0 -1
  1053. package/dist/ui-library/assets/pictograms/snowman.svg +0 -1
  1054. package/dist/ui-library/assets/pictograms/soc.svg +0 -1
  1055. package/dist/ui-library/assets/pictograms/social-days.svg +0 -1
  1056. package/dist/ui-library/assets/pictograms/social-trading.svg +0 -1
  1057. package/dist/ui-library/assets/pictograms/softwarepackage.svg +0 -1
  1058. package/dist/ui-library/assets/pictograms/sound.svg +0 -1
  1059. package/dist/ui-library/assets/pictograms/speechbubble.svg +0 -1
  1060. package/dist/ui-library/assets/pictograms/spirit.svg +0 -1
  1061. package/dist/ui-library/assets/pictograms/split.svg +0 -1
  1062. package/dist/ui-library/assets/pictograms/stability.svg +0 -1
  1063. package/dist/ui-library/assets/pictograms/stairs.svg +0 -1
  1064. package/dist/ui-library/assets/pictograms/star.svg +0 -1
  1065. package/dist/ui-library/assets/pictograms/statistic.svg +0 -1
  1066. package/dist/ui-library/assets/pictograms/stock.svg +0 -1
  1067. package/dist/ui-library/assets/pictograms/stocks.svg +0 -1
  1068. package/dist/ui-library/assets/pictograms/stop.svg +0 -1
  1069. package/dist/ui-library/assets/pictograms/stopwatch.svg +0 -1
  1070. package/dist/ui-library/assets/pictograms/storage.svg +0 -1
  1071. package/dist/ui-library/assets/pictograms/success.svg +0 -1
  1072. package/dist/ui-library/assets/pictograms/suitcase.svg +0 -1
  1073. package/dist/ui-library/assets/pictograms/sun.svg +0 -1
  1074. package/dist/ui-library/assets/pictograms/surveillance.svg +0 -1
  1075. package/dist/ui-library/assets/pictograms/swiss.svg +0 -1
  1076. package/dist/ui-library/assets/pictograms/tablet.svg +0 -1
  1077. package/dist/ui-library/assets/pictograms/tachometer.svg +0 -1
  1078. package/dist/ui-library/assets/pictograms/target.svg +0 -1
  1079. package/dist/ui-library/assets/pictograms/telephone.svg +0 -1
  1080. package/dist/ui-library/assets/pictograms/telescope.svg +0 -1
  1081. package/dist/ui-library/assets/pictograms/temperature.svg +0 -1
  1082. package/dist/ui-library/assets/pictograms/terminal.svg +0 -1
  1083. package/dist/ui-library/assets/pictograms/ticket.svg +0 -1
  1084. package/dist/ui-library/assets/pictograms/tin.svg +0 -1
  1085. package/dist/ui-library/assets/pictograms/tokenization.svg +0 -1
  1086. package/dist/ui-library/assets/pictograms/tool.svg +0 -1
  1087. package/dist/ui-library/assets/pictograms/touch.svg +0 -1
  1088. package/dist/ui-library/assets/pictograms/train.svg +0 -1
  1089. package/dist/ui-library/assets/pictograms/trash.svg +0 -1
  1090. package/dist/ui-library/assets/pictograms/umbrella.svg +0 -1
  1091. package/dist/ui-library/assets/pictograms/unlock.svg +0 -1
  1092. package/dist/ui-library/assets/pictograms/upload.svg +0 -1
  1093. package/dist/ui-library/assets/pictograms/usb.svg +0 -1
  1094. package/dist/ui-library/assets/pictograms/viena.svg +0 -1
  1095. package/dist/ui-library/assets/pictograms/viking.svg +0 -1
  1096. package/dist/ui-library/assets/pictograms/visibility.svg +0 -1
  1097. package/dist/ui-library/assets/pictograms/wallet.svg +0 -1
  1098. package/dist/ui-library/assets/pictograms/warning.svg +0 -1
  1099. package/dist/ui-library/assets/pictograms/way-up.svg +0 -1
  1100. package/dist/ui-library/assets/pictograms/wc-handicap.svg +0 -1
  1101. package/dist/ui-library/assets/pictograms/wc-men.svg +0 -1
  1102. package/dist/ui-library/assets/pictograms/wc-woman.svg +0 -1
  1103. package/dist/ui-library/assets/pictograms/wearables.svg +0 -1
  1104. package/dist/ui-library/assets/pictograms/webshop.svg +0 -1
  1105. package/dist/ui-library/assets/pictograms/wlan-bluetooth.svg +0 -1
  1106. package/dist/ui-library/assets/pictograms/wlan.svg +0 -1
  1107. package/dist/ui-library/assets/pictograms/x.svg +0 -1
  1108. package/dist/ui-library/assets/pictograms/zurich.svg +0 -1
  1109. package/dist/ui-library/p-15d09aea.entry.js.map +0 -1
  1110. package/dist/ui-library/p-1dfee586.entry.js +0 -2
  1111. package/dist/ui-library/p-1dfee586.entry.js.map +0 -1
  1112. package/dist/ui-library/p-220ffc25.entry.js.map +0 -1
  1113. package/dist/ui-library/p-2bac7418.entry.js.map +0 -1
  1114. package/dist/ui-library/p-2f001f2b.entry.js +0 -2
  1115. package/dist/ui-library/p-2f001f2b.entry.js.map +0 -1
  1116. package/dist/ui-library/p-33b2003b.entry.js.map +0 -1
  1117. package/dist/ui-library/p-4d714149.entry.js.map +0 -1
  1118. package/dist/ui-library/p-4e183258.entry.js.map +0 -1
  1119. package/dist/ui-library/p-54c4de63.entry.js +0 -2
  1120. package/dist/ui-library/p-54c4de63.entry.js.map +0 -1
  1121. package/dist/ui-library/p-7b269878.entry.js +0 -2
  1122. package/dist/ui-library/p-7b269878.entry.js.map +0 -1
  1123. package/dist/ui-library/p-7b9de402.entry.js +0 -2
  1124. package/dist/ui-library/p-7cdda567.entry.js.map +0 -1
  1125. package/dist/ui-library/p-83806640.entry.js.map +0 -1
  1126. package/dist/ui-library/p-894dd0f7.entry.js.map +0 -1
  1127. package/dist/ui-library/p-8e5b7dbb.entry.js.map +0 -1
  1128. package/dist/ui-library/p-BF09Gr5y.js +0 -3
  1129. package/dist/ui-library/p-BF09Gr5y.js.map +0 -1
  1130. package/dist/ui-library/p-b45553e9.entry.js +0 -2
  1131. package/dist/ui-library/p-b45553e9.entry.js.map +0 -1
  1132. package/dist/ui-library/p-b4bb8b5d.entry.js +0 -2
  1133. package/dist/ui-library/p-b4bb8b5d.entry.js.map +0 -1
  1134. package/dist/ui-library/p-c32c5ff0.entry.js +0 -2
  1135. package/dist/ui-library/p-c32c5ff0.entry.js.map +0 -1
  1136. package/dist/ui-library/p-d9224c76.entry.js.map +0 -1
  1137. package/dist/ui-library/p-f1e48369.entry.js.map +0 -1
  1138. package/dist/ui-library/p-fac22819.entry.js.map +0 -1
  1139. package/dist/ui-library/p-fb60d596.entry.js +0 -2
  1140. package/dist/ui-library/p-fb60d596.entry.js.map +0 -1
  1141. package/dist/ui-library/p-tWZJdnMN.js +0 -2
  1142. package/dist/ui-library/p-tWZJdnMN.js.map +0 -1
  1143. /package/dist/ui-library/{p-dfd0956a.entry.js.map → p-01306147.entry.js.map} +0 -0
  1144. /package/dist/ui-library/{p-9656e941.entry.js.map → p-0d97e592.entry.js.map} +0 -0
  1145. /package/dist/ui-library/{p-e516182e.entry.js.map → p-16028bce.entry.js.map} +0 -0
  1146. /package/dist/ui-library/{p-041c4b5d.entry.js.map → p-19361e9b.entry.js.map} +0 -0
  1147. /package/dist/ui-library/{p-abe6f5c4.entry.js.map → p-1e4d1252.entry.js.map} +0 -0
  1148. /package/dist/ui-library/{p-5003f61b.entry.js.map → p-394c1dc0.entry.js.map} +0 -0
  1149. /package/dist/ui-library/{p-d601b41b.entry.js.map → p-4a4a0751.entry.js.map} +0 -0
  1150. /package/dist/ui-library/{p-a4f39b82.entry.js.map → p-537a8953.entry.js.map} +0 -0
  1151. /package/dist/ui-library/{p-35ebd705.entry.js.map → p-5e70085d.entry.js.map} +0 -0
  1152. /package/dist/ui-library/{p-91511258.entry.js.map → p-695e450e.entry.js.map} +0 -0
  1153. /package/dist/ui-library/{p-bf10bd79.entry.js.map → p-6990e5ed.entry.js.map} +0 -0
  1154. /package/dist/ui-library/{p-8496e1cd.entry.js.map → p-6d212bc0.entry.js.map} +0 -0
  1155. /package/dist/ui-library/{p-eed32256.entry.js.map → p-73b64625.entry.js.map} +0 -0
  1156. /package/dist/ui-library/{p-367d2873.entry.js.map → p-7c438e21.entry.js.map} +0 -0
  1157. /package/dist/ui-library/{p-c72c0d32.entry.js.map → p-7d2f5f44.entry.js.map} +0 -0
  1158. /package/dist/ui-library/{p-03ac847d.entry.js.map → p-81af96f2.entry.js.map} +0 -0
  1159. /package/dist/ui-library/{p-2db80aaf.entry.js.map → p-830ed202.entry.js.map} +0 -0
  1160. /package/dist/ui-library/{p-a747beba.entry.js.map → p-84964501.entry.js.map} +0 -0
  1161. /package/dist/ui-library/{p-9deb70a3.entry.js.map → p-868fab98.entry.js.map} +0 -0
  1162. /package/dist/ui-library/{p-07dbfe1d.entry.js.map → p-8fe7ecdd.entry.js.map} +0 -0
  1163. /package/dist/ui-library/{p-080bf19c.entry.js.map → p-9f0ed997.entry.js.map} +0 -0
  1164. /package/dist/ui-library/{p-696590b3.entry.js.map → p-9f77ae55.entry.js.map} +0 -0
  1165. /package/dist/ui-library/{p-0f7aff92.entry.js.map → p-a534a4bc.entry.js.map} +0 -0
  1166. /package/dist/ui-library/{p-7722c3c9.entry.js.map → p-b8db5638.entry.js.map} +0 -0
  1167. /package/dist/ui-library/{p-e2460554.entry.js.map → p-ba68b30c.entry.js.map} +0 -0
  1168. /package/dist/ui-library/{p-f22b0f49.entry.js.map → p-baf698e1.entry.js.map} +0 -0
  1169. /package/dist/ui-library/{p-6183f4c8.entry.js.map → p-c2ec443c.entry.js.map} +0 -0
  1170. /package/dist/ui-library/{p-3aeff13e.entry.js.map → p-d1bd67af.entry.js.map} +0 -0
  1171. /package/dist/ui-library/{p-314df297.entry.js.map → p-df05b23b.entry.js.map} +0 -0
  1172. /package/dist/ui-library/{p-16fefaf7.entry.js.map → p-e91aa04b.entry.js.map} +0 -0
  1173. /package/dist/ui-library/{p-dc9badb8.entry.js.map → p-f0f73eef.entry.js.map} +0 -0
  1174. /package/dist/ui-library/{p-7b9de402.entry.js.map → p-f38c1d23.entry.js.map} +0 -0
  1175. /package/dist/ui-library/{p-f8dccfa9.entry.js.map → p-f4e2ddfc.entry.js.map} +0 -0
  1176. /package/dist/ui-library/{p-9a7aa0d7.entry.js.map → p-f585a5ab.entry.js.map} +0 -0
@@ -1,7 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BF09Gr5y.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-D0Go1Zjj.js';
2
2
  import { u as unlockBodyScrolling, l as lockBodyScrolling } from './scroll-BY6hIEFX.js';
3
3
  import { h as hasSlot } from './slot-j3oIB5oT.js';
4
4
  import { M as Modal } from './modal-CfIoyvm-.js';
5
+ import { a as animateTo } from './animation-SLlDVtvF.js';
5
6
 
6
7
  const sixDialogCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host{--width:31rem;display:contents}.dialog{display:flex;align-items:center;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--six-z-index-dialog);color:var(--six-color-web-rock-900)}.dialog:not(.dialog--visible){position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;pointer-events:none;visibility:hidden}.dialog__panel{display:flex;flex-direction:column;z-index:2;width:var(--width);max-width:calc(100% - var(--six-spacing-xx-large));max-height:calc(100% - var(--six-spacing-xx-large));background-color:var(--six-panel-background-color);border-radius:var(--six-border-radius-medium);box-shadow:var(--six-shadow-large);opacity:0;transform:scale(0.8);transition:var(--six-transition-medium) opacity, var(--six-transition-medium) transform}.dialog__panel:focus{outline:none}@media screen and (max-width: 420px){.dialog__panel{max-height:80vh}}.dialog--open .dialog__panel{display:flex;opacity:1;transform:none}.dialog__header{flex:0 0 auto;display:flex}.dialog__title{flex:1 1 auto;font-size:var(--six-font-size-x-large);font-weight:var(--six-font-weight-bold);line-height:var(--six-line-height-dense);padding:var(--six-spacing-large) var(--six-spacing-large) var(--six-spacing-small)}.dialog__close{flex:0 0 auto;display:flex;align-items:center;font-size:var(--six-font-size-x-large);padding:0 var(--six-spacing-x-small)}.dialog__body{flex:1 1 auto;padding:var(--six-spacing-small) var(--six-spacing-large) var(--six-spacing-large);overflow:auto;-webkit-overflow-scrolling:touch}.dialog__footer{flex:0 0 auto;text-align:right;padding:var(--six-spacing-large)}.dialog__footer ::slotted(six-button:not(:first-of-type)){margin-left:var(--six-spacing-xx-small)}.dialog:not(.dialog--has-footer) .dialog__footer{display:none}.dialog__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--six-overlay-background-color);opacity:0;transition:var(--six-transition-medium) opacity}.dialog--open .dialog__overlay{opacity:0.8}";
7
8
 
@@ -14,7 +15,7 @@ const SixDialog = class {
14
15
  this.sixHide = createEvent(this, "six-dialog-hide");
15
16
  this.sixAfterHide = createEvent(this, "six-dialog-after-hide");
16
17
  this.sixInitialFocus = createEvent(this, "six-dialog-initial-focus");
17
- this.sixOverlayDismiss = createEvent(this, "six-dialog-overlay-dismiss");
18
+ this.sixRequestClose = createEvent(this, "six-dialog-request-close");
18
19
  this.componentId = `dialog-${++id}`;
19
20
  this.willShow = false;
20
21
  this.willHide = false;
@@ -33,18 +34,15 @@ const SixDialog = class {
33
34
  */
34
35
  this.noHeader = false;
35
36
  this.handleCloseClick = () => {
36
- this.hide();
37
+ this.preventClose('close-button');
37
38
  };
38
39
  this.handleKeyDown = (event) => {
39
40
  if (event.key === 'Escape') {
40
- this.hide();
41
+ this.preventClose('keyboard');
41
42
  }
42
43
  };
43
44
  this.handleOverlayClick = () => {
44
- const sixOverlayDismiss = this.sixOverlayDismiss.emit();
45
- if (!sixOverlayDismiss.defaultPrevented) {
46
- this.hide();
47
- }
45
+ this.preventClose('overlay');
48
46
  };
49
47
  this.handleSlotChange = () => {
50
48
  this.hasFooter = hasSlot(this.host, 'footer');
@@ -120,13 +118,21 @@ const SixDialog = class {
120
118
  this.modal.deactivate();
121
119
  unlockBodyScrolling(this.host);
122
120
  }
121
+ preventClose(source) {
122
+ const sixRequestClose = this.sixRequestClose.emit({ source });
123
+ if (sixRequestClose.defaultPrevented && this.panel) {
124
+ animateTo(this.panel, [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }], { duration: 250 });
125
+ return;
126
+ }
127
+ this.hide();
128
+ }
123
129
  render() {
124
- return (h("div", { key: '4fb15d0b1b8cb52082d6faadd337f92c51d4a6ba', ref: (el) => (this.dialog = el), part: "base", class: {
130
+ return (h("div", { key: 'b97915d5076bb83782212b61b1f65f694fd84b63', ref: (el) => (this.dialog = el), part: "base", class: {
125
131
  dialog: true,
126
132
  'dialog--open': this.open,
127
133
  'dialog--visible': this.isVisible,
128
134
  'dialog--has-footer': this.hasFooter,
129
- }, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: 'f1f7f2f0c69dda4f3a9fe464aef1880a3ccc8435', part: "overlay", class: "dialog__overlay", onClick: this.handleOverlayClick }), h("div", { key: '988baac44c75d2299f55e4dd848155ac535679cc', 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: 'a167200e75358f3b7b778f7475ca437f23a58797', part: "header", class: "dialog__header" }, h("span", { key: '3c3edc39e39eb0bda2c745719476278b8db86037', part: "title", class: "dialog__title", id: `${this.componentId}-title` }, h("slot", { key: '3cd726aaebef3f72bcfda02cbd98c16c38fd6d6e', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: 'e1110789a7bdb41cef385814d53bbed678aa99e8', exportparts: "base:close-button", class: "dialog__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: '7c0c4a8388d2e6ff53e8dffce614314c327c311d', part: "body", class: "dialog__body" }, h("slot", { key: 'ed90c7246c3922ef3ee0cea389879ff52c910120' })), h("footer", { key: 'cbc879ecfe209e9be681bbc8d34d2defb1cc6f45', part: "footer", class: "dialog__footer" }, h("slot", { key: '0d86102a449cef6ebaaf1c7738fd444e249bbe86', name: "footer", onSlotchange: this.handleSlotChange })))));
135
+ }, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '153379e70061e86842f65f3588329dc9c6d592db', part: "overlay", class: "dialog__overlay", onClick: this.handleOverlayClick }), h("div", { key: 'd0b78c413a70eeb6e6cbf75be7829a7d1f2ad715', 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: '94e7d993356ea718e1ed87d4fe9e1d3faf0574f8', part: "header", class: "dialog__header" }, h("span", { key: '600591c9266dda80c457f41c54c92a8134d89bb8', part: "title", class: "dialog__title", id: `${this.componentId}-title` }, h("slot", { key: '4ad2904648821134ce3851682768b01086a68359', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: '4d793b14b41f7d9c43d5f9949cba6bfe7c6a442c', exportparts: "base:close-button", class: "dialog__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: '729f6cc36802fccf46958b2c259213aa9369fb94', part: "body", class: "dialog__body" }, h("slot", { key: 'ba299ae12ba958c705a807639aee911167997b38' })), h("footer", { key: '92cb57fa4c4dc066a49dd259832e43be619cc945', part: "footer", class: "dialog__footer" }, h("slot", { key: '63ea68abef52d91c04608ad1bf6d508a31012ed9', name: "footer", onSlotchange: this.handleSlotChange })))));
130
136
  }
131
137
  get host() { return getElement(this); }
132
138
  static get watchers() { return {
@@ -1 +1 @@
1
- {"version":3,"file":"six-dialog.entry.js","sources":["src/components/six-dialog/six-dialog.scss?tag=six-dialog&encapsulation=shadow","src/components/six-dialog/six-dialog.tsx"],"sourcesContent":["@import 'src/global/component';\n@import 'src/global/mixins/hidden';\n\n/**\n * @prop --width: The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens.\n */\n:host {\n --width: 31rem;\n\n display: contents;\n}\n\n.dialog {\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: var(--six-z-index-dialog);\n color: var(--six-color-web-rock-900);\n\n &:not(.dialog--visible) {\n @include hidden;\n }\n}\n\n.dialog__panel {\n display: flex;\n flex-direction: column;\n z-index: 2;\n width: var(--width);\n max-width: calc(100% - var(--six-spacing-xx-large));\n max-height: calc(100% - var(--six-spacing-xx-large));\n background-color: var(--six-panel-background-color);\n border-radius: var(--six-border-radius-medium);\n box-shadow: var(--six-shadow-large);\n opacity: 0;\n transform: scale(0.8);\n transition: var(--six-transition-medium) opacity, var(--six-transition-medium) transform;\n\n &:focus {\n outline: none;\n }\n}\n\n// Ensure there's enough vertical padding for phones that don't update vh when chrome appears (e.g. iPhone)\n@media screen and (max-width: 420px) {\n .dialog__panel {\n max-height: 80vh;\n }\n}\n\n.dialog--open .dialog__panel {\n display: flex;\n opacity: 1;\n transform: none;\n}\n\n.dialog__header {\n flex: 0 0 auto;\n display: flex;\n}\n\n.dialog__title {\n flex: 1 1 auto;\n font-size: var(--six-font-size-x-large);\n font-weight: var(--six-font-weight-bold);\n line-height: var(--six-line-height-dense);\n padding: var(--six-spacing-large) var(--six-spacing-large) var(--six-spacing-small);\n}\n\n.dialog__close {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-size: var(--six-font-size-x-large);\n padding: 0 var(--six-spacing-x-small);\n}\n\n.dialog__body {\n flex: 1 1 auto;\n padding: var(--six-spacing-small) var(--six-spacing-large) var(--six-spacing-large);\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n.dialog__footer {\n flex: 0 0 auto;\n text-align: right;\n padding: var(--six-spacing-large);\n\n ::slotted(six-button:not(:first-of-type)) {\n margin-left: var(--six-spacing-xx-small);\n }\n}\n\n.dialog:not(.dialog--has-footer) .dialog__footer {\n display: none;\n}\n\n.dialog__overlay {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--six-overlay-background-color);\n opacity: 0;\n transition: var(--six-transition-medium) opacity;\n}\n\n.dialog--open .dialog__overlay {\n opacity: 0.8;\n}\n","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"],"names":[],"mappings":";;;;;AAAA,MAAM,YAAY,GAAG,6rEAA6rE;;ACMltE,IAAI,EAAE,GAAG,CAAC;MA2BG,SAAS,GAAA,MAAA;AALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;;;AAMU,QAAA,IAAA,CAAA,WAAW,GAAG,UAAU,EAAE,EAAE,EAAE;AAI9B,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAChB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAIf,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AACjB,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;;AAGc,QAAA,IAAI,CAAA,IAAA,GAAG,KAAK;AAEpD;;;AAGG;AACK,QAAA,IAAK,CAAA,KAAA,GAAG,EAAE;AAElB;;;AAGG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAoGhB,QAAA,IAAgB,CAAA,gBAAA,GAAG,MAAK;YAC9B,IAAI,CAAC,IAAI,EAAE;AACb,SAAC;AAEO,QAAA,IAAA,CAAA,aAAa,GAAG,CAAC,KAAoB,KAAI;AAC/C,YAAA,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ,EAAE;gBAC1B,IAAI,CAAC,IAAI,EAAE;;AAEf,SAAC;AAEO,QAAA,IAAkB,CAAA,kBAAA,GAAG,MAAK;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AAA,CACpD,CACL,CACF;;;;;;;;;;;"}
1
+ {"version":3,"file":"six-dialog.entry.js","sources":["src/components/six-dialog/six-dialog.scss?tag=six-dialog&encapsulation=shadow","src/components/six-dialog/six-dialog.tsx"],"sourcesContent":["@import 'src/global/component';\n@import 'src/global/mixins/hidden';\n\n/**\n * @prop --width: The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens.\n */\n:host {\n --width: 31rem;\n\n display: contents;\n}\n\n.dialog {\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: var(--six-z-index-dialog);\n color: var(--six-color-web-rock-900);\n\n &:not(.dialog--visible) {\n @include hidden;\n }\n}\n\n.dialog__panel {\n display: flex;\n flex-direction: column;\n z-index: 2;\n width: var(--width);\n max-width: calc(100% - var(--six-spacing-xx-large));\n max-height: calc(100% - var(--six-spacing-xx-large));\n background-color: var(--six-panel-background-color);\n border-radius: var(--six-border-radius-medium);\n box-shadow: var(--six-shadow-large);\n opacity: 0;\n transform: scale(0.8);\n transition:\n var(--six-transition-medium) opacity,\n var(--six-transition-medium) transform;\n\n &:focus {\n outline: none;\n }\n}\n\n// Ensure there's enough vertical padding for phones that don't update vh when chrome appears (e.g. iPhone)\n@media screen and (max-width: 420px) {\n .dialog__panel {\n max-height: 80vh;\n }\n}\n\n.dialog--open .dialog__panel {\n display: flex;\n opacity: 1;\n transform: none;\n}\n\n.dialog__header {\n flex: 0 0 auto;\n display: flex;\n}\n\n.dialog__title {\n flex: 1 1 auto;\n font-size: var(--six-font-size-x-large);\n font-weight: var(--six-font-weight-bold);\n line-height: var(--six-line-height-dense);\n padding: var(--six-spacing-large) var(--six-spacing-large) var(--six-spacing-small);\n}\n\n.dialog__close {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-size: var(--six-font-size-x-large);\n padding: 0 var(--six-spacing-x-small);\n}\n\n.dialog__body {\n flex: 1 1 auto;\n padding: var(--six-spacing-small) var(--six-spacing-large) var(--six-spacing-large);\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n.dialog__footer {\n flex: 0 0 auto;\n text-align: right;\n padding: var(--six-spacing-large);\n\n ::slotted(six-button:not(:first-of-type)) {\n margin-left: var(--six-spacing-xx-small);\n }\n}\n\n.dialog:not(.dialog--has-footer) .dialog__footer {\n display: none;\n}\n\n.dialog__overlay {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--six-overlay-background-color);\n opacity: 0;\n transition: var(--six-transition-medium) opacity;\n}\n\n.dialog--open .dialog__overlay {\n opacity: 0.8;\n}\n","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';\nimport { animateTo } from '../../utils/animation';\n\nexport interface SixDialogRequestClose {\n source: 'close-button' | 'keyboard' | 'overlay';\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 - 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 /**\n * Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or\n * pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing\n * the drawer will result in destructive behavior such as data loss.\n */\n @Event({ eventName: 'six-dialog-request-close' }) sixRequestClose!: EventEmitter<SixDialogRequestClose>;\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.preventClose('close-button');\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.preventClose('keyboard');\n }\n };\n\n private handleOverlayClick = () => {\n this.preventClose('overlay');\n };\n\n private preventClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const sixRequestClose = this.sixRequestClose.emit({ source });\n\n if (sixRequestClose.defaultPrevented && this.panel) {\n animateTo(this.panel, [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }], { duration: 250 });\n return;\n }\n\n this.hide();\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"],"names":[],"mappings":";;;;;;AAAA,MAAM,YAAY,GAAG,6rEAA6rE;;ACWltE,IAAI,EAAE,GAAG,CAAC;MA2BG,SAAS,GAAA,MAAA;AALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;;;AAMU,QAAA,IAAA,CAAA,WAAW,GAAG,UAAU,EAAE,EAAE,EAAE;AAI9B,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAChB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAIf,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AACjB,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;;AAGc,QAAA,IAAI,CAAA,IAAA,GAAG,KAAK;AAEpD;;;AAGG;AACK,QAAA,IAAK,CAAA,KAAA,GAAG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AAA,EAAM,IAAI,EAAC,OAAO,EAAA,EAEf,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CACpC,CACF,EACP,CAAA,CAAA,iBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,WAAW,EAAC,mBAAmB,EAC/B,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAAA,CAC9B,CACK,CACV,EAED,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,cAAc,EAAA,EACnC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACJ,EAEN,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,gBAAgB,EAAA,EAC1C,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,EAAI,CAAA,CACpD,CACL,CACF;;;;;;;;;;;"}
@@ -1,7 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BF09Gr5y.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-D0Go1Zjj.js';
2
2
  import { u as unlockBodyScrolling, l as lockBodyScrolling } from './scroll-BY6hIEFX.js';
3
3
  import { h as hasSlot } from './slot-j3oIB5oT.js';
4
4
  import { M as Modal } from './modal-CfIoyvm-.js';
5
+ import { a as animateTo } from './animation-SLlDVtvF.js';
5
6
 
6
7
  const sixDrawerCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:border-box}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host{--size:25rem;display:contents}.drawer{top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.drawer:not(.drawer--visible){position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;pointer-events:none;visibility:hidden}.drawer--contained{position:absolute;z-index:initial}.drawer--fixed{position:fixed;z-index:var(--six-z-index-drawer)}.drawer__panel{position:absolute;display:flex;flex-direction:column;z-index:2;max-width:100%;max-height:100%;background-color:var(--six-drawer-background-color);color:var(--six-drawer-color);box-shadow:var(--six-shadow-large);transition:var(--six-transition-medium) transform;overflow:auto;pointer-events:all}.drawer__panel:focus{outline:none}.drawer--top .drawer__panel{top:0;right:auto;bottom:auto;left:0;width:100%;height:var(--size);transform:translate(0, -100%)}.drawer--right .drawer__panel{top:0;right:0;bottom:auto;left:auto;width:var(--size);height:100%;transform:translate(100%, 0)}.drawer--bottom .drawer__panel{top:auto;right:auto;bottom:0;left:0;width:100%;height:var(--size);transform:translate(0, 100%)}.drawer--left .drawer__panel{top:0;right:auto;bottom:auto;left:0;width:var(--size);height:100%;transform:translate(-100%, 0)}.drawer--open .drawer__panel{transform:none}.drawer__header{display:flex}.drawer__title{flex:1 1 auto;font-size:var(--six-font-size-large);line-height:var(--six-line-height-dense);padding:var(--six-spacing-large)}.drawer__close{flex:0 0 auto;display:flex;align-items:center;font-size:var(--six-font-size-x-large);padding:0 var(--six-spacing-large)}.drawer__body{flex:1 1 auto;padding:var(--six-spacing-large);overflow:auto;-webkit-overflow-scrolling:touch}.drawer__footer{text-align:right;padding:var(--six-spacing-large)}.drawer__footer ::slotted(six-button:not(:last-of-type)){margin-right:var(--six-spacing-x-small)}.drawer:not(.drawer--has-footer) .drawer__footer{display:none}.drawer__overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--six-overlay-background-color);opacity:0;transition:var(--six-transition-medium) opacity;pointer-events:all}.drawer--contained .drawer__overlay{position:absolute}.drawer--open .drawer__overlay{opacity:0.4}";
7
8
 
@@ -14,7 +15,7 @@ const SixDrawer = class {
14
15
  this.sixHide = createEvent(this, "six-drawer-hide");
15
16
  this.sixAfterHide = createEvent(this, "six-drawer-after-hide");
16
17
  this.sixInitialFocus = createEvent(this, "six-drawer-initial-focus");
17
- this.sixOverlayDismiss = createEvent(this, "six-drawer-overlay-dismiss");
18
+ this.sixRequestClose = createEvent(this, "six-drawer-request-close");
18
19
  this.componentId = `drawer-${++id}`;
19
20
  this.willShow = false;
20
21
  this.willHide = false;
@@ -40,18 +41,15 @@ const SixDrawer = class {
40
41
  */
41
42
  this.noHeader = false;
42
43
  this.handleCloseClick = () => {
43
- this.hide();
44
+ this.preventClose('close-button');
44
45
  };
45
46
  this.handleKeyDown = (event) => {
46
47
  if (event.key === 'Escape') {
47
- this.hide();
48
+ this.preventClose('keyboard');
48
49
  }
49
50
  };
50
51
  this.handleOverlayClick = () => {
51
- const sixOverlayDismiss = this.sixOverlayDismiss.emit();
52
- if (!sixOverlayDismiss.defaultPrevented) {
53
- this.hide();
54
- }
52
+ this.preventClose('overlay');
55
53
  };
56
54
  this.handleSlotChange = () => {
57
55
  this.hasFooter = hasSlot(this.host, 'footer');
@@ -129,6 +127,14 @@ const SixDrawer = class {
129
127
  this.modal.deactivate();
130
128
  unlockBodyScrolling(this.host);
131
129
  }
130
+ preventClose(source) {
131
+ const sixRequestClose = this.sixRequestClose.emit({ source });
132
+ if (sixRequestClose.defaultPrevented && this.panel) {
133
+ animateTo(this.panel, [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }], { duration: 250 });
134
+ return;
135
+ }
136
+ this.hide();
137
+ }
132
138
  resetTransitionVariables() {
133
139
  this.isVisible = this.open;
134
140
  this.willShow = false;
@@ -136,7 +142,7 @@ const SixDrawer = class {
136
142
  this.open ? this.sixAfterShow.emit() : this.sixAfterHide.emit();
137
143
  }
138
144
  render() {
139
- return (h("div", { key: 'f35600ecd84f97b647ab9cc98d56c360f2f03408', ref: (el) => (this.drawer = el), part: "base", class: {
145
+ return (h("div", { key: '17d045e1a06aa424bc59f7316525df73ae031227', ref: (el) => (this.drawer = el), part: "base", class: {
140
146
  drawer: true,
141
147
  'drawer--open': this.open,
142
148
  'drawer--visible': this.isVisible,
@@ -147,7 +153,7 @@ const SixDrawer = class {
147
153
  'drawer--contained': this.contained,
148
154
  'drawer--fixed': !this.contained,
149
155
  'drawer--has-footer': this.hasFooter,
150
- }, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '178e61c83b4c635041c51c89553ed834f6424cd2', part: "overlay", class: "drawer__overlay", onClick: this.handleOverlayClick, tabIndex: -1 }), h("div", { key: '71374a7cae137e002760f3ff5b5ee69ad4ac4675', 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: '3a66c231ad202b211c2df81b74a8a6e937be661b', part: "header", class: "drawer__header" }, h("span", { key: '80205d6fccb2510b23473dba6098462221f9d43e', part: "title", class: "drawer__title", id: `${this.componentId}-title` }, h("slot", { key: '13d986fb13c2cded9ce9980cf12da1b34de9ef28', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: 'd62b14dc24849d16f1dffbba0f98126fc95de336', exportparts: "base:close-button", class: "drawer__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: 'd0f5b6df5230e996d6b196095589a6629b271fab', part: "body", class: "drawer__body" }, h("slot", { key: '6eda0430f1fe27d28a85a6e689fbb9025ee773e7' })), h("footer", { key: '8c71f25b2bbb980a7aabee038ea4d7a58f177970', part: "footer", class: "drawer__footer" }, h("slot", { key: 'e7dfb09c1cd30deccfd30ce28849e32cdaebe69f', name: "footer", onSlotchange: this.handleSlotChange })))));
156
+ }, onKeyDown: this.handleKeyDown, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '804fcb75cc49156bfcb6af8958a40c33c20f8202', part: "overlay", class: "drawer__overlay", onClick: this.handleOverlayClick, tabIndex: -1 }), h("div", { key: 'e5095b200d370fe98163b3f0fa2bbf42ece7fa5f', 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: 'c479cfa062277a6f1cf0f7433cff73e94139faea', part: "header", class: "drawer__header" }, h("span", { key: '8d60e0eb1cecc9c8f2091b5b8c9aefaa2aac3c91', part: "title", class: "drawer__title", id: `${this.componentId}-title` }, h("slot", { key: '26c5fb0feb42c9db7625e98f10cd5cbd0acfd742', name: "label" }, this.label || String.fromCharCode(65279))), h("six-icon-button", { key: '454ee7cea511b470ae224c6559ee99f10e9cf095', exportparts: "base:close-button", class: "drawer__close", name: "close", onClick: this.handleCloseClick }))), h("div", { key: '4f07be9128e7d2a292298b3e22ec0e5105adc3f3', part: "body", class: "drawer__body" }, h("slot", { key: '856a4bd2ee8dacc8b6124d87d8e501a8bd8c3f23' })), h("footer", { key: '721ca11e6b5470d2170d9bc929ba2d973faf9117', part: "footer", class: "drawer__footer" }, h("slot", { key: 'afb8d35c7fee0fa3e9833ea1b381c2d81f8cb5b0', name: "footer", onSlotchange: this.handleSlotChange })))));
151
157
  }
152
158
  get host() { return getElement(this); }
153
159
  static get watchers() { return {
@@ -1 +1 @@
1
- {"version":3,"file":"six-drawer.entry.js","sources":["src/components/six-drawer/six-drawer.scss?tag=six-drawer&encapsulation=shadow","src/components/six-drawer/six-drawer.tsx"],"sourcesContent":["@import 'src/global/component';\n@import 'src/global/mixins/hidden';\n\n/**\n * @prop --size: The preferred size of the drawer. This will be applied to the drawer's width or height depending on its\n * `placement`. Note that the drawer will shrink to accommodate smaller screens.\n */\n:host {\n --size: 25rem;\n\n display: contents;\n}\n\n.drawer {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n overflow: hidden;\n\n &:not(.drawer--visible) {\n @include hidden;\n }\n}\n\n.drawer--contained {\n position: absolute;\n z-index: initial;\n}\n\n.drawer--fixed {\n position: fixed;\n z-index: var(--six-z-index-drawer);\n}\n\n.drawer__panel {\n position: absolute;\n display: flex;\n flex-direction: column;\n z-index: 2;\n max-width: 100%;\n max-height: 100%;\n background-color: var(--six-drawer-background-color);\n color: var(--six-drawer-color);\n box-shadow: var(--six-shadow-large);\n transition: var(--six-transition-medium) transform;\n overflow: auto;\n pointer-events: all;\n\n &:focus {\n outline: none;\n }\n}\n\n.drawer--top .drawer__panel {\n top: 0;\n right: auto;\n bottom: auto;\n left: 0;\n width: 100%;\n height: var(--size);\n transform: translate(0, -100%);\n}\n\n.drawer--right .drawer__panel {\n top: 0;\n right: 0;\n bottom: auto;\n left: auto;\n width: var(--size);\n height: 100%;\n transform: translate(100%, 0);\n}\n\n.drawer--bottom .drawer__panel {\n top: auto;\n right: auto;\n bottom: 0;\n left: 0;\n width: 100%;\n height: var(--size);\n transform: translate(0, 100%);\n}\n\n.drawer--left .drawer__panel {\n top: 0;\n right: auto;\n bottom: auto;\n left: 0;\n width: var(--size);\n height: 100%;\n transform: translate(-100%, 0);\n}\n\n.drawer--open .drawer__panel {\n // don't use translate here or it will cause problems with popovers inside the drawer e.g. dropdown, select etc.\n transform: none;\n}\n\n.drawer__header {\n display: flex;\n}\n\n.drawer__title {\n flex: 1 1 auto;\n font-size: var(--six-font-size-large);\n line-height: var(--six-line-height-dense);\n padding: var(--six-spacing-large);\n}\n\n.drawer__close {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-size: var(--six-font-size-x-large);\n padding: 0 var(--six-spacing-large);\n}\n\n.drawer__body {\n flex: 1 1 auto;\n padding: var(--six-spacing-large);\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n.drawer__footer {\n text-align: right;\n padding: var(--six-spacing-large);\n\n ::slotted(six-button:not(:last-of-type)) {\n margin-right: var(--six-spacing-x-small);\n }\n}\n\n.drawer:not(.drawer--has-footer) .drawer__footer {\n display: none;\n}\n\n.drawer__overlay {\n display: block;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--six-overlay-background-color);\n opacity: 0;\n transition: var(--six-transition-medium) opacity;\n pointer-events: all;\n}\n\n.drawer--contained .drawer__overlay {\n position: absolute;\n}\n\n.drawer--open .drawer__overlay {\n opacity: 0.4;\n}\n","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"],"names":[],"mappings":";;;;;AAAA,MAAM,YAAY,GAAG,q5EAAq5E;;ACM16E,IAAI,EAAE,GAAG,CAAC;MA2BG,SAAS,GAAA,MAAA;AALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;;;AAMU,QAAA,IAAA,CAAA,WAAW,GAAG,UAAU,EAAE,EAAE,EAAE;AAI9B,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAChB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAIf,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AACjB,QAAA,IAAS,CAAA,SAAA,GAAG,K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,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,gBAAgB,EAAA,EAC1C,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,eAAe,EAAC,EAAE,EAAE,GAAG,IAAI,CAAC,WAAW,CAAA,MAAA,CAAQ,EAAA,EACtE,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,OAAO,EAAA,EAEf,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CACpC,CACF,EACP,CAAA,CAAA,iBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,WAAW,EAAC,mBAAmB,EAC/B,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAAA,CAC9B,CACK,CACV,EAED,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,cAAc,EAAA,EACnC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACJ,EAEN,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,gBAAgB,EAAA,EAC1C,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,EAAI,CAAA,CACpD,CACL,CACF;;;;;;;;;;;"}
1
+ {"version":3,"file":"six-drawer.entry.js","sources":["src/components/six-drawer/six-drawer.scss?tag=six-drawer&encapsulation=shadow","src/components/six-drawer/six-drawer.tsx"],"sourcesContent":["@import 'src/global/component';\n@import 'src/global/mixins/hidden';\n\n/**\n * @prop --size: The preferred size of the drawer. This will be applied to the drawer's width or height depending on its\n * `placement`. Note that the drawer will shrink to accommodate smaller screens.\n */\n:host {\n --size: 25rem;\n\n display: contents;\n}\n\n.drawer {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n overflow: hidden;\n\n &:not(.drawer--visible) {\n @include hidden;\n }\n}\n\n.drawer--contained {\n position: absolute;\n z-index: initial;\n}\n\n.drawer--fixed {\n position: fixed;\n z-index: var(--six-z-index-drawer);\n}\n\n.drawer__panel {\n position: absolute;\n display: flex;\n flex-direction: column;\n z-index: 2;\n max-width: 100%;\n max-height: 100%;\n background-color: var(--six-drawer-background-color);\n color: var(--six-drawer-color);\n box-shadow: var(--six-shadow-large);\n transition: var(--six-transition-medium) transform;\n overflow: auto;\n pointer-events: all;\n\n &:focus {\n outline: none;\n }\n}\n\n.drawer--top .drawer__panel {\n top: 0;\n right: auto;\n bottom: auto;\n left: 0;\n width: 100%;\n height: var(--size);\n transform: translate(0, -100%);\n}\n\n.drawer--right .drawer__panel {\n top: 0;\n right: 0;\n bottom: auto;\n left: auto;\n width: var(--size);\n height: 100%;\n transform: translate(100%, 0);\n}\n\n.drawer--bottom .drawer__panel {\n top: auto;\n right: auto;\n bottom: 0;\n left: 0;\n width: 100%;\n height: var(--size);\n transform: translate(0, 100%);\n}\n\n.drawer--left .drawer__panel {\n top: 0;\n right: auto;\n bottom: auto;\n left: 0;\n width: var(--size);\n height: 100%;\n transform: translate(-100%, 0);\n}\n\n.drawer--open .drawer__panel {\n // don't use translate here or it will cause problems with popovers inside the drawer e.g. dropdown, select etc.\n transform: none;\n}\n\n.drawer__header {\n display: flex;\n}\n\n.drawer__title {\n flex: 1 1 auto;\n font-size: var(--six-font-size-large);\n line-height: var(--six-line-height-dense);\n padding: var(--six-spacing-large);\n}\n\n.drawer__close {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-size: var(--six-font-size-x-large);\n padding: 0 var(--six-spacing-large);\n}\n\n.drawer__body {\n flex: 1 1 auto;\n padding: var(--six-spacing-large);\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n.drawer__footer {\n text-align: right;\n padding: var(--six-spacing-large);\n\n ::slotted(six-button:not(:last-of-type)) {\n margin-right: var(--six-spacing-x-small);\n }\n}\n\n.drawer:not(.drawer--has-footer) .drawer__footer {\n display: none;\n}\n\n.drawer__overlay {\n display: block;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--six-overlay-background-color);\n opacity: 0;\n transition: var(--six-transition-medium) opacity;\n pointer-events: all;\n}\n\n.drawer--contained .drawer__overlay {\n position: absolute;\n}\n\n.drawer--open .drawer__overlay {\n opacity: 0.4;\n}\n","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';\nimport { animateTo } from '../../utils/animation';\n\nexport interface SixDrawerRequestClose {\n source: 'close-button' | 'keyboard' | 'overlay';\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 - 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 /**\n * Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or\n * pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing\n * the drawer will result in destructive behavior such as data loss.\n */\n @Event({ eventName: 'six-drawer-request-close' }) sixRequestClose!: EventEmitter<SixDrawerRequestClose>;\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.preventClose('close-button');\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n this.preventClose('keyboard');\n }\n };\n\n private handleOverlayClick = () => {\n this.preventClose('overlay');\n };\n\n private preventClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const sixRequestClose = this.sixRequestClose.emit({ source });\n\n if (sixRequestClose.defaultPrevented && this.panel) {\n animateTo(this.panel, [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }], { duration: 250 });\n return;\n }\n\n this.hide();\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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