@getflip/swirl-components-react 0.80.3 → 0.81.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.b9851df5.js → file-manager.entry.b3791826.js} +4 -4
- package/dist/{index.5e647dd4.js → index.e636c5f9.js} +255 -255
- package/dist/{swirl-action-list-section.entry.d28ae1f1.js → swirl-action-list-section.entry.7a3e0165.js} +1 -1
- package/dist/{swirl-action-list_3.entry.186c04f5.js → swirl-action-list_3.entry.dc064cc9.js} +21 -21
- package/dist/{swirl-app-bar.entry.c657a292.js → swirl-app-bar.entry.33eb8f2e.js} +2 -2
- package/dist/{swirl-app-icon.entry.e4f3c8f4.js → swirl-app-icon.entry.ae3fb019.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.b4058612.js → swirl-app-layout_7.entry.651d9586.js} +8 -8
- package/dist/{swirl-autocomplete.entry.466a5a72.js → swirl-autocomplete.entry.5e2b3422.js} +21 -21
- package/dist/{swirl-avatar-group.entry.fb672c8f.js → swirl-avatar-group.entry.78097e6c.js} +1 -1
- package/dist/{swirl-avatar.entry.fddcf0c4.js → swirl-avatar.entry.e9382b92.js} +1 -1
- package/dist/{swirl-badge.entry.21b2cf2e.js → swirl-badge.entry.cc7ed1a9.js} +1 -1
- package/dist/{swirl-banner.entry.3e9a1497.js → swirl-banner.entry.4c73c5d4.js} +8 -8
- package/dist/{swirl-button-group.entry.f147a047.js → swirl-button-group.entry.77f938d6.js} +1 -1
- package/dist/{swirl-button.entry.1a3aad3c.js → swirl-button.entry.d89c91e3.js} +2 -2
- package/dist/{swirl-card.entry.dac11b4c.js → swirl-card.entry.39e12b1d.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.4b15cd1a.js → swirl-carousel-slide.entry.589b97d1.js} +1 -1
- package/dist/{swirl-carousel.entry.63882653.js → swirl-carousel.entry.cf905a6a.js} +2 -2
- package/dist/{swirl-checkbox.entry.1b23520f.js → swirl-checkbox.entry.9897935c.js} +1 -1
- package/dist/{swirl-chip.entry.d2d4dc0f.js → swirl-chip.entry.f5196b00.js} +4 -4
- package/dist/{swirl-columns.entry.b4ec1c95.js → swirl-columns.entry.d2a32467.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.b2d0a947.js → swirl-console-layout.entry.89add690.js} +19 -19
- package/dist/{swirl-date-input.entry.9edd3cbd.js → swirl-date-input.entry.fce5a544.js} +16 -14
- package/dist/{swirl-date-picker_2.entry.0e85edda.js → swirl-date-picker_2.entry.8e8dcf90.js} +1 -1
- package/dist/{swirl-description-list-item.entry.380c7304.js → swirl-description-list-item.entry.a8f5af0c.js} +1 -1
- package/dist/{swirl-description-list.entry.1d91f38c.js → swirl-description-list.entry.07a3a754.js} +1 -1
- package/dist/{swirl-dialog.entry.bde4536b.js → swirl-dialog.entry.102c937d.js} +11 -11
- package/dist/{swirl-file-uploader.entry.0f33989f.js → swirl-file-uploader.entry.d9351a1e.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.a5a4de69.js → swirl-file-viewer_7.entry.5faefd6f.js} +316 -316
- package/dist/{swirl-form-control.entry.08554a90.js → swirl-form-control.entry.e871fd01.js} +13 -13
- package/dist/{swirl-form-group.entry.0b2dd0bf.js → swirl-form-group.entry.20ebe0d5.js} +1 -1
- package/dist/{swirl-heading.entry.6f2a13a0.js → swirl-heading.entry.00b9abb2.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.7f873b1c.js → swirl-icon-add-photo.entry.51a8f644.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.494134fe.js → swirl-icon-add_6.entry.1e3f407b.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.8a3d8e2a.js → swirl-icon-admin-panel-settings.entry.19cdbe6d.js} +1 -1
- package/dist/{swirl-icon-ai.entry.edb3e042.js → swirl-icon-ai.entry.236313f3.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.2e29cb10.js → swirl-icon-arrow-back.entry.262aea95.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.d17a1891.js → swirl-icon-arrow-downward_2.entry.d63dd34c.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.b902b7d3.js → swirl-icon-arrow-forward.entry.73fb825e.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.3213de78.js → swirl-icon-arrow-left_4.entry.3b54f63d.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.3992b20f.js → swirl-icon-arrow-right-small.entry.3631c0e1.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.6c44cb44.js → swirl-icon-attachment.entry.8e3de451.js} +1 -1
- package/dist/{swirl-icon-bar-chart.entry.aaa2c29a.js → swirl-icon-bar-chart.entry.04381fb7.js} +1 -1
- package/dist/{swirl-icon-block.entry.914ddf1d.js → swirl-icon-block.entry.56a413fd.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.17475e31.js → swirl-icon-bookmark.entry.23f8f970.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.2227adc5.js → swirl-icon-cancel_4.entry.4f419de1.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.3d41bc1a.js → swirl-icon-chat-bubble.entry.28770125.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.20b5367d.js → swirl-icon-chats-filled.entry.aa201e59.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.5e76e493.js → swirl-icon-chats-outlined.entry.837d65ee.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.4fe044b7.js → swirl-icon-check-circle_3.entry.9b0706d0.js} +1 -1
- package/dist/{swirl-icon-check-small_3.entry.fb033b24.js → swirl-icon-check-small_3.entry.c059fd85.js} +28 -28
- package/dist/{swirl-icon-check-strong.entry.3201d721.js → swirl-icon-check-strong.entry.e607fc4a.js} +1 -1
- package/dist/{swirl-icon-check.entry.d39ea356.js → swirl-icon-check.entry.1580dc19.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.3b35a2d2.js → swirl-icon-chevron-left.entry.07a065ca.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.502bbe12.js → swirl-icon-chevron-right.entry.60eab9ee.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.df1886df.js → swirl-icon-close-small.entry.063676b2.js} +1 -1
- package/dist/{swirl-icon-close.entry.bbe775a7.js → swirl-icon-close.entry.960816b9.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.cd57769a.js → swirl-icon-cloud-upload.entry.c284ecdd.js} +1 -1
- package/dist/{swirl-icon-column.entry.3fca2705.js → swirl-icon-column.entry.3f736961.js} +1 -1
- package/dist/{swirl-icon-comment.entry.65fb55dc.js → swirl-icon-comment.entry.764e8900.js} +1 -1
- package/dist/{swirl-icon-copy.entry.77c534bc.js → swirl-icon-copy.entry.fd290297.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.92758172.js → swirl-icon-date-range.entry.79537b28.js} +1 -1
- package/dist/{swirl-icon-delete.entry.5b5a980b.js → swirl-icon-delete.entry.4e8fe7ea.js} +1 -1
- package/dist/{swirl-icon-description.entry.f347a321.js → swirl-icon-description.entry.35d4309e.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.46e279ed.js → swirl-icon-double-arrow-left.entry.b0b441b8.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.2aaedd44.js → swirl-icon-double-arrow-right.entry.e2e761ca.js} +1 -1
- package/dist/{swirl-icon-download.entry.eb3374bc.js → swirl-icon-download.entry.197b999c.js} +1 -1
- package/dist/{swirl-icon-edit.entry.5770f772.js → swirl-icon-edit.entry.0b9e23e6.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.2397ee50.js → swirl-icon-emoji-mood.entry.d31c57dd.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.0df361e8.js → swirl-icon-emoji-satisfied.entry.34f7e28a.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.243182b2.js → swirl-icon-error_3.entry.007ef916.js} +2 -2
- package/dist/{swirl-icon-expand-more.entry.13e01d24.js → swirl-icon-expand-more.entry.9b27954b.js} +1 -1
- package/dist/{swirl-icon-filter.entry.57a8bd1e.js → swirl-icon-filter.entry.36444189.js} +1 -1
- package/dist/{swirl-icon-folder.entry.fb8b43c0.js → swirl-icon-folder.entry.346cb7b9.js} +1 -1
- package/dist/{swirl-icon-format-h-one.entry.63cf7da1.js → swirl-icon-format-h-one.entry.1e5bf43e.js} +1 -1
- package/dist/{swirl-icon-gif.entry.4f2be4a5.js → swirl-icon-gif.entry.7476dd66.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.acad92f1.js → swirl-icon-group-assign.entry.ce09e62d.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.49ce757a.js → swirl-icon-groups-custom.entry.8cd01bbc.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.2e974c8e.js → swirl-icon-groups-filled.entry.774a85f0.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.1d178821.js → swirl-icon-groups-outlined.entry.2d116130.js} +1 -1
- package/dist/{swirl-icon-groups.entry.1d0ec86a.js → swirl-icon-groups.entry.e2224964.js} +1 -1
- package/dist/{swirl-icon-help.entry.a0545c23.js → swirl-icon-help.entry.63de46ec.js} +1 -1
- package/dist/{swirl-icon-highlight.entry.af49e91e.js → swirl-icon-highlight.entry.ef2106f9.js} +1 -1
- package/dist/{swirl-icon-home.entry.96d4cb1f.js → swirl-icon-home.entry.c1ff9712.js} +1 -1
- package/dist/{swirl-icon-image.entry.8d7c6abe.js → swirl-icon-image.entry.0c4e9685.js} +1 -1
- package/dist/{swirl-icon-improve-text.entry.fb16ef29.js → swirl-icon-improve-text.entry.ae19bc62.js} +1 -1
- package/dist/{swirl-icon-insert-below.entry.84809345.js → swirl-icon-insert-below.entry.c48a1e04.js} +1 -1
- package/dist/{swirl-icon-insert-on-top.entry.a37204b8.js → swirl-icon-insert-on-top.entry.90ca518d.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.90317eef.js → swirl-icon-inventory.entry.73bd60d3.js} +1 -1
- package/dist/{swirl-icon-like.entry.f789daec.js → swirl-icon-like.entry.551068de.js} +1 -1
- package/dist/{swirl-icon-link.entry.4efab4e2.js → swirl-icon-link.entry.668ae305.js} +1 -1
- package/dist/{swirl-icon-lock-person.entry.674f85d6.js → swirl-icon-lock-person.entry.1c0569e3.js} +1 -1
- package/dist/{swirl-icon-lock.entry.7b2d87a0.js → swirl-icon-lock.entry.c30a9b6f.js} +1 -1
- package/dist/{swirl-icon-logout.entry.26bc6037.js → swirl-icon-logout.entry.6e10fe89.js} +1 -1
- package/dist/{swirl-icon-long-text.entry.c58f972b.js → swirl-icon-long-text.entry.289f5aed.js} +1 -1
- package/dist/{swirl-icon-mail.entry.8a65460a.js → swirl-icon-mail.entry.0338b6ab.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.9e1ceb60.js → swirl-icon-manage-accounts.entry.b9b2373a.js} +1 -1
- package/dist/{swirl-icon-mark-chat-read.entry.40a29c0e.js → swirl-icon-mark-chat-read.entry.042147bd.js} +1 -1
- package/dist/{swirl-icon-mark-chat-unread.entry.aa9a49a9.js → swirl-icon-mark-chat-unread.entry.e545fb9d.js} +1 -1
- package/dist/{swirl-icon-mention.entry.22454a33.js → swirl-icon-mention.entry.32a92db5.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.5d1a09da.js → swirl-icon-menu-filled.entry.fb2c2888.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.3ee457c7.js → swirl-icon-menu-outlined.entry.a962d730.js} +1 -1
- package/dist/{swirl-icon-menu.entry.73568421.js → swirl-icon-menu.entry.9a1ce0ec.js} +1 -1
- package/dist/{swirl-icon-message.entry.c1622c0d.js → swirl-icon-message.entry.e7a89d18.js} +1 -1
- package/dist/{swirl-icon-mic.entry.37da83ca.js → swirl-icon-mic.entry.4ef9fb4d.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.66974243.js → swirl-icon-more-horizontal.entry.1bbf1ea1.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.8e21795d.js → swirl-icon-news-filled.entry.7804dbea.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.a1f8e33a.js → swirl-icon-news-outlined.entry.011fd823.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.4b2bb4a5.js → swirl-icon-notifications-active.entry.50117738.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.d537fa04.js → swirl-icon-notifications-off.entry.c110676e.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.0b3ced26.js → swirl-icon-notifications.entry.6230eefb.js} +1 -1
- package/dist/{swirl-icon-open-in-full.entry.4a2d5b54.js → swirl-icon-open-in-full.entry.2aec37e4.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.14416f58.js → swirl-icon-open-in-new.entry.50d95a3e.js} +1 -1
- package/dist/{swirl-icon-pause-circle.entry.1fbc1d2b.js → swirl-icon-pause-circle.entry.7cc6abcf.js} +1 -1
- package/dist/{swirl-icon-pause.entry.37bcdb7b.js → swirl-icon-pause.entry.ddc1361c.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.3186021f.js → swirl-icon-people-alt.entry.9a7bdff3.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.911a2f09.js → swirl-icon-person-off.entry.e69676b0.js} +1 -1
- package/dist/{swirl-icon-person.entry.0f59e8f4.js → swirl-icon-person.entry.f4ea1f0b.js} +1 -1
- package/dist/{swirl-icon-phone.entry.58581a41.js → swirl-icon-phone.entry.351a77a6.js} +1 -1
- package/dist/{swirl-icon-play-arrow.entry.43b50f38.js → swirl-icon-play-arrow.entry.2e224af4.js} +1 -1
- package/dist/{swirl-icon-poll.entry.b9eb92ab.js → swirl-icon-poll.entry.f59cee62.js} +1 -1
- package/dist/{swirl-icon-print.entry.3ce7d59c.js → swirl-icon-print.entry.41b4d9a5.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.0e10191c.js → swirl-icon-recieved.entry.643ea760.js} +1 -1
- package/dist/{swirl-icon-reply.entry.75a21e71.js → swirl-icon-reply.entry.e108f007.js} +1 -1
- package/dist/{swirl-icon-report.entry.fa88c30f.js → swirl-icon-report.entry.67803c07.js} +1 -1
- package/dist/{swirl-icon-roadmap.entry.433bab61.js → swirl-icon-roadmap.entry.473fcce2.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.dc3eb362.js → swirl-icon-search-strong.entry.dde9e172.js} +1 -1
- package/dist/{swirl-icon-search.entry.0e097cc7.js → swirl-icon-search.entry.89399725.js} +1 -1
- package/dist/{swirl-icon-send.entry.b41f63db.js → swirl-icon-send.entry.474ec225.js} +1 -1
- package/dist/{swirl-icon-settings.entry.e6825071.js → swirl-icon-settings.entry.32fa9252.js} +1 -1
- package/dist/{swirl-icon-short-text.entry.5cf268ed.js → swirl-icon-short-text.entry.b731d142.js} +1 -1
- package/dist/{swirl-icon-simplify.entry.ca8effd5.js → swirl-icon-simplify.entry.4a2786cd.js} +1 -1
- package/dist/{swirl-icon-spellcheck.entry.951e0626.js → swirl-icon-spellcheck.entry.b17312ca.js} +1 -1
- package/dist/{swirl-icon-stop.entry.89029529.js → swirl-icon-stop.entry.5488a28f.js} +1 -1
- package/dist/{swirl-icon-sync.entry.babf4aa4.js → swirl-icon-sync.entry.26e9c6d1.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.2542cb11.js → swirl-icon-tasks-filled.entry.fc277955.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.3bd8baa1.js → swirl-icon-tasks-outlined.entry.b8cefb96.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.4464af74.js → swirl-icon-time-filled.entry.f80d4284.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.4bbc612b.js → swirl-icon-time-outlined.entry.f34b56b4.js} +1 -1
- package/dist/{swirl-icon-translate.entry.1c10a4f1.js → swirl-icon-translate.entry.08944f90.js} +1 -1
- package/dist/{swirl-icon-undo.entry.ec02f929.js → swirl-icon-undo.entry.84c45bfc.js} +1 -1
- package/dist/{swirl-icon-unlock-person.entry.8856d62e.js → swirl-icon-unlock-person.entry.f1b5d8f9.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.3e97e3ae.js → swirl-icon-user-assign.entry.37189459.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.7f167b73.js → swirl-icon-video-camera.entry.37ed0cdc.js} +1 -1
- package/dist/{swirl-icon-video-library.entry.cfc5e1ef.js → swirl-icon-video-library.entry.de0bb66a.js} +1 -1
- package/dist/{swirl-icon-voice.entry.eaa90e1d.js → swirl-icon-voice.entry.5bb70c5c.js} +1 -1
- package/dist/{swirl-icon.entry.82a9c8cf.js → swirl-icon.entry.38896300.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.82982e6f.js → swirl-image-grid-item.entry.71ff7988.js} +1 -1
- package/dist/{swirl-image-grid.entry.07593005.js → swirl-image-grid.entry.2f52e4e9.js} +1 -1
- package/dist/{swirl-inline-notification.entry.34972ac6.js → swirl-inline-notification.entry.77a0445e.js} +1 -1
- package/dist/{swirl-inline-status.entry.b8ad3fc5.js → swirl-inline-status.entry.206c370c.js} +2 -2
- package/dist/{swirl-lightbox.entry.8b2e307b.js → swirl-lightbox.entry.f0c03b0b.js} +31 -31
- package/dist/{swirl-link.entry.b64f03b5.js → swirl-link.entry.feed9415.js} +1 -1
- package/dist/{swirl-list.entry.1350eade.js → swirl-list.entry.1251ccfb.js} +1 -1
- package/dist/{swirl-menu-item.entry.58b7b0cc.js → swirl-menu-item.entry.86369605.js} +11 -11
- package/dist/{swirl-menu.entry.28fff537.js → swirl-menu.entry.66eec06a.js} +51 -51
- package/dist/{swirl-modal.entry.d0f6c3c3.js → swirl-modal.entry.32c6b7b1.js} +218 -214
- package/dist/{swirl-option-list-section.entry.0f7ec0f5.js → swirl-option-list-section.entry.9d925024.js} +1 -1
- package/dist/{swirl-option-list.entry.8a777415.js → swirl-option-list.entry.ded36730.js} +22 -22
- package/dist/{swirl-pagination.entry.71a815fc.js → swirl-pagination.entry.c06fc83e.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.1bfcd52e.js → swirl-pdf-reader.entry.b61cdb34.js} +9 -9
- package/dist/{swirl-popover_2.entry.11c726bf.js → swirl-popover_2.entry.70a32904.js} +40 -40
- package/dist/{swirl-progress-indicator.entry.13f33972.js → swirl-progress-indicator.entry.91e07d09.js} +1 -1
- package/dist/{swirl-radio-group.entry.9b114523.js → swirl-radio-group.entry.8af0efcb.js} +1 -1
- package/dist/{swirl-radio.entry.11bd9ce4.js → swirl-radio.entry.900b5022.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.50497699.js → swirl-resource-list-file-item.entry.96c1d597.js} +14 -14
- package/dist/{swirl-search.entry.0eb6548b.js → swirl-search.entry.df4c6f34.js} +8 -6
- package/dist/{swirl-select.entry.8dfd26e0.js → swirl-select.entry.f2f64ee2.js} +20 -20
- package/dist/{swirl-shell-layout.entry.cd1c28f0.js → swirl-shell-layout.entry.aceed146.js} +2 -2
- package/dist/{swirl-shell-navigation-item.entry.71e0369b.js → swirl-shell-navigation-item.entry.39786f9c.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.9b87df33.js → swirl-skeleton-box.entry.cbe5257e.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.228b649d.js → swirl-skeleton-text.entry.3e9540d7.js} +1 -1
- package/dist/{swirl-stack.entry.99d24876.js → swirl-stack.entry.d58b3e5d.js} +1 -1
- package/dist/{swirl-status-indicator.entry.0886c5fb.js → swirl-status-indicator.entry.ca8e2279.js} +1 -1
- package/dist/{swirl-switch.entry.9be3c75d.js → swirl-switch.entry.438729e0.js} +1 -1
- package/dist/{swirl-symbol-account-circle.entry.e0073a7f.js → swirl-symbol-account-circle.entry.f793dce1.js} +1 -1
- package/dist/{swirl-symbol-alternate-email.entry.f7b19168.js → swirl-symbol-alternate-email.entry.0fcd64a7.js} +1 -1
- package/dist/{swirl-symbol-android.entry.49e54cd1.js → swirl-symbol-android.entry.3ec80e43.js} +1 -1
- package/dist/{swirl-symbol-announcement.entry.378fc25f.js → swirl-symbol-announcement.entry.86222c62.js} +1 -1
- package/dist/{swirl-symbol-backup.entry.53bcaf0d.js → swirl-symbol-backup.entry.d88ee08a.js} +1 -1
- package/dist/{swirl-symbol-beach-access.entry.92881ee4.js → swirl-symbol-beach-access.entry.2946b2f1.js} +1 -1
- package/dist/{swirl-symbol-bookmark.entry.df67cc4f.js → swirl-symbol-bookmark.entry.dc7ef37f.js} +1 -1
- package/dist/{swirl-symbol-cloud.entry.bac796cf.js → swirl-symbol-cloud.entry.fc39318c.js} +1 -1
- package/dist/{swirl-symbol-coronavirus.entry.db4cea0a.js → swirl-symbol-coronavirus.entry.6e1834d9.js} +1 -1
- package/dist/{swirl-symbol-desktop-windows.entry.d9841f0f.js → swirl-symbol-desktop-windows.entry.1a049626.js} +1 -1
- package/dist/{swirl-symbol-directions-car-filled.entry.323506fa.js → swirl-symbol-directions-car-filled.entry.efc77590.js} +1 -1
- package/dist/{swirl-symbol-edit-calendar.entry.89d9fc46.js → swirl-symbol-edit-calendar.entry.8eedb042.js} +1 -1
- package/dist/{swirl-symbol-email.entry.39a87b42.js → swirl-symbol-email.entry.3abbe2bb.js} +1 -1
- package/dist/{swirl-symbol-emoji-food-beverage.entry.b1eeffd4.js → swirl-symbol-emoji-food-beverage.entry.dd3929c8.js} +1 -1
- package/dist/{swirl-symbol-event-menu.entry.d15050c4.js → swirl-symbol-event-menu.entry.7199f5eb.js} +1 -1
- package/dist/{swirl-symbol-facebook.entry.98d246d3.js → swirl-symbol-facebook.entry.0df1bb53.js} +1 -1
- package/dist/{swirl-symbol-favorite.entry.ccb85054.js → swirl-symbol-favorite.entry.532fac2e.js} +1 -1
- package/dist/{swirl-symbol-fitness-center.entry.658e1d60.js → swirl-symbol-fitness-center.entry.25cdd9eb.js} +1 -1
- package/dist/{swirl-symbol-flag.entry.00a24bcb.js → swirl-symbol-flag.entry.394768ef.js} +1 -1
- package/dist/{swirl-symbol-folder.entry.b43c1dcb.js → swirl-symbol-folder.entry.20b1981c.js} +1 -1
- package/dist/{swirl-symbol-globe.entry.ea8d2274.js → swirl-symbol-globe.entry.dc84c360.js} +1 -1
- package/dist/{swirl-symbol-groups.entry.ca9d1a0f.js → swirl-symbol-groups.entry.ffca31e4.js} +1 -1
- package/dist/{swirl-symbol-help.entry.c02b3f79.js → swirl-symbol-help.entry.d4a0c7ae.js} +1 -1
- package/dist/{swirl-symbol-image.entry.454cf93c.js → swirl-symbol-image.entry.1268ed29.js} +1 -1
- package/dist/{swirl-symbol-info-menu.entry.d3ba324d.js → swirl-symbol-info-menu.entry.c1c84d60.js} +1 -1
- package/dist/{swirl-symbol-instagram.entry.f0382e67.js → swirl-symbol-instagram.entry.02af7c36.js} +1 -1
- package/dist/{swirl-symbol-ios.entry.eb4a0ad2.js → swirl-symbol-ios.entry.71ce1f97.js} +1 -1
- package/dist/{swirl-symbol-language.entry.366c1fee.js → swirl-symbol-language.entry.93e49d8b.js} +1 -1
- package/dist/{swirl-symbol-leaderboard.entry.a93fee25.js → swirl-symbol-leaderboard.entry.8159627c.js} +1 -1
- package/dist/{swirl-symbol-lightbulb.entry.f09d3ace.js → swirl-symbol-lightbulb.entry.a448f50a.js} +1 -1
- package/dist/{swirl-symbol-linkedin.entry.b726dc11.js → swirl-symbol-linkedin.entry.2b087adf.js} +1 -1
- package/dist/{swirl-symbol-location-on.entry.86b295cb.js → swirl-symbol-location-on.entry.15f3e620.js} +1 -1
- package/dist/{swirl-symbol-loyalty.entry.086834d3.js → swirl-symbol-loyalty.entry.3fcf0631.js} +1 -1
- package/dist/{swirl-symbol-maps-home-work.entry.ae3472b4.js → swirl-symbol-maps-home-work.entry.ae3325d5.js} +1 -1
- package/dist/{swirl-symbol-notifications.entry.73162180.js → swirl-symbol-notifications.entry.24d5c3bf.js} +1 -1
- package/dist/{swirl-symbol-open-in-new.entry.05a7ad60.js → swirl-symbol-open-in-new.entry.b616c807.js} +1 -1
- package/dist/{swirl-symbol-pedal-bike.entry.a491ddbb.js → swirl-symbol-pedal-bike.entry.27959d69.js} +1 -1
- package/dist/{swirl-symbol-pinterest.entry.ccfb3c33.js → swirl-symbol-pinterest.entry.4f792137.js} +1 -1
- package/dist/{swirl-symbol-policy.entry.478b5349.js → swirl-symbol-policy.entry.87da3679.js} +1 -1
- package/dist/{swirl-symbol-push-pin.entry.f30feab5.js → swirl-symbol-push-pin.entry.4a027788.js} +1 -1
- package/dist/{swirl-symbol-redeem.entry.8072d95c.js → swirl-symbol-redeem.entry.83f4796d.js} +1 -1
- package/dist/{swirl-symbol-report-problem.entry.56ede5d9.js → swirl-symbol-report-problem.entry.8b0ac67e.js} +1 -1
- package/dist/{swirl-symbol-restaurant.entry.e598109c.js → swirl-symbol-restaurant.entry.b07164d3.js} +1 -1
- package/dist/{swirl-symbol-roadmap.entry.b5b6b59f.js → swirl-symbol-roadmap.entry.c26367de.js} +1 -1
- package/dist/{swirl-symbol-room.entry.318d0e7d.js → swirl-symbol-room.entry.0cea80a2.js} +1 -1
- package/dist/{swirl-symbol-savings.entry.051d68a7.js → swirl-symbol-savings.entry.f779d16f.js} +1 -1
- package/dist/{swirl-symbol-settings-voice.entry.191d634c.js → swirl-symbol-settings-voice.entry.7e675b6a.js} +1 -1
- package/dist/{swirl-symbol-shopping-cart.entry.e2ff7405.js → swirl-symbol-shopping-cart.entry.cb804592.js} +1 -1
- package/dist/{swirl-symbol-smartphone.entry.fe88e35a.js → swirl-symbol-smartphone.entry.ae07209d.js} +1 -1
- package/dist/{swirl-symbol-star.entry.8ee54da6.js → swirl-symbol-star.entry.716aae27.js} +1 -1
- package/dist/{swirl-symbol-supervisor-account.entry.7af9ca10.js → swirl-symbol-supervisor-account.entry.9bfddfb1.js} +1 -1
- package/dist/{swirl-symbol-thumbs-up-down.entry.fa8aedee.js → swirl-symbol-thumbs-up-down.entry.393305ee.js} +1 -1
- package/dist/{swirl-symbol-twitter.entry.b4b6e5ff.js → swirl-symbol-twitter.entry.a8fef8cd.js} +1 -1
- package/dist/{swirl-symbol-wb-sunny.entry.f55fd7db.js → swirl-symbol-wb-sunny.entry.7097357c.js} +1 -1
- package/dist/{swirl-symbol-wechat.entry.ed3a81bb.js → swirl-symbol-wechat.entry.0dd08fd2.js} +1 -1
- package/dist/{swirl-symbol-weibo.entry.5db713cb.js → swirl-symbol-weibo.entry.5111da86.js} +1 -1
- package/dist/{swirl-symbol-work.entry.f022cff4.js → swirl-symbol-work.entry.8cdbe640.js} +1 -1
- package/dist/{swirl-symbol-xing.entry.220ba17b.js → swirl-symbol-xing.entry.32bad642.js} +1 -1
- package/dist/{swirl-symbol-youtube.entry.2c513504.js → swirl-symbol-youtube.entry.b1a26c3b.js} +1 -1
- package/dist/{swirl-symbol.entry.7848da1e.js → swirl-symbol.entry.321b7561.js} +1 -1
- package/dist/{swirl-tab-bar.entry.80cc5bc4.js → swirl-tab-bar.entry.99ea19ca.js} +1 -1
- package/dist/{swirl-tab.entry.6ed06db6.js → swirl-tab.entry.efd5aa1b.js} +1 -1
- package/dist/{swirl-table-cell.entry.61b9a0b1.js → swirl-table-cell.entry.a4d79fde.js} +1 -1
- package/dist/{swirl-table-column.entry.4e312508.js → swirl-table-column.entry.72f25118.js} +1 -1
- package/dist/{swirl-table-row-group.entry.7af69faf.js → swirl-table-row-group.entry.4461a288.js} +1 -1
- package/dist/{swirl-table-row.entry.aa107ef9.js → swirl-table-row.entry.5658b371.js} +3 -3
- package/dist/{swirl-table.entry.f9a50763.js → swirl-table.entry.6d8a99ee.js} +16 -16
- package/dist/{swirl-tabs.entry.e5cf7916.js → swirl-tabs.entry.870e4b68.js} +7 -7
- package/dist/{swirl-tag.entry.8501812d.js → swirl-tag.entry.bb3dc64b.js} +2 -2
- package/dist/{swirl-text-input.entry.08949cd3.js → swirl-text-input.entry.24628066.js} +21 -19
- package/dist/{swirl-text.entry.c57661bc.js → swirl-text.entry.ec8c7688.js} +1 -1
- package/dist/{swirl-theme-provider.entry.835a3b54.js → swirl-theme-provider.entry.a0de950c.js} +78 -66
- package/dist/{swirl-time-input.entry.fda4f54e.js → swirl-time-input.entry.dcf164da.js} +40 -38
- package/dist/{swirl-toast-provider.entry.a1d6c3c8.js → swirl-toast-provider.entry.a45bf498.js} +14 -9
- package/dist/{swirl-toast.entry.b6adb276.js → swirl-toast.entry.168b2471.js} +9 -9
- package/dist/{swirl-tooltip.entry.43b622b1.js → swirl-tooltip.entry.16cf40ce.js} +14 -14
- package/dist/{swirl-tree-navigation-item.entry.b41012b1.js → swirl-tree-navigation-item.entry.fb55295c.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.115fcbc5.js → swirl-video-thumbnail.entry.ef584013.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.5c6d4226.js → swirl-visually-hidden.entry.22de9ea0.js} +1 -1
- package/dist/{wc-datepicker.entry.1fa3ba12.js → wc-datepicker.entry.f8f6861f.js} +1 -1
- package/package.json +2 -2
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { r as c, h as e, H as
|
|
1
|
+
import { r as c, h as e, H as g, g as u } from "./index.e636c5f9.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,28 +21,28 @@ 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
|
-
}),
|
|
45
|
+
}), o ? this.onPreviousSlideClick() : s ? this.onNextSlideClick() : this.resetSlidePositions();
|
|
46
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;
|
|
47
47
|
}
|
|
48
48
|
componentWillLoad() {
|
|
@@ -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(
|
|
122
|
+
return e(g, 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" }, 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
|
-
return
|
|
125
|
+
return u(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.e636c5f9.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.e636c5f9.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.e636c5f9.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 {
|