@getflip/swirl-components-react 0.94.1 → 0.95.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.dfb3d1d8.js → file-manager.entry.56cd69d5.js} +1 -1
- package/dist/{index.f1ff1d56.js → index.e1aceb89.js} +272 -272
- package/dist/{swirl-action-list-section.entry.ed7df4bc.js → swirl-action-list-section.entry.3c00fd5f.js} +1 -1
- package/dist/{swirl-action-list_3.entry.9f0c68b2.js → swirl-action-list_3.entry.9fc26d62.js} +1 -1
- package/dist/{swirl-app-bar.entry.1a722cc9.js → swirl-app-bar.entry.dc9f4b25.js} +1 -1
- package/dist/{swirl-app-icon.entry.2b6e0a7f.js → swirl-app-icon.entry.c293df62.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.02a76e85.js → swirl-app-layout_7.entry.00f2d669.js} +1 -1
- package/dist/{swirl-autocomplete.entry.2498263a.js → swirl-autocomplete.entry.567cfe34.js} +1 -1
- package/dist/{swirl-avatar-group.entry.f5c3431b.js → swirl-avatar-group.entry.b11b1f30.js} +1 -1
- package/dist/{swirl-avatar.entry.5df91295.js → swirl-avatar.entry.bb0c1e4d.js} +1 -1
- package/dist/{swirl-badge.entry.0b827ca8.js → swirl-badge.entry.82be2f5a.js} +1 -1
- package/dist/{swirl-banner.entry.4f7bd2e4.js → swirl-banner.entry.e9f3d9fc.js} +1 -1
- package/dist/{swirl-button-group.entry.a3364262.js → swirl-button-group.entry.026d46fb.js} +1 -1
- package/dist/{swirl-button.entry.15c40755.js → swirl-button.entry.2b32f714.js} +1 -1
- package/dist/{swirl-card.entry.48c1508e.js → swirl-card.entry.0da047af.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.9f00a621.js → swirl-carousel-slide.entry.525be7ec.js} +1 -1
- package/dist/{swirl-carousel.entry.2da47776.js → swirl-carousel.entry.7feb2772.js} +1 -1
- package/dist/{swirl-checkbox.entry.4a3a7a39.js → swirl-checkbox.entry.4e9a9088.js} +1 -1
- package/dist/{swirl-chip.entry.4e0c429c.js → swirl-chip.entry.b73bc9e6.js} +1 -1
- package/dist/{swirl-columns.entry.6677c4b8.js → swirl-columns.entry.89a96ec9.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +6 -6
- package/dist/{swirl-console-layout.entry.04d6d032.js → swirl-console-layout.entry.71ceaca2.js} +1 -1
- package/dist/{swirl-date-input.entry.956760dc.js → swirl-date-input.entry.4f70115b.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.59eb469e.js → swirl-date-picker_2.entry.b1a2a4f7.js} +1 -1
- package/dist/{swirl-description-list-item.entry.36902bed.js → swirl-description-list-item.entry.9de4a8dd.js} +1 -1
- package/dist/{swirl-description-list.entry.d5c9bf77.js → swirl-description-list.entry.5a40130e.js} +1 -1
- package/dist/swirl-dialog.entry.b7debbb8.js +44 -0
- package/dist/{swirl-emoji-clap.entry.7a06f92a.js → swirl-emoji-clap.entry.550e6364.js} +1 -1
- package/dist/{swirl-emoji-happy.entry.860d6fc0.js → swirl-emoji-happy.entry.b2a61a4c.js} +1 -1
- package/dist/{swirl-emoji-idea.entry.72fd70c0.js → swirl-emoji-idea.entry.465511f4.js} +1 -1
- package/dist/{swirl-emoji-love.entry.83733e7a.js → swirl-emoji-love.entry.a361ae3d.js} +1 -1
- package/dist/{swirl-emoji-sad.entry.90a683e8.js → swirl-emoji-sad.entry.1ec887d3.js} +1 -1
- package/dist/{swirl-emoji-thumbs-up.entry.4513315c.js → swirl-emoji-thumbs-up.entry.f11565fb.js} +1 -1
- package/dist/{swirl-emoji.entry.f9573cf7.js → swirl-emoji.entry.48a383db.js} +1 -1
- package/dist/{swirl-file-uploader.entry.52162840.js → swirl-file-uploader.entry.a7db9366.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.2ca79ed8.js → swirl-file-viewer_7.entry.9e9b2de0.js} +1 -1
- package/dist/{swirl-form-control.entry.d5ac2104.js → swirl-form-control.entry.8396f654.js} +1 -1
- package/dist/{swirl-form-group.entry.53f9073e.js → swirl-form-group.entry.50002987.js} +1 -1
- package/dist/{swirl-heading.entry.20f3d64a.js → swirl-heading.entry.9e3fc8e8.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.5ae4f3c9.js → swirl-icon-add-photo.entry.04181af2.js} +1 -1
- package/dist/{swirl-icon-add-reaction.entry.715f13d3.js → swirl-icon-add-reaction.entry.66a3c036.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.a007f23d.js → swirl-icon-add_6.entry.ff6ba172.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.7e1a2b79.js → swirl-icon-admin-panel-settings.entry.d7d1103f.js} +1 -1
- package/dist/{swirl-icon-ai.entry.cf9fb915.js → swirl-icon-ai.entry.404eead7.js} +1 -1
- package/dist/{swirl-icon-apps.entry.eae9946c.js → swirl-icon-apps.entry.097784d5.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.810758ab.js → swirl-icon-arrow-back.entry.634af3ec.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.d3739ae0.js → swirl-icon-arrow-downward_2.entry.b19ebeca.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.fd7b940d.js → swirl-icon-arrow-forward.entry.4b2bc562.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.c236ff91.js → swirl-icon-arrow-left_4.entry.bbe487c5.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.b42b5595.js → swirl-icon-arrow-right-small.entry.0b944b61.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.3048c5f1.js → swirl-icon-attachment.entry.67969934.js} +1 -1
- package/dist/{swirl-icon-bar-chart.entry.9e471fbb.js → swirl-icon-bar-chart.entry.17ad61b5.js} +1 -1
- package/dist/{swirl-icon-block.entry.581284d2.js → swirl-icon-block.entry.d682ca6d.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.5750ad7b.js → swirl-icon-bookmark.entry.64d4fd23.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.dae6dc83.js → swirl-icon-cancel_4.entry.57261208.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.5aa786b7.js → swirl-icon-chat-bubble.entry.e3547ddb.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.30e71642.js → swirl-icon-chats-filled.entry.98ecd072.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.d960cb8b.js → swirl-icon-chats-outlined.entry.d4f825ac.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.c06821f3.js → swirl-icon-check-circle_3.entry.89edbcb6.js} +1 -1
- package/dist/{swirl-icon-check-small_3.entry.19b9667d.js → swirl-icon-check-small_3.entry.ae11135a.js} +1 -1
- package/dist/{swirl-icon-check-strong.entry.0f056245.js → swirl-icon-check-strong.entry.ada9ccb0.js} +1 -1
- package/dist/{swirl-icon-check.entry.39ca2310.js → swirl-icon-check.entry.5afa543e.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.488390b2.js → swirl-icon-chevron-left.entry.bed932d5.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.50775a76.js → swirl-icon-chevron-right.entry.2413a2c8.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.20281512.js → swirl-icon-close-small.entry.ded632c1.js} +1 -1
- package/dist/{swirl-icon-close.entry.8ddaf6d9.js → swirl-icon-close.entry.d0941a38.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.bc38f2ba.js → swirl-icon-cloud-upload.entry.b917c698.js} +1 -1
- package/dist/{swirl-icon-column.entry.fb712371.js → swirl-icon-column.entry.44babbf5.js} +1 -1
- package/dist/{swirl-icon-comment.entry.9b384f34.js → swirl-icon-comment.entry.769ff0d6.js} +1 -1
- package/dist/{swirl-icon-copy.entry.09497109.js → swirl-icon-copy.entry.66d137ee.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.a38bc15f.js → swirl-icon-date-range.entry.ba677e39.js} +1 -1
- package/dist/{swirl-icon-delete.entry.ce0779e0.js → swirl-icon-delete.entry.4ab21bc6.js} +1 -1
- package/dist/{swirl-icon-description.entry.4b385161.js → swirl-icon-description.entry.b09af8e7.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.cf332211.js → swirl-icon-double-arrow-left.entry.15f88826.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.98a80ba7.js → swirl-icon-double-arrow-right.entry.f5824f9b.js} +1 -1
- package/dist/{swirl-icon-download.entry.95f30851.js → swirl-icon-download.entry.8b38c73e.js} +1 -1
- package/dist/{swirl-icon-edit.entry.b899b173.js → swirl-icon-edit.entry.fc0711b4.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.bb00f4fd.js → swirl-icon-emoji-mood.entry.d968717d.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.06c8f366.js → swirl-icon-emoji-satisfied.entry.86cb527b.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.edc6c821.js → swirl-icon-error_3.entry.6d72eac4.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.303aa761.js → swirl-icon-expand-more.entry.8b349dc1.js} +1 -1
- package/dist/{swirl-icon-filter.entry.6914cacc.js → swirl-icon-filter.entry.06b0ebe5.js} +1 -1
- package/dist/{swirl-icon-folder.entry.b4ba461d.js → swirl-icon-folder.entry.56446911.js} +1 -1
- package/dist/{swirl-icon-format-h-one.entry.6b4bf4f9.js → swirl-icon-format-h-one.entry.f8581564.js} +1 -1
- package/dist/{swirl-icon-gif.entry.1447edb4.js → swirl-icon-gif.entry.dd28f2a8.js} +1 -1
- package/dist/{swirl-icon-group-add.entry.caff6798.js → swirl-icon-group-add.entry.16a306cc.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.efa4a950.js → swirl-icon-group-assign.entry.658a46f9.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.8b78a19f.js → swirl-icon-groups-custom.entry.ad5ad611.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.3ded9b9e.js → swirl-icon-groups-filled.entry.77449f5a.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.1087b0bc.js → swirl-icon-groups-outlined.entry.c08b1067.js} +1 -1
- package/dist/{swirl-icon-groups.entry.063c05d9.js → swirl-icon-groups.entry.83def685.js} +1 -1
- package/dist/{swirl-icon-help.entry.3966ce97.js → swirl-icon-help.entry.44b0a382.js} +1 -1
- package/dist/{swirl-icon-highlight.entry.f83a6743.js → swirl-icon-highlight.entry.bab81974.js} +1 -1
- package/dist/{swirl-icon-home.entry.0d5ceca9.js → swirl-icon-home.entry.341cf646.js} +1 -1
- package/dist/{swirl-icon-image.entry.e8477c64.js → swirl-icon-image.entry.13b99a04.js} +1 -1
- package/dist/{swirl-icon-improve-text.entry.105cc7c1.js → swirl-icon-improve-text.entry.87ab14b8.js} +1 -1
- package/dist/{swirl-icon-insert-below.entry.7dd1fc6f.js → swirl-icon-insert-below.entry.78a68353.js} +1 -1
- package/dist/{swirl-icon-insert-on-top.entry.41f4605a.js → swirl-icon-insert-on-top.entry.05985930.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.7e36b323.js → swirl-icon-inventory.entry.547f7f28.js} +1 -1
- package/dist/{swirl-icon-like.entry.0c86ac4e.js → swirl-icon-like.entry.44c06b52.js} +1 -1
- package/dist/{swirl-icon-link.entry.8b1d37d2.js → swirl-icon-link.entry.80fc5497.js} +1 -1
- package/dist/{swirl-icon-lock-person.entry.8467812c.js → swirl-icon-lock-person.entry.ece4cbfe.js} +1 -1
- package/dist/{swirl-icon-lock.entry.a0085aea.js → swirl-icon-lock.entry.ad3f8ed4.js} +1 -1
- package/dist/{swirl-icon-logout.entry.2d3b303f.js → swirl-icon-logout.entry.12043ae4.js} +1 -1
- package/dist/{swirl-icon-long-text.entry.1ffe6c50.js → swirl-icon-long-text.entry.871f7076.js} +1 -1
- package/dist/{swirl-icon-mail.entry.f1a0453d.js → swirl-icon-mail.entry.e4de77fc.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.ddf1f97e.js → swirl-icon-manage-accounts.entry.be0e88c1.js} +1 -1
- package/dist/{swirl-icon-mark-chat-read.entry.18a92e5a.js → swirl-icon-mark-chat-read.entry.59bc2367.js} +1 -1
- package/dist/{swirl-icon-mark-chat-unread.entry.4afe1f24.js → swirl-icon-mark-chat-unread.entry.f03f6a37.js} +1 -1
- package/dist/{swirl-icon-mention.entry.7dd8a35f.js → swirl-icon-mention.entry.21d2044f.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.9ab9e476.js → swirl-icon-menu-filled.entry.ee2868ac.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.a061d7c0.js → swirl-icon-menu-outlined.entry.5a202bb2.js} +1 -1
- package/dist/{swirl-icon-menu.entry.55172902.js → swirl-icon-menu.entry.bbc1275b.js} +1 -1
- package/dist/{swirl-icon-message.entry.06457e16.js → swirl-icon-message.entry.01ad022d.js} +1 -1
- package/dist/{swirl-icon-mic.entry.56ea7950.js → swirl-icon-mic.entry.fc13575c.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.1d9850b2.js → swirl-icon-more-horizontal.entry.eacaa05c.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.81c0730d.js → swirl-icon-news-filled.entry.09387fdd.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.75540b77.js → swirl-icon-news-outlined.entry.e712addd.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.af7c01fb.js → swirl-icon-notifications-active.entry.d528ff9a.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.56777aa5.js → swirl-icon-notifications-off.entry.49c395e6.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.37841ef0.js → swirl-icon-notifications.entry.03f439c2.js} +1 -1
- package/dist/{swirl-icon-open-in-full.entry.ace16887.js → swirl-icon-open-in-full.entry.b6e87270.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.f474f226.js → swirl-icon-open-in-new.entry.85f02ca3.js} +1 -1
- package/dist/{swirl-icon-pause-circle.entry.632fa646.js → swirl-icon-pause-circle.entry.211e5540.js} +1 -1
- package/dist/{swirl-icon-pause.entry.9b0af405.js → swirl-icon-pause.entry.01a631f6.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.3752e88c.js → swirl-icon-people-alt.entry.8aed5b17.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.8fdda93f.js → swirl-icon-person-off.entry.b96cf7e3.js} +1 -1
- package/dist/{swirl-icon-person.entry.8e66992a.js → swirl-icon-person.entry.590467d0.js} +1 -1
- package/dist/{swirl-icon-phone.entry.a9ad8d12.js → swirl-icon-phone.entry.ce2aaf6e.js} +1 -1
- package/dist/{swirl-icon-play-arrow.entry.ca14a9ec.js → swirl-icon-play-arrow.entry.997d4aae.js} +1 -1
- package/dist/{swirl-icon-poll.entry.db9b2b2e.js → swirl-icon-poll.entry.b5c4965d.js} +1 -1
- package/dist/{swirl-icon-print.entry.72604e18.js → swirl-icon-print.entry.96f13b98.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.4d517660.js → swirl-icon-recieved.entry.dadfbf50.js} +1 -1
- package/dist/{swirl-icon-reply.entry.478322fd.js → swirl-icon-reply.entry.4d886247.js} +1 -1
- package/dist/{swirl-icon-report.entry.2cc1411b.js → swirl-icon-report.entry.f78f53c2.js} +1 -1
- package/dist/{swirl-icon-roadmap.entry.d4e8dc12.js → swirl-icon-roadmap.entry.bec3b164.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.afa00554.js → swirl-icon-search-strong.entry.407bb12a.js} +1 -1
- package/dist/{swirl-icon-search.entry.2ffc6eac.js → swirl-icon-search.entry.4d71c6c0.js} +1 -1
- package/dist/{swirl-icon-secure.entry.8d7843a0.js → swirl-icon-secure.entry.7183b27a.js} +1 -1
- package/dist/{swirl-icon-send.entry.6af02bbc.js → swirl-icon-send.entry.76abbbdf.js} +1 -1
- package/dist/{swirl-icon-settings.entry.08adc274.js → swirl-icon-settings.entry.424c6c4e.js} +1 -1
- package/dist/{swirl-icon-short-text.entry.1baf7220.js → swirl-icon-short-text.entry.809192d8.js} +1 -1
- package/dist/{swirl-icon-simplify.entry.0539644d.js → swirl-icon-simplify.entry.08d995fc.js} +1 -1
- package/dist/{swirl-icon-spellcheck.entry.6fbfb45a.js → swirl-icon-spellcheck.entry.d33af3f8.js} +1 -1
- package/dist/{swirl-icon-stop.entry.ab9e1e40.js → swirl-icon-stop.entry.70ee1cf0.js} +1 -1
- package/dist/{swirl-icon-sync.entry.8d436f62.js → swirl-icon-sync.entry.76e4b0ad.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.c56e6548.js → swirl-icon-tasks-filled.entry.e9fe2092.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.ac63e00e.js → swirl-icon-tasks-outlined.entry.bdd50330.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.1535cf72.js → swirl-icon-time-filled.entry.d1aff57b.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.39f28759.js → swirl-icon-time-outlined.entry.68ddef7f.js} +1 -1
- package/dist/{swirl-icon-translate.entry.efe07ba2.js → swirl-icon-translate.entry.fc4aeb68.js} +1 -1
- package/dist/{swirl-icon-tree-structure.entry.f8947609.js → swirl-icon-tree-structure.entry.22e3e46b.js} +1 -1
- package/dist/{swirl-icon-undo.entry.a0d54d83.js → swirl-icon-undo.entry.82a714f0.js} +1 -1
- package/dist/{swirl-icon-unlock-person.entry.8f028388.js → swirl-icon-unlock-person.entry.79eb4dc9.js} +1 -1
- package/dist/{swirl-icon-user-add.entry.8703ee99.js → swirl-icon-user-add.entry.14335bcd.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.92454ecc.js → swirl-icon-user-assign.entry.b66daf81.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.bb6a4c05.js → swirl-icon-video-camera.entry.73f0e6a4.js} +1 -1
- package/dist/{swirl-icon-video-library.entry.e3a3aee2.js → swirl-icon-video-library.entry.f18b75aa.js} +1 -1
- package/dist/{swirl-icon-voice.entry.a40368b2.js → swirl-icon-voice.entry.1d15bfd6.js} +1 -1
- package/dist/{swirl-icon.entry.9be49c15.js → swirl-icon.entry.92828091.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.aa68b4ed.js → swirl-image-grid-item.entry.0cb7f7ff.js} +1 -1
- package/dist/{swirl-image-grid.entry.650286b4.js → swirl-image-grid.entry.d18d5e4a.js} +1 -1
- package/dist/{swirl-inline-notification.entry.404f96b9.js → swirl-inline-notification.entry.58b5ae2a.js} +1 -1
- package/dist/{swirl-inline-status.entry.3b0c5c07.js → swirl-inline-status.entry.81808831.js} +1 -1
- package/dist/{swirl-lightbox.entry.eb4ef028.js → swirl-lightbox.entry.62345b79.js} +1 -1
- package/dist/{swirl-link.entry.0017befb.js → swirl-link.entry.4ebf4954.js} +1 -1
- package/dist/{swirl-list.entry.0c99d285.js → swirl-list.entry.32e98428.js} +1 -1
- package/dist/{swirl-menu-item.entry.49fd77cf.js → swirl-menu-item.entry.c8cb5411.js} +1 -1
- package/dist/{swirl-menu.entry.5397a675.js → swirl-menu.entry.2f9c5ec0.js} +1 -1
- package/dist/{swirl-modal.entry.2623c954.js → swirl-modal.entry.ddc5ed80.js} +96 -91
- package/dist/{swirl-option-list-section.entry.b06ac8d0.js → swirl-option-list-section.entry.4084e2da.js} +1 -1
- package/dist/{swirl-option-list_2.entry.7b82759f.js → swirl-option-list_2.entry.de916781.js} +1 -1
- package/dist/{swirl-pagination.entry.dc51323c.js → swirl-pagination.entry.235f586d.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.e8a78764.js → swirl-pdf-reader.entry.d3712c6a.js} +1 -1
- package/dist/{swirl-popover_2.entry.ed75fde5.js → swirl-popover_2.entry.600fd519.js} +1 -1
- package/dist/{swirl-progress-indicator.entry.629a7a05.js → swirl-progress-indicator.entry.706e18b7.js} +1 -1
- package/dist/{swirl-radio-group.entry.288650ec.js → swirl-radio-group.entry.35c8fb20.js} +1 -1
- package/dist/{swirl-radio.entry.f1925cd8.js → swirl-radio.entry.b3c4fb10.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.d3750eca.js → swirl-resource-list-file-item.entry.46dd5a20.js} +1 -1
- package/dist/{swirl-search.entry.15df6d4d.js → swirl-search.entry.182bb47a.js} +1 -1
- package/dist/{swirl-select.entry.617a077c.js → swirl-select.entry.376d2cff.js} +1 -1
- package/dist/{swirl-shell-layout.entry.d8322c0a.js → swirl-shell-layout.entry.fc1036e0.js} +1 -1
- package/dist/{swirl-shell-navigation-item.entry.4e05afc3.js → swirl-shell-navigation-item.entry.3d7688df.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.ed1b6708.js → swirl-skeleton-box.entry.6e5d8df1.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.3078c536.js → swirl-skeleton-text.entry.b46cd5e8.js} +1 -1
- package/dist/{swirl-stack.entry.47c9afdd.js → swirl-stack.entry.f62f543d.js} +1 -1
- package/dist/{swirl-status-indicator.entry.d7881a12.js → swirl-status-indicator.entry.20f8bb97.js} +1 -1
- package/dist/swirl-switch.entry.9400498e.js +55 -0
- package/dist/{swirl-symbol-account-circle.entry.cf06ecf3.js → swirl-symbol-account-circle.entry.54f56287.js} +1 -1
- package/dist/{swirl-symbol-alternate-email.entry.d59dcd13.js → swirl-symbol-alternate-email.entry.7e099acd.js} +1 -1
- package/dist/{swirl-symbol-android.entry.7aeb84dc.js → swirl-symbol-android.entry.fdb2ecec.js} +1 -1
- package/dist/{swirl-symbol-announcement.entry.04a394da.js → swirl-symbol-announcement.entry.cef12d52.js} +1 -1
- package/dist/{swirl-symbol-backup.entry.cdd5d3c4.js → swirl-symbol-backup.entry.14c8c226.js} +1 -1
- package/dist/{swirl-symbol-beach-access.entry.9cde5f07.js → swirl-symbol-beach-access.entry.87108fdf.js} +1 -1
- package/dist/{swirl-symbol-bookmark.entry.b94f709f.js → swirl-symbol-bookmark.entry.d521eb8f.js} +1 -1
- package/dist/{swirl-symbol-cloud.entry.368f934d.js → swirl-symbol-cloud.entry.d1874f9a.js} +1 -1
- package/dist/{swirl-symbol-coronavirus.entry.9a1def71.js → swirl-symbol-coronavirus.entry.58965abb.js} +1 -1
- package/dist/{swirl-symbol-desktop-windows.entry.689cd01c.js → swirl-symbol-desktop-windows.entry.7607b280.js} +1 -1
- package/dist/{swirl-symbol-directions-car-filled.entry.0aed29fd.js → swirl-symbol-directions-car-filled.entry.ed31a8d1.js} +1 -1
- package/dist/{swirl-symbol-edit-calendar.entry.5102a1df.js → swirl-symbol-edit-calendar.entry.57884f48.js} +1 -1
- package/dist/{swirl-symbol-email.entry.7afcac1e.js → swirl-symbol-email.entry.a3bbf3a4.js} +1 -1
- package/dist/{swirl-symbol-emoji-food-beverage.entry.d7fd928c.js → swirl-symbol-emoji-food-beverage.entry.d8023a70.js} +1 -1
- package/dist/{swirl-symbol-event-menu.entry.7a5d4ef4.js → swirl-symbol-event-menu.entry.4bfed648.js} +1 -1
- package/dist/{swirl-symbol-facebook.entry.b099116d.js → swirl-symbol-facebook.entry.47aac3c9.js} +1 -1
- package/dist/{swirl-symbol-favorite.entry.ea965ffd.js → swirl-symbol-favorite.entry.37f68c8e.js} +1 -1
- package/dist/{swirl-symbol-fitness-center.entry.b1542911.js → swirl-symbol-fitness-center.entry.6929bbdd.js} +1 -1
- package/dist/{swirl-symbol-flag.entry.1d27f20c.js → swirl-symbol-flag.entry.dc7e4d1f.js} +1 -1
- package/dist/{swirl-symbol-folder.entry.01326d73.js → swirl-symbol-folder.entry.61774d94.js} +1 -1
- package/dist/{swirl-symbol-globe.entry.cd464ec4.js → swirl-symbol-globe.entry.12f58b45.js} +1 -1
- package/dist/{swirl-symbol-groups.entry.212c1287.js → swirl-symbol-groups.entry.4c878411.js} +1 -1
- package/dist/{swirl-symbol-help.entry.9fd865c2.js → swirl-symbol-help.entry.bf32335e.js} +1 -1
- package/dist/{swirl-symbol-image.entry.d63c35fc.js → swirl-symbol-image.entry.13ccbffe.js} +1 -1
- package/dist/{swirl-symbol-info-menu.entry.e9adca4e.js → swirl-symbol-info-menu.entry.61d7c539.js} +1 -1
- package/dist/{swirl-symbol-instagram.entry.b0e2c3db.js → swirl-symbol-instagram.entry.01a9718e.js} +1 -1
- package/dist/{swirl-symbol-ios.entry.67a2b759.js → swirl-symbol-ios.entry.aaff7749.js} +1 -1
- package/dist/{swirl-symbol-language.entry.981e3029.js → swirl-symbol-language.entry.04c164ff.js} +1 -1
- package/dist/{swirl-symbol-leaderboard.entry.87eba98e.js → swirl-symbol-leaderboard.entry.c96b274f.js} +1 -1
- package/dist/{swirl-symbol-lightbulb.entry.5513c775.js → swirl-symbol-lightbulb.entry.7cfa4720.js} +1 -1
- package/dist/{swirl-symbol-linkedin.entry.93d379a5.js → swirl-symbol-linkedin.entry.926ab94c.js} +1 -1
- package/dist/{swirl-symbol-location-on.entry.59049d8e.js → swirl-symbol-location-on.entry.91326a47.js} +1 -1
- package/dist/{swirl-symbol-loyalty.entry.455acd03.js → swirl-symbol-loyalty.entry.afc822fe.js} +1 -1
- package/dist/{swirl-symbol-maps-home-work.entry.4efdd41d.js → swirl-symbol-maps-home-work.entry.eb125c6b.js} +1 -1
- package/dist/{swirl-symbol-notifications.entry.0f5b454f.js → swirl-symbol-notifications.entry.8820b9ce.js} +1 -1
- package/dist/{swirl-symbol-open-in-new.entry.6b8158f8.js → swirl-symbol-open-in-new.entry.7be2e374.js} +1 -1
- package/dist/{swirl-symbol-pedal-bike.entry.4f265390.js → swirl-symbol-pedal-bike.entry.61ac95dc.js} +1 -1
- package/dist/{swirl-symbol-pinterest.entry.a0f49d0d.js → swirl-symbol-pinterest.entry.479fcf98.js} +1 -1
- package/dist/{swirl-symbol-policy.entry.e10d5e4b.js → swirl-symbol-policy.entry.21fc8d90.js} +1 -1
- package/dist/{swirl-symbol-push-pin.entry.7def246f.js → swirl-symbol-push-pin.entry.9b59ee38.js} +1 -1
- package/dist/{swirl-symbol-redeem.entry.e3117403.js → swirl-symbol-redeem.entry.488e8844.js} +1 -1
- package/dist/{swirl-symbol-report-problem.entry.ab20bc57.js → swirl-symbol-report-problem.entry.6a96b6ec.js} +1 -1
- package/dist/{swirl-symbol-restaurant.entry.72fd7b6c.js → swirl-symbol-restaurant.entry.7d240f43.js} +1 -1
- package/dist/{swirl-symbol-roadmap.entry.06e1945a.js → swirl-symbol-roadmap.entry.5993d5b9.js} +1 -1
- package/dist/{swirl-symbol-room.entry.7cbd5b11.js → swirl-symbol-room.entry.5652cfa7.js} +1 -1
- package/dist/{swirl-symbol-savings.entry.d83621c8.js → swirl-symbol-savings.entry.1a286006.js} +1 -1
- package/dist/{swirl-symbol-settings-voice.entry.1d6e1cc5.js → swirl-symbol-settings-voice.entry.db205f76.js} +1 -1
- package/dist/{swirl-symbol-shopping-cart.entry.a95ecdf2.js → swirl-symbol-shopping-cart.entry.84ee00c9.js} +1 -1
- package/dist/{swirl-symbol-smartphone.entry.d5764b88.js → swirl-symbol-smartphone.entry.23f412ae.js} +1 -1
- package/dist/{swirl-symbol-star.entry.87604411.js → swirl-symbol-star.entry.98b3bb58.js} +1 -1
- package/dist/{swirl-symbol-supervisor-account.entry.d36a5d62.js → swirl-symbol-supervisor-account.entry.bf83ad83.js} +1 -1
- package/dist/{swirl-symbol-thumbs-up-down.entry.c5e57b2f.js → swirl-symbol-thumbs-up-down.entry.3718c25b.js} +1 -1
- package/dist/{swirl-symbol-twitter.entry.f2ff40fc.js → swirl-symbol-twitter.entry.d05cb9f7.js} +1 -1
- package/dist/{swirl-symbol-wb-sunny.entry.ecb31626.js → swirl-symbol-wb-sunny.entry.14ba6873.js} +1 -1
- package/dist/{swirl-symbol-wechat.entry.77d45098.js → swirl-symbol-wechat.entry.e97d9c61.js} +1 -1
- package/dist/{swirl-symbol-weibo.entry.e6bc9856.js → swirl-symbol-weibo.entry.3cfc1ac5.js} +1 -1
- package/dist/{swirl-symbol-work.entry.94fa1f93.js → swirl-symbol-work.entry.aefa0309.js} +1 -1
- package/dist/{swirl-symbol-xing.entry.b9cc693f.js → swirl-symbol-xing.entry.2bb1d212.js} +1 -1
- package/dist/{swirl-symbol-youtube.entry.fa602f02.js → swirl-symbol-youtube.entry.df7b1dc2.js} +1 -1
- package/dist/{swirl-symbol.entry.84eb8556.js → swirl-symbol.entry.f71f401c.js} +1 -1
- package/dist/{swirl-tab-bar.entry.725b444b.js → swirl-tab-bar.entry.f2944fed.js} +1 -1
- package/dist/{swirl-tab.entry.2b02323b.js → swirl-tab.entry.4757a632.js} +1 -1
- package/dist/{swirl-table-cell.entry.8012fc38.js → swirl-table-cell.entry.d7d7c29a.js} +1 -1
- package/dist/{swirl-table-column.entry.5de4c464.js → swirl-table-column.entry.8629c5ed.js} +1 -1
- package/dist/{swirl-table-row-group.entry.eec7aa0a.js → swirl-table-row-group.entry.972ff672.js} +1 -1
- package/dist/{swirl-table-row.entry.8c00db30.js → swirl-table-row.entry.c4831ae7.js} +1 -1
- package/dist/{swirl-table.entry.fc815225.js → swirl-table.entry.4e5722cc.js} +1 -1
- package/dist/{swirl-tabs.entry.1491dd78.js → swirl-tabs.entry.9084cd42.js} +1 -1
- package/dist/{swirl-text-input.entry.64f3ac14.js → swirl-text-input.entry.4acb4006.js} +1 -1
- package/dist/{swirl-text.entry.587b8dd1.js → swirl-text.entry.db54bdd3.js} +1 -1
- package/dist/{swirl-theme-provider.entry.e65cfdc3.js → swirl-theme-provider.entry.7072ce08.js} +1 -1
- package/dist/{swirl-time-input.entry.1aaa5034.js → swirl-time-input.entry.74fe3a02.js} +1 -1
- package/dist/{swirl-toast-provider.entry.95e11f8f.js → swirl-toast-provider.entry.4a17a251.js} +1 -1
- package/dist/{swirl-toast.entry.015b19f7.js → swirl-toast.entry.fd182db6.js} +1 -1
- package/dist/{swirl-toolbar.entry.7d5394d9.js → swirl-toolbar.entry.3048ba4b.js} +1 -1
- package/dist/{swirl-tooltip.entry.77f0ae7c.js → swirl-tooltip.entry.d3b1b452.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.f2756401.js → swirl-tree-navigation-item.entry.ba886a2b.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.a15012fe.js → swirl-video-thumbnail.entry.8ec5f72e.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.010742bc.js → swirl-visually-hidden.entry.b9cbc4a9.js} +1 -1
- package/dist/{wc-datepicker.entry.aa3afcfe.js → wc-datepicker.entry.7ed6ff22.js} +1 -1
- package/package.json +2 -2
- package/dist/swirl-dialog.entry.72f81cb5.js +0 -44
- package/dist/swirl-switch.entry.f2ea7795.js +0 -55
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as ie, c as k, h as c, H as ne, g as se } from "./index.e1aceb89.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,18 +8,18 @@ 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(i) {
|
|
12
|
+
return i.getRootNode();
|
|
13
|
+
} : function(i) {
|
|
14
|
+
return i.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 i(e, a, t) {
|
|
19
19
|
for (var s = [], l = Array.from(e); l.length; ) {
|
|
20
20
|
var o = l.shift();
|
|
21
21
|
if (o.tagName === "SLOT") {
|
|
22
|
-
var u = o.assignedElements(),
|
|
22
|
+
var u = o.assignedElements(), h = u.length ? u : o.children, v = i(h, !0, t);
|
|
23
23
|
t.flatten ? s.push.apply(s, v) : s.push({
|
|
24
24
|
scopeParent: o,
|
|
25
25
|
candidates: v
|
|
@@ -29,7 +29,7 @@ var Z = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slo
|
|
|
29
29
|
S && t.filter(o) && (a || !e.includes(o)) && s.push(o);
|
|
30
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 = i(y === !0 ? o.children : y.children, !0, t);
|
|
33
33
|
t.flatten ? s.push.apply(s, w) : s.push({
|
|
34
34
|
scopeParent: o,
|
|
35
35
|
candidates: w
|
|
@@ -45,9 +45,9 @@ var Z = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slo
|
|
|
45
45
|
return e.tabIndex === a.tabIndex ? e.documentOrder - a.documentOrder : e.tabIndex - a.tabIndex;
|
|
46
46
|
}, ae = function(e) {
|
|
47
47
|
return e.tagName === "INPUT";
|
|
48
|
-
}, fe = function(e) {
|
|
49
|
-
return ae(e) && e.type === "hidden";
|
|
50
48
|
}, he = function(e) {
|
|
49
|
+
return ae(e) && e.type === "hidden";
|
|
50
|
+
}, fe = function(e) {
|
|
51
51
|
var a = e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(t) {
|
|
52
52
|
return t.tagName === "SUMMARY";
|
|
53
53
|
});
|
|
@@ -95,10 +95,10 @@ var Z = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slo
|
|
|
95
95
|
if (!t || t === "full" || t === "legacy-full") {
|
|
96
96
|
if (typeof s == "function") {
|
|
97
97
|
for (var u = e; e; ) {
|
|
98
|
-
var
|
|
99
|
-
if (
|
|
98
|
+
var h = e.parentElement, v = R(e);
|
|
99
|
+
if (h && !h.shadowRoot && s(h) === !0)
|
|
100
100
|
return z(e);
|
|
101
|
-
e.assignedSlot ? e = e.assignedSlot : !
|
|
101
|
+
e.assignedSlot ? e = e.assignedSlot : !h && v !== e.ownerDocument ? e = v.host : e = h;
|
|
102
102
|
}
|
|
103
103
|
e = u;
|
|
104
104
|
}
|
|
@@ -124,19 +124,19 @@ var Z = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slo
|
|
|
124
124
|
}
|
|
125
125
|
return !1;
|
|
126
126
|
}, O = function(e, a) {
|
|
127
|
-
return !(a.disabled ||
|
|
127
|
+
return !(a.disabled || he(a) || ye(a, e) || fe(a) || we(a));
|
|
128
128
|
}, P = function(e, a) {
|
|
129
129
|
return !(pe(a) || ee(a) < 0 || !O(e, a));
|
|
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 i(e) {
|
|
134
134
|
var a = [], t = [];
|
|
135
135
|
return e.forEach(function(s, l) {
|
|
136
|
-
var o = !!s.scopeParent, u = o ? s.scopeParent : s,
|
|
137
|
-
|
|
136
|
+
var o = !!s.scopeParent, u = o ? s.scopeParent : s, h = ee(u, o), v = o ? i(s.candidates) : u;
|
|
137
|
+
h === 0 ? o ? a.push.apply(a, v) : a.push(u) : t.push({
|
|
138
138
|
documentOrder: l,
|
|
139
|
-
tabIndex:
|
|
139
|
+
tabIndex: h,
|
|
140
140
|
item: s,
|
|
141
141
|
isScope: o,
|
|
142
142
|
content: v
|
|
@@ -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(i, e) {
|
|
178
|
+
var a = Object.keys(i);
|
|
179
179
|
if (Object.getOwnPropertySymbols) {
|
|
180
|
-
var t = Object.getOwnPropertySymbols(
|
|
180
|
+
var t = Object.getOwnPropertySymbols(i);
|
|
181
181
|
e && (t = t.filter(function(s) {
|
|
182
|
-
return Object.getOwnPropertyDescriptor(
|
|
182
|
+
return Object.getOwnPropertyDescriptor(i, s).enumerable;
|
|
183
183
|
})), a.push.apply(a, t);
|
|
184
184
|
}
|
|
185
185
|
return a;
|
|
186
186
|
}
|
|
187
|
-
function W(
|
|
187
|
+
function W(i) {
|
|
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(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
|
-
return
|
|
196
|
+
return i;
|
|
197
197
|
}
|
|
198
|
-
function ke(
|
|
199
|
-
return e in
|
|
198
|
+
function ke(i, e, a) {
|
|
199
|
+
return e in i ? Object.defineProperty(i, e, {
|
|
200
200
|
value: a,
|
|
201
201
|
enumerable: !0,
|
|
202
202
|
configurable: !0,
|
|
203
203
|
writable: !0
|
|
204
|
-
}) :
|
|
204
|
+
}) : i[e] = a, i;
|
|
205
205
|
}
|
|
206
206
|
var Fe = [], V = {
|
|
207
207
|
activateTrap: function(e, a) {
|
|
@@ -249,29 +249,29 @@ var Fe = [], V = {
|
|
|
249
249
|
active: !1,
|
|
250
250
|
paused: !1,
|
|
251
251
|
delayInitialFocusTimer: void 0
|
|
252
|
-
}, u,
|
|
253
|
-
return r && r[
|
|
252
|
+
}, u, h = function(r, n, d) {
|
|
253
|
+
return r && r[n] !== void 0 ? r[n] : l[d || n];
|
|
254
254
|
}, v = function(r) {
|
|
255
|
-
return o.containerGroups.findIndex(function(
|
|
256
|
-
var d =
|
|
257
|
-
return d.contains(r) || b.find(function(
|
|
258
|
-
return
|
|
255
|
+
return o.containerGroups.findIndex(function(n) {
|
|
256
|
+
var d = n.container, b = n.tabbableNodes;
|
|
257
|
+
return d.contains(r) || b.find(function(f) {
|
|
258
|
+
return f === r;
|
|
259
259
|
});
|
|
260
260
|
});
|
|
261
261
|
}, S = function(r) {
|
|
262
|
-
var
|
|
263
|
-
if (typeof
|
|
264
|
-
for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0),
|
|
265
|
-
b[
|
|
266
|
-
|
|
262
|
+
var n = l[r];
|
|
263
|
+
if (typeof n == "function") {
|
|
264
|
+
for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0), f = 1; f < d; f++)
|
|
265
|
+
b[f - 1] = arguments[f];
|
|
266
|
+
n = n.apply(void 0, b);
|
|
267
267
|
}
|
|
268
|
-
if (
|
|
269
|
-
if (
|
|
270
|
-
return
|
|
268
|
+
if (n === !0 && (n = void 0), !n) {
|
|
269
|
+
if (n === void 0 || n === !1)
|
|
270
|
+
return n;
|
|
271
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
|
|
273
|
+
var p = n;
|
|
274
|
+
if (typeof n == "string" && (p = t.querySelector(n), !p))
|
|
275
275
|
throw new Error("`".concat(r, "` as selector refers to no known node"));
|
|
276
276
|
return p;
|
|
277
277
|
}, y = function() {
|
|
@@ -282,7 +282,7 @@ var Fe = [], V = {
|
|
|
282
282
|
if (v(t.activeElement) >= 0)
|
|
283
283
|
r = t.activeElement;
|
|
284
284
|
else {
|
|
285
|
-
var
|
|
285
|
+
var n = o.tabbableGroups[0], d = n && n.firstTabbableNode;
|
|
286
286
|
r = d || S("fallbackFocus");
|
|
287
287
|
}
|
|
288
288
|
if (!r)
|
|
@@ -290,16 +290,16 @@ var Fe = [], V = {
|
|
|
290
290
|
return r;
|
|
291
291
|
}, C = function() {
|
|
292
292
|
if (o.containerGroups = o.containers.map(function(r) {
|
|
293
|
-
var
|
|
293
|
+
var n = Ce(r, l.tabbableOptions), d = xe(r, l.tabbableOptions);
|
|
294
294
|
return {
|
|
295
295
|
container: r,
|
|
296
|
-
tabbableNodes:
|
|
296
|
+
tabbableNodes: n,
|
|
297
297
|
focusableNodes: d,
|
|
298
|
-
firstTabbableNode:
|
|
299
|
-
lastTabbableNode:
|
|
300
|
-
nextTabbableNode: function(
|
|
298
|
+
firstTabbableNode: n.length > 0 ? n[0] : null,
|
|
299
|
+
lastTabbableNode: n.length > 0 ? n[n.length - 1] : null,
|
|
300
|
+
nextTabbableNode: function(f) {
|
|
301
301
|
var p = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, g = d.findIndex(function(_) {
|
|
302
|
-
return _ ===
|
|
302
|
+
return _ === f;
|
|
303
303
|
});
|
|
304
304
|
if (!(g < 0))
|
|
305
305
|
return p ? d.slice(g + 1).find(function(_) {
|
|
@@ -324,45 +324,45 @@ var Fe = [], V = {
|
|
|
324
324
|
}), o.mostRecentlyFocusedNode = r, Ee(r) && r.select();
|
|
325
325
|
}
|
|
326
326
|
}, H = function(r) {
|
|
327
|
-
var
|
|
328
|
-
return
|
|
327
|
+
var n = S("setReturnFocus", r);
|
|
328
|
+
return n || (n === !1 ? !1 : r);
|
|
329
329
|
}, E = function(r) {
|
|
330
|
-
var
|
|
331
|
-
if (!(v(
|
|
330
|
+
var n = D(r);
|
|
331
|
+
if (!(v(n) >= 0)) {
|
|
332
332
|
if (F(l.clickOutsideDeactivates, r)) {
|
|
333
333
|
u.deactivate({
|
|
334
|
-
returnFocus: l.returnFocusOnDeactivate && !B(
|
|
334
|
+
returnFocus: l.returnFocusOnDeactivate && !B(n, l.tabbableOptions)
|
|
335
335
|
});
|
|
336
336
|
return;
|
|
337
337
|
}
|
|
338
338
|
F(l.allowOutsideClick, r) || r.preventDefault();
|
|
339
339
|
}
|
|
340
340
|
}, q = function(r) {
|
|
341
|
-
var
|
|
342
|
-
d ||
|
|
341
|
+
var n = D(r), d = v(n) >= 0;
|
|
342
|
+
d || n instanceof Document ? d && (o.mostRecentlyFocusedNode = n) : (r.stopImmediatePropagation(), w(o.mostRecentlyFocusedNode || y()));
|
|
343
343
|
}, te = function(r) {
|
|
344
|
-
var
|
|
344
|
+
var n = D(r);
|
|
345
345
|
C();
|
|
346
346
|
var d = null;
|
|
347
347
|
if (o.tabbableGroups.length > 0) {
|
|
348
|
-
var b = v(
|
|
348
|
+
var b = v(n), f = b >= 0 ? o.containerGroups[b] : void 0;
|
|
349
349
|
if (b < 0)
|
|
350
350
|
r.shiftKey ? d = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : d = o.tabbableGroups[0].firstTabbableNode;
|
|
351
351
|
else if (r.shiftKey) {
|
|
352
352
|
var p = Y(o.tabbableGroups, function(L) {
|
|
353
353
|
var I = L.firstTabbableNode;
|
|
354
|
-
return
|
|
354
|
+
return n === I;
|
|
355
355
|
});
|
|
356
|
-
if (p < 0 && (
|
|
356
|
+
if (p < 0 && (f.container === n || B(n, l.tabbableOptions) && !N(n, l.tabbableOptions) && !f.nextTabbableNode(n, !1)) && (p = b), p >= 0) {
|
|
357
357
|
var g = p === 0 ? o.tabbableGroups.length - 1 : p - 1, _ = o.tabbableGroups[g];
|
|
358
358
|
d = _.lastTabbableNode;
|
|
359
359
|
}
|
|
360
360
|
} else {
|
|
361
361
|
var T = Y(o.tabbableGroups, function(L) {
|
|
362
362
|
var I = L.lastTabbableNode;
|
|
363
|
-
return
|
|
363
|
+
return n === I;
|
|
364
364
|
});
|
|
365
|
-
if (T < 0 && (
|
|
365
|
+
if (T < 0 && (f.container === n || B(n, l.tabbableOptions) && !N(n, l.tabbableOptions) && !f.nextTabbableNode(n)) && (T = b), T >= 0) {
|
|
366
366
|
var oe = T === o.tabbableGroups.length - 1 ? 0 : T + 1, re = o.tabbableGroups[oe];
|
|
367
367
|
d = re.firstTabbableNode;
|
|
368
368
|
}
|
|
@@ -380,8 +380,8 @@ var Fe = [], V = {
|
|
|
380
380
|
return;
|
|
381
381
|
}
|
|
382
382
|
}, j = function(r) {
|
|
383
|
-
var
|
|
384
|
-
v(
|
|
383
|
+
var n = D(r);
|
|
384
|
+
v(n) >= 0 || F(l.clickOutsideDeactivates, r) || F(l.allowOutsideClick, r) || (r.preventDefault(), r.stopImmediatePropagation());
|
|
385
385
|
}, G = function() {
|
|
386
386
|
if (!!o.active)
|
|
387
387
|
return V.activateTrap(s, u), o.delayInitialFocusTimer = l.delayInitialFocus ? $(function() {
|
|
@@ -413,30 +413,30 @@ var Fe = [], V = {
|
|
|
413
413
|
activate: function(r) {
|
|
414
414
|
if (o.active)
|
|
415
415
|
return this;
|
|
416
|
-
var
|
|
417
|
-
b || C(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = t.activeElement,
|
|
418
|
-
var
|
|
416
|
+
var n = h(r, "onActivate"), d = h(r, "onPostActivate"), b = h(r, "checkCanFocusTrap");
|
|
417
|
+
b || C(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = t.activeElement, n && n();
|
|
418
|
+
var f = function() {
|
|
419
419
|
b && C(), G(), d && d();
|
|
420
420
|
};
|
|
421
|
-
return b ? (b(o.containers.concat()).then(
|
|
421
|
+
return b ? (b(o.containers.concat()).then(f, f), this) : (f(), this);
|
|
422
422
|
},
|
|
423
423
|
deactivate: function(r) {
|
|
424
424
|
if (!o.active)
|
|
425
425
|
return this;
|
|
426
|
-
var
|
|
426
|
+
var n = W({
|
|
427
427
|
onDeactivate: l.onDeactivate,
|
|
428
428
|
onPostDeactivate: l.onPostDeactivate,
|
|
429
429
|
checkCanReturnFocus: l.checkCanReturnFocus
|
|
430
430
|
}, r);
|
|
431
431
|
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, K(), o.active = !1, o.paused = !1, V.deactivateTrap(s, u);
|
|
432
|
-
var d =
|
|
432
|
+
var d = h(n, "onDeactivate"), b = h(n, "onPostDeactivate"), f = h(n, "checkCanReturnFocus"), p = h(n, "returnFocus", "returnFocusOnDeactivate");
|
|
433
433
|
d && d();
|
|
434
434
|
var g = function() {
|
|
435
435
|
$(function() {
|
|
436
436
|
p && w(H(o.nodeFocusedBeforeActivation)), b && b();
|
|
437
437
|
});
|
|
438
438
|
};
|
|
439
|
-
return p &&
|
|
439
|
+
return p && f ? (f(H(o.nodeFocusedBeforeActivation)).then(g, g), this) : (g(), this);
|
|
440
440
|
},
|
|
441
441
|
pause: function() {
|
|
442
442
|
return o.paused || !o.active ? this : (o.paused = !0, K(), this);
|
|
@@ -445,8 +445,8 @@ var Fe = [], V = {
|
|
|
445
445
|
return !o.paused || !o.active ? this : (o.paused = !1, C(), G(), this);
|
|
446
446
|
},
|
|
447
447
|
updateContainerElements: function(r) {
|
|
448
|
-
var
|
|
449
|
-
return o.containers =
|
|
448
|
+
var n = [].concat(r).filter(Boolean);
|
|
449
|
+
return o.containers = n.map(function(d) {
|
|
450
450
|
return typeof d == "string" ? t.querySelector(d) : d;
|
|
451
451
|
}), o.active && C(), this;
|
|
452
452
|
}
|
|
@@ -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}.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:
|
|
462
|
-
constructor(
|
|
463
|
-
|
|
461
|
+
);--swirl-modal-height:auto;--swirl-modal-max-height:90vh;position:fixed;z-index:var(--s-z-40);display:flex;justify-content:center;align-items:center;inset:0}.modal[aria-hidden="true"]{display:none}.modal--variant-default.modal--closing{animation:0.15s modal-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.modal--variant-default.modal--closing{animation:none}}.modal--variant-default:not(.modal--closing) .modal__backdrop{animation:0.15s modal-backdrop-fade-in}@media (prefers-reduced-motion){.modal--variant-default:not(.modal--closing) .modal__backdrop{animation:none}}.modal--variant-default:not(.modal--closing) .modal__body{animation:0.15s modal-scale-in}@media (prefers-reduced-motion){.modal--variant-default:not(.modal--closing) .modal__body{animation:none}}.modal--variant-drawer{justify-content:end;align-items:stretch}.modal--variant-drawer.modal--closing{animation:0.15s modal-drawer-slide-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.modal--variant-drawer.modal--closing{animation:none}}@media (min-width: 768px){.modal--variant-drawer.modal--hide-label .modal__header-bar{height:auto;padding-top:var(--s-space-4);padding-bottom:var(--s-space-4)}}.modal--variant-drawer .modal__backdrop{background-color:transparent;animation:none}.modal--variant-drawer .modal__body{height:100%;max-height:none;border-radius:0;animation:0.15s modal-drawer-slide-in;box-shadow:var(--s-shadow-level-3)}@media (prefers-reduced-motion){.modal--variant-drawer .modal__body{animation:none}}.modal--variant-drawer .modal__header-bar{background-color:var(--s-surface-overlay-default)}.modal--variant-drawer .modal__header-bar .modal__close-button{margin-left:calc(-1 * var(--s-space-8))}@media (min-width: 768px){.modal--variant-drawer .modal__header-bar{flex-direction:row}}@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:var(--swirl-modal-max-height);border-radius:var(--s-border-radius-base);box-shadow:var(--s-shadow-level-3)}}@media (min-width: 992px){.modal__body{height:var(--swirl-modal-height)}}.modal__header{border-bottom:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 768px){.modal__header{border-bottom:var(--s-border-width-default) solid transparent}}.modal__header-bar{display:flex;height:3.5rem;padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:var(--s-space-16);flex-shrink:0;align-items:center;gap:var(--s-space-8)}@media (min-width: 768px){.modal__header-bar{height: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(i) {
|
|
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,23 +471,24 @@ 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, o, u,
|
|
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 = ((
|
|
474
|
+
var s, l, o, u, h, 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 = ((h = this.scrollContainer) == null ? void 0 : h.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
|
-
}, 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;
|
|
477
|
+
}, this.closable = !0, this.closeButtonLabel = "Close modal", this.height = void 0, this.hideCloseButton = void 0, this.hideLabel = void 0, this.label = void 0, this.maxHeight = void 0, this.maxWidth = void 0, this.padded = !0, this.primaryActionLabel = void 0, this.secondaryActionLabel = void 0, this.variant = "default", this.isOpen = !1, this.closing = !1, this.hasCustomHeader = void 0, this.hasCustomFooter = void 0, this.hasHeaderTools = void 0, this.hasSecondaryContent = void 0, this.scrollable = !1, this.scrolled = !1, this.scrolledDown = !1;
|
|
478
478
|
}
|
|
479
479
|
componentDidLoad() {
|
|
480
480
|
this.focusTrap = Ae(this.modalEl, {
|
|
481
481
|
allowOutsideClick: !0,
|
|
482
482
|
tabbableOptions: {
|
|
483
|
-
getShadowRoot: (
|
|
483
|
+
getShadowRoot: (i) => i.shadowRoot
|
|
484
484
|
}
|
|
485
485
|
}), this.determineScrollStatus(), queueMicrotask(() => {
|
|
486
486
|
this.updateCustomFooterStatus(), this.updateCustomHeaderStatus(), this.updateHeaderToolsStatus(), this.updateSecondaryContentStatus();
|
|
487
487
|
});
|
|
488
488
|
}
|
|
489
489
|
disconnectedCallback() {
|
|
490
|
-
|
|
490
|
+
var i;
|
|
491
|
+
(i = this.focusTrap) == null || i.deactivate(), this.unlockBodyScroll();
|
|
491
492
|
}
|
|
492
493
|
onWindowResize() {
|
|
493
494
|
this.determineScrollStatus();
|
|
@@ -500,8 +501,8 @@ const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-gho
|
|
|
500
501
|
async open() {
|
|
501
502
|
this.isOpen = !0, this.modalOpen.emit(), this.lockBodyScroll(), this.determineScrollStatus();
|
|
502
503
|
}
|
|
503
|
-
async close(
|
|
504
|
-
this.closing || (this.requestModalClose.emit(), !(!this.closable && !
|
|
504
|
+
async close(i) {
|
|
505
|
+
this.closing || (this.requestModalClose.emit(), !(!this.closable && !i) && (this.closing = !0, this.unlockBodyScroll(), setTimeout(() => {
|
|
505
506
|
this.isOpen = !1, this.modalClose.emit(), this.closing = !1;
|
|
506
507
|
}, 150)));
|
|
507
508
|
}
|
|
@@ -518,8 +519,8 @@ const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-gho
|
|
|
518
519
|
this.hasSecondaryContent = Boolean(this.el.querySelector('[slot="secondary-content"]'));
|
|
519
520
|
}
|
|
520
521
|
handleAutoFocus() {
|
|
521
|
-
var
|
|
522
|
-
(
|
|
522
|
+
var i;
|
|
523
|
+
(i = this.modalEl.querySelector("input[autofocus]")) == null || i.focus();
|
|
523
524
|
}
|
|
524
525
|
lockBodyScroll() {
|
|
525
526
|
le(this.scrollContainer);
|
|
@@ -528,7 +529,7 @@ const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-gho
|
|
|
528
529
|
de(this.scrollContainer);
|
|
529
530
|
}
|
|
530
531
|
render() {
|
|
531
|
-
const
|
|
532
|
+
const i = Boolean(this.primaryActionLabel) || Boolean(this.secondaryActionLabel), e = ce("modal", `modal--variant-${this.variant}`, {
|
|
532
533
|
"modal--closing": this.closing,
|
|
533
534
|
"modal--has-custom-footer": this.hasCustomFooter,
|
|
534
535
|
"modal--has-custom-header": this.hasCustomHeader,
|
|
@@ -540,7 +541,11 @@ const Re = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-gho
|
|
|
540
541
|
"modal--scrolled": this.scrolled,
|
|
541
542
|
"modal--scrolled-down": this.scrolledDown
|
|
542
543
|
});
|
|
543
|
-
return c(
|
|
544
|
+
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: {
|
|
545
|
+
"--swirl-modal-max-height": this.maxHeight,
|
|
546
|
+
"--swirl-modal-height": this.height,
|
|
547
|
+
maxWidth: this.maxWidth
|
|
548
|
+
} }, 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" }))))));
|
|
544
549
|
}
|
|
545
550
|
get el() {
|
|
546
551
|
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.e1aceb89.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.7b82759f.js → swirl-option-list_2.entry.de916781.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.e1aceb89.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.e1aceb89.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.e1aceb89.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.e1aceb89.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.e1aceb89.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.e1aceb89.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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as p, c as u, h as s, H as w, g as v } from "./index.
|
|
1
|
+
import { r as p, c as u, h as s, H as w, g as v } from "./index.e1aceb89.js";
|
|
2
2
|
import { c as m } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { q as f } from "./utils-bc84f36e.1fee9865.js";
|
|
4
4
|
import "react";
|