@getflip/swirl-components-react 0.115.0 → 0.117.0

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 (285) hide show
  1. package/dist/{file-manager.entry.0ae3b559.js → file-manager.entry.b3d9b3fd.js} +1 -1
  2. package/dist/focus-trap.esm-37cd2d2b.724cca66.js +452 -0
  3. package/dist/{index.0853091f.js → index.ce01650f.js} +284 -298
  4. package/dist/stencil-generated/index.d.ts +1 -0
  5. package/dist/{swirl-accordion-item.entry.7cfdfdc7.js → swirl-accordion-item.entry.c71e99a8.js} +1 -1
  6. package/dist/{swirl-accordion.entry.c4b91880.js → swirl-accordion.entry.617c49a4.js} +1 -1
  7. package/dist/{swirl-action-list-section.entry.f3efba93.js → swirl-action-list-section.entry.368836a7.js} +1 -1
  8. package/dist/{swirl-action-list_3.entry.dca4fc37.js → swirl-action-list_3.entry.5451db16.js} +1 -1
  9. package/dist/{swirl-app-bar.entry.80bd9daa.js → swirl-app-bar.entry.dd3f8b8c.js} +8 -8
  10. package/dist/swirl-app-icon.entry.f18236de.js +23 -0
  11. package/dist/{swirl-app-layout_6.entry.f452d794.js → swirl-app-layout_6.entry.334ed582.js} +7 -7
  12. package/dist/{swirl-autocomplete.entry.f8dc063f.js → swirl-autocomplete.entry.96ae042c.js} +1 -1
  13. package/dist/{swirl-avatar-group.entry.51bf8c79.js → swirl-avatar-group.entry.e695f843.js} +1 -1
  14. package/dist/{swirl-avatar.entry.8c1c5e4d.js → swirl-avatar.entry.20be0743.js} +1 -1
  15. package/dist/swirl-badge.entry.f533d716.js +19 -0
  16. package/dist/{swirl-banner.entry.880112b9.js → swirl-banner.entry.103c0d27.js} +1 -1
  17. package/dist/{swirl-box.entry.57abfe37.js → swirl-box.entry.df3b159b.js} +1 -1
  18. package/dist/{swirl-button-group.entry.a60390d8.js → swirl-button-group.entry.e8cd7707.js} +1 -1
  19. package/dist/{swirl-button.entry.677dbd3e.js → swirl-button.entry.41d6e40e.js} +1 -1
  20. package/dist/{swirl-card.entry.8f51c408.js → swirl-card.entry.53349fbf.js} +1 -1
  21. package/dist/{swirl-carousel-slide.entry.29d4364f.js → swirl-carousel-slide.entry.4f223981.js} +1 -1
  22. package/dist/{swirl-carousel.entry.b8189cd2.js → swirl-carousel.entry.a3e2c06d.js} +1 -1
  23. package/dist/{swirl-checkbox.entry.e405c689.js → swirl-checkbox.entry.669208b4.js} +1 -1
  24. package/dist/{swirl-chip.entry.ba9f440c.js → swirl-chip.entry.795a2695.js} +1 -1
  25. package/dist/{swirl-color-input.entry.541e6c36.js → swirl-color-input.entry.d1e35209.js} +1 -1
  26. package/dist/{swirl-columns.entry.1ebaadd8.js → swirl-columns.entry.1d1dc24e.js} +1 -1
  27. package/dist/swirl-components-react.js +219 -218
  28. package/dist/swirl-components-react.umd.cjs +100 -89
  29. package/dist/{swirl-console-layout.entry.7ac32325.js → swirl-console-layout.entry.25b5b228.js} +1 -1
  30. package/dist/{swirl-date-input.entry.77e13eaf.js → swirl-date-input.entry.771dc717.js} +1 -1
  31. package/dist/{swirl-date-picker_2.entry.b087329b.js → swirl-date-picker_2.entry.2a88c04c.js} +1 -1
  32. package/dist/{swirl-description-list-item.entry.6c1fe5f4.js → swirl-description-list-item.entry.a8eb806f.js} +1 -1
  33. package/dist/{swirl-description-list.entry.a36b5189.js → swirl-description-list.entry.277952d9.js} +1 -1
  34. package/dist/{swirl-dialog.entry.7916d8a9.js → swirl-dialog.entry.8b5495e9.js} +1 -1
  35. package/dist/{swirl-emoji-clap.entry.a34f1f7e.js → swirl-emoji-clap.entry.f2d79979.js} +1 -1
  36. package/dist/{swirl-emoji-happy.entry.56d74434.js → swirl-emoji-happy.entry.7eead4df.js} +1 -1
  37. package/dist/{swirl-emoji-idea.entry.6e9558cb.js → swirl-emoji-idea.entry.e418642e.js} +1 -1
  38. package/dist/{swirl-emoji-love.entry.ce700926.js → swirl-emoji-love.entry.023593e2.js} +1 -1
  39. package/dist/{swirl-emoji-sad.entry.a91e116b.js → swirl-emoji-sad.entry.54657d88.js} +1 -1
  40. package/dist/{swirl-emoji-thumbs-up.entry.a1466d45.js → swirl-emoji-thumbs-up.entry.530c2e4a.js} +1 -1
  41. package/dist/{swirl-emoji.entry.2fab3ddb.js → swirl-emoji.entry.0ae2fb1a.js} +1 -1
  42. package/dist/{swirl-file-uploader.entry.6428ee88.js → swirl-file-uploader.entry.e0674383.js} +1 -1
  43. package/dist/{swirl-file-viewer_7.entry.5caf99e2.js → swirl-file-viewer_7.entry.5f405efc.js} +6 -6
  44. package/dist/{swirl-form-control.entry.280ad556.js → swirl-form-control.entry.03098957.js} +1 -1
  45. package/dist/{swirl-form-group.entry.459c7bf8.js → swirl-form-group.entry.1eb1c8b1.js} +1 -1
  46. package/dist/{swirl-heading.entry.e096d59b.js → swirl-heading.entry.6473f0b8.js} +1 -1
  47. package/dist/{swirl-icon-add-photo.entry.32dba42f.js → swirl-icon-add-photo.entry.4bd59519.js} +1 -1
  48. package/dist/{swirl-icon-add-reaction.entry.bed8aca8.js → swirl-icon-add-reaction.entry.ec269799.js} +1 -1
  49. package/dist/{swirl-icon-add_6.entry.f60d2ed0.js → swirl-icon-add_6.entry.10f8a7f8.js} +1 -1
  50. package/dist/{swirl-icon-admin-panel-settings.entry.feab78f2.js → swirl-icon-admin-panel-settings.entry.3093b8ed.js} +1 -1
  51. package/dist/{swirl-icon-ai.entry.1188a279.js → swirl-icon-ai.entry.1b648d94.js} +1 -1
  52. package/dist/{swirl-icon-apps.entry.a6dc724c.js → swirl-icon-apps.entry.9cb39468.js} +1 -1
  53. package/dist/swirl-icon-arrow-back_5.entry.f9293824.js +61 -0
  54. package/dist/{swirl-icon-arrow-downward_2.entry.75e75c76.js → swirl-icon-arrow-downward_2.entry.4a41811f.js} +1 -1
  55. package/dist/{swirl-icon-arrow-left_4.entry.41766a32.js → swirl-icon-arrow-left_4.entry.43b18b8d.js} +1 -1
  56. package/dist/{swirl-icon-arrow-right-small.entry.d42e674d.js → swirl-icon-arrow-right-small.entry.93ae585c.js} +1 -1
  57. package/dist/{swirl-icon-attachment.entry.4a42d80a.js → swirl-icon-attachment.entry.b1ecef81.js} +1 -1
  58. package/dist/{swirl-icon-bar-chart.entry.69f656c1.js → swirl-icon-bar-chart.entry.730ec371.js} +1 -1
  59. package/dist/{swirl-icon-block.entry.47549c85.js → swirl-icon-block.entry.af996d46.js} +1 -1
  60. package/dist/{swirl-icon-bookmark.entry.8741c000.js → swirl-icon-bookmark.entry.49e78ab1.js} +1 -1
  61. package/dist/{swirl-icon-cancel_4.entry.6f4c9013.js → swirl-icon-cancel_4.entry.a35dfb84.js} +1 -1
  62. package/dist/{swirl-icon-chat-bubble.entry.59e5d2de.js → swirl-icon-chat-bubble.entry.04b13dea.js} +1 -1
  63. package/dist/{swirl-icon-chats-filled.entry.bc376d53.js → swirl-icon-chats-filled.entry.cfa50481.js} +1 -1
  64. package/dist/{swirl-icon-chats-outlined.entry.3e03bcec.js → swirl-icon-chats-outlined.entry.6ed7e4f7.js} +1 -1
  65. package/dist/{swirl-icon-check-circle_2.entry.3221c9cc.js → swirl-icon-check-circle_2.entry.fdd07865.js} +1 -1
  66. package/dist/{swirl-icon-check-small_3.entry.4430b368.js → swirl-icon-check-small_3.entry.7e6f2df7.js} +1 -1
  67. package/dist/{swirl-icon-check-strong.entry.d825ea02.js → swirl-icon-check-strong.entry.ed4bd21d.js} +1 -1
  68. package/dist/{swirl-icon-check.entry.fc427abf.js → swirl-icon-check.entry.e4ccf646.js} +1 -1
  69. package/dist/{swirl-icon-chevron-left.entry.26b34948.js → swirl-icon-chevron-left.entry.2d790776.js} +1 -1
  70. package/dist/{swirl-icon-chevron-right.entry.480a10b5.js → swirl-icon-chevron-right.entry.5e0cd943.js} +1 -1
  71. package/dist/{swirl-icon-close-small.entry.ae69a84d.js → swirl-icon-close-small.entry.292a796d.js} +1 -1
  72. package/dist/{swirl-icon-close.entry.b9502941.js → swirl-icon-close.entry.a7b2f2cc.js} +1 -1
  73. package/dist/{swirl-icon-cloud-upload.entry.1b1ed133.js → swirl-icon-cloud-upload.entry.6aecc1eb.js} +1 -1
  74. package/dist/{swirl-icon-column.entry.39430404.js → swirl-icon-column.entry.552adde9.js} +1 -1
  75. package/dist/{swirl-icon-comment.entry.b889f092.js → swirl-icon-comment.entry.0c2bb46b.js} +1 -1
  76. package/dist/{swirl-icon-copy.entry.63bf2be7.js → swirl-icon-copy.entry.5003ae0c.js} +1 -1
  77. package/dist/{swirl-icon-date-range.entry.56d00476.js → swirl-icon-date-range.entry.4942555d.js} +1 -1
  78. package/dist/{swirl-icon-delete.entry.d88ff225.js → swirl-icon-delete.entry.781b1b87.js} +1 -1
  79. package/dist/{swirl-icon-description.entry.340b3508.js → swirl-icon-description.entry.6eb4b43d.js} +1 -1
  80. package/dist/{swirl-icon-discover.entry.e2e1df15.js → swirl-icon-discover.entry.a989ed5a.js} +1 -1
  81. package/dist/swirl-icon-dock-left.entry.951b62b1.js +17 -0
  82. package/dist/{swirl-icon-download.entry.03537800.js → swirl-icon-download.entry.bbd0759b.js} +1 -1
  83. package/dist/{swirl-icon-edit.entry.ebf74dae.js → swirl-icon-edit.entry.c65a4970.js} +1 -1
  84. package/dist/{swirl-icon-emoji-mood.entry.dae74f92.js → swirl-icon-emoji-mood.entry.6355d922.js} +1 -1
  85. package/dist/{swirl-icon-emoji-satisfied.entry.84319c33.js → swirl-icon-emoji-satisfied.entry.74d645d9.js} +1 -1
  86. package/dist/{swirl-icon-error_3.entry.deed36c1.js → swirl-icon-error_3.entry.9d10a6c9.js} +1 -1
  87. package/dist/{swirl-icon-expand-more.entry.f3aaa6ba.js → swirl-icon-expand-more.entry.da0e4cb8.js} +1 -1
  88. package/dist/{swirl-icon-filter.entry.da5fd0d2.js → swirl-icon-filter.entry.581f223f.js} +1 -1
  89. package/dist/{swirl-icon-folder.entry.5c13862b.js → swirl-icon-folder.entry.8cad2c3b.js} +1 -1
  90. package/dist/{swirl-icon-format-h-one.entry.64aa5135.js → swirl-icon-format-h-one.entry.8ec70dc8.js} +1 -1
  91. package/dist/{swirl-icon-gif.entry.af0abccd.js → swirl-icon-gif.entry.b9ff3aad.js} +1 -1
  92. package/dist/{swirl-icon-group-add.entry.a4ec5a10.js → swirl-icon-group-add.entry.c94e08d9.js} +1 -1
  93. package/dist/{swirl-icon-group-assign.entry.98eca507.js → swirl-icon-group-assign.entry.6e98face.js} +1 -1
  94. package/dist/{swirl-icon-groups-custom.entry.71ad3dd4.js → swirl-icon-groups-custom.entry.7be0cfaf.js} +1 -1
  95. package/dist/{swirl-icon-groups-filled.entry.6342360c.js → swirl-icon-groups-filled.entry.7867df7c.js} +1 -1
  96. package/dist/{swirl-icon-groups-outlined.entry.6a5ba458.js → swirl-icon-groups-outlined.entry.3afa77a2.js} +1 -1
  97. package/dist/{swirl-icon-groups.entry.524c0353.js → swirl-icon-groups.entry.dd1eb558.js} +1 -1
  98. package/dist/{swirl-icon-help.entry.8ade4ed9.js → swirl-icon-help.entry.21628e20.js} +1 -1
  99. package/dist/{swirl-icon-highlight.entry.c77b0aa4.js → swirl-icon-highlight.entry.3a5e2528.js} +1 -1
  100. package/dist/{swirl-icon-home.entry.2c616310.js → swirl-icon-home.entry.65379e49.js} +1 -1
  101. package/dist/{swirl-icon-image.entry.c06b598b.js → swirl-icon-image.entry.d530d4cd.js} +1 -1
  102. package/dist/{swirl-icon-improve-text.entry.b00e9cc5.js → swirl-icon-improve-text.entry.a173b8ff.js} +1 -1
  103. package/dist/{swirl-icon-info.entry.cdd7a7ef.js → swirl-icon-info.entry.da230039.js} +1 -1
  104. package/dist/{swirl-icon-insert-below.entry.899736f4.js → swirl-icon-insert-below.entry.fde71ecb.js} +1 -1
  105. package/dist/{swirl-icon-insert-on-top.entry.f1e95e8a.js → swirl-icon-insert-on-top.entry.f2e9d4be.js} +1 -1
  106. package/dist/{swirl-icon-inventory.entry.a76c64fe.js → swirl-icon-inventory.entry.5cfda6cf.js} +1 -1
  107. package/dist/{swirl-icon-like.entry.5b507430.js → swirl-icon-like.entry.e6ee42c4.js} +1 -1
  108. package/dist/{swirl-icon-link.entry.5fdac37a.js → swirl-icon-link.entry.510d2204.js} +1 -1
  109. package/dist/{swirl-icon-lock-person.entry.bc8b1f7c.js → swirl-icon-lock-person.entry.008a1935.js} +1 -1
  110. package/dist/{swirl-icon-lock.entry.970cdbae.js → swirl-icon-lock.entry.e80103d3.js} +1 -1
  111. package/dist/{swirl-icon-logout.entry.6229a1c5.js → swirl-icon-logout.entry.613a5da1.js} +1 -1
  112. package/dist/{swirl-icon-long-text.entry.947fa15c.js → swirl-icon-long-text.entry.cc9a6f0c.js} +1 -1
  113. package/dist/{swirl-icon-mail.entry.5ec3b990.js → swirl-icon-mail.entry.b80c76ca.js} +1 -1
  114. package/dist/{swirl-icon-manage-accounts.entry.24ebed3b.js → swirl-icon-manage-accounts.entry.37083b1d.js} +1 -1
  115. package/dist/{swirl-icon-mark-chat-read.entry.d69433e9.js → swirl-icon-mark-chat-read.entry.d7d00034.js} +1 -1
  116. package/dist/{swirl-icon-mark-chat-unread.entry.d6eff3d8.js → swirl-icon-mark-chat-unread.entry.78d55a02.js} +1 -1
  117. package/dist/{swirl-icon-mention.entry.7a5950c4.js → swirl-icon-mention.entry.71fdabc0.js} +1 -1
  118. package/dist/{swirl-icon-menu-filled.entry.2b253a57.js → swirl-icon-menu-filled.entry.14646d20.js} +1 -1
  119. package/dist/{swirl-icon-menu-outlined.entry.d19c64e7.js → swirl-icon-menu-outlined.entry.84793b26.js} +1 -1
  120. package/dist/{swirl-icon-message.entry.4edd045a.js → swirl-icon-message.entry.2d755152.js} +1 -1
  121. package/dist/{swirl-icon-mic.entry.c68e7498.js → swirl-icon-mic.entry.1d63c06c.js} +1 -1
  122. package/dist/{swirl-icon-more-horizontal.entry.21758da5.js → swirl-icon-more-horizontal.entry.7332ae9a.js} +1 -1
  123. package/dist/{swirl-icon-news-filled.entry.db11dabd.js → swirl-icon-news-filled.entry.dd036ebf.js} +1 -1
  124. package/dist/{swirl-icon-news-outlined.entry.622b7863.js → swirl-icon-news-outlined.entry.393fcd76.js} +1 -1
  125. package/dist/{swirl-icon-notifications-active.entry.9092c7b7.js → swirl-icon-notifications-active.entry.6d56eb4f.js} +1 -1
  126. package/dist/{swirl-icon-notifications-off.entry.bd365888.js → swirl-icon-notifications-off.entry.da0cd2b1.js} +1 -1
  127. package/dist/{swirl-icon-notifications.entry.83fef43f.js → swirl-icon-notifications.entry.4be91959.js} +1 -1
  128. package/dist/{swirl-icon-open-in-full.entry.7d743de9.js → swirl-icon-open-in-full.entry.11d114ee.js} +1 -1
  129. package/dist/{swirl-icon-open-in-new.entry.9454025d.js → swirl-icon-open-in-new.entry.bedb1a60.js} +1 -1
  130. package/dist/{swirl-icon-pause-circle.entry.12866e15.js → swirl-icon-pause-circle.entry.f29747d2.js} +1 -1
  131. package/dist/{swirl-icon-pause.entry.e7e1bd48.js → swirl-icon-pause.entry.3c1e5548.js} +1 -1
  132. package/dist/{swirl-icon-people-alt.entry.1f7e0a57.js → swirl-icon-people-alt.entry.79edb179.js} +1 -1
  133. package/dist/{swirl-icon-person-off.entry.94ac58aa.js → swirl-icon-person-off.entry.e8cb1db3.js} +1 -1
  134. package/dist/{swirl-icon-person.entry.38f41235.js → swirl-icon-person.entry.bb65a372.js} +1 -1
  135. package/dist/{swirl-icon-phone.entry.88fbe162.js → swirl-icon-phone.entry.db658213.js} +1 -1
  136. package/dist/{swirl-icon-play-arrow.entry.b37f4271.js → swirl-icon-play-arrow.entry.24629af5.js} +1 -1
  137. package/dist/{swirl-icon-poll.entry.17ac5e69.js → swirl-icon-poll.entry.79377157.js} +1 -1
  138. package/dist/{swirl-icon-print.entry.062f8004.js → swirl-icon-print.entry.e9b02b2d.js} +1 -1
  139. package/dist/{swirl-icon-recieved.entry.31d10311.js → swirl-icon-recieved.entry.293efe78.js} +1 -1
  140. package/dist/{swirl-icon-reply.entry.2dc3bf2a.js → swirl-icon-reply.entry.3668181b.js} +1 -1
  141. package/dist/{swirl-icon-report.entry.9058b992.js → swirl-icon-report.entry.cf495af7.js} +1 -1
  142. package/dist/{swirl-icon-roadmap.entry.1aa50bf4.js → swirl-icon-roadmap.entry.bce9366f.js} +1 -1
  143. package/dist/{swirl-icon-search-strong.entry.ebd98ebd.js → swirl-icon-search-strong.entry.0c726e7f.js} +1 -1
  144. package/dist/{swirl-icon-search.entry.0e7ba6f4.js → swirl-icon-search.entry.ecfcaf0c.js} +1 -1
  145. package/dist/{swirl-icon-secure.entry.015b3647.js → swirl-icon-secure.entry.33790d8e.js} +1 -1
  146. package/dist/{swirl-icon-send.entry.0c9625fd.js → swirl-icon-send.entry.e6558ad2.js} +1 -1
  147. package/dist/{swirl-icon-settings.entry.fbd920fc.js → swirl-icon-settings.entry.cc829226.js} +1 -1
  148. package/dist/{swirl-icon-short-text.entry.d2ddde15.js → swirl-icon-short-text.entry.a47a43ca.js} +1 -1
  149. package/dist/{swirl-icon-simplify.entry.848cfc5b.js → swirl-icon-simplify.entry.c4f74821.js} +1 -1
  150. package/dist/{swirl-icon-spellcheck.entry.8cf32d75.js → swirl-icon-spellcheck.entry.b8cc7d49.js} +1 -1
  151. package/dist/{swirl-icon-stop.entry.592541e2.js → swirl-icon-stop.entry.60e1da6d.js} +1 -1
  152. package/dist/{swirl-icon-sync.entry.1d24a4c1.js → swirl-icon-sync.entry.8185be19.js} +1 -1
  153. package/dist/{swirl-icon-tasks-filled.entry.5c9dad2a.js → swirl-icon-tasks-filled.entry.dd4e9b8a.js} +1 -1
  154. package/dist/{swirl-icon-tasks-outlined.entry.55a1648e.js → swirl-icon-tasks-outlined.entry.2e4fbfe3.js} +1 -1
  155. package/dist/{swirl-icon-time-filled.entry.6e923cf4.js → swirl-icon-time-filled.entry.af2ee160.js} +1 -1
  156. package/dist/{swirl-icon-time-outlined.entry.5b3a42ce.js → swirl-icon-time-outlined.entry.ec93bb57.js} +1 -1
  157. package/dist/{swirl-icon-translate.entry.94a33385.js → swirl-icon-translate.entry.9c93aa99.js} +1 -1
  158. package/dist/{swirl-icon-tree-structure.entry.cc586f75.js → swirl-icon-tree-structure.entry.9223e0a0.js} +1 -1
  159. package/dist/{swirl-icon-undo.entry.08252178.js → swirl-icon-undo.entry.45e4f032.js} +1 -1
  160. package/dist/{swirl-icon-unlock-person.entry.b1af0266.js → swirl-icon-unlock-person.entry.1d8b2fc0.js} +1 -1
  161. package/dist/{swirl-icon-user-add.entry.95699479.js → swirl-icon-user-add.entry.a6dde3e6.js} +1 -1
  162. package/dist/{swirl-icon-user-assign.entry.34b77315.js → swirl-icon-user-assign.entry.0ab1395b.js} +1 -1
  163. package/dist/{swirl-icon-video-camera.entry.2e25b182.js → swirl-icon-video-camera.entry.1243d0b6.js} +1 -1
  164. package/dist/{swirl-icon-video-library.entry.1320f6e5.js → swirl-icon-video-library.entry.ffb851df.js} +1 -1
  165. package/dist/{swirl-icon-voice.entry.22da9e95.js → swirl-icon-voice.entry.8acad7e0.js} +1 -1
  166. package/dist/{swirl-icon.entry.e48b516b.js → swirl-icon.entry.90f02159.js} +1 -1
  167. package/dist/{swirl-image-grid-item.entry.970c7611.js → swirl-image-grid-item.entry.d58d44e2.js} +1 -1
  168. package/dist/{swirl-image-grid.entry.6df72db1.js → swirl-image-grid.entry.1bd3ec72.js} +1 -1
  169. package/dist/{swirl-inline-notification.entry.221befaf.js → swirl-inline-notification.entry.81ab1dd5.js} +1 -1
  170. package/dist/{swirl-inline-status.entry.ce8b7788.js → swirl-inline-status.entry.b32d3ec9.js} +1 -1
  171. package/dist/{swirl-lightbox.entry.9922150e.js → swirl-lightbox.entry.6be36eb9.js} +1 -1
  172. package/dist/{swirl-link.entry.98cc3d75.js → swirl-link.entry.c97cca88.js} +1 -1
  173. package/dist/{swirl-list.entry.9ad50cb6.js → swirl-list.entry.84f6012f.js} +1 -1
  174. package/dist/{swirl-menu-item.entry.fa857262.js → swirl-menu-item.entry.abdbe238.js} +1 -1
  175. package/dist/{swirl-menu.entry.257f007d.js → swirl-menu.entry.fc0dd8a3.js} +1 -1
  176. package/dist/swirl-modal.entry.ae814bed.js +118 -0
  177. package/dist/{swirl-option-list-section.entry.03e51fb7.js → swirl-option-list-section.entry.10cda9b3.js} +1 -1
  178. package/dist/{swirl-option-list_2.entry.b40beb01.js → swirl-option-list_2.entry.a087cfb1.js} +1 -1
  179. package/dist/{swirl-pagination.entry.a2dc4589.js → swirl-pagination.entry.fbc82e52.js} +1 -1
  180. package/dist/{swirl-pdf-reader.entry.3a8eb8ff.js → swirl-pdf-reader.entry.6b4ed1cf.js} +20 -20
  181. package/dist/{swirl-popover_2.entry.30dbfbc5.js → swirl-popover_2.entry.65429e13.js} +1 -1
  182. package/dist/{swirl-progress-indicator.entry.e4032d5c.js → swirl-progress-indicator.entry.98f09c9d.js} +1 -1
  183. package/dist/{swirl-radio-group.entry.32f877de.js → swirl-radio-group.entry.ab871aa1.js} +1 -1
  184. package/dist/{swirl-radio.entry.82c7a220.js → swirl-radio.entry.87464f0b.js} +1 -1
  185. package/dist/{swirl-resource-list-file-item.entry.c7705db9.js → swirl-resource-list-file-item.entry.4a4c3a85.js} +1 -1
  186. package/dist/{swirl-search.entry.18781bcc.js → swirl-search.entry.f6bce3f0.js} +1 -1
  187. package/dist/{swirl-select.entry.0e500bab.js → swirl-select.entry.ba96b364.js} +1 -1
  188. package/dist/swirl-shell-layout.entry.767dd0e1.js +85 -0
  189. package/dist/{swirl-shell-navigation-item.entry.3dcc3027.js → swirl-shell-navigation-item.entry.fa843a70.js} +50 -39
  190. package/dist/{swirl-skeleton-box.entry.3bde275a.js → swirl-skeleton-box.entry.b65f5e6b.js} +1 -1
  191. package/dist/{swirl-skeleton-text.entry.83e961fb.js → swirl-skeleton-text.entry.531bf8a7.js} +1 -1
  192. package/dist/{swirl-stack.entry.ec6d2948.js → swirl-stack.entry.3a6d9c4d.js} +1 -1
  193. package/dist/{swirl-status-indicator.entry.a1f05f6c.js → swirl-status-indicator.entry.57c1e20c.js} +1 -1
  194. package/dist/{swirl-switch.entry.a425de0f.js → swirl-switch.entry.8bcf4283.js} +1 -1
  195. package/dist/{swirl-symbol-account-circle.entry.6c7ed873.js → swirl-symbol-account-circle.entry.b40541b6.js} +1 -1
  196. package/dist/{swirl-symbol-alternate-email.entry.955d18ac.js → swirl-symbol-alternate-email.entry.aed18340.js} +1 -1
  197. package/dist/{swirl-symbol-android.entry.2a11ea99.js → swirl-symbol-android.entry.d509192b.js} +1 -1
  198. package/dist/{swirl-symbol-announcement.entry.5f6db4fb.js → swirl-symbol-announcement.entry.d3fcc03c.js} +1 -1
  199. package/dist/{swirl-symbol-backup.entry.1b5a6bf3.js → swirl-symbol-backup.entry.85574fe7.js} +1 -1
  200. package/dist/{swirl-symbol-beach-access.entry.6730bf2b.js → swirl-symbol-beach-access.entry.3f4a67ee.js} +1 -1
  201. package/dist/{swirl-symbol-bookmark.entry.717b1090.js → swirl-symbol-bookmark.entry.56668194.js} +1 -1
  202. package/dist/{swirl-symbol-cloud.entry.f892500d.js → swirl-symbol-cloud.entry.81c629c5.js} +1 -1
  203. package/dist/{swirl-symbol-coronavirus.entry.3fe4db9f.js → swirl-symbol-coronavirus.entry.ed49b873.js} +1 -1
  204. package/dist/{swirl-symbol-desktop-windows.entry.5a2ffac1.js → swirl-symbol-desktop-windows.entry.3af35f38.js} +1 -1
  205. package/dist/{swirl-symbol-directions-car-filled.entry.cadf9f8b.js → swirl-symbol-directions-car-filled.entry.40cc8fe7.js} +1 -1
  206. package/dist/{swirl-symbol-edit-calendar.entry.81d3048f.js → swirl-symbol-edit-calendar.entry.5bd4eba3.js} +1 -1
  207. package/dist/{swirl-symbol-email.entry.26db7d68.js → swirl-symbol-email.entry.44d6344e.js} +1 -1
  208. package/dist/{swirl-symbol-emoji-food-beverage.entry.41120715.js → swirl-symbol-emoji-food-beverage.entry.64cd39df.js} +1 -1
  209. package/dist/{swirl-symbol-event-menu.entry.180f020d.js → swirl-symbol-event-menu.entry.3b58025a.js} +1 -1
  210. package/dist/{swirl-symbol-facebook.entry.d91ce69e.js → swirl-symbol-facebook.entry.527133f1.js} +1 -1
  211. package/dist/{swirl-symbol-favorite.entry.2e63604b.js → swirl-symbol-favorite.entry.c1cff7ef.js} +1 -1
  212. package/dist/{swirl-symbol-fitness-center.entry.2b3f9626.js → swirl-symbol-fitness-center.entry.50c51c79.js} +1 -1
  213. package/dist/{swirl-symbol-flag.entry.54cbb216.js → swirl-symbol-flag.entry.27e1d24b.js} +1 -1
  214. package/dist/{swirl-symbol-folder.entry.8ece89ba.js → swirl-symbol-folder.entry.3d35e055.js} +1 -1
  215. package/dist/{swirl-symbol-globe.entry.bbd0878c.js → swirl-symbol-globe.entry.54710b2e.js} +1 -1
  216. package/dist/{swirl-symbol-groups.entry.e9438be1.js → swirl-symbol-groups.entry.285e8d95.js} +1 -1
  217. package/dist/{swirl-symbol-help.entry.666b4ed8.js → swirl-symbol-help.entry.adac081f.js} +1 -1
  218. package/dist/{swirl-symbol-image.entry.61db44b7.js → swirl-symbol-image.entry.02c18667.js} +1 -1
  219. package/dist/{swirl-symbol-info-menu.entry.46dd8886.js → swirl-symbol-info-menu.entry.aed35d71.js} +1 -1
  220. package/dist/{swirl-symbol-instagram.entry.c6f815b9.js → swirl-symbol-instagram.entry.c92d2320.js} +1 -1
  221. package/dist/{swirl-symbol-ios.entry.39bc79ed.js → swirl-symbol-ios.entry.cd1b5091.js} +1 -1
  222. package/dist/{swirl-symbol-language.entry.859ca8ad.js → swirl-symbol-language.entry.9d38c098.js} +1 -1
  223. package/dist/{swirl-symbol-leaderboard.entry.72825548.js → swirl-symbol-leaderboard.entry.3d0d1920.js} +1 -1
  224. package/dist/{swirl-symbol-lightbulb.entry.4c45e9e4.js → swirl-symbol-lightbulb.entry.ddd5c585.js} +1 -1
  225. package/dist/{swirl-symbol-linkedin.entry.5ff61973.js → swirl-symbol-linkedin.entry.52a6b8c7.js} +1 -1
  226. package/dist/{swirl-symbol-location-on.entry.d9d44b01.js → swirl-symbol-location-on.entry.3a9e37c8.js} +1 -1
  227. package/dist/{swirl-symbol-loyalty.entry.8262b505.js → swirl-symbol-loyalty.entry.44c3b898.js} +1 -1
  228. package/dist/{swirl-symbol-maps-home-work.entry.65ebae68.js → swirl-symbol-maps-home-work.entry.71fa6e4c.js} +1 -1
  229. package/dist/{swirl-symbol-notifications.entry.2f9bf453.js → swirl-symbol-notifications.entry.fcf164a1.js} +1 -1
  230. package/dist/{swirl-symbol-open-in-new.entry.9dfc93fe.js → swirl-symbol-open-in-new.entry.543e0fa9.js} +1 -1
  231. package/dist/{swirl-symbol-pedal-bike.entry.b2735706.js → swirl-symbol-pedal-bike.entry.0809b7da.js} +1 -1
  232. package/dist/{swirl-symbol-pinterest.entry.8dfe4a92.js → swirl-symbol-pinterest.entry.18eb31a2.js} +1 -1
  233. package/dist/{swirl-symbol-policy.entry.d30c965c.js → swirl-symbol-policy.entry.1bb0be40.js} +1 -1
  234. package/dist/{swirl-symbol-push-pin.entry.a0191a9e.js → swirl-symbol-push-pin.entry.938b46fb.js} +1 -1
  235. package/dist/{swirl-symbol-redeem.entry.e0465ce4.js → swirl-symbol-redeem.entry.76bcdca9.js} +1 -1
  236. package/dist/{swirl-symbol-report-problem.entry.0a01dcb3.js → swirl-symbol-report-problem.entry.691f7fb0.js} +1 -1
  237. package/dist/{swirl-symbol-restaurant.entry.44d9b6f9.js → swirl-symbol-restaurant.entry.0d1453cb.js} +1 -1
  238. package/dist/{swirl-symbol-roadmap.entry.d0fd515c.js → swirl-symbol-roadmap.entry.f3727b06.js} +1 -1
  239. package/dist/{swirl-symbol-room.entry.974d252a.js → swirl-symbol-room.entry.a1691362.js} +1 -1
  240. package/dist/{swirl-symbol-savings.entry.98372600.js → swirl-symbol-savings.entry.0a1ae903.js} +1 -1
  241. package/dist/{swirl-symbol-settings-voice.entry.d6a349e7.js → swirl-symbol-settings-voice.entry.b872ac5b.js} +1 -1
  242. package/dist/{swirl-symbol-shopping-cart.entry.019eb034.js → swirl-symbol-shopping-cart.entry.3d515a2e.js} +1 -1
  243. package/dist/{swirl-symbol-smartphone.entry.bb5656c0.js → swirl-symbol-smartphone.entry.43513043.js} +1 -1
  244. package/dist/{swirl-symbol-star.entry.9e9a1c8a.js → swirl-symbol-star.entry.612cb70e.js} +1 -1
  245. package/dist/{swirl-symbol-supervisor-account.entry.70333f7c.js → swirl-symbol-supervisor-account.entry.5cf70f62.js} +1 -1
  246. package/dist/{swirl-symbol-thumbs-up-down.entry.b5e40eca.js → swirl-symbol-thumbs-up-down.entry.76f0d3b4.js} +1 -1
  247. package/dist/{swirl-symbol-twitter.entry.7a87a8d7.js → swirl-symbol-twitter.entry.22567d76.js} +1 -1
  248. package/dist/{swirl-symbol-wb-sunny.entry.80ebad9e.js → swirl-symbol-wb-sunny.entry.d3f5571a.js} +1 -1
  249. package/dist/{swirl-symbol-wechat.entry.96ffa173.js → swirl-symbol-wechat.entry.edcc1bc1.js} +1 -1
  250. package/dist/{swirl-symbol-weibo.entry.d74e6458.js → swirl-symbol-weibo.entry.866d6388.js} +1 -1
  251. package/dist/{swirl-symbol-work.entry.cd35c0df.js → swirl-symbol-work.entry.e4275119.js} +1 -1
  252. package/dist/{swirl-symbol-xing.entry.01571b3f.js → swirl-symbol-xing.entry.90c5455a.js} +1 -1
  253. package/dist/{swirl-symbol-youtube.entry.ae68f996.js → swirl-symbol-youtube.entry.ed374c33.js} +1 -1
  254. package/dist/{swirl-symbol.entry.7681cb3a.js → swirl-symbol.entry.72bb2875.js} +1 -1
  255. package/dist/{swirl-tab-bar.entry.338c90d0.js → swirl-tab-bar.entry.80aa9dc0.js} +1 -1
  256. package/dist/{swirl-tab.entry.84b03009.js → swirl-tab.entry.3a4c1d7f.js} +1 -1
  257. package/dist/{swirl-table-cell.entry.0e29b59f.js → swirl-table-cell.entry.743d56d0.js} +1 -1
  258. package/dist/{swirl-table-column.entry.81ce5280.js → swirl-table-column.entry.f8838128.js} +1 -1
  259. package/dist/{swirl-table-row-group.entry.02e6dc18.js → swirl-table-row-group.entry.5c85d3cf.js} +1 -1
  260. package/dist/{swirl-table-row.entry.4c4c5545.js → swirl-table-row.entry.a60fe0a3.js} +1 -1
  261. package/dist/{swirl-table.entry.f30810ef.js → swirl-table.entry.63b0c05d.js} +1 -1
  262. package/dist/{swirl-tabs.entry.45f276b7.js → swirl-tabs.entry.f998ca12.js} +1 -1
  263. package/dist/{swirl-text-input.entry.7f4af77d.js → swirl-text-input.entry.01f8b9de.js} +1 -1
  264. package/dist/{swirl-text.entry.2be26e39.js → swirl-text.entry.ac9744fa.js} +1 -1
  265. package/dist/{swirl-theme-provider.entry.d65c3f92.js → swirl-theme-provider.entry.02f6518d.js} +1 -1
  266. package/dist/{swirl-time-input.entry.4717c233.js → swirl-time-input.entry.59b4d60c.js} +1 -1
  267. package/dist/{swirl-toast-provider.entry.09fc9a92.js → swirl-toast-provider.entry.99eaab21.js} +1 -1
  268. package/dist/{swirl-toast.entry.8e8eb913.js → swirl-toast.entry.525c8178.js} +1 -1
  269. package/dist/{swirl-toolbar.entry.7c9b81d5.js → swirl-toolbar.entry.744cdb2f.js} +1 -1
  270. package/dist/{swirl-tooltip.entry.443c762e.js → swirl-tooltip.entry.f61b8895.js} +1 -1
  271. package/dist/{swirl-tree-navigation-item.entry.6e845e3b.js → swirl-tree-navigation-item.entry.6d808f9a.js} +1 -1
  272. package/dist/{swirl-video-thumbnail.entry.3b109881.js → swirl-video-thumbnail.entry.aa9aa921.js} +1 -1
  273. package/dist/swirl-visually-hidden.entry.8d27c937.js +15 -0
  274. package/dist/{wc-datepicker.entry.9e18d34d.js → wc-datepicker.entry.fbef479d.js} +1 -1
  275. package/package.json +2 -2
  276. package/dist/swirl-app-icon.entry.e50d8ad1.js +0 -25
  277. package/dist/swirl-badge.entry.b7ac7f8c.js +0 -19
  278. package/dist/swirl-icon-arrow-back.entry.21de317a.js +0 -17
  279. package/dist/swirl-icon-arrow-forward.entry.980c6b61.js +0 -17
  280. package/dist/swirl-icon-double-arrow-left.entry.461a4aab.js +0 -17
  281. package/dist/swirl-icon-double-arrow-right.entry.6a63fda2.js +0 -17
  282. package/dist/swirl-icon-menu.entry.fe4f6b00.js +0 -17
  283. package/dist/swirl-modal.entry.c848bf4f.js +0 -566
  284. package/dist/swirl-shell-layout.entry.261a82a2.js +0 -58
  285. package/dist/swirl-visually-hidden.entry.ac97b65f.js +0 -15
@@ -1,566 +0,0 @@
1
- import { r as ie, c as k, h as c, H as ne, g as se } from "./index.0853091f.js";
2
- import { d as le, e as de } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
3
- import { c as ce } from "./index-d280dafb.186cdb0e.js";
4
- import "react";
5
- import "react-dom";
6
- /*!
7
- * tabbable 6.0.1
8
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
9
- */
10
- var Z = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slot)", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])', "details>summary:first-of-type", "details"], A = /* @__PURE__ */ Z.join(","), X = typeof Element > "u", x = X ? function() {
11
- } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, R = !X && Element.prototype.getRootNode ? function(o) {
12
- return o.getRootNode();
13
- } : function(o) {
14
- return o.ownerDocument;
15
- }, J = function(e, a, t) {
16
- var s = Array.prototype.slice.apply(e.querySelectorAll(A));
17
- return a && x.call(e, A) && s.unshift(e), s = s.filter(t), s;
18
- }, Q = function o(e, a, t) {
19
- for (var s = [], l = Array.from(e); l.length; ) {
20
- var r = l.shift();
21
- if (r.tagName === "SLOT") {
22
- var u = r.assignedElements(), h = u.length ? u : r.children, b = o(h, !0, t);
23
- t.flatten ? s.push.apply(s, b) : s.push({
24
- scopeParent: r,
25
- candidates: b
26
- });
27
- } else {
28
- var S = x.call(r, A);
29
- S && t.filter(r) && (a || !e.includes(r)) && s.push(r);
30
- var y = r.shadowRoot || typeof t.getShadowRoot == "function" && t.getShadowRoot(r), C = !t.shadowRootFilter || t.shadowRootFilter(r);
31
- if (y && C) {
32
- var w = o(y === !0 ? r.children : y.children, !0, t);
33
- t.flatten ? s.push.apply(s, w) : s.push({
34
- scopeParent: r,
35
- candidates: w
36
- });
37
- } else
38
- l.unshift.apply(l, r.children);
39
- }
40
- }
41
- return s;
42
- }, ee = function(e, a) {
43
- return e.tabIndex < 0 && (a || /^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || e.isContentEditable) && isNaN(parseInt(e.getAttribute("tabindex"), 10)) ? 0 : e.tabIndex;
44
- }, ue = function(e, a) {
45
- return e.tabIndex === a.tabIndex ? e.documentOrder - a.documentOrder : e.tabIndex - a.tabIndex;
46
- }, ae = function(e) {
47
- return e.tagName === "INPUT";
48
- }, he = function(e) {
49
- return ae(e) && e.type === "hidden";
50
- }, fe = function(e) {
51
- var a = e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(t) {
52
- return t.tagName === "SUMMARY";
53
- });
54
- return a;
55
- }, me = function(e, a) {
56
- for (var t = 0; t < e.length; t++)
57
- if (e[t].checked && e[t].form === a)
58
- return e[t];
59
- }, ve = function(e) {
60
- if (!e.name)
61
- return !0;
62
- var a = e.form || R(e), t = function(u) {
63
- return a.querySelectorAll('input[type="radio"][name="' + u + '"]');
64
- }, s;
65
- if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
66
- s = t(window.CSS.escape(e.name));
67
- else
68
- try {
69
- s = t(e.name);
70
- } catch (r) {
71
- return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", r.message), !1;
72
- }
73
- var l = me(s, e.form);
74
- return !l || l === e;
75
- }, be = function(e) {
76
- return ae(e) && e.type === "radio";
77
- }, pe = function(e) {
78
- return be(e) && !ve(e);
79
- }, ge = function(e) {
80
- for (var a, t = R(e).host, s = !!((a = t) !== null && a !== void 0 && a.ownerDocument.contains(t) || e.ownerDocument.contains(e)); !s && t; ) {
81
- var l;
82
- t = R(t).host, s = !!((l = t) !== null && l !== void 0 && l.ownerDocument.contains(t));
83
- }
84
- return s;
85
- }, z = function(e) {
86
- var a = e.getBoundingClientRect(), t = a.width, s = a.height;
87
- return t === 0 && s === 0;
88
- }, ye = function(e, a) {
89
- var t = a.displayCheck, s = a.getShadowRoot;
90
- if (getComputedStyle(e).visibility === "hidden")
91
- return !0;
92
- var l = x.call(e, "details>summary:first-of-type"), r = l ? e.parentElement : e;
93
- if (x.call(r, "details:not([open]) *"))
94
- return !0;
95
- if (!t || t === "full" || t === "legacy-full") {
96
- if (typeof s == "function") {
97
- for (var u = e; e; ) {
98
- var h = e.parentElement, b = R(e);
99
- if (h && !h.shadowRoot && s(h) === !0)
100
- return z(e);
101
- e.assignedSlot ? e = e.assignedSlot : !h && b !== e.ownerDocument ? e = b.host : e = h;
102
- }
103
- e = u;
104
- }
105
- if (ge(e))
106
- return !e.getClientRects().length;
107
- if (t !== "legacy-full")
108
- return !0;
109
- } else if (t === "non-zero-area")
110
- return z(e);
111
- return !1;
112
- }, we = function(e) {
113
- if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
114
- for (var a = e.parentElement; a; ) {
115
- if (a.tagName === "FIELDSET" && a.disabled) {
116
- for (var t = 0; t < a.children.length; t++) {
117
- var s = a.children.item(t);
118
- if (s.tagName === "LEGEND")
119
- return x.call(a, "fieldset[disabled] *") ? !0 : !s.contains(e);
120
- }
121
- return !0;
122
- }
123
- a = a.parentElement;
124
- }
125
- return !1;
126
- }, O = function(e, a) {
127
- return !(a.disabled || he(a) || ye(a, e) || fe(a) || we(a));
128
- }, P = function(e, a) {
129
- return !(pe(a) || ee(a) < 0 || !O(e, a));
130
- }, _e = function(e) {
131
- var a = parseInt(e.getAttribute("tabindex"), 10);
132
- return !!(isNaN(a) || a >= 0);
133
- }, Se = function o(e) {
134
- var a = [], t = [];
135
- return e.forEach(function(s, l) {
136
- var r = !!s.scopeParent, u = r ? s.scopeParent : s, h = ee(u, r), b = r ? o(s.candidates) : u;
137
- h === 0 ? r ? a.push.apply(a, b) : a.push(u) : t.push({
138
- documentOrder: l,
139
- tabIndex: h,
140
- item: s,
141
- isScope: r,
142
- content: b
143
- });
144
- }), t.sort(ue).reduce(function(s, l) {
145
- return l.isScope ? s.push.apply(s, l.content) : s.push(l.content), s;
146
- }, []).concat(a);
147
- }, Ce = function(e, a) {
148
- a = a || {};
149
- var t;
150
- return a.getShadowRoot ? t = Q([e], a.includeContainer, {
151
- filter: P.bind(null, a),
152
- flatten: !1,
153
- getShadowRoot: a.getShadowRoot,
154
- shadowRootFilter: _e
155
- }) : t = J(e, a.includeContainer, P.bind(null, a)), Se(t);
156
- }, xe = function(e, a) {
157
- a = a || {};
158
- var t;
159
- return a.getShadowRoot ? t = Q([e], a.includeContainer, {
160
- filter: O.bind(null, a),
161
- flatten: !0,
162
- getShadowRoot: a.getShadowRoot
163
- }) : t = J(e, a.includeContainer, O.bind(null, a)), t;
164
- }, N = function(e, a) {
165
- if (a = a || {}, !e)
166
- throw new Error("No node provided");
167
- return x.call(e, A) === !1 ? !1 : P(a, e);
168
- }, Te = /* @__PURE__ */ Z.concat("iframe").join(","), B = function(e, a) {
169
- if (a = a || {}, !e)
170
- throw new Error("No node provided");
171
- return x.call(e, Te) === !1 ? !1 : O(a, e);
172
- };
173
- /*!
174
- * focus-trap 7.1.0
175
- * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
176
- */
177
- function U(o, e) {
178
- var a = Object.keys(o);
179
- if (Object.getOwnPropertySymbols) {
180
- var t = Object.getOwnPropertySymbols(o);
181
- e && (t = t.filter(function(s) {
182
- return Object.getOwnPropertyDescriptor(o, s).enumerable;
183
- })), a.push.apply(a, t);
184
- }
185
- return a;
186
- }
187
- function W(o) {
188
- for (var e = 1; e < arguments.length; e++) {
189
- var a = arguments[e] != null ? arguments[e] : {};
190
- e % 2 ? U(Object(a), !0).forEach(function(t) {
191
- ke(o, t, a[t]);
192
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(a)) : U(Object(a)).forEach(function(t) {
193
- Object.defineProperty(o, t, Object.getOwnPropertyDescriptor(a, t));
194
- });
195
- }
196
- return o;
197
- }
198
- function ke(o, e, a) {
199
- return e in o ? Object.defineProperty(o, e, {
200
- value: a,
201
- enumerable: !0,
202
- configurable: !0,
203
- writable: !0
204
- }) : o[e] = a, o;
205
- }
206
- var Fe = [], V = {
207
- activateTrap: function(e, a) {
208
- if (e.length > 0) {
209
- var t = e[e.length - 1];
210
- t !== a && t.pause();
211
- }
212
- var s = e.indexOf(a);
213
- s === -1 || e.splice(s, 1), e.push(a);
214
- },
215
- deactivateTrap: function(e, a) {
216
- var t = e.indexOf(a);
217
- t !== -1 && e.splice(t, 1), e.length > 0 && e[e.length - 1].unpause();
218
- }
219
- }, Ee = function(e) {
220
- return e.tagName && e.tagName.toLowerCase() === "input" && typeof e.select == "function";
221
- }, Ne = function(e) {
222
- return e.key === "Escape" || e.key === "Esc" || e.keyCode === 27;
223
- }, De = function(e) {
224
- return e.key === "Tab" || e.keyCode === 9;
225
- }, $ = function(e) {
226
- return setTimeout(e, 0);
227
- }, Y = function(e, a) {
228
- var t = -1;
229
- return e.every(function(s, l) {
230
- return a(s) ? (t = l, !1) : !0;
231
- }), t;
232
- }, F = function(e) {
233
- for (var a = arguments.length, t = new Array(a > 1 ? a - 1 : 0), s = 1; s < a; s++)
234
- t[s - 1] = arguments[s];
235
- return typeof e == "function" ? e.apply(void 0, t) : e;
236
- }, D = function(e) {
237
- return e.target.shadowRoot && typeof e.composedPath == "function" ? e.composedPath()[0] : e.target;
238
- }, Ae = function(e, a) {
239
- var t = (a == null ? void 0 : a.document) || document, s = (a == null ? void 0 : a.trapStack) || Fe, l = W({
240
- returnFocusOnDeactivate: !0,
241
- escapeDeactivates: !0,
242
- delayInitialFocus: !0
243
- }, a), r = {
244
- containers: [],
245
- containerGroups: [],
246
- tabbableGroups: [],
247
- nodeFocusedBeforeActivation: null,
248
- mostRecentlyFocusedNode: null,
249
- active: !1,
250
- paused: !1,
251
- delayInitialFocusTimer: void 0
252
- }, u, h = function(i, n, d) {
253
- return i && i[n] !== void 0 ? i[n] : l[d || n];
254
- }, b = function(i) {
255
- return r.containerGroups.findIndex(function(n) {
256
- var d = n.container, v = n.tabbableNodes;
257
- return d.contains(i) || v.find(function(f) {
258
- return f === i;
259
- });
260
- });
261
- }, S = function(i) {
262
- var n = l[i];
263
- if (typeof n == "function") {
264
- for (var d = arguments.length, v = new Array(d > 1 ? d - 1 : 0), f = 1; f < d; f++)
265
- v[f - 1] = arguments[f];
266
- n = n.apply(void 0, v);
267
- }
268
- if (n === !0 && (n = void 0), !n) {
269
- if (n === void 0 || n === !1)
270
- return n;
271
- throw new Error("`".concat(i, "` was specified but was not a node, or did not return a node"));
272
- }
273
- var p = n;
274
- if (typeof n == "string" && (p = t.querySelector(n), !p))
275
- throw new Error("`".concat(i, "` as selector refers to no known node"));
276
- return p;
277
- }, y = function() {
278
- var i = S("initialFocus");
279
- if (i === !1)
280
- return !1;
281
- if (i === void 0)
282
- if (b(t.activeElement) >= 0)
283
- i = t.activeElement;
284
- else {
285
- var n = r.tabbableGroups[0], d = n && n.firstTabbableNode;
286
- i = d || S("fallbackFocus");
287
- }
288
- if (!i)
289
- throw new Error("Your focus-trap needs to have at least one focusable element");
290
- return i;
291
- }, C = function() {
292
- if (r.containerGroups = r.containers.map(function(i) {
293
- var n = Ce(i, l.tabbableOptions), d = xe(i, l.tabbableOptions);
294
- return {
295
- container: i,
296
- tabbableNodes: n,
297
- focusableNodes: d,
298
- firstTabbableNode: n.length > 0 ? n[0] : null,
299
- lastTabbableNode: n.length > 0 ? n[n.length - 1] : null,
300
- nextTabbableNode: function(f) {
301
- var p = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, g = d.findIndex(function(_) {
302
- return _ === f;
303
- });
304
- if (!(g < 0))
305
- return p ? d.slice(g + 1).find(function(_) {
306
- return N(_, l.tabbableOptions);
307
- }) : d.slice(0, g).reverse().find(function(_) {
308
- return N(_, l.tabbableOptions);
309
- });
310
- }
311
- };
312
- }), r.tabbableGroups = r.containerGroups.filter(function(i) {
313
- return i.tabbableNodes.length > 0;
314
- }), r.tabbableGroups.length <= 0 && !S("fallbackFocus"))
315
- throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
316
- }, w = function m(i) {
317
- if (i !== !1 && i !== t.activeElement) {
318
- if (!i || !i.focus) {
319
- m(y());
320
- return;
321
- }
322
- i.focus({
323
- preventScroll: !!l.preventScroll
324
- }), r.mostRecentlyFocusedNode = i, Ee(i) && i.select();
325
- }
326
- }, H = function(i) {
327
- var n = S("setReturnFocus", i);
328
- return n || (n === !1 ? !1 : i);
329
- }, E = function(i) {
330
- var n = D(i);
331
- if (!(b(n) >= 0)) {
332
- if (F(l.clickOutsideDeactivates, i)) {
333
- u.deactivate({
334
- returnFocus: l.returnFocusOnDeactivate && !B(n, l.tabbableOptions)
335
- });
336
- return;
337
- }
338
- F(l.allowOutsideClick, i) || i.preventDefault();
339
- }
340
- }, q = function(i) {
341
- var n = D(i), d = b(n) >= 0;
342
- d || n instanceof Document ? d && (r.mostRecentlyFocusedNode = n) : (i.stopImmediatePropagation(), w(r.mostRecentlyFocusedNode || y()));
343
- }, te = function(i) {
344
- var n = D(i);
345
- C();
346
- var d = null;
347
- if (r.tabbableGroups.length > 0) {
348
- var v = b(n), f = v >= 0 ? r.containerGroups[v] : void 0;
349
- if (v < 0)
350
- i.shiftKey ? d = r.tabbableGroups[r.tabbableGroups.length - 1].lastTabbableNode : d = r.tabbableGroups[0].firstTabbableNode;
351
- else if (i.shiftKey) {
352
- var p = Y(r.tabbableGroups, function(L) {
353
- var I = L.firstTabbableNode;
354
- return n === I;
355
- });
356
- if (p < 0 && (f.container === n || B(n, l.tabbableOptions) && !N(n, l.tabbableOptions) && !f.nextTabbableNode(n, !1)) && (p = v), p >= 0) {
357
- var g = p === 0 ? r.tabbableGroups.length - 1 : p - 1, _ = r.tabbableGroups[g];
358
- d = _.lastTabbableNode;
359
- }
360
- } else {
361
- var T = Y(r.tabbableGroups, function(L) {
362
- var I = L.lastTabbableNode;
363
- return n === I;
364
- });
365
- if (T < 0 && (f.container === n || B(n, l.tabbableOptions) && !N(n, l.tabbableOptions) && !f.nextTabbableNode(n)) && (T = v), T >= 0) {
366
- var re = T === r.tabbableGroups.length - 1 ? 0 : T + 1, oe = r.tabbableGroups[re];
367
- d = oe.firstTabbableNode;
368
- }
369
- }
370
- } else
371
- d = S("fallbackFocus");
372
- d && (i.preventDefault(), w(d));
373
- }, M = function(i) {
374
- if (Ne(i) && F(l.escapeDeactivates, i) !== !1) {
375
- i.preventDefault(), u.deactivate();
376
- return;
377
- }
378
- if (De(i)) {
379
- te(i);
380
- return;
381
- }
382
- }, j = function(i) {
383
- var n = D(i);
384
- b(n) >= 0 || F(l.clickOutsideDeactivates, i) || F(l.allowOutsideClick, i) || (i.preventDefault(), i.stopImmediatePropagation());
385
- }, G = function() {
386
- if (!!r.active)
387
- return V.activateTrap(s, u), r.delayInitialFocusTimer = l.delayInitialFocus ? $(function() {
388
- w(y());
389
- }) : w(y()), t.addEventListener("focusin", q, !0), t.addEventListener("mousedown", E, {
390
- capture: !0,
391
- passive: !1
392
- }), t.addEventListener("touchstart", E, {
393
- capture: !0,
394
- passive: !1
395
- }), t.addEventListener("click", j, {
396
- capture: !0,
397
- passive: !1
398
- }), t.addEventListener("keydown", M, {
399
- capture: !0,
400
- passive: !1
401
- }), u;
402
- }, K = function() {
403
- if (!!r.active)
404
- return t.removeEventListener("focusin", q, !0), t.removeEventListener("mousedown", E, !0), t.removeEventListener("touchstart", E, !0), t.removeEventListener("click", j, !0), t.removeEventListener("keydown", M, !0), u;
405
- };
406
- return u = {
407
- get active() {
408
- return r.active;
409
- },
410
- get paused() {
411
- return r.paused;
412
- },
413
- activate: function(i) {
414
- if (r.active)
415
- return this;
416
- var n = h(i, "onActivate"), d = h(i, "onPostActivate"), v = h(i, "checkCanFocusTrap");
417
- v || C(), r.active = !0, r.paused = !1, r.nodeFocusedBeforeActivation = t.activeElement, n && n();
418
- var f = function() {
419
- v && C(), G(), d && d();
420
- };
421
- return v ? (v(r.containers.concat()).then(f, f), this) : (f(), this);
422
- },
423
- deactivate: function(i) {
424
- if (!r.active)
425
- return this;
426
- var n = W({
427
- onDeactivate: l.onDeactivate,
428
- onPostDeactivate: l.onPostDeactivate,
429
- checkCanReturnFocus: l.checkCanReturnFocus
430
- }, i);
431
- clearTimeout(r.delayInitialFocusTimer), r.delayInitialFocusTimer = void 0, K(), r.active = !1, r.paused = !1, V.deactivateTrap(s, u);
432
- var d = h(n, "onDeactivate"), v = h(n, "onPostDeactivate"), f = h(n, "checkCanReturnFocus"), p = h(n, "returnFocus", "returnFocusOnDeactivate");
433
- d && d();
434
- var g = function() {
435
- $(function() {
436
- p && w(H(r.nodeFocusedBeforeActivation)), v && v();
437
- });
438
- };
439
- return p && f ? (f(H(r.nodeFocusedBeforeActivation)).then(g, g), this) : (g(), this);
440
- },
441
- pause: function() {
442
- return r.paused || !r.active ? this : (r.paused = !0, K(), this);
443
- },
444
- unpause: function() {
445
- return !r.paused || !r.active ? this : (r.paused = !1, C(), G(), this);
446
- },
447
- updateContainerElements: function(i) {
448
- var n = [].concat(i).filter(Boolean);
449
- return r.containers = n.map(function(d) {
450
- return typeof d == "string" ? t.querySelector(d) : d;
451
- }), r.active && C(), this;
452
- }
453
- }, u.updateContainerElements(e), u;
454
- };
455
- const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghost-button-background-default:var(--s-surface-overlay-default);--swirl-ghost-button-background-hovered:var(--s-surface-overlay-hovered);--swirl-ghost-button-background-pressed:var(--s-surface-overlay-pressed);--swirl-resource-list-item-background-default:var(
456
- --s-surface-overlay-default
457
- );--swirl-resource-list-item-background-hovered:var(
458
- --s-surface-overlay-hovered
459
- );--swirl-resource-list-item-background-pressed:var(
460
- --s-surface-overlay-pressed
461
- );--swirl-modal-height:auto;--swirl-modal-max-height:90vh;position:fixed;z-index:var(--s-z-40);display:flex;justify-content:center;align-items:center;inset:0}.modal[aria-hidden="true"]{display:none}.modal--variant-default.modal--closing{animation:0.15s modal-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.modal--variant-default.modal--closing{animation:none}}.modal--variant-default:not(.modal--closing) .modal__backdrop{animation:0.15s modal-backdrop-fade-in}@media (prefers-reduced-motion){.modal--variant-default:not(.modal--closing) .modal__backdrop{animation:none}}.modal--variant-default:not(.modal--closing) .modal__body{animation:0.15s modal-scale-in}@media (prefers-reduced-motion){.modal--variant-default:not(.modal--closing) .modal__body{animation:none}}.modal--variant-drawer{justify-content:end;align-items:stretch}.modal--variant-drawer.modal--closing{animation:0.15s modal-drawer-slide-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.modal--variant-drawer.modal--closing{animation:none}}@media (min-width: 768px){.modal--variant-drawer.modal--hide-label .modal__header-bar{height:auto;padding-top:var(--s-space-4);padding-bottom:var(--s-space-4)}}.modal--variant-drawer .modal__backdrop{background-color:transparent;animation:none}.modal--variant-drawer .modal__body{height:100%;max-height:none;border-radius:0;animation:0.15s modal-drawer-slide-in;box-shadow:var(--s-shadow-level-3)}@media (prefers-reduced-motion){.modal--variant-drawer .modal__body{animation:none}}.modal--variant-drawer .modal__header-bar{background-color:var(--s-surface-overlay-default)}.modal--variant-drawer .modal__header-bar .modal__close-button{margin-left:calc(-1 * var(--s-space-8))}@media (min-width: 768px){.modal--variant-drawer .modal__header-bar{flex-direction:row}}.modal--variant-drawer .modal__content{min-height:100%}@media (min-width: 768px){.modal--variant-drawer.modal--padded .modal__content{padding-top:var(--s-space-8)}}.modal--padded .modal__content{padding-top:var(--s-space-24);padding-right:var(--s-space-16);padding-bottom:var(--s-space-24);padding-left:var(--s-space-16)}@media (min-width: 768px){.modal--padded .modal__content{padding-top:0;padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24)}}@media (min-width: 768px){.modal--scrollable .modal__content{padding-bottom:0}}.modal--scrollable:not(.modal--scrolled-down).modal--has-custom-footer .modal__custom-footer{border-top:var(--s-border-width-default) solid var(--s-border-default)}.modal--scrollable:not(.modal--scrolled-down):not(.modal--has-custom-footer) .modal__controls{border-top:var(--s-border-width-default) solid var(--s-border-default)}.modal--has-custom-header .modal__custom-header{display:block}.modal--has-custom-header .modal__content{padding-top:var(--s-space-16)}.modal--has-custom-footer .modal__custom-footer{padding-top:var(--s-space-16);padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24)}.modal--has-header-tools .modal__header{border-bottom-color:transparent}.modal--has-header-tools .modal__header-tools{display:block}.modal--has-secondary-content .modal__body{max-width:64rem}.modal--has-secondary-content:not(.modal--has-header-tools) .modal__header{border-bottom-color:var(--s-border-default)}.modal--has-secondary-content.modal--has-header-tools .modal__header-tools{border-bottom-color:var(--s-border-default)}.modal--has-secondary-content.modal--has-custom-footer .modal__custom-footer{border-top:var(--s-border-width-default) solid var(--s-border-default)}.modal--has-secondary-content:not(.modal--has-custom-footer) .modal__controls{border-top:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 992px){.modal--has-secondary-content .modal__header-tools,.modal--has-secondary-content .modal__content{padding-right:0}}.modal--has-secondary-content .modal__primary-content{overflow:visible;max-height:60%;flex-basis:auto}@media (min-width: 992px){.modal--has-secondary-content .modal__primary-content{max-width:calc(100% - 24rem);max-height:none;flex-basis:calc(100% - 24rem)}}.modal--has-secondary-content .modal__secondary-content{display:block}@media (min-width: 768px){.modal--scrolled:not(.modal--has-header-tools) .modal__header{border-bottom-color:var(--s-border-default)}.modal--scrolled.modal--has-header-tools .modal__header-tools{border-bottom-color:var(--s-border-default)}}.modal__backdrop{position:fixed;background-color:rgba(0, 0, 0, 0.2);inset:0}.modal__body{--swirl-card-background-default:var(--s-surface-overlay-default);--swirl-card-background-hovered:var(--s-surface-overlay-hovered);--swirl-card-background-pressed:var(--s-surface-overlay-pressed);--swirl-accordion-item-toggle-default:var(--s-surface-overlay-default);--swirl-accordion-item-toggle-hovered:var(--s-surface-overlay-hovered);--swirl-accordion-item-toggle-pressed:var(--s-surface-overlay-pressed);position:relative;z-index:var(--s-z-40);display:flex;overflow:hidden;width:100vw;max-width:40rem;height:100vh;background-color:var(--s-surface-overlay-default);flex-direction:column}@media (min-width: 768px){.modal__body{width:90vw;max-height:var(--swirl-modal-max-height);border-radius:var(--s-border-radius-base);box-shadow:var(--s-shadow-level-3)}}@media (min-width: 992px){.modal__body{height:var(--swirl-modal-height)}}.modal__header{border-bottom:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 768px){.modal__header{border-bottom:var(--s-border-width-default) solid transparent}}.modal__header-bar{display:flex;height:3.5rem;padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:var(--s-space-16);flex-shrink:0;align-items:center;gap:var(--s-space-8)}@media (min-width: 768px){.modal__header-bar{height:3.75rem;padding-top:var(--s-space-12);padding-right:var(--s-space-24);padding-bottom:var(--s-space-12);padding-left:var(--s-space-24);flex-direction:row-reverse;gap:var(--s-space-16)}}.modal__header-tools{display:none;padding-right:var(--s-space-16);padding-left:var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 768px){.modal__header-tools{padding-right:var(--s-space-24);padding-left:var(--s-space-24);border-bottom-color:transparent}}.modal__custom-header{display:none;flex-shrink:0;border-bottom:var(--s-border-width-default) solid var(--s-border-default)}.modal__heading{overflow:hidden}.modal__heading .heading{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.modal__content-container{display:flex;overflow:hidden;flex-grow:1;flex-direction:column;gap:var(--s-space-24)}@media (min-width: 992px){.modal__content-container{flex-direction:row}}.modal__primary-content{display:flex;overflow:hidden;flex-basis:100%;flex-direction:column}.modal__content{overflow-x:hidden;overflow-y:auto;min-height:100%}.modal__content ::slotted(*){margin:0}.modal__secondary-content{display:none;overflow:visible;overflow-x:hidden;overflow-y:auto;max-width:none;max-height:40%;padding-right:var(--s-space-16);padding-left:var(--s-space-16)}@media (min-width: 768px){.modal__secondary-content{padding-left:var(--s-space-24)}}@media (min-width: 992px){.modal__secondary-content{overflow-x:hidden;overflow-y:auto;max-width:24rem;max-height:none;padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:0;flex-basis:50%}}.modal__custom-footer{flex-shrink:0}.modal__controls{display:flex;padding-top:var(--s-space-16);padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24);flex-shrink:0;justify-content:flex-end}@keyframes modal-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@keyframes modal-backdrop-fade-in{from{opacity:0}to{opacity:1}}@keyframes modal-fade-out{from{opacity:1}to{opacity:0}}@keyframes modal-drawer-slide-in{from{transform:translate3d(100%, 0, 0)}to{transform:translate3d(0, 0, 0)}}@keyframes modal-drawer-slide-out{from{transform:translate3d(0, 0, 0)}to{transform:translate3d(100%, 0, 0)}}`, Oe = class {
462
- constructor(o) {
463
- ie(this, o), this.modalClose = k(this, "modalClose", 7), this.modalOpen = k(this, "modalOpen", 7), this.primaryAction = k(this, "primaryAction", 7), this.requestModalClose = k(this, "requestModalClose", 7), this.secondaryAction = k(this, "secondaryAction", 7), this.onKeyDown = (e) => {
464
- e.code === "Escape" && this.close();
465
- }, this.onBackdropClick = () => {
466
- this.close();
467
- }, this.onCloseButtonClick = () => {
468
- this.close();
469
- }, this.onPrimaryAction = (e) => {
470
- this.primaryAction.emit(e);
471
- }, this.onSecondaryAction = (e) => {
472
- this.secondaryAction.emit(e);
473
- }, this.determineScrollStatus = () => {
474
- var s, l, r, u, h, b;
475
- const e = ((s = this.scrollContainer) == null ? void 0 : s.scrollTop) > 0, a = Math.ceil(((l = this.scrollContainer) == null ? void 0 : l.scrollTop) + ((r = this.scrollContainer) == null ? void 0 : r.offsetHeight)) >= ((u = this.scrollContainer) == null ? void 0 : u.scrollHeight), t = ((h = this.scrollContainer) == null ? void 0 : h.scrollHeight) > ((b = this.scrollContainer) == null ? void 0 : b.offsetHeight);
476
- e !== this.scrolled && (this.scrolled = e), a !== this.scrolledDown && (this.scrolledDown = a), t !== this.scrollable && (this.scrollable = t);
477
- }, this.closable = !0, this.closeButtonLabel = "Close modal", this.height = void 0, this.hideCloseButton = void 0, this.hideLabel = void 0, this.label = void 0, this.maxHeight = void 0, this.maxWidth = void 0, this.padded = !0, this.primaryActionLabel = void 0, this.secondaryActionLabel = void 0, this.variant = "default", this.isOpen = !1, this.closing = !1, this.hasCustomHeader = void 0, this.hasCustomFooter = void 0, this.hasHeaderTools = void 0, this.hasSecondaryContent = void 0, this.scrollable = !1, this.scrolled = !1, this.scrolledDown = !1;
478
- }
479
- componentDidLoad() {
480
- this.focusTrap = Ae(this.modalEl, {
481
- allowOutsideClick: !0,
482
- tabbableOptions: {
483
- getShadowRoot: (o) => o.shadowRoot
484
- }
485
- }), this.determineScrollStatus(), queueMicrotask(() => {
486
- this.updateCustomFooterStatus(), this.updateCustomHeaderStatus(), this.updateHeaderToolsStatus(), this.updateSecondaryContentStatus();
487
- });
488
- }
489
- componentDidRender() {
490
- var o;
491
- (o = this.focusTrap) == null || o.updateContainerElements(this.modalEl);
492
- }
493
- disconnectedCallback() {
494
- var o;
495
- (o = this.focusTrap) == null || o.deactivate(), this.unlockBodyScroll();
496
- }
497
- onWindowResize() {
498
- this.determineScrollStatus();
499
- }
500
- watchIsOpen() {
501
- this.isOpen ? setTimeout(() => {
502
- this.focusTrap.activate(), this.handleAutoFocus();
503
- }, 200) : this.focusTrap.deactivate();
504
- }
505
- async open() {
506
- this.isOpen = !0, this.modalOpen.emit(), this.lockBodyScroll(), this.determineScrollStatus();
507
- }
508
- async close(o) {
509
- this.closing || (this.requestModalClose.emit(), !(!this.closable && !o) && (this.closing = !0, this.unlockBodyScroll(), setTimeout(() => {
510
- this.isOpen = !1, this.modalClose.emit(), this.closing = !1;
511
- }, 150)));
512
- }
513
- updateCustomFooterStatus() {
514
- this.hasCustomFooter = Boolean(this.el.querySelector('[slot="custom-footer"]'));
515
- }
516
- updateCustomHeaderStatus() {
517
- this.hasCustomHeader = Boolean(this.el.querySelector('[slot="custom-header"]'));
518
- }
519
- updateHeaderToolsStatus() {
520
- this.hasHeaderTools = Boolean(this.el.querySelector('[slot="header-tools"]'));
521
- }
522
- updateSecondaryContentStatus() {
523
- this.hasSecondaryContent = Boolean(this.el.querySelector('[slot="secondary-content"]'));
524
- }
525
- handleAutoFocus() {
526
- var o;
527
- (o = this.modalEl.querySelector("input[autofocus]")) == null || o.focus();
528
- }
529
- lockBodyScroll() {
530
- le(this.scrollContainer);
531
- }
532
- unlockBodyScroll() {
533
- de(this.scrollContainer);
534
- }
535
- render() {
536
- const o = Boolean(this.primaryActionLabel) || Boolean(this.secondaryActionLabel), e = ce("modal", `modal--variant-${this.variant}`, {
537
- "modal--closing": this.closing,
538
- "modal--has-custom-footer": this.hasCustomFooter,
539
- "modal--has-custom-header": this.hasCustomHeader,
540
- "modal--has-header-tools": this.hasHeaderTools,
541
- "modal--has-secondary-content": this.hasSecondaryContent,
542
- "modal--hide-label": this.hideLabel,
543
- "modal--padded": this.padded,
544
- "modal--scrollable": this.scrollable,
545
- "modal--scrolled": this.scrolled,
546
- "modal--scrolled-down": this.scrolledDown
547
- });
548
- return c(ne, null, c("section", { "aria-hidden": String(!this.isOpen), "aria-label": this.label, "aria-modal": "true", class: e, onKeyDown: this.onKeyDown, role: "dialog", ref: (a) => this.modalEl = a }, c("div", { class: "modal__backdrop", onClick: this.onBackdropClick }), c("div", { class: "modal__body", style: {
549
- "--swirl-modal-max-height": this.maxHeight,
550
- "--swirl-modal-height": this.height,
551
- maxWidth: this.maxWidth
552
- } }, c("header", { class: "modal__custom-header" }, c("slot", { name: "custom-header" })), (!this.hideLabel || !this.hideCloseButton) && c("header", { class: "modal__header" }, c("div", { class: "modal__header-bar" }, !this.hideCloseButton && c("swirl-button", { class: "modal__close-button", hideLabel: !0, icon: this.variant === "default" ? "<swirl-icon-close></swirl-icon-close>" : "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>", label: this.closeButtonLabel, onClick: this.onCloseButtonClick }), !this.hideLabel && c("swirl-heading", { as: "h2", class: "modal__heading", level: 3, text: this.label }))), c("div", { class: "modal__content-container" }, c("div", { class: "modal__primary-content" }, c("div", { class: "modal__header-tools" }, c("slot", { name: "header-tools" })), c("div", { class: "modal__content", onScroll: this.determineScrollStatus, ref: (a) => this.scrollContainer = a }, c("slot", null))), c("div", { class: "modal__secondary-content" }, c("slot", { name: "secondary-content" }))), c("div", { class: "modal__custom-footer" }, c("slot", { name: "custom-footer" })), o && c("footer", { class: "modal__controls" }, c("swirl-button-group", { wrap: !0 }, this.secondaryActionLabel && c("swirl-button", { label: this.secondaryActionLabel, onClick: this.onSecondaryAction }), this.primaryActionLabel && c("swirl-button", { intent: "primary", label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" }))))));
553
- }
554
- get el() {
555
- return se(this);
556
- }
557
- static get watchers() {
558
- return {
559
- isOpen: ["watchIsOpen"]
560
- };
561
- }
562
- };
563
- Oe.style = Re;
564
- export {
565
- Oe as swirl_modal
566
- };
@@ -1,58 +0,0 @@
1
- import { r as o, h as e, H as t } from "./index.0853091f.js";
2
- import { c as i } from "./index-d280dafb.186cdb0e.js";
3
- import { g as r, a as d } from "./utils-9f141e25.a4ae3adc.js";
4
- import "react";
5
- import "react-dom";
6
- const n = `:host{--extended-sidebar-width:17rem;--collapsed-sidebar-width:4rem;display:flex;width:100%;height:100%}:host *{box-sizing:border-box}.shell-layout{display:grid;width:100%;min-height:100%;transition:grid-template-columns 0.2s;grid-template-columns:0 1fr;grid-template-rows:auto 1fr;grid-template-areas:"banner banner"
7
- "sidebar main"}@media (min-width: 992px){.shell-layout{grid-template-columns:var(--extended-sidebar-width) 1fr}}.shell-layout--collapsed-sidebar{grid-template-columns:0 1fr}@media (min-width: 992px){.shell-layout--collapsed-sidebar:not(.shell-layout--collapsing) .shell-layout__sidebar-wrapper.shell-layout__sidebar-wrapper--hovered .shell-layout__sidebar,.shell-layout--collapsed-sidebar:not(.shell-layout--collapsing) .shell-layout__sidebar-wrapper:focus-within .shell-layout__sidebar{width:var(--extended-sidebar-width);box-shadow:0 0.75rem 2rem rgba(25, 26, 28, 0.12),
8
- 0 0.25rem 0.75rem rgba(25, 26, 28, 0.08)}}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper{transform:translate3d(-100%, 0, 0)}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper .shell-layout__sidebar{width:100%;box-shadow:none}@media (min-width: 992px){.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper{max-width:var(--collapsed-sidebar-width);flex-basis:var(--collapsed-sidebar-width);transform:none}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper:not(.shell-layout__sidebar-wrapper--hovered):not(:focus-within) .shell-layout__sidebar{box-shadow:none}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper:not(.shell-layout__sidebar-wrapper--hovered):not(:focus-within) .shell-layout__collapsed-logo{display:inline-flex;justify-content:center;align-items:center}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper:not(.shell-layout__sidebar-wrapper--hovered):not(:focus-within) .shell-layout__expanded-logo{display:none}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper:not(.shell-layout__sidebar-wrapper--hovered):not(:focus-within) .shell-layout__toggle{display:none}}@media (min-width: 992px){.shell-layout--collapsed-sidebar{grid-template-columns:var(--collapsed-sidebar-width) 1fr}}.shell-layout--hide-sidebar{grid-template-columns:1fr;grid-template-areas:"banner"
9
- "main"}@media (min-width: 992px){.shell-layout--hide-sidebar{grid-template-columns:1fr}}.shell-layout__banner{grid-area:banner}.shell-layout__sidebar-wrapper{position:absolute;z-index:2;top:0;bottom:0;left:0;width:100%;max-width:var(--extended-sidebar-width);min-height:0;flex-basis:var(--extended-sidebar-width);flex-shrink:0;transition:max-width 0.2s, transform 0.2s;grid-area:sidebar}@media (min-width: 992px){.shell-layout__sidebar-wrapper{position:relative;inset:auto}}.shell-layout__sidebar{display:flex;width:var(--extended-sidebar-width);height:100%;border-right:var(--s-border-width-default) solid var(--s-border-default);flex-direction:column;transition:box-shadow 0.2s, width 0.2s;box-shadow:0 0.75rem 2rem rgba(25, 26, 28, 0.12),
10
- 0 0.25rem 0.75rem rgba(25, 26, 28, 0.08)}@media (min-width: 992px){.shell-layout__sidebar{box-shadow:none}}.shell-layout__header{flex-shrink:0;border-bottom:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-background-default)}.shell-layout__logo-bar{display:flex;overflow:hidden;align-items:center;height:4.5rem}.shell-layout__expanded-logo{padding-right:var(--s-space-12);padding-left:var(--s-space-12);flex-grow:1}.shell-layout__collapsed-logo{display:none;padding-right:var(--s-space-12);padding-left:var(--s-space-12);flex-grow:1}.shell-layout__toggle{padding-right:var(--s-space-16);padding-left:var(--s-space-12);flex-grow:0;flex-shrink:0}.shell-layout__mobile-toggle{position:absolute;z-index:2;top:var(--s-space-12);left:calc(100% + var(--s-space-16))}@media (min-width: 992px){.shell-layout__mobile-toggle{display:none}}.shell-layout__main-navigation{overflow:auto;flex-grow:1;background-color:var(--s-background-default)}.shell-layout__main{min-height:0;background-color:var(--s-background-default);grid-area:main}.shell-layout__main>*,.shell-layout__main ::slotted(*){height:100%}.shell-layout__backdrop{position:fixed;z-index:1;background-color:rgba(0, 0, 0, 0.4);animation:shell-layout-backdrop-fade-in 0.1s;inset:0}@media (min-width: 992px){.shell-layout__backdrop{display:none}}.shell-layout__backdrop--fading{animation:shell-layout-backdrop-fade-out 0.2s}@keyframes shell-layout-backdrop-fade-in{from{opacity:0}to{opacity:1}}@keyframes shell-layout-backdrop-fade-out{from{opacity:1}to{opacity:0}}`, h = class {
11
- constructor(s) {
12
- o(this, s), this.desktopMediaQuery = r(), this.desktopMediaQueryHandler = (a) => {
13
- a.matches ? this.expandLeftSidebar() : this.collapseLeftSidebar();
14
- }, this.collapseLeftSidebar = () => {
15
- this.collapsedSidebar = !0, this.collapsing = !0, setTimeout(() => {
16
- this.collapsing = !1, this.sidebarHovered = !1;
17
- }, 200);
18
- }, this.expandLeftSidebar = () => {
19
- this.hideSidebar || (this.collapsedSidebar = !1);
20
- }, this.toggleSidebar = () => {
21
- this.collapsedSidebar ? this.expandLeftSidebar() : this.collapseLeftSidebar();
22
- }, this.onBackdropClick = () => {
23
- this.collapsedSidebar || this.collapseLeftSidebar();
24
- }, this.onSidebarClick = () => {
25
- var a, l;
26
- this.collapsedSidebar && ((a = document.activeElement) == null || a.blur(), (l = d()) == null || l.blur());
27
- }, this.onSidebarMouseEnter = () => {
28
- this.sidebarHovered = !0;
29
- }, this.onSidebarMouseLeave = () => {
30
- this.sidebarHovered = !1;
31
- }, this.hideSidebar = void 0, this.mainNavigationLabel = "Main", this.sidebarToggleLabel = "Toggle sidebar", this.collapsedSidebar = void 0, this.collapsing = void 0, this.sidebarHovered = void 0;
32
- }
33
- componentWillLoad() {
34
- this.desktopMediaQuery.matches || this.collapseLeftSidebar(), this.desktopMediaQuery.onchange = this.desktopMediaQueryHandler;
35
- }
36
- async collapseSidebar() {
37
- this.collapseLeftSidebar();
38
- }
39
- async extendSidebar() {
40
- this.expandLeftSidebar();
41
- }
42
- render() {
43
- const s = i("shell-layout", {
44
- "shell-layout--collapsed-sidebar": this.collapsedSidebar,
45
- "shell-layout--collapsing": this.collapsing,
46
- "shell-layout--hide-sidebar": this.hideSidebar
47
- }), a = i("shell-layout__sidebar-wrapper", {
48
- "shell-layout__sidebar-wrapper--hovered": this.sidebarHovered
49
- }), l = i("shell-layout__backdrop", {
50
- "shell-layout__backdrop--fading": this.collapsing
51
- });
52
- return e(t, null, e("div", { class: s }, e("div", { class: "shell-layout__banner" }, e("slot", { name: "banner" })), e("div", { class: a, onClick: this.onSidebarClick, onMouseEnter: this.onSidebarMouseEnter, onMouseLeave: this.onSidebarMouseLeave }, !this.hideSidebar && e("div", { class: "shell-layout__sidebar" }, e("header", { class: "shell-layout__header" }, e("div", { class: "shell-layout__logo-bar" }, e("div", { class: "shell-layout__expanded-logo" }, e("slot", { name: "logo-expanded" })), e("div", { class: "shell-layout__collapsed-logo" }, e("slot", { name: "logo-collapsed" })), e("div", { class: "shell-layout__toggle" }, e("swirl-button", { swirlAriaExpanded: String(!this.collapsedSidebar), hideLabel: !0, icon: this.collapsedSidebar ? "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>" : "<swirl-icon-double-arrow-left></swirl-icon-double-arrow-left>", label: this.sidebarToggleLabel, onClick: this.toggleSidebar }))), e("div", { class: "shell-layout__tools" }, e("slot", { name: "tools" }))), e("nav", { "aria-label": this.mainNavigationLabel, class: "shell-layout__main-navigation" }, e("slot", { name: "main-navigation" })))), e("main", { class: "shell-layout__main" }, e("slot", { name: "main" })), (!this.collapsedSidebar || this.collapsing) && e("div", { class: l, onClick: this.onBackdropClick })));
53
- }
54
- };
55
- h.style = n;
56
- export {
57
- h as swirl_shell_layout
58
- };
@@ -1,15 +0,0 @@
1
- import { r as s, h as i, H as l } from "./index.0853091f.js";
2
- import "react";
3
- import "react-dom";
4
- const t = ":host{position:absolute;display:inline;overflow:hidden;width:1px;height:1px;margin:-1px;padding:0;border:0;white-space:nowrap;word-wrap:normal;clip:rect(0, 0, 0, 0)}", o = class {
5
- constructor(r) {
6
- s(this, r);
7
- }
8
- render() {
9
- return i(l, null, i("slot", null));
10
- }
11
- };
12
- o.style = t;
13
- export {
14
- o as swirl_visually_hidden
15
- };