@getflip/swirl-components-react 0.315.1 → 0.317.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.0b98182f.js → file-manager.entry.65417d4c.js} +5 -5
- package/dist/{index.5e0cefe1.js → index.5395ee70.js} +397 -379
- package/dist/stencil-generated/index.d.ts +3 -0
- package/dist/{swirl-accordion-item.entry.cb1d51bf.js → swirl-accordion-item.entry.8e268452.js} +3 -3
- package/dist/{swirl-accordion.entry.89255616.js → swirl-accordion.entry.ee665239.js} +3 -3
- package/dist/{swirl-action-list-section.entry.b9020e2e.js → swirl-action-list-section.entry.79a9b451.js} +4 -4
- package/dist/{swirl-action-list_2.entry.239f786d.js → swirl-action-list_2.entry.0f3510c6.js} +2 -2
- package/dist/{swirl-app-bar.entry.418a1e18.js → swirl-app-bar.entry.2309861e.js} +1 -1
- package/dist/{swirl-app-icon.entry.d8b0ba5c.js → swirl-app-icon.entry.2f88e199.js} +5 -5
- package/dist/{swirl-app-layout_5.entry.347b6a67.js → swirl-app-layout_5.entry.004178e5.js} +5 -5
- package/dist/{swirl-autocomplete.entry.decc8c2e.js → swirl-autocomplete.entry.c065013f.js} +1 -1
- package/dist/{swirl-avatar-group.entry.81093ac7.js → swirl-avatar-group.entry.7de8f523.js} +5 -5
- package/dist/{swirl-avatar.entry.5331f998.js → swirl-avatar.entry.e99f31f9.js} +1 -1
- package/dist/{swirl-badge.entry.2a0e5b50.js → swirl-badge.entry.b5c89f62.js} +1 -1
- package/dist/{swirl-banner.entry.d7dbde72.js → swirl-banner.entry.f95d9e63.js} +1 -1
- package/dist/{swirl-box.entry.38a706c9.js → swirl-box.entry.cf832ea7.js} +1 -1
- package/dist/{swirl-button-group.entry.9014345a.js → swirl-button-group.entry.26e0ac97.js} +1 -1
- package/dist/{swirl-button.entry.af9d19df.js → swirl-button.entry.3e36fa86.js} +1 -1
- package/dist/{swirl-card.entry.c64d772e.js → swirl-card.entry.df7d2ea4.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.0e7819d7.js → swirl-carousel-slide.entry.6879525c.js} +7 -7
- package/dist/{swirl-carousel.entry.753dd6bb.js → swirl-carousel.entry.0a699370.js} +1 -1
- package/dist/{swirl-checkbox.entry.cc3c8d79.js → swirl-checkbox.entry.dbd2b53c.js} +1 -1
- package/dist/{swirl-chip.entry.2def8036.js → swirl-chip.entry.12312591.js} +1 -1
- package/dist/{swirl-color-input.entry.f4a27634.js → swirl-color-input.entry.6522e539.js} +116 -116
- package/dist/{swirl-columns.entry.a788bb83.js → swirl-columns.entry.0787e630.js} +1 -1
- package/dist/swirl-components-react.js +311 -308
- package/dist/swirl-components-react.umd.cjs +48 -48
- package/dist/{swirl-console-layout.entry.119af809.js → swirl-console-layout.entry.31ec8163.js} +2 -2
- package/dist/{swirl-date-input.entry.a7790fb2.js → swirl-date-input.entry.7fbc2dea.js} +8 -8
- package/dist/{swirl-date-picker_2.entry.97bbb76d.js → swirl-date-picker_2.entry.020105e7.js} +6 -6
- package/dist/{swirl-description-list-item.entry.55554c53.js → swirl-description-list-item.entry.59d12151.js} +2 -2
- package/dist/{swirl-description-list.entry.425c555b.js → swirl-description-list.entry.feb1b268.js} +2 -2
- package/dist/{swirl-dialog.entry.a1913d3c.js → swirl-dialog.entry.22a891d3.js} +1 -1
- package/dist/swirl-emoji-clap.entry.d13bfdfa.js +17 -0
- package/dist/swirl-emoji-happy.entry.4ca70a34.js +17 -0
- package/dist/{swirl-emoji-idea.entry.024f3c44.js → swirl-emoji-idea.entry.7c8e48fc.js} +2 -2
- package/dist/swirl-emoji-love.entry.47c74c2a.js +17 -0
- package/dist/swirl-emoji-sad.entry.c46fc832.js +17 -0
- package/dist/swirl-emoji-thumbs-up.entry.98cf2010.js +17 -0
- package/dist/swirl-emoji.entry.7fa0acbf.js +16 -0
- package/dist/{swirl-file-uploader.entry.aa42c988.js → swirl-file-uploader.entry.fa587a20.js} +3 -3
- package/dist/{swirl-file-viewer_8.entry.352c7d31.js → swirl-file-viewer_8.entry.37d9d2fe.js} +8 -8
- package/dist/{swirl-form-control.entry.674b6499.js → swirl-form-control.entry.73ded076.js} +1 -1
- package/dist/{swirl-form-group.entry.21f6d78a.js → swirl-form-group.entry.1fc35463.js} +1 -1
- package/dist/{swirl-heading.entry.3183b937.js → swirl-heading.entry.a9ffa3a3.js} +1 -1
- package/dist/{swirl-icon-add-moderator.entry.06d9e26f.js → swirl-icon-add-moderator.entry.1e551b9d.js} +7 -7
- package/dist/{swirl-icon-add-photo.entry.2243e469.js → swirl-icon-add-photo.entry.626218c0.js} +8 -8
- package/dist/{swirl-icon-add-reaction.entry.69fb5434.js → swirl-icon-add-reaction.entry.9b920c99.js} +5 -5
- package/dist/{swirl-icon-add_6.entry.5016098b.js → swirl-icon-add_6.entry.be2ce113.js} +27 -27
- package/dist/{swirl-icon-admin-panel-settings.entry.77268433.js → swirl-icon-admin-panel-settings.entry.b17ea20d.js} +9 -9
- package/dist/swirl-icon-ai-filled.entry.b1de6e92.js +19 -0
- package/dist/{swirl-icon-ai.entry.fa60d01a.js → swirl-icon-ai.entry.2a053db9.js} +10 -10
- package/dist/{swirl-icon-apps.entry.bb3a8385.js → swirl-icon-apps.entry.21d33be9.js} +5 -5
- package/dist/{swirl-icon-arrow-back_5.entry.af40347c.js → swirl-icon-arrow-back_5.entry.7df54831.js} +14 -14
- package/dist/{swirl-icon-arrow-downward_2.entry.bf5d7882.js → swirl-icon-arrow-downward_2.entry.f6fa2d18.js} +12 -12
- package/dist/{swirl-icon-arrow-left_4.entry.71fd4145.js → swirl-icon-arrow-left_4.entry.2eeeb2c5.js} +9 -9
- package/dist/swirl-icon-arrow-right-small.entry.bf7121f7.js +19 -0
- package/dist/{swirl-icon-aspect-ratio.entry.62fd8e16.js → swirl-icon-aspect-ratio.entry.00700d7b.js} +6 -6
- package/dist/{swirl-icon-attachment.entry.b89cd5d5.js → swirl-icon-attachment.entry.3dc3087d.js} +5 -5
- package/dist/{swirl-icon-bar-chart.entry.7563a0b7.js → swirl-icon-bar-chart.entry.c748a2fe.js} +5 -5
- package/dist/{swirl-icon-block.entry.a9d786bd.js → swirl-icon-block.entry.31683abc.js} +8 -8
- package/dist/{swirl-icon-bookmark-filled.entry.78411735.js → swirl-icon-bookmark-filled.entry.ff1c9eee.js} +6 -6
- package/dist/{swirl-icon-bookmark.entry.bf7369e1.js → swirl-icon-bookmark.entry.3d2765e6.js} +9 -9
- package/dist/swirl-icon-call-end.entry.b2c6a42e.js +19 -0
- package/dist/swirl-icon-call.entry.397c4e27.js +19 -0
- package/dist/{swirl-icon-cancel_4.entry.d3d49e15.js → swirl-icon-cancel_4.entry.a2ce5a4e.js} +26 -26
- package/dist/{swirl-icon-chat-bubble.entry.c4d2ffb3.js → swirl-icon-chat-bubble.entry.5ec0a86d.js} +8 -8
- package/dist/{swirl-icon-chats-filled.entry.f1d50485.js → swirl-icon-chats-filled.entry.e2181187.js} +5 -5
- package/dist/{swirl-icon-chats.entry.96127f35.js → swirl-icon-chats.entry.ba44a6ed.js} +9 -9
- package/dist/{swirl-icon-check-circle_2.entry.70914982.js → swirl-icon-check-circle_2.entry.29cd1464.js} +12 -12
- package/dist/{swirl-icon-check-small_2.entry.61e2cf0e.js → swirl-icon-check-small_2.entry.38c49d09.js} +3 -3
- package/dist/swirl-icon-check-strong_2.entry.a39721c6.js +32 -0
- package/dist/{swirl-icon-check.entry.d47d5920.js → swirl-icon-check.entry.facffd12.js} +4 -4
- package/dist/{swirl-icon-chevron-left.entry.d0cde536.js → swirl-icon-chevron-left.entry.732f605a.js} +6 -6
- package/dist/{swirl-icon-chevron-right.entry.4bb0f6ba.js → swirl-icon-chevron-right.entry.2ca77013.js} +6 -6
- package/dist/{swirl-icon-close-small.entry.ca4fb313.js → swirl-icon-close-small.entry.4cd73dd3.js} +7 -7
- package/dist/{swirl-icon-close.entry.03a7a8bb.js → swirl-icon-close.entry.45b8a1e9.js} +8 -8
- package/dist/{swirl-icon-cloud-upload.entry.b7187752.js → swirl-icon-cloud-upload.entry.f8bccaba.js} +2 -2
- package/dist/{swirl-icon-column.entry.687f0aa8.js → swirl-icon-column.entry.8f3bbe25.js} +7 -7
- package/dist/{swirl-icon-comment.entry.311648c8.js → swirl-icon-comment.entry.21fef79d.js} +8 -8
- package/dist/{swirl-icon-contrast.entry.758c258a.js → swirl-icon-contrast.entry.63e09295.js} +7 -7
- package/dist/{swirl-icon-copy.entry.a67a970e.js → swirl-icon-copy.entry.accba2d0.js} +9 -9
- package/dist/{swirl-icon-crop.entry.322e5413.js → swirl-icon-crop.entry.dde85e77.js} +6 -6
- package/dist/{swirl-icon-dark-mode.entry.37807107.js → swirl-icon-dark-mode.entry.6a326d98.js} +5 -5
- package/dist/{swirl-icon-date-range.entry.58359c4d.js → swirl-icon-date-range.entry.b8fde2e3.js} +4 -4
- package/dist/{swirl-icon-delete.entry.2772ddcf.js → swirl-icon-delete.entry.b9f85bc6.js} +4 -4
- package/dist/{swirl-icon-deployed-code.entry.4f5b5ea2.js → swirl-icon-deployed-code.entry.76aef45e.js} +5 -5
- package/dist/{swirl-icon-description.entry.d0684cb2.js → swirl-icon-description.entry.3c76291f.js} +7 -7
- package/dist/{swirl-icon-desktop.entry.3c266d13.js → swirl-icon-desktop.entry.3990bfd1.js} +8 -8
- package/dist/{swirl-icon-directory-filled.entry.2f3193f7.js → swirl-icon-directory-filled.entry.ebc65431.js} +7 -7
- package/dist/{swirl-icon-directory.entry.74c342b6.js → swirl-icon-directory.entry.b7fb1ab9.js} +9 -9
- package/dist/{swirl-icon-discover.entry.3757e8f9.js → swirl-icon-discover.entry.460c8933.js} +5 -5
- package/dist/{swirl-icon-dock-left.entry.005a57b2.js → swirl-icon-dock-left.entry.2d0c295f.js} +7 -7
- package/dist/{swirl-icon-door-open.entry.861eae82.js → swirl-icon-door-open.entry.65fc2588.js} +4 -4
- package/dist/swirl-icon-dot.entry.2f7cea94.js +19 -0
- package/dist/{swirl-icon-double-arrow-right.entry.0561ab80.js → swirl-icon-double-arrow-right.entry.12479781.js} +5 -5
- package/dist/{swirl-icon-download.entry.8b4e7249.js → swirl-icon-download.entry.3a1e72d7.js} +8 -8
- package/dist/{swirl-icon-edit.entry.cc3bc2f9.js → swirl-icon-edit.entry.b42d26df.js} +7 -7
- package/dist/{swirl-icon-emoji-mood.entry.4de29ecc.js → swirl-icon-emoji-mood.entry.c5274c3f.js} +7 -7
- package/dist/{swirl-icon-emoji-satisfied.entry.c546cf0b.js → swirl-icon-emoji-satisfied.entry.1028cbc1.js} +7 -7
- package/dist/{swirl-icon-error_3.entry.a43636cb.js → swirl-icon-error_3.entry.e10ad28f.js} +5 -5
- package/dist/{swirl-icon-expand-more.entry.bef01794.js → swirl-icon-expand-more.entry.5b5eaa47.js} +7 -7
- package/dist/{swirl-icon-experiment.entry.6915e6ac.js → swirl-icon-experiment.entry.4600e94e.js} +5 -5
- package/dist/{swirl-icon-file.entry.a003ac07.js → swirl-icon-file.entry.41817c59.js} +5 -5
- package/dist/{swirl-icon-filter.entry.722fffee.js → swirl-icon-filter.entry.46969d71.js} +10 -10
- package/dist/{swirl-icon-folder.entry.6a4d8dae.js → swirl-icon-folder.entry.c56b66d2.js} +6 -6
- package/dist/{swirl-icon-format-h-one.entry.98d6ac36.js → swirl-icon-format-h-one.entry.5f04e211.js} +4 -4
- package/dist/{swirl-icon-gif_3.entry.ffd4fb58.js → swirl-icon-gif_3.entry.9793a799.js} +20 -20
- package/dist/{swirl-icon-group-add.entry.c4d3addf.js → swirl-icon-group-add.entry.52540e5a.js} +6 -6
- package/dist/{swirl-icon-group-assign.entry.23ad46fb.js → swirl-icon-group-assign.entry.47d9f054.js} +7 -7
- package/dist/{swirl-icon-groups-filled.entry.5709090e.js → swirl-icon-groups-filled.entry.328b6031.js} +5 -5
- package/dist/{swirl-icon-groups.entry.0c39b02e.js → swirl-icon-groups.entry.7f6f3655.js} +10 -10
- package/dist/{swirl-icon-hamburger-menu.entry.2dafda2f.js → swirl-icon-hamburger-menu.entry.3cf9202b.js} +8 -8
- package/dist/{swirl-icon-help.entry.54bb99f2.js → swirl-icon-help.entry.e665fa77.js} +7 -7
- package/dist/{swirl-icon-highlight.entry.53a212c3.js → swirl-icon-highlight.entry.3100fa37.js} +4 -4
- package/dist/{swirl-icon-history.entry.8ddd5065.js → swirl-icon-history.entry.616c45b1.js} +9 -9
- package/dist/{swirl-icon-home.entry.35a60c53.js → swirl-icon-home.entry.52fe4fc4.js} +8 -8
- package/dist/{swirl-icon-image.entry.536bb76b.js → swirl-icon-image.entry.adab0b82.js} +5 -5
- package/dist/{swirl-icon-improve-text.entry.dc4b4bb5.js → swirl-icon-improve-text.entry.bc221c83.js} +8 -8
- package/dist/{swirl-icon-info.entry.18211cb9.js → swirl-icon-info.entry.83dc2299.js} +7 -7
- package/dist/{swirl-icon-insert-below.entry.81f98bd7.js → swirl-icon-insert-below.entry.33640d83.js} +7 -7
- package/dist/{swirl-icon-insert-on-top.entry.eae98823.js → swirl-icon-insert-on-top.entry.230c5f07.js} +5 -5
- package/dist/{swirl-icon-inventory-off.entry.a830bf7f.js → swirl-icon-inventory-off.entry.5cdb8a8f.js} +10 -10
- package/dist/{swirl-icon-inventory.entry.f0894b12.js → swirl-icon-inventory.entry.11a90cca.js} +5 -5
- package/dist/{swirl-icon-key.entry.cbd95d0b.js → swirl-icon-key.entry.9058633d.js} +7 -7
- package/dist/{swirl-icon-keyboard-hide.entry.0a80b535.js → swirl-icon-keyboard-hide.entry.4596ad82.js} +2 -2
- package/dist/{swirl-icon-keyboard.entry.aceae41e.js → swirl-icon-keyboard.entry.7dcaf40b.js} +8 -8
- package/dist/{swirl-icon-light-mode.entry.1cc7aa43.js → swirl-icon-light-mode.entry.aca25453.js} +7 -7
- package/dist/{swirl-icon-like.entry.d6d95e01.js → swirl-icon-like.entry.ea180662.js} +9 -9
- package/dist/{swirl-icon-link.entry.ae0853ef.js → swirl-icon-link.entry.fc16be3e.js} +7 -7
- package/dist/{swirl-icon-live.entry.3e940734.js → swirl-icon-live.entry.2f8a0373.js} +7 -7
- package/dist/{swirl-icon-load.entry.16473876.js → swirl-icon-load.entry.bbc54282.js} +8 -8
- package/dist/{swirl-icon-lock-open.entry.719115e3.js → swirl-icon-lock-open.entry.29ba1803.js} +7 -7
- package/dist/{swirl-icon-lock-person.entry.c43f158d.js → swirl-icon-lock-person.entry.f3f3b450.js} +5 -5
- package/dist/{swirl-icon-lock.entry.c8665461.js → swirl-icon-lock.entry.87e02acf.js} +9 -9
- package/dist/{swirl-icon-login.entry.aaece6c7.js → swirl-icon-login.entry.c1916fc8.js} +10 -10
- package/dist/{swirl-icon-logout.entry.2d8e3a6e.js → swirl-icon-logout.entry.677c5d47.js} +7 -7
- package/dist/{swirl-icon-long-text.entry.34167c10.js → swirl-icon-long-text.entry.2bcafeee.js} +5 -5
- package/dist/{swirl-icon-mail.entry.322450be.js → swirl-icon-mail.entry.4efa34f3.js} +6 -6
- package/dist/{swirl-icon-manage-accounts.entry.050f70db.js → swirl-icon-manage-accounts.entry.d295a7ad.js} +4 -4
- package/dist/{swirl-icon-mark-chat-read.entry.367e0dc0.js → swirl-icon-mark-chat-read.entry.af721331.js} +8 -8
- package/dist/{swirl-icon-mark-chat-unread.entry.3397cb2e.js → swirl-icon-mark-chat-unread.entry.3e79667e.js} +6 -6
- package/dist/{swirl-icon-mention.entry.f4b9e2ee.js → swirl-icon-mention.entry.76f25520.js} +8 -8
- package/dist/{swirl-icon-menu-book-filled.entry.6ec37f95.js → swirl-icon-menu-book-filled.entry.de5a93ab.js} +6 -6
- package/dist/{swirl-icon-menu-filled.entry.9976a260.js → swirl-icon-menu-filled.entry.79c6a43f.js} +6 -6
- package/dist/{swirl-icon-menu.entry.00b8c1e3.js → swirl-icon-menu.entry.6b50418f.js} +7 -7
- package/dist/{swirl-icon-message.entry.952fc645.js → swirl-icon-message.entry.56d68c86.js} +6 -6
- package/dist/{swirl-icon-mic-off.entry.65de744c.js → swirl-icon-mic-off.entry.7daed563.js} +7 -7
- package/dist/{swirl-icon-mic.entry.b2137ac3.js → swirl-icon-mic.entry.a1ee097f.js} +6 -6
- package/dist/{swirl-icon-more-horizontal.entry.3d776bff.js → swirl-icon-more-horizontal.entry.97e4d17e.js} +9 -9
- package/dist/{swirl-icon-news-filled.entry.97d5d806.js → swirl-icon-news-filled.entry.30ce4b58.js} +7 -7
- package/dist/{swirl-icon-news-off.entry.d57f0d0b.js → swirl-icon-news-off.entry.e2d8f83d.js} +9 -9
- package/dist/{swirl-icon-news.entry.a86f48b0.js → swirl-icon-news.entry.b10db345.js} +6 -6
- package/dist/{swirl-icon-notifications-active.entry.529cef71.js → swirl-icon-notifications-active.entry.572b35e5.js} +7 -7
- package/dist/{swirl-icon-notifications-off.entry.5721956a.js → swirl-icon-notifications-off.entry.5a7cf481.js} +7 -7
- package/dist/{swirl-icon-notifications.entry.b0264abc.js → swirl-icon-notifications.entry.c5cd0a6a.js} +6 -6
- package/dist/{swirl-icon-open-in-full.entry.c0f7e37f.js → swirl-icon-open-in-full.entry.80e8d577.js} +5 -5
- package/dist/{swirl-icon-open-in-new.entry.5df368f6.js → swirl-icon-open-in-new.entry.24222cde.js} +5 -5
- package/dist/{swirl-icon-pause-circle.entry.a3a46aa8.js → swirl-icon-pause-circle.entry.d51596c6.js} +8 -8
- package/dist/{swirl-icon-people-alt.entry.36bc2f3b.js → swirl-icon-people-alt.entry.531f73f8.js} +7 -7
- package/dist/{swirl-icon-person-off.entry.38fc4007.js → swirl-icon-person-off.entry.f8a10242.js} +6 -6
- package/dist/{swirl-icon-person.entry.3004af3e.js → swirl-icon-person.entry.193a603f.js} +4 -4
- package/dist/{swirl-icon-phone.entry.1d8aa841.js → swirl-icon-phone.entry.dda84cc7.js} +7 -7
- package/dist/{swirl-icon-photo-camera.entry.6edb9ee4.js → swirl-icon-photo-camera.entry.577105fe.js} +6 -6
- package/dist/{swirl-icon-picture-in-picture.entry.98f2a657.js → swirl-icon-picture-in-picture.entry.11714c8b.js} +5 -5
- package/dist/{swirl-icon-pin-off.entry.1dca944e.js → swirl-icon-pin-off.entry.9d178358.js} +6 -6
- package/dist/{swirl-icon-pin.entry.7c2b0b58.js → swirl-icon-pin.entry.5df21b43.js} +10 -10
- package/dist/{swirl-icon-place.entry.a3b96315.js → swirl-icon-place.entry.5201822a.js} +8 -8
- package/dist/{swirl-icon-poll.entry.3c3cbcc0.js → swirl-icon-poll.entry.be9e0a6e.js} +8 -8
- package/dist/{swirl-icon-post-approval.entry.fb6d5cdc.js → swirl-icon-post-approval.entry.bdb350a0.js} +9 -9
- package/dist/{swirl-icon-present.entry.0676df64.js → swirl-icon-present.entry.701a510b.js} +7 -7
- package/dist/{swirl-icon-print.entry.bf1074c4.js → swirl-icon-print.entry.1b996ae5.js} +4 -4
- package/dist/{swirl-icon-public-off.entry.212f8c1c.js → swirl-icon-public-off.entry.c92f8a6c.js} +4 -4
- package/dist/{swirl-icon-public.entry.0278f885.js → swirl-icon-public.entry.69673ce7.js} +6 -6
- package/dist/{swirl-icon-ratio-four-to-three.entry.f818cfc4.js → swirl-icon-ratio-four-to-three.entry.5e348f71.js} +6 -6
- package/dist/{swirl-icon-ratio-freeform.entry.e160b218.js → swirl-icon-ratio-freeform.entry.ebad8e78.js} +8 -8
- package/dist/{swirl-icon-ratio-sixteen-to-nine.entry.3d76c1ab.js → swirl-icon-ratio-sixteen-to-nine.entry.85c2b2db.js} +7 -7
- package/dist/{swirl-icon-ratio-square.entry.d8dd034d.js → swirl-icon-ratio-square.entry.ceee272f.js} +4 -4
- package/dist/{swirl-icon-ratio-three-to-four.entry.a5f2a303.js → swirl-icon-ratio-three-to-four.entry.97808254.js} +2 -2
- package/dist/{swirl-icon-ratio-three-to-two.entry.88ff0d10.js → swirl-icon-ratio-three-to-two.entry.3aeb289b.js} +5 -5
- package/dist/{swirl-icon-recieved.entry.0e4c5ff6.js → swirl-icon-recieved.entry.769700f9.js} +2 -2
- package/dist/{swirl-icon-remove-circle.entry.12c94770.js → swirl-icon-remove-circle.entry.893e5b06.js} +8 -8
- package/dist/{swirl-icon-remove-moderator.entry.60130da6.js → swirl-icon-remove-moderator.entry.092f167c.js} +6 -6
- package/dist/{swirl-icon-reply.entry.9cb3a248.js → swirl-icon-reply.entry.6ab201fc.js} +2 -2
- package/dist/{swirl-icon-report.entry.1420eb4c.js → swirl-icon-report.entry.a6827a94.js} +6 -6
- package/dist/{swirl-icon-roadmap.entry.f44b9ddd.js → swirl-icon-roadmap.entry.9c20aaa0.js} +9 -9
- package/dist/{swirl-icon-rotate-left.entry.aa9a96d7.js → swirl-icon-rotate-left.entry.63301c62.js} +4 -4
- package/dist/{swirl-icon-rotate-right.entry.847d5bd3.js → swirl-icon-rotate-right.entry.96c37ab7.js} +8 -8
- package/dist/{swirl-icon-screenshare-off.entry.2aac934b.js → swirl-icon-screenshare-off.entry.0185c22b.js} +8 -8
- package/dist/{swirl-icon-screenshare.entry.68bedcae.js → swirl-icon-screenshare.entry.3c6b84f5.js} +5 -5
- package/dist/{swirl-icon-search-strong.entry.28cf4f43.js → swirl-icon-search-strong.entry.784db377.js} +9 -9
- package/dist/{swirl-icon-search.entry.65aef0a5.js → swirl-icon-search.entry.f17f56c8.js} +4 -4
- package/dist/{swirl-icon-secure.entry.f873decf.js → swirl-icon-secure.entry.a05b8517.js} +6 -6
- package/dist/{swirl-icon-send.entry.72d7c4b2.js → swirl-icon-send.entry.c6bc3c4b.js} +7 -7
- package/dist/{swirl-icon-settings.entry.e92fa0c5.js → swirl-icon-settings.entry.f7496c90.js} +6 -6
- package/dist/{swirl-icon-short-text.entry.91d7a71b.js → swirl-icon-short-text.entry.a3ee101d.js} +7 -7
- package/dist/{swirl-icon-simplify.entry.8784a1bd.js → swirl-icon-simplify.entry.f403c2b0.js} +10 -10
- package/dist/{swirl-icon-spellcheck.entry.5416b8cf.js → swirl-icon-spellcheck.entry.834f7ae4.js} +9 -9
- package/dist/{swirl-icon-stars.entry.72754176.js → swirl-icon-stars.entry.bd2ce9ce.js} +7 -7
- package/dist/{swirl-icon-stop-circle.entry.27a68924.js → swirl-icon-stop-circle.entry.911e352f.js} +8 -8
- package/dist/{swirl-icon-stop.entry.0e4ab87a.js → swirl-icon-stop.entry.387f8763.js} +5 -5
- package/dist/{swirl-icon-sync.entry.93bac524.js → swirl-icon-sync.entry.3189998a.js} +7 -7
- package/dist/{swirl-icon-tasks-filled.entry.d9b90e5c.js → swirl-icon-tasks-filled.entry.0ad1884f.js} +5 -5
- package/dist/{swirl-icon-tasks.entry.6403827f.js → swirl-icon-tasks.entry.faf3e872.js} +9 -9
- package/dist/{swirl-icon-terminal.entry.f959a0a3.js → swirl-icon-terminal.entry.ade135bb.js} +7 -7
- package/dist/{swirl-icon-time-filled.entry.a68cad4b.js → swirl-icon-time-filled.entry.3c36308a.js} +8 -8
- package/dist/{swirl-icon-time.entry.d43f255f.js → swirl-icon-time.entry.b118e481.js} +4 -4
- package/dist/{swirl-icon-today-filled.entry.6349008c.js → swirl-icon-today-filled.entry.6f3199bd.js} +10 -10
- package/dist/{swirl-icon-translate.entry.c383afa9.js → swirl-icon-translate.entry.3a2ed9a3.js} +5 -5
- package/dist/{swirl-icon-tree-structure.entry.dc508900.js → swirl-icon-tree-structure.entry.dda628b6.js} +8 -8
- package/dist/{swirl-icon-undo.entry.d81d84c6.js → swirl-icon-undo.entry.267e3431.js} +8 -8
- package/dist/{swirl-icon-unlock-person.entry.ea15df41.js → swirl-icon-unlock-person.entry.211619bc.js} +9 -9
- package/dist/{swirl-icon-user-add.entry.11ffdc04.js → swirl-icon-user-add.entry.3d901ad0.js} +5 -5
- package/dist/{swirl-icon-user-assign.entry.7b1d92f7.js → swirl-icon-user-assign.entry.cb849fcb.js} +6 -6
- package/dist/{swirl-icon-video-camera-off.entry.84b612e3.js → swirl-icon-video-camera-off.entry.4fb92078.js} +5 -5
- package/dist/{swirl-icon-video-camera.entry.00c73fb8.js → swirl-icon-video-camera.entry.8301d0b7.js} +4 -4
- package/dist/{swirl-icon-video-library.entry.193b6406.js → swirl-icon-video-library.entry.67860a32.js} +5 -5
- package/dist/{swirl-icon-video-player.entry.29764485.js → swirl-icon-video-player.entry.24670905.js} +6 -6
- package/dist/{swirl-icon-view-agenda.entry.ca0acc4a.js → swirl-icon-view-agenda.entry.47092914.js} +5 -5
- package/dist/{swirl-icon-voice.entry.a57666d6.js → swirl-icon-voice.entry.8f23df19.js} +7 -7
- package/dist/swirl-icon-volume-up.entry.33cce49a.js +19 -0
- package/dist/{swirl-icon-web-asset-off.entry.faf07aa8.js → swirl-icon-web-asset-off.entry.f0ac95af.js} +2 -2
- package/dist/{swirl-icon-web-asset.entry.6dc2cdee.js → swirl-icon-web-asset.entry.00fc0c91.js} +8 -8
- package/dist/{swirl-icon-work.entry.8d9ed2ad.js → swirl-icon-work.entry.1bcfc0a1.js} +8 -8
- package/dist/{swirl-icon.entry.73832e00.js → swirl-icon.entry.1fc113ac.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.1c53bae8.js → swirl-image-grid-item.entry.ab97a5fb.js} +1 -1
- package/dist/{swirl-image-grid.entry.aad95782.js → swirl-image-grid.entry.13ebed0c.js} +1 -1
- package/dist/{swirl-inline-notification.entry.b38165d1.js → swirl-inline-notification.entry.655d6298.js} +1 -1
- package/dist/{swirl-inline-status.entry.a91aa76d.js → swirl-inline-status.entry.f7cd9ae4.js} +1 -1
- package/dist/{swirl-lightbox.entry.58d25f12.js → swirl-lightbox.entry.47b5861f.js} +11 -11
- package/dist/{swirl-link.entry.de2c7b24.js → swirl-link.entry.43d466ae.js} +1 -1
- package/dist/{swirl-list.entry.e6f165ce.js → swirl-list.entry.ac21a15f.js} +4 -4
- package/dist/{swirl-menu-item.entry.29798304.js → swirl-menu-item.entry.e371a7b3.js} +2 -2
- package/dist/{swirl-menu.entry.2d1ccabf.js → swirl-menu.entry.11116c13.js} +1 -1
- package/dist/{swirl-modal.entry.e5a56ab4.js → swirl-modal.entry.1907694b.js} +43 -35
- package/dist/{swirl-option-list-section.entry.e9b34795.js → swirl-option-list-section.entry.cab69a77.js} +4 -4
- package/dist/{swirl-option-list_2.entry.8f78b039.js → swirl-option-list_2.entry.13929273.js} +3 -3
- package/dist/{swirl-pagination.entry.ca5b7077.js → swirl-pagination.entry.019b5cfb.js} +17 -17
- package/dist/{swirl-pdf-reader.entry.e1678c5e.js → swirl-pdf-reader.entry.bc83702e.js} +7 -7
- package/dist/{swirl-popover_2.entry.d6ccd3a9.js → swirl-popover_2.entry.b6e0937d.js} +5 -5
- package/dist/{swirl-progress-indicator.entry.11d00a36.js → swirl-progress-indicator.entry.64664636.js} +2 -2
- package/dist/{swirl-radio-group.entry.2aa40213.js → swirl-radio-group.entry.c729e90c.js} +2 -2
- package/dist/{swirl-radio.entry.043fe265.js → swirl-radio.entry.a0dca87a.js} +2 -2
- package/dist/{swirl-resource-list-file-item.entry.241bf4bd.js → swirl-resource-list-file-item.entry.cbb447c8.js} +6 -6
- package/dist/{swirl-resource-list-section.entry.b7df3b4c.js → swirl-resource-list-section.entry.28d47ae6.js} +5 -5
- package/dist/{swirl-search.entry.ee3ae3a7.js → swirl-search.entry.17bc4915.js} +2 -2
- package/dist/{swirl-select.entry.cca1c75e.js → swirl-select.entry.753b2efd.js} +7 -7
- package/dist/{swirl-separator.entry.cb4a36b2.js → swirl-separator.entry.64431a15.js} +1 -1
- package/dist/{swirl-shell-layout.entry.cead266f.js → swirl-shell-layout.entry.99d9adb2.js} +6 -6
- package/dist/{swirl-shell-navigation-item.entry.e771468e.js → swirl-shell-navigation-item.entry.5c1a2196.js} +2 -2
- package/dist/{swirl-skeleton-box.entry.d43a5b94.js → swirl-skeleton-box.entry.6f81903c.js} +3 -3
- package/dist/{swirl-skeleton-text.entry.6aa09c1a.js → swirl-skeleton-text.entry.2e0767d3.js} +2 -2
- package/dist/{swirl-stack.entry.089ceb32.js → swirl-stack.entry.2bcc2e7d.js} +1 -1
- package/dist/{swirl-status-indicator.entry.b5fb1dc5.js → swirl-status-indicator.entry.cdcee502.js} +2 -2
- package/dist/{swirl-switch.entry.072c7963.js → swirl-switch.entry.5229cda3.js} +2 -2
- package/dist/{swirl-symbol-account-circle.entry.8b843f26.js → swirl-symbol-account-circle.entry.dd47a306.js} +2 -2
- package/dist/{swirl-symbol-alternate-email.entry.7150783a.js → swirl-symbol-alternate-email.entry.52a1a9d9.js} +5 -5
- package/dist/{swirl-symbol-android.entry.f221fe53.js → swirl-symbol-android.entry.ad3f3589.js} +4 -4
- package/dist/{swirl-symbol-announcement.entry.ca6987a9.js → swirl-symbol-announcement.entry.a1d3146b.js} +5 -5
- package/dist/{swirl-symbol-backup.entry.914e6bd2.js → swirl-symbol-backup.entry.d1d5b83e.js} +3 -3
- package/dist/{swirl-symbol-beach-access.entry.5481cddd.js → swirl-symbol-beach-access.entry.e02486da.js} +8 -8
- package/dist/swirl-symbol-bookmark.entry.9abb2d5f.js +17 -0
- package/dist/{swirl-symbol-cloud.entry.03ad2e2d.js → swirl-symbol-cloud.entry.0ef4280b.js} +4 -4
- package/dist/{swirl-symbol-coronavirus.entry.7e280ac6.js → swirl-symbol-coronavirus.entry.3f1dc3a1.js} +7 -7
- package/dist/{swirl-symbol-desktop-windows.entry.05d6cd89.js → swirl-symbol-desktop-windows.entry.1ab5dfd6.js} +5 -5
- package/dist/{swirl-symbol-directions-car-filled.entry.b771ee7f.js → swirl-symbol-directions-car-filled.entry.137e46bf.js} +3 -3
- package/dist/{swirl-symbol-edit-calendar.entry.c13cb27a.js → swirl-symbol-edit-calendar.entry.c9b0a984.js} +7 -7
- package/dist/{swirl-symbol-email.entry.6b09660b.js → swirl-symbol-email.entry.9ef36e8f.js} +3 -3
- package/dist/{swirl-symbol-emoji-food-beverage.entry.452911eb.js → swirl-symbol-emoji-food-beverage.entry.f9c7edcd.js} +9 -9
- package/dist/{swirl-symbol-event-menu.entry.8fdcc312.js → swirl-symbol-event-menu.entry.4132aa76.js} +5 -5
- package/dist/{swirl-symbol-facebook.entry.82596db4.js → swirl-symbol-facebook.entry.006c9b5a.js} +6 -6
- package/dist/{swirl-symbol-favorite.entry.71d44805.js → swirl-symbol-favorite.entry.2e873ae5.js} +4 -4
- package/dist/{swirl-symbol-fitness-center.entry.b1ab1262.js → swirl-symbol-fitness-center.entry.1b4ce9dc.js} +2 -2
- package/dist/{swirl-symbol-flag.entry.c86d3b5f.js → swirl-symbol-flag.entry.3fc46d38.js} +7 -7
- package/dist/{swirl-symbol-folder.entry.9d844cff.js → swirl-symbol-folder.entry.f2b13eb5.js} +5 -5
- package/dist/{swirl-symbol-globe.entry.804591d7.js → swirl-symbol-globe.entry.23cc9b20.js} +2 -2
- package/dist/{swirl-symbol-groups.entry.794fa9cc.js → swirl-symbol-groups.entry.1ef5149f.js} +3 -3
- package/dist/{swirl-symbol-help.entry.61d8dd72.js → swirl-symbol-help.entry.5b1c11b9.js} +5 -5
- package/dist/{swirl-symbol-image.entry.e19a2d33.js → swirl-symbol-image.entry.b8bc4d11.js} +5 -5
- package/dist/{swirl-symbol-info-menu.entry.bd3b35b9.js → swirl-symbol-info-menu.entry.4239f9d1.js} +4 -4
- package/dist/{swirl-symbol-instagram.entry.9c952632.js → swirl-symbol-instagram.entry.675d0d2c.js} +5 -5
- package/dist/{swirl-symbol-ios.entry.19217a10.js → swirl-symbol-ios.entry.f8d9d1ff.js} +3 -3
- package/dist/{swirl-symbol-language.entry.30431c1e.js → swirl-symbol-language.entry.5137c837.js} +7 -7
- package/dist/{swirl-symbol-leaderboard.entry.0b60bec6.js → swirl-symbol-leaderboard.entry.9098f941.js} +2 -2
- package/dist/{swirl-symbol-lightbulb.entry.aeabcf4d.js → swirl-symbol-lightbulb.entry.2e821db7.js} +7 -7
- package/dist/{swirl-symbol-linkedin.entry.9a8055c4.js → swirl-symbol-linkedin.entry.74092b87.js} +2 -2
- package/dist/{swirl-symbol-location-on.entry.abcee88f.js → swirl-symbol-location-on.entry.43fb8dde.js} +4 -4
- package/dist/{swirl-symbol-loyalty.entry.282ee8bf.js → swirl-symbol-loyalty.entry.41a0183d.js} +7 -7
- package/dist/{swirl-symbol-maps-home-work.entry.d58b13df.js → swirl-symbol-maps-home-work.entry.24903c01.js} +2 -2
- package/dist/{swirl-symbol-notifications.entry.9c883742.js → swirl-symbol-notifications.entry.ce98af3b.js} +7 -7
- package/dist/{swirl-symbol-open-in-new.entry.ca3a6de4.js → swirl-symbol-open-in-new.entry.667d9717.js} +2 -2
- package/dist/{swirl-symbol-pedal-bike.entry.706053a9.js → swirl-symbol-pedal-bike.entry.fbf31de3.js} +7 -7
- package/dist/{swirl-symbol-pinterest.entry.6ca8fe19.js → swirl-symbol-pinterest.entry.7fb685da.js} +2 -2
- package/dist/{swirl-symbol-policy.entry.7977da14.js → swirl-symbol-policy.entry.647cdd2c.js} +5 -5
- package/dist/{swirl-symbol-push-pin.entry.e4228a55.js → swirl-symbol-push-pin.entry.830d4710.js} +2 -2
- package/dist/{swirl-symbol-redeem.entry.1fd84650.js → swirl-symbol-redeem.entry.d4865881.js} +2 -2
- package/dist/{swirl-symbol-report-problem.entry.9ff7772f.js → swirl-symbol-report-problem.entry.85728cb5.js} +4 -4
- package/dist/{swirl-symbol-restaurant.entry.e119bbb7.js → swirl-symbol-restaurant.entry.0b014be5.js} +5 -5
- package/dist/swirl-symbol-roadmap.entry.d56bc58c.js +17 -0
- package/dist/{swirl-symbol-room.entry.c30eb0a1.js → swirl-symbol-room.entry.1988e0f8.js} +7 -7
- package/dist/{swirl-symbol-savings.entry.31a7dd46.js → swirl-symbol-savings.entry.35386787.js} +4 -4
- package/dist/{swirl-symbol-settings-voice.entry.4b02515e.js → swirl-symbol-settings-voice.entry.d4c45952.js} +2 -2
- package/dist/{swirl-symbol-shopping-cart.entry.ae7986ec.js → swirl-symbol-shopping-cart.entry.cee4f863.js} +3 -3
- package/dist/swirl-symbol-smartphone.entry.750fa000.js +17 -0
- package/dist/{swirl-symbol-star.entry.c40a8059.js → swirl-symbol-star.entry.20fcee13.js} +4 -4
- package/dist/{swirl-symbol-supervisor-account.entry.225bad88.js → swirl-symbol-supervisor-account.entry.16e64b04.js} +4 -4
- package/dist/{swirl-symbol-thumbs-up-down.entry.96d38a3a.js → swirl-symbol-thumbs-up-down.entry.febfca75.js} +9 -9
- package/dist/{swirl-symbol-twitter.entry.8c39872c.js → swirl-symbol-twitter.entry.ad9c67f8.js} +2 -2
- package/dist/{swirl-symbol-wb-sunny.entry.99479bdd.js → swirl-symbol-wb-sunny.entry.35fe17ab.js} +8 -8
- package/dist/{swirl-symbol-wechat.entry.718b3a66.js → swirl-symbol-wechat.entry.c17a594f.js} +2 -2
- package/dist/{swirl-symbol-weibo.entry.1395f78c.js → swirl-symbol-weibo.entry.10298f15.js} +8 -8
- package/dist/{swirl-symbol-work.entry.354ebd6c.js → swirl-symbol-work.entry.79457c14.js} +2 -2
- package/dist/{swirl-symbol-xing.entry.58602731.js → swirl-symbol-xing.entry.730293a2.js} +5 -5
- package/dist/{swirl-symbol-youtube.entry.4091a700.js → swirl-symbol-youtube.entry.16d38a20.js} +2 -2
- package/dist/{swirl-symbol.entry.f2c23e9c.js → swirl-symbol.entry.a8a944f1.js} +2 -2
- package/dist/{swirl-tab-bar.entry.6501bc68.js → swirl-tab-bar.entry.c7a0e003.js} +2 -2
- package/dist/swirl-tab.entry.6a9000ba.js +17 -0
- package/dist/{swirl-table-cell.entry.46934ae8.js → swirl-table-cell.entry.156a335d.js} +4 -4
- package/dist/{swirl-table-column.entry.fbe50329.js → swirl-table-column.entry.7e9c1ddc.js} +5 -5
- package/dist/{swirl-table-row-group.entry.6ec4fc90.js → swirl-table-row-group.entry.03fc19b8.js} +4 -4
- package/dist/{swirl-table-row.entry.d3382446.js → swirl-table-row.entry.3935c09f.js} +5 -5
- package/dist/{swirl-table.entry.f3df8ae8.js → swirl-table.entry.68049832.js} +2 -2
- package/dist/{swirl-tabs.entry.dbd1610e.js → swirl-tabs.entry.b654e6be.js} +6 -6
- package/dist/{swirl-text-input.entry.24b8e0ff.js → swirl-text-input.entry.fa2f9646.js} +1 -1
- package/dist/{swirl-text.entry.5fbf4f67.js → swirl-text.entry.85e9ae94.js} +2 -2
- package/dist/{swirl-theme-provider.entry.91153988.js → swirl-theme-provider.entry.20541914.js} +2 -2
- package/dist/{swirl-time-input.entry.c8633b61.js → swirl-time-input.entry.a6549e55.js} +4 -4
- package/dist/{swirl-toast-provider.entry.acbfb50a.js → swirl-toast-provider.entry.a08c4661.js} +4 -4
- package/dist/{swirl-toast.entry.63184104.js → swirl-toast.entry.43fee480.js} +2 -2
- package/dist/{swirl-toggle-button.entry.a33bf893.js → swirl-toggle-button.entry.adbc1e07.js} +2 -2
- package/dist/{swirl-toggle-group.entry.16d92a46.js → swirl-toggle-group.entry.026e4f0d.js} +2 -2
- package/dist/{swirl-toolbar.entry.d31360fe.js → swirl-toolbar.entry.437e2366.js} +5 -5
- package/dist/{swirl-tooltip.entry.e94fad7a.js → swirl-tooltip.entry.7e34d38d.js} +6 -6
- package/dist/{swirl-tree-navigation-item.entry.c0f8bf49.js → swirl-tree-navigation-item.entry.8c7a2408.js} +5 -5
- package/dist/{swirl-tree-navigation.entry.91982cbe.js → swirl-tree-navigation.entry.5cb82b62.js} +2 -2
- package/dist/{swirl-tree-view-item.entry.dcc70754.js → swirl-tree-view-item.entry.abc8051b.js} +19 -19
- package/dist/{swirl-tree-view.entry.453d82b4.js → swirl-tree-view.entry.7c1efde4.js} +7 -7
- package/dist/{swirl-video-thumbnail.entry.8476e29b.js → swirl-video-thumbnail.entry.c4ace0e3.js} +4 -4
- package/dist/swirl-visually-hidden.entry.2fd98a52.js +15 -0
- package/dist/{wc-datepicker.entry.4b8bac9f.js → wc-datepicker.entry.ff79385e.js} +1 -1
- package/package.json +2 -2
- package/dist/swirl-emoji-clap.entry.ae939d8d.js +0 -17
- package/dist/swirl-emoji-happy.entry.b1bb24f1.js +0 -17
- package/dist/swirl-emoji-love.entry.c7ed64c9.js +0 -17
- package/dist/swirl-emoji-sad.entry.eef58958.js +0 -17
- package/dist/swirl-emoji-thumbs-up.entry.80c32509.js +0 -17
- package/dist/swirl-emoji.entry.4391d74e.js +0 -16
- package/dist/swirl-icon-ai-filled.entry.ae226bfd.js +0 -19
- package/dist/swirl-icon-arrow-right-small.entry.9b376cad.js +0 -19
- package/dist/swirl-icon-check-strong_2.entry.2cb6efb9.js +0 -32
- package/dist/swirl-icon-dot.entry.65c36b84.js +0 -19
- package/dist/swirl-symbol-bookmark.entry.b8d1ae02.js +0 -17
- package/dist/swirl-symbol-roadmap.entry.db0460d0.js +0 -17
- package/dist/swirl-symbol-smartphone.entry.018d86e1.js +0 -17
- package/dist/swirl-tab.entry.8ebcb8d6.js +0 -17
- package/dist/swirl-visually-hidden.entry.b9f96f5a.js +0 -15
package/dist/{swirl-icon-web-asset.entry.6dc2cdee.js → swirl-icon-web-asset.entry.00fc0c91.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { c as
|
|
1
|
+
import { r as c, h as e, F as i } from "./index.5395ee70.js";
|
|
2
|
+
import { c as o } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
const r = ":host{display:inline-flex;max-width:100%;max-height:100%}.swirl-icon{max-width:100%;max-height:100%}", n = r,
|
|
5
|
+
const r = ":host{display:inline-flex;max-width:100%;max-height:100%}.swirl-icon{max-width:100%;max-height:100%}", n = r, l = class {
|
|
6
6
|
constructor(s) {
|
|
7
|
-
|
|
7
|
+
c(this, s), this.color = void 0, this.size = 24;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
10
|
const s = this.size === 20 ? 24 : this.size, t = {
|
|
11
11
|
color: Boolean(this.color) ? `var(--s-icon-${this.color})` : void 0
|
|
12
|
-
},
|
|
13
|
-
return e("svg", { key: "
|
|
12
|
+
}, a = o("swirl-icon", `swirl-icon--size-${this.size}`);
|
|
13
|
+
return e("svg", { key: "eb9c8d0dec6a4b4177969f9ccf0805a8aee16026", "aria-hidden": "true", class: a, fill: "none", height: this.size, part: "icon", style: t, viewBox: `0 0 ${s} ${s}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, this.size === 16 && e(i, { key: "993dd0b95fb39bf396688ad692d0530d62b36774" }, e("path", { key: "35fc8ba862b8b13dd840dcc120f37d880fa686be", d: "M2.66665 13.3332C2.29998 13.3332 1.98609 13.2026 1.72498 12.9415C1.46387 12.6804 1.33331 12.3665 1.33331 11.9998V3.99984C1.33331 3.63317 1.46387 3.31928 1.72498 3.05817C1.98609 2.79706 2.29998 2.6665 2.66665 2.6665H13.3333C13.7 2.6665 14.0139 2.79706 14.275 3.05817C14.5361 3.31928 14.6666 3.63317 14.6666 3.99984V11.9998C14.6666 12.3665 14.5361 12.6804 14.275 12.9415C14.0139 13.2026 13.7 13.3332 13.3333 13.3332H2.66665ZM2.66665 11.9998H13.3333V5.33317H2.66665V11.9998Z", fill: "currentColor" })), (this.size === 20 || this.size === 24) && e(i, { key: "149ed8521a57160eaff04f6aec3827c70960f855" }, e("path", { key: "e176b080ac6c60b45bab7efb55afa8557b09e814", d: "M4 20C3.45 20 2.97917 19.8042 2.5875 19.4125C2.19583 19.0208 2 18.55 2 18V6C2 5.45 2.19583 4.97917 2.5875 4.5875C2.97917 4.19583 3.45 4 4 4H20C20.55 4 21.0208 4.19583 21.4125 4.5875C21.8042 4.97917 22 5.45 22 6V18C22 18.55 21.8042 19.0208 21.4125 19.4125C21.0208 19.8042 20.55 20 20 20H4ZM4 18H20V8H4V18Z", fill: "currentColor" })), this.size === 28 && e(i, { key: "3f6921264741325ca8f860263766751fef9ec0aa" }, e("path", { key: "1a86a058eba454ffe6e97df13b2f094b1c79cd39", d: "M4.66665 23.3332C4.02498 23.3332 3.47567 23.1047 3.01873 22.6478C2.56179 22.1908 2.33331 21.6415 2.33331 20.9998V6.99984C2.33331 6.35817 2.56179 5.80886 3.01873 5.35192C3.47567 4.89498 4.02498 4.6665 4.66665 4.6665H23.3333C23.975 4.6665 24.5243 4.89498 24.9812 5.35192C25.4382 5.80886 25.6666 6.35817 25.6666 6.99984V20.9998C25.6666 21.6415 25.4382 22.1908 24.9812 22.6478C24.5243 23.1047 23.975 23.3332 23.3333 23.3332H4.66665ZM4.66665 20.9998H23.3333V9.33317H4.66665V20.9998Z", fill: "currentColor" })));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
l.style = n;
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
l as swirl_icon_web_asset
|
|
19
19
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as c, h as e, F as i } from "./index.5395ee70.js";
|
|
2
2
|
import { c as r } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
const
|
|
6
|
-
constructor(
|
|
7
|
-
|
|
5
|
+
const C = ":host{display:inline-flex;max-width:100%;max-height:100%}.swirl-icon{max-width:100%;max-height:100%}", a = C, n = class {
|
|
6
|
+
constructor(s) {
|
|
7
|
+
c(this, s), this.color = void 0, this.size = 24;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
const
|
|
10
|
+
const s = this.size === 20 ? 24 : this.size, t = {
|
|
11
11
|
color: Boolean(this.color) ? `var(--s-icon-${this.color})` : void 0
|
|
12
|
-
},
|
|
13
|
-
return
|
|
12
|
+
}, o = r("swirl-icon", `swirl-icon--size-${this.size}`);
|
|
13
|
+
return e("svg", { key: "f3f940e07c805a24ec53142a990f3ff615227206", "aria-hidden": "true", class: o, fill: "none", height: this.size, part: "icon", style: t, viewBox: `0 0 ${s} ${s}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, this.size === 16 && e(i, { key: "75c128d93985e70f142d40b435109953e9ea9f47" }, e("path", { key: "8678155daf0f14dda07b95f53afccea1bb573237", d: "M2.66668 14.0002C2.30001 14.0002 1.98612 13.8696 1.72501 13.6085C1.4639 13.3474 1.33334 13.0335 1.33334 12.6668V5.3335C1.33334 4.96683 1.4639 4.65294 1.72501 4.39183C1.98612 4.13072 2.30001 4.00016 2.66668 4.00016H5.33334V2.66683C5.33334 2.30016 5.4639 1.98627 5.72501 1.72516C5.98612 1.46405 6.30001 1.3335 6.66668 1.3335H9.33334C9.70001 1.3335 10.0139 1.46405 10.275 1.72516C10.5361 1.98627 10.6667 2.30016 10.6667 2.66683V4.00016H13.3333C13.7 4.00016 14.0139 4.13072 14.275 4.39183C14.5361 4.65294 14.6667 4.96683 14.6667 5.3335V12.6668C14.6667 13.0335 14.5361 13.3474 14.275 13.6085C14.0139 13.8696 13.7 14.0002 13.3333 14.0002H2.66668ZM2.66668 12.6668H13.3333V5.3335H2.66668V12.6668ZM6.66668 4.00016H9.33334V2.66683H6.66668V4.00016Z", fill: "currentColor" })), (this.size === 20 || this.size === 24) && e(i, { key: "f0a5d3895d1d046b0d17419e370f94cd5d8fffeb" }, e("path", { key: "acf1227e8d340dcacc018624e5920c3469bd3c91", d: "M4 21C3.45 21 2.97917 20.8042 2.5875 20.4125C2.19583 20.0208 2 19.55 2 19V8C2 7.45 2.19583 6.97917 2.5875 6.5875C2.97917 6.19583 3.45 6 4 6H8V4C8 3.45 8.19583 2.97917 8.5875 2.5875C8.97917 2.19583 9.45 2 10 2H14C14.55 2 15.0208 2.19583 15.4125 2.5875C15.8042 2.97917 16 3.45 16 4V6H20C20.55 6 21.0208 6.19583 21.4125 6.5875C21.8042 6.97917 22 7.45 22 8V19C22 19.55 21.8042 20.0208 21.4125 20.4125C21.0208 20.8042 20.55 21 20 21H4ZM4 19H20V8H4V19ZM10 6H14V4H10V6Z", fill: "currentColor" })), this.size === 28 && e(i, { key: "f37e11590bd94a55153952b7a31d530259ff4e91" }, e("path", { key: "13c92779c67698db9fe04902fd0a9367db5f563c", d: "M4.66668 24.5002C4.02501 24.5002 3.4757 24.2717 3.01876 23.8147C2.56182 23.3578 2.33334 22.8085 2.33334 22.1668V9.3335C2.33334 8.69183 2.56182 8.14252 3.01876 7.68558C3.4757 7.22863 4.02501 7.00016 4.66668 7.00016H9.33334V4.66683C9.33334 4.02516 9.56182 3.47586 10.0188 3.01891C10.4757 2.56197 11.025 2.3335 11.6667 2.3335H16.3333C16.975 2.3335 17.5243 2.56197 17.9813 3.01891C18.4382 3.47586 18.6667 4.02516 18.6667 4.66683V7.00016H23.3333C23.975 7.00016 24.5243 7.22863 24.9813 7.68558C25.4382 8.14252 25.6667 8.69183 25.6667 9.3335V22.1668C25.6667 22.8085 25.4382 23.3578 24.9813 23.8147C24.5243 24.2717 23.975 24.5002 23.3333 24.5002H4.66668ZM4.66668 22.1668H23.3333V9.3335H4.66668V22.1668ZM11.6667 7.00016H16.3333V4.66683H11.6667V7.00016Z", fill: "currentColor" })));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
|
-
n.style =
|
|
16
|
+
n.style = a;
|
|
17
17
|
export {
|
|
18
18
|
n as swirl_icon_work
|
|
19
19
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e, h as s, H as t } from "./index.
|
|
1
|
+
import { r as e, h as s, H as t } from "./index.5395ee70.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const c = ":host{display:inline-flex;max-width:100%;max-height:100%}.swirl-icon{max-width:100%;max-height:100%}", o = c, r = class {
|
package/dist/{swirl-image-grid-item.entry.1c53bae8.js → swirl-image-grid-item.entry.ab97a5fb.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as g, c as d, h as e, H as l, g as h } from "./index.
|
|
1
|
+
import { r as g, c as d, h as e, H as l, g as h } from "./index.5395ee70.js";
|
|
2
2
|
import { c as m } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import { d as b } from "./utils-877a768f.c277f897.js";
|
|
4
4
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as h, c as b, h as i, H as u, g } from "./index.
|
|
2
|
-
import { d as
|
|
1
|
+
import { r as h, c as b, h as i, H as u, g as f } from "./index.5395ee70.js";
|
|
2
|
+
import { d as g, e as m } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
3
3
|
import { c as p } from "./index-267776a4.6beb4f4b.js";
|
|
4
4
|
import { c as x } from "./focus-trap.esm-49c9613c.db20abcc.js";
|
|
5
5
|
import { q as v } from "./utils-877a768f.c277f897.js";
|
|
@@ -32,10 +32,10 @@ const y = ':host{display:block}:host *{box-sizing:border-box}.lightbox{position:
|
|
|
32
32
|
if (a || s)
|
|
33
33
|
return;
|
|
34
34
|
e.preventDefault();
|
|
35
|
-
const
|
|
36
|
-
this.slides.forEach((
|
|
37
|
-
const c = this.activeSlideIndex *
|
|
38
|
-
this.dragDelta =
|
|
35
|
+
const d = e instanceof MouseEvent ? e.clientX - this.dragStartPosition : e.touches[0].clientX - this.dragStartPosition;
|
|
36
|
+
this.slides.forEach((r) => {
|
|
37
|
+
const c = this.activeSlideIndex * r.getBoundingClientRect().width;
|
|
38
|
+
this.dragDelta = d, r.style.transform = `translate3d(${(-c + this.dragDelta) / 16}rem, 0, 0)`;
|
|
39
39
|
});
|
|
40
40
|
}, this.onPointerUp = () => {
|
|
41
41
|
if (!this.dragging)
|
|
@@ -137,7 +137,7 @@ const y = ':host{display:block}:host *{box-sizing:border-box}.lightbox{position:
|
|
|
137
137
|
return (t = this.slides[this.activeSlideIndex]) == null ? void 0 : t.thumbnailUrl;
|
|
138
138
|
}
|
|
139
139
|
lockBodyScroll() {
|
|
140
|
-
|
|
140
|
+
g(this.el);
|
|
141
141
|
}
|
|
142
142
|
unlockBodyScroll() {
|
|
143
143
|
m(this.el);
|
|
@@ -156,15 +156,15 @@ const y = ':host{display:block}:host *{box-sizing:border-box}.lightbox{position:
|
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
158
|
render() {
|
|
159
|
-
const t = this.slides.length > 1, e = this.getCurrentFileName(), a = this.getCurrentFileType(), o = this.getCurrentThumbnailUrl(), s = Boolean(this.el.querySelector("[slot='menu-items']")) || this.downloadButtonEnabled,
|
|
159
|
+
const t = this.slides.length > 1, e = this.getCurrentFileName(), a = this.getCurrentFileType(), o = this.getCurrentThumbnailUrl(), s = Boolean(this.el.querySelector("[slot='menu-items']")) || this.downloadButtonEnabled, d = Boolean(this.el.querySelector("[slot='toolbar']")), l = p("lightbox", {
|
|
160
160
|
"lightbox--closing": this.closing,
|
|
161
161
|
"lightbox--hide-menu": !s,
|
|
162
|
-
"lightbox--hide-toolbar": !
|
|
162
|
+
"lightbox--hide-toolbar": !d
|
|
163
163
|
});
|
|
164
|
-
return i(u, { key: "
|
|
164
|
+
return i(u, { key: "b2bae619b5d2560dbbbedbf7e374e8ff99a583c4", onKeydown: this.onKeyDown }, i("section", { key: "f4de7113e26872d16704ab2fdadd907fda688815", "aria-hidden": String(!this.isOpen), "aria-label": this.label, "aria-modal": "true", class: l, id: "lightbox", onMouseDown: this.onPointerDown, onMouseMove: this.onPointerMove, onMouseOut: this.onPointerUp, onMouseUp: this.onPointerUp, onTouchEnd: this.onPointerUp, onTouchMove: this.onPointerMove, onTouchStart: this.onPointerDown, ref: (n) => this.modalEl = n, role: "dialog", tabIndex: this.isOpen ? 0 : -1 }, i("div", { key: "63f651c47f8f84aff7c1d9c4eab069b55fe52878", class: "lightbox__body", role: "document" }, i("header", { key: "36f7a8ffda88cba07a08fb6502cb992efc2604e6", class: "lightbox__header" }, i("button", { key: "4e73a1254e1f13c156eeb644b8d56c8cd5f14d30", "aria-label": this.closeButtonLabel, class: "lightbox__close-button", onClick: this.onCloseButtonClick }, i("swirl-icon-close", { key: "9fac642d0443761d145f29a9b45ea111bb643d25" })), i("div", { key: "eb7c2291895fe6327b2c2835470722a9d25af498", class: "lightbox__toolbar" }, i("slot", { key: "1f549ea303ab79e59de57d453899e2ccff494853", name: "toolbar" })), !this.hideMenu && i("swirl-popover-trigger", { key: "fcc267d7d71cf68cb3879efcf927be5916b6af32", swirlPopover: this.menu }, i("button", { key: "1604c82cf857d4f9c347eb5f1277002bc9ffe186", "aria-label": this.menuTriggerLabel, class: "lightbox__menu-button" }, i("swirl-icon-more-vertikal", { key: "4859aaddc1ba53132c1f655e6af39dd37d796761" })))), i("div", { key: "2b857229d5105692523bdd7e4f90a6ad465b5b07", "aria-roledescription": "carousel", class: "lightbox__content", role: "group" }, i("div", { key: "20682d5b87e7740d96d79dc64a51c03741ea0ba7", "aria-atomic": "false", "aria-live": "polite", class: "lightbox__slides", onClick: this.onBackdropClick, onContextMenu: this.onContextMenu, ref: (n) => this.slidesContainer = n }, i("slot", { key: "aeb613300f1f6c66a4b31ad0addf6eab83a2d59e", onSlotchange: this.registerSlides }))), i("div", { key: "ac41fbfab71605a3c807d75b53a2c4d32e1b8bbd", class: "lightbox__controls" }, i("button", { key: "36e10f9c3a377f160a061757119d0e2dc9f598e9", "aria-label": this.previousSlideButtonLabel, class: "lightbox__previous-slide-button", disabled: this.activeSlideIndex === 0, onClick: this.onPreviousSlideClick }, i("swirl-icon-arrow-left", { key: "ed3ac800efafd98f895ccc890c7014e2a4f2933e" })), i("button", { key: "01f08b11b163d562d34d22f70f5744cdb4f66dd1", "aria-label": this.nextSlideButtonLabel, class: "lightbox__next-slide-button", disabled: this.activeSlideIndex === this.slides.length - 1, onClick: this.onNextSlideClick }, i("swirl-icon-arrow-right", { key: "f49831dd4a7585d4a2238d6d62ed092e366f2a4e" }))), t && i("span", { key: "7978f8ac9fb4e52ff1e5c59dfe593956686f84cc", class: "lightbox__pagination" }, i("span", { key: "bda33303eacb4207abaa4e6ea3c33763e21fa301", "aria-current": "page" }, this.activeSlideIndex + 1), " /", " ", this.slides.length)), !this.hideMenu && i("swirl-popover", { key: "4c11ccbdb1de6bd3a542d1e62dc56756b0ed13e6", animation: "scale-in-y", disableScrollLock: !0, id: "slide-menu", label: this.menuLabel, placement: "bottom-end", ref: (n) => this.menu = n }, i("swirl-stack", { key: "da709f1956faf30f656ba49f27438dec3289068d" }, i("div", { key: "5e05b4543de56ab2550bccc9ba1fe18e2d8517f3", class: "lightbox__meta" }, o && i("div", { key: "4f184cb6875b678c4ddcf2f98b5c0fd8e36cef74", class: "lightbox__thumbnail" }, i("swirl-thumbnail", { key: "e34fd5f6c45c1620c2b52fc544fe4924cb0b717a", alt: "", src: o })), i("div", { key: "e9d1fe5c09d75e5aae3f0c8e5e28874b282cf690", class: "lightbox__file-info" }, i("swirl-text", { key: "a9b5b34b8de61f3937d929a415407a9d7fc18daa", truncate: !0, weight: "semibold" }, e), i("swirl-text", { key: "ac4d13979b2ebccf5eb29f7827344c3c20708a03", color: "subdued", size: "sm", truncate: !0 }, a))), s && i("swirl-separator", { key: "39558ad36c6592edbd25ae21c4fcd6ddd5f6dd91" }), i("swirl-action-list", { key: "255a9c3b034636dc70067f3dcf80587d668eb466" }, this.downloadButtonEnabled && i("swirl-action-list-item", { key: "cda98f2996dd262eba8ceb262ebf3dabca711f7f", icon: "<swirl-icon-download></swirl-icon-download>", label: this.downloadButtonLabel, onClick: this.onDownloadButtonClick }), i("slot", { key: "36e0b3bcd81b1cf8548d8412c69adcef63ad447f", name: "menu-items" }))))));
|
|
165
165
|
}
|
|
166
166
|
get el() {
|
|
167
|
-
return
|
|
167
|
+
return f(this);
|
|
168
168
|
}
|
|
169
169
|
static get watchers() {
|
|
170
170
|
return {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { r as l, h as
|
|
1
|
+
import { r as l, h as e, H as r } from "./index.5395ee70.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const s = ':host{display:block}:host *{box-sizing:border-box}.swirl-list{line-height:var(--s-line-height-base)}.swirl-list ul,.swirl-list ol{margin:0;padding:0;list-style-position:outside;list-style-type:none}.swirl-list ul li{padding-left:1.5rem}.swirl-list ul li:before{display:inline-block;width:1.5rem;margin-left:-1.5rem;text-align:center;content:"\u2022"}.swirl-list ol{counter-reset:item}.swirl-list ol ol{counter-reset:letter}.swirl-list ol ol li:before{content:counter(letter, lower-alpha) ".";counter-increment:letter}.swirl-list ol li{padding-left:1.5rem}.swirl-list ol li:before{display:inline-block;min-width:1.5rem;margin-left:-1.5rem;padding-right:var(--s-space-8);text-align:right;content:counter(item) ".";counter-increment:item;font-variant-numeric:tabular-nums}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.swirl-list{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}', n = s, o = class {
|
|
5
|
-
constructor(
|
|
6
|
-
l(this,
|
|
5
|
+
constructor(i) {
|
|
6
|
+
l(this, i);
|
|
7
7
|
}
|
|
8
8
|
componentDidRender() {
|
|
9
9
|
Array.from(this.containerEl.children).some((t) => !["UL", "OL"].includes(t.tagName)) && console.warn("[SwirlList] Only ul and ol elements are allowed as direct children of <swirl-list />.");
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return
|
|
12
|
+
return e(r, { key: "1b4fc4d6df961d2d93bc0107f2e566f540ad15c9" }, e("div", { key: "e78bbfc034056b509d65868448fe42e801190691", class: "swirl-list", ref: (i) => this.containerEl = i }, e("slot", { key: "04bb4f61b3c8877d59abb8c3d0f4d5e4888f104f" })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
o.style = n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, f as d, h as i, H as l, g as h } from "./index.
|
|
1
|
+
import { r, f as d, h as i, H as l, g as h } from "./index.5395ee70.js";
|
|
2
2
|
import { c as u } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import { c, p } from "./utils-877a768f.c277f897.js";
|
|
4
4
|
import "react";
|
|
@@ -67,7 +67,7 @@ const m = ":host{display:block}:host *{box-sizing:border-box}.menu-item--expande
|
|
|
67
67
|
const e = u("menu-item", {
|
|
68
68
|
"menu-item--expanded": this.expanded
|
|
69
69
|
});
|
|
70
|
-
return i(l, { key: "
|
|
70
|
+
return i(l, { key: "518d983a0daac39e551f9c8e432901899b54719a" }, i("div", { key: "fd5e33da6431b6e126035f7e47bb9f7093cda15c", class: e }, ((t = this.parentMenu) == null ? void 0 : t.variant) === "selection" ? this.renderOptionListItem() : this.renderActionListItem(), i("slot", { key: "7074af5568c9df09939c8ddfab7a7cf0efc2cd58", onSlotchange: this.onSlotChange })));
|
|
71
71
|
}
|
|
72
72
|
get el() {
|
|
73
73
|
return h(this);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as d, c, h as o, H as b, g as p } from "./index.
|
|
1
|
+
import { r as d, c, h as o, H as b, g as p } from "./index.5395ee70.js";
|
|
2
2
|
import { c as v, a as f, o as w, s as g, f as y } from "./floating-ui.dom.esm-bef21834.ec4a9cbf.js";
|
|
3
3
|
import { c as M } from "./index-267776a4.6beb4f4b.js";
|
|
4
4
|
import { q as a, c as l, p as h, i as I, b as x } from "./utils-877a768f.c277f897.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as f, c as
|
|
1
|
+
import { r as f, c as h, h as a, H as p, g as u } from "./index.5395ee70.js";
|
|
2
2
|
import { d as m, e as b } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
3
3
|
import { c as v } from "./index-267776a4.6beb4f4b.js";
|
|
4
|
-
import { c as
|
|
4
|
+
import { c as g } from "./focus-trap.esm-49c9613c.db20abcc.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
const
|
|
7
|
+
const _ = `: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(
|
|
8
8
|
--s-surface-overlay-default
|
|
9
9
|
);--swirl-resource-list-item-background-hovered:var(
|
|
10
10
|
--s-surface-overlay-hovered
|
|
@@ -17,12 +17,12 @@ const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghos
|
|
|
17
17
|
var(--swirl-modal-max-secondary-content-width)
|
|
18
18
|
)}.modal--has-secondary-content:not(.modal--has-header-tools):not(.modal--hide-secondary-content-borders) .modal__header{border-bottom-color:var(--s-border-default)}.modal--has-secondary-content.modal--has-header-tools:not(.modal--hide-secondary-content-borders) .modal__header-tools{border-bottom-color:var(--s-border-default)}.modal--has-secondary-content.modal--has-custom-footer:not(.modal--hide-secondary-content-borders) .modal__custom-footer{border-top:var(--s-border-width-default) solid var(--s-border-default)}.modal--has-secondary-content:not(.modal--has-custom-footer):not(.modal--hide-secondary-content-borders) .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-width:calc(100% - var(--swirl-modal-max-secondary-content-width));max-height:none;flex-basis:calc(100% - var(--swirl-modal-max-secondary-content-width))}}.modal--has-secondary-content .modal__secondary-content{display:block}.modal__main-content{display:flex;flex-direction:column;overflow-y:auto;flex-grow:1}.modal__sidebar{display:none}.modal--has-sidebar-content .modal__body{max-width:calc(
|
|
19
19
|
var(--swirl-modal-max-width) + var(--swirl-modal-sidebar-width)
|
|
20
|
-
)}@media (min-width: 768px){.modal--has-sidebar-content .modal__sidebar{display:flex;flex-direction:column;overflow-y:auto;flex-shrink:0;width:var(--swirl-modal-sidebar-width);border-right:var(--s-border-width-default) solid var(--s-border-default)}.modal--has-sidebar-content .modal__sidebar .modal__sidebar-header{border-bottom:var(--s-border-width-default) solid transparent}.modal--has-sidebar-content .modal__sidebar .modal__sidebar-header .modal__sidebar-heading{display:flex;align-items:center;height:var(--swirl-modal-header-height);padding-top:var(--s-space-12);padding-right:var(--s-space-24);padding-bottom:var(--s-space-12);padding-left:var(--s-space-24)}.modal--has-sidebar-content .modal__sidebar .modal__sidebar-content{display:block;padding-left:var(--s-space-24);padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-top:var(--s-space-16)
|
|
20
|
+
)}@media (min-width: 768px){.modal--has-sidebar-content .modal__sidebar{display:flex;flex-direction:column;overflow-y:auto;flex-shrink:0;width:var(--swirl-modal-sidebar-width);border-right:var(--s-border-width-default) solid var(--s-border-default)}.modal--has-sidebar-content .modal__sidebar .modal__sidebar-header{border-bottom:var(--s-border-width-default) solid transparent}.modal--has-sidebar-content .modal__sidebar .modal__sidebar-header .modal__sidebar-heading{display:flex;align-items:center;height:var(--swirl-modal-header-height);padding-top:var(--s-space-12);padding-right:var(--s-space-24);padding-bottom:var(--s-space-12);padding-left:var(--s-space-24)}.modal--has-sidebar-content .modal__sidebar .modal__sidebar-content{display:block;flex-grow:1;overflow-y:auto}}@media (min-width: 992px){.modal--has-sidebar-content .modal__primary-content{flex-basis:calc(100% - 20rem)}}.modal--sidebar-padded .modal__sidebar .modal__sidebar-content{padding-left:var(--s-space-24);padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-top:var(--s-space-16)}@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--scrolled .modal__custom-header{border-bottom-color:var(--s-border-default)}}@media (min-width: 768px){.modal--sidebar-scrolled .modal__sidebar .modal__sidebar-header{border-bottom-color:var(--s-border-default)}}.modal--has-sidebar-footer.modal--sidebar-footer-padded .modal__sidebar-footer{padding:var(--swirl-modal-footer-padding-small)}@media (min-width: 768px){.modal--has-sidebar-footer.modal--sidebar-footer-padded .modal__sidebar-footer{padding:var(--swirl-modal-footer-padding-large)}}@media (min-width: 768px){.modal--sidebar-scrollable .modal__sidebar-content{padding-bottom:0 !important}}.modal--sidebar-scrollable:not(.modal--sidebar-scrolled-down).modal--has-sidebar-footer .modal__sidebar-footer{border-top:var(--s-border-width-default) solid var(--s-border-default)}.modal__backdrop{position:fixed;background-color:rgba(0, 0, 0, 0.2);inset:0}.modal__body{--swirl-card-background-default:var(--s-surface-overlay-default);--swirl-card-background-hovered:var(--s-surface-overlay-hovered);--swirl-card-background-pressed:var(--s-surface-overlay-pressed);--swirl-accordion-item-toggle-default:var(--s-surface-overlay-default);--swirl-accordion-item-toggle-hovered:var(--s-surface-overlay-hovered);--swirl-accordion-item-toggle-pressed:var(--s-surface-overlay-pressed);position:relative;z-index:var(--s-z-40);display:flex;flex-direction:row;overflow:hidden;width:100vw;height:var(--swirl-modal-view-height);background-color:var(--s-surface-overlay-default)}@media (min-width: 768px){.modal__body{width:90vw;max-width:var(--swirl-modal-max-width);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:var(--swirl-modal-header-height);padding-top:var(--s-space-12);padding-right:var(--s-space-24);padding-bottom:var(--s-space-12);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{display:none;flex-shrink:0;border-bottom:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 768px){.modal__custom-header{border-bottom-color:transparent}}.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;overflow-y:auto;flex-grow:1;flex-basis:100%;flex-direction:column}.modal__content{overflow-x:hidden;overflow-y:auto;height:100%}.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:var(--swirl-modal-max-secondary-content-width);max-height:none;padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:0;flex-basis:50%;flex-grow:1}}.modal__custom-footer{flex-shrink:0}.modal__controls{display:flex;padding:var(--swirl-modal-footer-padding-small);flex-shrink:0;justify-content:flex-end}@media (min-width: 768px){.modal__controls{padding:var(--swirl-modal-footer-padding-large)}}.modal--has-secondary-content.modal--has-sidebar-content .modal__body{max-width:calc(
|
|
21
21
|
var(--swirl-modal-max-width) + var(--swirl-modal-sidebar-width) +
|
|
22
22
|
var(--swirl-modal-max-secondary-content-width)
|
|
23
|
-
)}@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)}}`,
|
|
24
|
-
constructor(
|
|
25
|
-
f(this,
|
|
23
|
+
)}@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)}}`, y = _, w = class {
|
|
24
|
+
constructor(e) {
|
|
25
|
+
f(this, e), this.modalClose = h(this, "modalClose", 7), this.modalOpen = h(this, "modalOpen", 7), this.primaryAction = h(this, "primaryAction", 7), this.requestModalClose = h(this, "requestModalClose", 7), this.secondaryAction = h(this, "secondaryAction", 7), this.onKeyDown = (o) => {
|
|
26
26
|
o.code === "Escape" && (o.stopImmediatePropagation(), this.close());
|
|
27
27
|
}, this.onBackdropClick = () => {
|
|
28
28
|
this.close();
|
|
@@ -35,32 +35,32 @@ const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghos
|
|
|
35
35
|
}, this.determineScrollStatus = () => {
|
|
36
36
|
this.determineMainScrollStatus(), this.determineSidebarScrollStatus();
|
|
37
37
|
}, this.determineMainScrollStatus = () => {
|
|
38
|
-
var r, i, l, n, c
|
|
39
|
-
const o = ((r = this.scrollContainer) == null ? void 0 : r.scrollTop) > 0, d = Math.ceil(((
|
|
40
|
-
o !== this.scrolled && (this.scrolled = o), d !== this.scrolledDown && (this.scrolledDown = d),
|
|
38
|
+
var r, s, i, l, n, c;
|
|
39
|
+
const o = ((r = this.scrollContainer) == null ? void 0 : r.scrollTop) > 0, d = Math.ceil(((s = this.scrollContainer) == null ? void 0 : s.scrollTop) + ((i = this.scrollContainer) == null ? void 0 : i.offsetHeight)) >= ((l = this.scrollContainer) == null ? void 0 : l.scrollHeight), t = ((n = this.scrollContainer) == null ? void 0 : n.scrollHeight) > ((c = this.scrollContainer) == null ? void 0 : c.offsetHeight);
|
|
40
|
+
o !== this.scrolled && (this.scrolled = o), d !== this.scrolledDown && (this.scrolledDown = d), t !== this.scrollable && (this.scrollable = t);
|
|
41
41
|
}, this.determineSidebarScrollStatus = () => {
|
|
42
|
-
var
|
|
43
|
-
const o = ((
|
|
44
|
-
o !== this.sidebarScrolled && (this.sidebarScrolled = o);
|
|
45
|
-
}, 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.minHeight = void 0, this.maxWidth = void 0, this.padded = !0, this.primaryActionLabel = void 0, this.secondaryActionLabel = void 0, this.variant = "default", this.contentGap = void 0, this.hideSecondaryContent = void 0, this.primaryContentMaxWidth = void 0, this.secondaryContentMaxWidth = void 0, this.primaryContentFlex = void 0, this.secondaryContentFlex = void 0, this.hideSecondaryContentBorders = void 0, this.secondaryContentPadding = void 0, this.secondaryContentPaddingBlockEnd = void 0, this.secondaryContentPaddingBlockStart = void 0, this.secondaryContentPaddingInlineEnd = void 0, this.secondaryContentPaddingInlineStart = void 0, this.sidebarLabel = void 0, this.hideSidebarContent = void 0, 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.sidebarScrolled = !1, this.
|
|
42
|
+
var r, s, i, l, n, c;
|
|
43
|
+
const o = ((r = this.sidebarScrollContainer) == null ? void 0 : r.scrollTop) > 0, d = Math.ceil(((s = this.sidebarScrollContainer) == null ? void 0 : s.scrollTop) + ((i = this.sidebarScrollContainer) == null ? void 0 : i.offsetHeight)) >= ((l = this.sidebarScrollContainer) == null ? void 0 : l.scrollHeight), t = ((n = this.sidebarScrollContainer) == null ? void 0 : n.scrollHeight) > ((c = this.sidebarScrollContainer) == null ? void 0 : c.offsetHeight);
|
|
44
|
+
o !== this.sidebarScrolled && (this.sidebarScrolled = o), d !== this.sidebarScrolledDown && (this.sidebarScrolledDown = d), t !== this.sidebarScrollable && (this.sidebarScrollable = t);
|
|
45
|
+
}, 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.minHeight = void 0, this.maxWidth = void 0, this.padded = !0, this.primaryActionLabel = void 0, this.secondaryActionLabel = void 0, this.variant = "default", this.contentGap = void 0, this.hideSecondaryContent = void 0, this.primaryContentMaxWidth = void 0, this.secondaryContentMaxWidth = void 0, this.primaryContentFlex = void 0, this.secondaryContentFlex = void 0, this.hideSecondaryContentBorders = void 0, this.secondaryContentPadding = void 0, this.secondaryContentPaddingBlockEnd = void 0, this.secondaryContentPaddingBlockStart = void 0, this.secondaryContentPaddingInlineEnd = void 0, this.secondaryContentPaddingInlineStart = void 0, this.sidebarLabel = void 0, this.sidebarPadded = !0, this.sidebarFooterPadded = !0, this.hideSidebarContent = void 0, 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, this.hasSidebarContent = void 0, this.hasSidebarFooter = void 0, this.sidebarScrolled = !1, this.sidebarScrolledDown = !1, this.sidebarScrollable = !1;
|
|
46
46
|
}
|
|
47
47
|
componentDidLoad() {
|
|
48
|
-
this.focusTrap =
|
|
48
|
+
this.focusTrap = g(this.modalEl, {
|
|
49
49
|
allowOutsideClick: !0,
|
|
50
50
|
tabbableOptions: {
|
|
51
|
-
getShadowRoot: (
|
|
51
|
+
getShadowRoot: (e) => e.shadowRoot
|
|
52
52
|
}
|
|
53
53
|
}), this.determineScrollStatus(), queueMicrotask(() => {
|
|
54
|
-
this.updateCustomFooterStatus(), this.updateCustomHeaderStatus(), this.updateHeaderToolsStatus(), this.updateSecondaryContentStatus(), this.updateSidebarContentStatus();
|
|
54
|
+
this.updateCustomFooterStatus(), this.updateCustomHeaderStatus(), this.updateHeaderToolsStatus(), this.updateSecondaryContentStatus(), this.updateSidebarContentStatus(), this.updateSidebarFooterStatus();
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
componentDidRender() {
|
|
58
|
-
var
|
|
59
|
-
(
|
|
58
|
+
var e;
|
|
59
|
+
(e = this.focusTrap) == null || e.updateContainerElements(this.modalEl);
|
|
60
60
|
}
|
|
61
61
|
disconnectedCallback() {
|
|
62
|
-
var
|
|
63
|
-
(
|
|
62
|
+
var e;
|
|
63
|
+
(e = this.focusTrap) == null || e.deactivate(), this.unlockBodyScroll();
|
|
64
64
|
}
|
|
65
65
|
onWindowResize() {
|
|
66
66
|
this.determineScrollStatus();
|
|
@@ -72,8 +72,8 @@ const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghos
|
|
|
72
72
|
this.focusTrap.activate(), this.handleAutoFocus();
|
|
73
73
|
}, 200);
|
|
74
74
|
}
|
|
75
|
-
async close(
|
|
76
|
-
this.closing || (this.requestModalClose.emit(), !(!this.closable && !
|
|
75
|
+
async close(e) {
|
|
76
|
+
this.closing || (this.requestModalClose.emit(), !(!this.closable && !e) && (this.closing = !0, this.unlockBodyScroll(), setTimeout(() => {
|
|
77
77
|
this.focusTrap.deactivate(), this.isOpen = !1, this.modalClose.emit(), this.closing = !1;
|
|
78
78
|
}, 150)));
|
|
79
79
|
}
|
|
@@ -92,9 +92,12 @@ const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghos
|
|
|
92
92
|
updateSidebarContentStatus() {
|
|
93
93
|
this.hasSidebarContent = Boolean(this.el.querySelector('[slot="sidebar-content"]'));
|
|
94
94
|
}
|
|
95
|
+
updateSidebarFooterStatus() {
|
|
96
|
+
this.hasSidebarFooter = Boolean(this.el.querySelector('[slot="sidebar-footer"]'));
|
|
97
|
+
}
|
|
95
98
|
handleAutoFocus() {
|
|
96
|
-
var
|
|
97
|
-
(
|
|
99
|
+
var e;
|
|
100
|
+
(e = this.modalEl.querySelector("input[autofocus]")) == null || e.focus();
|
|
98
101
|
}
|
|
99
102
|
lockBodyScroll() {
|
|
100
103
|
m(this.scrollContainer), m(this.sidebarScrollContainer);
|
|
@@ -103,7 +106,7 @@ const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghos
|
|
|
103
106
|
b(this.scrollContainer), b(this.sidebarScrollContainer);
|
|
104
107
|
}
|
|
105
108
|
render() {
|
|
106
|
-
const
|
|
109
|
+
const e = Boolean(this.primaryActionLabel) || Boolean(this.secondaryActionLabel), o = v("modal", `modal--variant-${this.variant}`, {
|
|
107
110
|
"modal--closing": this.closing,
|
|
108
111
|
"modal--has-custom-footer": this.hasCustomFooter,
|
|
109
112
|
"modal--has-custom-header": this.hasCustomHeader,
|
|
@@ -113,22 +116,27 @@ const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghos
|
|
|
113
116
|
"modal--padded": this.padded,
|
|
114
117
|
"modal--scrollable": this.scrollable,
|
|
115
118
|
"modal--scrolled": this.scrolled,
|
|
116
|
-
"modal--sidebar-scrolled": this.sidebarScrolled,
|
|
117
119
|
"modal--scrolled-down": this.scrolledDown,
|
|
118
120
|
"modal--hide-secondary-content-borders": this.hideSecondaryContentBorders,
|
|
119
|
-
"modal--has-sidebar-content": this.hasSidebarContent && !this.hideSidebarContent
|
|
121
|
+
"modal--has-sidebar-content": this.hasSidebarContent && !this.hideSidebarContent,
|
|
122
|
+
"modal--sidebar-padded": this.sidebarPadded,
|
|
123
|
+
"modal--has-sidebar-footer": this.hasSidebarFooter && this.hasSidebarContent && !this.hideSidebarContent,
|
|
124
|
+
"modal--sidebar-footer-padded": this.sidebarFooterPadded,
|
|
125
|
+
"modal--sidebar-scrolled": this.sidebarScrolled,
|
|
126
|
+
"modal--sidebar-scrolled-down": this.sidebarScrolledDown,
|
|
127
|
+
"modal--sidebar-scrollable": this.sidebarScrollable
|
|
120
128
|
});
|
|
121
|
-
return
|
|
129
|
+
return a(p, { key: "aec418b418bd08f4f9f9c43a94418addb144fa2e" }, a("section", { key: "843975dec3e763ab2440253435164ec23b7dabb6", "aria-hidden": String(!this.isOpen), "aria-label": this.label, "aria-modal": "true", class: o, onKeyDown: this.onKeyDown, role: "dialog", ref: (d) => this.modalEl = d }, a("div", { key: "7644f19a4992014fbab97036aac7a1e968afd215", class: "modal__backdrop", onClick: this.onBackdropClick }), a("div", { key: "b7d6307b15a51442015ffc65eba4811bccd35533", class: "modal__body", style: {
|
|
122
130
|
"--swirl-modal-max-height": this.maxHeight,
|
|
123
131
|
"--swirl-modal-height": this.height,
|
|
124
132
|
minHeight: this.minHeight,
|
|
125
133
|
maxWidth: this.maxWidth
|
|
126
|
-
} },
|
|
134
|
+
} }, a("aside", { key: "6c51ad1aabe235993f45f64d507a1e4a2fc80856", class: "modal__sidebar" }, this.sidebarLabel && a("header", { key: "8853e05c50cc9be95c6720dec137b6c24d92941a", class: "modal__sidebar-header" }, a("swirl-heading", { key: "d0f95a1726b846f5ab98bcd2554f9a17c00af466", as: "h3", class: "modal__sidebar-heading", level: 3, text: this.sidebarLabel })), a("div", { key: "28265dc624ebe255ba75de9fe93a6d71e43bc77a", class: "modal__sidebar-content", onScroll: this.determineSidebarScrollStatus, ref: (d) => this.sidebarScrollContainer = d }, a("slot", { key: "36c5dcc1fcb62a47bda0f3f316207ab107532377", name: "sidebar-content" })), a("div", { key: "6b1cdf5d225e8050b2b66a47f1209bd6f1eaf6d2", class: "modal__sidebar-footer" }, a("slot", { key: "3eb038cb420eb837158697fcf9d128f881e2284e", name: "sidebar-footer" }))), a("div", { key: "b78310163eff4c512841a31ec0039c50f5b93238", class: "modal__main-content" }, a("header", { key: "eb70fdff54e7d905ace3271e15f5f3aaae64b2fd", class: "modal__custom-header" }, a("slot", { key: "c9be866c718e002f60285e62142bc62b40d3ba05", name: "custom-header" })), (!this.hideLabel || !this.hideCloseButton) && a("header", { key: "1efae1ab6fe93485d68a7c655c7cf706a5690c55", class: "modal__header" }, a("div", { key: "4237aa094d7779c1c647c0d2146ecd5be7743880", class: "modal__header-bar" }, !this.hideCloseButton && a("swirl-button", { key: "179103c9c5a40a87315fd49022dc6df91682f638", 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 && a("swirl-heading", { key: "984516bc559cedb9dbcf67aed0aa8b4539edc3de", as: "h2", class: "modal__heading", level: 3, text: this.label }))), a("div", { key: "d02275111bb33c4d4f8f0f74eb3bc7f8d0b4ae26", class: "modal__content-container", style: {
|
|
127
135
|
gap: this.contentGap ? `var(--s-space-${this.contentGap})` : void 0
|
|
128
|
-
} },
|
|
136
|
+
} }, a("div", { key: "e8dc0c23d4f05ea777ae5d29a6141d3aaf07ee27", class: "modal__primary-content", style: {
|
|
129
137
|
maxWidth: this.primaryContentMaxWidth,
|
|
130
138
|
flex: this.primaryContentFlex
|
|
131
|
-
} },
|
|
139
|
+
} }, a("div", { key: "2f678bafc779c8be76eea7cbc11812ca49c9ec48", class: "modal__header-tools" }, a("slot", { key: "fec0f00564b96559f4bea908d408720fc8f830c7", name: "header-tools" })), a("div", { key: "bb57e7c6dd6fc6c095ca43e6d64de901eb7d1b04", class: "modal__content", onScroll: this.determineMainScrollStatus, ref: (d) => this.scrollContainer = d }, a("slot", { key: "ac1e587f9d4206f7814c4a6ab8bbb71d220f8db0" }))), a("div", { key: "c7e1c375d0da3a62a908e796517cd10f1b235c33", class: "modal__secondary-content", style: {
|
|
132
140
|
maxWidth: this.secondaryContentMaxWidth,
|
|
133
141
|
flex: this.secondaryContentFlex,
|
|
134
142
|
padding: Boolean(this.secondaryContentPadding) ? `var(--s-space-${this.secondaryContentPadding})` : void 0,
|
|
@@ -136,13 +144,13 @@ const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghos
|
|
|
136
144
|
paddingBlockStart: Boolean(this.secondaryContentPaddingBlockStart) ? `var(--s-space-${this.secondaryContentPaddingBlockStart})` : void 0,
|
|
137
145
|
paddingInlineEnd: Boolean(this.secondaryContentPaddingInlineEnd) ? `var(--s-space-${this.secondaryContentPaddingInlineEnd})` : void 0,
|
|
138
146
|
paddingInlineStart: Boolean(this.secondaryContentPaddingInlineStart) ? `var(--s-space-${this.secondaryContentPaddingInlineStart})` : void 0
|
|
139
|
-
} },
|
|
147
|
+
} }, a("slot", { key: "8815b4ac74a0c2cf9b3cc74d77ff210b414015e4", name: "secondary-content" }))), a("div", { key: "ae1e2c930dae5fa68678d23724547a35d456c2d5", class: "modal__custom-footer" }, a("slot", { key: "ae91dccae3ee6e740423d5ffe18c99251230fc90", name: "custom-footer" })), e && a("footer", { key: "8ba9065b73ea307a6632991b40a426646ba072c7", class: "modal__controls" }, a("swirl-button-group", { key: "7b0bd5ff64638c22e42c1a591860c87386c31c8a", wrap: !0 }, this.secondaryActionLabel && a("swirl-button", { key: "5444e1ee2b1bd3571e936118777a9bac204a6b33", label: this.secondaryActionLabel, onClick: this.onSecondaryAction }), this.primaryActionLabel && a("swirl-button", { key: "89ec9f8252df7eaf7679ee45e17bed4b75e7ab91", intent: "primary", label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" })))))));
|
|
140
148
|
}
|
|
141
149
|
get el() {
|
|
142
150
|
return u(this);
|
|
143
151
|
}
|
|
144
152
|
};
|
|
145
|
-
|
|
153
|
+
w.style = y;
|
|
146
154
|
export {
|
|
147
|
-
|
|
155
|
+
w as swirl_modal
|
|
148
156
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as t, h as s, H as e } from "./index.5395ee70.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const a = ":host{display:block;width:100%}: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);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)}}", o = a, l = class {
|
|
5
|
-
constructor(
|
|
6
|
-
|
|
5
|
+
constructor(i) {
|
|
6
|
+
t(this, i), this.label = void 0, this.separatorSpacing = "4", this.spacing = "0", this.hasSeparator = !1;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return e
|
|
9
|
+
return s(e, { key: "f2c9fbc389e506b98ce2c7235624be0725fff5f0" }, this.hasSeparator && s("swirl-separator", { key: "cdb8ad7962b90c409655cab1c68214e45ee58021", spacing: this.separatorSpacing }), s("div", { key: "a1ab529bce3283a2e5b6297a3d8dc0aa804d0305", "aria-labelledby": "label", class: "option-list-section", role: "group" }, s("span", { key: "cf59434d2ebfeaababf028ad6093cb11b26d1f3d", class: "option-list-section__label", id: "label", part: "option-list-section__label" }, this.label), s("swirl-stack", { key: "823069638f8df03243a07b1e72f77089ad69aad5", spacing: this.spacing, align: "stretch" }, s("slot", { key: "fe94115993c24004db5f6c59313c1d137127fd0f" }))));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
l.style = o;
|
package/dist/{swirl-option-list_2.entry.8f78b039.js → swirl-option-list_2.entry.13929273.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as c, c as o, h as a, H as d, g } from "./index.
|
|
1
|
+
import { r as c, c as o, h as a, H as d, g } from "./index.5395ee70.js";
|
|
2
2
|
import { S as m } from "./sortable.esm-0bfddf0c.953ca6a6.js";
|
|
3
3
|
import { c as n, q as l } from "./utils-877a768f.c277f897.js";
|
|
4
4
|
import { c as f } from "./index-267776a4.6beb4f4b.js";
|
|
@@ -181,7 +181,7 @@ const v = ".sc-swirl-option-list-h{display:block}.sc-swirl-option-list-h *.sc-sw
|
|
|
181
181
|
}
|
|
182
182
|
render() {
|
|
183
183
|
const e = this.multiSelect ? "true" : void 0, t = Boolean(this.dragging) ? 0 : void 0;
|
|
184
|
-
return a(d, { key: "
|
|
184
|
+
return a(d, { key: "e2043eae31b5fa8b1b2bbb8f02b145cbcd734eea" }, a("swirl-visually-hidden", { key: "f30357419f086fcef2398256f8b9feb15bd04500", role: "alert" }, this.assistiveText), a("div", { key: "cc212004c477726f7f1169647ea7220067dff118", "aria-label": this.label, "aria-multiselectable": e, class: "option-list", id: this.optionListId, onClick: this.onClick, onKeyDown: this.onKeyDown, ref: (i) => this.listboxEl = i, role: "listbox", tabIndex: t }, a("slot", { key: "2c8686f965a824cd752860715db99b1810b59d26", onSlotchange: this.setSectionSeparator })));
|
|
185
185
|
}
|
|
186
186
|
get el() {
|
|
187
187
|
return g(this);
|
|
@@ -222,7 +222,7 @@ const I = ":host{display:inline-flex;max-width:100%}:host *{box-sizing:border-bo
|
|
|
222
222
|
}
|
|
223
223
|
render() {
|
|
224
224
|
const e = f("tag", `tag--icon-position-${this.iconPosition}`, `tag--intent-${this.intent}`, `tag--size-${this.size}`, `tag--variant-${this.variant}`);
|
|
225
|
-
return a(d, { key: "
|
|
225
|
+
return a(d, { key: "3d0e25cca593ea8a22588921434739b16383160d" }, a("span", { key: "d2d6cda124a02a4c99aa00d7ba4dab6455bd1a07", class: e, part: "tag" }, this.icon && a("span", { key: "43fa32eab04a5e66d944445a4234049476546045", class: "tag__icon", innerHTML: this.icon, ref: (t) => this.iconEl = t }), a("span", { key: "301330c0dfa1499fdae2e58d851223925664a036", class: "tag__label" }, this.label), this.removable && a("button", { key: "b19dbc863f23b8f10d69c8337a361d2b5b9b274b", "aria-label": this.removalButtonLabel, class: "tag__removal-button", onClick: this.onRemove, tabIndex: this.el.ariaHidden === "true" ? -1 : void 0, type: "button" }, a("swirl-icon-close", { key: "8758d821d443a124303daaf6aaed89ed39fee34f", size: 16 }))));
|
|
226
226
|
}
|
|
227
227
|
get el() {
|
|
228
228
|
return g(this);
|