@getflip/swirl-components-react 0.80.4 → 0.82.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.
- package/dist/{file-manager.entry.e13854a3.js → file-manager.entry.455fdaad.js} +4 -4
- package/dist/{index.1508b8d7.js → index.5a52a569.js} +255 -255
- package/dist/{swirl-action-list-section.entry.f4f7e26e.js → swirl-action-list-section.entry.e62e5ba8.js} +1 -1
- package/dist/{swirl-action-list_3.entry.6747d23d.js → swirl-action-list_3.entry.0ec75029.js} +21 -21
- package/dist/{swirl-app-bar.entry.010474cf.js → swirl-app-bar.entry.f1a52ab7.js} +2 -2
- package/dist/{swirl-app-icon.entry.b347921f.js → swirl-app-icon.entry.2a145d6c.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.0b98cbd8.js → swirl-app-layout_7.entry.39357d5b.js} +8 -8
- package/dist/{swirl-autocomplete.entry.3aac060b.js → swirl-autocomplete.entry.887ba979.js} +21 -21
- package/dist/{swirl-avatar-group.entry.80907599.js → swirl-avatar-group.entry.4504fc6f.js} +1 -1
- package/dist/{swirl-avatar.entry.120d9dde.js → swirl-avatar.entry.8baed156.js} +1 -1
- package/dist/{swirl-badge.entry.7903a219.js → swirl-badge.entry.c337df4b.js} +1 -1
- package/dist/{swirl-banner.entry.f918d04b.js → swirl-banner.entry.8f8f4706.js} +8 -8
- package/dist/{swirl-button-group.entry.d0c9e462.js → swirl-button-group.entry.048cb55b.js} +1 -1
- package/dist/{swirl-button.entry.a964b123.js → swirl-button.entry.794c30fc.js} +2 -2
- package/dist/{swirl-card.entry.2d75db29.js → swirl-card.entry.b7fb5e5f.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.a4693fd7.js → swirl-carousel-slide.entry.beeb59f8.js} +1 -1
- package/dist/{swirl-carousel.entry.2d4811cd.js → swirl-carousel.entry.e6c59fd7.js} +2 -2
- package/dist/{swirl-checkbox.entry.507ebc84.js → swirl-checkbox.entry.1fd1010d.js} +1 -1
- package/dist/{swirl-chip.entry.c688230e.js → swirl-chip.entry.9d02bd73.js} +4 -4
- package/dist/{swirl-columns.entry.809791a9.js → swirl-columns.entry.c3f5d758.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +47 -47
- package/dist/{swirl-console-layout.entry.74fdd9e9.js → swirl-console-layout.entry.9ca7f81a.js} +19 -19
- package/dist/{swirl-date-input.entry.d3e92f03.js → swirl-date-input.entry.4a294a9e.js} +13 -13
- package/dist/{swirl-date-picker_2.entry.d4c33050.js → swirl-date-picker_2.entry.dc7d2df6.js} +1 -1
- package/dist/{swirl-description-list-item.entry.07ec3d3b.js → swirl-description-list-item.entry.d15f89cb.js} +1 -1
- package/dist/{swirl-description-list.entry.9bf4c675.js → swirl-description-list.entry.bf8e4ede.js} +1 -1
- package/dist/{swirl-dialog.entry.3bcb49d7.js → swirl-dialog.entry.68c3b5d3.js} +11 -11
- package/dist/{swirl-file-uploader.entry.14c85d28.js → swirl-file-uploader.entry.cf89264f.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.5dce272f.js → swirl-file-viewer_7.entry.3636e50e.js} +316 -316
- package/dist/{swirl-form-control.entry.8a7e3652.js → swirl-form-control.entry.2f840058.js} +13 -13
- package/dist/{swirl-form-group.entry.1832ead7.js → swirl-form-group.entry.e6dc2f91.js} +1 -1
- package/dist/{swirl-heading.entry.d579f78f.js → swirl-heading.entry.663a7ce5.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.cef941d2.js → swirl-icon-add-photo.entry.96b78df5.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.bb3b176d.js → swirl-icon-add_6.entry.207b25f2.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.81e539e8.js → swirl-icon-admin-panel-settings.entry.19bddcbe.js} +1 -1
- package/dist/{swirl-icon-ai.entry.b0ef2699.js → swirl-icon-ai.entry.bbfb1e1c.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.e0714eaa.js → swirl-icon-arrow-back.entry.f881887b.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.5a148c0c.js → swirl-icon-arrow-downward_2.entry.e95af6c6.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.88ed59b1.js → swirl-icon-arrow-forward.entry.876bd752.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.3557b51f.js → swirl-icon-arrow-left_4.entry.d31922e1.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.8971f297.js → swirl-icon-arrow-right-small.entry.6768caee.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.e4a0cd1e.js → swirl-icon-attachment.entry.583e53cf.js} +1 -1
- package/dist/{swirl-icon-bar-chart.entry.4f252466.js → swirl-icon-bar-chart.entry.1a78b32f.js} +1 -1
- package/dist/{swirl-icon-block.entry.940929eb.js → swirl-icon-block.entry.88b3b434.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.fa7db7b5.js → swirl-icon-bookmark.entry.243ec9d0.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.4d81b634.js → swirl-icon-cancel_4.entry.e4b1f1f1.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.8f7159fd.js → swirl-icon-chat-bubble.entry.a55f81b9.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.0c42b4cc.js → swirl-icon-chats-filled.entry.0265f4a4.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.ace3ae5b.js → swirl-icon-chats-outlined.entry.4ca00994.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.9cc0cbf4.js → swirl-icon-check-circle_3.entry.267aed0c.js} +1 -1
- package/dist/{swirl-icon-check-small_3.entry.75bb3491.js → swirl-icon-check-small_3.entry.9c6490ff.js} +28 -28
- package/dist/{swirl-icon-check-strong.entry.6870887c.js → swirl-icon-check-strong.entry.81b96cf7.js} +1 -1
- package/dist/{swirl-icon-check.entry.72e45a62.js → swirl-icon-check.entry.cb0c1bbe.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.2fc291bd.js → swirl-icon-chevron-left.entry.ec6a5d16.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.fcedb9df.js → swirl-icon-chevron-right.entry.b480fb79.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.26d52413.js → swirl-icon-close-small.entry.ba170a88.js} +1 -1
- package/dist/{swirl-icon-close.entry.589da06f.js → swirl-icon-close.entry.57d97244.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.2a7804ff.js → swirl-icon-cloud-upload.entry.58a6264e.js} +1 -1
- package/dist/{swirl-icon-column.entry.3228413d.js → swirl-icon-column.entry.e5a9fb73.js} +1 -1
- package/dist/{swirl-icon-comment.entry.bde503ca.js → swirl-icon-comment.entry.5b1c349e.js} +1 -1
- package/dist/{swirl-icon-copy.entry.b263b7e3.js → swirl-icon-copy.entry.198ec0b1.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.0bffb41f.js → swirl-icon-date-range.entry.7026ebdf.js} +1 -1
- package/dist/{swirl-icon-delete.entry.2aff94f5.js → swirl-icon-delete.entry.bf719e7d.js} +1 -1
- package/dist/{swirl-icon-description.entry.5fbc0a56.js → swirl-icon-description.entry.397593eb.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.1adbb5b3.js → swirl-icon-double-arrow-left.entry.3ed2cf45.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.ac8e9103.js → swirl-icon-double-arrow-right.entry.d371ba13.js} +1 -1
- package/dist/{swirl-icon-download.entry.d971721f.js → swirl-icon-download.entry.c6d5fbc9.js} +1 -1
- package/dist/{swirl-icon-edit.entry.f609e582.js → swirl-icon-edit.entry.19856fd4.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.710eb059.js → swirl-icon-emoji-mood.entry.89b6343a.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.b3177945.js → swirl-icon-emoji-satisfied.entry.9d35f0b9.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.895f3da9.js → swirl-icon-error_3.entry.2a4c2d90.js} +2 -2
- package/dist/{swirl-icon-expand-more.entry.e0ad5e0b.js → swirl-icon-expand-more.entry.a14e018c.js} +1 -1
- package/dist/{swirl-icon-filter.entry.6c7b0e02.js → swirl-icon-filter.entry.5a3b3039.js} +1 -1
- package/dist/{swirl-icon-folder.entry.5008ba5e.js → swirl-icon-folder.entry.c723933f.js} +1 -1
- package/dist/{swirl-icon-format-h-one.entry.d141186b.js → swirl-icon-format-h-one.entry.6fa84333.js} +1 -1
- package/dist/{swirl-icon-gif.entry.7cc5b262.js → swirl-icon-gif.entry.c0915199.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.bec7cc85.js → swirl-icon-group-assign.entry.dce59a09.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.a4da3c41.js → swirl-icon-groups-custom.entry.4a0daec7.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.3bb26058.js → swirl-icon-groups-filled.entry.d9479ba1.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.c4b51028.js → swirl-icon-groups-outlined.entry.4bbd6d00.js} +1 -1
- package/dist/{swirl-icon-groups.entry.d7fd8f43.js → swirl-icon-groups.entry.e944456b.js} +1 -1
- package/dist/{swirl-icon-help.entry.16f3afa8.js → swirl-icon-help.entry.f506c72d.js} +1 -1
- package/dist/{swirl-icon-highlight.entry.0134669e.js → swirl-icon-highlight.entry.c40b8e89.js} +1 -1
- package/dist/{swirl-icon-home.entry.1f8e8624.js → swirl-icon-home.entry.70796c7f.js} +1 -1
- package/dist/{swirl-icon-image.entry.1a9b0ed1.js → swirl-icon-image.entry.5e504bda.js} +1 -1
- package/dist/{swirl-icon-improve-text.entry.200ac265.js → swirl-icon-improve-text.entry.a33197b4.js} +1 -1
- package/dist/{swirl-icon-insert-below.entry.8dbddd6d.js → swirl-icon-insert-below.entry.8a9a16ce.js} +1 -1
- package/dist/{swirl-icon-insert-on-top.entry.fcbdb1a0.js → swirl-icon-insert-on-top.entry.a6f1d3fb.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.729ddd1a.js → swirl-icon-inventory.entry.4eb08291.js} +1 -1
- package/dist/{swirl-icon-like.entry.5596fd94.js → swirl-icon-like.entry.e97fd728.js} +1 -1
- package/dist/{swirl-icon-link.entry.51bf4ba1.js → swirl-icon-link.entry.c3cbaa2d.js} +1 -1
- package/dist/{swirl-icon-lock-person.entry.adde08f3.js → swirl-icon-lock-person.entry.997c04e1.js} +1 -1
- package/dist/{swirl-icon-lock.entry.4b466373.js → swirl-icon-lock.entry.d36e454e.js} +1 -1
- package/dist/{swirl-icon-logout.entry.fbcdcc6b.js → swirl-icon-logout.entry.56685e4b.js} +1 -1
- package/dist/{swirl-icon-long-text.entry.50ad0532.js → swirl-icon-long-text.entry.0ee003b7.js} +1 -1
- package/dist/{swirl-icon-mail.entry.bb01cff5.js → swirl-icon-mail.entry.5fa0db61.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.fa200327.js → swirl-icon-manage-accounts.entry.2d754757.js} +1 -1
- package/dist/{swirl-icon-mark-chat-read.entry.2d74c79f.js → swirl-icon-mark-chat-read.entry.f78b6991.js} +1 -1
- package/dist/{swirl-icon-mark-chat-unread.entry.1bc18d02.js → swirl-icon-mark-chat-unread.entry.27b4499d.js} +1 -1
- package/dist/{swirl-icon-mention.entry.7a856df8.js → swirl-icon-mention.entry.c158dac2.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.8582341e.js → swirl-icon-menu-filled.entry.4b748a3b.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.c5647cad.js → swirl-icon-menu-outlined.entry.1361ec66.js} +1 -1
- package/dist/{swirl-icon-menu.entry.c1577249.js → swirl-icon-menu.entry.d0c47b1b.js} +1 -1
- package/dist/{swirl-icon-message.entry.caf2b477.js → swirl-icon-message.entry.08db03b5.js} +1 -1
- package/dist/{swirl-icon-mic.entry.e93e0eb3.js → swirl-icon-mic.entry.4cc14afc.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.2252e883.js → swirl-icon-more-horizontal.entry.ce2f90a6.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.caf98d1d.js → swirl-icon-news-filled.entry.63afef9f.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.8a2eea73.js → swirl-icon-news-outlined.entry.748c774e.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.023eaf5e.js → swirl-icon-notifications-active.entry.3de08d7c.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.01f4dd9c.js → swirl-icon-notifications-off.entry.ee36d86b.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.190b16a8.js → swirl-icon-notifications.entry.b8c9e619.js} +1 -1
- package/dist/{swirl-icon-open-in-full.entry.a7d8a492.js → swirl-icon-open-in-full.entry.ea89df36.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.7daf74b6.js → swirl-icon-open-in-new.entry.5b853180.js} +1 -1
- package/dist/{swirl-icon-pause-circle.entry.60b963e2.js → swirl-icon-pause-circle.entry.7602c0fe.js} +1 -1
- package/dist/{swirl-icon-pause.entry.ff2b6ce9.js → swirl-icon-pause.entry.96865c82.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.be0298e2.js → swirl-icon-people-alt.entry.16d13439.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.30db4ec0.js → swirl-icon-person-off.entry.03d93508.js} +1 -1
- package/dist/{swirl-icon-person.entry.eb65334d.js → swirl-icon-person.entry.1792f3ad.js} +1 -1
- package/dist/{swirl-icon-phone.entry.f283d760.js → swirl-icon-phone.entry.61c24d4f.js} +1 -1
- package/dist/{swirl-icon-play-arrow.entry.77faf992.js → swirl-icon-play-arrow.entry.73710896.js} +1 -1
- package/dist/{swirl-icon-poll.entry.f13f46c6.js → swirl-icon-poll.entry.c5a417c3.js} +1 -1
- package/dist/{swirl-icon-print.entry.98bf327f.js → swirl-icon-print.entry.e25a8806.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.7a081ca4.js → swirl-icon-recieved.entry.bcfcbce4.js} +1 -1
- package/dist/{swirl-icon-reply.entry.b622c3a4.js → swirl-icon-reply.entry.4ab243fb.js} +1 -1
- package/dist/{swirl-icon-report.entry.24d1b7cf.js → swirl-icon-report.entry.6397a525.js} +1 -1
- package/dist/{swirl-icon-roadmap.entry.a1154733.js → swirl-icon-roadmap.entry.4cf34d9c.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.a6f7890d.js → swirl-icon-search-strong.entry.c2eab4ce.js} +1 -1
- package/dist/{swirl-icon-search.entry.b943e372.js → swirl-icon-search.entry.208563a5.js} +1 -1
- package/dist/{swirl-icon-send.entry.2a1a5d64.js → swirl-icon-send.entry.5c8006c8.js} +1 -1
- package/dist/{swirl-icon-settings.entry.8434892f.js → swirl-icon-settings.entry.9543cb5c.js} +1 -1
- package/dist/{swirl-icon-short-text.entry.8878a25f.js → swirl-icon-short-text.entry.ca80a1f7.js} +1 -1
- package/dist/{swirl-icon-simplify.entry.a6fe129e.js → swirl-icon-simplify.entry.f4021796.js} +1 -1
- package/dist/{swirl-icon-spellcheck.entry.c86c7565.js → swirl-icon-spellcheck.entry.ee233a85.js} +1 -1
- package/dist/{swirl-icon-stop.entry.6b3897cc.js → swirl-icon-stop.entry.6a5517b8.js} +1 -1
- package/dist/{swirl-icon-sync.entry.6750f418.js → swirl-icon-sync.entry.dac0fe32.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.82fe3612.js → swirl-icon-tasks-filled.entry.ad66cc3f.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.b9099501.js → swirl-icon-tasks-outlined.entry.ad03f095.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.f02bf703.js → swirl-icon-time-filled.entry.2cd230a0.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.15b3c9e9.js → swirl-icon-time-outlined.entry.fa61a970.js} +1 -1
- package/dist/{swirl-icon-translate.entry.2f007d45.js → swirl-icon-translate.entry.d2b06cac.js} +1 -1
- package/dist/{swirl-icon-undo.entry.6a2cc783.js → swirl-icon-undo.entry.8db987be.js} +1 -1
- package/dist/{swirl-icon-unlock-person.entry.8f3d23a9.js → swirl-icon-unlock-person.entry.ba8893d9.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.73a38668.js → swirl-icon-user-assign.entry.0ca87b81.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.779ca046.js → swirl-icon-video-camera.entry.6c3b3048.js} +1 -1
- package/dist/{swirl-icon-video-library.entry.be740800.js → swirl-icon-video-library.entry.52fe1098.js} +1 -1
- package/dist/{swirl-icon-voice.entry.a4e09f01.js → swirl-icon-voice.entry.00dd7a4c.js} +1 -1
- package/dist/{swirl-icon.entry.cf7bb4ac.js → swirl-icon.entry.b557ae6b.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.3a8403d1.js → swirl-image-grid-item.entry.32690a67.js} +1 -1
- package/dist/{swirl-image-grid.entry.cfcb7625.js → swirl-image-grid.entry.a0819297.js} +1 -1
- package/dist/{swirl-inline-notification.entry.5ee47f6c.js → swirl-inline-notification.entry.b120f677.js} +1 -1
- package/dist/{swirl-inline-status.entry.b3a7210a.js → swirl-inline-status.entry.1b17fa33.js} +2 -2
- package/dist/{swirl-lightbox.entry.f54fdfa9.js → swirl-lightbox.entry.9720ca38.js} +31 -31
- package/dist/{swirl-link.entry.0b28f686.js → swirl-link.entry.4d8929c8.js} +1 -1
- package/dist/{swirl-list.entry.89b874ba.js → swirl-list.entry.cc60e5b5.js} +1 -1
- package/dist/{swirl-menu-item.entry.0008121e.js → swirl-menu-item.entry.168fa030.js} +11 -11
- package/dist/{swirl-menu.entry.7eac0c60.js → swirl-menu.entry.21c3f6a1.js} +51 -51
- package/dist/{swirl-modal.entry.21ee30b7.js → swirl-modal.entry.5cd75475.js} +215 -215
- package/dist/{swirl-option-list-section.entry.cc0188e8.js → swirl-option-list-section.entry.2e3eaac2.js} +1 -1
- package/dist/{swirl-option-list.entry.4d3549dd.js → swirl-option-list.entry.57fd2679.js} +22 -22
- package/dist/{swirl-pagination.entry.46c06694.js → swirl-pagination.entry.81d73c00.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.b9aaa0c0.js → swirl-pdf-reader.entry.c286dda0.js} +9 -9
- package/dist/{swirl-popover_2.entry.961a2ea5.js → swirl-popover_2.entry.a7e19157.js} +40 -40
- package/dist/{swirl-progress-indicator.entry.ed30dcb6.js → swirl-progress-indicator.entry.4c1b770c.js} +1 -1
- package/dist/{swirl-radio-group.entry.0e1b231d.js → swirl-radio-group.entry.ea459228.js} +1 -1
- package/dist/{swirl-radio.entry.5f18c284.js → swirl-radio.entry.5281f38a.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.0665ce3b.js → swirl-resource-list-file-item.entry.45920ceb.js} +14 -14
- package/dist/{swirl-search.entry.2446a7be.js → swirl-search.entry.1fae03ec.js} +7 -7
- package/dist/{swirl-select.entry.af7acd98.js → swirl-select.entry.6f89415f.js} +20 -20
- package/dist/{swirl-shell-layout.entry.b14e94da.js → swirl-shell-layout.entry.ab7b95e5.js} +2 -2
- package/dist/{swirl-shell-navigation-item.entry.2a522177.js → swirl-shell-navigation-item.entry.0685ec97.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.adafa32d.js → swirl-skeleton-box.entry.ac9d19d8.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.c51646d7.js → swirl-skeleton-text.entry.544f956d.js} +1 -1
- package/dist/{swirl-stack.entry.cc3fdf97.js → swirl-stack.entry.3c3d5b1a.js} +1 -1
- package/dist/{swirl-status-indicator.entry.5d6a9d7a.js → swirl-status-indicator.entry.9520b814.js} +1 -1
- package/dist/{swirl-switch.entry.6b02c4ce.js → swirl-switch.entry.346716af.js} +1 -1
- package/dist/{swirl-symbol-account-circle.entry.1d5df485.js → swirl-symbol-account-circle.entry.25740518.js} +1 -1
- package/dist/{swirl-symbol-alternate-email.entry.c969baf4.js → swirl-symbol-alternate-email.entry.585b095c.js} +1 -1
- package/dist/{swirl-symbol-android.entry.d2cb1040.js → swirl-symbol-android.entry.0db77056.js} +1 -1
- package/dist/{swirl-symbol-announcement.entry.bb85285f.js → swirl-symbol-announcement.entry.c3a2752c.js} +1 -1
- package/dist/{swirl-symbol-backup.entry.71e0600b.js → swirl-symbol-backup.entry.e96f2bad.js} +1 -1
- package/dist/{swirl-symbol-beach-access.entry.d480fd57.js → swirl-symbol-beach-access.entry.73c3fa66.js} +1 -1
- package/dist/{swirl-symbol-bookmark.entry.8d3c2d22.js → swirl-symbol-bookmark.entry.e9cc85a9.js} +1 -1
- package/dist/{swirl-symbol-cloud.entry.6ad16964.js → swirl-symbol-cloud.entry.d2c55d37.js} +1 -1
- package/dist/{swirl-symbol-coronavirus.entry.8769a931.js → swirl-symbol-coronavirus.entry.4ab128cc.js} +1 -1
- package/dist/{swirl-symbol-desktop-windows.entry.3af42abb.js → swirl-symbol-desktop-windows.entry.f8552a0d.js} +1 -1
- package/dist/{swirl-symbol-directions-car-filled.entry.aba34690.js → swirl-symbol-directions-car-filled.entry.6f1d726e.js} +1 -1
- package/dist/{swirl-symbol-edit-calendar.entry.b2607b3f.js → swirl-symbol-edit-calendar.entry.021e7f61.js} +1 -1
- package/dist/{swirl-symbol-email.entry.6cfd5435.js → swirl-symbol-email.entry.c22684ed.js} +1 -1
- package/dist/{swirl-symbol-emoji-food-beverage.entry.269465ec.js → swirl-symbol-emoji-food-beverage.entry.42f33562.js} +1 -1
- package/dist/{swirl-symbol-event-menu.entry.f0c24533.js → swirl-symbol-event-menu.entry.7182de95.js} +1 -1
- package/dist/{swirl-symbol-facebook.entry.c1c66f00.js → swirl-symbol-facebook.entry.9c53b8f5.js} +1 -1
- package/dist/{swirl-symbol-favorite.entry.372433d3.js → swirl-symbol-favorite.entry.9dd1c318.js} +1 -1
- package/dist/{swirl-symbol-fitness-center.entry.b7061512.js → swirl-symbol-fitness-center.entry.018f1b77.js} +1 -1
- package/dist/{swirl-symbol-flag.entry.2c65f526.js → swirl-symbol-flag.entry.dde08376.js} +1 -1
- package/dist/{swirl-symbol-folder.entry.e2019d51.js → swirl-symbol-folder.entry.6deb1cde.js} +1 -1
- package/dist/{swirl-symbol-globe.entry.43c90448.js → swirl-symbol-globe.entry.90c0f773.js} +1 -1
- package/dist/{swirl-symbol-groups.entry.926df40c.js → swirl-symbol-groups.entry.822c3286.js} +1 -1
- package/dist/{swirl-symbol-help.entry.43c509af.js → swirl-symbol-help.entry.4dfc0305.js} +1 -1
- package/dist/{swirl-symbol-image.entry.6baf166c.js → swirl-symbol-image.entry.96f2ee9f.js} +1 -1
- package/dist/{swirl-symbol-info-menu.entry.4744a394.js → swirl-symbol-info-menu.entry.b1ca08b7.js} +1 -1
- package/dist/{swirl-symbol-instagram.entry.cc270249.js → swirl-symbol-instagram.entry.4710dc4c.js} +1 -1
- package/dist/{swirl-symbol-ios.entry.e40f228e.js → swirl-symbol-ios.entry.185eaf65.js} +1 -1
- package/dist/{swirl-symbol-language.entry.17985df9.js → swirl-symbol-language.entry.8ac8f72f.js} +1 -1
- package/dist/{swirl-symbol-leaderboard.entry.25da7af2.js → swirl-symbol-leaderboard.entry.694454c8.js} +1 -1
- package/dist/{swirl-symbol-lightbulb.entry.53f26111.js → swirl-symbol-lightbulb.entry.488b1fa4.js} +1 -1
- package/dist/{swirl-symbol-linkedin.entry.f4cb8d76.js → swirl-symbol-linkedin.entry.996f2f48.js} +1 -1
- package/dist/{swirl-symbol-location-on.entry.3c46becb.js → swirl-symbol-location-on.entry.a13e84e5.js} +1 -1
- package/dist/{swirl-symbol-loyalty.entry.7ca6fa2f.js → swirl-symbol-loyalty.entry.adf4fdd2.js} +1 -1
- package/dist/{swirl-symbol-maps-home-work.entry.1acfe135.js → swirl-symbol-maps-home-work.entry.3a707876.js} +1 -1
- package/dist/{swirl-symbol-notifications.entry.177ae856.js → swirl-symbol-notifications.entry.8f094445.js} +1 -1
- package/dist/{swirl-symbol-open-in-new.entry.6c95f6b4.js → swirl-symbol-open-in-new.entry.f0e8049a.js} +1 -1
- package/dist/{swirl-symbol-pedal-bike.entry.980664a3.js → swirl-symbol-pedal-bike.entry.16100ac2.js} +1 -1
- package/dist/{swirl-symbol-pinterest.entry.a630d0c9.js → swirl-symbol-pinterest.entry.8b7484ee.js} +1 -1
- package/dist/{swirl-symbol-policy.entry.4aa90c28.js → swirl-symbol-policy.entry.bb10653f.js} +1 -1
- package/dist/{swirl-symbol-push-pin.entry.f9c02c78.js → swirl-symbol-push-pin.entry.0bf0b080.js} +1 -1
- package/dist/{swirl-symbol-redeem.entry.6e14136c.js → swirl-symbol-redeem.entry.58457ac1.js} +1 -1
- package/dist/{swirl-symbol-report-problem.entry.5933132a.js → swirl-symbol-report-problem.entry.23dbc740.js} +1 -1
- package/dist/{swirl-symbol-restaurant.entry.3b53aacb.js → swirl-symbol-restaurant.entry.bda6372b.js} +1 -1
- package/dist/{swirl-symbol-roadmap.entry.1bc5459f.js → swirl-symbol-roadmap.entry.c7c29f1f.js} +1 -1
- package/dist/{swirl-symbol-room.entry.0bd32c08.js → swirl-symbol-room.entry.903bb67e.js} +1 -1
- package/dist/{swirl-symbol-savings.entry.26b501f8.js → swirl-symbol-savings.entry.427ea07e.js} +1 -1
- package/dist/{swirl-symbol-settings-voice.entry.79c26abd.js → swirl-symbol-settings-voice.entry.c6baac48.js} +1 -1
- package/dist/{swirl-symbol-shopping-cart.entry.5d0ab7c2.js → swirl-symbol-shopping-cart.entry.660e79ea.js} +1 -1
- package/dist/{swirl-symbol-smartphone.entry.0eaf37a3.js → swirl-symbol-smartphone.entry.ae8902a1.js} +1 -1
- package/dist/{swirl-symbol-star.entry.969e466c.js → swirl-symbol-star.entry.056244e3.js} +1 -1
- package/dist/{swirl-symbol-supervisor-account.entry.9feea03d.js → swirl-symbol-supervisor-account.entry.40b1bab4.js} +1 -1
- package/dist/{swirl-symbol-thumbs-up-down.entry.c070d20e.js → swirl-symbol-thumbs-up-down.entry.9be7a4a5.js} +1 -1
- package/dist/{swirl-symbol-twitter.entry.dfe04fa9.js → swirl-symbol-twitter.entry.f07f2d5e.js} +1 -1
- package/dist/{swirl-symbol-wb-sunny.entry.efd856ef.js → swirl-symbol-wb-sunny.entry.c542b204.js} +1 -1
- package/dist/{swirl-symbol-wechat.entry.7c3ac224.js → swirl-symbol-wechat.entry.e3e5e7d9.js} +1 -1
- package/dist/{swirl-symbol-weibo.entry.55b8c660.js → swirl-symbol-weibo.entry.bc3e44ce.js} +1 -1
- package/dist/{swirl-symbol-work.entry.047e420a.js → swirl-symbol-work.entry.a7dbde21.js} +1 -1
- package/dist/{swirl-symbol-xing.entry.d2e1d8a4.js → swirl-symbol-xing.entry.12c82e48.js} +1 -1
- package/dist/{swirl-symbol-youtube.entry.7c566f67.js → swirl-symbol-youtube.entry.f18cdeb1.js} +1 -1
- package/dist/{swirl-symbol.entry.f77d175f.js → swirl-symbol.entry.04b958d4.js} +1 -1
- package/dist/{swirl-tab-bar.entry.613aa1f9.js → swirl-tab-bar.entry.ca48f30f.js} +1 -1
- package/dist/{swirl-tab.entry.af48b642.js → swirl-tab.entry.18e9afde.js} +1 -1
- package/dist/{swirl-table-cell.entry.54455c7d.js → swirl-table-cell.entry.a0f1fe25.js} +1 -1
- package/dist/{swirl-table-column.entry.126fae83.js → swirl-table-column.entry.338d9f6d.js} +1 -1
- package/dist/{swirl-table-row-group.entry.b1a443a1.js → swirl-table-row-group.entry.a3bf3ffc.js} +1 -1
- package/dist/{swirl-table-row.entry.a1a52736.js → swirl-table-row.entry.accc85cd.js} +3 -3
- package/dist/{swirl-table.entry.d187504d.js → swirl-table.entry.cfcf0e80.js} +16 -16
- package/dist/{swirl-tabs.entry.137ccd38.js → swirl-tabs.entry.a182ec5e.js} +7 -7
- package/dist/{swirl-tag.entry.0af7a86c.js → swirl-tag.entry.61383c44.js} +2 -2
- package/dist/{swirl-text-input.entry.fac3abf5.js → swirl-text-input.entry.5163cd13.js} +18 -18
- package/dist/{swirl-text.entry.d6ecdb8b.js → swirl-text.entry.540c5738.js} +1 -1
- package/dist/{swirl-theme-provider.entry.a1b01352.js → swirl-theme-provider.entry.6bebe112.js} +78 -66
- package/dist/{swirl-time-input.entry.5ae15bb9.js → swirl-time-input.entry.fda1e8cb.js} +35 -35
- package/dist/{swirl-toast-provider.entry.2384e474.js → swirl-toast-provider.entry.1beddcd0.js} +14 -9
- package/dist/{swirl-toast.entry.ae7fa515.js → swirl-toast.entry.cece31ca.js} +9 -9
- package/dist/{swirl-tooltip.entry.c6ec88dc.js → swirl-tooltip.entry.ad9007b5.js} +14 -14
- package/dist/{swirl-tree-navigation-item.entry.9521165f.js → swirl-tree-navigation-item.entry.e412b4ce.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.7c8ea11b.js → swirl-video-thumbnail.entry.966db4d7.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.78ae7a3a.js → swirl-visually-hidden.entry.186ba9e2.js} +1 -1
- package/dist/{wc-datepicker.entry.54e595d6.js → wc-datepicker.entry.846a8fe9.js} +1 -1
- package/package.json +2 -2
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { r as c, h as e, H as u, g } from "./index.
|
|
1
|
+
import { r as c, h as e, H as u, g } from "./index.5a52a569.js";
|
|
2
2
|
import { A as b } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
|
|
3
3
|
import { d as m, e as p } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as x } from "./index-d280dafb.186cdb0e.js";
|
|
5
|
-
import { q as
|
|
5
|
+
import { q as f } from "./utils-bc84f36e.1fee9865.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import "react-dom";
|
|
8
|
-
const
|
|
8
|
+
const v = ':host{display:block}:host *{box-sizing:border-box}.lightbox{position:fixed;z-index:var(--s-z-40);background-color:rgba(0, 0, 0, 1);inset:0}.lightbox[aria-hidden="true"]{display:none}@media (min-width: 768px){.lightbox{background-color:rgba(0, 0, 0, 0.6)}}.lightbox:not(.lightbox--closing) .lightbox__body{animation:0.15s lightbox-fade-in}@media (prefers-reduced-motion){.lightbox:not(.lightbox--closing) .lightbox__body{animation:none}}.lightbox--closing{animation:0.15s lightbox-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.lightbox--closing{animation:none}}.lightbox__body{position:relative;width:100%;height:100%}.lightbox__header{position:absolute;z-index:1;top:0;right:0;left:0;display:flex;padding:var(--s-space-12) var(--s-space-16);justify-content:space-between;align-items:flex-start;pointer-events:none}.lightbox__controls{position:absolute;z-index:1;top:50%;right:0;left:0;display:none;padding-right:var(--s-space-16);padding-left:var(--s-space-16);justify-content:space-between;align-items:flex-start;pointer-events:none}@media (min-width: 768px){.lightbox__controls{display:flex}}.lightbox__close-button,.lightbox__menu-button,.lightbox__previous-slide-button,.lightbox__next-slide-button{display:inline-flex;width:2.5rem;height:2.5rem;justify-content:center;align-items:center;border:none;border-radius:50%;color:var(--s-icon-on-image);background-color:rgba(0, 0, 0, 0.6);cursor:pointer;transition:opacity 0.15s;pointer-events:auto}.lightbox__close-button:disabled,.lightbox__menu-button:disabled,.lightbox__previous-slide-button:disabled,.lightbox__next-slide-button:disabled{pointer-events:none;opacity:0}.lightbox__content{overflow:hidden;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none}.lightbox__slides{display:flex;width:100%;height:100%}.lightbox__slides ::slotted(*){flex-basis:100%;flex-shrink:0;transition:transform 0.3s}@media (min-width: 768px){.lightbox__slides ::slotted(*){padding:4rem 5rem}}@media (prefers-reduced-motion){.lightbox__slides ::slotted(*){transition:none}}.lightbox__pagination{position:absolute;bottom:var(--s-space-32);left:50%;padding:var(--s-space-4) var(--s-space-12);border-radius:var(--s-border-radius-base);color:var(--s-text-on-image);background-color:rgba(0, 0, 0, 0.6);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);transform:translateX(-50%);pointer-events:none}@media (min-width: 768px){.lightbox__pagination{display:none}}.lightbox__meta{display:flex;padding-top:var(--s-space-4);padding-right:var(--s-space-16);padding-bottom:var(--s-space-4);padding-left:var(--s-space-16);align-items:center;gap:var(--s-space-12)}@media (min-width: 768px){.lightbox__meta{max-width:18rem}}.lightbox__thumbnail{display:inline-flex;flex-shrink:0}.lightbox__file-info{display:flex;min-width:0;flex-grow:1;flex-direction:column}@keyframes lightbox-fade-in{from{opacity:0}to{opacity:1}}@keyframes lightbox-fade-out{from{opacity:1}to{opacity:0}}', _ = class {
|
|
9
9
|
constructor(t) {
|
|
10
10
|
c(this, t), this.dragging = !1, this.mediaPlayers = [], this.onCloseButtonClick = () => {
|
|
11
11
|
this.close();
|
|
12
12
|
}, this.onDownloadButtonClick = () => {
|
|
13
13
|
var i;
|
|
14
|
-
(i = this.slides[this.activeSlideIndex])
|
|
14
|
+
(i = this.slides[this.activeSlideIndex]) == null || i.download(), this.menu.close();
|
|
15
15
|
}, this.onKeyDown = (i) => {
|
|
16
16
|
i.code === "Escape" ? this.close() : i.code === "ArrowLeft" ? this.onPreviousSlideClick() : i.code === "ArrowRight" && this.onNextSlideClick();
|
|
17
17
|
}, this.onNextSlideClick = () => {
|
|
@@ -21,29 +21,29 @@ const f = ':host{display:block}:host *{box-sizing:border-box}.lightbox{position:
|
|
|
21
21
|
}, this.registerSlides = () => {
|
|
22
22
|
this.slides = Array.from(this.el.children).filter((i) => i.tagName === "SWIRL-FILE-VIEWER"), this.setSlideAttributes(), this.updateMediaPlayers();
|
|
23
23
|
}, this.onPointerDown = (i) => {
|
|
24
|
-
this.dragging = !0, this.dragStartPosition = i instanceof MouseEvent ? i.clientX : i.touches[0].clientX, this.slides.forEach((
|
|
25
|
-
|
|
24
|
+
this.dragging = !0, this.dragStartPosition = i instanceof MouseEvent ? i.clientX : i.touches[0].clientX, this.slides.forEach((o) => {
|
|
25
|
+
o.style.transition = "none";
|
|
26
26
|
});
|
|
27
27
|
}, this.onPointerMove = async (i) => {
|
|
28
|
-
var
|
|
29
|
-
const
|
|
30
|
-
if (!(
|
|
28
|
+
var n, a;
|
|
29
|
+
const o = !(i instanceof MouseEvent) && i.touches.length > 1, s = (a = (n = this.slides[this.activeSlideIndex]) == null ? void 0 : n.shadowRoot) == null ? void 0 : a.querySelector("swirl-file-viewer-image"), l = Boolean(s) ? await s.getZoom() > 1 : !1;
|
|
30
|
+
if (!(o || l) && this.dragging) {
|
|
31
31
|
i.preventDefault();
|
|
32
32
|
const d = i instanceof MouseEvent ? i.clientX - this.dragStartPosition : i.touches[0].clientX - this.dragStartPosition;
|
|
33
|
-
this.slides.forEach((
|
|
34
|
-
const h = this.activeSlideIndex *
|
|
35
|
-
this.dragDelta = d,
|
|
33
|
+
this.slides.forEach((r) => {
|
|
34
|
+
const h = this.activeSlideIndex * r.getBoundingClientRect().width;
|
|
35
|
+
this.dragDelta = d, r.style.transform = `translate3d(${(-h + this.dragDelta) / 16}rem, 0, 0)`;
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
}, this.onPointerUp = () => {
|
|
39
39
|
this.dragging = !1, this.dragStartPosition = void 0;
|
|
40
40
|
const i = this.dragDelta / this.slides[this.activeSlideIndex].getBoundingClientRect().width;
|
|
41
41
|
this.dragDelta = 0;
|
|
42
|
-
const
|
|
42
|
+
const o = i > 0.2, s = i < -0.2;
|
|
43
43
|
this.slides.forEach((l) => {
|
|
44
44
|
l.style.transition = "";
|
|
45
|
-
}),
|
|
46
|
-
}, this.closeButtonLabel = "Close modal", this.downloadButtonLabel = "Download", this.label = void 0, this.menuLabel = "Slide options", this.menuTriggerLabel = "Open slide menu", this.nextSlideButtonLabel = "Next slide", this.previousSlideButtonLabel = "Previous slide", this.activeSlideIndex = 0, this.closing = !1, this.slides = void 0;
|
|
45
|
+
}), o ? this.onPreviousSlideClick() : s ? this.onNextSlideClick() : this.resetSlidePositions();
|
|
46
|
+
}, this.closeButtonLabel = "Close modal", this.downloadButtonLabel = "Download", this.hideMenu = void 0, this.label = void 0, this.menuLabel = "Slide options", this.menuTriggerLabel = "Open slide menu", this.nextSlideButtonLabel = "Next slide", this.previousSlideButtonLabel = "Previous slide", this.activeSlideIndex = 0, this.closing = !1, this.slides = void 0;
|
|
47
47
|
}
|
|
48
48
|
componentWillLoad() {
|
|
49
49
|
this.registerSlides();
|
|
@@ -53,7 +53,7 @@ const f = ':host{display:block}:host *{box-sizing:border-box}.lightbox{position:
|
|
|
53
53
|
}
|
|
54
54
|
disconnectedCallback() {
|
|
55
55
|
var t;
|
|
56
|
-
(t = this.modal)
|
|
56
|
+
(t = this.modal) == null || t.destroy(), this.unlockBodyScroll();
|
|
57
57
|
}
|
|
58
58
|
async open() {
|
|
59
59
|
this.modal.show(), this.lockBodyScroll(), this.activateSlide(this.activeSlideIndex || 0);
|
|
@@ -64,12 +64,12 @@ const f = ':host{display:block}:host *{box-sizing:border-box}.lightbox{position:
|
|
|
64
64
|
}, 150));
|
|
65
65
|
}
|
|
66
66
|
async activateSlide(t) {
|
|
67
|
-
var i,
|
|
68
|
-
(
|
|
69
|
-
l === this.activeSlideIndex ? (
|
|
67
|
+
var i, o;
|
|
68
|
+
(o = (i = this.menu) == null ? void 0 : i.close) == null || o.call(i), this.dragging = !1, this.activeSlideIndex = t, this.slides.forEach((s, l) => {
|
|
69
|
+
l === this.activeSlideIndex ? (s.removeAttribute("aria-hidden"), s.setAttribute("active", "true")) : l === this.activeSlideIndex - 1 || l === this.activeSlideIndex + 1 ? (s.setAttribute("aria-hidden", "true"), s.setAttribute("active", "true")) : s.setAttribute("aria-hidden", "true"), s.style.transform = `translate3d(-${100 * this.activeSlideIndex}%, 0, 0)`;
|
|
70
70
|
}), setTimeout(() => {
|
|
71
|
-
this.slides.forEach((
|
|
72
|
-
l !== this.activeSlideIndex && l !== this.activeSlideIndex - 1 && l !== this.activeSlideIndex + 1 &&
|
|
71
|
+
this.slides.forEach((s, l) => {
|
|
72
|
+
l !== this.activeSlideIndex && l !== this.activeSlideIndex - 1 && l !== this.activeSlideIndex + 1 && s.setAttribute("active", "false");
|
|
73
73
|
});
|
|
74
74
|
}, 300), this.stopAllMediaPlayers(), this.updateMediaPlayers(), this.resetImageZoom();
|
|
75
75
|
}
|
|
@@ -85,15 +85,15 @@ const f = ':host{display:block}:host *{box-sizing:border-box}.lightbox{position:
|
|
|
85
85
|
}
|
|
86
86
|
getCurrentFileName() {
|
|
87
87
|
var t, i;
|
|
88
|
-
return (i = (t = this.slides[this.activeSlideIndex])
|
|
88
|
+
return (i = (t = this.slides[this.activeSlideIndex]) == null ? void 0 : t.file) == null ? void 0 : i.split("/").pop();
|
|
89
89
|
}
|
|
90
90
|
getCurrentFileType() {
|
|
91
91
|
var t;
|
|
92
|
-
return (t = this.slides[this.activeSlideIndex])
|
|
92
|
+
return (t = this.slides[this.activeSlideIndex]) == null ? void 0 : t.type;
|
|
93
93
|
}
|
|
94
94
|
getCurrentThumbnailUrl() {
|
|
95
95
|
var t;
|
|
96
|
-
return (t = this.slides[this.activeSlideIndex])
|
|
96
|
+
return (t = this.slides[this.activeSlideIndex]) == null ? void 0 : t.thumbnailUrl;
|
|
97
97
|
}
|
|
98
98
|
lockBodyScroll() {
|
|
99
99
|
m(this.el);
|
|
@@ -102,7 +102,7 @@ const f = ':host{display:block}:host *{box-sizing:border-box}.lightbox{position:
|
|
|
102
102
|
p(this.el);
|
|
103
103
|
}
|
|
104
104
|
updateMediaPlayers() {
|
|
105
|
-
const t =
|
|
105
|
+
const t = f(this.el, "video");
|
|
106
106
|
this.mediaPlayers = t;
|
|
107
107
|
}
|
|
108
108
|
stopAllMediaPlayers() {
|
|
@@ -110,22 +110,22 @@ const f = ':host{display:block}:host *{box-sizing:border-box}.lightbox{position:
|
|
|
110
110
|
}
|
|
111
111
|
resetImageZoom() {
|
|
112
112
|
this.slides.forEach((t) => {
|
|
113
|
-
var
|
|
114
|
-
const
|
|
115
|
-
Boolean(
|
|
113
|
+
var o;
|
|
114
|
+
const i = (o = t == null ? void 0 : t.shadowRoot) == null ? void 0 : o.querySelector("swirl-file-viewer-image");
|
|
115
|
+
Boolean(i) && i.resetZoom();
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
118
|
render() {
|
|
119
|
-
const t = this.slides.length > 1, i = this.getCurrentFileName(),
|
|
119
|
+
const t = this.slides.length > 1, i = this.getCurrentFileName(), o = this.getCurrentFileType(), s = this.getCurrentThumbnailUrl(), l = x("lightbox", {
|
|
120
120
|
"lightbox--closing": this.closing
|
|
121
121
|
});
|
|
122
|
-
return e(u, null, e("section", { "aria-hidden": "true", "aria-label": this.label, class: l, id: "lightbox", onMouseDown: this.onPointerDown, onMouseMove: this.onPointerMove, onMouseOut: this.onPointerUp, onMouseUp: this.onPointerUp, onKeyDown: this.onKeyDown, onTouchEnd: this.onPointerUp, onTouchMove: this.onPointerMove, onTouchStart: this.onPointerDown, ref: (n) => this.modalEl = n }, e("div", { class: "lightbox__body", role: "document" }, e("header", { class: "lightbox__header" }, e("button", { "aria-label": this.closeButtonLabel, class: "lightbox__close-button", onClick: this.onCloseButtonClick }, e("swirl-icon-close", null)), e("swirl-popover-trigger", { popover: this.menu }, e("button", { "aria-label": this.menuTriggerLabel, class: "lightbox__menu-button" }, e("swirl-icon-more-vertikal", null)))), e("div", { "aria-roledescription": "carousel", class: "lightbox__content", role: "group" }, e("div", { "aria-atomic": "false", "aria-live": "polite", class: "lightbox__slides" }, e("slot", { onSlotchange: this.registerSlides }))), e("div", { class: "lightbox__controls" }, e("button", { "aria-label": this.previousSlideButtonLabel, class: "lightbox__previous-slide-button", disabled: this.activeSlideIndex === 0, onClick: this.onPreviousSlideClick }, e("swirl-icon-arrow-left", null)), e("button", { "aria-label": this.nextSlideButtonLabel, class: "lightbox__next-slide-button", disabled: this.activeSlideIndex === this.slides.length - 1, onClick: this.onNextSlideClick }, e("swirl-icon-arrow-right", null))), t && e("span", { class: "lightbox__pagination" }, e("span", { "aria-current": "page" }, this.activeSlideIndex + 1), " /", " ", this.slides.length)), e("swirl-popover", { animation: "scale-in-y", disableScrollLock: !0, id: "slide-menu", label: this.menuLabel, placement: "bottom-end", ref: (n) => this.menu = n }, e("swirl-stack", null, e("div", { class: "lightbox__meta" },
|
|
122
|
+
return e(u, null, e("section", { "aria-hidden": "true", "aria-label": this.label, class: l, id: "lightbox", onMouseDown: this.onPointerDown, onMouseMove: this.onPointerMove, onMouseOut: this.onPointerUp, onMouseUp: this.onPointerUp, onKeyDown: this.onKeyDown, onTouchEnd: this.onPointerUp, onTouchMove: this.onPointerMove, onTouchStart: this.onPointerDown, ref: (n) => this.modalEl = n }, e("div", { class: "lightbox__body", role: "document" }, e("header", { class: "lightbox__header" }, e("button", { "aria-label": this.closeButtonLabel, class: "lightbox__close-button", onClick: this.onCloseButtonClick }, e("swirl-icon-close", null)), !this.hideMenu && e("swirl-popover-trigger", { popover: this.menu }, e("button", { "aria-label": this.menuTriggerLabel, class: "lightbox__menu-button" }, e("swirl-icon-more-vertikal", null)))), e("div", { "aria-roledescription": "carousel", class: "lightbox__content", role: "group" }, e("div", { "aria-atomic": "false", "aria-live": "polite", class: "lightbox__slides" }, e("slot", { onSlotchange: this.registerSlides }))), e("div", { class: "lightbox__controls" }, e("button", { "aria-label": this.previousSlideButtonLabel, class: "lightbox__previous-slide-button", disabled: this.activeSlideIndex === 0, onClick: this.onPreviousSlideClick }, e("swirl-icon-arrow-left", null)), e("button", { "aria-label": this.nextSlideButtonLabel, class: "lightbox__next-slide-button", disabled: this.activeSlideIndex === this.slides.length - 1, onClick: this.onNextSlideClick }, e("swirl-icon-arrow-right", null))), t && e("span", { class: "lightbox__pagination" }, e("span", { "aria-current": "page" }, this.activeSlideIndex + 1), " /", " ", this.slides.length)), !this.hideMenu && e("swirl-popover", { animation: "scale-in-y", disableScrollLock: !0, id: "slide-menu", label: this.menuLabel, placement: "bottom-end", ref: (n) => this.menu = n }, e("swirl-stack", null, e("div", { class: "lightbox__meta" }, s && e("div", { class: "lightbox__thumbnail" }, e("swirl-thumbnail", { alt: "", src: s })), e("div", { class: "lightbox__file-info" }, e("swirl-text", { truncate: !0, weight: "semibold" }, i), e("swirl-text", { color: "subdued", size: "sm", truncate: !0 }, o))), e("swirl-separator", null), e("swirl-action-list", null, e("swirl-action-list-item", { icon: "<swirl-icon-download></swirl-icon-download>", label: this.downloadButtonLabel, onClick: this.onDownloadButtonClick }), e("slot", { name: "menu-items" }))))));
|
|
123
123
|
}
|
|
124
124
|
get el() {
|
|
125
125
|
return g(this);
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
|
-
_.style =
|
|
128
|
+
_.style = v;
|
|
129
129
|
export {
|
|
130
130
|
_ as swirl_lightbox
|
|
131
131
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as l, h as t, H as r } from "./index.
|
|
1
|
+
import { r as l, h as t, H as r } from "./index.5a52a569.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const s = ':host{display:block}:host *{box-sizing:border-box}.swirl-list{line-height:var(--s-line-height-base)}.swirl-list ul,.swirl-list ol{margin:0;padding:0;list-style-position:outside;list-style-type:none}.swirl-list ul li{padding-left:1.5rem}.swirl-list ul li:before{display:inline-block;width:1.5rem;margin-left:-1.5rem;text-align:center;content:"\u2022"}.swirl-list ol{counter-reset:item}.swirl-list ol ol{counter-reset:letter}.swirl-list ol ol li:before{content:counter(letter, lower-alpha) ".";counter-increment:letter}.swirl-list ol li{padding-left:1.5rem}.swirl-list ol li:before{display:inline-block;min-width:1.5rem;margin-left:-1.5rem;padding-right:var(--s-space-8);text-align:right;content:counter(item) ".";counter-increment:item;font-variant-numeric:tabular-nums}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.swirl-list{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}', n = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as a, h as i, H as l, g as u } from "./index.
|
|
1
|
+
import { r as a, h as i, H as l, g as u } from "./index.5a52a569.js";
|
|
2
2
|
import { c as d, p as h } from "./utils-bc84f36e.1fee9865.js";
|
|
3
3
|
import { c } from "./index-d280dafb.186cdb0e.js";
|
|
4
4
|
import "react";
|
|
@@ -43,23 +43,23 @@ const p = ":host{display:block}:host *{box-sizing:border-box}.menu-item--expande
|
|
|
43
43
|
!Boolean(this.actionListItem) || (this.actionListItem.swirlAriaExpanded = this.expanded ? "true" : void 0, this.actionListItem.swirlAriaHaspopup = Boolean(this.subMenu) ? "true" : void 0, this.actionListItem.suffix = Boolean(this.subMenu) ? '<swirl-icon-chevron-right size="16"></swirl-icon-chevron-right>' : void 0);
|
|
44
44
|
}
|
|
45
45
|
renderActionListItem() {
|
|
46
|
-
var
|
|
47
|
-
const
|
|
48
|
-
var
|
|
49
|
-
return s.value === ((
|
|
50
|
-
}))
|
|
51
|
-
return i("swirl-action-list-item", { badge:
|
|
46
|
+
var t, n, o;
|
|
47
|
+
const e = Boolean((t = this.subMenu) == null ? void 0 : t.value) ? (o = Array.from(((n = this.subMenu) == null ? void 0 : n.querySelectorAll("swirl-menu-item")) || []).find((s) => {
|
|
48
|
+
var r;
|
|
49
|
+
return s.value === ((r = this.subMenu) == null ? void 0 : r.value);
|
|
50
|
+
})) == null ? void 0 : o.label : void 0;
|
|
51
|
+
return i("swirl-action-list-item", { badge: e, description: this.description, disabled: this.disabled, icon: this.icon, intent: this.intent, label: this.label, onClick: this.onActionListItemClick, ref: (s) => this.actionListItem = s });
|
|
52
52
|
}
|
|
53
53
|
renderOptionListItem() {
|
|
54
54
|
var e;
|
|
55
|
-
return i("swirl-option-list-item", { disabled: this.disabled, icon: this.icon, label: this.label, onClick: this.onOptionListItemClick, onKeyDown: this.onOptionListItemKeyDown, onKeyUp: this.onOptionListItemKeyUp, ref: (t) => this.optionListItem = t, selected: ((e = this.parentMenu)
|
|
55
|
+
return i("swirl-option-list-item", { disabled: this.disabled, icon: this.icon, label: this.label, onClick: this.onOptionListItemClick, onKeyDown: this.onOptionListItemKeyDown, onKeyUp: this.onOptionListItemKeyUp, ref: (t) => this.optionListItem = t, selected: ((e = this.parentMenu) == null ? void 0 : e.value) === this.value, swirlAriaRole: "menuitemradio", value: this.value });
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
var
|
|
59
|
-
const
|
|
58
|
+
var t;
|
|
59
|
+
const e = c("menu-item", {
|
|
60
60
|
"menu-item--expanded": this.expanded
|
|
61
61
|
});
|
|
62
|
-
return i(l, null, i("div", { class:
|
|
62
|
+
return i(l, null, i("div", { class: e }, ((t = this.parentMenu) == null ? void 0 : t.variant) === "selection" ? this.renderOptionListItem() : this.renderActionListItem(), i("slot", { onSlotchange: this.onSlotChange })));
|
|
63
63
|
}
|
|
64
64
|
get el() {
|
|
65
65
|
return u(this);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { r as d, c as
|
|
1
|
+
import { r as d, c as h, h as o, H as p, g as v } from "./index.5a52a569.js";
|
|
2
2
|
import { c as b, a as f, o as w, f as g } from "./floating-ui.dom.esm-ac7cc24e.79b318e4.js";
|
|
3
3
|
import { c as M } from "./index-d280dafb.186cdb0e.js";
|
|
4
|
-
import { q as n, c as l, p as
|
|
4
|
+
import { q as n, c as l, p as m, i as x, a as y } from "./utils-bc84f36e.1fee9865.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const I = ":host{display:block}:host *{box-sizing:border-box}.menu{width:100%;--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)}.menu--mobile.menu--root{position:relative}.menu--mobile.menu--root .menu__menu{top:3.5rem;transition:left 0.2s}.menu--mobile.menu--active .menu__menu{display:block}.menu--mobile .menu__menu{position:absolute;top:0;left:0;display:none;width:100%}:not(.menu--mobile).menu--root{position:relative}:not(.menu--mobile).menu--root .menu__menu{position:relative;padding-top:0;padding-bottom:0}:not(.menu--mobile):not(.menu--root) .menu__menu{z-index:1;max-width:22.5rem;border-radius:var(--s-border-radius-sm);box-shadow:var(--s-shadow-level-1)}:not(.menu--mobile).menu--active .menu__menu{display:block}:not(.menu--mobile) .menu__menu{position:fixed;display:none}.menu__mobile-header{display:flex;height:3.5rem;padding-right:var(--s-space-16);padding-left:var(--s-space-16);justify-content:space-between;align-items:center;border-bottom:var(--s-border-width-default) solid var(--s-border-default);gap:var(--s-space-8)}.menu__mobile-header>*{display:inline-flex;flex-shrink:0}.menu__title{min-width:0;flex-grow:1;flex-shrink:1}.menu__title swirl-heading{min-width:0}.menu__done-button{margin-right:calc(-1 * var(--s-space-8))}.menu__menu{padding-top:var(--s-space-8);padding-bottom:var(--s-space-8);background-color:var(--s-surface-overlay-default)}", _ = class {
|
|
8
|
-
constructor(
|
|
9
|
-
d(this,
|
|
8
|
+
constructor(e) {
|
|
9
|
+
d(this, e), this.done = h(this, "done", 7), this.valueChange = h(this, "valueChange", 7), this.mobileMediaQuery = window.matchMedia("(min-width: 768px)"), this.mediaQueryHandler = () => {
|
|
10
10
|
this.updateMobileState();
|
|
11
11
|
}, this.resetMenu = () => {
|
|
12
|
-
this.items.forEach((
|
|
13
|
-
|
|
12
|
+
this.items.forEach((t) => {
|
|
13
|
+
t.tabIndex = -1;
|
|
14
14
|
}), !(this.level > 0) && setTimeout(() => {
|
|
15
15
|
this.activeLevel = 0, n(this.el, "swirl-menu").forEach((i) => {
|
|
16
16
|
i.active = !1, i.parentElement.expanded = !1;
|
|
@@ -23,21 +23,21 @@ const I = ":host{display:block}:host *{box-sizing:border-box}.menu{width:100%;--
|
|
|
23
23
|
this.position = void 0;
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
26
|
-
const
|
|
27
|
-
!Boolean(
|
|
26
|
+
const t = this.el.parentElement;
|
|
27
|
+
!Boolean(t) || !Boolean(this.menuContainer) || (this.position = await b(t, this.menuContainer, {
|
|
28
28
|
placement: "right-start",
|
|
29
29
|
strategy: "fixed",
|
|
30
30
|
middleware: [w({ mainAxis: -10, crossAxis: 0 }), g()]
|
|
31
31
|
}));
|
|
32
|
-
}, this.onKeyDown = (
|
|
33
|
-
if (
|
|
34
|
-
|
|
35
|
-
else if (
|
|
36
|
-
|
|
37
|
-
else if (
|
|
38
|
-
|
|
39
|
-
else if (
|
|
40
|
-
|
|
32
|
+
}, this.onKeyDown = (t) => {
|
|
33
|
+
if (t.code === "ArrowDown")
|
|
34
|
+
t.preventDefault(), t.stopPropagation(), this.focusNextItem();
|
|
35
|
+
else if (t.code === "ArrowUp")
|
|
36
|
+
t.preventDefault(), t.stopPropagation(), this.focusPreviousItem();
|
|
37
|
+
else if (t.code === "ArrowLeft")
|
|
38
|
+
t.preventDefault(), t.stopPropagation(), this.rootMenu.goBack();
|
|
39
|
+
else if (t.code === "ArrowRight") {
|
|
40
|
+
t.preventDefault();
|
|
41
41
|
const i = l(this.items[this.getActiveItemIndex()], "swirl-menu-item");
|
|
42
42
|
if (!Boolean(i))
|
|
43
43
|
return;
|
|
@@ -55,26 +55,26 @@ const I = ":host{display:block}:host *{box-sizing:border-box}.menu{width:100%;--
|
|
|
55
55
|
this.updateMobileState(), this.updateLevel(), this.observeSlotChanges();
|
|
56
56
|
}
|
|
57
57
|
componentDidLoad() {
|
|
58
|
-
this.mobileMediaQuery.onchange = this.mediaQueryHandler, this.parentMenu = l(this.el.parentElement, "swirl-menu"), this.popover = l(this.el, "swirl-popover"), this.rootMenu =
|
|
58
|
+
this.mobileMediaQuery.onchange = this.mediaQueryHandler, this.parentMenu = l(this.el.parentElement, "swirl-menu"), this.popover = l(this.el, "swirl-popover"), this.rootMenu = m(this.el, "swirl-menu").pop(), Boolean(this.parentMenu) && queueMicrotask(() => {
|
|
59
59
|
this.active = !1;
|
|
60
60
|
}), this.popover.addEventListener("popoverClose", this.resetMenu), this.updateItems();
|
|
61
61
|
}
|
|
62
62
|
disconnectedCallback() {
|
|
63
|
-
var
|
|
64
|
-
this.popover.removeEventListener("popoverClose", this.resetMenu), (
|
|
63
|
+
var e, t, i;
|
|
64
|
+
this.popover.removeEventListener("popoverClose", this.resetMenu), (t = (e = this.mobileMediaQuery).removeEventListener) == null || t.call(e, "change", this.mediaQueryHandler), (i = this.observer) == null || i.disconnect();
|
|
65
65
|
}
|
|
66
66
|
watchActive() {
|
|
67
67
|
this.reposition(), this.disableAutoUpdate && this.disableAutoUpdate(), this.disableAutoUpdate = f(this.el.parentElement, this.menuContainer, this.reposition);
|
|
68
68
|
}
|
|
69
|
-
async activateMenuItem(
|
|
69
|
+
async activateMenuItem(e) {
|
|
70
70
|
if (Boolean(this.parentMenu))
|
|
71
71
|
return;
|
|
72
|
-
const
|
|
73
|
-
n(this.el, "swirl-menu").filter((s) => s.level >=
|
|
72
|
+
const t = await e.getParentMenu();
|
|
73
|
+
n(this.el, "swirl-menu").filter((s) => s.level >= t.level && s !== t).forEach((s) => {
|
|
74
74
|
s.active = !1, s.parentElement.expanded = !1;
|
|
75
75
|
});
|
|
76
|
-
const a = await
|
|
77
|
-
!Boolean(a) || (
|
|
76
|
+
const a = await e.getSubMenu();
|
|
77
|
+
!Boolean(a) || (e.expanded = !0, a.active = !0, this.activeLevel = a.level, setTimeout(() => {
|
|
78
78
|
a.focusFirstItem();
|
|
79
79
|
}, this.mobile ? 200 : 60));
|
|
80
80
|
}
|
|
@@ -84,19 +84,19 @@ const I = ":host{display:block}:host *{box-sizing:border-box}.menu{width:100%;--
|
|
|
84
84
|
async goBack() {
|
|
85
85
|
if (Boolean(this.parentMenu) || this.activeLevel === 0)
|
|
86
86
|
return;
|
|
87
|
-
const
|
|
88
|
-
|
|
87
|
+
const t = (n(this.el, "swirl-menu").find((s) => s.level === this.activeLevel && s.active) || this.rootMenu).parentElement;
|
|
88
|
+
t.expanded = !1, this.activeLevel = Math.max(this.activeLevel - 1, 0), n(this.el, "swirl-menu").filter((s) => s.level > this.activeLevel).forEach((s) => {
|
|
89
89
|
s.active = !1;
|
|
90
|
-
}), (n(this.el, "swirl-menu").find((s) => s.level === this.activeLevel && s.active) || this.rootMenu).focusItemAtIndex(Array.from(
|
|
90
|
+
}), (n(this.el, "swirl-menu").find((s) => s.level === this.activeLevel && s.active) || this.rootMenu).focusItemAtIndex(Array.from(t.parentElement.children).indexOf(t));
|
|
91
91
|
}
|
|
92
92
|
async focusFirstItem() {
|
|
93
93
|
this.focusItem(this.items[0]);
|
|
94
94
|
}
|
|
95
|
-
async focusItemAtIndex(
|
|
96
|
-
this.focusItem(this.items[
|
|
95
|
+
async focusItemAtIndex(e) {
|
|
96
|
+
this.focusItem(this.items[e]);
|
|
97
97
|
}
|
|
98
|
-
async updateSelection(
|
|
99
|
-
this.valueChange.emit(
|
|
98
|
+
async updateSelection(e) {
|
|
99
|
+
this.valueChange.emit(e.value);
|
|
100
100
|
}
|
|
101
101
|
observeSlotChanges() {
|
|
102
102
|
this.observer = new MutationObserver(() => {
|
|
@@ -104,55 +104,55 @@ const I = ":host{display:block}:host *{box-sizing:border-box}.menu{width:100%;--
|
|
|
104
104
|
}), this.observer.observe(this.el, { childList: !0 });
|
|
105
105
|
}
|
|
106
106
|
updateMobileState() {
|
|
107
|
-
const
|
|
108
|
-
|
|
107
|
+
const e = x();
|
|
108
|
+
e !== this.mobile && (this.mobile = e);
|
|
109
109
|
}
|
|
110
110
|
updateItems() {
|
|
111
111
|
this.items = [
|
|
112
112
|
...n(this.el, '[role="menuitem"]'),
|
|
113
113
|
...n(this.el, '[role="menuitemradio"]')
|
|
114
|
-
].filter((
|
|
114
|
+
].filter((e) => l(e, "swirl-menu") === this.el);
|
|
115
115
|
}
|
|
116
116
|
updateLevel() {
|
|
117
|
-
const
|
|
118
|
-
this.level =
|
|
117
|
+
const e = m(this.el.parentNode, "swirl-menu");
|
|
118
|
+
this.level = e.length;
|
|
119
119
|
}
|
|
120
|
-
focusItem(
|
|
120
|
+
focusItem(e) {
|
|
121
121
|
[
|
|
122
122
|
...n(this.rootMenu, '[role="menuitem"]'),
|
|
123
123
|
...n(this.rootMenu, '[role="menuitemradio"]')
|
|
124
124
|
].forEach((i) => {
|
|
125
125
|
i.tabIndex = -1;
|
|
126
|
-
}), Boolean(
|
|
126
|
+
}), Boolean(e) && (e.tabIndex = 0, e.focus());
|
|
127
127
|
}
|
|
128
128
|
focusNextItem() {
|
|
129
|
-
const
|
|
129
|
+
const t = (this.getActiveItemIndex() + 1) % this.items.length, i = this.items[t];
|
|
130
130
|
this.focusItem(i);
|
|
131
131
|
}
|
|
132
132
|
focusPreviousItem() {
|
|
133
|
-
const
|
|
133
|
+
const e = this.getActiveItemIndex(), t = e === 0 ? this.items.length - 1 : e - 1, i = this.items[t];
|
|
134
134
|
this.focusItem(i);
|
|
135
135
|
}
|
|
136
136
|
getActiveItemIndex() {
|
|
137
|
-
const
|
|
138
|
-
return this.items.findIndex((
|
|
137
|
+
const e = y();
|
|
138
|
+
return this.items.findIndex((t) => t === e || t === (e == null ? void 0 : e.querySelector('[role="menuitem"]')) || t === (e == null ? void 0 : e.querySelector('[role="menuitemradio"]')));
|
|
139
139
|
}
|
|
140
140
|
render() {
|
|
141
|
-
var
|
|
142
|
-
const
|
|
141
|
+
var r, u;
|
|
142
|
+
const e = !Boolean(this.parentMenu), t = e && this.mobile ? void 0 : this.label, i = e && this.mobile ? "menu-title" : void 0, a = e ? "menubar" : "menu", s = M("menu", `menu--level-${this.level}`, {
|
|
143
143
|
"menu--active": this.active,
|
|
144
144
|
"menu--mobile": this.mobile,
|
|
145
|
-
"menu--root":
|
|
145
|
+
"menu--root": e
|
|
146
146
|
});
|
|
147
|
-
return o(
|
|
148
|
-
top: Boolean(this.position) ? `${(
|
|
149
|
-
left: Boolean(this.position) ? `${(
|
|
147
|
+
return o(p, null, o("div", { class: s }, this.mobile && e && o("div", { class: "menu__mobile-header" }, this.activeLevel === 0 && o("swirl-button", { hideLabel: !0, icon: "<swirl-icon-close></swirl-icon-close>", label: this.mobileCloseMenuButtonLabel, onClick: this.onClose, variant: "plain" }), this.activeLevel > 0 && o("swirl-button", { hideLabel: !0, icon: "<swirl-icon-chevron-left></swirl-icon-chevron-left>", label: this.mobileBackButtonLabel, onClick: this.onGoBack, variant: "plain" }), o("span", { class: "menu__title", id: "menu-title" }, o("swirl-heading", { align: "center", as: "span", level: 4, text: this.label, truncate: !0 })), o("swirl-button", { class: "menu__done-button", intent: "primary", label: this.mobileDoneButtonLabel, onClick: this.onDone })), o("div", { "aria-label": t, "aria-labelledby": i, "aria-orientation": "vertical", class: "menu__menu", onKeyDown: this.onKeyDown, ref: (c) => this.menuContainer = c, role: a, style: !this.mobile && this.level > 0 ? {
|
|
148
|
+
top: Boolean(this.position) ? `${(r = this.position) == null ? void 0 : r.y}px` : "",
|
|
149
|
+
left: Boolean(this.position) ? `${(u = this.position) == null ? void 0 : u.x}px` : ""
|
|
150
150
|
} : this.mobile ? {
|
|
151
|
-
left:
|
|
151
|
+
left: e ? `calc(-100% * ${this.activeLevel})` : "100%"
|
|
152
152
|
} : void 0 }, o("slot", null))));
|
|
153
153
|
}
|
|
154
154
|
get el() {
|
|
155
|
-
return
|
|
155
|
+
return v(this);
|
|
156
156
|
}
|
|
157
157
|
static get watchers() {
|
|
158
158
|
return {
|