@getflip/swirl-components-react 0.90.0 → 0.91.1
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.d82820db.js → file-manager.entry.645f1d0e.js} +1 -1
- package/dist/{index.967b6b95.js → index.756a29d8.js} +262 -262
- package/dist/{swirl-action-list-section.entry.b639481b.js → swirl-action-list-section.entry.709dba43.js} +1 -1
- package/dist/{swirl-action-list_3.entry.252ffeb7.js → swirl-action-list_3.entry.3b26288c.js} +1 -1
- package/dist/{swirl-app-bar.entry.904f1e03.js → swirl-app-bar.entry.f7bbdfca.js} +1 -1
- package/dist/{swirl-app-icon.entry.f987b5df.js → swirl-app-icon.entry.714ef3f7.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.79fdff1e.js → swirl-app-layout_7.entry.ce17a285.js} +11 -10
- package/dist/{swirl-autocomplete.entry.3f7b3007.js → swirl-autocomplete.entry.fbdfa80a.js} +1 -1
- package/dist/{swirl-avatar-group.entry.5f5eafbe.js → swirl-avatar-group.entry.22dc6b5a.js} +1 -1
- package/dist/{swirl-avatar.entry.d2b7e88b.js → swirl-avatar.entry.5bfed3f4.js} +1 -1
- package/dist/{swirl-badge.entry.5a04dc1c.js → swirl-badge.entry.c0b8ed78.js} +1 -1
- package/dist/{swirl-banner.entry.a9e3a9b6.js → swirl-banner.entry.c8587022.js} +1 -1
- package/dist/{swirl-button-group.entry.fcc26967.js → swirl-button-group.entry.150de1d5.js} +1 -1
- package/dist/{swirl-button.entry.593002fd.js → swirl-button.entry.6faaa151.js} +1 -1
- package/dist/{swirl-card.entry.c3c0771a.js → swirl-card.entry.07caa75b.js} +16 -9
- package/dist/{swirl-carousel-slide.entry.e9d4cf68.js → swirl-carousel-slide.entry.b305d342.js} +1 -1
- package/dist/{swirl-carousel.entry.ff9a3c43.js → swirl-carousel.entry.5cf9484d.js} +1 -1
- package/dist/{swirl-checkbox.entry.691c4551.js → swirl-checkbox.entry.f40115af.js} +1 -1
- package/dist/{swirl-chip.entry.d237c24d.js → swirl-chip.entry.253bf86d.js} +1 -1
- package/dist/{swirl-columns.entry.f63b895f.js → swirl-columns.entry.b6fc6264.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +13 -7
- package/dist/{swirl-console-layout.entry.0836aedd.js → swirl-console-layout.entry.3455eb06.js} +1 -1
- package/dist/{swirl-date-input.entry.73f36edf.js → swirl-date-input.entry.9572d4be.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.86cc8c90.js → swirl-date-picker_2.entry.b57192ba.js} +1 -1
- package/dist/{swirl-description-list-item.entry.0d93296c.js → swirl-description-list-item.entry.05b8eb60.js} +1 -1
- package/dist/{swirl-description-list.entry.b1e79bbc.js → swirl-description-list.entry.2b119062.js} +1 -1
- package/dist/{swirl-dialog.entry.2379deba.js → swirl-dialog.entry.894a0058.js} +1 -1
- package/dist/{swirl-emoji-clap.entry.5853dd11.js → swirl-emoji-clap.entry.8bff6abf.js} +1 -1
- package/dist/{swirl-emoji-happy.entry.2295754d.js → swirl-emoji-happy.entry.33f84f19.js} +1 -1
- package/dist/{swirl-emoji-idea.entry.3b2c8fe3.js → swirl-emoji-idea.entry.4c488003.js} +1 -1
- package/dist/{swirl-emoji-love.entry.145dd54e.js → swirl-emoji-love.entry.54dd2e63.js} +1 -1
- package/dist/{swirl-emoji-sad.entry.f82e0d15.js → swirl-emoji-sad.entry.797d6736.js} +1 -1
- package/dist/{swirl-emoji-thumbs-up.entry.740d71af.js → swirl-emoji-thumbs-up.entry.da0442f0.js} +1 -1
- package/dist/{swirl-emoji.entry.dc644ff3.js → swirl-emoji.entry.f5257058.js} +1 -1
- package/dist/{swirl-file-uploader.entry.3260b7e4.js → swirl-file-uploader.entry.10d0ef1b.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.a4fbed5c.js → swirl-file-viewer_7.entry.d640e90b.js} +1 -1
- package/dist/{swirl-form-control.entry.1c0df805.js → swirl-form-control.entry.43113f78.js} +1 -1
- package/dist/{swirl-form-group.entry.7357c16c.js → swirl-form-group.entry.2e54db40.js} +1 -1
- package/dist/{swirl-heading.entry.6aa8ee8f.js → swirl-heading.entry.afd4a863.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.04163935.js → swirl-icon-add-photo.entry.245c9b5b.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.874d4e9b.js → swirl-icon-add_6.entry.6a7ec0f2.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.5c5197af.js → swirl-icon-admin-panel-settings.entry.ec65b538.js} +1 -1
- package/dist/{swirl-icon-ai.entry.d662d5ce.js → swirl-icon-ai.entry.1e19ae56.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.790548f4.js → swirl-icon-arrow-back.entry.27c98164.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.8e670a89.js → swirl-icon-arrow-downward_2.entry.76d2d2fe.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.276de448.js → swirl-icon-arrow-forward.entry.059facfa.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.69667409.js → swirl-icon-arrow-left_4.entry.685dcada.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.de1ab83e.js → swirl-icon-arrow-right-small.entry.72e05591.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.a4ed8887.js → swirl-icon-attachment.entry.4573b1fb.js} +1 -1
- package/dist/{swirl-icon-bar-chart.entry.ec20afa2.js → swirl-icon-bar-chart.entry.55cef1ee.js} +1 -1
- package/dist/{swirl-icon-block.entry.1eb940b4.js → swirl-icon-block.entry.3f3a9117.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.4fecc1d6.js → swirl-icon-bookmark.entry.b451c6e7.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.60c59d66.js → swirl-icon-cancel_4.entry.5c1d007c.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.65f210b4.js → swirl-icon-chat-bubble.entry.ddec793e.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.54828049.js → swirl-icon-chats-filled.entry.bdfac3cc.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.0ddeb08f.js → swirl-icon-chats-outlined.entry.6f182416.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.811d8fa9.js → swirl-icon-check-circle_3.entry.f798da7a.js} +1 -1
- package/dist/{swirl-icon-check-small_3.entry.ab6e8fa9.js → swirl-icon-check-small_3.entry.341109dc.js} +1 -1
- package/dist/{swirl-icon-check-strong.entry.f883ed37.js → swirl-icon-check-strong.entry.fab0dbd1.js} +1 -1
- package/dist/{swirl-icon-check.entry.e6f11dea.js → swirl-icon-check.entry.a3de1893.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.550dc5dd.js → swirl-icon-chevron-left.entry.8ec06b2c.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.35dd0e19.js → swirl-icon-chevron-right.entry.1b1a8d2f.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.614864b7.js → swirl-icon-close-small.entry.2f8411fc.js} +1 -1
- package/dist/{swirl-icon-close.entry.3ec8cdd3.js → swirl-icon-close.entry.8ec8826a.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.4a7bb93f.js → swirl-icon-cloud-upload.entry.e5c9fba1.js} +1 -1
- package/dist/{swirl-icon-column.entry.80e3c691.js → swirl-icon-column.entry.5cc9977d.js} +1 -1
- package/dist/{swirl-icon-comment.entry.c353e1b7.js → swirl-icon-comment.entry.6eff9df9.js} +1 -1
- package/dist/{swirl-icon-copy.entry.74c3596d.js → swirl-icon-copy.entry.8a9e1ab1.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.4345b3b5.js → swirl-icon-date-range.entry.878a36c7.js} +1 -1
- package/dist/{swirl-icon-delete.entry.4b98ae95.js → swirl-icon-delete.entry.bd231e65.js} +1 -1
- package/dist/{swirl-icon-description.entry.4b0d0486.js → swirl-icon-description.entry.7eef76cf.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.c72a1eff.js → swirl-icon-double-arrow-left.entry.ae99dd7b.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.82aa6d5a.js → swirl-icon-double-arrow-right.entry.e7e40ad5.js} +1 -1
- package/dist/{swirl-icon-download.entry.00cec120.js → swirl-icon-download.entry.705d39de.js} +1 -1
- package/dist/{swirl-icon-edit.entry.54ed8a03.js → swirl-icon-edit.entry.78fe2650.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.2c210a46.js → swirl-icon-emoji-mood.entry.88490473.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.43b882f0.js → swirl-icon-emoji-satisfied.entry.7c117bbe.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.28d009f9.js → swirl-icon-error_3.entry.28e9dbcb.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.5128c4ba.js → swirl-icon-expand-more.entry.bc9b925c.js} +1 -1
- package/dist/{swirl-icon-filter.entry.7c128a4f.js → swirl-icon-filter.entry.55aa49ee.js} +1 -1
- package/dist/{swirl-icon-folder.entry.0c68e28a.js → swirl-icon-folder.entry.4c72d552.js} +1 -1
- package/dist/{swirl-icon-format-h-one.entry.bf853e43.js → swirl-icon-format-h-one.entry.56bda289.js} +1 -1
- package/dist/{swirl-icon-gif.entry.0e2649cc.js → swirl-icon-gif.entry.d52af0c8.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.ec6a737c.js → swirl-icon-group-assign.entry.8685b649.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.11930d86.js → swirl-icon-groups-custom.entry.bffe4839.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.bbe6cdce.js → swirl-icon-groups-filled.entry.a68f2b13.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.3d816dc6.js → swirl-icon-groups-outlined.entry.31898dc5.js} +1 -1
- package/dist/{swirl-icon-groups.entry.42f4677f.js → swirl-icon-groups.entry.f8f546e4.js} +1 -1
- package/dist/{swirl-icon-help.entry.38358536.js → swirl-icon-help.entry.b2c13e8e.js} +1 -1
- package/dist/{swirl-icon-highlight.entry.ddcaf3e5.js → swirl-icon-highlight.entry.91b6b4ec.js} +1 -1
- package/dist/{swirl-icon-home.entry.00258080.js → swirl-icon-home.entry.24520772.js} +1 -1
- package/dist/{swirl-icon-image.entry.e7e26158.js → swirl-icon-image.entry.e90a732a.js} +1 -1
- package/dist/{swirl-icon-improve-text.entry.02dee3c5.js → swirl-icon-improve-text.entry.77afbdd5.js} +1 -1
- package/dist/{swirl-icon-insert-below.entry.c6f4bd67.js → swirl-icon-insert-below.entry.6b19c39a.js} +1 -1
- package/dist/{swirl-icon-insert-on-top.entry.d2bbf072.js → swirl-icon-insert-on-top.entry.250cf574.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.ee0b7c45.js → swirl-icon-inventory.entry.147a0711.js} +1 -1
- package/dist/{swirl-icon-like.entry.a601db85.js → swirl-icon-like.entry.b84e0bc0.js} +1 -1
- package/dist/{swirl-icon-link.entry.f72e4683.js → swirl-icon-link.entry.69f4510c.js} +1 -1
- package/dist/{swirl-icon-lock-person.entry.5e19ec6c.js → swirl-icon-lock-person.entry.f7eaaf4d.js} +1 -1
- package/dist/{swirl-icon-lock.entry.696202f6.js → swirl-icon-lock.entry.a4613954.js} +1 -1
- package/dist/{swirl-icon-logout.entry.5ff687ce.js → swirl-icon-logout.entry.7a9cf3ac.js} +1 -1
- package/dist/{swirl-icon-long-text.entry.431c00a6.js → swirl-icon-long-text.entry.b7df7441.js} +1 -1
- package/dist/{swirl-icon-mail.entry.57e80289.js → swirl-icon-mail.entry.6b4785cd.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.8579ab07.js → swirl-icon-manage-accounts.entry.e67b25a5.js} +1 -1
- package/dist/{swirl-icon-mark-chat-read.entry.513b6117.js → swirl-icon-mark-chat-read.entry.1fb2a8f4.js} +1 -1
- package/dist/{swirl-icon-mark-chat-unread.entry.ed36a08b.js → swirl-icon-mark-chat-unread.entry.b1cf100b.js} +1 -1
- package/dist/{swirl-icon-mention.entry.47425f83.js → swirl-icon-mention.entry.994d43c9.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.a767aac8.js → swirl-icon-menu-filled.entry.bc560875.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.f9dd6679.js → swirl-icon-menu-outlined.entry.b40393f5.js} +1 -1
- package/dist/{swirl-icon-menu.entry.13138eb3.js → swirl-icon-menu.entry.f3d1b83b.js} +1 -1
- package/dist/{swirl-icon-message.entry.00e50bd0.js → swirl-icon-message.entry.57b033d6.js} +1 -1
- package/dist/{swirl-icon-mic.entry.11cb821c.js → swirl-icon-mic.entry.4b1feb2f.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.b3dbc07e.js → swirl-icon-more-horizontal.entry.0cc1ef81.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.5854de2e.js → swirl-icon-news-filled.entry.f4d55fbe.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.84f7cc69.js → swirl-icon-news-outlined.entry.1fd0baf6.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.069064fd.js → swirl-icon-notifications-active.entry.48a7b92c.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.55f67725.js → swirl-icon-notifications-off.entry.a2a7ec90.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.b3c3d532.js → swirl-icon-notifications.entry.adb2ce9d.js} +1 -1
- package/dist/{swirl-icon-open-in-full.entry.fab48957.js → swirl-icon-open-in-full.entry.2c887718.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.ebf874ed.js → swirl-icon-open-in-new.entry.06b83346.js} +1 -1
- package/dist/{swirl-icon-pause-circle.entry.a3facfdb.js → swirl-icon-pause-circle.entry.c584a601.js} +1 -1
- package/dist/{swirl-icon-pause.entry.c2b9efa7.js → swirl-icon-pause.entry.decb4de3.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.011a78a1.js → swirl-icon-people-alt.entry.4b22842e.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.3ca459d0.js → swirl-icon-person-off.entry.8c754ebe.js} +1 -1
- package/dist/{swirl-icon-person.entry.54c7a71e.js → swirl-icon-person.entry.7caa27c4.js} +1 -1
- package/dist/{swirl-icon-phone.entry.3fb8fc8e.js → swirl-icon-phone.entry.0854e7d5.js} +1 -1
- package/dist/{swirl-icon-play-arrow.entry.5f4f4253.js → swirl-icon-play-arrow.entry.fa534e6a.js} +1 -1
- package/dist/{swirl-icon-poll.entry.5794725e.js → swirl-icon-poll.entry.7e14fae8.js} +1 -1
- package/dist/{swirl-icon-print.entry.e15731bb.js → swirl-icon-print.entry.4217a991.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.0691cc3a.js → swirl-icon-recieved.entry.aef5ceb6.js} +1 -1
- package/dist/{swirl-icon-reply.entry.f321e5e9.js → swirl-icon-reply.entry.2831dbd9.js} +1 -1
- package/dist/{swirl-icon-report.entry.275f04a4.js → swirl-icon-report.entry.b28d16c5.js} +1 -1
- package/dist/{swirl-icon-roadmap.entry.f0296992.js → swirl-icon-roadmap.entry.d8f40638.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.be004f10.js → swirl-icon-search-strong.entry.7e26f349.js} +1 -1
- package/dist/{swirl-icon-search.entry.b5dff43c.js → swirl-icon-search.entry.efe008d3.js} +1 -1
- package/dist/{swirl-icon-send.entry.81dfa2fb.js → swirl-icon-send.entry.7acf8179.js} +1 -1
- package/dist/{swirl-icon-settings.entry.871c5fe9.js → swirl-icon-settings.entry.b409ac38.js} +1 -1
- package/dist/{swirl-icon-short-text.entry.f5ae3d53.js → swirl-icon-short-text.entry.72f4575b.js} +1 -1
- package/dist/{swirl-icon-simplify.entry.a9222380.js → swirl-icon-simplify.entry.baef7427.js} +1 -1
- package/dist/{swirl-icon-spellcheck.entry.b3b81128.js → swirl-icon-spellcheck.entry.54751f6b.js} +1 -1
- package/dist/{swirl-icon-stop.entry.03132677.js → swirl-icon-stop.entry.15b0fba6.js} +1 -1
- package/dist/{swirl-icon-sync.entry.60fcdf98.js → swirl-icon-sync.entry.8d80f4c7.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.caa78257.js → swirl-icon-tasks-filled.entry.835724bc.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.30138a91.js → swirl-icon-tasks-outlined.entry.d6f4872b.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.861ae6ae.js → swirl-icon-time-filled.entry.c6ae7822.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.922a8b55.js → swirl-icon-time-outlined.entry.7038111f.js} +1 -1
- package/dist/{swirl-icon-translate.entry.fcc17e76.js → swirl-icon-translate.entry.d8edee30.js} +1 -1
- package/dist/{swirl-icon-undo.entry.9f7364e1.js → swirl-icon-undo.entry.5f8ea9ac.js} +1 -1
- package/dist/{swirl-icon-unlock-person.entry.187c0c9a.js → swirl-icon-unlock-person.entry.d2c3df1f.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.4390dde9.js → swirl-icon-user-assign.entry.d2f4d57d.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.76678df8.js → swirl-icon-video-camera.entry.74d857a0.js} +1 -1
- package/dist/{swirl-icon-video-library.entry.1f07fd6e.js → swirl-icon-video-library.entry.c86d3572.js} +1 -1
- package/dist/{swirl-icon-voice.entry.2ab9a900.js → swirl-icon-voice.entry.1221dc9a.js} +1 -1
- package/dist/{swirl-icon.entry.60c45633.js → swirl-icon.entry.e210fdb7.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.6b275dee.js → swirl-image-grid-item.entry.eef6892d.js} +1 -1
- package/dist/{swirl-image-grid.entry.d60cf99d.js → swirl-image-grid.entry.17e50400.js} +1 -1
- package/dist/{swirl-inline-notification.entry.d2e6a187.js → swirl-inline-notification.entry.81850971.js} +1 -1
- package/dist/{swirl-inline-status.entry.a5fe3c7c.js → swirl-inline-status.entry.ae40efbd.js} +1 -1
- package/dist/{swirl-lightbox.entry.5b54ff19.js → swirl-lightbox.entry.1ac2c015.js} +1 -1
- package/dist/{swirl-link.entry.2003b74c.js → swirl-link.entry.ea784f96.js} +1 -1
- package/dist/{swirl-list.entry.5168a92e.js → swirl-list.entry.046015b0.js} +1 -1
- package/dist/{swirl-menu-item.entry.c19a0b12.js → swirl-menu-item.entry.942e7672.js} +1 -1
- package/dist/{swirl-menu.entry.77c3e413.js → swirl-menu.entry.b5e3fc59.js} +1 -1
- package/dist/{swirl-modal.entry.f6c991c1.js → swirl-modal.entry.1ec41179.js} +149 -149
- package/dist/{swirl-option-list-section.entry.60a8ebd1.js → swirl-option-list-section.entry.1f418e38.js} +1 -1
- package/dist/{swirl-option-list_2.entry.a2571e43.js → swirl-option-list_2.entry.c9124383.js} +1 -1
- package/dist/{swirl-pagination.entry.f1c64b71.js → swirl-pagination.entry.b332d73d.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.1cfecdd1.js → swirl-pdf-reader.entry.f539e7a0.js} +1 -1
- package/dist/{swirl-popover_2.entry.e5351f4c.js → swirl-popover_2.entry.a1696ad8.js} +1 -1
- package/dist/{swirl-progress-indicator.entry.c3b73832.js → swirl-progress-indicator.entry.6c1c9f03.js} +1 -1
- package/dist/{swirl-radio-group.entry.f4cc24b6.js → swirl-radio-group.entry.db489476.js} +1 -1
- package/dist/{swirl-radio.entry.049d0b54.js → swirl-radio.entry.1116923b.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.9a43ae3e.js → swirl-resource-list-file-item.entry.a90aa76f.js} +1 -1
- package/dist/{swirl-search.entry.84416f33.js → swirl-search.entry.edbf2d2d.js} +1 -1
- package/dist/{swirl-select.entry.20c70bee.js → swirl-select.entry.9db740ef.js} +1 -1
- package/dist/{swirl-shell-layout.entry.5e5a2e9d.js → swirl-shell-layout.entry.0ec39dd7.js} +1 -1
- package/dist/{swirl-shell-navigation-item.entry.5f9fd01b.js → swirl-shell-navigation-item.entry.7affb22d.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.ecaea98f.js → swirl-skeleton-box.entry.b4d39d0f.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.27de372e.js → swirl-skeleton-text.entry.cb8822b8.js} +1 -1
- package/dist/{swirl-stack.entry.c9b1acb8.js → swirl-stack.entry.27776767.js} +1 -1
- package/dist/{swirl-status-indicator.entry.210960f1.js → swirl-status-indicator.entry.a2356c3b.js} +1 -1
- package/dist/{swirl-switch.entry.a7822c4c.js → swirl-switch.entry.ac8775ac.js} +1 -1
- package/dist/{swirl-symbol-account-circle.entry.b00a2960.js → swirl-symbol-account-circle.entry.065ca9ac.js} +1 -1
- package/dist/{swirl-symbol-alternate-email.entry.6a3b12bf.js → swirl-symbol-alternate-email.entry.ddddf772.js} +1 -1
- package/dist/{swirl-symbol-android.entry.8163a663.js → swirl-symbol-android.entry.bbbce922.js} +1 -1
- package/dist/{swirl-symbol-announcement.entry.cc465939.js → swirl-symbol-announcement.entry.ccdb0214.js} +1 -1
- package/dist/{swirl-symbol-backup.entry.4540069c.js → swirl-symbol-backup.entry.96ddbc80.js} +1 -1
- package/dist/{swirl-symbol-beach-access.entry.4fdf5d37.js → swirl-symbol-beach-access.entry.030ce18a.js} +1 -1
- package/dist/{swirl-symbol-bookmark.entry.2e8aa15b.js → swirl-symbol-bookmark.entry.fdd533c3.js} +1 -1
- package/dist/{swirl-symbol-cloud.entry.c347078b.js → swirl-symbol-cloud.entry.f97927a6.js} +1 -1
- package/dist/{swirl-symbol-coronavirus.entry.9908aba9.js → swirl-symbol-coronavirus.entry.4be19aed.js} +1 -1
- package/dist/{swirl-symbol-desktop-windows.entry.fb918d93.js → swirl-symbol-desktop-windows.entry.d9bead8a.js} +1 -1
- package/dist/{swirl-symbol-directions-car-filled.entry.7489ab9e.js → swirl-symbol-directions-car-filled.entry.092087bd.js} +1 -1
- package/dist/{swirl-symbol-edit-calendar.entry.4720bae8.js → swirl-symbol-edit-calendar.entry.2ed4ba67.js} +1 -1
- package/dist/{swirl-symbol-email.entry.90489c48.js → swirl-symbol-email.entry.365681df.js} +1 -1
- package/dist/{swirl-symbol-emoji-food-beverage.entry.28ca2616.js → swirl-symbol-emoji-food-beverage.entry.a47422d7.js} +1 -1
- package/dist/{swirl-symbol-event-menu.entry.c83737e1.js → swirl-symbol-event-menu.entry.6af25ddc.js} +1 -1
- package/dist/{swirl-symbol-facebook.entry.e64c20e7.js → swirl-symbol-facebook.entry.52abe31f.js} +1 -1
- package/dist/{swirl-symbol-favorite.entry.7d658c89.js → swirl-symbol-favorite.entry.af419d12.js} +1 -1
- package/dist/{swirl-symbol-fitness-center.entry.483d357c.js → swirl-symbol-fitness-center.entry.0877e0a8.js} +1 -1
- package/dist/{swirl-symbol-flag.entry.c74f4abf.js → swirl-symbol-flag.entry.34722acb.js} +1 -1
- package/dist/{swirl-symbol-folder.entry.94b40eba.js → swirl-symbol-folder.entry.f2b67028.js} +1 -1
- package/dist/{swirl-symbol-globe.entry.9c7f12c8.js → swirl-symbol-globe.entry.4d027898.js} +1 -1
- package/dist/{swirl-symbol-groups.entry.efd90aa8.js → swirl-symbol-groups.entry.3bf2f738.js} +1 -1
- package/dist/{swirl-symbol-help.entry.f5db14b9.js → swirl-symbol-help.entry.348c5038.js} +1 -1
- package/dist/{swirl-symbol-image.entry.612c97b0.js → swirl-symbol-image.entry.2b558661.js} +1 -1
- package/dist/{swirl-symbol-info-menu.entry.83d2354c.js → swirl-symbol-info-menu.entry.61545603.js} +1 -1
- package/dist/{swirl-symbol-instagram.entry.5787d07a.js → swirl-symbol-instagram.entry.ae2db80d.js} +1 -1
- package/dist/{swirl-symbol-ios.entry.2d0789b0.js → swirl-symbol-ios.entry.1d3fbcd6.js} +1 -1
- package/dist/{swirl-symbol-language.entry.0a654929.js → swirl-symbol-language.entry.3be2228b.js} +1 -1
- package/dist/{swirl-symbol-leaderboard.entry.2edce499.js → swirl-symbol-leaderboard.entry.50b07b2d.js} +1 -1
- package/dist/{swirl-symbol-lightbulb.entry.06d94c8f.js → swirl-symbol-lightbulb.entry.f55ae3ea.js} +1 -1
- package/dist/{swirl-symbol-linkedin.entry.1ed38e10.js → swirl-symbol-linkedin.entry.41875407.js} +1 -1
- package/dist/{swirl-symbol-location-on.entry.85ff153c.js → swirl-symbol-location-on.entry.2573777c.js} +1 -1
- package/dist/{swirl-symbol-loyalty.entry.aebfa18e.js → swirl-symbol-loyalty.entry.c1665887.js} +1 -1
- package/dist/{swirl-symbol-maps-home-work.entry.f40f4cce.js → swirl-symbol-maps-home-work.entry.d8f9fd6c.js} +1 -1
- package/dist/{swirl-symbol-notifications.entry.994e6717.js → swirl-symbol-notifications.entry.26d6edf1.js} +1 -1
- package/dist/{swirl-symbol-open-in-new.entry.b0fee29b.js → swirl-symbol-open-in-new.entry.8b4f602e.js} +1 -1
- package/dist/{swirl-symbol-pedal-bike.entry.d3d15a4c.js → swirl-symbol-pedal-bike.entry.e163e9fc.js} +1 -1
- package/dist/{swirl-symbol-pinterest.entry.3fb7b032.js → swirl-symbol-pinterest.entry.005e36c3.js} +1 -1
- package/dist/{swirl-symbol-policy.entry.9e7dac86.js → swirl-symbol-policy.entry.f9b18420.js} +1 -1
- package/dist/{swirl-symbol-push-pin.entry.9da53751.js → swirl-symbol-push-pin.entry.bea75615.js} +1 -1
- package/dist/{swirl-symbol-redeem.entry.80189f89.js → swirl-symbol-redeem.entry.ec2bb035.js} +1 -1
- package/dist/{swirl-symbol-report-problem.entry.07220fb4.js → swirl-symbol-report-problem.entry.b9d2c951.js} +1 -1
- package/dist/{swirl-symbol-restaurant.entry.c5a3f528.js → swirl-symbol-restaurant.entry.1816a8ce.js} +1 -1
- package/dist/{swirl-symbol-roadmap.entry.cfdc0f92.js → swirl-symbol-roadmap.entry.33139989.js} +1 -1
- package/dist/{swirl-symbol-room.entry.95703667.js → swirl-symbol-room.entry.b2a27394.js} +1 -1
- package/dist/{swirl-symbol-savings.entry.994fedf2.js → swirl-symbol-savings.entry.bef437e7.js} +1 -1
- package/dist/{swirl-symbol-settings-voice.entry.2f2f896d.js → swirl-symbol-settings-voice.entry.f5f7310f.js} +1 -1
- package/dist/{swirl-symbol-shopping-cart.entry.fcd21402.js → swirl-symbol-shopping-cart.entry.9c0b9798.js} +1 -1
- package/dist/{swirl-symbol-smartphone.entry.7adab697.js → swirl-symbol-smartphone.entry.8680a1ac.js} +1 -1
- package/dist/{swirl-symbol-star.entry.1ed050a7.js → swirl-symbol-star.entry.f0b40c37.js} +1 -1
- package/dist/{swirl-symbol-supervisor-account.entry.40c7c206.js → swirl-symbol-supervisor-account.entry.cc5e5caa.js} +1 -1
- package/dist/{swirl-symbol-thumbs-up-down.entry.88fdf585.js → swirl-symbol-thumbs-up-down.entry.d1fea52f.js} +1 -1
- package/dist/{swirl-symbol-twitter.entry.6eb01aa1.js → swirl-symbol-twitter.entry.184ba46a.js} +1 -1
- package/dist/{swirl-symbol-wb-sunny.entry.3bf4848d.js → swirl-symbol-wb-sunny.entry.766f6c70.js} +1 -1
- package/dist/{swirl-symbol-wechat.entry.aaf7d10a.js → swirl-symbol-wechat.entry.32bd0fb7.js} +1 -1
- package/dist/{swirl-symbol-weibo.entry.6cbe6f6e.js → swirl-symbol-weibo.entry.f90b23e2.js} +1 -1
- package/dist/{swirl-symbol-work.entry.d5a387c8.js → swirl-symbol-work.entry.57d099a6.js} +1 -1
- package/dist/{swirl-symbol-xing.entry.99e81a8d.js → swirl-symbol-xing.entry.4d817032.js} +1 -1
- package/dist/{swirl-symbol-youtube.entry.2e8b1394.js → swirl-symbol-youtube.entry.5ff914be.js} +1 -1
- package/dist/{swirl-symbol.entry.bddc4f1b.js → swirl-symbol.entry.7061f92a.js} +1 -1
- package/dist/{swirl-tab-bar.entry.5478ef4e.js → swirl-tab-bar.entry.eec0fddb.js} +1 -1
- package/dist/{swirl-tab.entry.386deb50.js → swirl-tab.entry.f794c5a5.js} +1 -1
- package/dist/{swirl-table-cell.entry.6e047535.js → swirl-table-cell.entry.26dabfa6.js} +1 -1
- package/dist/{swirl-table-column.entry.2b8499b5.js → swirl-table-column.entry.da4a06ce.js} +1 -1
- package/dist/{swirl-table-row-group.entry.fa441556.js → swirl-table-row-group.entry.7248946c.js} +1 -1
- package/dist/{swirl-table-row.entry.6a570c07.js → swirl-table-row.entry.5e7ebffe.js} +1 -1
- package/dist/{swirl-table.entry.18c28d0c.js → swirl-table.entry.68eea811.js} +1 -1
- package/dist/{swirl-tabs.entry.0a66b4dc.js → swirl-tabs.entry.4ae41c02.js} +1 -1
- package/dist/{swirl-text-input.entry.79b610e0.js → swirl-text-input.entry.04530430.js} +1 -1
- package/dist/{swirl-text.entry.128f5519.js → swirl-text.entry.ebbb2f7c.js} +1 -1
- package/dist/{swirl-theme-provider.entry.7fb6fa8b.js → swirl-theme-provider.entry.20b6f69b.js} +1 -1
- package/dist/{swirl-time-input.entry.7bc95256.js → swirl-time-input.entry.0100bbd4.js} +1 -1
- package/dist/{swirl-toast-provider.entry.c5c8ec56.js → swirl-toast-provider.entry.a732d66d.js} +1 -1
- package/dist/{swirl-toast.entry.c5f1fb59.js → swirl-toast.entry.6b9e2a81.js} +1 -1
- package/dist/{swirl-toolbar.entry.e72d391f.js → swirl-toolbar.entry.b2fc19e6.js} +1 -1
- package/dist/{swirl-tooltip.entry.7c8b1d64.js → swirl-tooltip.entry.9984e778.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.b6bac114.js → swirl-tree-navigation-item.entry.f60442dc.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.f5351b99.js → swirl-video-thumbnail.entry.1951876b.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.870c22da.js → swirl-visually-hidden.entry.44295067.js} +1 -1
- package/dist/{wc-datepicker.entry.18eb6700.js → wc-datepicker.entry.82907c14.js} +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as ne, c as k, h as c, H as ie, g as se } from "./index.756a29d8.js";
|
|
2
2
|
import { d as le, e as de } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
3
3
|
import { c as ce } from "./index-d280dafb.186cdb0e.js";
|
|
4
4
|
import "react";
|
|
@@ -8,34 +8,34 @@ import "react-dom";
|
|
|
8
8
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
9
9
|
*/
|
|
10
10
|
var Z = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slot)", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])', "details>summary:first-of-type", "details"], A = /* @__PURE__ */ Z.join(","), X = typeof Element > "u", x = X ? function() {
|
|
11
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, R = !X && Element.prototype.getRootNode ? function(
|
|
12
|
-
return
|
|
13
|
-
} : function(
|
|
14
|
-
return
|
|
11
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, R = !X && Element.prototype.getRootNode ? function(n) {
|
|
12
|
+
return n.getRootNode();
|
|
13
|
+
} : function(n) {
|
|
14
|
+
return n.ownerDocument;
|
|
15
15
|
}, J = function(e, a, t) {
|
|
16
16
|
var s = Array.prototype.slice.apply(e.querySelectorAll(A));
|
|
17
17
|
return a && x.call(e, A) && s.unshift(e), s = s.filter(t), s;
|
|
18
|
-
}, Q = function
|
|
18
|
+
}, Q = function n(e, a, t) {
|
|
19
19
|
for (var s = [], l = Array.from(e); l.length; ) {
|
|
20
|
-
var
|
|
21
|
-
if (
|
|
22
|
-
var u =
|
|
20
|
+
var o = l.shift();
|
|
21
|
+
if (o.tagName === "SLOT") {
|
|
22
|
+
var u = o.assignedElements(), f = u.length ? u : o.children, v = n(f, !0, t);
|
|
23
23
|
t.flatten ? s.push.apply(s, v) : s.push({
|
|
24
|
-
scopeParent:
|
|
24
|
+
scopeParent: o,
|
|
25
25
|
candidates: v
|
|
26
26
|
});
|
|
27
27
|
} else {
|
|
28
|
-
var S = x.call(
|
|
29
|
-
S && t.filter(
|
|
30
|
-
var y =
|
|
28
|
+
var S = x.call(o, A);
|
|
29
|
+
S && t.filter(o) && (a || !e.includes(o)) && s.push(o);
|
|
30
|
+
var y = o.shadowRoot || typeof t.getShadowRoot == "function" && t.getShadowRoot(o), C = !t.shadowRootFilter || t.shadowRootFilter(o);
|
|
31
31
|
if (y && C) {
|
|
32
|
-
var w =
|
|
32
|
+
var w = n(y === !0 ? o.children : y.children, !0, t);
|
|
33
33
|
t.flatten ? s.push.apply(s, w) : s.push({
|
|
34
|
-
scopeParent:
|
|
34
|
+
scopeParent: o,
|
|
35
35
|
candidates: w
|
|
36
36
|
});
|
|
37
37
|
} else
|
|
38
|
-
l.unshift.apply(l,
|
|
38
|
+
l.unshift.apply(l, o.children);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
return s;
|
|
@@ -67,8 +67,8 @@ var Z = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slo
|
|
|
67
67
|
else
|
|
68
68
|
try {
|
|
69
69
|
s = t(e.name);
|
|
70
|
-
} catch (
|
|
71
|
-
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",
|
|
70
|
+
} catch (o) {
|
|
71
|
+
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", o.message), !1;
|
|
72
72
|
}
|
|
73
73
|
var l = me(s, e.form);
|
|
74
74
|
return !l || l === e;
|
|
@@ -89,8 +89,8 @@ var Z = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slo
|
|
|
89
89
|
var t = a.displayCheck, s = a.getShadowRoot;
|
|
90
90
|
if (getComputedStyle(e).visibility === "hidden")
|
|
91
91
|
return !0;
|
|
92
|
-
var l = x.call(e, "details>summary:first-of-type"),
|
|
93
|
-
if (x.call(
|
|
92
|
+
var l = x.call(e, "details>summary:first-of-type"), o = l ? e.parentElement : e;
|
|
93
|
+
if (x.call(o, "details:not([open]) *"))
|
|
94
94
|
return !0;
|
|
95
95
|
if (!t || t === "full" || t === "legacy-full") {
|
|
96
96
|
if (typeof s == "function") {
|
|
@@ -130,15 +130,15 @@ var Z = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slo
|
|
|
130
130
|
}, _e = function(e) {
|
|
131
131
|
var a = parseInt(e.getAttribute("tabindex"), 10);
|
|
132
132
|
return !!(isNaN(a) || a >= 0);
|
|
133
|
-
}, Se = function
|
|
133
|
+
}, Se = function n(e) {
|
|
134
134
|
var a = [], t = [];
|
|
135
135
|
return e.forEach(function(s, l) {
|
|
136
|
-
var
|
|
137
|
-
f === 0 ?
|
|
136
|
+
var o = !!s.scopeParent, u = o ? s.scopeParent : s, f = ee(u, o), v = o ? n(s.candidates) : u;
|
|
137
|
+
f === 0 ? o ? a.push.apply(a, v) : a.push(u) : t.push({
|
|
138
138
|
documentOrder: l,
|
|
139
139
|
tabIndex: f,
|
|
140
140
|
item: s,
|
|
141
|
-
isScope:
|
|
141
|
+
isScope: o,
|
|
142
142
|
content: v
|
|
143
143
|
});
|
|
144
144
|
}), t.sort(ue).reduce(function(s, l) {
|
|
@@ -174,34 +174,34 @@ var Z = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slo
|
|
|
174
174
|
* focus-trap 7.1.0
|
|
175
175
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
176
176
|
*/
|
|
177
|
-
function U(
|
|
178
|
-
var a = Object.keys(
|
|
177
|
+
function U(n, e) {
|
|
178
|
+
var a = Object.keys(n);
|
|
179
179
|
if (Object.getOwnPropertySymbols) {
|
|
180
|
-
var t = Object.getOwnPropertySymbols(
|
|
180
|
+
var t = Object.getOwnPropertySymbols(n);
|
|
181
181
|
e && (t = t.filter(function(s) {
|
|
182
|
-
return Object.getOwnPropertyDescriptor(
|
|
182
|
+
return Object.getOwnPropertyDescriptor(n, s).enumerable;
|
|
183
183
|
})), a.push.apply(a, t);
|
|
184
184
|
}
|
|
185
185
|
return a;
|
|
186
186
|
}
|
|
187
|
-
function W(
|
|
187
|
+
function W(n) {
|
|
188
188
|
for (var e = 1; e < arguments.length; e++) {
|
|
189
189
|
var a = arguments[e] != null ? arguments[e] : {};
|
|
190
190
|
e % 2 ? U(Object(a), !0).forEach(function(t) {
|
|
191
|
-
ke(
|
|
192
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
193
|
-
Object.defineProperty(
|
|
191
|
+
ke(n, t, a[t]);
|
|
192
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : U(Object(a)).forEach(function(t) {
|
|
193
|
+
Object.defineProperty(n, t, Object.getOwnPropertyDescriptor(a, t));
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
|
-
return
|
|
196
|
+
return n;
|
|
197
197
|
}
|
|
198
|
-
function ke(
|
|
199
|
-
return e in
|
|
198
|
+
function ke(n, e, a) {
|
|
199
|
+
return e in n ? Object.defineProperty(n, e, {
|
|
200
200
|
value: a,
|
|
201
201
|
enumerable: !0,
|
|
202
202
|
configurable: !0,
|
|
203
203
|
writable: !0
|
|
204
|
-
}) :
|
|
204
|
+
}) : n[e] = a, n;
|
|
205
205
|
}
|
|
206
206
|
var Fe = [], V = {
|
|
207
207
|
activateTrap: function(e, a) {
|
|
@@ -240,7 +240,7 @@ var Fe = [], V = {
|
|
|
240
240
|
returnFocusOnDeactivate: !0,
|
|
241
241
|
escapeDeactivates: !0,
|
|
242
242
|
delayInitialFocus: !0
|
|
243
|
-
}, a),
|
|
243
|
+
}, a), o = {
|
|
244
244
|
containers: [],
|
|
245
245
|
containerGroups: [],
|
|
246
246
|
tabbableGroups: [],
|
|
@@ -249,54 +249,54 @@ var Fe = [], V = {
|
|
|
249
249
|
active: !1,
|
|
250
250
|
paused: !1,
|
|
251
251
|
delayInitialFocusTimer: void 0
|
|
252
|
-
}, u, f = function(
|
|
253
|
-
return
|
|
254
|
-
}, v = function(
|
|
255
|
-
return
|
|
256
|
-
var d =
|
|
257
|
-
return d.contains(
|
|
258
|
-
return h ===
|
|
252
|
+
}, u, f = function(r, i, d) {
|
|
253
|
+
return r && r[i] !== void 0 ? r[i] : l[d || i];
|
|
254
|
+
}, v = function(r) {
|
|
255
|
+
return o.containerGroups.findIndex(function(i) {
|
|
256
|
+
var d = i.container, b = i.tabbableNodes;
|
|
257
|
+
return d.contains(r) || b.find(function(h) {
|
|
258
|
+
return h === r;
|
|
259
259
|
});
|
|
260
260
|
});
|
|
261
|
-
}, S = function(
|
|
262
|
-
var
|
|
263
|
-
if (typeof
|
|
261
|
+
}, S = function(r) {
|
|
262
|
+
var i = l[r];
|
|
263
|
+
if (typeof i == "function") {
|
|
264
264
|
for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0), h = 1; h < d; h++)
|
|
265
265
|
b[h - 1] = arguments[h];
|
|
266
|
-
|
|
266
|
+
i = i.apply(void 0, b);
|
|
267
267
|
}
|
|
268
|
-
if (
|
|
269
|
-
if (
|
|
270
|
-
return
|
|
271
|
-
throw new Error("`".concat(
|
|
268
|
+
if (i === !0 && (i = void 0), !i) {
|
|
269
|
+
if (i === void 0 || i === !1)
|
|
270
|
+
return i;
|
|
271
|
+
throw new Error("`".concat(r, "` was specified but was not a node, or did not return a node"));
|
|
272
272
|
}
|
|
273
|
-
var p =
|
|
274
|
-
if (typeof
|
|
275
|
-
throw new Error("`".concat(
|
|
273
|
+
var p = i;
|
|
274
|
+
if (typeof i == "string" && (p = t.querySelector(i), !p))
|
|
275
|
+
throw new Error("`".concat(r, "` as selector refers to no known node"));
|
|
276
276
|
return p;
|
|
277
277
|
}, y = function() {
|
|
278
|
-
var
|
|
279
|
-
if (
|
|
278
|
+
var r = S("initialFocus");
|
|
279
|
+
if (r === !1)
|
|
280
280
|
return !1;
|
|
281
|
-
if (
|
|
281
|
+
if (r === void 0)
|
|
282
282
|
if (v(t.activeElement) >= 0)
|
|
283
|
-
|
|
283
|
+
r = t.activeElement;
|
|
284
284
|
else {
|
|
285
|
-
var
|
|
286
|
-
|
|
285
|
+
var i = o.tabbableGroups[0], d = i && i.firstTabbableNode;
|
|
286
|
+
r = d || S("fallbackFocus");
|
|
287
287
|
}
|
|
288
|
-
if (!
|
|
288
|
+
if (!r)
|
|
289
289
|
throw new Error("Your focus-trap needs to have at least one focusable element");
|
|
290
|
-
return
|
|
290
|
+
return r;
|
|
291
291
|
}, C = function() {
|
|
292
|
-
if (
|
|
293
|
-
var
|
|
292
|
+
if (o.containerGroups = o.containers.map(function(r) {
|
|
293
|
+
var i = Ce(r, l.tabbableOptions), d = xe(r, l.tabbableOptions);
|
|
294
294
|
return {
|
|
295
|
-
container:
|
|
296
|
-
tabbableNodes:
|
|
295
|
+
container: r,
|
|
296
|
+
tabbableNodes: i,
|
|
297
297
|
focusableNodes: d,
|
|
298
|
-
firstTabbableNode:
|
|
299
|
-
lastTabbableNode:
|
|
298
|
+
firstTabbableNode: i.length > 0 ? i[0] : null,
|
|
299
|
+
lastTabbableNode: i.length > 0 ? i[i.length - 1] : null,
|
|
300
300
|
nextTabbableNode: function(h) {
|
|
301
301
|
var p = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, g = d.findIndex(function(_) {
|
|
302
302
|
return _ === h;
|
|
@@ -309,82 +309,82 @@ var Fe = [], V = {
|
|
|
309
309
|
});
|
|
310
310
|
}
|
|
311
311
|
};
|
|
312
|
-
}),
|
|
313
|
-
return
|
|
314
|
-
}),
|
|
312
|
+
}), o.tabbableGroups = o.containerGroups.filter(function(r) {
|
|
313
|
+
return r.tabbableNodes.length > 0;
|
|
314
|
+
}), o.tabbableGroups.length <= 0 && !S("fallbackFocus"))
|
|
315
315
|
throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
|
|
316
|
-
}, w = function m(
|
|
317
|
-
if (
|
|
318
|
-
if (!
|
|
316
|
+
}, w = function m(r) {
|
|
317
|
+
if (r !== !1 && r !== t.activeElement) {
|
|
318
|
+
if (!r || !r.focus) {
|
|
319
319
|
m(y());
|
|
320
320
|
return;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
r.focus({
|
|
323
323
|
preventScroll: !!l.preventScroll
|
|
324
|
-
}),
|
|
324
|
+
}), o.mostRecentlyFocusedNode = r, Ee(r) && r.select();
|
|
325
325
|
}
|
|
326
|
-
}, H = function(
|
|
327
|
-
var
|
|
328
|
-
return
|
|
329
|
-
}, E = function(
|
|
330
|
-
var
|
|
331
|
-
if (!(v(
|
|
332
|
-
if (F(l.clickOutsideDeactivates,
|
|
326
|
+
}, H = function(r) {
|
|
327
|
+
var i = S("setReturnFocus", r);
|
|
328
|
+
return i || (i === !1 ? !1 : r);
|
|
329
|
+
}, E = function(r) {
|
|
330
|
+
var i = D(r);
|
|
331
|
+
if (!(v(i) >= 0)) {
|
|
332
|
+
if (F(l.clickOutsideDeactivates, r)) {
|
|
333
333
|
u.deactivate({
|
|
334
|
-
returnFocus: l.returnFocusOnDeactivate && !B(
|
|
334
|
+
returnFocus: l.returnFocusOnDeactivate && !B(i, l.tabbableOptions)
|
|
335
335
|
});
|
|
336
336
|
return;
|
|
337
337
|
}
|
|
338
|
-
F(l.allowOutsideClick,
|
|
338
|
+
F(l.allowOutsideClick, r) || r.preventDefault();
|
|
339
339
|
}
|
|
340
|
-
}, q = function(
|
|
341
|
-
var
|
|
342
|
-
d ||
|
|
343
|
-
}, te = function(
|
|
344
|
-
var
|
|
340
|
+
}, q = function(r) {
|
|
341
|
+
var i = D(r), d = v(i) >= 0;
|
|
342
|
+
d || i instanceof Document ? d && (o.mostRecentlyFocusedNode = i) : (r.stopImmediatePropagation(), w(o.mostRecentlyFocusedNode || y()));
|
|
343
|
+
}, te = function(r) {
|
|
344
|
+
var i = D(r);
|
|
345
345
|
C();
|
|
346
346
|
var d = null;
|
|
347
|
-
if (
|
|
348
|
-
var b = v(
|
|
347
|
+
if (o.tabbableGroups.length > 0) {
|
|
348
|
+
var b = v(i), h = b >= 0 ? o.containerGroups[b] : void 0;
|
|
349
349
|
if (b < 0)
|
|
350
|
-
|
|
351
|
-
else if (
|
|
352
|
-
var p = Y(
|
|
350
|
+
r.shiftKey ? d = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : d = o.tabbableGroups[0].firstTabbableNode;
|
|
351
|
+
else if (r.shiftKey) {
|
|
352
|
+
var p = Y(o.tabbableGroups, function(L) {
|
|
353
353
|
var I = L.firstTabbableNode;
|
|
354
|
-
return
|
|
354
|
+
return i === I;
|
|
355
355
|
});
|
|
356
|
-
if (p < 0 && (h.container ===
|
|
357
|
-
var g = p === 0 ?
|
|
356
|
+
if (p < 0 && (h.container === i || B(i, l.tabbableOptions) && !N(i, l.tabbableOptions) && !h.nextTabbableNode(i, !1)) && (p = b), p >= 0) {
|
|
357
|
+
var g = p === 0 ? o.tabbableGroups.length - 1 : p - 1, _ = o.tabbableGroups[g];
|
|
358
358
|
d = _.lastTabbableNode;
|
|
359
359
|
}
|
|
360
360
|
} else {
|
|
361
|
-
var T = Y(
|
|
361
|
+
var T = Y(o.tabbableGroups, function(L) {
|
|
362
362
|
var I = L.lastTabbableNode;
|
|
363
|
-
return
|
|
363
|
+
return i === I;
|
|
364
364
|
});
|
|
365
|
-
if (T < 0 && (h.container ===
|
|
366
|
-
var
|
|
367
|
-
d =
|
|
365
|
+
if (T < 0 && (h.container === i || B(i, l.tabbableOptions) && !N(i, l.tabbableOptions) && !h.nextTabbableNode(i)) && (T = b), T >= 0) {
|
|
366
|
+
var oe = T === o.tabbableGroups.length - 1 ? 0 : T + 1, re = o.tabbableGroups[oe];
|
|
367
|
+
d = re.firstTabbableNode;
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
} else
|
|
371
371
|
d = S("fallbackFocus");
|
|
372
|
-
d && (
|
|
373
|
-
}, M = function(
|
|
374
|
-
if (Ne(
|
|
375
|
-
|
|
372
|
+
d && (r.preventDefault(), w(d));
|
|
373
|
+
}, M = function(r) {
|
|
374
|
+
if (Ne(r) && F(l.escapeDeactivates, r) !== !1) {
|
|
375
|
+
r.preventDefault(), u.deactivate();
|
|
376
376
|
return;
|
|
377
377
|
}
|
|
378
|
-
if (De(
|
|
379
|
-
te(
|
|
378
|
+
if (De(r)) {
|
|
379
|
+
te(r);
|
|
380
380
|
return;
|
|
381
381
|
}
|
|
382
|
-
}, j = function(
|
|
383
|
-
var
|
|
384
|
-
v(
|
|
382
|
+
}, j = function(r) {
|
|
383
|
+
var i = D(r);
|
|
384
|
+
v(i) >= 0 || F(l.clickOutsideDeactivates, r) || F(l.allowOutsideClick, r) || (r.preventDefault(), r.stopImmediatePropagation());
|
|
385
385
|
}, G = function() {
|
|
386
|
-
if (!!
|
|
387
|
-
return V.activateTrap(s, u),
|
|
386
|
+
if (!!o.active)
|
|
387
|
+
return V.activateTrap(s, u), o.delayInitialFocusTimer = l.delayInitialFocus ? $(function() {
|
|
388
388
|
w(y());
|
|
389
389
|
}) : w(y()), t.addEventListener("focusin", q, !0), t.addEventListener("mousedown", E, {
|
|
390
390
|
capture: !0,
|
|
@@ -400,55 +400,55 @@ var Fe = [], V = {
|
|
|
400
400
|
passive: !1
|
|
401
401
|
}), u;
|
|
402
402
|
}, K = function() {
|
|
403
|
-
if (!!
|
|
403
|
+
if (!!o.active)
|
|
404
404
|
return t.removeEventListener("focusin", q, !0), t.removeEventListener("mousedown", E, !0), t.removeEventListener("touchstart", E, !0), t.removeEventListener("click", j, !0), t.removeEventListener("keydown", M, !0), u;
|
|
405
405
|
};
|
|
406
406
|
return u = {
|
|
407
407
|
get active() {
|
|
408
|
-
return
|
|
408
|
+
return o.active;
|
|
409
409
|
},
|
|
410
410
|
get paused() {
|
|
411
|
-
return
|
|
411
|
+
return o.paused;
|
|
412
412
|
},
|
|
413
|
-
activate: function(
|
|
414
|
-
if (
|
|
413
|
+
activate: function(r) {
|
|
414
|
+
if (o.active)
|
|
415
415
|
return this;
|
|
416
|
-
var
|
|
417
|
-
b || C(),
|
|
416
|
+
var i = f(r, "onActivate"), d = f(r, "onPostActivate"), b = f(r, "checkCanFocusTrap");
|
|
417
|
+
b || C(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = t.activeElement, i && i();
|
|
418
418
|
var h = function() {
|
|
419
419
|
b && C(), G(), d && d();
|
|
420
420
|
};
|
|
421
|
-
return b ? (b(
|
|
421
|
+
return b ? (b(o.containers.concat()).then(h, h), this) : (h(), this);
|
|
422
422
|
},
|
|
423
|
-
deactivate: function(
|
|
424
|
-
if (!
|
|
423
|
+
deactivate: function(r) {
|
|
424
|
+
if (!o.active)
|
|
425
425
|
return this;
|
|
426
|
-
var
|
|
426
|
+
var i = W({
|
|
427
427
|
onDeactivate: l.onDeactivate,
|
|
428
428
|
onPostDeactivate: l.onPostDeactivate,
|
|
429
429
|
checkCanReturnFocus: l.checkCanReturnFocus
|
|
430
|
-
},
|
|
431
|
-
clearTimeout(
|
|
432
|
-
var d = f(
|
|
430
|
+
}, r);
|
|
431
|
+
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, K(), o.active = !1, o.paused = !1, V.deactivateTrap(s, u);
|
|
432
|
+
var d = f(i, "onDeactivate"), b = f(i, "onPostDeactivate"), h = f(i, "checkCanReturnFocus"), p = f(i, "returnFocus", "returnFocusOnDeactivate");
|
|
433
433
|
d && d();
|
|
434
434
|
var g = function() {
|
|
435
435
|
$(function() {
|
|
436
|
-
p && w(H(
|
|
436
|
+
p && w(H(o.nodeFocusedBeforeActivation)), b && b();
|
|
437
437
|
});
|
|
438
438
|
};
|
|
439
|
-
return p && h ? (h(H(
|
|
439
|
+
return p && h ? (h(H(o.nodeFocusedBeforeActivation)).then(g, g), this) : (g(), this);
|
|
440
440
|
},
|
|
441
441
|
pause: function() {
|
|
442
|
-
return
|
|
442
|
+
return o.paused || !o.active ? this : (o.paused = !0, K(), this);
|
|
443
443
|
},
|
|
444
444
|
unpause: function() {
|
|
445
|
-
return !
|
|
445
|
+
return !o.paused || !o.active ? this : (o.paused = !1, C(), G(), this);
|
|
446
446
|
},
|
|
447
|
-
updateContainerElements: function(
|
|
448
|
-
var
|
|
449
|
-
return
|
|
447
|
+
updateContainerElements: function(r) {
|
|
448
|
+
var i = [].concat(r).filter(Boolean);
|
|
449
|
+
return o.containers = i.map(function(d) {
|
|
450
450
|
return typeof d == "string" ? t.querySelector(d) : d;
|
|
451
|
-
}),
|
|
451
|
+
}), o.active && C(), this;
|
|
452
452
|
}
|
|
453
453
|
}, u.updateContainerElements(e), u;
|
|
454
454
|
};
|
|
@@ -458,9 +458,9 @@ const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-gho
|
|
|
458
458
|
--s-surface-overlay-hovered
|
|
459
459
|
);--swirl-resource-list-item-background-pressed:var(
|
|
460
460
|
--s-surface-overlay-pressed
|
|
461
|
-
);position:fixed;z-index:var(--s-z-40);display:flex;justify-content:center;align-items:center;inset:0}.modal[aria-hidden="true"]{display:none}.modal--variant-default.modal--closing{animation:0.15s modal-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.modal--variant-default.modal--closing{animation:none}}.modal--variant-default:not(.modal--closing) .modal__backdrop{animation:0.15s modal-backdrop-fade-in}@media (prefers-reduced-motion){.modal--variant-default:not(.modal--closing) .modal__backdrop{animation:none}}.modal--variant-default:not(.modal--closing) .modal__body{animation:0.15s modal-scale-in}@media (prefers-reduced-motion){.modal--variant-default:not(.modal--closing) .modal__body{animation:none}}.modal--variant-drawer{justify-content:end;align-items:stretch}.modal--variant-drawer.modal--closing{animation:0.15s modal-drawer-slide-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.modal--variant-drawer.modal--closing{animation:none}}@media (min-width: 768px){.modal--variant-drawer.modal--hide-label .modal__header-bar{height:auto;padding-top:var(--s-space-4);padding-bottom:var(--s-space-4)}}.modal--variant-drawer .modal__backdrop{background-color:transparent;animation:none}.modal--variant-drawer .modal__body{height:100%;max-height:none;border-radius:0;animation:0.15s modal-drawer-slide-in;box-shadow:var(--s-shadow-level-3)}@media (prefers-reduced-motion){.modal--variant-drawer .modal__body{animation:none}}.modal--variant-drawer .modal__header-bar{background-color:var(--s-surface-overlay-default)}.modal--variant-drawer .modal__header-bar .modal__close-button{margin-left:calc(-1 * var(--s-space-8))}@media (min-width: 768px){.modal--variant-drawer .modal__header-bar{flex-direction:row}}@media (min-width: 768px){.modal--variant-drawer.modal--padded .modal__content{padding-top:var(--s-space-8)}}.modal--padded .modal__content{padding-top:var(--s-space-24);padding-right:var(--s-space-16);padding-bottom:var(--s-space-24);padding-left:var(--s-space-16)}@media (min-width: 768px){.modal--padded .modal__content{padding-top:0;padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24)}}@media (min-width: 768px){.modal--scrollable .modal__content{padding-bottom:0}}.modal--scrollable:not(.modal--scrolled-down).modal--has-custom-footer .modal__custom-footer{border-top:var(--s-border-width-default) solid var(--s-border-default)}.modal--scrollable:not(.modal--scrolled-down):not(.modal--has-custom-footer) .modal__controls{border-top:var(--s-border-width-default) solid var(--s-border-default)}.modal--has-custom-header .modal__content{padding-top:var(--s-space-16)}.modal--has-custom-footer .modal__custom-footer{padding-top:var(--s-space-16);padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24)}.modal--has-header-tools .modal__header{border-bottom-color:transparent}.modal--has-header-tools .modal__header-tools{display:block}.modal--has-secondary-content .modal__body{max-width:64rem}@media (min-width: 992px){.modal--has-secondary-content .modal__header-tools,.modal--has-secondary-content .modal__content{padding-right:0}}.modal--has-secondary-content .modal__primary-content{overflow:visible;max-height:60%;flex-basis:auto}@media (min-width: 992px){.modal--has-secondary-content .modal__primary-content{max-height:none;flex-basis:calc(100% -
|
|
462
|
-
constructor(
|
|
463
|
-
|
|
461
|
+
);position:fixed;z-index:var(--s-z-40);display:flex;justify-content:center;align-items:center;inset:0}.modal[aria-hidden="true"]{display:none}.modal--variant-default.modal--closing{animation:0.15s modal-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.modal--variant-default.modal--closing{animation:none}}.modal--variant-default:not(.modal--closing) .modal__backdrop{animation:0.15s modal-backdrop-fade-in}@media (prefers-reduced-motion){.modal--variant-default:not(.modal--closing) .modal__backdrop{animation:none}}.modal--variant-default:not(.modal--closing) .modal__body{animation:0.15s modal-scale-in}@media (prefers-reduced-motion){.modal--variant-default:not(.modal--closing) .modal__body{animation:none}}.modal--variant-drawer{justify-content:end;align-items:stretch}.modal--variant-drawer.modal--closing{animation:0.15s modal-drawer-slide-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.modal--variant-drawer.modal--closing{animation:none}}@media (min-width: 768px){.modal--variant-drawer.modal--hide-label .modal__header-bar{height:auto;padding-top:var(--s-space-4);padding-bottom:var(--s-space-4)}}.modal--variant-drawer .modal__backdrop{background-color:transparent;animation:none}.modal--variant-drawer .modal__body{height:100%;max-height:none;border-radius:0;animation:0.15s modal-drawer-slide-in;box-shadow:var(--s-shadow-level-3)}@media (prefers-reduced-motion){.modal--variant-drawer .modal__body{animation:none}}.modal--variant-drawer .modal__header-bar{background-color:var(--s-surface-overlay-default)}.modal--variant-drawer .modal__header-bar .modal__close-button{margin-left:calc(-1 * var(--s-space-8))}@media (min-width: 768px){.modal--variant-drawer .modal__header-bar{flex-direction:row}}@media (min-width: 768px){.modal--variant-drawer.modal--padded .modal__content{padding-top:var(--s-space-8)}}.modal--padded .modal__content{padding-top:var(--s-space-24);padding-right:var(--s-space-16);padding-bottom:var(--s-space-24);padding-left:var(--s-space-16)}@media (min-width: 768px){.modal--padded .modal__content{padding-top:0;padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24)}}@media (min-width: 768px){.modal--scrollable .modal__content{padding-bottom:0}}.modal--scrollable:not(.modal--scrolled-down).modal--has-custom-footer .modal__custom-footer{border-top:var(--s-border-width-default) solid var(--s-border-default)}.modal--scrollable:not(.modal--scrolled-down):not(.modal--has-custom-footer) .modal__controls{border-top:var(--s-border-width-default) solid var(--s-border-default)}.modal--has-custom-header .modal__content{padding-top:var(--s-space-16)}.modal--has-custom-footer .modal__custom-footer{padding-top:var(--s-space-16);padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24)}.modal--has-header-tools .modal__header{border-bottom-color:transparent}.modal--has-header-tools .modal__header-tools{display:block}.modal--has-secondary-content .modal__body{max-width:64rem}.modal--has-secondary-content:not(.modal--has-header-tools) .modal__header{border-bottom-color:var(--s-border-default)}.modal--has-secondary-content.modal--has-header-tools .modal__header-tools{border-bottom-color:var(--s-border-default)}.modal--has-secondary-content.modal--has-custom-footer .modal__custom-footer{border-top:var(--s-border-width-default) solid var(--s-border-default)}.modal--has-secondary-content:not(.modal--has-custom-footer) .modal__controls{border-top:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 992px){.modal--has-secondary-content .modal__header-tools,.modal--has-secondary-content .modal__content{padding-right:0}}.modal--has-secondary-content .modal__primary-content{overflow:visible;max-height:60%;flex-basis:auto}@media (min-width: 992px){.modal--has-secondary-content .modal__primary-content{max-height:none;flex-basis:calc(100% - 24rem)}}.modal--has-secondary-content .modal__secondary-content{display:block}@media (min-width: 768px){.modal--scrolled:not(.modal--has-header-tools) .modal__header{border-bottom-color:var(--s-border-default)}.modal--scrolled.modal--has-header-tools .modal__header-tools{border-bottom-color:var(--s-border-default)}}.modal__backdrop{position:fixed;background-color:rgba(0, 0, 0, 0.2);inset:0}.modal__body{position:relative;z-index:var(--s-z-40);display:flex;overflow:hidden;width:100vw;max-width:40rem;height:100vh;background-color:var(--s-surface-overlay-default);flex-direction:column}@media (min-width: 768px){.modal__body{width:90vw;max-height:90vh;border-radius:var(--s-border-radius-base);box-shadow:var(--s-shadow-level-3)}}@media (min-width: 992px){.modal__body{height:auto}}.modal__header{border-bottom:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 768px){.modal__header{border-bottom:var(--s-border-width-default) solid transparent}}.modal__header-bar{display:flex;height:3.5rem;padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:var(--s-space-16);flex-shrink:0;align-items:center;gap:var(--s-space-8)}@media (min-width: 768px){.modal__header-bar{height:4.125rem;padding-top:var(--s-space-24);padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24);flex-direction:row-reverse;gap:var(--s-space-16)}}.modal__header-tools{display:none;padding-right:var(--s-space-16);padding-left:var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 768px){.modal__header-tools{padding-right:var(--s-space-24);padding-left:var(--s-space-24);border-bottom-color:transparent}}.modal__custom-header{flex-shrink:0;border-bottom:var(--s-border-width-default) solid var(--s-border-default)}.modal__heading{overflow:hidden}.modal__heading .heading{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.modal__content-container{display:flex;overflow:hidden;flex-grow:1;flex-direction:column;gap:var(--s-space-24)}@media (min-width: 992px){.modal__content-container{flex-direction:row}}.modal__primary-content{display:flex;overflow:hidden;flex-basis:100%;flex-direction:column}.modal__content{overflow-x:hidden;overflow-y:auto}.modal__content ::slotted(*){margin:0}.modal__secondary-content{display:none;overflow:visible;overflow-x:hidden;overflow-y:auto;max-width:none;max-height:40%;padding-right:var(--s-space-16);padding-left:var(--s-space-16)}@media (min-width: 768px){.modal__secondary-content{padding-left:var(--s-space-24)}}@media (min-width: 992px){.modal__secondary-content{overflow-x:hidden;overflow-y:auto;max-width:24rem;max-height:none;padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:0;flex-basis:50%}}.modal__custom-footer{flex-shrink:0}.modal__controls{display:flex;padding-top:var(--s-space-16);padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24);flex-shrink:0;justify-content:flex-end}@keyframes modal-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@keyframes modal-backdrop-fade-in{from{opacity:0}to{opacity:1}}@keyframes modal-fade-out{from{opacity:1}to{opacity:0}}@keyframes modal-drawer-slide-in{from{transform:translate3d(100%, 0, 0)}to{transform:translate3d(0, 0, 0)}}@keyframes modal-drawer-slide-out{from{transform:translate3d(0, 0, 0)}to{transform:translate3d(100%, 0, 0)}}`, Oe = class {
|
|
462
|
+
constructor(n) {
|
|
463
|
+
ne(this, n), this.modalClose = k(this, "modalClose", 7), this.modalOpen = k(this, "modalOpen", 7), this.primaryAction = k(this, "primaryAction", 7), this.requestModalClose = k(this, "requestModalClose", 7), this.secondaryAction = k(this, "secondaryAction", 7), this.onKeyDown = (e) => {
|
|
464
464
|
e.code === "Escape" && this.close();
|
|
465
465
|
}, this.onBackdropClick = () => {
|
|
466
466
|
this.close();
|
|
@@ -471,8 +471,8 @@ const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-gho
|
|
|
471
471
|
}, this.onSecondaryAction = (e) => {
|
|
472
472
|
this.secondaryAction.emit(e);
|
|
473
473
|
}, this.determineScrollStatus = () => {
|
|
474
|
-
var s, l,
|
|
475
|
-
const e = ((s = this.scrollContainer) == null ? void 0 : s.scrollTop) > 0, a = Math.ceil(((l = this.scrollContainer) == null ? void 0 : l.scrollTop) + ((
|
|
474
|
+
var s, l, o, u, f, v;
|
|
475
|
+
const e = ((s = this.scrollContainer) == null ? void 0 : s.scrollTop) > 0, a = Math.ceil(((l = this.scrollContainer) == null ? void 0 : l.scrollTop) + ((o = this.scrollContainer) == null ? void 0 : o.offsetHeight)) >= ((u = this.scrollContainer) == null ? void 0 : u.scrollHeight), t = ((f = this.scrollContainer) == null ? void 0 : f.scrollHeight) > ((v = this.scrollContainer) == null ? void 0 : v.offsetHeight);
|
|
476
476
|
e !== this.scrolled && (this.scrolled = e), a !== this.scrolledDown && (this.scrolledDown = a), t !== this.scrollable && (this.scrollable = t);
|
|
477
477
|
}, this.closable = !0, this.closeButtonLabel = "Close modal", this.hideCloseButton = void 0, this.hideLabel = void 0, this.label = void 0, this.maxHeight = void 0, this.maxWidth = void 0, this.padded = !0, this.primaryActionLabel = void 0, this.secondaryActionLabel = void 0, this.variant = "default", this.isOpen = !1, this.closing = !1, this.hasCustomHeader = void 0, this.hasCustomFooter = void 0, this.hasHeaderTools = void 0, this.hasSecondaryContent = void 0, this.scrollable = !1, this.scrolled = !1, this.scrolledDown = !1;
|
|
478
478
|
}
|
|
@@ -480,7 +480,7 @@ const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-gho
|
|
|
480
480
|
this.focusTrap = Ae(this.modalEl, {
|
|
481
481
|
allowOutsideClick: !0,
|
|
482
482
|
tabbableOptions: {
|
|
483
|
-
getShadowRoot: (
|
|
483
|
+
getShadowRoot: (n) => n.shadowRoot
|
|
484
484
|
}
|
|
485
485
|
}), this.determineScrollStatus(), queueMicrotask(() => {
|
|
486
486
|
this.updateCustomFooterStatus(), this.updateCustomHeaderStatus(), this.updateHeaderToolsStatus(), this.updateSecondaryContentStatus();
|
|
@@ -500,8 +500,8 @@ const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-gho
|
|
|
500
500
|
async open() {
|
|
501
501
|
this.isOpen = !0, this.modalOpen.emit(), this.lockBodyScroll(), this.determineScrollStatus();
|
|
502
502
|
}
|
|
503
|
-
async close(
|
|
504
|
-
this.closing || (this.requestModalClose.emit(), !(!this.closable && !
|
|
503
|
+
async close(n) {
|
|
504
|
+
this.closing || (this.requestModalClose.emit(), !(!this.closable && !n) && (this.closing = !0, this.unlockBodyScroll(), setTimeout(() => {
|
|
505
505
|
this.isOpen = !1, this.modalClose.emit(), this.closing = !1;
|
|
506
506
|
}, 150)));
|
|
507
507
|
}
|
|
@@ -518,8 +518,8 @@ const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-gho
|
|
|
518
518
|
this.hasSecondaryContent = Boolean(this.el.querySelector('[slot="secondary-content"]'));
|
|
519
519
|
}
|
|
520
520
|
handleAutoFocus() {
|
|
521
|
-
var
|
|
522
|
-
(
|
|
521
|
+
var n;
|
|
522
|
+
(n = this.modalEl.querySelector("input[autofocus]")) == null || n.focus();
|
|
523
523
|
}
|
|
524
524
|
lockBodyScroll() {
|
|
525
525
|
le(this.scrollContainer);
|
|
@@ -528,7 +528,7 @@ const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-gho
|
|
|
528
528
|
de(this.scrollContainer);
|
|
529
529
|
}
|
|
530
530
|
render() {
|
|
531
|
-
const
|
|
531
|
+
const n = Boolean(this.primaryActionLabel) || Boolean(this.secondaryActionLabel), e = ce("modal", `modal--variant-${this.variant}`, {
|
|
532
532
|
"modal--closing": this.closing,
|
|
533
533
|
"modal--has-custom-footer": this.hasCustomFooter,
|
|
534
534
|
"modal--has-custom-header": this.hasCustomHeader,
|
|
@@ -540,7 +540,7 @@ const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-gho
|
|
|
540
540
|
"modal--scrolled": this.scrolled,
|
|
541
541
|
"modal--scrolled-down": this.scrolledDown
|
|
542
542
|
});
|
|
543
|
-
return c(
|
|
543
|
+
return c(ie, null, c("section", { "aria-hidden": String(!this.isOpen), "aria-label": this.label, "aria-modal": "true", class: e, onKeyDown: this.onKeyDown, role: "dialog", ref: (a) => this.modalEl = a }, c("div", { class: "modal__backdrop", onClick: this.onBackdropClick }), c("div", { class: "modal__body", style: { maxHeight: this.maxHeight, maxWidth: this.maxWidth } }, c("header", { class: "modal__custom-header" }, c("slot", { name: "custom-header" })), (!this.hideLabel || !this.hideCloseButton) && c("header", { class: "modal__header" }, c("div", { class: "modal__header-bar" }, !this.hideCloseButton && c("swirl-button", { class: "modal__close-button", hideLabel: !0, icon: this.variant === "default" ? "<swirl-icon-close></swirl-icon-close>" : "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>", label: this.closeButtonLabel, onClick: this.onCloseButtonClick }), !this.hideLabel && c("swirl-heading", { as: "h2", class: "modal__heading", level: 3, text: this.label }))), c("div", { class: "modal__content-container" }, c("div", { class: "modal__primary-content" }, c("div", { class: "modal__header-tools" }, c("slot", { name: "header-tools" })), c("div", { class: "modal__content", onScroll: this.determineScrollStatus, ref: (a) => this.scrollContainer = a }, c("slot", null))), c("div", { class: "modal__secondary-content" }, c("slot", { name: "secondary-content" }))), c("div", { class: "modal__custom-footer" }, c("slot", { name: "custom-footer" })), n && c("footer", { class: "modal__controls" }, c("swirl-button-group", { wrap: !0 }, this.secondaryActionLabel && c("swirl-button", { label: this.secondaryActionLabel, onClick: this.onSecondaryAction }), this.primaryActionLabel && c("swirl-button", { intent: "primary", label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" }))))));
|
|
544
544
|
}
|
|
545
545
|
get el() {
|
|
546
546
|
return se(this);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as s, h as t, H as e } from "./index.
|
|
1
|
+
import { r as s, h as t, H as e } from "./index.756a29d8.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const o = ":host{display:block}:host *{box-sizing:border-box}.option-list-section{background-color:var(--s-surface-overlay-default)}.option-list-section__label{display:block;width:100%;padding:var(--s-space-8) var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default);color:var(--s-text-subdued);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);text-align:left}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.option-list-section__label{padding:var(--s-space-8) var(--s-space-12);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}", l = class {
|
package/dist/{swirl-option-list_2.entry.a2571e43.js → swirl-option-list_2.entry.c9124383.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as h, c as a, h as o, H as c, g as d } from "./index.
|
|
1
|
+
import { r as h, c as a, h as o, H as c, g as d } from "./index.756a29d8.js";
|
|
2
2
|
import { c as l, q as n } from "./utils-bc84f36e.1fee9865.js";
|
|
3
3
|
import { S as m } from "./sortable.esm-8c3d5856.57c4f048.js";
|
|
4
4
|
import { c as f } from "./index-d280dafb.186cdb0e.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as l, c as s, h as i, H as r } from "./index.
|
|
1
|
+
import { r as l, c as s, h as i, H as r } from "./index.756a29d8.js";
|
|
2
2
|
import { c as p } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { d as g } from "./utils-bc84f36e.1fee9865.js";
|
|
4
4
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as l, h as e, H as n, g as d } from "./index.
|
|
1
|
+
import { r as l, h as e, H as n, g as d } from "./index.756a29d8.js";
|
|
2
2
|
import { A as c } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
|
|
3
3
|
import { d as h, e as p } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as r } from "./index-d280dafb.186cdb0e.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as g, c as l, h as s, H as v, g as m } from "./index.
|
|
1
|
+
import { r as g, c as l, h as s, H as v, g as m } from "./index.756a29d8.js";
|
|
2
2
|
import { o as c, s as d, f as u, c as f, a as b } from "./floating-ui.dom.esm-ac7cc24e.79b318e4.js";
|
|
3
3
|
import { d as _, e as y } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as w } from "./index-d280dafb.186cdb0e.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, c as l, h as i, H as n, g as u } from "./index.
|
|
1
|
+
import { r as o, c as l, h as i, H as n, g as u } from "./index.756a29d8.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const d = ".sc-swirl-radio-group-h{display:block}.sc-swirl-radio-group-h *.sc-swirl-radio-group{box-sizing:border-box}.radio-group.sc-swirl-radio-group{display:flex;flex-direction:column;gap:var(--s-space-12)}", h = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as c, c as n, h as e, H as a } from "./index.
|
|
1
|
+
import { r as c, c as n, h as e, H as a } from "./index.756a29d8.js";
|
|
2
2
|
import { c as m } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { g as u } from "./utils-bc84f36e.1fee9865.js";
|
|
4
4
|
import "react";
|