@getflip/swirl-components-react 0.88.0 → 0.90.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.d1c430d4.js → file-manager.entry.d82820db.js} +1 -1
- package/dist/{index.14306018.js → index.967b6b95.js} +268 -262
- package/dist/stencil-generated/index.d.ts +1 -0
- package/dist/{swirl-action-list-section.entry.71a88294.js → swirl-action-list-section.entry.b639481b.js} +1 -1
- package/dist/{swirl-action-list_3.entry.10ddb2ef.js → swirl-action-list_3.entry.252ffeb7.js} +1 -1
- package/dist/{swirl-app-bar.entry.7a12c1f8.js → swirl-app-bar.entry.904f1e03.js} +1 -1
- package/dist/{swirl-app-icon.entry.647efdfb.js → swirl-app-icon.entry.f987b5df.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.3969ae98.js → swirl-app-layout_7.entry.79fdff1e.js} +1 -1
- package/dist/{swirl-autocomplete.entry.0d595f06.js → swirl-autocomplete.entry.3f7b3007.js} +1 -1
- package/dist/{swirl-avatar-group.entry.e9d5ee14.js → swirl-avatar-group.entry.5f5eafbe.js} +1 -1
- package/dist/{swirl-avatar.entry.4e70ca96.js → swirl-avatar.entry.d2b7e88b.js} +1 -1
- package/dist/{swirl-badge.entry.fb99f906.js → swirl-badge.entry.5a04dc1c.js} +1 -1
- package/dist/{swirl-banner.entry.3c503d51.js → swirl-banner.entry.a9e3a9b6.js} +1 -1
- package/dist/{swirl-button-group.entry.9200e5f0.js → swirl-button-group.entry.fcc26967.js} +1 -1
- package/dist/{swirl-button.entry.21f6e0b1.js → swirl-button.entry.593002fd.js} +1 -1
- package/dist/swirl-card.entry.c3c0771a.js +36 -0
- package/dist/{swirl-carousel-slide.entry.75572f62.js → swirl-carousel-slide.entry.e9d4cf68.js} +1 -1
- package/dist/{swirl-carousel.entry.e350fd75.js → swirl-carousel.entry.ff9a3c43.js} +1 -1
- package/dist/{swirl-checkbox.entry.7259a0c0.js → swirl-checkbox.entry.691c4551.js} +1 -1
- package/dist/swirl-chip.entry.d237c24d.js +41 -0
- package/dist/{swirl-columns.entry.c3682549.js → swirl-columns.entry.f63b895f.js} +1 -1
- package/dist/swirl-components-react.js +15 -14
- package/dist/swirl-components-react.umd.cjs +48 -48
- package/dist/{swirl-console-layout.entry.9cadea51.js → swirl-console-layout.entry.0836aedd.js} +1 -1
- package/dist/{swirl-date-input.entry.ab1a4b15.js → swirl-date-input.entry.73f36edf.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.2d07a421.js → swirl-date-picker_2.entry.86cc8c90.js} +1 -1
- package/dist/{swirl-description-list-item.entry.27d67ef8.js → swirl-description-list-item.entry.0d93296c.js} +1 -1
- package/dist/{swirl-description-list.entry.13ec948e.js → swirl-description-list.entry.b1e79bbc.js} +1 -1
- package/dist/{swirl-dialog.entry.0ec47b13.js → swirl-dialog.entry.2379deba.js} +1 -1
- package/dist/{swirl-emoji-clap.entry.a513a95f.js → swirl-emoji-clap.entry.5853dd11.js} +1 -1
- package/dist/{swirl-emoji-happy.entry.c3b19f74.js → swirl-emoji-happy.entry.2295754d.js} +1 -1
- package/dist/{swirl-emoji-idea.entry.4e99f77f.js → swirl-emoji-idea.entry.3b2c8fe3.js} +1 -1
- package/dist/{swirl-emoji-love.entry.910468ca.js → swirl-emoji-love.entry.145dd54e.js} +1 -1
- package/dist/{swirl-emoji-sad.entry.8bc00251.js → swirl-emoji-sad.entry.f82e0d15.js} +1 -1
- package/dist/{swirl-emoji-thumbs-up.entry.6df96ce7.js → swirl-emoji-thumbs-up.entry.740d71af.js} +1 -1
- package/dist/{swirl-emoji.entry.0455615e.js → swirl-emoji.entry.dc644ff3.js} +1 -1
- package/dist/{swirl-file-uploader.entry.5b93a323.js → swirl-file-uploader.entry.3260b7e4.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.0e0c00f2.js → swirl-file-viewer_7.entry.a4fbed5c.js} +1 -1
- package/dist/{swirl-form-control.entry.8cedf336.js → swirl-form-control.entry.1c0df805.js} +1 -1
- package/dist/{swirl-form-group.entry.3031d5d0.js → swirl-form-group.entry.7357c16c.js} +1 -1
- package/dist/{swirl-heading.entry.257c4314.js → swirl-heading.entry.6aa8ee8f.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.6b50bfd6.js → swirl-icon-add-photo.entry.04163935.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.b364329b.js → swirl-icon-add_6.entry.874d4e9b.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.4a82f67b.js → swirl-icon-admin-panel-settings.entry.5c5197af.js} +1 -1
- package/dist/{swirl-icon-ai.entry.e81c5c26.js → swirl-icon-ai.entry.d662d5ce.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.b9f5cef3.js → swirl-icon-arrow-back.entry.790548f4.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.b65d2ffe.js → swirl-icon-arrow-downward_2.entry.8e670a89.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.1b666511.js → swirl-icon-arrow-forward.entry.276de448.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.061ab8e5.js → swirl-icon-arrow-left_4.entry.69667409.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.df1e3fa2.js → swirl-icon-arrow-right-small.entry.de1ab83e.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.bca884cd.js → swirl-icon-attachment.entry.a4ed8887.js} +1 -1
- package/dist/{swirl-icon-bar-chart.entry.e4693f99.js → swirl-icon-bar-chart.entry.ec20afa2.js} +1 -1
- package/dist/{swirl-icon-block.entry.611af8f3.js → swirl-icon-block.entry.1eb940b4.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.a12348b7.js → swirl-icon-bookmark.entry.4fecc1d6.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.ccdfaf76.js → swirl-icon-cancel_4.entry.60c59d66.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.4686fd34.js → swirl-icon-chat-bubble.entry.65f210b4.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.60602253.js → swirl-icon-chats-filled.entry.54828049.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.e03a5194.js → swirl-icon-chats-outlined.entry.0ddeb08f.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.c23e26fe.js → swirl-icon-check-circle_3.entry.811d8fa9.js} +1 -1
- package/dist/{swirl-icon-check-small_3.entry.a0e5b610.js → swirl-icon-check-small_3.entry.ab6e8fa9.js} +1 -1
- package/dist/{swirl-icon-check-strong.entry.4d290728.js → swirl-icon-check-strong.entry.f883ed37.js} +1 -1
- package/dist/{swirl-icon-check.entry.789a46e3.js → swirl-icon-check.entry.e6f11dea.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.d4986af9.js → swirl-icon-chevron-left.entry.550dc5dd.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.f471a056.js → swirl-icon-chevron-right.entry.35dd0e19.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.85612116.js → swirl-icon-close-small.entry.614864b7.js} +1 -1
- package/dist/{swirl-icon-close.entry.d0a24b6d.js → swirl-icon-close.entry.3ec8cdd3.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.8345f9ca.js → swirl-icon-cloud-upload.entry.4a7bb93f.js} +1 -1
- package/dist/{swirl-icon-column.entry.38cad2ce.js → swirl-icon-column.entry.80e3c691.js} +1 -1
- package/dist/{swirl-icon-comment.entry.a05de3a7.js → swirl-icon-comment.entry.c353e1b7.js} +1 -1
- package/dist/{swirl-icon-copy.entry.3a624b9a.js → swirl-icon-copy.entry.74c3596d.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.af915696.js → swirl-icon-date-range.entry.4345b3b5.js} +1 -1
- package/dist/{swirl-icon-delete.entry.f065340c.js → swirl-icon-delete.entry.4b98ae95.js} +1 -1
- package/dist/{swirl-icon-description.entry.f531e4a8.js → swirl-icon-description.entry.4b0d0486.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.26b176ac.js → swirl-icon-double-arrow-left.entry.c72a1eff.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.ea0482cd.js → swirl-icon-double-arrow-right.entry.82aa6d5a.js} +1 -1
- package/dist/{swirl-icon-download.entry.79f4ab16.js → swirl-icon-download.entry.00cec120.js} +1 -1
- package/dist/{swirl-icon-edit.entry.0dac89d8.js → swirl-icon-edit.entry.54ed8a03.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.8634cc4a.js → swirl-icon-emoji-mood.entry.2c210a46.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.183b0fff.js → swirl-icon-emoji-satisfied.entry.43b882f0.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.8b51664e.js → swirl-icon-error_3.entry.28d009f9.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.7b702b88.js → swirl-icon-expand-more.entry.5128c4ba.js} +1 -1
- package/dist/{swirl-icon-filter.entry.3f38adde.js → swirl-icon-filter.entry.7c128a4f.js} +1 -1
- package/dist/{swirl-icon-folder.entry.7f88a2c3.js → swirl-icon-folder.entry.0c68e28a.js} +1 -1
- package/dist/{swirl-icon-format-h-one.entry.8a345d56.js → swirl-icon-format-h-one.entry.bf853e43.js} +1 -1
- package/dist/{swirl-icon-gif.entry.29806482.js → swirl-icon-gif.entry.0e2649cc.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.d880f42f.js → swirl-icon-group-assign.entry.ec6a737c.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.c0d283fe.js → swirl-icon-groups-custom.entry.11930d86.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.934959d7.js → swirl-icon-groups-filled.entry.bbe6cdce.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.d1e5984a.js → swirl-icon-groups-outlined.entry.3d816dc6.js} +1 -1
- package/dist/{swirl-icon-groups.entry.49670c79.js → swirl-icon-groups.entry.42f4677f.js} +1 -1
- package/dist/{swirl-icon-help.entry.2b962ecb.js → swirl-icon-help.entry.38358536.js} +1 -1
- package/dist/{swirl-icon-highlight.entry.6ccc7909.js → swirl-icon-highlight.entry.ddcaf3e5.js} +1 -1
- package/dist/{swirl-icon-home.entry.f37bd24c.js → swirl-icon-home.entry.00258080.js} +1 -1
- package/dist/{swirl-icon-image.entry.0966794d.js → swirl-icon-image.entry.e7e26158.js} +1 -1
- package/dist/{swirl-icon-improve-text.entry.9c133338.js → swirl-icon-improve-text.entry.02dee3c5.js} +1 -1
- package/dist/{swirl-icon-insert-below.entry.ae1f35eb.js → swirl-icon-insert-below.entry.c6f4bd67.js} +1 -1
- package/dist/{swirl-icon-insert-on-top.entry.da8c99ac.js → swirl-icon-insert-on-top.entry.d2bbf072.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.40fc2acf.js → swirl-icon-inventory.entry.ee0b7c45.js} +1 -1
- package/dist/{swirl-icon-like.entry.30ce3e6f.js → swirl-icon-like.entry.a601db85.js} +1 -1
- package/dist/{swirl-icon-link.entry.1c1c0fd6.js → swirl-icon-link.entry.f72e4683.js} +1 -1
- package/dist/{swirl-icon-lock-person.entry.21b03727.js → swirl-icon-lock-person.entry.5e19ec6c.js} +1 -1
- package/dist/{swirl-icon-lock.entry.ab08542c.js → swirl-icon-lock.entry.696202f6.js} +1 -1
- package/dist/{swirl-icon-logout.entry.a430fd53.js → swirl-icon-logout.entry.5ff687ce.js} +1 -1
- package/dist/{swirl-icon-long-text.entry.b5e2954a.js → swirl-icon-long-text.entry.431c00a6.js} +1 -1
- package/dist/{swirl-icon-mail.entry.db0f7518.js → swirl-icon-mail.entry.57e80289.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.57e8626e.js → swirl-icon-manage-accounts.entry.8579ab07.js} +1 -1
- package/dist/{swirl-icon-mark-chat-read.entry.09aa9f07.js → swirl-icon-mark-chat-read.entry.513b6117.js} +1 -1
- package/dist/{swirl-icon-mark-chat-unread.entry.e39a6402.js → swirl-icon-mark-chat-unread.entry.ed36a08b.js} +1 -1
- package/dist/{swirl-icon-mention.entry.f75c6fae.js → swirl-icon-mention.entry.47425f83.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.5d3adf47.js → swirl-icon-menu-filled.entry.a767aac8.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.73d68344.js → swirl-icon-menu-outlined.entry.f9dd6679.js} +1 -1
- package/dist/{swirl-icon-menu.entry.d1159410.js → swirl-icon-menu.entry.13138eb3.js} +1 -1
- package/dist/{swirl-icon-message.entry.638740bf.js → swirl-icon-message.entry.00e50bd0.js} +1 -1
- package/dist/{swirl-icon-mic.entry.3a424012.js → swirl-icon-mic.entry.11cb821c.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.4019c919.js → swirl-icon-more-horizontal.entry.b3dbc07e.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.a037f55a.js → swirl-icon-news-filled.entry.5854de2e.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.e409d0c5.js → swirl-icon-news-outlined.entry.84f7cc69.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.4b1188e3.js → swirl-icon-notifications-active.entry.069064fd.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.9ce338e1.js → swirl-icon-notifications-off.entry.55f67725.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.c64dc64f.js → swirl-icon-notifications.entry.b3c3d532.js} +1 -1
- package/dist/{swirl-icon-open-in-full.entry.6dd7932d.js → swirl-icon-open-in-full.entry.fab48957.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.123b44f9.js → swirl-icon-open-in-new.entry.ebf874ed.js} +1 -1
- package/dist/{swirl-icon-pause-circle.entry.3cbdf1ba.js → swirl-icon-pause-circle.entry.a3facfdb.js} +1 -1
- package/dist/{swirl-icon-pause.entry.fdd8e441.js → swirl-icon-pause.entry.c2b9efa7.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.fc606b83.js → swirl-icon-people-alt.entry.011a78a1.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.6a7ba25f.js → swirl-icon-person-off.entry.3ca459d0.js} +1 -1
- package/dist/{swirl-icon-person.entry.4f4626ae.js → swirl-icon-person.entry.54c7a71e.js} +1 -1
- package/dist/{swirl-icon-phone.entry.b88312a0.js → swirl-icon-phone.entry.3fb8fc8e.js} +1 -1
- package/dist/{swirl-icon-play-arrow.entry.8def9339.js → swirl-icon-play-arrow.entry.5f4f4253.js} +1 -1
- package/dist/{swirl-icon-poll.entry.13df85b4.js → swirl-icon-poll.entry.5794725e.js} +1 -1
- package/dist/{swirl-icon-print.entry.57943cf2.js → swirl-icon-print.entry.e15731bb.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.b171aead.js → swirl-icon-recieved.entry.0691cc3a.js} +1 -1
- package/dist/{swirl-icon-reply.entry.9b2ee0aa.js → swirl-icon-reply.entry.f321e5e9.js} +1 -1
- package/dist/{swirl-icon-report.entry.b514b212.js → swirl-icon-report.entry.275f04a4.js} +1 -1
- package/dist/{swirl-icon-roadmap.entry.b55362d5.js → swirl-icon-roadmap.entry.f0296992.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.2291f8dd.js → swirl-icon-search-strong.entry.be004f10.js} +1 -1
- package/dist/{swirl-icon-search.entry.c048ee1b.js → swirl-icon-search.entry.b5dff43c.js} +1 -1
- package/dist/{swirl-icon-send.entry.da6be7a9.js → swirl-icon-send.entry.81dfa2fb.js} +1 -1
- package/dist/{swirl-icon-settings.entry.82580a7f.js → swirl-icon-settings.entry.871c5fe9.js} +1 -1
- package/dist/{swirl-icon-short-text.entry.07ce4c78.js → swirl-icon-short-text.entry.f5ae3d53.js} +1 -1
- package/dist/{swirl-icon-simplify.entry.3022a6ae.js → swirl-icon-simplify.entry.a9222380.js} +1 -1
- package/dist/{swirl-icon-spellcheck.entry.3aeecf33.js → swirl-icon-spellcheck.entry.b3b81128.js} +1 -1
- package/dist/{swirl-icon-stop.entry.2d6e5fd9.js → swirl-icon-stop.entry.03132677.js} +1 -1
- package/dist/{swirl-icon-sync.entry.a4f15395.js → swirl-icon-sync.entry.60fcdf98.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.d8934c50.js → swirl-icon-tasks-filled.entry.caa78257.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.767f36ee.js → swirl-icon-tasks-outlined.entry.30138a91.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.08634d32.js → swirl-icon-time-filled.entry.861ae6ae.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.a55d986f.js → swirl-icon-time-outlined.entry.922a8b55.js} +1 -1
- package/dist/{swirl-icon-translate.entry.1d50e124.js → swirl-icon-translate.entry.fcc17e76.js} +1 -1
- package/dist/{swirl-icon-undo.entry.1623c9cf.js → swirl-icon-undo.entry.9f7364e1.js} +1 -1
- package/dist/{swirl-icon-unlock-person.entry.51191e15.js → swirl-icon-unlock-person.entry.187c0c9a.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.208a5043.js → swirl-icon-user-assign.entry.4390dde9.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.3451fc76.js → swirl-icon-video-camera.entry.76678df8.js} +1 -1
- package/dist/{swirl-icon-video-library.entry.406a8c11.js → swirl-icon-video-library.entry.1f07fd6e.js} +1 -1
- package/dist/{swirl-icon-voice.entry.0034b9c9.js → swirl-icon-voice.entry.2ab9a900.js} +1 -1
- package/dist/{swirl-icon.entry.42470c74.js → swirl-icon.entry.60c45633.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.d43942a3.js → swirl-image-grid-item.entry.6b275dee.js} +1 -1
- package/dist/{swirl-image-grid.entry.66d8419d.js → swirl-image-grid.entry.d60cf99d.js} +1 -1
- package/dist/{swirl-inline-notification.entry.3f1a403f.js → swirl-inline-notification.entry.d2e6a187.js} +1 -1
- package/dist/{swirl-inline-status.entry.a9b8778a.js → swirl-inline-status.entry.a5fe3c7c.js} +1 -1
- package/dist/{swirl-lightbox.entry.037ca2d1.js → swirl-lightbox.entry.5b54ff19.js} +1 -1
- package/dist/{swirl-link.entry.374940c6.js → swirl-link.entry.2003b74c.js} +1 -1
- package/dist/{swirl-list.entry.6b9214bc.js → swirl-list.entry.5168a92e.js} +1 -1
- package/dist/{swirl-menu-item.entry.eacd1c1c.js → swirl-menu-item.entry.c19a0b12.js} +1 -1
- package/dist/{swirl-menu.entry.79047963.js → swirl-menu.entry.77c3e413.js} +1 -1
- package/dist/{swirl-modal.entry.868fda67.js → swirl-modal.entry.f6c991c1.js} +195 -191
- package/dist/{swirl-option-list-section.entry.1257f02a.js → swirl-option-list-section.entry.60a8ebd1.js} +1 -1
- package/dist/{swirl-option-list_2.entry.b8daa43b.js → swirl-option-list_2.entry.a2571e43.js} +1 -1
- package/dist/{swirl-pagination.entry.2d2be3bc.js → swirl-pagination.entry.f1c64b71.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.a4b7ba8d.js → swirl-pdf-reader.entry.1cfecdd1.js} +1 -1
- package/dist/{swirl-popover_2.entry.8559c7c4.js → swirl-popover_2.entry.e5351f4c.js} +1 -1
- package/dist/{swirl-progress-indicator.entry.a6e09848.js → swirl-progress-indicator.entry.c3b73832.js} +1 -1
- package/dist/{swirl-radio-group.entry.b7bb98c3.js → swirl-radio-group.entry.f4cc24b6.js} +1 -1
- package/dist/{swirl-radio.entry.ffcfd543.js → swirl-radio.entry.049d0b54.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.be625138.js → swirl-resource-list-file-item.entry.9a43ae3e.js} +1 -1
- package/dist/{swirl-search.entry.5681ee78.js → swirl-search.entry.84416f33.js} +1 -1
- package/dist/{swirl-select.entry.1e199ab1.js → swirl-select.entry.20c70bee.js} +1 -1
- package/dist/{swirl-shell-layout.entry.8bbb68e3.js → swirl-shell-layout.entry.5e5a2e9d.js} +1 -1
- package/dist/{swirl-shell-navigation-item.entry.0463d1f0.js → swirl-shell-navigation-item.entry.5f9fd01b.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.3344320c.js → swirl-skeleton-box.entry.ecaea98f.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.6ead1e40.js → swirl-skeleton-text.entry.27de372e.js} +1 -1
- package/dist/{swirl-stack.entry.248502ef.js → swirl-stack.entry.c9b1acb8.js} +1 -1
- package/dist/{swirl-status-indicator.entry.9a4761b6.js → swirl-status-indicator.entry.210960f1.js} +1 -1
- package/dist/{swirl-switch.entry.1e113f82.js → swirl-switch.entry.a7822c4c.js} +1 -1
- package/dist/{swirl-symbol-account-circle.entry.6845808b.js → swirl-symbol-account-circle.entry.b00a2960.js} +1 -1
- package/dist/{swirl-symbol-alternate-email.entry.4ef97919.js → swirl-symbol-alternate-email.entry.6a3b12bf.js} +1 -1
- package/dist/{swirl-symbol-android.entry.ca4b360d.js → swirl-symbol-android.entry.8163a663.js} +1 -1
- package/dist/{swirl-symbol-announcement.entry.88b16146.js → swirl-symbol-announcement.entry.cc465939.js} +1 -1
- package/dist/{swirl-symbol-backup.entry.c0d98800.js → swirl-symbol-backup.entry.4540069c.js} +1 -1
- package/dist/{swirl-symbol-beach-access.entry.e8ee9198.js → swirl-symbol-beach-access.entry.4fdf5d37.js} +1 -1
- package/dist/{swirl-symbol-bookmark.entry.030c1feb.js → swirl-symbol-bookmark.entry.2e8aa15b.js} +1 -1
- package/dist/{swirl-symbol-cloud.entry.363ba877.js → swirl-symbol-cloud.entry.c347078b.js} +1 -1
- package/dist/{swirl-symbol-coronavirus.entry.3331dce9.js → swirl-symbol-coronavirus.entry.9908aba9.js} +1 -1
- package/dist/{swirl-symbol-desktop-windows.entry.48ba4ee8.js → swirl-symbol-desktop-windows.entry.fb918d93.js} +1 -1
- package/dist/{swirl-symbol-directions-car-filled.entry.55753ac3.js → swirl-symbol-directions-car-filled.entry.7489ab9e.js} +1 -1
- package/dist/{swirl-symbol-edit-calendar.entry.b1657192.js → swirl-symbol-edit-calendar.entry.4720bae8.js} +1 -1
- package/dist/{swirl-symbol-email.entry.9868d66a.js → swirl-symbol-email.entry.90489c48.js} +1 -1
- package/dist/{swirl-symbol-emoji-food-beverage.entry.e09aafde.js → swirl-symbol-emoji-food-beverage.entry.28ca2616.js} +1 -1
- package/dist/{swirl-symbol-event-menu.entry.bf7300e3.js → swirl-symbol-event-menu.entry.c83737e1.js} +1 -1
- package/dist/{swirl-symbol-facebook.entry.c25faa6b.js → swirl-symbol-facebook.entry.e64c20e7.js} +1 -1
- package/dist/{swirl-symbol-favorite.entry.d8209324.js → swirl-symbol-favorite.entry.7d658c89.js} +1 -1
- package/dist/{swirl-symbol-fitness-center.entry.fcf88d7a.js → swirl-symbol-fitness-center.entry.483d357c.js} +1 -1
- package/dist/{swirl-symbol-flag.entry.41db17f2.js → swirl-symbol-flag.entry.c74f4abf.js} +1 -1
- package/dist/{swirl-symbol-folder.entry.5ddb277b.js → swirl-symbol-folder.entry.94b40eba.js} +1 -1
- package/dist/{swirl-symbol-globe.entry.7d5b1a9a.js → swirl-symbol-globe.entry.9c7f12c8.js} +1 -1
- package/dist/{swirl-symbol-groups.entry.cda019dc.js → swirl-symbol-groups.entry.efd90aa8.js} +1 -1
- package/dist/{swirl-symbol-help.entry.588272ee.js → swirl-symbol-help.entry.f5db14b9.js} +1 -1
- package/dist/{swirl-symbol-image.entry.1b96724c.js → swirl-symbol-image.entry.612c97b0.js} +1 -1
- package/dist/{swirl-symbol-info-menu.entry.8cbfaef4.js → swirl-symbol-info-menu.entry.83d2354c.js} +1 -1
- package/dist/{swirl-symbol-instagram.entry.108061d0.js → swirl-symbol-instagram.entry.5787d07a.js} +1 -1
- package/dist/{swirl-symbol-ios.entry.eef1ae3a.js → swirl-symbol-ios.entry.2d0789b0.js} +1 -1
- package/dist/{swirl-symbol-language.entry.864fcf41.js → swirl-symbol-language.entry.0a654929.js} +1 -1
- package/dist/{swirl-symbol-leaderboard.entry.ea05bc9c.js → swirl-symbol-leaderboard.entry.2edce499.js} +1 -1
- package/dist/{swirl-symbol-lightbulb.entry.5acc8ae5.js → swirl-symbol-lightbulb.entry.06d94c8f.js} +1 -1
- package/dist/{swirl-symbol-linkedin.entry.3b6038a2.js → swirl-symbol-linkedin.entry.1ed38e10.js} +1 -1
- package/dist/{swirl-symbol-location-on.entry.3ebb57be.js → swirl-symbol-location-on.entry.85ff153c.js} +1 -1
- package/dist/{swirl-symbol-loyalty.entry.f10cd416.js → swirl-symbol-loyalty.entry.aebfa18e.js} +1 -1
- package/dist/{swirl-symbol-maps-home-work.entry.4401ea7d.js → swirl-symbol-maps-home-work.entry.f40f4cce.js} +1 -1
- package/dist/{swirl-symbol-notifications.entry.9fbfdfc5.js → swirl-symbol-notifications.entry.994e6717.js} +1 -1
- package/dist/{swirl-symbol-open-in-new.entry.c1c30135.js → swirl-symbol-open-in-new.entry.b0fee29b.js} +1 -1
- package/dist/{swirl-symbol-pedal-bike.entry.469139e6.js → swirl-symbol-pedal-bike.entry.d3d15a4c.js} +1 -1
- package/dist/{swirl-symbol-pinterest.entry.6bc3b685.js → swirl-symbol-pinterest.entry.3fb7b032.js} +1 -1
- package/dist/{swirl-symbol-policy.entry.d83b879a.js → swirl-symbol-policy.entry.9e7dac86.js} +1 -1
- package/dist/{swirl-symbol-push-pin.entry.505bc658.js → swirl-symbol-push-pin.entry.9da53751.js} +1 -1
- package/dist/{swirl-symbol-redeem.entry.7bd75326.js → swirl-symbol-redeem.entry.80189f89.js} +1 -1
- package/dist/{swirl-symbol-report-problem.entry.a291719f.js → swirl-symbol-report-problem.entry.07220fb4.js} +1 -1
- package/dist/{swirl-symbol-restaurant.entry.ec729914.js → swirl-symbol-restaurant.entry.c5a3f528.js} +1 -1
- package/dist/{swirl-symbol-roadmap.entry.106f812e.js → swirl-symbol-roadmap.entry.cfdc0f92.js} +1 -1
- package/dist/{swirl-symbol-room.entry.24065833.js → swirl-symbol-room.entry.95703667.js} +1 -1
- package/dist/{swirl-symbol-savings.entry.07c976a2.js → swirl-symbol-savings.entry.994fedf2.js} +1 -1
- package/dist/{swirl-symbol-settings-voice.entry.912210b1.js → swirl-symbol-settings-voice.entry.2f2f896d.js} +1 -1
- package/dist/{swirl-symbol-shopping-cart.entry.73b066b9.js → swirl-symbol-shopping-cart.entry.fcd21402.js} +1 -1
- package/dist/{swirl-symbol-smartphone.entry.fe69cd4a.js → swirl-symbol-smartphone.entry.7adab697.js} +1 -1
- package/dist/{swirl-symbol-star.entry.aa05b3c9.js → swirl-symbol-star.entry.1ed050a7.js} +1 -1
- package/dist/{swirl-symbol-supervisor-account.entry.89495c2f.js → swirl-symbol-supervisor-account.entry.40c7c206.js} +1 -1
- package/dist/{swirl-symbol-thumbs-up-down.entry.7f0de874.js → swirl-symbol-thumbs-up-down.entry.88fdf585.js} +1 -1
- package/dist/{swirl-symbol-twitter.entry.48c5d87c.js → swirl-symbol-twitter.entry.6eb01aa1.js} +1 -1
- package/dist/{swirl-symbol-wb-sunny.entry.a7ceb3ab.js → swirl-symbol-wb-sunny.entry.3bf4848d.js} +1 -1
- package/dist/{swirl-symbol-wechat.entry.ac77823b.js → swirl-symbol-wechat.entry.aaf7d10a.js} +1 -1
- package/dist/{swirl-symbol-weibo.entry.450e23e5.js → swirl-symbol-weibo.entry.6cbe6f6e.js} +1 -1
- package/dist/{swirl-symbol-work.entry.424f611f.js → swirl-symbol-work.entry.d5a387c8.js} +1 -1
- package/dist/{swirl-symbol-xing.entry.6024b336.js → swirl-symbol-xing.entry.99e81a8d.js} +1 -1
- package/dist/{swirl-symbol-youtube.entry.58f5d41b.js → swirl-symbol-youtube.entry.2e8b1394.js} +1 -1
- package/dist/{swirl-symbol.entry.e1f15355.js → swirl-symbol.entry.bddc4f1b.js} +1 -1
- package/dist/{swirl-tab-bar.entry.430d96a7.js → swirl-tab-bar.entry.5478ef4e.js} +1 -1
- package/dist/{swirl-tab.entry.39dc195d.js → swirl-tab.entry.386deb50.js} +1 -1
- package/dist/{swirl-table-cell.entry.2f8b97f9.js → swirl-table-cell.entry.6e047535.js} +1 -1
- package/dist/{swirl-table-column.entry.81fd8b14.js → swirl-table-column.entry.2b8499b5.js} +1 -1
- package/dist/{swirl-table-row-group.entry.3918c996.js → swirl-table-row-group.entry.fa441556.js} +1 -1
- package/dist/{swirl-table-row.entry.e6ffc17d.js → swirl-table-row.entry.6a570c07.js} +1 -1
- package/dist/{swirl-table.entry.82eb6865.js → swirl-table.entry.18c28d0c.js} +1 -1
- package/dist/{swirl-tabs.entry.968584e6.js → swirl-tabs.entry.0a66b4dc.js} +1 -1
- package/dist/{swirl-text-input.entry.0874474b.js → swirl-text-input.entry.79b610e0.js} +1 -1
- package/dist/{swirl-text.entry.a5b54dc0.js → swirl-text.entry.128f5519.js} +1 -1
- package/dist/{swirl-theme-provider.entry.5997a45d.js → swirl-theme-provider.entry.7fb6fa8b.js} +1 -1
- package/dist/{swirl-time-input.entry.73864b64.js → swirl-time-input.entry.7bc95256.js} +1 -1
- package/dist/{swirl-toast-provider.entry.182ec53f.js → swirl-toast-provider.entry.c5c8ec56.js} +1 -1
- package/dist/{swirl-toast.entry.ec1a231c.js → swirl-toast.entry.c5f1fb59.js} +1 -1
- package/dist/swirl-toolbar.entry.e72d391f.js +56 -0
- package/dist/{swirl-tooltip.entry.01a0e8c9.js → swirl-tooltip.entry.7c8b1d64.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.bccb9b7b.js → swirl-tree-navigation-item.entry.b6bac114.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.c60e7c02.js → swirl-video-thumbnail.entry.f5351b99.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.e615419e.js → swirl-visually-hidden.entry.870c22da.js} +1 -1
- package/dist/{wc-datepicker.entry.d2d75038.js → wc-datepicker.entry.18eb6700.js} +1 -1
- package/package.json +2 -2
- package/dist/swirl-card.entry.463a2efa.js +0 -36
- package/dist/swirl-chip.entry.5cf492e3.js +0 -41
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ie, c as
|
|
1
|
+
import { r as ie, c as k, h as c, H as ne, g as se } from "./index.967b6b95.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";
|
|
@@ -7,214 +7,214 @@ import "react-dom";
|
|
|
7
7
|
* tabbable 6.0.1
|
|
8
8
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
9
9
|
*/
|
|
10
|
-
var Z = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slot)", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])', "details>summary:first-of-type", "details"], A = /* @__PURE__ */ Z.join(","), X = typeof Element > "u",
|
|
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
11
|
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, R = !X && Element.prototype.getRootNode ? function(i) {
|
|
12
12
|
return i.getRootNode();
|
|
13
13
|
} : function(i) {
|
|
14
14
|
return i.ownerDocument;
|
|
15
|
-
}, J = function(e,
|
|
15
|
+
}, J = function(e, a, t) {
|
|
16
16
|
var s = Array.prototype.slice.apply(e.querySelectorAll(A));
|
|
17
|
-
return
|
|
18
|
-
}, Q = function i(e,
|
|
17
|
+
return a && x.call(e, A) && s.unshift(e), s = s.filter(t), s;
|
|
18
|
+
}, Q = function i(e, a, t) {
|
|
19
19
|
for (var s = [], l = Array.from(e); l.length; ) {
|
|
20
20
|
var r = l.shift();
|
|
21
21
|
if (r.tagName === "SLOT") {
|
|
22
|
-
var
|
|
23
|
-
|
|
22
|
+
var u = r.assignedElements(), f = u.length ? u : r.children, v = i(f, !0, t);
|
|
23
|
+
t.flatten ? s.push.apply(s, v) : s.push({
|
|
24
24
|
scopeParent: r,
|
|
25
25
|
candidates: v
|
|
26
26
|
});
|
|
27
27
|
} else {
|
|
28
|
-
var
|
|
29
|
-
|
|
30
|
-
var
|
|
31
|
-
if (
|
|
32
|
-
var
|
|
33
|
-
|
|
28
|
+
var S = x.call(r, A);
|
|
29
|
+
S && t.filter(r) && (a || !e.includes(r)) && s.push(r);
|
|
30
|
+
var y = r.shadowRoot || typeof t.getShadowRoot == "function" && t.getShadowRoot(r), C = !t.shadowRootFilter || t.shadowRootFilter(r);
|
|
31
|
+
if (y && C) {
|
|
32
|
+
var w = i(y === !0 ? r.children : y.children, !0, t);
|
|
33
|
+
t.flatten ? s.push.apply(s, w) : s.push({
|
|
34
34
|
scopeParent: r,
|
|
35
|
-
candidates:
|
|
35
|
+
candidates: w
|
|
36
36
|
});
|
|
37
37
|
} else
|
|
38
38
|
l.unshift.apply(l, r.children);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
return s;
|
|
42
|
-
}, ee = function(e,
|
|
43
|
-
return e.tabIndex < 0 && (
|
|
44
|
-
}, ue = function(e,
|
|
45
|
-
return e.tabIndex ===
|
|
46
|
-
},
|
|
42
|
+
}, ee = function(e, a) {
|
|
43
|
+
return e.tabIndex < 0 && (a || /^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || e.isContentEditable) && isNaN(parseInt(e.getAttribute("tabindex"), 10)) ? 0 : e.tabIndex;
|
|
44
|
+
}, ue = function(e, a) {
|
|
45
|
+
return e.tabIndex === a.tabIndex ? e.documentOrder - a.documentOrder : e.tabIndex - a.tabIndex;
|
|
46
|
+
}, ae = function(e) {
|
|
47
47
|
return e.tagName === "INPUT";
|
|
48
48
|
}, fe = function(e) {
|
|
49
|
-
return
|
|
49
|
+
return ae(e) && e.type === "hidden";
|
|
50
50
|
}, he = function(e) {
|
|
51
|
-
var
|
|
52
|
-
return
|
|
51
|
+
var a = e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(t) {
|
|
52
|
+
return t.tagName === "SUMMARY";
|
|
53
53
|
});
|
|
54
|
-
return
|
|
55
|
-
},
|
|
56
|
-
for (var
|
|
57
|
-
if (e[
|
|
58
|
-
return e[
|
|
59
|
-
},
|
|
54
|
+
return a;
|
|
55
|
+
}, me = function(e, a) {
|
|
56
|
+
for (var t = 0; t < e.length; t++)
|
|
57
|
+
if (e[t].checked && e[t].form === a)
|
|
58
|
+
return e[t];
|
|
59
|
+
}, be = function(e) {
|
|
60
60
|
if (!e.name)
|
|
61
61
|
return !0;
|
|
62
|
-
var
|
|
63
|
-
return
|
|
62
|
+
var a = e.form || R(e), t = function(u) {
|
|
63
|
+
return a.querySelectorAll('input[type="radio"][name="' + u + '"]');
|
|
64
64
|
}, s;
|
|
65
65
|
if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
|
|
66
|
-
s =
|
|
66
|
+
s = t(window.CSS.escape(e.name));
|
|
67
67
|
else
|
|
68
68
|
try {
|
|
69
|
-
s =
|
|
69
|
+
s = t(e.name);
|
|
70
70
|
} catch (r) {
|
|
71
71
|
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", r.message), !1;
|
|
72
72
|
}
|
|
73
|
-
var l =
|
|
73
|
+
var l = me(s, e.form);
|
|
74
74
|
return !l || l === e;
|
|
75
75
|
}, ve = function(e) {
|
|
76
|
-
return
|
|
76
|
+
return ae(e) && e.type === "radio";
|
|
77
77
|
}, pe = function(e) {
|
|
78
|
-
return ve(e) && !
|
|
78
|
+
return ve(e) && !be(e);
|
|
79
79
|
}, ge = function(e) {
|
|
80
|
-
for (var
|
|
80
|
+
for (var a, t = R(e).host, s = !!((a = t) !== null && a !== void 0 && a.ownerDocument.contains(t) || e.ownerDocument.contains(e)); !s && t; ) {
|
|
81
81
|
var l;
|
|
82
|
-
|
|
82
|
+
t = R(t).host, s = !!((l = t) !== null && l !== void 0 && l.ownerDocument.contains(t));
|
|
83
83
|
}
|
|
84
84
|
return s;
|
|
85
85
|
}, z = function(e) {
|
|
86
|
-
var
|
|
87
|
-
return
|
|
88
|
-
},
|
|
89
|
-
var
|
|
86
|
+
var a = e.getBoundingClientRect(), t = a.width, s = a.height;
|
|
87
|
+
return t === 0 && s === 0;
|
|
88
|
+
}, ye = function(e, a) {
|
|
89
|
+
var t = a.displayCheck, s = a.getShadowRoot;
|
|
90
90
|
if (getComputedStyle(e).visibility === "hidden")
|
|
91
91
|
return !0;
|
|
92
|
-
var l =
|
|
93
|
-
if (
|
|
92
|
+
var l = x.call(e, "details>summary:first-of-type"), r = l ? e.parentElement : e;
|
|
93
|
+
if (x.call(r, "details:not([open]) *"))
|
|
94
94
|
return !0;
|
|
95
|
-
if (!
|
|
95
|
+
if (!t || t === "full" || t === "legacy-full") {
|
|
96
96
|
if (typeof s == "function") {
|
|
97
|
-
for (var
|
|
98
|
-
var
|
|
99
|
-
if (
|
|
97
|
+
for (var u = e; e; ) {
|
|
98
|
+
var f = e.parentElement, v = R(e);
|
|
99
|
+
if (f && !f.shadowRoot && s(f) === !0)
|
|
100
100
|
return z(e);
|
|
101
|
-
e.assignedSlot ? e = e.assignedSlot : !
|
|
101
|
+
e.assignedSlot ? e = e.assignedSlot : !f && v !== e.ownerDocument ? e = v.host : e = f;
|
|
102
102
|
}
|
|
103
|
-
e =
|
|
103
|
+
e = u;
|
|
104
104
|
}
|
|
105
105
|
if (ge(e))
|
|
106
106
|
return !e.getClientRects().length;
|
|
107
|
-
if (
|
|
107
|
+
if (t !== "legacy-full")
|
|
108
108
|
return !0;
|
|
109
|
-
} else if (
|
|
109
|
+
} else if (t === "non-zero-area")
|
|
110
110
|
return z(e);
|
|
111
111
|
return !1;
|
|
112
|
-
},
|
|
112
|
+
}, we = function(e) {
|
|
113
113
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
|
|
114
|
-
for (var
|
|
115
|
-
if (
|
|
116
|
-
for (var
|
|
117
|
-
var s =
|
|
114
|
+
for (var a = e.parentElement; a; ) {
|
|
115
|
+
if (a.tagName === "FIELDSET" && a.disabled) {
|
|
116
|
+
for (var t = 0; t < a.children.length; t++) {
|
|
117
|
+
var s = a.children.item(t);
|
|
118
118
|
if (s.tagName === "LEGEND")
|
|
119
|
-
return
|
|
119
|
+
return x.call(a, "fieldset[disabled] *") ? !0 : !s.contains(e);
|
|
120
120
|
}
|
|
121
121
|
return !0;
|
|
122
122
|
}
|
|
123
|
-
|
|
123
|
+
a = a.parentElement;
|
|
124
124
|
}
|
|
125
125
|
return !1;
|
|
126
|
-
}, O = function(e,
|
|
127
|
-
return !(
|
|
128
|
-
}, P = function(e,
|
|
129
|
-
return !(pe(
|
|
126
|
+
}, O = function(e, a) {
|
|
127
|
+
return !(a.disabled || fe(a) || ye(a, e) || he(a) || we(a));
|
|
128
|
+
}, P = function(e, a) {
|
|
129
|
+
return !(pe(a) || ee(a) < 0 || !O(e, a));
|
|
130
130
|
}, _e = function(e) {
|
|
131
|
-
var
|
|
132
|
-
return !!(isNaN(
|
|
133
|
-
},
|
|
134
|
-
var
|
|
131
|
+
var a = parseInt(e.getAttribute("tabindex"), 10);
|
|
132
|
+
return !!(isNaN(a) || a >= 0);
|
|
133
|
+
}, Se = function i(e) {
|
|
134
|
+
var a = [], t = [];
|
|
135
135
|
return e.forEach(function(s, l) {
|
|
136
|
-
var r = !!s.scopeParent,
|
|
137
|
-
|
|
136
|
+
var r = !!s.scopeParent, u = r ? s.scopeParent : s, f = ee(u, r), v = r ? i(s.candidates) : u;
|
|
137
|
+
f === 0 ? r ? a.push.apply(a, v) : a.push(u) : t.push({
|
|
138
138
|
documentOrder: l,
|
|
139
|
-
tabIndex:
|
|
139
|
+
tabIndex: f,
|
|
140
140
|
item: s,
|
|
141
141
|
isScope: r,
|
|
142
142
|
content: v
|
|
143
143
|
});
|
|
144
|
-
}),
|
|
144
|
+
}), t.sort(ue).reduce(function(s, l) {
|
|
145
145
|
return l.isScope ? s.push.apply(s, l.content) : s.push(l.content), s;
|
|
146
|
-
}, []).concat(
|
|
147
|
-
},
|
|
148
|
-
|
|
149
|
-
var
|
|
150
|
-
return
|
|
151
|
-
filter: P.bind(null,
|
|
146
|
+
}, []).concat(a);
|
|
147
|
+
}, Ce = function(e, a) {
|
|
148
|
+
a = a || {};
|
|
149
|
+
var t;
|
|
150
|
+
return a.getShadowRoot ? t = Q([e], a.includeContainer, {
|
|
151
|
+
filter: P.bind(null, a),
|
|
152
152
|
flatten: !1,
|
|
153
|
-
getShadowRoot:
|
|
153
|
+
getShadowRoot: a.getShadowRoot,
|
|
154
154
|
shadowRootFilter: _e
|
|
155
|
-
}) :
|
|
156
|
-
},
|
|
157
|
-
|
|
158
|
-
var
|
|
159
|
-
return
|
|
160
|
-
filter: O.bind(null,
|
|
155
|
+
}) : t = J(e, a.includeContainer, P.bind(null, a)), Se(t);
|
|
156
|
+
}, xe = function(e, a) {
|
|
157
|
+
a = a || {};
|
|
158
|
+
var t;
|
|
159
|
+
return a.getShadowRoot ? t = Q([e], a.includeContainer, {
|
|
160
|
+
filter: O.bind(null, a),
|
|
161
161
|
flatten: !0,
|
|
162
|
-
getShadowRoot:
|
|
163
|
-
}) :
|
|
164
|
-
}, N = function(e,
|
|
165
|
-
if (
|
|
162
|
+
getShadowRoot: a.getShadowRoot
|
|
163
|
+
}) : t = J(e, a.includeContainer, O.bind(null, a)), t;
|
|
164
|
+
}, N = function(e, a) {
|
|
165
|
+
if (a = a || {}, !e)
|
|
166
166
|
throw new Error("No node provided");
|
|
167
|
-
return
|
|
168
|
-
},
|
|
169
|
-
if (
|
|
167
|
+
return x.call(e, A) === !1 ? !1 : P(a, e);
|
|
168
|
+
}, Te = /* @__PURE__ */ Z.concat("iframe").join(","), B = function(e, a) {
|
|
169
|
+
if (a = a || {}, !e)
|
|
170
170
|
throw new Error("No node provided");
|
|
171
|
-
return
|
|
171
|
+
return x.call(e, Te) === !1 ? !1 : O(a, e);
|
|
172
172
|
};
|
|
173
173
|
/*!
|
|
174
174
|
* focus-trap 7.1.0
|
|
175
175
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
176
176
|
*/
|
|
177
177
|
function U(i, e) {
|
|
178
|
-
var
|
|
178
|
+
var a = Object.keys(i);
|
|
179
179
|
if (Object.getOwnPropertySymbols) {
|
|
180
|
-
var
|
|
181
|
-
e && (
|
|
180
|
+
var t = Object.getOwnPropertySymbols(i);
|
|
181
|
+
e && (t = t.filter(function(s) {
|
|
182
182
|
return Object.getOwnPropertyDescriptor(i, s).enumerable;
|
|
183
|
-
})),
|
|
183
|
+
})), a.push.apply(a, t);
|
|
184
184
|
}
|
|
185
|
-
return
|
|
185
|
+
return a;
|
|
186
186
|
}
|
|
187
187
|
function W(i) {
|
|
188
188
|
for (var e = 1; e < arguments.length; e++) {
|
|
189
|
-
var
|
|
190
|
-
e % 2 ? U(Object(
|
|
191
|
-
|
|
192
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(
|
|
193
|
-
Object.defineProperty(i,
|
|
189
|
+
var a = arguments[e] != null ? arguments[e] : {};
|
|
190
|
+
e % 2 ? U(Object(a), !0).forEach(function(t) {
|
|
191
|
+
ke(i, t, a[t]);
|
|
192
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(a)) : U(Object(a)).forEach(function(t) {
|
|
193
|
+
Object.defineProperty(i, t, Object.getOwnPropertyDescriptor(a, t));
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
196
|
return i;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function ke(i, e, a) {
|
|
199
199
|
return e in i ? Object.defineProperty(i, e, {
|
|
200
|
-
value:
|
|
200
|
+
value: a,
|
|
201
201
|
enumerable: !0,
|
|
202
202
|
configurable: !0,
|
|
203
203
|
writable: !0
|
|
204
|
-
}) : i[e] =
|
|
204
|
+
}) : i[e] = a, i;
|
|
205
205
|
}
|
|
206
206
|
var Fe = [], V = {
|
|
207
|
-
activateTrap: function(e,
|
|
207
|
+
activateTrap: function(e, a) {
|
|
208
208
|
if (e.length > 0) {
|
|
209
|
-
var
|
|
210
|
-
|
|
209
|
+
var t = e[e.length - 1];
|
|
210
|
+
t !== a && t.pause();
|
|
211
211
|
}
|
|
212
|
-
var s = e.indexOf(
|
|
213
|
-
s === -1 || e.splice(s, 1), e.push(
|
|
212
|
+
var s = e.indexOf(a);
|
|
213
|
+
s === -1 || e.splice(s, 1), e.push(a);
|
|
214
214
|
},
|
|
215
|
-
deactivateTrap: function(e,
|
|
216
|
-
var
|
|
217
|
-
|
|
215
|
+
deactivateTrap: function(e, a) {
|
|
216
|
+
var t = e.indexOf(a);
|
|
217
|
+
t !== -1 && e.splice(t, 1), e.length > 0 && e[e.length - 1].unpause();
|
|
218
218
|
}
|
|
219
219
|
}, Ee = function(e) {
|
|
220
220
|
return e.tagName && e.tagName.toLowerCase() === "input" && typeof e.select == "function";
|
|
@@ -224,23 +224,23 @@ var Fe = [], V = {
|
|
|
224
224
|
return e.key === "Tab" || e.keyCode === 9;
|
|
225
225
|
}, $ = function(e) {
|
|
226
226
|
return setTimeout(e, 0);
|
|
227
|
-
}, Y = function(e,
|
|
228
|
-
var
|
|
227
|
+
}, Y = function(e, a) {
|
|
228
|
+
var t = -1;
|
|
229
229
|
return e.every(function(s, l) {
|
|
230
|
-
return
|
|
231
|
-
}),
|
|
230
|
+
return a(s) ? (t = l, !1) : !0;
|
|
231
|
+
}), t;
|
|
232
232
|
}, F = function(e) {
|
|
233
|
-
for (var
|
|
234
|
-
|
|
235
|
-
return typeof e == "function" ? e.apply(void 0,
|
|
233
|
+
for (var a = arguments.length, t = new Array(a > 1 ? a - 1 : 0), s = 1; s < a; s++)
|
|
234
|
+
t[s - 1] = arguments[s];
|
|
235
|
+
return typeof e == "function" ? e.apply(void 0, t) : e;
|
|
236
236
|
}, D = function(e) {
|
|
237
237
|
return e.target.shadowRoot && typeof e.composedPath == "function" ? e.composedPath()[0] : e.target;
|
|
238
|
-
}, Ae = function(e,
|
|
239
|
-
var
|
|
238
|
+
}, Ae = function(e, a) {
|
|
239
|
+
var t = (a == null ? void 0 : a.document) || document, s = (a == null ? void 0 : a.trapStack) || Fe, l = W({
|
|
240
240
|
returnFocusOnDeactivate: !0,
|
|
241
241
|
escapeDeactivates: !0,
|
|
242
242
|
delayInitialFocus: !0
|
|
243
|
-
},
|
|
243
|
+
}, a), r = {
|
|
244
244
|
containers: [],
|
|
245
245
|
containerGroups: [],
|
|
246
246
|
tabbableGroups: [],
|
|
@@ -249,21 +249,21 @@ var Fe = [], V = {
|
|
|
249
249
|
active: !1,
|
|
250
250
|
paused: !1,
|
|
251
251
|
delayInitialFocusTimer: void 0
|
|
252
|
-
},
|
|
252
|
+
}, u, f = function(o, n, d) {
|
|
253
253
|
return o && o[n] !== void 0 ? o[n] : l[d || n];
|
|
254
254
|
}, v = function(o) {
|
|
255
255
|
return r.containerGroups.findIndex(function(n) {
|
|
256
|
-
var d = n.container,
|
|
257
|
-
return d.contains(o) ||
|
|
258
|
-
return
|
|
256
|
+
var d = n.container, b = n.tabbableNodes;
|
|
257
|
+
return d.contains(o) || b.find(function(h) {
|
|
258
|
+
return h === o;
|
|
259
259
|
});
|
|
260
260
|
});
|
|
261
|
-
},
|
|
261
|
+
}, S = function(o) {
|
|
262
262
|
var n = l[o];
|
|
263
263
|
if (typeof n == "function") {
|
|
264
|
-
for (var d = arguments.length,
|
|
265
|
-
|
|
266
|
-
n = n.apply(void 0,
|
|
264
|
+
for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0), h = 1; h < d; h++)
|
|
265
|
+
b[h - 1] = arguments[h];
|
|
266
|
+
n = n.apply(void 0, b);
|
|
267
267
|
}
|
|
268
268
|
if (n === !0 && (n = void 0), !n) {
|
|
269
269
|
if (n === void 0 || n === !1)
|
|
@@ -271,35 +271,35 @@ var Fe = [], V = {
|
|
|
271
271
|
throw new Error("`".concat(o, "` was specified but was not a node, or did not return a node"));
|
|
272
272
|
}
|
|
273
273
|
var p = n;
|
|
274
|
-
if (typeof n == "string" && (p =
|
|
274
|
+
if (typeof n == "string" && (p = t.querySelector(n), !p))
|
|
275
275
|
throw new Error("`".concat(o, "` as selector refers to no known node"));
|
|
276
276
|
return p;
|
|
277
|
-
},
|
|
278
|
-
var o =
|
|
277
|
+
}, y = function() {
|
|
278
|
+
var o = S("initialFocus");
|
|
279
279
|
if (o === !1)
|
|
280
280
|
return !1;
|
|
281
281
|
if (o === void 0)
|
|
282
|
-
if (v(
|
|
283
|
-
o =
|
|
282
|
+
if (v(t.activeElement) >= 0)
|
|
283
|
+
o = t.activeElement;
|
|
284
284
|
else {
|
|
285
285
|
var n = r.tabbableGroups[0], d = n && n.firstTabbableNode;
|
|
286
|
-
o = d ||
|
|
286
|
+
o = d || S("fallbackFocus");
|
|
287
287
|
}
|
|
288
288
|
if (!o)
|
|
289
289
|
throw new Error("Your focus-trap needs to have at least one focusable element");
|
|
290
290
|
return o;
|
|
291
|
-
},
|
|
291
|
+
}, C = function() {
|
|
292
292
|
if (r.containerGroups = r.containers.map(function(o) {
|
|
293
|
-
var n =
|
|
293
|
+
var n = Ce(o, l.tabbableOptions), d = xe(o, l.tabbableOptions);
|
|
294
294
|
return {
|
|
295
295
|
container: o,
|
|
296
296
|
tabbableNodes: n,
|
|
297
297
|
focusableNodes: d,
|
|
298
298
|
firstTabbableNode: n.length > 0 ? n[0] : null,
|
|
299
299
|
lastTabbableNode: n.length > 0 ? n[n.length - 1] : null,
|
|
300
|
-
nextTabbableNode: function(
|
|
300
|
+
nextTabbableNode: function(h) {
|
|
301
301
|
var p = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, g = d.findIndex(function(_) {
|
|
302
|
-
return _ ===
|
|
302
|
+
return _ === h;
|
|
303
303
|
});
|
|
304
304
|
if (!(g < 0))
|
|
305
305
|
return p ? d.slice(g + 1).find(function(_) {
|
|
@@ -311,12 +311,12 @@ var Fe = [], V = {
|
|
|
311
311
|
};
|
|
312
312
|
}), r.tabbableGroups = r.containerGroups.filter(function(o) {
|
|
313
313
|
return o.tabbableNodes.length > 0;
|
|
314
|
-
}), r.tabbableGroups.length <= 0 && !
|
|
314
|
+
}), r.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
|
-
},
|
|
317
|
-
if (o !== !1 && o !==
|
|
316
|
+
}, w = function m(o) {
|
|
317
|
+
if (o !== !1 && o !== t.activeElement) {
|
|
318
318
|
if (!o || !o.focus) {
|
|
319
|
-
|
|
319
|
+
m(y());
|
|
320
320
|
return;
|
|
321
321
|
}
|
|
322
322
|
o.focus({
|
|
@@ -324,59 +324,59 @@ var Fe = [], V = {
|
|
|
324
324
|
}), r.mostRecentlyFocusedNode = o, Ee(o) && o.select();
|
|
325
325
|
}
|
|
326
326
|
}, H = function(o) {
|
|
327
|
-
var n =
|
|
327
|
+
var n = S("setReturnFocus", o);
|
|
328
328
|
return n || (n === !1 ? !1 : o);
|
|
329
329
|
}, E = function(o) {
|
|
330
330
|
var n = D(o);
|
|
331
331
|
if (!(v(n) >= 0)) {
|
|
332
332
|
if (F(l.clickOutsideDeactivates, o)) {
|
|
333
|
-
|
|
333
|
+
u.deactivate({
|
|
334
334
|
returnFocus: l.returnFocusOnDeactivate && !B(n, l.tabbableOptions)
|
|
335
335
|
});
|
|
336
336
|
return;
|
|
337
337
|
}
|
|
338
338
|
F(l.allowOutsideClick, o) || o.preventDefault();
|
|
339
339
|
}
|
|
340
|
-
},
|
|
340
|
+
}, q = function(o) {
|
|
341
341
|
var n = D(o), d = v(n) >= 0;
|
|
342
|
-
d || n instanceof Document ? d && (r.mostRecentlyFocusedNode = n) : (o.stopImmediatePropagation(),
|
|
343
|
-
},
|
|
342
|
+
d || n instanceof Document ? d && (r.mostRecentlyFocusedNode = n) : (o.stopImmediatePropagation(), w(r.mostRecentlyFocusedNode || y()));
|
|
343
|
+
}, te = function(o) {
|
|
344
344
|
var n = D(o);
|
|
345
|
-
|
|
345
|
+
C();
|
|
346
346
|
var d = null;
|
|
347
347
|
if (r.tabbableGroups.length > 0) {
|
|
348
|
-
var
|
|
349
|
-
if (
|
|
348
|
+
var b = v(n), h = b >= 0 ? r.containerGroups[b] : void 0;
|
|
349
|
+
if (b < 0)
|
|
350
350
|
o.shiftKey ? d = r.tabbableGroups[r.tabbableGroups.length - 1].lastTabbableNode : d = r.tabbableGroups[0].firstTabbableNode;
|
|
351
351
|
else if (o.shiftKey) {
|
|
352
352
|
var p = Y(r.tabbableGroups, function(L) {
|
|
353
353
|
var I = L.firstTabbableNode;
|
|
354
354
|
return n === I;
|
|
355
355
|
});
|
|
356
|
-
if (p < 0 && (
|
|
356
|
+
if (p < 0 && (h.container === n || B(n, l.tabbableOptions) && !N(n, l.tabbableOptions) && !h.nextTabbableNode(n, !1)) && (p = b), p >= 0) {
|
|
357
357
|
var g = p === 0 ? r.tabbableGroups.length - 1 : p - 1, _ = r.tabbableGroups[g];
|
|
358
358
|
d = _.lastTabbableNode;
|
|
359
359
|
}
|
|
360
360
|
} else {
|
|
361
|
-
var
|
|
361
|
+
var T = Y(r.tabbableGroups, function(L) {
|
|
362
362
|
var I = L.lastTabbableNode;
|
|
363
363
|
return n === I;
|
|
364
364
|
});
|
|
365
|
-
if (
|
|
366
|
-
var re =
|
|
365
|
+
if (T < 0 && (h.container === n || B(n, l.tabbableOptions) && !N(n, l.tabbableOptions) && !h.nextTabbableNode(n)) && (T = b), T >= 0) {
|
|
366
|
+
var re = T === r.tabbableGroups.length - 1 ? 0 : T + 1, oe = r.tabbableGroups[re];
|
|
367
367
|
d = oe.firstTabbableNode;
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
} else
|
|
371
|
-
d =
|
|
372
|
-
d && (o.preventDefault(),
|
|
373
|
-
},
|
|
371
|
+
d = S("fallbackFocus");
|
|
372
|
+
d && (o.preventDefault(), w(d));
|
|
373
|
+
}, M = function(o) {
|
|
374
374
|
if (Ne(o) && F(l.escapeDeactivates, o) !== !1) {
|
|
375
|
-
o.preventDefault(),
|
|
375
|
+
o.preventDefault(), u.deactivate();
|
|
376
376
|
return;
|
|
377
377
|
}
|
|
378
378
|
if (De(o)) {
|
|
379
|
-
|
|
379
|
+
te(o);
|
|
380
380
|
return;
|
|
381
381
|
}
|
|
382
382
|
}, j = function(o) {
|
|
@@ -384,26 +384,26 @@ var Fe = [], V = {
|
|
|
384
384
|
v(n) >= 0 || F(l.clickOutsideDeactivates, o) || F(l.allowOutsideClick, o) || (o.preventDefault(), o.stopImmediatePropagation());
|
|
385
385
|
}, G = function() {
|
|
386
386
|
if (!!r.active)
|
|
387
|
-
return V.activateTrap(s,
|
|
388
|
-
y(
|
|
389
|
-
}) : y(
|
|
387
|
+
return V.activateTrap(s, u), r.delayInitialFocusTimer = l.delayInitialFocus ? $(function() {
|
|
388
|
+
w(y());
|
|
389
|
+
}) : w(y()), t.addEventListener("focusin", q, !0), t.addEventListener("mousedown", E, {
|
|
390
390
|
capture: !0,
|
|
391
391
|
passive: !1
|
|
392
|
-
}),
|
|
392
|
+
}), t.addEventListener("touchstart", E, {
|
|
393
393
|
capture: !0,
|
|
394
394
|
passive: !1
|
|
395
|
-
}),
|
|
395
|
+
}), t.addEventListener("click", j, {
|
|
396
396
|
capture: !0,
|
|
397
397
|
passive: !1
|
|
398
|
-
}),
|
|
398
|
+
}), t.addEventListener("keydown", M, {
|
|
399
399
|
capture: !0,
|
|
400
400
|
passive: !1
|
|
401
|
-
}),
|
|
401
|
+
}), u;
|
|
402
402
|
}, K = function() {
|
|
403
403
|
if (!!r.active)
|
|
404
|
-
return
|
|
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
|
-
return
|
|
406
|
+
return u = {
|
|
407
407
|
get active() {
|
|
408
408
|
return r.active;
|
|
409
409
|
},
|
|
@@ -413,12 +413,12 @@ var Fe = [], V = {
|
|
|
413
413
|
activate: function(o) {
|
|
414
414
|
if (r.active)
|
|
415
415
|
return this;
|
|
416
|
-
var n =
|
|
417
|
-
|
|
418
|
-
var
|
|
419
|
-
|
|
416
|
+
var n = f(o, "onActivate"), d = f(o, "onPostActivate"), b = f(o, "checkCanFocusTrap");
|
|
417
|
+
b || C(), r.active = !0, r.paused = !1, r.nodeFocusedBeforeActivation = t.activeElement, n && n();
|
|
418
|
+
var h = function() {
|
|
419
|
+
b && C(), G(), d && d();
|
|
420
420
|
};
|
|
421
|
-
return
|
|
421
|
+
return b ? (b(r.containers.concat()).then(h, h), this) : (h(), this);
|
|
422
422
|
},
|
|
423
423
|
deactivate: function(o) {
|
|
424
424
|
if (!r.active)
|
|
@@ -428,29 +428,29 @@ var Fe = [], V = {
|
|
|
428
428
|
onPostDeactivate: l.onPostDeactivate,
|
|
429
429
|
checkCanReturnFocus: l.checkCanReturnFocus
|
|
430
430
|
}, o);
|
|
431
|
-
clearTimeout(r.delayInitialFocusTimer), r.delayInitialFocusTimer = void 0, K(), r.active = !1, r.paused = !1, V.deactivateTrap(s,
|
|
432
|
-
var d =
|
|
431
|
+
clearTimeout(r.delayInitialFocusTimer), r.delayInitialFocusTimer = void 0, K(), r.active = !1, r.paused = !1, V.deactivateTrap(s, u);
|
|
432
|
+
var d = f(n, "onDeactivate"), b = f(n, "onPostDeactivate"), h = f(n, "checkCanReturnFocus"), p = f(n, "returnFocus", "returnFocusOnDeactivate");
|
|
433
433
|
d && d();
|
|
434
434
|
var g = function() {
|
|
435
435
|
$(function() {
|
|
436
|
-
p &&
|
|
436
|
+
p && w(H(r.nodeFocusedBeforeActivation)), b && b();
|
|
437
437
|
});
|
|
438
438
|
};
|
|
439
|
-
return p &&
|
|
439
|
+
return p && h ? (h(H(r.nodeFocusedBeforeActivation)).then(g, g), this) : (g(), this);
|
|
440
440
|
},
|
|
441
441
|
pause: function() {
|
|
442
442
|
return r.paused || !r.active ? this : (r.paused = !0, K(), this);
|
|
443
443
|
},
|
|
444
444
|
unpause: function() {
|
|
445
|
-
return !r.paused || !r.active ? this : (r.paused = !1,
|
|
445
|
+
return !r.paused || !r.active ? this : (r.paused = !1, C(), G(), this);
|
|
446
446
|
},
|
|
447
447
|
updateContainerElements: function(o) {
|
|
448
448
|
var n = [].concat(o).filter(Boolean);
|
|
449
449
|
return r.containers = n.map(function(d) {
|
|
450
|
-
return typeof d == "string" ?
|
|
451
|
-
}), r.active &&
|
|
450
|
+
return typeof d == "string" ? t.querySelector(d) : d;
|
|
451
|
+
}), r.active && C(), this;
|
|
452
452
|
}
|
|
453
|
-
},
|
|
453
|
+
}, u.updateContainerElements(e), u;
|
|
454
454
|
};
|
|
455
455
|
const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghost-button-background-default:var(--s-surface-overlay-default);--swirl-ghost-button-background-hovered:var(--s-surface-overlay-hovered);--swirl-ghost-button-background-pressed:var(--s-surface-overlay-pressed);--swirl-resource-list-item-background-default:var(
|
|
456
456
|
--s-surface-overlay-default
|
|
@@ -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-tools{display:block}@media (min-width: 768px){.modal--scrolled .modal__header{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;
|
|
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% - 20rem)}}.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:20rem;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
462
|
constructor(i) {
|
|
463
|
-
ie(this, i), this.modalClose =
|
|
463
|
+
ie(this, i), 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,10 +471,10 @@ 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, r,
|
|
475
|
-
const e = ((s = this.scrollContainer) == null ? void 0 : s.scrollTop) > 0,
|
|
476
|
-
e !== this.scrolled && (this.scrolled = e),
|
|
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.scrollable = !1, this.scrolled = !1, this.scrolledDown = !1;
|
|
474
|
+
var s, l, r, 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) + ((r = this.scrollContainer) == null ? void 0 : r.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
|
+
e !== this.scrolled && (this.scrolled = e), a !== this.scrolledDown && (this.scrolledDown = a), t !== this.scrollable && (this.scrollable = t);
|
|
477
|
+
}, this.closable = !0, this.closeButtonLabel = "Close modal", this.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
|
}
|
|
479
479
|
componentDidLoad() {
|
|
480
480
|
this.focusTrap = Ae(this.modalEl, {
|
|
@@ -483,7 +483,7 @@ const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-gho
|
|
|
483
483
|
getShadowRoot: (i) => i.shadowRoot
|
|
484
484
|
}
|
|
485
485
|
}), this.determineScrollStatus(), queueMicrotask(() => {
|
|
486
|
-
this.updateCustomFooterStatus(), this.updateCustomHeaderStatus(), this.updateHeaderToolsStatus();
|
|
486
|
+
this.updateCustomFooterStatus(), this.updateCustomHeaderStatus(), this.updateHeaderToolsStatus(), this.updateSecondaryContentStatus();
|
|
487
487
|
});
|
|
488
488
|
}
|
|
489
489
|
disconnectedCallback() {
|
|
@@ -514,6 +514,9 @@ const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-gho
|
|
|
514
514
|
updateHeaderToolsStatus() {
|
|
515
515
|
this.hasHeaderTools = Boolean(this.el.querySelector('[slot="header-tools"]'));
|
|
516
516
|
}
|
|
517
|
+
updateSecondaryContentStatus() {
|
|
518
|
+
this.hasSecondaryContent = Boolean(this.el.querySelector('[slot="secondary-content"]'));
|
|
519
|
+
}
|
|
517
520
|
handleAutoFocus() {
|
|
518
521
|
var i;
|
|
519
522
|
(i = this.modalEl.querySelector("input[autofocus]")) == null || i.focus();
|
|
@@ -530,13 +533,14 @@ const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-gho
|
|
|
530
533
|
"modal--has-custom-footer": this.hasCustomFooter,
|
|
531
534
|
"modal--has-custom-header": this.hasCustomHeader,
|
|
532
535
|
"modal--has-header-tools": this.hasHeaderTools,
|
|
536
|
+
"modal--has-secondary-content": this.hasSecondaryContent,
|
|
533
537
|
"modal--hide-label": this.hideLabel,
|
|
534
538
|
"modal--padded": this.padded,
|
|
535
539
|
"modal--scrollable": this.scrollable,
|
|
536
540
|
"modal--scrolled": this.scrolled,
|
|
537
541
|
"modal--scrolled-down": this.scrolledDown
|
|
538
542
|
});
|
|
539
|
-
return
|
|
543
|
+
return c(ne, null, c("section", { "aria-hidden": String(!this.isOpen), "aria-label": this.label, "aria-modal": "true", class: e, onKeyDown: this.onKeyDown, role: "dialog", ref: (a) => this.modalEl = a }, c("div", { class: "modal__backdrop", onClick: this.onBackdropClick }), c("div", { class: "modal__body", style: { 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" })), i && 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" }))))));
|
|
540
544
|
}
|
|
541
545
|
get el() {
|
|
542
546
|
return se(this);
|