@getflip/swirl-components-react 0.294.0 → 0.296.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.e96983ef.js → file-manager.entry.1e2d6eba.js} +3 -3
- package/dist/index.eec3fb37.js +3466 -0
- package/dist/sortable.esm-0bfddf0c.953ca6a6.js +1240 -0
- package/dist/{swirl-accordion-item.entry.eda70e6e.js → swirl-accordion-item.entry.dabea9e7.js} +2 -2
- package/dist/{swirl-accordion.entry.768cf3ea.js → swirl-accordion.entry.d3b1cf05.js} +5 -5
- package/dist/swirl-action-list-section.entry.cdd8fdbb.js +15 -0
- package/dist/{swirl-action-list_2.entry.88cfb855.js → swirl-action-list_2.entry.b9f9f075.js} +2 -2
- package/dist/{swirl-app-bar.entry.77a6363f.js → swirl-app-bar.entry.07bda75f.js} +1 -1
- package/dist/{swirl-app-icon.entry.0a055290.js → swirl-app-icon.entry.34503f6a.js} +4 -4
- package/dist/{swirl-app-layout_5.entry.cefd7278.js → swirl-app-layout_5.entry.2d9354a6.js} +9 -9
- package/dist/{swirl-autocomplete.entry.07bad0c9.js → swirl-autocomplete.entry.d267d517.js} +1 -1
- package/dist/{swirl-avatar-group.entry.bc20af82.js → swirl-avatar-group.entry.fffaf169.js} +2 -2
- package/dist/{swirl-avatar.entry.76298bfa.js → swirl-avatar.entry.fe0b1445.js} +1 -1
- package/dist/{swirl-badge.entry.78dee407.js → swirl-badge.entry.09af4fc9.js} +1 -1
- package/dist/{swirl-banner.entry.cacb861a.js → swirl-banner.entry.a5e096e0.js} +1 -1
- package/dist/{swirl-box.entry.10481ebf.js → swirl-box.entry.e995b8bd.js} +1 -1
- package/dist/{swirl-button-group.entry.0136aeb7.js → swirl-button-group.entry.687abfbd.js} +1 -1
- package/dist/{swirl-button.entry.13cd2ca0.js → swirl-button.entry.d0378ffa.js} +1 -1
- package/dist/{swirl-card.entry.5b2a5b8f.js → swirl-card.entry.b61950ff.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.607b7e51.js → swirl-carousel-slide.entry.7fa64620.js} +2 -2
- package/dist/{swirl-carousel.entry.677f9de3.js → swirl-carousel.entry.fd098a88.js} +1 -1
- package/dist/{swirl-checkbox.entry.7d693a96.js → swirl-checkbox.entry.b99e1aa4.js} +1 -1
- package/dist/{swirl-chip.entry.feab3092.js → swirl-chip.entry.2fe339f6.js} +1 -1
- package/dist/{swirl-color-input.entry.79b343c3.js → swirl-color-input.entry.d069ad73.js} +3 -3
- package/dist/{swirl-columns.entry.42e657c1.js → swirl-columns.entry.41871dd1.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +66 -57
- package/dist/{swirl-console-layout.entry.f0ec7a44.js → swirl-console-layout.entry.2da2a3d9.js} +4 -4
- package/dist/{swirl-date-input.entry.5884aae7.js → swirl-date-input.entry.b6aaeb6f.js} +2 -2
- package/dist/{swirl-date-picker_2.entry.409dd7f3.js → swirl-date-picker_2.entry.66563279.js} +3 -3
- package/dist/{swirl-description-list-item.entry.c0db6641.js → swirl-description-list-item.entry.3f7988a0.js} +5 -5
- package/dist/swirl-description-list.entry.758b373b.js +15 -0
- package/dist/{swirl-dialog.entry.3a0d63d7.js → swirl-dialog.entry.adedc56f.js} +1 -1
- package/dist/swirl-emoji-clap.entry.ab866fe7.js +17 -0
- package/dist/swirl-emoji-happy.entry.bdfe979b.js +17 -0
- package/dist/{swirl-emoji-idea.entry.2ec943df.js → swirl-emoji-idea.entry.2ef3557c.js} +2 -2
- package/dist/swirl-emoji-love.entry.2f57ca1c.js +17 -0
- package/dist/swirl-emoji-sad.entry.87745ec8.js +17 -0
- package/dist/{swirl-emoji-thumbs-up.entry.5ba4e7d3.js → swirl-emoji-thumbs-up.entry.01f73309.js} +2 -2
- package/dist/swirl-emoji.entry.e39fc865.js +16 -0
- package/dist/{swirl-file-uploader.entry.82726e69.js → swirl-file-uploader.entry.3474d705.js} +3 -3
- package/dist/{swirl-file-viewer_8.entry.6169b07a.js → swirl-file-viewer_8.entry.719f8820.js} +8 -8
- package/dist/{swirl-form-control.entry.424173d8.js → swirl-form-control.entry.80e56cb6.js} +1 -1
- package/dist/{swirl-form-group.entry.0bd431db.js → swirl-form-group.entry.dac3f7cc.js} +1 -1
- package/dist/{swirl-heading.entry.2120cd10.js → swirl-heading.entry.dcd51511.js} +1 -1
- package/dist/{swirl-icon-add-moderator.entry.c0e12c04.js → swirl-icon-add-moderator.entry.74bc9582.js} +2 -2
- package/dist/{swirl-icon-add-photo.entry.8c7abecb.js → swirl-icon-add-photo.entry.9e74acb5.js} +5 -5
- package/dist/{swirl-icon-add-reaction.entry.ca5376b3.js → swirl-icon-add-reaction.entry.c62af82b.js} +8 -8
- package/dist/{swirl-icon-add_6.entry.2cab33d8.js → swirl-icon-add_6.entry.90cfb548.js} +12 -12
- package/dist/{swirl-icon-admin-panel-settings.entry.19f1ab22.js → swirl-icon-admin-panel-settings.entry.b8ffe89a.js} +2 -2
- package/dist/{swirl-icon-ai-filled.entry.2fa55a9e.js → swirl-icon-ai-filled.entry.0ca9c08f.js} +6 -6
- package/dist/{swirl-icon-ai.entry.bbf6d7d6.js → swirl-icon-ai.entry.fc21515a.js} +10 -10
- package/dist/{swirl-icon-apps.entry.8857f4f5.js → swirl-icon-apps.entry.ade7d7b8.js} +10 -10
- package/dist/{swirl-icon-arrow-back_5.entry.676138af.js → swirl-icon-arrow-back_5.entry.4c39cfbc.js} +19 -19
- package/dist/{swirl-icon-arrow-downward_2.entry.ef68c15e.js → swirl-icon-arrow-downward_2.entry.704416c1.js} +10 -10
- package/dist/{swirl-icon-arrow-left_4.entry.cace77e5.js → swirl-icon-arrow-left_4.entry.1c04a9cb.js} +9 -9
- package/dist/{swirl-icon-arrow-right-small.entry.28ecf44a.js → swirl-icon-arrow-right-small.entry.b7714c24.js} +7 -7
- package/dist/{swirl-icon-aspect-ratio.entry.bed13827.js → swirl-icon-aspect-ratio.entry.ff30503c.js} +5 -5
- package/dist/{swirl-icon-attachment.entry.2d958094.js → swirl-icon-attachment.entry.619ff776.js} +6 -6
- package/dist/{swirl-icon-bar-chart.entry.c56f678f.js → swirl-icon-bar-chart.entry.d44339e2.js} +7 -7
- package/dist/{swirl-icon-block.entry.8c6bf854.js → swirl-icon-block.entry.d3aa3623.js} +5 -5
- package/dist/{swirl-icon-bookmark-filled.entry.69c6d8d5.js → swirl-icon-bookmark-filled.entry.c95389d6.js} +6 -6
- package/dist/{swirl-icon-bookmark.entry.d7f48ae1.js → swirl-icon-bookmark.entry.eb7f46c8.js} +8 -8
- package/dist/{swirl-icon-cancel_4.entry.8c943e35.js → swirl-icon-cancel_4.entry.d5275545.js} +26 -26
- package/dist/{swirl-icon-chat-bubble.entry.325beaef.js → swirl-icon-chat-bubble.entry.d9974ca2.js} +5 -5
- package/dist/{swirl-icon-chats-filled.entry.19881d2f.js → swirl-icon-chats-filled.entry.a4b3ae89.js} +6 -6
- package/dist/{swirl-icon-chats.entry.3a354895.js → swirl-icon-chats.entry.29207a29.js} +8 -8
- package/dist/{swirl-icon-check-circle_2.entry.60e3cbb5.js → swirl-icon-check-circle_2.entry.0d85a918.js} +10 -10
- package/dist/{swirl-icon-check-small_3.entry.fc003bf9.js → swirl-icon-check-small_2.entry.f2ea22d2.js} +11 -24
- package/dist/swirl-icon-check-strong_2.entry.eefc4f05.js +32 -0
- package/dist/{swirl-icon-check.entry.52acb28c.js → swirl-icon-check.entry.38c30362.js} +2 -2
- package/dist/{swirl-icon-chevron-left.entry.00a4bb60.js → swirl-icon-chevron-left.entry.2faf2219.js} +6 -6
- package/dist/{swirl-icon-chevron-right.entry.70328028.js → swirl-icon-chevron-right.entry.8c365f7e.js} +5 -5
- package/dist/{swirl-icon-close-small.entry.44a01954.js → swirl-icon-close-small.entry.a422e709.js} +7 -7
- package/dist/{swirl-icon-close.entry.8cedb79f.js → swirl-icon-close.entry.7413a90b.js} +2 -2
- package/dist/{swirl-icon-cloud-upload.entry.2a942f65.js → swirl-icon-cloud-upload.entry.159ade9d.js} +5 -5
- package/dist/{swirl-icon-column.entry.97395b07.js → swirl-icon-column.entry.24b89eff.js} +6 -6
- package/dist/{swirl-icon-comment.entry.1dd1b049.js → swirl-icon-comment.entry.f57902a2.js} +6 -6
- package/dist/{swirl-icon-contrast.entry.46591012.js → swirl-icon-contrast.entry.6ac6e427.js} +5 -5
- package/dist/{swirl-icon-copy.entry.68459a6d.js → swirl-icon-copy.entry.c8ec95ce.js} +7 -7
- package/dist/{swirl-icon-crop.entry.3fc89dc6.js → swirl-icon-crop.entry.1994749d.js} +8 -8
- package/dist/{swirl-icon-dark-mode.entry.44a71334.js → swirl-icon-dark-mode.entry.486a6a51.js} +5 -5
- package/dist/{swirl-icon-date-range.entry.f221669b.js → swirl-icon-date-range.entry.73691043.js} +2 -2
- package/dist/{swirl-icon-delete.entry.1b2d3379.js → swirl-icon-delete.entry.907f0da3.js} +2 -2
- package/dist/{swirl-icon-deployed-code.entry.44e5a0c9.js → swirl-icon-deployed-code.entry.52ddebbc.js} +7 -7
- package/dist/{swirl-icon-description.entry.79442121.js → swirl-icon-description.entry.b4cf9e03.js} +5 -5
- package/dist/{swirl-icon-desktop.entry.05c7e89e.js → swirl-icon-desktop.entry.29288ceb.js} +7 -7
- package/dist/{swirl-icon-directory-filled.entry.4932f08f.js → swirl-icon-directory-filled.entry.acebf8e3.js} +8 -8
- package/dist/{swirl-icon-directory.entry.81ae2ce2.js → swirl-icon-directory.entry.74df9df7.js} +6 -6
- package/dist/{swirl-icon-discover.entry.3afb23ea.js → swirl-icon-discover.entry.33f95e16.js} +4 -4
- package/dist/{swirl-icon-dock-left.entry.62a2f814.js → swirl-icon-dock-left.entry.c9099da7.js} +6 -6
- package/dist/{swirl-icon-door-open.entry.abeff83b.js → swirl-icon-door-open.entry.5933fb09.js} +2 -2
- package/dist/{swirl-icon-dot.entry.d66b6197.js → swirl-icon-dot.entry.aa3f5960.js} +5 -5
- package/dist/{swirl-icon-double-arrow-right.entry.f1ed4d76.js → swirl-icon-double-arrow-right.entry.a9539629.js} +8 -8
- package/dist/{swirl-icon-download.entry.73f924e6.js → swirl-icon-download.entry.75ea9f1c.js} +2 -2
- package/dist/{swirl-icon-edit.entry.277eb653.js → swirl-icon-edit.entry.e14da711.js} +6 -6
- package/dist/{swirl-icon-emoji-mood.entry.28a120da.js → swirl-icon-emoji-mood.entry.a719f47a.js} +5 -5
- package/dist/{swirl-icon-emoji-satisfied.entry.fd99975e.js → swirl-icon-emoji-satisfied.entry.88f86b99.js} +8 -8
- package/dist/{swirl-icon-error_3.entry.7503a51a.js → swirl-icon-error_3.entry.0452418b.js} +14 -14
- package/dist/{swirl-icon-expand-more.entry.87fb8734.js → swirl-icon-expand-more.entry.8011e315.js} +4 -4
- package/dist/{swirl-icon-experiment.entry.32fe76a0.js → swirl-icon-experiment.entry.1bcde4cb.js} +6 -6
- package/dist/{swirl-icon-file.entry.3b9366df.js → swirl-icon-file.entry.3433f605.js} +4 -4
- package/dist/{swirl-icon-filter.entry.4bd24719.js → swirl-icon-filter.entry.6b59c1c3.js} +2 -2
- package/dist/{swirl-icon-folder.entry.bba48f07.js → swirl-icon-folder.entry.fa2c169c.js} +5 -5
- package/dist/{swirl-icon-format-h-one.entry.5a43e334.js → swirl-icon-format-h-one.entry.907daa49.js} +6 -6
- package/dist/{swirl-icon-gif_3.entry.eeddce66.js → swirl-icon-gif_3.entry.7a4a4cd4.js} +9 -9
- package/dist/{swirl-icon-group-add.entry.bf238638.js → swirl-icon-group-add.entry.22ab472d.js} +7 -7
- package/dist/{swirl-icon-group-assign.entry.3911f021.js → swirl-icon-group-assign.entry.60e1a6ae.js} +8 -8
- package/dist/{swirl-icon-groups-filled.entry.929074c7.js → swirl-icon-groups-filled.entry.6d6300af.js} +8 -8
- package/dist/{swirl-icon-groups.entry.d8447227.js → swirl-icon-groups.entry.d3760e76.js} +6 -6
- package/dist/{swirl-icon-hamburger-menu.entry.ba3890d7.js → swirl-icon-hamburger-menu.entry.8a3038f6.js} +5 -5
- package/dist/{swirl-icon-help.entry.410a3079.js → swirl-icon-help.entry.96133161.js} +8 -8
- package/dist/{swirl-icon-highlight.entry.607cb139.js → swirl-icon-highlight.entry.028e7bd6.js} +7 -7
- package/dist/{swirl-icon-history.entry.81b43d84.js → swirl-icon-history.entry.f5e1dbf7.js} +9 -9
- package/dist/{swirl-icon-home.entry.173b3eb4.js → swirl-icon-home.entry.819d5a05.js} +2 -2
- package/dist/{swirl-icon-image.entry.0f679735.js → swirl-icon-image.entry.2367808c.js} +7 -7
- package/dist/{swirl-icon-improve-text.entry.6a86bdf9.js → swirl-icon-improve-text.entry.2e962028.js} +9 -9
- package/dist/{swirl-icon-info.entry.d23931ab.js → swirl-icon-info.entry.0af4f5c9.js} +7 -7
- package/dist/{swirl-icon-insert-below.entry.713fba1d.js → swirl-icon-insert-below.entry.2c36666d.js} +5 -5
- package/dist/{swirl-icon-insert-on-top.entry.b9339926.js → swirl-icon-insert-on-top.entry.27bdff52.js} +7 -7
- package/dist/{swirl-icon-inventory-off.entry.9d527b31.js → swirl-icon-inventory-off.entry.fd2c85dc.js} +9 -9
- package/dist/{swirl-icon-inventory.entry.c5ca83a0.js → swirl-icon-inventory.entry.77648916.js} +5 -5
- package/dist/{swirl-icon-key.entry.302b85da.js → swirl-icon-key.entry.1267c5a4.js} +5 -5
- package/dist/{swirl-icon-keyboard-hide.entry.421068e6.js → swirl-icon-keyboard-hide.entry.7b11dff7.js} +8 -8
- package/dist/{swirl-icon-keyboard.entry.4f98fbb5.js → swirl-icon-keyboard.entry.af2bac7b.js} +7 -7
- package/dist/{swirl-icon-light-mode.entry.c083f57d.js → swirl-icon-light-mode.entry.8737d9e4.js} +7 -7
- package/dist/{swirl-icon-like.entry.61fae3ca.js → swirl-icon-like.entry.7c36fd5b.js} +7 -7
- package/dist/{swirl-icon-link.entry.113b6bde.js → swirl-icon-link.entry.b6912cb5.js} +8 -8
- package/dist/{swirl-icon-live.entry.653aa0bd.js → swirl-icon-live.entry.d5a59c4f.js} +5 -5
- package/dist/{swirl-icon-load.entry.38b63077.js → swirl-icon-load.entry.56a6f000.js} +7 -7
- package/dist/{swirl-icon-lock-open.entry.8001f17e.js → swirl-icon-lock-open.entry.0ced4ea4.js} +6 -6
- package/dist/{swirl-icon-lock-person.entry.f549b315.js → swirl-icon-lock-person.entry.7c3846e6.js} +6 -6
- package/dist/{swirl-icon-lock.entry.34c360bc.js → swirl-icon-lock.entry.3924bf31.js} +8 -8
- package/dist/{swirl-icon-login.entry.98ca24d8.js → swirl-icon-login.entry.a19f5030.js} +4 -4
- package/dist/{swirl-icon-logout.entry.69b94854.js → swirl-icon-logout.entry.288b90cc.js} +7 -7
- package/dist/{swirl-icon-long-text.entry.9b0241c9.js → swirl-icon-long-text.entry.daa254a8.js} +8 -8
- package/dist/{swirl-icon-mail.entry.4d8d3e2e.js → swirl-icon-mail.entry.1cfaf62b.js} +7 -7
- package/dist/{swirl-icon-manage-accounts.entry.0edbf85a.js → swirl-icon-manage-accounts.entry.978b443f.js} +5 -5
- package/dist/{swirl-icon-mark-chat-read.entry.959f2930.js → swirl-icon-mark-chat-read.entry.74ae8986.js} +2 -2
- package/dist/{swirl-icon-mark-chat-unread.entry.86390f5a.js → swirl-icon-mark-chat-unread.entry.e9968b5b.js} +2 -2
- package/dist/{swirl-icon-mention.entry.bf4bc440.js → swirl-icon-mention.entry.4c496481.js} +5 -5
- package/dist/{swirl-icon-menu-book-filled.entry.6b13c61e.js → swirl-icon-menu-book-filled.entry.29948583.js} +5 -5
- package/dist/{swirl-icon-menu-filled.entry.5e59d634.js → swirl-icon-menu-filled.entry.ddd342ca.js} +7 -7
- package/dist/{swirl-icon-menu.entry.f69f6ec3.js → swirl-icon-menu.entry.9cbf2f28.js} +9 -9
- package/dist/{swirl-icon-message.entry.b9a2f471.js → swirl-icon-message.entry.5ffebf72.js} +4 -4
- package/dist/{swirl-icon-mic-off.entry.91d4c2db.js → swirl-icon-mic-off.entry.9d60d830.js} +9 -9
- package/dist/{swirl-icon-mic.entry.603c36f2.js → swirl-icon-mic.entry.24b5c6bc.js} +4 -4
- package/dist/{swirl-icon-more-horizontal.entry.aab914cc.js → swirl-icon-more-horizontal.entry.80796d65.js} +2 -2
- package/dist/{swirl-icon-news-filled.entry.40334739.js → swirl-icon-news-filled.entry.1493ffaa.js} +7 -7
- package/dist/{swirl-icon-news-off.entry.db391485.js → swirl-icon-news-off.entry.798f43a4.js} +8 -8
- package/dist/{swirl-icon-news.entry.d9b75fde.js → swirl-icon-news.entry.bfdfc05e.js} +10 -10
- package/dist/{swirl-icon-notifications-active.entry.6466c610.js → swirl-icon-notifications-active.entry.ff3728e3.js} +5 -5
- package/dist/{swirl-icon-notifications-off.entry.3fc1b8c5.js → swirl-icon-notifications-off.entry.4728ab3a.js} +10 -10
- package/dist/{swirl-icon-notifications.entry.7fd29de5.js → swirl-icon-notifications.entry.f2d51cc3.js} +5 -5
- package/dist/{swirl-icon-open-in-full.entry.600ad555.js → swirl-icon-open-in-full.entry.16a01132.js} +8 -8
- package/dist/{swirl-icon-open-in-new.entry.2d74e0f3.js → swirl-icon-open-in-new.entry.5aaa628e.js} +7 -7
- package/dist/{swirl-icon-pause-circle.entry.a453a4ed.js → swirl-icon-pause-circle.entry.1fa518fc.js} +7 -7
- package/dist/{swirl-icon-people-alt.entry.9ab7bcca.js → swirl-icon-people-alt.entry.bf7a532b.js} +8 -8
- package/dist/{swirl-icon-person-off.entry.47154a2e.js → swirl-icon-person-off.entry.22a7da34.js} +8 -8
- package/dist/{swirl-icon-person.entry.73783f7b.js → swirl-icon-person.entry.181ffa3b.js} +5 -5
- package/dist/{swirl-icon-phone.entry.2efb6a20.js → swirl-icon-phone.entry.9ad9a0f5.js} +5 -5
- package/dist/{swirl-icon-photo-camera.entry.3113bc0f.js → swirl-icon-photo-camera.entry.1f7d5be4.js} +8 -8
- package/dist/{swirl-icon-pin-off.entry.829e0885.js → swirl-icon-pin-off.entry.456dcaf0.js} +4 -4
- package/dist/{swirl-icon-pin.entry.754dc09f.js → swirl-icon-pin.entry.5c131695.js} +8 -8
- package/dist/{swirl-icon-place.entry.798e369e.js → swirl-icon-place.entry.3e2070fb.js} +7 -7
- package/dist/{swirl-icon-poll.entry.99bc3b05.js → swirl-icon-poll.entry.f3636c93.js} +6 -6
- package/dist/{swirl-icon-post-approval.entry.c50020e2.js → swirl-icon-post-approval.entry.e790cc13.js} +10 -10
- package/dist/{swirl-icon-present.entry.1c364b30.js → swirl-icon-present.entry.f2c4d5b2.js} +8 -8
- package/dist/{swirl-icon-print.entry.b5bae9ef.js → swirl-icon-print.entry.9f06ac2d.js} +7 -7
- package/dist/{swirl-icon-public-off.entry.c12dae19.js → swirl-icon-public-off.entry.51008b68.js} +7 -7
- package/dist/{swirl-icon-public.entry.ea441dec.js → swirl-icon-public.entry.58d170e2.js} +8 -8
- package/dist/{swirl-icon-ratio-four-to-three.entry.a596b927.js → swirl-icon-ratio-four-to-three.entry.4fcbba9b.js} +5 -5
- package/dist/{swirl-icon-ratio-freeform.entry.57c42c53.js → swirl-icon-ratio-freeform.entry.a2c62df0.js} +7 -7
- package/dist/{swirl-icon-ratio-sixteen-to-nine.entry.46120aa3.js → swirl-icon-ratio-sixteen-to-nine.entry.f4be9657.js} +8 -8
- package/dist/{swirl-icon-ratio-square.entry.bbed0b02.js → swirl-icon-ratio-square.entry.226162d3.js} +8 -8
- package/dist/{swirl-icon-ratio-three-to-four.entry.7f66a5f4.js → swirl-icon-ratio-three-to-four.entry.90a1d25a.js} +5 -5
- package/dist/{swirl-icon-ratio-three-to-two.entry.21f58d4b.js → swirl-icon-ratio-three-to-two.entry.e08c8601.js} +5 -5
- package/dist/{swirl-icon-recieved.entry.eebcaecd.js → swirl-icon-recieved.entry.68f0d808.js} +6 -6
- package/dist/{swirl-icon-remove-circle.entry.60aba3e8.js → swirl-icon-remove-circle.entry.ced3895e.js} +2 -2
- package/dist/{swirl-icon-remove-moderator.entry.0a7bf6db.js → swirl-icon-remove-moderator.entry.b2912ec5.js} +5 -5
- package/dist/{swirl-icon-reply.entry.180d793d.js → swirl-icon-reply.entry.9415d6e2.js} +9 -9
- package/dist/{swirl-icon-report.entry.19d10f2f.js → swirl-icon-report.entry.56ef4935.js} +7 -7
- package/dist/{swirl-icon-roadmap.entry.cc1268a5.js → swirl-icon-roadmap.entry.243eb920.js} +8 -8
- package/dist/{swirl-icon-rotate-left.entry.f2365978.js → swirl-icon-rotate-left.entry.2cb93478.js} +5 -5
- package/dist/{swirl-icon-rotate-right.entry.98343dca.js → swirl-icon-rotate-right.entry.592c2226.js} +7 -7
- package/dist/{swirl-icon-screenshare-off.entry.e6896e07.js → swirl-icon-screenshare-off.entry.437a6ef0.js} +9 -9
- package/dist/{swirl-icon-screenshare.entry.5e8eda15.js → swirl-icon-screenshare.entry.d0911e63.js} +5 -5
- package/dist/{swirl-icon-search-strong.entry.a0c1279c.js → swirl-icon-search-strong.entry.e3a6182c.js} +7 -7
- package/dist/{swirl-icon-search.entry.8f2d531e.js → swirl-icon-search.entry.99ea6cc7.js} +9 -9
- package/dist/{swirl-icon-secure.entry.36c3fc60.js → swirl-icon-secure.entry.41e06d1e.js} +7 -7
- package/dist/{swirl-icon-send.entry.5952cd98.js → swirl-icon-send.entry.3b8f1704.js} +8 -8
- package/dist/{swirl-icon-settings.entry.0e645f2b.js → swirl-icon-settings.entry.bc51c793.js} +2 -2
- package/dist/{swirl-icon-short-text.entry.1102f141.js → swirl-icon-short-text.entry.d4c5cdf6.js} +8 -8
- package/dist/{swirl-icon-simplify.entry.47c6ef9c.js → swirl-icon-simplify.entry.095eee00.js} +7 -7
- package/dist/{swirl-icon-spellcheck.entry.87130c45.js → swirl-icon-spellcheck.entry.19758979.js} +2 -2
- package/dist/{swirl-icon-stars.entry.343b7595.js → swirl-icon-stars.entry.0f5990a9.js} +7 -7
- package/dist/{swirl-icon-stop-circle.entry.2298371e.js → swirl-icon-stop-circle.entry.286bfdd3.js} +6 -6
- package/dist/{swirl-icon-stop.entry.ca9611e5.js → swirl-icon-stop.entry.583e4395.js} +5 -5
- package/dist/{swirl-icon-sync.entry.f2b68a8d.js → swirl-icon-sync.entry.f69d3bdb.js} +6 -6
- package/dist/{swirl-icon-tasks-filled.entry.b0057b5d.js → swirl-icon-tasks-filled.entry.d2c7d7dd.js} +6 -6
- package/dist/{swirl-icon-tasks.entry.801332c6.js → swirl-icon-tasks.entry.04aa5c3a.js} +7 -7
- package/dist/{swirl-icon-terminal.entry.6127b5af.js → swirl-icon-terminal.entry.13574f28.js} +4 -4
- package/dist/{swirl-icon-time-filled.entry.b3d99895.js → swirl-icon-time-filled.entry.29391a47.js} +5 -5
- package/dist/{swirl-icon-time.entry.90b4dd37.js → swirl-icon-time.entry.8ecf5c15.js} +5 -5
- package/dist/{swirl-icon-today-filled.entry.ab20a7d0.js → swirl-icon-today-filled.entry.b9b6c6c3.js} +8 -8
- package/dist/{swirl-icon-translate.entry.a34af0c6.js → swirl-icon-translate.entry.78e9e9cf.js} +6 -6
- package/dist/{swirl-icon-tree-structure.entry.10e0c97e.js → swirl-icon-tree-structure.entry.56c074d3.js} +10 -10
- package/dist/{swirl-icon-undo.entry.1963203f.js → swirl-icon-undo.entry.da26a5ae.js} +7 -7
- package/dist/{swirl-icon-unlock-person.entry.28ce87d7.js → swirl-icon-unlock-person.entry.d80c7a1d.js} +8 -8
- package/dist/{swirl-icon-user-add.entry.ea7f6a7b.js → swirl-icon-user-add.entry.582c5f07.js} +2 -2
- package/dist/{swirl-icon-user-assign.entry.22c7a211.js → swirl-icon-user-assign.entry.18a85923.js} +9 -9
- package/dist/{swirl-icon-video-camera-off.entry.11ba292b.js → swirl-icon-video-camera-off.entry.906a7768.js} +8 -8
- package/dist/{swirl-icon-video-camera.entry.db6337d3.js → swirl-icon-video-camera.entry.092f8f0a.js} +4 -4
- package/dist/{swirl-icon-video-library.entry.9ca10f81.js → swirl-icon-video-library.entry.6770a0c2.js} +7 -7
- package/dist/{swirl-icon-video-player.entry.c314a97e.js → swirl-icon-video-player.entry.f21f2357.js} +9 -9
- package/dist/{swirl-icon-voice.entry.ff63657f.js → swirl-icon-voice.entry.8bd4edbb.js} +7 -7
- package/dist/{swirl-icon-web-asset-off.entry.52ade5af.js → swirl-icon-web-asset-off.entry.05c496f8.js} +8 -8
- package/dist/{swirl-icon-web-asset.entry.90276785.js → swirl-icon-web-asset.entry.5baafe49.js} +5 -5
- package/dist/{swirl-icon-work.entry.a0dc13a3.js → swirl-icon-work.entry.6b6d4034.js} +6 -6
- package/dist/{swirl-icon.entry.5aded673.js → swirl-icon.entry.2358bc85.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.749604c0.js → swirl-image-grid-item.entry.57942d07.js} +1 -1
- package/dist/{swirl-image-grid.entry.d512dd76.js → swirl-image-grid.entry.80bbba62.js} +7 -7
- package/dist/{swirl-inline-notification.entry.137bb1a4.js → swirl-inline-notification.entry.a7d9c9dc.js} +7 -7
- package/dist/{swirl-inline-status.entry.26aca6e9.js → swirl-inline-status.entry.e2a537ea.js} +7 -7
- package/dist/{swirl-lightbox.entry.96f183a3.js → swirl-lightbox.entry.9459ed89.js} +5 -5
- package/dist/{swirl-link.entry.c2aae266.js → swirl-link.entry.10cbe19a.js} +2 -2
- package/dist/{swirl-list.entry.ac8a03db.js → swirl-list.entry.622f64c8.js} +2 -2
- package/dist/{swirl-menu-item.entry.7515c589.js → swirl-menu-item.entry.8a773a94.js} +2 -2
- package/dist/{swirl-menu.entry.4a799642.js → swirl-menu.entry.3d8d481c.js} +3 -3
- package/dist/{swirl-modal.entry.36924d83.js → swirl-modal.entry.d7c004ee.js} +18 -18
- package/dist/{swirl-option-list-section.entry.11d4db80.js → swirl-option-list-section.entry.0a12aa65.js} +5 -5
- package/dist/{swirl-option-list_2.entry.a0b9fc5c.js → swirl-option-list_2.entry.ba591cfe.js} +4 -4
- package/dist/{swirl-pagination.entry.38a9d580.js → swirl-pagination.entry.2da081a8.js} +2 -2
- package/dist/{swirl-pdf-reader.entry.2d448544.js → swirl-pdf-reader.entry.f0a0a51a.js} +7 -7
- package/dist/{swirl-popover_2.entry.95f6a138.js → swirl-popover_2.entry.873d6883.js} +7 -7
- package/dist/{swirl-progress-indicator.entry.85fa0ff2.js → swirl-progress-indicator.entry.b5b078e6.js} +5 -5
- package/dist/{swirl-radio-group.entry.a9e9ec3a.js → swirl-radio-group.entry.74d02217.js} +4 -4
- package/dist/{swirl-radio.entry.a74a2753.js → swirl-radio.entry.f0cd57ea.js} +3 -3
- package/dist/{swirl-resource-list-file-item.entry.06a23fe7.js → swirl-resource-list-file-item.entry.76e920c8.js} +2 -2
- package/dist/{swirl-resource-list-section.entry.76828899.js → swirl-resource-list-section.entry.ab80c261.js} +6 -6
- package/dist/{swirl-search.entry.82d42513.js → swirl-search.entry.3fe27b1c.js} +2 -2
- package/dist/{swirl-select.entry.85cd9064.js → swirl-select.entry.84b1b801.js} +7 -7
- package/dist/{swirl-separator.entry.8b87e4bc.js → swirl-separator.entry.c6727c14.js} +1 -1
- package/dist/{swirl-shell-layout.entry.e175325d.js → swirl-shell-layout.entry.9588e301.js} +7 -7
- package/dist/{swirl-shell-navigation-item.entry.d0e270a6.js → swirl-shell-navigation-item.entry.1ca68202.js} +5 -5
- package/dist/{swirl-skeleton-box.entry.39e77821.js → swirl-skeleton-box.entry.0e76262e.js} +3 -3
- package/dist/{swirl-skeleton-text.entry.593c7a13.js → swirl-skeleton-text.entry.6b43eab2.js} +2 -2
- package/dist/{swirl-stack.entry.ed971290.js → swirl-stack.entry.c58244bc.js} +1 -1
- package/dist/{swirl-status-indicator.entry.1a9ba416.js → swirl-status-indicator.entry.639cb12c.js} +5 -5
- package/dist/{swirl-switch.entry.13607915.js → swirl-switch.entry.48c17b85.js} +2 -2
- package/dist/{swirl-symbol-account-circle.entry.977655ba.js → swirl-symbol-account-circle.entry.8f36847c.js} +2 -2
- package/dist/{swirl-symbol-alternate-email.entry.377ffeba.js → swirl-symbol-alternate-email.entry.634664d8.js} +2 -2
- package/dist/{swirl-symbol-android.entry.d7f23985.js → swirl-symbol-android.entry.5b48a47c.js} +4 -4
- package/dist/{swirl-symbol-announcement.entry.4a0147d8.js → swirl-symbol-announcement.entry.f4f9dea7.js} +5 -5
- package/dist/{swirl-symbol-backup.entry.f2c38cf7.js → swirl-symbol-backup.entry.c954e7ea.js} +2 -2
- package/dist/{swirl-symbol-beach-access.entry.e1dc9d6d.js → swirl-symbol-beach-access.entry.abefdde1.js} +2 -2
- package/dist/{swirl-symbol-bookmark.entry.a452038d.js → swirl-symbol-bookmark.entry.2146ea22.js} +2 -2
- package/dist/{swirl-symbol-cloud.entry.bdd8c3b6.js → swirl-symbol-cloud.entry.68a97823.js} +6 -6
- package/dist/{swirl-symbol-coronavirus.entry.9573b520.js → swirl-symbol-coronavirus.entry.f8ffcca9.js} +2 -2
- package/dist/{swirl-symbol-desktop-windows.entry.c31161e5.js → swirl-symbol-desktop-windows.entry.c4664255.js} +2 -2
- package/dist/{swirl-symbol-directions-car-filled.entry.c13a1c0e.js → swirl-symbol-directions-car-filled.entry.46d8baf3.js} +2 -2
- package/dist/{swirl-symbol-edit-calendar.entry.e40fb352.js → swirl-symbol-edit-calendar.entry.e0430f5f.js} +7 -7
- package/dist/{swirl-symbol-email.entry.83079038.js → swirl-symbol-email.entry.31bf09d7.js} +2 -2
- package/dist/{swirl-symbol-emoji-food-beverage.entry.6b8742ff.js → swirl-symbol-emoji-food-beverage.entry.466f5b82.js} +8 -8
- package/dist/{swirl-symbol-event-menu.entry.7a6cd27c.js → swirl-symbol-event-menu.entry.e8589ae1.js} +2 -2
- package/dist/{swirl-symbol-facebook.entry.34e8fe93.js → swirl-symbol-facebook.entry.7e39d9b7.js} +7 -7
- package/dist/{swirl-symbol-favorite.entry.1f51b7f2.js → swirl-symbol-favorite.entry.340a26d7.js} +2 -2
- package/dist/{swirl-symbol-fitness-center.entry.a9cd7f01.js → swirl-symbol-fitness-center.entry.4fc69f47.js} +2 -2
- package/dist/{swirl-symbol-flag.entry.f06f8cc4.js → swirl-symbol-flag.entry.979d2d2e.js} +5 -5
- package/dist/{swirl-symbol-folder.entry.b2b46cac.js → swirl-symbol-folder.entry.ccdecb38.js} +2 -2
- package/dist/{swirl-symbol-globe.entry.cb7422cc.js → swirl-symbol-globe.entry.558c1728.js} +5 -5
- package/dist/{swirl-symbol-groups.entry.34d6ef80.js → swirl-symbol-groups.entry.6dc4b7d3.js} +8 -8
- package/dist/{swirl-symbol-help.entry.ad2dd1fa.js → swirl-symbol-help.entry.520704ad.js} +2 -2
- package/dist/{swirl-symbol-image.entry.6c7cb20e.js → swirl-symbol-image.entry.77fceac0.js} +2 -2
- package/dist/{swirl-symbol-info-menu.entry.8a816c14.js → swirl-symbol-info-menu.entry.6b159158.js} +5 -5
- package/dist/{swirl-symbol-instagram.entry.f9e88e66.js → swirl-symbol-instagram.entry.63d68297.js} +4 -4
- package/dist/{swirl-symbol-ios.entry.06d0d7a9.js → swirl-symbol-ios.entry.eee1c632.js} +3 -3
- package/dist/{swirl-symbol-language.entry.2a969d79.js → swirl-symbol-language.entry.79016a2c.js} +7 -7
- package/dist/{swirl-symbol-leaderboard.entry.fb80943c.js → swirl-symbol-leaderboard.entry.61b538fb.js} +7 -7
- package/dist/{swirl-symbol-lightbulb.entry.df3d293a.js → swirl-symbol-lightbulb.entry.6101a8a2.js} +5 -5
- package/dist/{swirl-symbol-linkedin.entry.fbdea684.js → swirl-symbol-linkedin.entry.0c621538.js} +6 -6
- package/dist/{swirl-symbol-location-on.entry.823c0e7e.js → swirl-symbol-location-on.entry.37fdc0a5.js} +5 -5
- package/dist/{swirl-symbol-loyalty.entry.946364b5.js → swirl-symbol-loyalty.entry.3105ae9a.js} +6 -6
- package/dist/{swirl-symbol-maps-home-work.entry.c4bb1cfe.js → swirl-symbol-maps-home-work.entry.9c1571ef.js} +6 -6
- package/dist/{swirl-symbol-notifications.entry.762e58b4.js → swirl-symbol-notifications.entry.8b645d50.js} +6 -6
- package/dist/{swirl-symbol-open-in-new.entry.ae5a4298.js → swirl-symbol-open-in-new.entry.0e2294ae.js} +5 -5
- package/dist/{swirl-symbol-pedal-bike.entry.16bd1780.js → swirl-symbol-pedal-bike.entry.adf3473a.js} +7 -7
- package/dist/{swirl-symbol-pinterest.entry.76ea4a98.js → swirl-symbol-pinterest.entry.8cbf1f06.js} +2 -2
- package/dist/{swirl-symbol-policy.entry.a2a9f415.js → swirl-symbol-policy.entry.59ed8ee7.js} +5 -5
- package/dist/{swirl-symbol-push-pin.entry.abfd5ca3.js → swirl-symbol-push-pin.entry.f7078a7b.js} +2 -2
- package/dist/{swirl-symbol-redeem.entry.853a0881.js → swirl-symbol-redeem.entry.3c73b090.js} +6 -6
- package/dist/{swirl-symbol-report-problem.entry.864e28d3.js → swirl-symbol-report-problem.entry.28f88e8e.js} +5 -5
- package/dist/{swirl-symbol-restaurant.entry.3e110e19.js → swirl-symbol-restaurant.entry.79fe6508.js} +6 -6
- package/dist/swirl-symbol-roadmap.entry.df3fd5a7.js +17 -0
- package/dist/{swirl-symbol-room.entry.c537898c.js → swirl-symbol-room.entry.e575aa89.js} +5 -5
- package/dist/{swirl-symbol-savings.entry.f7073cee.js → swirl-symbol-savings.entry.51f3e8b2.js} +5 -5
- package/dist/{swirl-symbol-settings-voice.entry.80759dde.js → swirl-symbol-settings-voice.entry.49ed10d7.js} +7 -7
- package/dist/{swirl-symbol-shopping-cart.entry.272b347d.js → swirl-symbol-shopping-cart.entry.935ba438.js} +4 -4
- package/dist/{swirl-symbol-smartphone.entry.7006c3f6.js → swirl-symbol-smartphone.entry.d013048d.js} +2 -2
- package/dist/{swirl-symbol-star.entry.131bc781.js → swirl-symbol-star.entry.b7b0f3f9.js} +3 -3
- package/dist/{swirl-symbol-supervisor-account.entry.287cfb37.js → swirl-symbol-supervisor-account.entry.b1fcce3f.js} +2 -2
- package/dist/{swirl-symbol-thumbs-up-down.entry.1e3725de.js → swirl-symbol-thumbs-up-down.entry.190c27f3.js} +7 -7
- package/dist/{swirl-symbol-twitter.entry.306cf52b.js → swirl-symbol-twitter.entry.8ca2e734.js} +5 -5
- package/dist/{swirl-symbol-wb-sunny.entry.b7dafa61.js → swirl-symbol-wb-sunny.entry.67f092a0.js} +5 -5
- package/dist/{swirl-symbol-wechat.entry.0a6d751a.js → swirl-symbol-wechat.entry.cfd900d7.js} +5 -5
- package/dist/{swirl-symbol-weibo.entry.a9a03464.js → swirl-symbol-weibo.entry.4a5f17da.js} +5 -5
- package/dist/{swirl-symbol-work.entry.b5a411f4.js → swirl-symbol-work.entry.fa6e4832.js} +4 -4
- package/dist/{swirl-symbol-xing.entry.0169b305.js → swirl-symbol-xing.entry.93573027.js} +5 -5
- package/dist/{swirl-symbol-youtube.entry.12b2b2ae.js → swirl-symbol-youtube.entry.bb26f9bb.js} +6 -6
- package/dist/swirl-symbol.entry.1e937183.js +16 -0
- package/dist/{swirl-tab-bar.entry.248e80b9.js → swirl-tab-bar.entry.a50453b3.js} +2 -2
- package/dist/{swirl-tab.entry.e7773ad1.js → swirl-tab.entry.dc857cda.js} +6 -6
- package/dist/{swirl-table-cell.entry.92c623f4.js → swirl-table-cell.entry.411213f1.js} +4 -4
- package/dist/{swirl-table-column.entry.0385ad6b.js → swirl-table-column.entry.6bab2d73.js} +2 -2
- package/dist/{swirl-table-row-group.entry.986e741f.js → swirl-table-row-group.entry.0975e629.js} +7 -7
- package/dist/{swirl-table-row.entry.5e3d55ce.js → swirl-table-row.entry.bcc7e4cf.js} +5 -5
- package/dist/{swirl-table.entry.38aec642.js → swirl-table.entry.59b53f2f.js} +9 -9
- package/dist/{swirl-tabs.entry.897391b6.js → swirl-tabs.entry.b4b04aa2.js} +5 -5
- package/dist/{swirl-text-input.entry.f692b126.js → swirl-text-input.entry.1c41a0ba.js} +1 -1
- package/dist/{swirl-text.entry.5240e250.js → swirl-text.entry.555fb178.js} +2 -2
- package/dist/{swirl-theme-provider.entry.f75d75be.js → swirl-theme-provider.entry.19b7678b.js} +2 -2
- package/dist/{swirl-time-input.entry.e12614f7.js → swirl-time-input.entry.275fe09c.js} +9 -9
- package/dist/{swirl-toast-provider.entry.577dfcf2.js → swirl-toast-provider.entry.e1852387.js} +7 -7
- package/dist/{swirl-toast.entry.b222add7.js → swirl-toast.entry.0bcd531e.js} +6 -6
- package/dist/{swirl-toggle-button.entry.992a0ca2.js → swirl-toggle-button.entry.7d0101dd.js} +5 -5
- package/dist/{swirl-toggle-group.entry.ec1c1e20.js → swirl-toggle-group.entry.04ba845a.js} +2 -2
- package/dist/{swirl-toolbar.entry.16a693f1.js → swirl-toolbar.entry.185375cb.js} +2 -2
- package/dist/{swirl-tooltip.entry.da2fb34c.js → swirl-tooltip.entry.b36ce378.js} +6 -6
- package/dist/{swirl-tree-navigation-item.entry.018e8eb7.js → swirl-tree-navigation-item.entry.e72dde02.js} +5 -5
- package/dist/{swirl-tree-navigation.entry.2bb573b2.js → swirl-tree-navigation.entry.21a31231.js} +2 -2
- package/dist/swirl-tree-view-item.entry.5f078682.js +200 -0
- package/dist/swirl-tree-view.config-82c9ecaa.3ff1cfa4.js +24 -0
- package/dist/swirl-tree-view.entry.a06abb05.js +216 -0
- package/dist/{swirl-video-thumbnail.entry.43fe766b.js → swirl-video-thumbnail.entry.0cd9c71b.js} +4 -4
- package/dist/swirl-visually-hidden.entry.5ff7fc21.js +15 -0
- package/dist/{wc-datepicker.entry.d9974ab1.js → wc-datepicker.entry.d84b3123.js} +1 -1
- package/package.json +2 -2
- package/dist/index.bf166ea6.js +0 -3466
- package/dist/sortable.esm-8c3d5856.57c4f048.js +0 -1229
- package/dist/swirl-action-list-section.entry.65c84a59.js +0 -15
- package/dist/swirl-description-list.entry.14d16c96.js +0 -15
- package/dist/swirl-emoji-clap.entry.cb04f56b.js +0 -17
- package/dist/swirl-emoji-happy.entry.2fcd6ca7.js +0 -17
- package/dist/swirl-emoji-love.entry.73ba21ef.js +0 -17
- package/dist/swirl-emoji-sad.entry.9608f044.js +0 -17
- package/dist/swirl-emoji.entry.1c1737e2.js +0 -16
- package/dist/swirl-icon-check-strong.entry.cca75d75.js +0 -19
- package/dist/swirl-symbol-roadmap.entry.4472da09.js +0 -17
- package/dist/swirl-symbol.entry.c5fe31d3.js +0 -16
- package/dist/swirl-tree-view-item.entry.242edab6.js +0 -55
- package/dist/swirl-tree-view.entry.be2b2959.js +0 -127
- package/dist/swirl-visually-hidden.entry.3e9e6ba5.js +0 -15
package/dist/{swirl-inline-status.entry.26aca6e9.js → swirl-inline-status.entry.e2a537ea.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as s, h as e, H as a } from "./index.eec3fb37.js";
|
|
2
2
|
import { c as o } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import { g as r } from "./utils-877a768f.c277f897.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
const
|
|
6
|
+
const c = ":host{display:inline-flex}:host *{box-sizing:border-box}.inline-status{display:inline-flex;color:var(--s-text-default);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.inline-status{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.inline-status--size-s{font-size:var(--s-font-size-sm)}.inline-status--size-s .inline-status__icon{width:1rem;height:1rem;margin-top:0.125rem}.inline-status--size-s .inline-status__message{padding-top:0}.inline-status--intent-critical{color:var(--s-text-critical)}.inline-status--intent-critical .inline-status__icon{color:var(--s-icon-critical)}.inline-status--intent-info{color:var(--s-text-info)}.inline-status--intent-info .inline-status__icon{color:var(--s-icon-info)}.inline-status--intent-neutral{color:var(--s-text-subdued)}.inline-status--intent-neutral .inline-status__icon{color:var(--s-icon-default)}.inline-status--intent-success{color:var(--s-text-success)}.inline-status--intent-success .inline-status__icon{color:var(--s-icon-success)}.inline-status--intent-warning{color:var(--s-text-warning)}.inline-status--intent-warning .inline-status__icon{color:var(--s-icon-warning)}.inline-status__icon{display:inline-flex;width:1.5rem;height:1.5rem;margin-right:var(--s-space-4);color:var(--s-icon-default);align-self:flex-start}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.inline-status__icon{width:1.25rem;height:1.25rem}}.inline-status__message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding-top:0.0625rem}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.inline-status__message{padding-top:0}}", l = c, d = class {
|
|
7
7
|
constructor(t) {
|
|
8
|
-
|
|
8
|
+
s(this, t), this.desktopMediaQuery = r(), this.desktopMediaQueryHandler = (i) => {
|
|
9
9
|
this.forceIconProps(i.matches);
|
|
10
10
|
}, this.icon = void 0, this.intent = void 0, this.message = void 0, this.size = "m", this.iconSize = 20;
|
|
11
11
|
}
|
|
@@ -22,15 +22,15 @@ const l = ":host{display:inline-flex}:host *{box-sizing:border-box}.inline-statu
|
|
|
22
22
|
const i = this.iconEl.children[0];
|
|
23
23
|
if (!Boolean(i))
|
|
24
24
|
return;
|
|
25
|
-
let
|
|
26
|
-
this.size === "s" ?
|
|
25
|
+
let n = "24";
|
|
26
|
+
this.size === "s" ? n = "16" : t && (n = "20"), i.setAttribute("size", n);
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
const t = o("inline-status", `inline-status--intent-${this.intent}`, `inline-status--size-${this.size}`);
|
|
30
|
-
return
|
|
30
|
+
return e(a, { key: "b544304b1a89cdf777187dce7b2b2680a8676e41" }, e("span", { key: "831bf943012c93dec8dea4ca1bc970ee224bc892", class: t, part: "inline-status" }, this.icon && e("span", { key: "a13a59ac925a5f2203ba6c3a508d4ccf92265698", class: "inline-status__icon", innerHTML: this.icon, ref: (i) => this.iconEl = i }), e("span", { key: "59de09f28df31a7c24035fea8021343838e5eeb1", class: "inline-status__message" }, this.message)));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
-
d.style =
|
|
33
|
+
d.style = l;
|
|
34
34
|
export {
|
|
35
35
|
d as swirl_inline_status
|
|
36
36
|
};
|
|
@@ -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.eec3fb37.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";
|
|
@@ -136,7 +136,7 @@ const y = ':host{display:block}:host *{box-sizing:border-box}.lightbox{position:
|
|
|
136
136
|
return (t = this.slides[this.activeSlideIndex]) == null ? void 0 : t.thumbnailUrl;
|
|
137
137
|
}
|
|
138
138
|
lockBodyScroll() {
|
|
139
|
-
|
|
139
|
+
g(this.el);
|
|
140
140
|
}
|
|
141
141
|
unlockBodyScroll() {
|
|
142
142
|
m(this.el);
|
|
@@ -160,10 +160,10 @@ const y = ':host{display:block}:host *{box-sizing:border-box}.lightbox{position:
|
|
|
160
160
|
"lightbox--hide-menu": !o,
|
|
161
161
|
"lightbox--hide-toolbar": !r
|
|
162
162
|
});
|
|
163
|
-
return i(u, { key: "
|
|
163
|
+
return i(u, { key: "030bb4d099784c5eb365cd2063da7be1c378e84a", onKeydown: this.onKeyDown }, i("section", { key: "9df2603872034ac63fb2ab2728bf8d1824a0c51a", "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: "5c7a35bf076a423343585f9a2a91c2dfba630543", class: "lightbox__body", role: "document" }, i("header", { key: "6e96f8e70924a49ebff654bc479f081c91d7a2b0", class: "lightbox__header" }, i("button", { key: "94e3bb9fb3968cde7d93dfa59b3bfb82fffb3ba2", "aria-label": this.closeButtonLabel, class: "lightbox__close-button", onClick: this.onCloseButtonClick }, i("swirl-icon-close", { key: "ec5ebcde357f012a1e4c91390ee1f2de24ff55f1" })), i("div", { key: "e6e947be47b7761591793ff96abab25dcba8a9c1", class: "lightbox__toolbar" }, i("slot", { key: "6e9a1f7e35dca017c75cb3985590b783d9ad2c71", name: "toolbar" })), !this.hideMenu && i("swirl-popover-trigger", { key: "d5f4a2c2403d58e944c6bc784d10fd99c6c6c493", swirlPopover: this.menu }, i("button", { key: "af975226821e06d947354aca483c6128b8346967", "aria-label": this.menuTriggerLabel, class: "lightbox__menu-button" }, i("swirl-icon-more-vertikal", { key: "391ee96896b35dd62822332baefa3ac9623a4c6d" })))), i("div", { key: "966d8f70b9f8d4194e0555c4777f0228b43c2f16", "aria-roledescription": "carousel", class: "lightbox__content", role: "group" }, i("div", { key: "98a9715a7d2016965e1afa7e95a31c8dcbdfbd1f", "aria-atomic": "false", "aria-live": "polite", class: "lightbox__slides", onClick: this.onBackdropClick, onContextMenu: this.onContextMenu, ref: (n) => this.slidesContainer = n }, i("slot", { key: "d944a135e580bc7ff526d671ffdebbf0a7059dc5", onSlotchange: this.registerSlides }))), i("div", { key: "9d56c65a5dcd2547d1c8cc57913ec2c0bdb368f7", class: "lightbox__controls" }, i("button", { key: "c7ab4d650eb0b360a79a50f2879fce5e990a6ada", "aria-label": this.previousSlideButtonLabel, class: "lightbox__previous-slide-button", disabled: this.activeSlideIndex === 0, onClick: this.onPreviousSlideClick }, i("swirl-icon-arrow-left", { key: "9ca4fd4b013002478ec87cb0da0f124861346f5d" })), i("button", { key: "6529cb2d518e9f2e3acf135a150f08dcee4a1f85", "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: "273a6af8036537ec9fce60507a2bd56df3a36b2b" }))), t && i("span", { key: "80c504d3180a9fb759c71d8560a1a0282c1cb95e", class: "lightbox__pagination" }, i("span", { key: "1934a531fd2c9b10a76bac201383db4a1696e69d", "aria-current": "page" }, this.activeSlideIndex + 1), " /", " ", this.slides.length)), !this.hideMenu && i("swirl-popover", { key: "60e4e2e1296cc5109ea5cf3c280c48f3d54b244f", animation: "scale-in-y", disableScrollLock: !0, id: "slide-menu", label: this.menuLabel, placement: "bottom-end", ref: (n) => this.menu = n }, i("swirl-stack", { key: "1ff6038de2a90bb6d02b9cde7f50c832b645798d" }, i("div", { key: "42f9bd83f918c0501865cb977e568b5debf7b23f", class: "lightbox__meta" }, s && i("div", { key: "0c901e98c81be2ba7ef2c0372479bb93701923e9", class: "lightbox__thumbnail" }, i("swirl-thumbnail", { key: "6e52e206e4ac46b0e1af1e729e79ca0fb8a3c4bc", alt: "", src: s })), i("div", { key: "a4fdc6d425b6b34858afc03959009de32ca28762", class: "lightbox__file-info" }, i("swirl-text", { key: "0520bdafd084093d02d50eb1d4eeaff96b2151f0", truncate: !0, weight: "semibold" }, e), i("swirl-text", { key: "ae9dcc86531d4c1b868780ebe425f0bb0a5f1e4e", color: "subdued", size: "sm", truncate: !0 }, a))), o && i("swirl-separator", { key: "75a8fea3c1d841e4de68f80f156ff39b7d6429b6" }), i("swirl-action-list", { key: "e85c8f2a2a25c1bdd99c3015135fad53ac5c7e61" }, this.downloadButtonEnabled && i("swirl-action-list-item", { key: "c3d6e6d7c13d5463fee5430dd6c2ad53e3b3871f", icon: "<swirl-icon-download></swirl-icon-download>", label: this.downloadButtonLabel, onClick: this.onDownloadButtonClick }), i("slot", { key: "4f69fe4f33dc808220c43ae2188969b8f7b887ea", name: "menu-items" }))))));
|
|
164
164
|
}
|
|
165
165
|
get el() {
|
|
166
|
-
return
|
|
166
|
+
return f(this);
|
|
167
167
|
}
|
|
168
168
|
static get watchers() {
|
|
169
169
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as i, H as t } from "./index.
|
|
1
|
+
import { r, h as i, H as t } from "./index.eec3fb37.js";
|
|
2
2
|
import { c as s } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
@@ -8,7 +8,7 @@ const n = ":host{display:inline-flex}:host *{box-sizing:border-box}.link{color:v
|
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
10
|
const e = s("link", `link--color-${this.color}`);
|
|
11
|
-
return i(t, { key: "
|
|
11
|
+
return i(t, { key: "80d2b3613f4b8bd13b1194d4fe2fbfd0731deedb" }, i("a", { key: "2d3b7aed8d1eff31a29fc465273e3bfa62f4f81c", class: e, href: this.href, part: "link", target: this.target }, this.label));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
o.style = a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as l, h as i, H as r } from "./index.
|
|
1
|
+
import { r as l, h as i, H as r } from "./index.eec3fb37.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 {
|
|
@@ -9,7 +9,7 @@ const s = ':host{display:block}:host *{box-sizing:border-box}.swirl-list{line-he
|
|
|
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 i(r, { key: "
|
|
12
|
+
return i(r, { key: "5e54cf114526257a4a7910748cb2f96b31aa1c07" }, i("div", { key: "e2022e0a204f6cc4faec082a53e86a263bdc8a97", class: "swirl-list", ref: (e) => this.containerEl = e }, i("slot", { key: "17e7a5f2c968a7ec34fdedba5389c667d86686f2" })));
|
|
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.eec3fb37.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: "7c854dd7a669e9f9efa6b437a1434a276fd1c8af" }, i("div", { key: "0619dd31a941ec8515426a7c77a497e0c0f52643", class: e }, ((t = this.parentMenu) == null ? void 0 : t.variant) === "selection" ? this.renderOptionListItem() : this.renderActionListItem(), i("slot", { key: "169825373ab9061a36ddb5aebee18dd62fd6245b", 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.eec3fb37.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";
|
|
@@ -154,12 +154,12 @@ const _ = ":host{display:block}:host *{box-sizing:border-box}.menu{width:100%;--
|
|
|
154
154
|
"menu--mobile": this.mobile,
|
|
155
155
|
"menu--root": e
|
|
156
156
|
});
|
|
157
|
-
return o(b, { key: "
|
|
157
|
+
return o(b, { key: "24b9a5a411f90f3343ec603f35e87c55b59255b1" }, o("div", { key: "2873fac136c34db022ffb48363cbd0d8aaa1175d", class: s }, this.mobile && e && o("div", { key: "a366360ecca533efb243a22b7be2e2e7af03e103", class: "menu__mobile-header" }, this.activeLevel === 0 && o("swirl-button", { key: "dccd68774426953f61df8827d24a62ecf09d93e8", hideLabel: !0, icon: "<swirl-icon-close></swirl-icon-close>", label: this.mobileCloseMenuButtonLabel, onClick: this.onClose, variant: "plain" }), this.activeLevel > 0 && o("swirl-button", { key: "42a40d4fc7d116e1da7c507d94afb8506c043bff", hideLabel: !0, icon: "<swirl-icon-chevron-left></swirl-icon-chevron-left>", label: this.mobileBackButtonLabel, onClick: this.onGoBack, variant: "plain" }), o("span", { key: "e7bcd311b9f7770d7ace9c7647592e207ac773ea", class: "menu__title", id: "menu-title" }, o("swirl-heading", { key: "d4963ef497c29a6ead642897b8d154994e501747", align: "center", as: "span", level: 4, text: this.label, truncate: !0 })), o("swirl-button", { key: "9481c0b5f3090fb6ff69a573047b2457c81b3138", class: "menu__done-button", intent: "primary", label: this.mobileDoneButtonLabel, onClick: this.onDone })), o("div", { key: "4c5b0690e189053c2c355a1e532417e16de8b6f1", "aria-label": t, "aria-labelledby": i, "aria-orientation": "vertical", class: "menu__menu", onKeyDown: this.onKeyDown, ref: (m) => this.menuContainer = m, role: n, style: !this.mobile && this.level > 0 ? {
|
|
158
158
|
top: Boolean(this.position) ? `${(r = this.position) == null ? void 0 : r.y}px` : "",
|
|
159
159
|
left: Boolean(this.position) ? `${(u = this.position) == null ? void 0 : u.x}px` : ""
|
|
160
160
|
} : this.mobile ? {
|
|
161
161
|
left: e ? `calc(-100% * ${this.activeLevel})` : "100%"
|
|
162
|
-
} : void 0 }, o("slot", { key: "
|
|
162
|
+
} : void 0 }, o("slot", { key: "6a57a102ed4a4a99c5e07fd19e2ab6cdaca54008" }))));
|
|
163
163
|
}
|
|
164
164
|
get el() {
|
|
165
165
|
return p(this);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as h, c as t, h as
|
|
1
|
+
import { r as h, c as t, h as e, H as f, g as p } from "./index.eec3fb37.js";
|
|
2
2
|
import { d as u, e as b } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
3
3
|
import { c as v } from "./index-267776a4.6beb4f4b.js";
|
|
4
4
|
import { c as y } from "./focus-trap.esm-49c9613c.db20abcc.js";
|
|
@@ -13,8 +13,8 @@ const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghos
|
|
|
13
13
|
);--swirl-modal-height:auto;--swirl-modal-max-height:90vh;--swirl-modal-view-height:100vh;--swirl-modal-max-width:40rem;--swirl-modal-footer-padding-small:var(--s-space-12) var(--s-space-16)
|
|
14
14
|
var(--s-space-12) var(--s-space-16);--swirl-modal-footer-padding-large:var(--s-space-16) var(--s-space-24)
|
|
15
15
|
var(--s-space-16) var(--s-space-24)}@supports (height: 100dvh){.modal{--swirl-modal-max-height:90dvh;--swirl-modal-view-height:100dvh}}.modal{position:fixed;z-index:var(--s-z-40);display:flex;justify-content:center;align-items:center;height:var(--swirl-modal-view-height);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__custom-header{display:block}.modal--has-custom-header .modal__content{padding-top:var(--s-space-16)}.modal--has-custom-footer .modal__custom-footer{padding:var(--swirl-modal-footer-padding-small)}@media (min-width: 768px){.modal--has-custom-footer .modal__custom-footer{padding:var(--swirl-modal-footer-padding-large)}}.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):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% - 24rem);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--scrolled .modal__custom-header{border-bottom-color: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;overflow:hidden;width:100vw;height:var(--swirl-modal-view-height);background-color:var(--s-surface-overlay-default);flex-direction:column}@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:3.75rem;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;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: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: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)}}@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)}}`, _ = g, w = class {
|
|
16
|
-
constructor(
|
|
17
|
-
h(this,
|
|
16
|
+
constructor(a) {
|
|
17
|
+
h(this, a), this.modalClose = t(this, "modalClose", 7), this.modalOpen = t(this, "modalOpen", 7), this.primaryAction = t(this, "primaryAction", 7), this.requestModalClose = t(this, "requestModalClose", 7), this.secondaryAction = t(this, "secondaryAction", 7), this.onKeyDown = (o) => {
|
|
18
18
|
o.code === "Escape" && (o.stopImmediatePropagation(), this.close());
|
|
19
19
|
}, this.onBackdropClick = () => {
|
|
20
20
|
this.close();
|
|
@@ -34,19 +34,19 @@ const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghos
|
|
|
34
34
|
this.focusTrap = y(this.modalEl, {
|
|
35
35
|
allowOutsideClick: !0,
|
|
36
36
|
tabbableOptions: {
|
|
37
|
-
getShadowRoot: (
|
|
37
|
+
getShadowRoot: (a) => a.shadowRoot
|
|
38
38
|
}
|
|
39
39
|
}), this.determineScrollStatus(), queueMicrotask(() => {
|
|
40
40
|
this.updateCustomFooterStatus(), this.updateCustomHeaderStatus(), this.updateHeaderToolsStatus(), this.updateSecondaryContentStatus();
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
componentDidRender() {
|
|
44
|
-
var
|
|
45
|
-
(
|
|
44
|
+
var a;
|
|
45
|
+
(a = this.focusTrap) == null || a.updateContainerElements(this.modalEl);
|
|
46
46
|
}
|
|
47
47
|
disconnectedCallback() {
|
|
48
|
-
var
|
|
49
|
-
(
|
|
48
|
+
var a;
|
|
49
|
+
(a = this.focusTrap) == null || a.deactivate(), this.unlockBodyScroll();
|
|
50
50
|
}
|
|
51
51
|
onWindowResize() {
|
|
52
52
|
this.determineScrollStatus();
|
|
@@ -58,8 +58,8 @@ const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghos
|
|
|
58
58
|
this.focusTrap.activate(), this.handleAutoFocus();
|
|
59
59
|
}, 200);
|
|
60
60
|
}
|
|
61
|
-
async close(
|
|
62
|
-
this.closing || (this.requestModalClose.emit(), !(!this.closable && !
|
|
61
|
+
async close(a) {
|
|
62
|
+
this.closing || (this.requestModalClose.emit(), !(!this.closable && !a) && (this.closing = !0, this.unlockBodyScroll(), setTimeout(() => {
|
|
63
63
|
this.focusTrap.deactivate(), this.isOpen = !1, this.modalClose.emit(), this.closing = !1;
|
|
64
64
|
}, 150)));
|
|
65
65
|
}
|
|
@@ -76,8 +76,8 @@ const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghos
|
|
|
76
76
|
this.hasSecondaryContent = Boolean(this.el.querySelector('[slot="secondary-content"]'));
|
|
77
77
|
}
|
|
78
78
|
handleAutoFocus() {
|
|
79
|
-
var
|
|
80
|
-
(
|
|
79
|
+
var a;
|
|
80
|
+
(a = this.modalEl.querySelector("input[autofocus]")) == null || a.focus();
|
|
81
81
|
}
|
|
82
82
|
lockBodyScroll() {
|
|
83
83
|
u(this.scrollContainer);
|
|
@@ -86,7 +86,7 @@ const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghos
|
|
|
86
86
|
b(this.scrollContainer);
|
|
87
87
|
}
|
|
88
88
|
render() {
|
|
89
|
-
const
|
|
89
|
+
const a = Boolean(this.primaryActionLabel) || Boolean(this.secondaryActionLabel), o = v("modal", `modal--variant-${this.variant}`, {
|
|
90
90
|
"modal--closing": this.closing,
|
|
91
91
|
"modal--has-custom-footer": this.hasCustomFooter,
|
|
92
92
|
"modal--has-custom-header": this.hasCustomHeader,
|
|
@@ -99,17 +99,17 @@ const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghos
|
|
|
99
99
|
"modal--scrolled-down": this.scrolledDown,
|
|
100
100
|
"modal--hide-secondary-content-borders": this.hideSecondaryContentBorders
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return e(f, { key: "01f1a99d08bf7d14edbf134f18ff139064a6db14" }, e("section", { key: "e859526369fa2b1f6e9c1514f67309326c797555", "aria-hidden": String(!this.isOpen), "aria-label": this.label, "aria-modal": "true", class: o, onKeyDown: this.onKeyDown, role: "dialog", ref: (d) => this.modalEl = d }, e("div", { key: "500de6e4f8ca20e3db551d821663aedc2b6ee761", class: "modal__backdrop", onClick: this.onBackdropClick }), e("div", { key: "afe33af8ae2b7c51d660d62fd2abe55a23c71bf2", class: "modal__body", style: {
|
|
103
103
|
"--swirl-modal-max-height": this.maxHeight,
|
|
104
104
|
"--swirl-modal-height": this.height,
|
|
105
105
|
minHeight: this.minHeight,
|
|
106
106
|
maxWidth: this.maxWidth
|
|
107
|
-
} },
|
|
107
|
+
} }, e("header", { key: "a88e912716aff9035f1725382e73260e63824468", class: "modal__custom-header" }, e("slot", { key: "367c0c5663c61cc38adff9db245cb3c62fb41fed", name: "custom-header" })), (!this.hideLabel || !this.hideCloseButton) && e("header", { key: "1d8340d9496b6a1827dbfa5afb0cc5297c5b47b0", class: "modal__header" }, e("div", { key: "ac9d727f63be6e7f578e808025aebe81d272d7b9", class: "modal__header-bar" }, !this.hideCloseButton && e("swirl-button", { key: "dbf6cc2118184e2082f6dd7f5cd3ac27cb1a70f3", 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 && e("swirl-heading", { key: "d5f8cd4b34fda9ba929ba704abc31e788fb44dcc", as: "h2", class: "modal__heading", level: 3, text: this.label }))), e("div", { key: "88f2bacf1af61d802a6f9143022a771496ceda0b", class: "modal__content-container", style: {
|
|
108
108
|
gap: this.contentGap ? `var(--s-space-${this.contentGap})` : void 0
|
|
109
|
-
} },
|
|
109
|
+
} }, e("div", { key: "aba493484d2375e654965bc7356ae8af40367018", class: "modal__primary-content", style: {
|
|
110
110
|
maxWidth: this.primaryContentMaxWidth,
|
|
111
111
|
flex: this.primaryContentFlex
|
|
112
|
-
} },
|
|
112
|
+
} }, e("div", { key: "3e8bf32fbc258156f0bab8d41e42d8ac264721d7", class: "modal__header-tools" }, e("slot", { key: "9a704a1162c6ec60bc0f81722db05e5e079fd4ca", name: "header-tools" })), e("div", { key: "78377c91186312054af4c6d9acaaf8bbbe9cb428", class: "modal__content", onScroll: this.determineScrollStatus, ref: (d) => this.scrollContainer = d }, e("slot", { key: "664d1483dfe2510cb4f539f3f5d0fe7e8b242117" }))), e("div", { key: "a455a0bd1d63ded0cb9b490eb3979e225be01f85", class: "modal__secondary-content", style: {
|
|
113
113
|
maxWidth: this.secondaryContentMaxWidth,
|
|
114
114
|
flex: this.secondaryContentFlex,
|
|
115
115
|
padding: Boolean(this.secondaryContentPadding) ? `var(--s-space-${this.secondaryContentPadding})` : void 0,
|
|
@@ -117,7 +117,7 @@ const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghos
|
|
|
117
117
|
paddingBlockStart: Boolean(this.secondaryContentPaddingBlockStart) ? `var(--s-space-${this.secondaryContentPaddingBlockStart})` : void 0,
|
|
118
118
|
paddingInlineEnd: Boolean(this.secondaryContentPaddingInlineEnd) ? `var(--s-space-${this.secondaryContentPaddingInlineEnd})` : void 0,
|
|
119
119
|
paddingInlineStart: Boolean(this.secondaryContentPaddingInlineStart) ? `var(--s-space-${this.secondaryContentPaddingInlineStart})` : void 0
|
|
120
|
-
} },
|
|
120
|
+
} }, e("slot", { key: "4cdd48db509c1e1ef1d822dcb8c0391e0cb219b8", name: "secondary-content" }))), e("div", { key: "7646bf87d24eb5222ea973cfd5c4103313819a42", class: "modal__custom-footer" }, e("slot", { key: "47646d2bd32381bcc34c4d74febdb30953026d6b", name: "custom-footer" })), a && e("footer", { key: "b7fca840a0e80d38d021c8f9f52243f125fe3ce8", class: "modal__controls" }, e("swirl-button-group", { key: "91ac48ca22540891189abdb0429aa3d1562a0d52", wrap: !0 }, this.secondaryActionLabel && e("swirl-button", { key: "9d7739259095b4286b1c58109ce8b49e574e886e", label: this.secondaryActionLabel, onClick: this.onSecondaryAction }), this.primaryActionLabel && e("swirl-button", { key: "bd261ad844e3027dd6c0c1ab651bc4a868ea49c3", intent: "primary", label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" }))))));
|
|
121
121
|
}
|
|
122
122
|
get el() {
|
|
123
123
|
return p(this);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { r as i, h as e, H as t } from "./index.
|
|
1
|
+
import { r as i, h as e, H as t } from "./index.eec3fb37.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
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,
|
|
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, c = class {
|
|
5
5
|
constructor(s) {
|
|
6
6
|
i(this, s), this.label = void 0, this.separatorSpacing = "4", this.spacing = "0", this.hasSeparator = !1;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return e(t, { key: "
|
|
9
|
+
return e(t, { key: "f1b4ebc52d03261c28d2ae6eaae3e493bdb98145" }, this.hasSeparator && e("swirl-separator", { key: "3a962178d21dbd6dae69cf5ec9eb6c3f0e7a88f0", spacing: this.separatorSpacing }), e("div", { key: "29f327141605d0d90bd03ced1cd8100cfcd51434", "aria-labelledby": "label", class: "option-list-section", role: "group" }, e("span", { key: "7c4652841d114e2b21286ab419e20ad9033f5925", class: "option-list-section__label", id: "label", part: "option-list-section__label" }, this.label), e("swirl-stack", { key: "26a0881232ec13ec5ad9e8c0d2dc136ff8411745", spacing: this.spacing, align: "stretch" }, e("slot", { key: "9508539c6dccb3f73c7865b4de6af83b8bdb97a9" }))));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
c.style = o;
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
c as swirl_option_list_section
|
|
15
15
|
};
|
package/dist/{swirl-option-list_2.entry.a0b9fc5c.js → swirl-option-list_2.entry.ba591cfe.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as c, c as o, h as a, H as d, g } from "./index.
|
|
2
|
-
import { S as m } from "./sortable.esm-
|
|
1
|
+
import { r as c, c as o, h as a, H as d, g } from "./index.eec3fb37.js";
|
|
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";
|
|
5
5
|
import "react";
|
|
@@ -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: "f4b1977f4e4183da9892815b69231520d9483aac" }, a("swirl-visually-hidden", { key: "b67272dd21670e88168b180dc278a2b38af1ab55", role: "alert" }, this.assistiveText), a("div", { key: "387a1404ec74bbf4eb66fc10810f4c33566d7264", "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: "7b8c2546ae1c9bc386cb6d05be5d0ff2dbe0e60c", 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: "929845576819bd561965c475f3c4aa449096dac5" }, a("span", { key: "74c46991a9bbb9ad01409e658f4f6c72b1f15fd1", class: e, part: "tag" }, this.icon && a("span", { key: "c4a475b16b1d1039c8d6a8b40f94ac3dcd1067b8", class: "tag__icon", innerHTML: this.icon, ref: (t) => this.iconEl = t }), a("span", { key: "71083c3fa4dd03769975403498a2ec78f49826d3", class: "tag__label" }, this.label), this.removable && a("button", { key: "9fa0c323135e2fcb064a1e30a3636bddcfaa9c96", "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: "495a501e9cf488855639af27193853b08e74dd30", size: 16 }))));
|
|
226
226
|
}
|
|
227
227
|
get el() {
|
|
228
228
|
return g(this);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as l, c as s, h as e, H as r } from "./index.
|
|
1
|
+
import { r as l, c as s, h as e, H as r } from "./index.eec3fb37.js";
|
|
2
2
|
import { c as p } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import { d as c } from "./utils-877a768f.c277f897.js";
|
|
4
4
|
import "react";
|
|
@@ -29,7 +29,7 @@ const g = ":host{display:block;width:-webkit-fit-content;width:-moz-fit-content;
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
const n = this.variant !== "simple", a = this.variant === "advanced", t = `${this.page.toLocaleString()} ${this.pageLabel} ${this.pages.toLocaleString()}`, o = p("pagination", `pagination--variant-${this.variant}`);
|
|
32
|
-
return e(r, { key: "
|
|
32
|
+
return e(r, { key: "d0c84a71fcc96097b9d64aa2a053cc6cc38524c7" }, e("nav", { key: "c29fa9eff21f157d125f3524e2e309a585f584ab", "aria-label": this.label, class: o }, e("ul", { key: "8664c3ac1fe1666430afb73bea59e2414e8e8f3c", class: "pagination__list", part: "pagination__list" }, this.showPageSizeSelect && e("li", { key: "53f2a95f8667542a88b0cd1d627c6009359e3299", class: "pagination__list-item" }, e("label", { key: "991ebe7e7f085623a9090652f65a8f9822a0e841", class: "pagination__page-size-selection" }, e("swirl-text", { key: "58f593f0f122975c023e02adf748d6b0b44255a1", whiteSpace: "inherit" }, this.pageSizeSelectLabel), e("swirl-stack", { key: "076f44c996cc39acd0ca88d4c1b53c193c169c3c", align: "center", class: "pagination__page-size-select-container", orientation: "horizontal" }, e("select", { key: "ee481772258639e27f786037d9a6eb55d0e160f5", class: "pagination__page-size-select", onChange: this.onPageSizeSelect }, this.pageSizeOptions.map((i) => e("option", { key: i, selected: i === this.pageSize, value: i }, i))), e("swirl-icon-expand-more", { key: "a0e92ca8306a152774079a383009e421ae51958d", "aria-hidden": "true", class: "pagination__page-size-select-icon", size: 16 })))), e("li", { key: "0ada4bdd3bcbc57337493041850dabb3c1c9f14e", class: "pagination__list-item" }, e("swirl-button", { key: "1cd735266c5810cda59d4968325855117d8e67b0", class: "pagination__first-page-button", disabled: this.page <= 1, hideLabel: !0, icon: "<swirl-icon-double-arrow-left></swirl-icon-double-arrow-left>", intent: "primary", label: this.firstPageButtonLabel, onClick: this.onFirstPageButtonClick })), e("li", { key: "a3658a4d3b2343fee0fcace8c793cd29f46bfa2c", class: "pagination__list-item" }, e("swirl-button", { key: "3d9ea8dbd35f80e28d04dc7c011d7286aa92f8df", class: "pagination__prev-button", disabled: this.page <= 1, hideLabel: !0, icon: "<swirl-icon-chevron-left></swirl-icon-chevron-left>", intent: "primary", label: this.prevButtonLabel, onClick: this.onPrevButtonClick })), n ? e("li", { class: "pagination__list-item pagination__page-label" }, e("span", null, a ? e("span", { "aria-current": "page", class: "pagination__advanced-label" }, e("input", { "aria-label": this.pageSelectLabel, class: "pagination__page-input", onFocus: this.onFocusPageInput, onInput: this.onPageInput, ref: (i) => this.pageInput = i, type: "text", value: this.page }), e("span", { "aria-hidden": "true" }, this.pageLabel, " ", this.pages.toLocaleString())) : e("span", { "aria-current": "page" }, t))) : e("li", { class: "pagination__list-item" }, e("swirl-visually-hidden", null, e("span", { "aria-current": "page" }, t))), e("li", { key: "66638a2995d76a7987b8d645a7d1b30fbc013b3a", class: "pagination__list-item" }, e("swirl-button", { key: "24828e7028e68db7d74a31d5dd5dbf0da7678751", class: "pagination__next-button", disabled: this.page >= this.pages, hideLabel: !0, icon: "<swirl-icon-chevron-right></swirl-icon-chevron-right>", iconPosition: "end", intent: "primary", label: this.nextButtonLabel, onClick: this.onNextButtonClick })), e("li", { key: "dc57ee5d997869f7e0085d82a2f7c75a5ba035a3", class: "pagination__list-item" }, e("swirl-button", { key: "e5d8cdad8a748612b9a088b71308dc8e35b3303b", class: "pagination__last-page-button", disabled: this.page >= this.pages, hideLabel: !0, icon: "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>", intent: "primary", label: this.lastPageButtonLabel, onClick: this.onLastPageButtonClick })))));
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
d.style = h;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as n, c as d, h as e, H as c, g as f } from "./index.
|
|
2
|
-
import { A as
|
|
3
|
-
import { d as
|
|
1
|
+
import { r as n, c as d, h as e, H as c, g as f } from "./index.eec3fb37.js";
|
|
2
|
+
import { A as b } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
|
|
3
|
+
import { d as h, e as p } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as r } from "./index-267776a4.6beb4f4b.js";
|
|
5
5
|
import { q as m, i as s } from "./utils-877a768f.c277f897.js";
|
|
6
6
|
import "react";
|
|
@@ -45,7 +45,7 @@ const u = `:host{--thumbnails-width:7rem;display:block}:host *{box-sizing:border
|
|
|
45
45
|
this.updateZoomSteps(), this.zoom = s() ? "auto" : 1;
|
|
46
46
|
}
|
|
47
47
|
componentDidLoad() {
|
|
48
|
-
this.modal = new
|
|
48
|
+
this.modal = new b(this.modalEl);
|
|
49
49
|
}
|
|
50
50
|
disconnectedCallback() {
|
|
51
51
|
var i;
|
|
@@ -70,7 +70,7 @@ const u = `:host{--thumbnails-width:7rem;display:block}:host *{box-sizing:border
|
|
|
70
70
|
lockBodyScroll() {
|
|
71
71
|
var a;
|
|
72
72
|
const i = (a = this.pdfViewer) == null ? void 0 : a.shadowRoot.querySelector(".file-viewer-pdf__pages");
|
|
73
|
-
Boolean(i) &&
|
|
73
|
+
Boolean(i) && h(i);
|
|
74
74
|
}
|
|
75
75
|
unlockBodyScroll() {
|
|
76
76
|
var a;
|
|
@@ -89,12 +89,12 @@ const u = `:host{--thumbnails-width:7rem;display:block}:host *{box-sizing:border
|
|
|
89
89
|
"pdf-reader--hide-menu": !i,
|
|
90
90
|
"pdf-reader--show-thumbnails": this.showThumbnails
|
|
91
91
|
});
|
|
92
|
-
return e(c, { key: "
|
|
92
|
+
return e(c, { key: "e57db2b78cf143f189d2ec8da3ab76e70fe7ce92" }, e("section", { key: "08d54d69eb1aabe861653f2842f6c8b85f1ff10c", "aria-hidden": "true", "aria-label": this.label, class: a, id: "pdf-reader", onKeyDown: this.onKeyDown, ref: (t) => this.modalEl = t }, e("div", { key: "d335ccbbe130d7e0049fd01a9a64d8b8fbff3730", class: "pdf-reader__body", role: "document" }, e("header", { key: "4c384fe09a7b4c79ab0c09c6bfedccef40a440a9", class: "pdf-reader__header" }, e("span", { key: "8f1406de682d4d69a181c2e5f92b2567b636489b", class: "pdf-reader__header-left" }, e("swirl-button", { key: "66660c08fa7617a9198cc7d84a03a95e2deb52db", class: "pdf-reader__close-button", hideLabel: !0, icon: "<swirl-icon-close></swirl-icon-close>", label: this.closeButtonLabel, onClick: this.onCloseButtonClick }), e("span", { key: "9922f785159311e72c19745d73f40eca552d111b", class: "pdf-reader__label" }, this.label)), e("span", { key: "749275664cf6747e9f280be8cef3083eb97533bd", class: "pdf-reader__header-center" }, e("span", { key: "c606f1f2ec14a17afbb7496a6cf9f837ce099add", class: "pdf-reader__zoom-button-container" }, e("swirl-button", { key: "5ed7708c80dabf4f12618fab2cb195952964d42d", class: "pdf-reader__zoom-button", disabled: this.zoom === this.zoomSteps[0], hideLabel: !0, icon: "<swirl-icon-remove></swirl-icon-remove>", label: this.zoomOutButtonLabel, onClick: this.onZoomOutButtonClick }), e("swirl-button", { key: "e8602fb782f2aa6db4a94383df27118561770949", class: "pdf-reader__zoom-button", disabled: this.zoom === this.zoomSteps[this.zoomSteps.length - 1], hideLabel: !0, icon: "<swirl-icon-add></swirl-icon-add>", label: this.zoomInButtonLabel, onClick: this.onZoomInButtonClick })), e("span", { key: "bb845fdfda67c0e1cb6ec21e9328526c9447e9de", class: "pdf-reader__zoom-select-container" }, e("select", { key: "a7f8779b490b52df8d903709ea2f84871a2a7c7b", "aria-label": this.zoomSelectLabel, class: "pdf-reader__zoom-select", name: "zoom-select", id: "zoom-select", onChange: this.onZoomChange }, e("option", { key: "f646834ffbb956a4fcdd8eab89a96e1d0b4cb885", selected: this.zoom === "auto", value: "auto" }, this.autoZoomLabel), this.zoomSteps.map((t) => e("option", { key: t, selected: this.zoom === t, value: t }, t * 100, "%"))), e("swirl-icon-expand-more", { key: "97ee6073652b3f0d55ea1e436e39e8d1e9edd436", class: "pdf-reader__zoom-select-icon" }))), e("span", { key: "09bcb0a576a3f87c6a9b0d668301c188c4fee742", class: "pdf-reader__header-right" }, e("swirl-popover-trigger", { key: "37bac29cb32709ad4473e669dc17b16c215c88e1", swirlPopover: this.menu }, e("swirl-button", { key: "065ba1053a7ec0ae56b139f945f95febadc4dfd0", class: "pdf-reader__menu-button", hideLabel: !0, icon: "<swirl-icon-more-vertikal></swirl-icon-more-vertikal>", label: this.menuTriggerLabel }))), e("span", { key: "ac490d36ee405346388fd0dee2fc6b4f133245fd", class: "pdf-reader__floating-tools" }, e("button", { key: "49386e83b6a21906c5b5f43d0dc31c0d6f57ebdd", "aria-label": this.sideBySideButtonLabel, class: "pdf-reader__floating-tool-button", onClick: this.toggleViewMode, type: "button" }, e("swirl-icon-menu-book", { key: "cea801fcd288044a2dd1c6e7b08615c2aa0e0bdd" })), e("button", { key: "0beb6eb36ab22abff0d420b7f856502f4105c919", "aria-controls": "thumbnails", "aria-expanded": String(Boolean(this.showThumbnails)), "aria-label": this.thumbnailsButtonLabel, class: "pdf-reader__floating-tool-button", onClick: this.toggleThumbnals, type: "button" }, e("swirl-icon-file-copy", { key: "3b7eb57759d69895d5c5ef4f3bf3ef7da27b488d" })))), e("div", { key: "d9228e18c0d0fc95e7b01eed482891b595d12d61", class: "pdf-reader__content" }, e("nav", { key: "49430474f7e981bd02f1f4bcad3c3f123eb4cf35", "aria-label": this.thumbnailsLabel, class: "pdf-reader__thumbnails", id: "thumbnails" }, this.loadingThumbnails && e("swirl-spinner", { key: "a9be818b17a7b5a678f91ae84d2a59134cb126ab" }), !this.loadingThumbnails && this.thumbnails.map((t, o) => {
|
|
93
93
|
const l = r("pdf-reader__thumbnail", {
|
|
94
94
|
"pdf-reader__thumbnail--active": this.visiblePages[0] === o + 1
|
|
95
95
|
});
|
|
96
96
|
return e("button", { "aria-label": `${this.thumbnailButtonLabel} ${o + 1}`, class: l, onClick: this.onThumbnailClick(o), type: "button" }, e("img", { src: t.toDataURL("image/png"), alt: "" }));
|
|
97
|
-
})), e("swirl-file-viewer", { key: "
|
|
97
|
+
})), e("swirl-file-viewer", { key: "210a26cc1016ba0fb9d2b6680325e61ff19af225", active: this.active, class: "pdf-reader__viewer", file: this.file, fileName: this.fileName, onActivate: this.onActivate, onVisiblePagesChange: this.onVisiblePagesChange, pdfWorkerSrc: this.pdfWorkerSrc, ref: (t) => this.viewer = t, type: "application/pdf", viewMode: this.viewMode, zoom: this.zoom }), e("div", { key: "e08989be87f4aad17df7d93cffe23dd3c4f39ae3", class: "pdf-reader__mobile-zoom-controls" }, e("button", { key: "02953f9de2a0852bb2a5440f782988e1d52244bf", "aria-label": this.autoZoomLabel, class: "pdf-reader__mobile-zoom-button", onClick: this.onZoomAutoButtonClick, type: "button" }, this.zoom === "auto" ? e("swirl-icon-fullscreen-exit", null) : e("swirl-icon-fullscreen", null)), e("button", { key: "cd18e5348d241f40c944d8e201c62cf7af2f774c", "aria-label": this.zoomInButtonLabel, class: "pdf-reader__mobile-zoom-button", disabled: this.zoom === this.zoomSteps[this.zoomSteps.length - 1], onClick: this.onZoomInButtonClick, type: "button" }, e("swirl-icon-add", { key: "c34cfe73bba695f7f22623a6595d4b4e50f0db1b" })), e("button", { key: "604973f5b875064ce433947e23d9ba9eddf79554", "aria-label": this.zoomOutButtonLabel, class: "pdf-reader__mobile-zoom-button", disabled: this.zoom === this.zoomSteps[0], onClick: this.onZoomOutButtonClick, type: "button" }, e("swirl-icon-remove", { key: "d1dc347807e91bc2157488d6036588c4aed2e529" }))))), e("swirl-popover", { key: "4f4da84973309b7e60669868461202b45ffcaf04", animation: "scale-in-y", disableScrollLock: !0, id: "menu", label: this.menuLabel, placement: "bottom-end", ref: (t) => this.menu = t }, e("swirl-stack", { key: "6d7e358d287e99a5b79cae9945c789eb8ee9179a" }, e("div", { key: "451019ff0940c4c801fbbd1854ef0ba93e60829a", class: "pdf-reader__meta" }, e("div", { key: "33bd0193a1d4734510ed77017241a827384e03f8", class: "pdf-reader__file-icon" }, e("svg", { key: "09836b03346a6e0be670639720abd603c508fec6", fill: "none", height: "36", viewBox: "0 0 24 36", width: "24" }, e("path", { key: "4d4c097aa0e10b50baf9883e2f363b72ec439a23", d: "M7.01755 21.6V15.192H8.39455C8.64655 15.192 8.86855 15.225 9.06055 15.291C9.25255 15.357 9.42655 15.474 9.58255 15.642C9.73855 15.81 9.84655 16.008 9.90655 16.236C9.96655 16.458 9.99655 16.761 9.99655 17.145C9.99655 17.433 9.97855 17.676 9.94255 17.874C9.91255 18.072 9.84355 18.258 9.73555 18.432C9.60955 18.642 9.44155 18.807 9.23155 18.927C9.02155 19.041 8.74555 19.098 8.40355 19.098H7.93555V21.6H7.01755ZM7.93555 16.056V18.234H8.37655C8.56255 18.234 8.70655 18.207 8.80855 18.153C8.91055 18.099 8.98555 18.024 9.03355 17.928C9.08155 17.838 9.10855 17.727 9.11455 17.595C9.12655 17.463 9.13255 17.316 9.13255 17.154C9.13255 17.004 9.12955 16.863 9.12355 16.731C9.11755 16.593 9.09055 16.473 9.04255 16.371C8.99455 16.269 8.92255 16.191 8.82655 16.137C8.73055 16.083 8.59255 16.056 8.41255 16.056H7.93555Z", fill: "white" }), e("path", { key: "4a066dc0f75f6f798122cad18f702f7cc1ddde05", d: "M10.6826 21.6V15.192H12.0416C12.5696 15.192 12.9686 15.336 13.2386 15.624C13.5146 15.912 13.6526 16.32 13.6526 16.848V19.845C13.6526 20.445 13.5056 20.889 13.2116 21.177C12.9236 21.459 12.5066 21.6 11.9606 21.6H10.6826ZM11.6006 16.056V20.736H12.0236C12.2816 20.736 12.4646 20.673 12.5726 20.547C12.6806 20.415 12.7346 20.211 12.7346 19.935V16.848C12.7346 16.596 12.6836 16.401 12.5816 16.263C12.4796 16.125 12.2936 16.056 12.0236 16.056H11.6006Z", fill: "white" }), e("path", { key: "9be88600c566f03ba3a89b45814cee9ba401a669", d: "M14.5146 21.6V15.192H17.2506V16.056H15.4326V18H17.0166V18.864H15.4326V21.6H14.5146Z", fill: "white" }), e("path", { key: "dd47d5357a7860c4616b0baa7da123f69b3c3782", d: "M3.59961 9.00001C3.59961 8.0059 4.4055 7.20001 5.39961 7.20001H14.854C15.3314 7.20001 15.7893 7.38965 16.1268 7.72722L19.8724 11.4728C20.21 11.8104 20.3996 12.2682 20.3996 12.7456V27C20.3996 27.9941 19.5937 28.8 18.5996 28.8H5.39961C4.4055 28.8 3.59961 27.9941 3.59961 27V9.00001Z", fill: "#FF574D" }), e("path", { key: "947c9f5c228bda2bf53d03ece7838c08fa41f68d", d: "M15.5996 7.36166V10.2C15.5996 11.1941 16.4055 12 17.3996 12H20.2379C20.3237 12.1884 20.3768 12.3913 20.3937 12.6H17.3996C16.0785 12.6 15.0067 11.5325 14.9996 10.213L14.9996 7.20587C15.2083 7.2228 15.4112 7.27593 15.5996 7.36166Z", fill: "white" }), e("path", { key: "1883cfd60995f6c03bd2accfa97ed5294b1c81fa", d: "M7.01755 21.6V15.192H8.39455C8.64655 15.192 8.86855 15.225 9.06055 15.291C9.25255 15.357 9.42655 15.474 9.58255 15.642C9.73855 15.81 9.84655 16.008 9.90655 16.236C9.96655 16.458 9.99655 16.761 9.99655 17.145C9.99655 17.433 9.97855 17.676 9.94255 17.874C9.91255 18.072 9.84355 18.258 9.73555 18.432C9.60955 18.642 9.44155 18.807 9.23155 18.927C9.02155 19.041 8.74555 19.098 8.40355 19.098H7.93555V21.6H7.01755ZM7.93555 16.056V18.234H8.37655C8.56255 18.234 8.70655 18.207 8.80855 18.153C8.91055 18.099 8.98555 18.024 9.03355 17.928C9.08155 17.838 9.10855 17.727 9.11455 17.595C9.12655 17.463 9.13255 17.316 9.13255 17.154C9.13255 17.004 9.12955 16.863 9.12355 16.731C9.11755 16.593 9.09055 16.473 9.04255 16.371C8.99455 16.269 8.92255 16.191 8.82655 16.137C8.73055 16.083 8.59255 16.056 8.41255 16.056H7.93555Z", fill: "white" }), e("path", { key: "44fb190711b60c4cefe475ea139ecc4689b4e00c", d: "M10.6826 21.6V15.192H12.0416C12.5696 15.192 12.9686 15.336 13.2386 15.624C13.5146 15.912 13.6526 16.32 13.6526 16.848V19.845C13.6526 20.445 13.5056 20.889 13.2116 21.177C12.9236 21.459 12.5066 21.6 11.9606 21.6H10.6826ZM11.6006 16.056V20.736H12.0236C12.2816 20.736 12.4646 20.673 12.5726 20.547C12.6806 20.415 12.7346 20.211 12.7346 19.935V16.848C12.7346 16.596 12.6836 16.401 12.5816 16.263C12.4796 16.125 12.2936 16.056 12.0236 16.056H11.6006Z", fill: "white" }), e("path", { key: "0dc4cf0e3bcb6edb8a102d522b51763f973c7a7f", d: "M14.5146 21.6V15.192H17.2506V16.056H15.4326V18H17.0166V18.864H15.4326V21.6H14.5146Z", fill: "white" }))), e("div", { key: "a7b30176de8991d0c2156c9334efef907b213a58", class: "pdf-reader__file-info" }, e("swirl-text", { key: "cb050d0dde2e8da5fcb2fd8ee5b37a0a56b71aaa", truncate: !0, weight: "semibold" }, this.label), e("swirl-text", { key: "2d8922e43829366c139128c0dfeb105c89159b55", color: "subdued", size: "sm", truncate: !0 }, this.fileTypeLabel))), i && e("swirl-separator", { key: "ce1ef89c3d330e1774ea0e373e305040a9aa82f9" }), e("swirl-action-list", { key: "ed4848d34c40f43fc40b0065aa52b69af0f88695", class: "pdf-reader__menu" }, this.printButtonEnabled && e("swirl-action-list-item", { key: "79eb18b8c0e3a5dc36bc1dc0b9abfe7179dabd02", class: "pdf-reader__print-button", icon: "<swirl-icon-print></swirl-icon-print>", label: this.printButtonLabel, onClick: this.onPrintButtonClick }), this.downloadButtonEnabled && e("swirl-action-list-item", { key: "ba008035148a7f0d84ee4bdc0eb256a1c63f96a8", class: "pdf-reader__download-button", disabled: this.downloading, icon: this.downloading ? '<swirl-spinner size="xs"></swirl-spinner>' : "<swirl-icon-download></swirl-icon-download>", label: this.downloadButtonLabel, onClick: this.onDownloadButtonClick }), e("slot", { key: "5d73fe4c1280d08c9dfba74c3662014ebb53ff2b", name: "menu-items" }))))));
|
|
98
98
|
}
|
|
99
99
|
get el() {
|
|
100
100
|
return f(this);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as v, c as l, h as n, H as g, g as u } from "./index.
|
|
1
|
+
import { r as v, c as l, h as n, H as g, g as u } from "./index.eec3fb37.js";
|
|
2
2
|
import { o as c, s as d, f as _, c as E, a as x } from "./floating-ui.dom.esm-bef21834.ec4a9cbf.js";
|
|
3
3
|
import { d as C, e as k } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as A } from "./index-267776a4.6beb4f4b.js";
|
|
@@ -39,8 +39,8 @@ const P = ":host{position:relative;z-index:var(--s-z-40);display:inline-flex}:ho
|
|
|
39
39
|
var p;
|
|
40
40
|
if (!this.active)
|
|
41
41
|
return;
|
|
42
|
-
const t = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), o = "webkit" in window, i = t || o, r = e.target, s = e.relatedTarget,
|
|
43
|
-
!
|
|
42
|
+
const t = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), o = "webkit" in window, i = t || o, r = e.target, s = e.relatedTarget, f = T(), m = ["SWIRL-TAB"], b = !this.el.contains(r) && !this.el.contains(f), w = r !== this.triggerEl && !((p = this.triggerEl) != null && p.contains(r)), y = i && !this.el.contains(s || r) && s !== this.el;
|
|
43
|
+
!m.includes(r.tagName) && b && w && (!i || y) && this.close();
|
|
44
44
|
}
|
|
45
45
|
onWindowClick(e) {
|
|
46
46
|
if (!this.active || this.closing)
|
|
@@ -114,12 +114,12 @@ const P = ":host{position:relative;z-index:var(--s-z-40);display:inline-flex}:ho
|
|
|
114
114
|
"popover--transparent": this.transparent,
|
|
115
115
|
"popover--padded": this.padded
|
|
116
116
|
});
|
|
117
|
-
return n(g, { key: "
|
|
117
|
+
return n(g, { key: "ca21792904c5f112a6da3ff4606898163b551151" }, n("div", { key: "95b8aaf163bf77262059e81e991e15a35fb7de72", class: t, onKeyDown: this.onKeydown }, n("div", { key: "f3d726737678d385d35ae4f631b5a443d69903a2", "aria-hidden": this.active ? "false" : "true", "aria-label": this.label, class: "popover__content", id: this.popoverId, part: "popover__content", role: "dialog", ref: (s) => this.contentContainer = s, style: {
|
|
118
118
|
top: Boolean(this.position) ? `${(i = this.position) == null ? void 0 : i.y}px` : "",
|
|
119
119
|
left: Boolean(this.position) ? `${(r = this.position) == null ? void 0 : r.x}px` : ""
|
|
120
|
-
}, tabindex: "-1" }, n("span", { key: "
|
|
120
|
+
}, tabindex: "-1" }, n("span", { key: "70830da61188d72e0f83e3c86211ad3c8b4caab3", class: "popover__handle" }), n("div", { key: "245a35760f9ae0cafbeb219eb478490315e5c8f1", class: "popover__scroll-container", part: "popover__scroll-container", ref: (s) => this.scrollContainer = s, style: {
|
|
121
121
|
maxHeight: !e && Boolean(this.maxHeight) ? this.maxHeight : void 0
|
|
122
|
-
} }, n("slot", { key: "
|
|
122
|
+
} }, n("slot", { key: "af125ac1daf978774f331ec90ed1a658a0ad8c5f" }))), this.active && n("div", { key: "389a414986371fd331a10adf4e334dc195600d61", class: "popover__backdrop", onClick: this.onCloseButtonClick })));
|
|
123
123
|
}
|
|
124
124
|
get el() {
|
|
125
125
|
return u(this);
|
|
@@ -219,7 +219,7 @@ const B = ".sc-swirl-popover-trigger-h{display:contents}", H = B, O = class {
|
|
|
219
219
|
return (o = e == null ? void 0 : e.shadowRoot.firstChild) == null ? void 0 : o.classList.contains("popover--active");
|
|
220
220
|
}
|
|
221
221
|
render() {
|
|
222
|
-
return n(g, { key: "
|
|
222
|
+
return n(g, { key: "25084b79d0a1bf0dd28477e9c7f1c5df66eab7a5", onClick: this.onClick, onMouseenter: this.onMouseenter, onMouseleave: this.onMouseleave }, n("slot", { key: "01bd7a5f55da4ef41d8e8238508bd82cbe3ee42a" }));
|
|
223
223
|
}
|
|
224
224
|
get el() {
|
|
225
225
|
return u(this);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as t, h as i, H as n } from "./index.
|
|
1
|
+
import { r as t, h as i, H as n } from "./index.eec3fb37.js";
|
|
2
2
|
import { c } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
const d = ":host{display:block;width:100%}:host *{box-sizing:border-box}:host(.circle){display:inline-flex;width:auto}.progress-indicator--variant-bar{display:block;width:100%;height:0.25rem;border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.progress-indicator--variant-bar::-webkit-progress-bar{border-radius:0.125rem;background-color:var(--s-surface-raised-default)}.progress-indicator--variant-bar::-webkit-progress-value{border-radius:0.125rem;background-color:var(--s-border-highlight);-webkit-transition:width 0.25s;transition:width 0.25s}.progress-indicator--variant-bar::-moz-progress-bar{height:0.25rem;border-radius:0.125rem;background-color:var(--s-border-highlight);-moz-transition:width 0.25s;transition:width 0.25s}@media (prefers-reduced-motion){.progress-indicator--variant-bar::-moz-progress-bar{-moz-transition:none;transition:none}}.progress-indicator--variant-bar.progress-indicator--size-s{height:0.125rem}.progress-indicator--variant-bar.progress-indicator--size-s::-webkit-progress-bar{border-radius:0.0625rem}.progress-indicator--variant-bar.progress-indicator--size-s::-webkit-progress-value{border-radius:0.0625rem}.progress-indicator--variant-bar.progress-indicator--size-s::-moz-progress-bar{height:0.125rem;border-radius:0.0625rem}.progress-indicator--variant-circle{position:relative;display:inline-flex;overflow:hidden;width:3rem;height:3rem}.progress-indicator--variant-circle.progress-indicator--size-s{width:1.5rem;height:1.5rem}.progress-indicator__circle{position:absolute;width:100%;height:100%;transform:rotate(-90deg);inset:0}.progress-indicator__circle-background{stroke:var(--s-border-default);stroke-linecap:round}.progress-indicator__circle-value{transition:stroke-dashoffset 0.25s;stroke:var(--s-interactive-primary-default);stroke-linecap:round}@media (prefers-reduced-motion){.progress-indicator__circle-value{transition:none}}", l = d, b = class {
|
|
6
|
-
constructor(
|
|
7
|
-
t(this,
|
|
6
|
+
constructor(s) {
|
|
7
|
+
t(this, s), this.label = void 0, this.size = "m", this.value = 0, this.variant = "bar";
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
const
|
|
11
|
-
return i(n, { key: "
|
|
10
|
+
const s = c("progress-indicator", `progress-indicator--size-${this.size}`, `progress-indicator--variant-${this.variant}`), e = this.size === "m" ? 4 : 2, r = this.size === "m" ? 20 : 10, a = Math.round(r * 2 * Math.PI), o = Math.round(a * ((100 - this.value) / 100));
|
|
11
|
+
return i(n, { key: "20e4ff315a971f4d8c6e4ca27c3cf4805034d2e0", class: this.variant }, this.variant === "bar" && i("progress", { key: "28ac73c385b494b5e58770a8c8cee8cbcf6bfc56", "aria-label": this.label, "aria-valuemax": 100, "aria-valuemin": 0, "aria-valuenow": this.value, class: s, max: 100, value: this.value }), this.variant === "circle" && i("span", { key: "92a63b4edff63710d1d2cdd2cbb2500810375324", role: "progressbar", "aria-label": this.label, "aria-valuemax": 100, "aria-valuemin": 0, "aria-valuenow": this.value, class: s }, i("svg", { key: "4c48d346c582df19662a5beb9fc388d3d60cfb06", class: "progress-indicator__circle", focusable: "false", viewBox: `0 0 ${(r + e) * 2} ${(r + e) * 2}` }, i("circle", { key: "58fa3036c00712fa81097d1becdef612dd609959", class: "progress-indicator__circle-background", cx: r + e, cy: r + e, r, fill: "none", "stroke-width": e }), i("circle", { key: "fbbb5c7ff12e7db2203998bf43768d88a4e402b0", class: "progress-indicator__circle-value", cx: r + e, cy: r + e, r, fill: "none", "stroke-width": e, "stroke-dasharray": a, "stroke-dashoffset": o }))));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
b.style = l;
|