@getflip/swirl-components-react 0.314.0 → 0.315.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.00a0b9ba.js → file-manager.entry.ff1f7922.js} +4 -4
- package/dist/{index.6ee2c808.js → index.7681d03d.js} +335 -335
- package/dist/{swirl-accordion-item.entry.f73a478e.js → swirl-accordion-item.entry.9d2c46b0.js} +3 -3
- package/dist/{swirl-accordion.entry.0bd2c7af.js → swirl-accordion.entry.e2f922df.js} +5 -5
- package/dist/{swirl-action-list-section.entry.3a638aed.js → swirl-action-list-section.entry.8e4e5209.js} +4 -4
- package/dist/{swirl-action-list_2.entry.848ec394.js → swirl-action-list_2.entry.bc6a4525.js} +5 -5
- package/dist/{swirl-app-bar.entry.a649fa98.js → swirl-app-bar.entry.817747d7.js} +1 -1
- package/dist/{swirl-app-icon.entry.1b7c3d96.js → swirl-app-icon.entry.0d36f84d.js} +2 -2
- package/dist/{swirl-app-layout_5.entry.24dcc601.js → swirl-app-layout_5.entry.4817e6e7.js} +5 -5
- package/dist/{swirl-autocomplete.entry.7ef98c0f.js → swirl-autocomplete.entry.f6b95cad.js} +1 -1
- package/dist/{swirl-avatar-group.entry.fa554cfe.js → swirl-avatar-group.entry.9862be2a.js} +7 -7
- package/dist/{swirl-avatar.entry.4df014f9.js → swirl-avatar.entry.bec50c74.js} +1 -1
- package/dist/{swirl-badge.entry.9ac2f08d.js → swirl-badge.entry.c8169157.js} +1 -1
- package/dist/{swirl-banner.entry.cef9c591.js → swirl-banner.entry.39c498d2.js} +1 -1
- package/dist/{swirl-box.entry.c507f948.js → swirl-box.entry.6e5e97ae.js} +1 -1
- package/dist/{swirl-button-group.entry.16917efa.js → swirl-button-group.entry.fc5856f7.js} +1 -1
- package/dist/{swirl-button.entry.8ce7c82d.js → swirl-button.entry.f1da40b9.js} +1 -1
- package/dist/{swirl-card.entry.05bb7f48.js → swirl-card.entry.402f07ee.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.8f3e45bc.js → swirl-carousel-slide.entry.033b8d64.js} +7 -7
- package/dist/{swirl-carousel.entry.f868f5f6.js → swirl-carousel.entry.56f5a6f3.js} +1 -1
- package/dist/{swirl-checkbox.entry.69e2c9d4.js → swirl-checkbox.entry.df1f5172.js} +1 -1
- package/dist/{swirl-chip.entry.2c2ad9ac.js → swirl-chip.entry.cc29e422.js} +1 -1
- package/dist/{swirl-color-input.entry.53df65d6.js → swirl-color-input.entry.a0da3039.js} +3 -3
- package/dist/{swirl-columns.entry.ab4386bf.js → swirl-columns.entry.d60ee5aa.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +49 -41
- package/dist/{swirl-console-layout.entry.371c0fd7.js → swirl-console-layout.entry.5e78cf11.js} +4 -4
- package/dist/{swirl-date-input.entry.a0a582de.js → swirl-date-input.entry.a48619a0.js} +3 -3
- package/dist/{swirl-date-picker_2.entry.2bd9931d.js → swirl-date-picker_2.entry.50564fae.js} +6 -6
- package/dist/{swirl-description-list-item.entry.d99197c8.js → swirl-description-list-item.entry.70200373.js} +2 -2
- package/dist/swirl-description-list.entry.a511add2.js +15 -0
- package/dist/{swirl-dialog.entry.3f632904.js → swirl-dialog.entry.c09e870c.js} +1 -1
- package/dist/swirl-emoji-clap.entry.83e752fa.js +17 -0
- package/dist/swirl-emoji-happy.entry.c938c0f2.js +17 -0
- package/dist/swirl-emoji-idea.entry.c076f93b.js +17 -0
- package/dist/swirl-emoji-love.entry.71b610e1.js +17 -0
- package/dist/swirl-emoji-sad.entry.187b5c1d.js +17 -0
- package/dist/swirl-emoji-thumbs-up.entry.b2230817.js +17 -0
- package/dist/{swirl-emoji.entry.774525e5.js → swirl-emoji.entry.f4cd99fb.js} +3 -3
- package/dist/{swirl-file-uploader.entry.ea5df8ae.js → swirl-file-uploader.entry.1a52cc73.js} +3 -3
- package/dist/{swirl-file-viewer_8.entry.34def87b.js → swirl-file-viewer_8.entry.3d06c1b1.js} +1048 -1048
- package/dist/{swirl-form-control.entry.14da443a.js → swirl-form-control.entry.8a39987c.js} +1 -1
- package/dist/{swirl-form-group.entry.584c5891.js → swirl-form-group.entry.c61bb4aa.js} +1 -1
- package/dist/{swirl-heading.entry.5990ff76.js → swirl-heading.entry.cfc30b63.js} +1 -1
- package/dist/{swirl-icon-add-moderator.entry.6cff1946.js → swirl-icon-add-moderator.entry.a0ec5ab1.js} +5 -5
- package/dist/{swirl-icon-add-photo.entry.f95b6c1e.js → swirl-icon-add-photo.entry.d39cdb5b.js} +4 -4
- package/dist/{swirl-icon-add-reaction.entry.33706505.js → swirl-icon-add-reaction.entry.442f366b.js} +5 -5
- package/dist/{swirl-icon-add_6.entry.c5c93585.js → swirl-icon-add_6.entry.55c32c09.js} +16 -16
- package/dist/{swirl-icon-admin-panel-settings.entry.f797020c.js → swirl-icon-admin-panel-settings.entry.31cb9cbd.js} +10 -10
- package/dist/{swirl-icon-ai-filled.entry.eb92275c.js → swirl-icon-ai-filled.entry.eb447343.js} +7 -7
- package/dist/{swirl-icon-ai.entry.7c8d386a.js → swirl-icon-ai.entry.81c12012.js} +8 -8
- package/dist/{swirl-icon-apps.entry.46984a7f.js → swirl-icon-apps.entry.e761fde4.js} +7 -7
- package/dist/{swirl-icon-arrow-back_5.entry.6482b961.js → swirl-icon-arrow-back_5.entry.7cd4a609.js} +12 -12
- package/dist/{swirl-icon-arrow-downward_2.entry.8358d671.js → swirl-icon-arrow-downward_2.entry.84b32536.js} +7 -7
- package/dist/{swirl-icon-arrow-left_4.entry.c67a6f35.js → swirl-icon-arrow-left_4.entry.d61bb42b.js} +9 -9
- package/dist/swirl-icon-arrow-right-small.entry.14186f52.js +19 -0
- package/dist/{swirl-icon-aspect-ratio.entry.cf3e48ff.js → swirl-icon-aspect-ratio.entry.0a582cf2.js} +9 -9
- package/dist/{swirl-icon-attachment.entry.51a04f5a.js → swirl-icon-attachment.entry.89c512f6.js} +8 -8
- package/dist/{swirl-icon-bar-chart.entry.01da97ed.js → swirl-icon-bar-chart.entry.d9bb73a1.js} +6 -6
- package/dist/{swirl-icon-block.entry.78b52199.js → swirl-icon-block.entry.4f24ed2b.js} +6 -6
- package/dist/{swirl-icon-bookmark-filled.entry.c388b5ea.js → swirl-icon-bookmark-filled.entry.8e32bd66.js} +7 -7
- package/dist/{swirl-icon-bookmark.entry.ed79e779.js → swirl-icon-bookmark.entry.abd51f9a.js} +9 -9
- package/dist/{swirl-icon-cancel_4.entry.d5654a29.js → swirl-icon-cancel_4.entry.32530afc.js} +14 -14
- package/dist/{swirl-icon-chat-bubble.entry.a39f00e8.js → swirl-icon-chat-bubble.entry.66a1bd51.js} +5 -5
- package/dist/{swirl-icon-chats-filled.entry.2cec60a9.js → swirl-icon-chats-filled.entry.a3e705ba.js} +5 -5
- package/dist/{swirl-icon-chats.entry.8a5b0dcd.js → swirl-icon-chats.entry.e26b72d2.js} +10 -10
- package/dist/{swirl-icon-check-circle_2.entry.a56d7a44.js → swirl-icon-check-circle_2.entry.05d1a72a.js} +7 -7
- package/dist/{swirl-icon-check-small_2.entry.332c6aa5.js → swirl-icon-check-small_2.entry.3ab6dfcd.js} +3 -3
- package/dist/swirl-icon-check-strong_2.entry.f3c8059a.js +32 -0
- package/dist/{swirl-icon-check.entry.d689b207.js → swirl-icon-check.entry.8efa1026.js} +2 -2
- package/dist/{swirl-icon-chevron-left.entry.f56c2c82.js → swirl-icon-chevron-left.entry.889cdae1.js} +6 -6
- package/dist/{swirl-icon-chevron-right.entry.daf767c4.js → swirl-icon-chevron-right.entry.20046dcd.js} +5 -5
- package/dist/{swirl-icon-close-small.entry.669fe231.js → swirl-icon-close-small.entry.9a45e128.js} +5 -5
- package/dist/{swirl-icon-close.entry.44b148fa.js → swirl-icon-close.entry.fc5f10a9.js} +7 -7
- package/dist/{swirl-icon-cloud-upload.entry.0fc53c19.js → swirl-icon-cloud-upload.entry.1ffe6b02.js} +8 -8
- package/dist/{swirl-icon-column.entry.f45bd93a.js → swirl-icon-column.entry.a107a72e.js} +8 -8
- package/dist/{swirl-icon-comment.entry.cff43e32.js → swirl-icon-comment.entry.48e21a1b.js} +6 -6
- package/dist/{swirl-icon-contrast.entry.fb8e2e65.js → swirl-icon-contrast.entry.60cb2a2a.js} +9 -9
- package/dist/{swirl-icon-copy.entry.87d76f75.js → swirl-icon-copy.entry.a959eb6c.js} +6 -6
- package/dist/{swirl-icon-crop.entry.b2582958.js → swirl-icon-crop.entry.a4dd6484.js} +6 -6
- package/dist/{swirl-icon-dark-mode.entry.3e70dc15.js → swirl-icon-dark-mode.entry.a7add07f.js} +2 -2
- package/dist/{swirl-icon-date-range.entry.fc2eda2c.js → swirl-icon-date-range.entry.1a65ce9c.js} +2 -2
- package/dist/{swirl-icon-delete.entry.60be243e.js → swirl-icon-delete.entry.a3d12d1f.js} +6 -6
- package/dist/{swirl-icon-deployed-code.entry.bbadb8ea.js → swirl-icon-deployed-code.entry.44ba8c82.js} +5 -5
- package/dist/{swirl-icon-description.entry.941049fd.js → swirl-icon-description.entry.f1ea0c9b.js} +2 -2
- package/dist/{swirl-icon-desktop.entry.823ed34a.js → swirl-icon-desktop.entry.95a9282d.js} +5 -5
- package/dist/{swirl-icon-directory-filled.entry.cc741486.js → swirl-icon-directory-filled.entry.ccb8c509.js} +9 -9
- package/dist/{swirl-icon-directory.entry.53241bc0.js → swirl-icon-directory.entry.0ba09bbd.js} +8 -8
- package/dist/{swirl-icon-discover.entry.cbeb8c4f.js → swirl-icon-discover.entry.201580ec.js} +7 -7
- package/dist/{swirl-icon-dock-left.entry.3aa0b475.js → swirl-icon-dock-left.entry.1a16194a.js} +7 -7
- package/dist/{swirl-icon-door-open.entry.6e9e4a23.js → swirl-icon-door-open.entry.71522a93.js} +4 -4
- package/dist/swirl-icon-dot.entry.6b146db5.js +19 -0
- package/dist/{swirl-icon-double-arrow-right.entry.536d00e1.js → swirl-icon-double-arrow-right.entry.0ad15c15.js} +8 -8
- package/dist/{swirl-icon-download.entry.55d8a14e.js → swirl-icon-download.entry.90f7f262.js} +8 -8
- package/dist/{swirl-icon-edit.entry.4df9d8a9.js → swirl-icon-edit.entry.e42e171b.js} +5 -5
- package/dist/{swirl-icon-emoji-mood.entry.748d6e50.js → swirl-icon-emoji-mood.entry.5abd9693.js} +2 -2
- package/dist/{swirl-icon-emoji-satisfied.entry.9035733d.js → swirl-icon-emoji-satisfied.entry.797488f6.js} +5 -5
- package/dist/{swirl-icon-error_3.entry.a78fe175.js → swirl-icon-error_3.entry.33273d6b.js} +11 -11
- package/dist/{swirl-icon-expand-more.entry.a64173bb.js → swirl-icon-expand-more.entry.f9b79943.js} +5 -5
- package/dist/{swirl-icon-experiment.entry.a406cfdc.js → swirl-icon-experiment.entry.2993d13e.js} +6 -6
- package/dist/{swirl-icon-file.entry.13ac54e1.js → swirl-icon-file.entry.72d3e823.js} +4 -4
- package/dist/{swirl-icon-filter.entry.e04f653d.js → swirl-icon-filter.entry.3faafbf0.js} +10 -10
- package/dist/{swirl-icon-folder.entry.102cbc0e.js → swirl-icon-folder.entry.7aee72af.js} +8 -8
- package/dist/{swirl-icon-format-h-one.entry.2ea7fdaf.js → swirl-icon-format-h-one.entry.29a13c1d.js} +7 -7
- package/dist/{swirl-icon-gif_3.entry.1612ee29.js → swirl-icon-gif_3.entry.601168e1.js} +21 -21
- package/dist/{swirl-icon-group-add.entry.a3b2d2ac.js → swirl-icon-group-add.entry.2663e8cb.js} +7 -7
- package/dist/{swirl-icon-group-assign.entry.ccc2af53.js → swirl-icon-group-assign.entry.ca4e4509.js} +8 -8
- package/dist/{swirl-icon-groups-filled.entry.7efa8ce0.js → swirl-icon-groups-filled.entry.8b200917.js} +5 -5
- package/dist/{swirl-icon-groups.entry.15d53952.js → swirl-icon-groups.entry.2df41275.js} +10 -10
- package/dist/{swirl-icon-hamburger-menu.entry.353ac6dc.js → swirl-icon-hamburger-menu.entry.02e2a24a.js} +7 -7
- package/dist/{swirl-icon-help.entry.e75a22e3.js → swirl-icon-help.entry.e37c219d.js} +7 -7
- package/dist/{swirl-icon-highlight.entry.b1dcdd5c.js → swirl-icon-highlight.entry.7beff72d.js} +5 -5
- package/dist/{swirl-icon-history.entry.f04a8ebc.js → swirl-icon-history.entry.fef8e5a6.js} +9 -9
- package/dist/{swirl-icon-home.entry.20cddf3f.js → swirl-icon-home.entry.5f69728d.js} +6 -6
- package/dist/{swirl-icon-image.entry.b20e7154.js → swirl-icon-image.entry.ee253dbf.js} +6 -6
- package/dist/{swirl-icon-improve-text.entry.ee79a936.js → swirl-icon-improve-text.entry.d591d3db.js} +2 -2
- package/dist/{swirl-icon-info.entry.33fc5b95.js → swirl-icon-info.entry.edeb35f9.js} +7 -7
- package/dist/{swirl-icon-insert-below.entry.f3a5c775.js → swirl-icon-insert-below.entry.71dafb37.js} +8 -8
- package/dist/{swirl-icon-insert-on-top.entry.4d53e118.js → swirl-icon-insert-on-top.entry.69886e9c.js} +7 -7
- package/dist/{swirl-icon-inventory-off.entry.af7cae31.js → swirl-icon-inventory-off.entry.b71ff251.js} +6 -6
- package/dist/{swirl-icon-inventory.entry.a471190a.js → swirl-icon-inventory.entry.17573688.js} +7 -7
- package/dist/{swirl-icon-key.entry.37693a09.js → swirl-icon-key.entry.95a4bcb9.js} +8 -8
- package/dist/{swirl-icon-keyboard-hide.entry.e86340aa.js → swirl-icon-keyboard-hide.entry.b875d669.js} +7 -7
- package/dist/{swirl-icon-keyboard.entry.e10aaa64.js → swirl-icon-keyboard.entry.a4d20a5d.js} +8 -8
- package/dist/{swirl-icon-light-mode.entry.3cf5e8a6.js → swirl-icon-light-mode.entry.365132b8.js} +10 -10
- package/dist/{swirl-icon-like.entry.e4f2d014.js → swirl-icon-like.entry.1ef85ad3.js} +5 -5
- package/dist/{swirl-icon-link.entry.b34d2afc.js → swirl-icon-link.entry.0a703458.js} +5 -5
- package/dist/{swirl-icon-live.entry.1d42ce14.js → swirl-icon-live.entry.e01a3a56.js} +8 -8
- package/dist/{swirl-icon-load.entry.f78792d3.js → swirl-icon-load.entry.011c332d.js} +8 -8
- package/dist/{swirl-icon-lock-open.entry.9397bf35.js → swirl-icon-lock-open.entry.f2d45720.js} +9 -9
- package/dist/{swirl-icon-lock-person.entry.4191cb36.js → swirl-icon-lock-person.entry.463b4dc5.js} +7 -7
- package/dist/{swirl-icon-lock.entry.5c7d8b70.js → swirl-icon-lock.entry.81ff6ef7.js} +7 -7
- package/dist/{swirl-icon-login.entry.379a9bd1.js → swirl-icon-login.entry.729b77c5.js} +8 -8
- package/dist/{swirl-icon-logout.entry.f2c89356.js → swirl-icon-logout.entry.083cfc7a.js} +5 -5
- package/dist/{swirl-icon-long-text.entry.2b03f428.js → swirl-icon-long-text.entry.0d49236a.js} +2 -2
- package/dist/{swirl-icon-mail.entry.8169d4a1.js → swirl-icon-mail.entry.535a9f85.js} +6 -6
- package/dist/{swirl-icon-manage-accounts.entry.187262e1.js → swirl-icon-manage-accounts.entry.bda0435e.js} +6 -6
- package/dist/{swirl-icon-mark-chat-read.entry.aa28c216.js → swirl-icon-mark-chat-read.entry.be4e317b.js} +5 -5
- package/dist/{swirl-icon-mark-chat-unread.entry.d01bb19a.js → swirl-icon-mark-chat-unread.entry.0b22d5fb.js} +7 -7
- package/dist/{swirl-icon-mention.entry.4ff6a933.js → swirl-icon-mention.entry.a30e4ca0.js} +6 -6
- package/dist/{swirl-icon-menu-book-filled.entry.dd0e4982.js → swirl-icon-menu-book-filled.entry.c85ccd8a.js} +5 -5
- package/dist/{swirl-icon-menu-filled.entry.0d450947.js → swirl-icon-menu-filled.entry.14d663e6.js} +8 -8
- package/dist/{swirl-icon-menu.entry.3ca77440.js → swirl-icon-menu.entry.c132256e.js} +8 -8
- package/dist/{swirl-icon-message.entry.33d20e4d.js → swirl-icon-message.entry.022a42c6.js} +5 -5
- package/dist/{swirl-icon-mic-off.entry.f5ca56fc.js → swirl-icon-mic-off.entry.a2d3f264.js} +8 -8
- package/dist/{swirl-icon-mic.entry.af18087b.js → swirl-icon-mic.entry.905c88d7.js} +6 -6
- package/dist/{swirl-icon-more-horizontal.entry.1ff2ba7d.js → swirl-icon-more-horizontal.entry.5d2a36aa.js} +2 -2
- package/dist/{swirl-icon-news-filled.entry.dad48cac.js → swirl-icon-news-filled.entry.2a7ce51a.js} +7 -7
- package/dist/{swirl-icon-news-off.entry.7d823b74.js → swirl-icon-news-off.entry.0f934f8c.js} +8 -8
- package/dist/{swirl-icon-news.entry.421467f1.js → swirl-icon-news.entry.1641aa47.js} +9 -9
- package/dist/{swirl-icon-notifications-active.entry.f8538a47.js → swirl-icon-notifications-active.entry.13c163f2.js} +7 -7
- package/dist/{swirl-icon-notifications-off.entry.5c85daa6.js → swirl-icon-notifications-off.entry.e436ac28.js} +3 -3
- package/dist/{swirl-icon-notifications.entry.d46c1b1c.js → swirl-icon-notifications.entry.7a84f112.js} +5 -5
- package/dist/{swirl-icon-open-in-full.entry.750e7a27.js → swirl-icon-open-in-full.entry.63f3d87e.js} +4 -4
- package/dist/{swirl-icon-open-in-new.entry.7075867f.js → swirl-icon-open-in-new.entry.84ca270c.js} +7 -7
- package/dist/{swirl-icon-pause-circle.entry.eabdb1d6.js → swirl-icon-pause-circle.entry.087e0128.js} +4 -4
- package/dist/{swirl-icon-people-alt.entry.68d469a3.js → swirl-icon-people-alt.entry.ac6a6420.js} +7 -7
- package/dist/{swirl-icon-person-off.entry.5dbccf84.js → swirl-icon-person-off.entry.e2857c7f.js} +5 -5
- package/dist/{swirl-icon-person.entry.242914d7.js → swirl-icon-person.entry.d810fe82.js} +6 -6
- package/dist/{swirl-icon-phone.entry.b62f5661.js → swirl-icon-phone.entry.4e7ed64c.js} +2 -2
- package/dist/{swirl-icon-photo-camera.entry.1b0f1a3f.js → swirl-icon-photo-camera.entry.9e942c5b.js} +6 -6
- package/dist/{swirl-icon-picture-in-picture.entry.d0314df7.js → swirl-icon-picture-in-picture.entry.5a2abaec.js} +4 -4
- package/dist/{swirl-icon-pin-off.entry.1b5cafdc.js → swirl-icon-pin-off.entry.89fc350f.js} +6 -6
- package/dist/{swirl-icon-pin.entry.3e3fcf33.js → swirl-icon-pin.entry.f339aa76.js} +9 -9
- package/dist/{swirl-icon-place.entry.408c614f.js → swirl-icon-place.entry.e2754308.js} +8 -8
- package/dist/{swirl-icon-poll.entry.b750c0de.js → swirl-icon-poll.entry.fbe202e3.js} +8 -8
- package/dist/{swirl-icon-post-approval.entry.24f1337d.js → swirl-icon-post-approval.entry.58a15a5c.js} +7 -7
- package/dist/{swirl-icon-present.entry.91c66f03.js → swirl-icon-present.entry.78c55c25.js} +5 -5
- package/dist/{swirl-icon-print.entry.0de8dd9a.js → swirl-icon-print.entry.411f70ef.js} +8 -8
- package/dist/{swirl-icon-public-off.entry.711e71e6.js → swirl-icon-public-off.entry.a9f87fab.js} +7 -7
- package/dist/{swirl-icon-public.entry.723d1a64.js → swirl-icon-public.entry.50651d2e.js} +7 -7
- package/dist/{swirl-icon-ratio-four-to-three.entry.96deedbc.js → swirl-icon-ratio-four-to-three.entry.ac564364.js} +6 -6
- package/dist/{swirl-icon-ratio-freeform.entry.fffaee1c.js → swirl-icon-ratio-freeform.entry.dfd1d823.js} +8 -8
- package/dist/{swirl-icon-ratio-sixteen-to-nine.entry.ee7e4533.js → swirl-icon-ratio-sixteen-to-nine.entry.718ac967.js} +10 -10
- package/dist/{swirl-icon-ratio-square.entry.892440c3.js → swirl-icon-ratio-square.entry.69116068.js} +6 -6
- package/dist/{swirl-icon-ratio-three-to-four.entry.10427be1.js → swirl-icon-ratio-three-to-four.entry.ef81e58e.js} +5 -5
- package/dist/{swirl-icon-ratio-three-to-two.entry.a47a8be9.js → swirl-icon-ratio-three-to-two.entry.ff13c12b.js} +6 -6
- package/dist/{swirl-icon-recieved.entry.47fe1fd7.js → swirl-icon-recieved.entry.02cf8ab7.js} +6 -6
- package/dist/{swirl-icon-remove-circle.entry.49dfa1b7.js → swirl-icon-remove-circle.entry.2d613983.js} +8 -8
- package/dist/{swirl-icon-remove-moderator.entry.0e675c71.js → swirl-icon-remove-moderator.entry.75151d17.js} +4 -4
- package/dist/{swirl-icon-reply.entry.19f10f96.js → swirl-icon-reply.entry.ec84d821.js} +2 -2
- package/dist/{swirl-icon-report.entry.aa14ce0f.js → swirl-icon-report.entry.8a09daa5.js} +4 -4
- package/dist/{swirl-icon-roadmap.entry.ec5f8a23.js → swirl-icon-roadmap.entry.5d07a2c1.js} +9 -9
- package/dist/{swirl-icon-rotate-left.entry.bfd9e337.js → swirl-icon-rotate-left.entry.76edd37c.js} +7 -7
- package/dist/{swirl-icon-rotate-right.entry.0d768c1e.js → swirl-icon-rotate-right.entry.757789a6.js} +8 -8
- package/dist/{swirl-icon-screenshare-off.entry.94fdc5ac.js → swirl-icon-screenshare-off.entry.417bb0d9.js} +5 -5
- package/dist/{swirl-icon-screenshare.entry.a316e4a1.js → swirl-icon-screenshare.entry.c6273869.js} +5 -5
- package/dist/{swirl-icon-search-strong.entry.732c3135.js → swirl-icon-search-strong.entry.09a47e72.js} +5 -5
- package/dist/{swirl-icon-search.entry.1f7be29f.js → swirl-icon-search.entry.6a269d60.js} +10 -10
- package/dist/{swirl-icon-secure.entry.4ee98eae.js → swirl-icon-secure.entry.56c928ff.js} +8 -8
- package/dist/{swirl-icon-send.entry.872c59b2.js → swirl-icon-send.entry.26eef669.js} +8 -8
- package/dist/{swirl-icon-settings.entry.23b485e5.js → swirl-icon-settings.entry.11267f44.js} +7 -7
- package/dist/{swirl-icon-short-text.entry.166eb31d.js → swirl-icon-short-text.entry.683efb97.js} +7 -7
- package/dist/{swirl-icon-simplify.entry.cc22880a.js → swirl-icon-simplify.entry.2bf9f097.js} +8 -8
- package/dist/{swirl-icon-spellcheck.entry.9059335a.js → swirl-icon-spellcheck.entry.a4e340d8.js} +5 -5
- package/dist/{swirl-icon-stars.entry.e1c97715.js → swirl-icon-stars.entry.b4745f09.js} +7 -7
- package/dist/{swirl-icon-stop-circle.entry.febee26b.js → swirl-icon-stop-circle.entry.b17835ee.js} +6 -6
- package/dist/{swirl-icon-stop.entry.bb2f1fbe.js → swirl-icon-stop.entry.e6d47191.js} +7 -7
- package/dist/{swirl-icon-sync.entry.8ac2b3a5.js → swirl-icon-sync.entry.2f170ca4.js} +5 -5
- package/dist/{swirl-icon-tasks-filled.entry.ae6f85ab.js → swirl-icon-tasks-filled.entry.4c648c10.js} +5 -5
- package/dist/{swirl-icon-tasks.entry.6236675e.js → swirl-icon-tasks.entry.c51516f9.js} +8 -8
- package/dist/{swirl-icon-terminal.entry.5cf7787e.js → swirl-icon-terminal.entry.00577454.js} +2 -2
- package/dist/{swirl-icon-time-filled.entry.557efff3.js → swirl-icon-time-filled.entry.065f855e.js} +7 -7
- package/dist/{swirl-icon-time.entry.dfcaeb7a.js → swirl-icon-time.entry.312fb9de.js} +6 -6
- package/dist/{swirl-icon-today-filled.entry.7f0f69b8.js → swirl-icon-today-filled.entry.5735465a.js} +8 -8
- package/dist/{swirl-icon-translate.entry.9926d786.js → swirl-icon-translate.entry.8f804067.js} +4 -4
- package/dist/{swirl-icon-tree-structure.entry.8e7ac2d1.js → swirl-icon-tree-structure.entry.1eadbea3.js} +5 -5
- package/dist/{swirl-icon-undo.entry.207cd2e3.js → swirl-icon-undo.entry.8248f6af.js} +7 -7
- package/dist/{swirl-icon-unlock-person.entry.69e8dc04.js → swirl-icon-unlock-person.entry.3d05f2a5.js} +9 -9
- package/dist/{swirl-icon-user-add.entry.85ed870a.js → swirl-icon-user-add.entry.19258426.js} +2 -2
- package/dist/{swirl-icon-user-assign.entry.8b4ffa14.js → swirl-icon-user-assign.entry.1adb8bd0.js} +5 -5
- package/dist/{swirl-icon-video-camera-off.entry.27398eb7.js → swirl-icon-video-camera-off.entry.c4c24a82.js} +7 -7
- package/dist/{swirl-icon-video-camera.entry.77671456.js → swirl-icon-video-camera.entry.0d9c217e.js} +2 -2
- package/dist/{swirl-icon-video-library.entry.b52e0ffb.js → swirl-icon-video-library.entry.99ab2962.js} +2 -2
- package/dist/{swirl-icon-video-player.entry.90db3bf2.js → swirl-icon-video-player.entry.847b55fb.js} +8 -8
- package/dist/{swirl-icon-view-agenda.entry.34084ddc.js → swirl-icon-view-agenda.entry.0963af6b.js} +2 -2
- package/dist/{swirl-icon-voice.entry.895deaed.js → swirl-icon-voice.entry.8aa88bbb.js} +2 -2
- package/dist/{swirl-icon-web-asset-off.entry.fe5aac03.js → swirl-icon-web-asset-off.entry.7be13e29.js} +10 -10
- package/dist/{swirl-icon-web-asset.entry.feedd285.js → swirl-icon-web-asset.entry.5ee3a4ec.js} +5 -5
- package/dist/{swirl-icon-work.entry.c85016f2.js → swirl-icon-work.entry.6404a718.js} +5 -5
- package/dist/{swirl-icon.entry.7c4b2ac5.js → swirl-icon.entry.cab1e2ab.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.5e7e558a.js → swirl-image-grid-item.entry.af9452be.js} +1 -1
- package/dist/{swirl-image-grid.entry.526bf35a.js → swirl-image-grid.entry.c4f80833.js} +1 -1
- package/dist/{swirl-inline-notification.entry.640777db.js → swirl-inline-notification.entry.85010bcf.js} +1 -1
- package/dist/{swirl-inline-status.entry.9add8868.js → swirl-inline-status.entry.180402ed.js} +1 -1
- package/dist/{swirl-lightbox.entry.7d359384.js → swirl-lightbox.entry.ed6de4e2.js} +2 -2
- package/dist/{swirl-link.entry.33874cf4.js → swirl-link.entry.f6b80944.js} +1 -1
- package/dist/{swirl-list.entry.e655a82b.js → swirl-list.entry.81ca4a4f.js} +2 -2
- package/dist/{swirl-menu-item.entry.f327f061.js → swirl-menu-item.entry.8ada9b8e.js} +2 -2
- package/dist/{swirl-menu.entry.07481724.js → swirl-menu.entry.320152f0.js} +1 -1
- package/dist/swirl-modal.entry.1996de61.js +148 -0
- package/dist/{swirl-option-list-section.entry.dc9b6a52.js → swirl-option-list-section.entry.facf418a.js} +2 -2
- package/dist/{swirl-option-list_2.entry.b080979c.js → swirl-option-list_2.entry.88e38406.js} +3 -3
- package/dist/{swirl-pagination.entry.0fd9f175.js → swirl-pagination.entry.fd07b3cb.js} +15 -15
- package/dist/{swirl-pdf-reader.entry.f9a6a8b3.js → swirl-pdf-reader.entry.15b1a6e2.js} +4 -4
- package/dist/{swirl-popover_2.entry.0095113b.js → swirl-popover_2.entry.1fed8622.js} +7 -7
- package/dist/{swirl-progress-indicator.entry.79b43469.js → swirl-progress-indicator.entry.17e08f9a.js} +2 -2
- package/dist/{swirl-radio-group.entry.e4f4456f.js → swirl-radio-group.entry.bcaa65cd.js} +2 -2
- package/dist/{swirl-radio.entry.184799ec.js → swirl-radio.entry.de42d7e3.js} +2 -2
- package/dist/{swirl-resource-list-file-item.entry.2ac6605a.js → swirl-resource-list-file-item.entry.4a42167c.js} +6 -6
- package/dist/{swirl-resource-list-section.entry.d885ab40.js → swirl-resource-list-section.entry.a0b0cda2.js} +5 -5
- package/dist/{swirl-search.entry.4fd5307c.js → swirl-search.entry.251ef682.js} +2 -2
- package/dist/{swirl-select.entry.57a208b8.js → swirl-select.entry.872a5d12.js} +3 -3
- package/dist/{swirl-separator.entry.fe903f07.js → swirl-separator.entry.4e422fed.js} +1 -1
- package/dist/{swirl-shell-layout.entry.bfb24dd8.js → swirl-shell-layout.entry.4f5d6290.js} +6 -6
- package/dist/{swirl-shell-navigation-item.entry.e0767141.js → swirl-shell-navigation-item.entry.77dd6bf5.js} +5 -5
- package/dist/{swirl-skeleton-box.entry.cb8fef9f.js → swirl-skeleton-box.entry.38540d91.js} +3 -3
- package/dist/{swirl-skeleton-text.entry.ec210aa7.js → swirl-skeleton-text.entry.f68119b2.js} +2 -2
- package/dist/{swirl-stack.entry.e81e857d.js → swirl-stack.entry.01cf7608.js} +1 -1
- package/dist/{swirl-status-indicator.entry.75ab897a.js → swirl-status-indicator.entry.93e47194.js} +5 -5
- package/dist/{swirl-switch.entry.b1de4c5d.js → swirl-switch.entry.76c41856.js} +2 -2
- package/dist/{swirl-symbol-account-circle.entry.a1875fd6.js → swirl-symbol-account-circle.entry.fc9107bd.js} +2 -2
- package/dist/{swirl-symbol-alternate-email.entry.76b994d9.js → swirl-symbol-alternate-email.entry.3d44ff4e.js} +6 -6
- package/dist/{swirl-symbol-android.entry.fba7909d.js → swirl-symbol-android.entry.6232d8d8.js} +2 -2
- package/dist/{swirl-symbol-announcement.entry.350ec22a.js → swirl-symbol-announcement.entry.d889dbbb.js} +2 -2
- package/dist/{swirl-symbol-backup.entry.9998bc26.js → swirl-symbol-backup.entry.ccdd77d8.js} +3 -3
- package/dist/{swirl-symbol-beach-access.entry.5ce27e70.js → swirl-symbol-beach-access.entry.93a31483.js} +7 -7
- package/dist/{swirl-symbol-bookmark.entry.6109868f.js → swirl-symbol-bookmark.entry.96997c8d.js} +2 -2
- package/dist/{swirl-symbol-cloud.entry.aece914a.js → swirl-symbol-cloud.entry.23e44b62.js} +2 -2
- package/dist/{swirl-symbol-coronavirus.entry.80ac8ddf.js → swirl-symbol-coronavirus.entry.66a2934f.js} +8 -8
- package/dist/{swirl-symbol-desktop-windows.entry.59dfcff4.js → swirl-symbol-desktop-windows.entry.77bdee6e.js} +5 -5
- package/dist/{swirl-symbol-directions-car-filled.entry.b471a25a.js → swirl-symbol-directions-car-filled.entry.af3ed7a5.js} +5 -5
- package/dist/{swirl-symbol-edit-calendar.entry.7a3d13fa.js → swirl-symbol-edit-calendar.entry.0f249159.js} +5 -5
- package/dist/{swirl-symbol-email.entry.a3dadddc.js → swirl-symbol-email.entry.e7a5c5a4.js} +2 -2
- package/dist/{swirl-symbol-emoji-food-beverage.entry.4ce632e7.js → swirl-symbol-emoji-food-beverage.entry.e58e1b7d.js} +6 -6
- package/dist/{swirl-symbol-event-menu.entry.a45ef679.js → swirl-symbol-event-menu.entry.7ab37398.js} +5 -5
- package/dist/{swirl-symbol-facebook.entry.807d5f82.js → swirl-symbol-facebook.entry.181105c7.js} +6 -6
- package/dist/{swirl-symbol-favorite.entry.4bca9349.js → swirl-symbol-favorite.entry.3f1e3dd5.js} +5 -5
- package/dist/{swirl-symbol-fitness-center.entry.476d3013.js → swirl-symbol-fitness-center.entry.b5988490.js} +2 -2
- package/dist/{swirl-symbol-flag.entry.08f25d48.js → swirl-symbol-flag.entry.73b54d64.js} +6 -6
- package/dist/{swirl-symbol-folder.entry.b073df0f.js → swirl-symbol-folder.entry.e71c3e2b.js} +5 -5
- package/dist/{swirl-symbol-globe.entry.9bae1447.js → swirl-symbol-globe.entry.9c69da05.js} +2 -2
- package/dist/{swirl-symbol-groups.entry.ea09122b.js → swirl-symbol-groups.entry.da9adf57.js} +8 -8
- package/dist/{swirl-symbol-help.entry.5c9ed43f.js → swirl-symbol-help.entry.54c35328.js} +2 -2
- package/dist/{swirl-symbol-image.entry.ccd5b77f.js → swirl-symbol-image.entry.24390127.js} +5 -5
- package/dist/{swirl-symbol-info-menu.entry.a57e125f.js → swirl-symbol-info-menu.entry.6c011218.js} +2 -2
- package/dist/{swirl-symbol-instagram.entry.3e836c84.js → swirl-symbol-instagram.entry.a7d0896a.js} +4 -4
- package/dist/{swirl-symbol-ios.entry.878752cb.js → swirl-symbol-ios.entry.7cc53a25.js} +2 -2
- package/dist/{swirl-symbol-language.entry.0e93ecac.js → swirl-symbol-language.entry.78ce421c.js} +7 -7
- package/dist/{swirl-symbol-leaderboard.entry.64f7e84b.js → swirl-symbol-leaderboard.entry.c9bf837a.js} +2 -2
- package/dist/{swirl-symbol-lightbulb.entry.f55eee5c.js → swirl-symbol-lightbulb.entry.de8cd6a4.js} +5 -5
- package/dist/{swirl-symbol-linkedin.entry.7b725684.js → swirl-symbol-linkedin.entry.fb65de26.js} +6 -6
- package/dist/{swirl-symbol-location-on.entry.942fbf56.js → swirl-symbol-location-on.entry.d688a062.js} +5 -5
- package/dist/{swirl-symbol-loyalty.entry.67b70056.js → swirl-symbol-loyalty.entry.e133d561.js} +2 -2
- package/dist/{swirl-symbol-maps-home-work.entry.df17135c.js → swirl-symbol-maps-home-work.entry.c50bbde9.js} +5 -5
- package/dist/{swirl-symbol-notifications.entry.d956133c.js → swirl-symbol-notifications.entry.20561056.js} +6 -6
- package/dist/{swirl-symbol-open-in-new.entry.dc3ff410.js → swirl-symbol-open-in-new.entry.c502e688.js} +2 -2
- package/dist/{swirl-symbol-pedal-bike.entry.fcf0263b.js → swirl-symbol-pedal-bike.entry.8c25ac9c.js} +5 -5
- package/dist/{swirl-symbol-pinterest.entry.107d51c4.js → swirl-symbol-pinterest.entry.11c44b6e.js} +5 -5
- package/dist/{swirl-symbol-policy.entry.683cffa4.js → swirl-symbol-policy.entry.46c70520.js} +5 -5
- package/dist/{swirl-symbol-push-pin.entry.dc11cc0f.js → swirl-symbol-push-pin.entry.ba5709ca.js} +5 -5
- package/dist/{swirl-symbol-redeem.entry.238733f1.js → swirl-symbol-redeem.entry.7ddb4f27.js} +5 -5
- package/dist/{swirl-symbol-report-problem.entry.ae864af4.js → swirl-symbol-report-problem.entry.a428a78f.js} +4 -4
- package/dist/{swirl-symbol-restaurant.entry.8f44a296.js → swirl-symbol-restaurant.entry.52a96b68.js} +5 -5
- package/dist/swirl-symbol-roadmap.entry.865fac5b.js +17 -0
- package/dist/{swirl-symbol-room.entry.90567dbe.js → swirl-symbol-room.entry.3f5a6e05.js} +5 -5
- package/dist/{swirl-symbol-savings.entry.13eff343.js → swirl-symbol-savings.entry.90921b10.js} +4 -4
- package/dist/{swirl-symbol-settings-voice.entry.bdcfaa0b.js → swirl-symbol-settings-voice.entry.be13ca1c.js} +5 -5
- package/dist/{swirl-symbol-shopping-cart.entry.87fa1e19.js → swirl-symbol-shopping-cart.entry.19c00230.js} +4 -4
- package/dist/swirl-symbol-smartphone.entry.717cb929.js +17 -0
- package/dist/{swirl-symbol-star.entry.f6be8522.js → swirl-symbol-star.entry.ca76bd3f.js} +8 -8
- package/dist/{swirl-symbol-supervisor-account.entry.46c5a993.js → swirl-symbol-supervisor-account.entry.444d55cb.js} +7 -7
- package/dist/{swirl-symbol-thumbs-up-down.entry.783efa16.js → swirl-symbol-thumbs-up-down.entry.97751981.js} +7 -7
- package/dist/{swirl-symbol-twitter.entry.78c41375.js → swirl-symbol-twitter.entry.8a86e376.js} +2 -2
- package/dist/{swirl-symbol-wb-sunny.entry.016fe6b3.js → swirl-symbol-wb-sunny.entry.f5e228dc.js} +8 -8
- package/dist/{swirl-symbol-wechat.entry.180f72a3.js → swirl-symbol-wechat.entry.e91bad33.js} +2 -2
- package/dist/{swirl-symbol-weibo.entry.085d5298.js → swirl-symbol-weibo.entry.5d71f392.js} +8 -8
- package/dist/{swirl-symbol-work.entry.eb2fea4e.js → swirl-symbol-work.entry.fdce43ed.js} +6 -6
- package/dist/{swirl-symbol-xing.entry.d52c8c46.js → swirl-symbol-xing.entry.0dbdf3ab.js} +2 -2
- package/dist/{swirl-symbol-youtube.entry.1d3a7371.js → swirl-symbol-youtube.entry.22e7748d.js} +5 -5
- package/dist/swirl-symbol.entry.93827e21.js +16 -0
- package/dist/{swirl-tab-bar.entry.e7118cab.js → swirl-tab-bar.entry.f99b5fbd.js} +8 -8
- package/dist/{swirl-tab.entry.bd2094b6.js → swirl-tab.entry.c3ac4491.js} +4 -4
- package/dist/{swirl-table-cell.entry.f80d7502.js → swirl-table-cell.entry.2ee6947f.js} +4 -4
- package/dist/{swirl-table-column.entry.6b65bb81.js → swirl-table-column.entry.d0dd71fc.js} +2 -2
- package/dist/{swirl-table-row-group.entry.9ddac6de.js → swirl-table-row-group.entry.e492ae50.js} +7 -7
- package/dist/{swirl-table-row.entry.34cfbb40.js → swirl-table-row.entry.8edc66ad.js} +5 -5
- package/dist/{swirl-table.entry.87f76311.js → swirl-table.entry.7bfc28ce.js} +5 -5
- package/dist/{swirl-tabs.entry.c232923e.js → swirl-tabs.entry.aed190d6.js} +3 -3
- package/dist/{swirl-text-input.entry.449717f7.js → swirl-text-input.entry.0306973f.js} +1 -1
- package/dist/{swirl-text.entry.dd922cf4.js → swirl-text.entry.4f5ccca0.js} +2 -2
- package/dist/{swirl-theme-provider.entry.d87b0a44.js → swirl-theme-provider.entry.1cec3f61.js} +2 -2
- package/dist/{swirl-time-input.entry.c033ee1e.js → swirl-time-input.entry.df433e9c.js} +4 -4
- package/dist/{swirl-toast-provider.entry.7df4f4e9.js → swirl-toast-provider.entry.52526a2e.js} +4 -4
- package/dist/{swirl-toast.entry.a761e306.js → swirl-toast.entry.6e2cc917.js} +6 -6
- package/dist/{swirl-toggle-button.entry.4f8988f7.js → swirl-toggle-button.entry.ce239251.js} +2 -2
- package/dist/{swirl-toggle-group.entry.72c0349d.js → swirl-toggle-group.entry.43d41f31.js} +2 -2
- package/dist/{swirl-toolbar.entry.2365ff81.js → swirl-toolbar.entry.9c68f629.js} +2 -2
- package/dist/{swirl-tooltip.entry.8496eecb.js → swirl-tooltip.entry.a73d6b45.js} +9 -9
- package/dist/{swirl-tree-navigation-item.entry.365244e2.js → swirl-tree-navigation-item.entry.e0c57776.js} +4 -4
- package/dist/{swirl-tree-navigation.entry.f98e37e2.js → swirl-tree-navigation.entry.170a202f.js} +2 -2
- package/dist/{swirl-tree-view-item.entry.efa6f593.js → swirl-tree-view-item.entry.1cc183dc.js} +19 -19
- package/dist/{swirl-tree-view.entry.1e824b71.js → swirl-tree-view.entry.a8e2d8fc.js} +2 -2
- package/dist/{swirl-video-thumbnail.entry.d9b19a9d.js → swirl-video-thumbnail.entry.b28b95a6.js} +4 -4
- package/dist/swirl-visually-hidden.entry.9e110bd4.js +15 -0
- package/dist/{wc-datepicker.entry.428e86f6.js → wc-datepicker.entry.fdeeaff8.js} +1 -1
- package/package.json +2 -2
- package/dist/swirl-description-list.entry.a9a77c71.js +0 -15
- package/dist/swirl-emoji-clap.entry.c3ced3fe.js +0 -17
- package/dist/swirl-emoji-happy.entry.a86db488.js +0 -17
- package/dist/swirl-emoji-idea.entry.26f72553.js +0 -17
- package/dist/swirl-emoji-love.entry.03f3396e.js +0 -17
- package/dist/swirl-emoji-sad.entry.46700a30.js +0 -17
- package/dist/swirl-emoji-thumbs-up.entry.75ee7405.js +0 -17
- package/dist/swirl-icon-arrow-right-small.entry.770dfdc7.js +0 -19
- package/dist/swirl-icon-check-strong_2.entry.5a97c478.js +0 -32
- package/dist/swirl-icon-dot.entry.45871180.js +0 -19
- package/dist/swirl-modal.entry.c961532b.js +0 -129
- package/dist/swirl-symbol-roadmap.entry.637b65ad.js +0 -17
- package/dist/swirl-symbol-smartphone.entry.05481455.js +0 -17
- package/dist/swirl-symbol.entry.86b19c75.js +0 -16
- package/dist/swirl-visually-hidden.entry.dff02d0f.js +0 -15
|
@@ -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.7681d03d.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: "8b0d0ea3d265419f77586127628d22df72d03d56" }, i("div", { key: "181620d99aa412fa39cf90f8e4309fb061428b13", class: e }, ((t = this.parentMenu) == null ? void 0 : t.variant) === "selection" ? this.renderOptionListItem() : this.renderActionListItem(), i("slot", { key: "1b1f3c384e3b9d7f3a6371c3990ec84f862fac17", 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.7681d03d.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";
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { r as f, c as t, h as e, H as p, g as u } from "./index.7681d03d.js";
|
|
2
|
+
import { d as m, e as b } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
3
|
+
import { c as v } from "./index-267776a4.6beb4f4b.js";
|
|
4
|
+
import { c as y } from "./focus-trap.esm-49c9613c.db20abcc.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
const g = `:host{display:block}:host *{box-sizing:border-box}.modal{--swirl-ghost-button-background-default:var(--s-surface-overlay-default);--swirl-ghost-button-background-hovered:var(--s-surface-overlay-hovered);--swirl-ghost-button-background-pressed:var(--s-surface-overlay-pressed);--swirl-resource-list-item-background-default:var(
|
|
8
|
+
--s-surface-overlay-default
|
|
9
|
+
);--swirl-resource-list-item-background-hovered:var(
|
|
10
|
+
--s-surface-overlay-hovered
|
|
11
|
+
);--swirl-resource-list-item-background-pressed:var(
|
|
12
|
+
--s-surface-overlay-pressed
|
|
13
|
+
);--swirl-modal-height:auto;--swirl-modal-max-height:90vh;--swirl-modal-view-height:100vh;--swirl-modal-header-height:3.75rem;--swirl-modal-max-width:40rem;--swirl-modal-sidebar-width:25rem;--swirl-modal-max-secondary-content-width:24rem;--swirl-modal-footer-padding-small:var(--s-space-12) var(--s-space-16)
|
|
14
|
+
var(--s-space-12) var(--s-space-16);--swirl-modal-footer-padding-large:var(--s-space-16) var(--s-space-24)
|
|
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:calc(
|
|
16
|
+
var(--swirl-modal-max-width) +
|
|
17
|
+
var(--swirl-modal-max-secondary-content-width)
|
|
18
|
+
)}.modal--has-secondary-content:not(.modal--has-header-tools):not(.modal--hide-secondary-content-borders) .modal__header{border-bottom-color:var(--s-border-default)}.modal--has-secondary-content.modal--has-header-tools:not(.modal--hide-secondary-content-borders) .modal__header-tools{border-bottom-color:var(--s-border-default)}.modal--has-secondary-content.modal--has-custom-footer:not(.modal--hide-secondary-content-borders) .modal__custom-footer{border-top:var(--s-border-width-default) solid var(--s-border-default)}.modal--has-secondary-content:not(.modal--has-custom-footer):not(.modal--hide-secondary-content-borders) .modal__controls{border-top:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 992px){.modal--has-secondary-content .modal__header-tools,.modal--has-secondary-content .modal__content{padding-right:0}}.modal--has-secondary-content .modal__primary-content{overflow:visible;max-height:60%;flex-basis:auto}@media (min-width: 992px){.modal--has-secondary-content .modal__primary-content{max-width:calc(100% - var(--swirl-modal-max-secondary-content-width));max-height:none;flex-basis:calc(100% - var(--swirl-modal-max-secondary-content-width))}}.modal--has-secondary-content .modal__secondary-content{display:block}.modal__main-content{display:flex;flex-direction:column;overflow-y:auto}.modal__sidebar{display:none}.modal--has-sidebar-content .modal__body{max-width:calc(
|
|
19
|
+
var(--swirl-modal-max-width) + var(--swirl-modal-sidebar-width)
|
|
20
|
+
)}@media (min-width: 768px){.modal--has-sidebar-content .modal__sidebar{display:flex;flex-direction:column;overflow-y:auto;flex-shrink:0;width:var(--swirl-modal-sidebar-width);border-right:var(--s-border-width-default) solid var(--s-border-default)}.modal--has-sidebar-content .modal__sidebar .modal__sidebar-header{border-bottom:var(--s-border-width-default) solid transparent}.modal--has-sidebar-content .modal__sidebar .modal__sidebar-header .modal__sidebar-heading{display:flex;align-items:center;height:var(--swirl-modal-header-height);padding-top:var(--s-space-12);padding-right:var(--s-space-24);padding-bottom:var(--s-space-12);padding-left:var(--s-space-24)}.modal--has-sidebar-content .modal__sidebar .modal__sidebar-content{display:block;padding-left:var(--s-space-24);padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-top:var(--s-space-16);flex-grow:1;overflow-y:auto}}@media (min-width: 992px){.modal--has-sidebar-content .modal__primary-content{flex-basis:calc(100% - 20rem)}}@media (min-width: 768px){.modal--scrolled:not(.modal--has-header-tools) .modal__header{border-bottom-color:var(--s-border-default)}.modal--scrolled.modal--has-header-tools .modal__header-tools{border-bottom-color:var(--s-border-default)}.modal--scrolled .modal__custom-header{border-bottom-color:var(--s-border-default)}}@media (min-width: 768px){.modal--sidebar-scrolled .modal__sidebar .modal__sidebar-header{border-bottom-color:var(--s-border-default)}}.modal__backdrop{position:fixed;background-color:rgba(0, 0, 0, 0.2);inset:0}.modal__body{--swirl-card-background-default:var(--s-surface-overlay-default);--swirl-card-background-hovered:var(--s-surface-overlay-hovered);--swirl-card-background-pressed:var(--s-surface-overlay-pressed);--swirl-accordion-item-toggle-default:var(--s-surface-overlay-default);--swirl-accordion-item-toggle-hovered:var(--s-surface-overlay-hovered);--swirl-accordion-item-toggle-pressed:var(--s-surface-overlay-pressed);position:relative;z-index:var(--s-z-40);display:flex;flex-direction:row;overflow:hidden;width:100vw;height:var(--swirl-modal-view-height);background-color:var(--s-surface-overlay-default)}@media (min-width: 768px){.modal__body{width:90vw;max-width:var(--swirl-modal-max-width);max-height:var(--swirl-modal-max-height);border-radius:var(--s-border-radius-base);box-shadow:var(--s-shadow-level-3)}}@media (min-width: 992px){.modal__body{height:var(--swirl-modal-height)}}.modal__header{border-bottom:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 768px){.modal__header{border-bottom:var(--s-border-width-default) solid transparent}}.modal__header-bar{display:flex;height:3.5rem;padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:var(--s-space-16);flex-shrink:0;align-items:center;gap:var(--s-space-8)}@media (min-width: 768px){.modal__header-bar{height:var(--swirl-modal-header-height);padding-top:var(--s-space-12);padding-right:var(--s-space-24);padding-bottom:var(--s-space-12);padding-left:var(--s-space-24);flex-direction:row-reverse;gap:var(--s-space-16)}}.modal__header-tools{display:none;padding-right:var(--s-space-16);padding-left:var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 768px){.modal__header-tools{padding-right:var(--s-space-24);padding-left:var(--s-space-24);border-bottom-color:transparent}}.modal__custom-header{display:none;flex-shrink:0;border-bottom:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 768px){.modal__custom-header{border-bottom-color:transparent}}.modal__heading{overflow:hidden}.modal__heading .heading{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.modal__content-container{display:flex;overflow:hidden;flex-grow:1;flex-direction:column;gap:var(--s-space-24)}@media (min-width: 992px){.modal__content-container{flex-direction:row}}.modal__primary-content{display:flex;overflow:hidden;overflow-y:auto;flex-grow:1;flex-basis:100%;flex-direction:column}.modal__content{overflow-x:hidden;overflow-y:auto;height:100%}.modal__content ::slotted(*){margin:0}.modal__secondary-content{display:none;overflow:visible;overflow-x:hidden;overflow-y:auto;max-width:none;max-height:40%;padding-right:var(--s-space-16);padding-left:var(--s-space-16)}@media (min-width: 768px){.modal__secondary-content{padding-left:var(--s-space-24)}}@media (min-width: 992px){.modal__secondary-content{overflow-x:hidden;overflow-y:auto;max-width:var(--swirl-modal-max-secondary-content-width);max-height:none;padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:0;flex-basis:50%;flex-grow:1}}.modal__custom-footer{flex-shrink:0}.modal__controls{display:flex;padding:var(--swirl-modal-footer-padding-small);flex-shrink:0;justify-content:flex-end}@media (min-width: 768px){.modal__controls{padding:var(--swirl-modal-footer-padding-large)}}.modal--has-secondary-content.modal--has-sidebar-content .modal__body{max-width:calc(
|
|
21
|
+
var(--swirl-modal-max-width) + var(--swirl-modal-sidebar-width) +
|
|
22
|
+
var(--swirl-modal-max-secondary-content-width)
|
|
23
|
+
)}@keyframes modal-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@keyframes modal-backdrop-fade-in{from{opacity:0}to{opacity:1}}@keyframes modal-fade-out{from{opacity:1}to{opacity:0}}@keyframes modal-drawer-slide-in{from{transform:translate3d(100%, 0, 0)}to{transform:translate3d(0, 0, 0)}}@keyframes modal-drawer-slide-out{from{transform:translate3d(0, 0, 0)}to{transform:translate3d(100%, 0, 0)}}`, _ = g, w = class {
|
|
24
|
+
constructor(a) {
|
|
25
|
+
f(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) => {
|
|
26
|
+
o.code === "Escape" && (o.stopImmediatePropagation(), this.close());
|
|
27
|
+
}, this.onBackdropClick = () => {
|
|
28
|
+
this.close();
|
|
29
|
+
}, this.onCloseButtonClick = () => {
|
|
30
|
+
this.close();
|
|
31
|
+
}, this.onPrimaryAction = (o) => {
|
|
32
|
+
this.primaryAction.emit(o);
|
|
33
|
+
}, this.onSecondaryAction = (o) => {
|
|
34
|
+
this.secondaryAction.emit(o);
|
|
35
|
+
}, this.determineScrollStatus = () => {
|
|
36
|
+
this.determineMainScrollStatus(), this.determineSidebarScrollStatus();
|
|
37
|
+
}, this.determineMainScrollStatus = () => {
|
|
38
|
+
var r, i, l, n, c, h;
|
|
39
|
+
const o = ((r = this.scrollContainer) == null ? void 0 : r.scrollTop) > 0, d = Math.ceil(((i = this.scrollContainer) == null ? void 0 : i.scrollTop) + ((l = this.scrollContainer) == null ? void 0 : l.offsetHeight)) >= ((n = this.scrollContainer) == null ? void 0 : n.scrollHeight), s = ((c = this.scrollContainer) == null ? void 0 : c.scrollHeight) > ((h = this.scrollContainer) == null ? void 0 : h.offsetHeight);
|
|
40
|
+
o !== this.scrolled && (this.scrolled = o), d !== this.scrolledDown && (this.scrolledDown = d), s !== this.scrollable && (this.scrollable = s);
|
|
41
|
+
}, this.determineSidebarScrollStatus = () => {
|
|
42
|
+
var d;
|
|
43
|
+
const o = ((d = this.sidebarScrollContainer) == null ? void 0 : d.scrollTop) > 0;
|
|
44
|
+
o !== this.sidebarScrolled && (this.sidebarScrolled = o);
|
|
45
|
+
}, this.closable = !0, this.closeButtonLabel = "Close modal", this.height = void 0, this.hideCloseButton = void 0, this.hideLabel = void 0, this.label = void 0, this.maxHeight = void 0, this.minHeight = void 0, this.maxWidth = void 0, this.padded = !0, this.primaryActionLabel = void 0, this.secondaryActionLabel = void 0, this.variant = "default", this.contentGap = void 0, this.hideSecondaryContent = void 0, this.primaryContentMaxWidth = void 0, this.secondaryContentMaxWidth = void 0, this.primaryContentFlex = void 0, this.secondaryContentFlex = void 0, this.hideSecondaryContentBorders = void 0, this.secondaryContentPadding = void 0, this.secondaryContentPaddingBlockEnd = void 0, this.secondaryContentPaddingBlockStart = void 0, this.secondaryContentPaddingInlineEnd = void 0, this.secondaryContentPaddingInlineStart = void 0, this.sidebarLabel = void 0, this.hideSidebarContent = void 0, this.isOpen = !1, this.closing = !1, this.hasCustomHeader = void 0, this.hasCustomFooter = void 0, this.hasHeaderTools = void 0, this.hasSecondaryContent = void 0, this.scrollable = !1, this.scrolled = !1, this.sidebarScrolled = !1, this.scrolledDown = !1, this.hasSidebarContent = void 0;
|
|
46
|
+
}
|
|
47
|
+
componentDidLoad() {
|
|
48
|
+
this.focusTrap = y(this.modalEl, {
|
|
49
|
+
allowOutsideClick: !0,
|
|
50
|
+
tabbableOptions: {
|
|
51
|
+
getShadowRoot: (a) => a.shadowRoot
|
|
52
|
+
}
|
|
53
|
+
}), this.determineScrollStatus(), queueMicrotask(() => {
|
|
54
|
+
this.updateCustomFooterStatus(), this.updateCustomHeaderStatus(), this.updateHeaderToolsStatus(), this.updateSecondaryContentStatus(), this.updateSidebarContentStatus();
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
componentDidRender() {
|
|
58
|
+
var a;
|
|
59
|
+
(a = this.focusTrap) == null || a.updateContainerElements(this.modalEl);
|
|
60
|
+
}
|
|
61
|
+
disconnectedCallback() {
|
|
62
|
+
var a;
|
|
63
|
+
(a = this.focusTrap) == null || a.deactivate(), this.unlockBodyScroll();
|
|
64
|
+
}
|
|
65
|
+
onWindowResize() {
|
|
66
|
+
this.determineScrollStatus();
|
|
67
|
+
}
|
|
68
|
+
async open() {
|
|
69
|
+
this.isOpen = !0, this.modalOpen.emit(), setTimeout(() => {
|
|
70
|
+
this.lockBodyScroll(), this.determineScrollStatus();
|
|
71
|
+
}), setTimeout(() => {
|
|
72
|
+
this.focusTrap.activate(), this.handleAutoFocus();
|
|
73
|
+
}, 200);
|
|
74
|
+
}
|
|
75
|
+
async close(a) {
|
|
76
|
+
this.closing || (this.requestModalClose.emit(), !(!this.closable && !a) && (this.closing = !0, this.unlockBodyScroll(), setTimeout(() => {
|
|
77
|
+
this.focusTrap.deactivate(), this.isOpen = !1, this.modalClose.emit(), this.closing = !1;
|
|
78
|
+
}, 150)));
|
|
79
|
+
}
|
|
80
|
+
updateCustomFooterStatus() {
|
|
81
|
+
this.hasCustomFooter = Boolean(this.el.querySelector('[slot="custom-footer"]'));
|
|
82
|
+
}
|
|
83
|
+
updateCustomHeaderStatus() {
|
|
84
|
+
this.hasCustomHeader = Boolean(this.el.querySelector('[slot="custom-header"]'));
|
|
85
|
+
}
|
|
86
|
+
updateHeaderToolsStatus() {
|
|
87
|
+
this.hasHeaderTools = Boolean(this.el.querySelector('[slot="header-tools"]'));
|
|
88
|
+
}
|
|
89
|
+
updateSecondaryContentStatus() {
|
|
90
|
+
this.hasSecondaryContent = Boolean(this.el.querySelector('[slot="secondary-content"]'));
|
|
91
|
+
}
|
|
92
|
+
updateSidebarContentStatus() {
|
|
93
|
+
this.hasSidebarContent = Boolean(this.el.querySelector('[slot="sidebar-content"]'));
|
|
94
|
+
}
|
|
95
|
+
handleAutoFocus() {
|
|
96
|
+
var a;
|
|
97
|
+
(a = this.modalEl.querySelector("input[autofocus]")) == null || a.focus();
|
|
98
|
+
}
|
|
99
|
+
lockBodyScroll() {
|
|
100
|
+
m(this.scrollContainer), m(this.sidebarScrollContainer);
|
|
101
|
+
}
|
|
102
|
+
unlockBodyScroll() {
|
|
103
|
+
b(this.scrollContainer), b(this.sidebarScrollContainer);
|
|
104
|
+
}
|
|
105
|
+
render() {
|
|
106
|
+
const a = Boolean(this.primaryActionLabel) || Boolean(this.secondaryActionLabel), o = v("modal", `modal--variant-${this.variant}`, {
|
|
107
|
+
"modal--closing": this.closing,
|
|
108
|
+
"modal--has-custom-footer": this.hasCustomFooter,
|
|
109
|
+
"modal--has-custom-header": this.hasCustomHeader,
|
|
110
|
+
"modal--has-header-tools": this.hasHeaderTools,
|
|
111
|
+
"modal--has-secondary-content": this.hasSecondaryContent && !this.hideSecondaryContent,
|
|
112
|
+
"modal--hide-label": this.hideLabel,
|
|
113
|
+
"modal--padded": this.padded,
|
|
114
|
+
"modal--scrollable": this.scrollable,
|
|
115
|
+
"modal--scrolled": this.scrolled,
|
|
116
|
+
"modal--sidebar-scrolled": this.sidebarScrolled,
|
|
117
|
+
"modal--scrolled-down": this.scrolledDown,
|
|
118
|
+
"modal--hide-secondary-content-borders": this.hideSecondaryContentBorders,
|
|
119
|
+
"modal--has-sidebar-content": this.hasSidebarContent && !this.hideSidebarContent
|
|
120
|
+
});
|
|
121
|
+
return e(p, { key: "d83eb2f5ad1e55b55fd2aeb3b6b56017f25645ae" }, e("section", { key: "689da28246f94089cc15c9192e9429f334ab381f", "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: "700ee93e5698164a29e5abb396f8e2d1ee03a83b", class: "modal__backdrop", onClick: this.onBackdropClick }), e("div", { key: "e083a0ead29396bb923c68e4e1ea529c95a1cf7b", class: "modal__body", style: {
|
|
122
|
+
"--swirl-modal-max-height": this.maxHeight,
|
|
123
|
+
"--swirl-modal-height": this.height,
|
|
124
|
+
minHeight: this.minHeight,
|
|
125
|
+
maxWidth: this.maxWidth
|
|
126
|
+
} }, e("aside", { key: "bab821dd0f6b8e3e2c06674419e9874009a3eee6", class: "modal__sidebar" }, this.sidebarLabel && e("header", { key: "5d02aae278ab7e091b5229df0ca1bd01e9502bda", class: "modal__sidebar-header" }, e("swirl-heading", { key: "44e72e3172ccc96f30add2c05952cd7e68be928b", as: "h3", class: "modal__sidebar-heading", level: 3, text: this.sidebarLabel })), e("div", { key: "1aec35149fafa056058987cfe7b9cb5b5927e4cf", class: "modal__sidebar-content", onScroll: this.determineSidebarScrollStatus, ref: (d) => this.sidebarScrollContainer = d }, e("slot", { key: "8fc6849c14ac4b3ea635f1a3bdee930efdf7ddf3", name: "sidebar-content" }))), e("div", { key: "e49e79ff4253efcabbb99c87fad194b6bf683048", class: "modal__main-content" }, e("header", { key: "b389bf0b5d173fb891d6d96d82eedc2f0755aa7a", class: "modal__custom-header" }, e("slot", { key: "56c797b445060a2590528b3b983fa8dafa9666a5", name: "custom-header" })), (!this.hideLabel || !this.hideCloseButton) && e("header", { key: "0d1941638cb33f74463eb1700ea4798e368053c6", class: "modal__header" }, e("div", { key: "6c7bbcd733ad94cf7e5558800a894db2e8471a44", class: "modal__header-bar" }, !this.hideCloseButton && e("swirl-button", { key: "c436082ee6c3e8888e6dad3853d97859b96ec807", 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: "06cfbd6edcfe13861a0a3332f3a3f95227b32fe8", as: "h2", class: "modal__heading", level: 3, text: this.label }))), e("div", { key: "e9cbd554d92018f6718db0643a80283bbf68a7fa", class: "modal__content-container", style: {
|
|
127
|
+
gap: this.contentGap ? `var(--s-space-${this.contentGap})` : void 0
|
|
128
|
+
} }, e("div", { key: "1e351e7e27216524eba51e0f33c09fad9d371636", class: "modal__primary-content", style: {
|
|
129
|
+
maxWidth: this.primaryContentMaxWidth,
|
|
130
|
+
flex: this.primaryContentFlex
|
|
131
|
+
} }, e("div", { key: "ebccae92208659f4cece6ee1146992e9a10cdbac", class: "modal__header-tools" }, e("slot", { key: "980fdf7637abe2e7dbc473ad23d34bf4819ace54", name: "header-tools" })), e("div", { key: "68fe74b27c08e278368b5eb49f0f4b7a047148a5", class: "modal__content", onScroll: this.determineMainScrollStatus, ref: (d) => this.scrollContainer = d }, e("slot", { key: "2cff014d7b3526f4b66cf695f7afeeb5523dfb17" }))), e("div", { key: "89da507b1a17b64297acf9c5d40687e310adeccb", class: "modal__secondary-content", style: {
|
|
132
|
+
maxWidth: this.secondaryContentMaxWidth,
|
|
133
|
+
flex: this.secondaryContentFlex,
|
|
134
|
+
padding: Boolean(this.secondaryContentPadding) ? `var(--s-space-${this.secondaryContentPadding})` : void 0,
|
|
135
|
+
paddingBlockEnd: Boolean(this.secondaryContentPaddingBlockEnd) ? `var(--s-space-${this.secondaryContentPaddingBlockEnd})` : void 0,
|
|
136
|
+
paddingBlockStart: Boolean(this.secondaryContentPaddingBlockStart) ? `var(--s-space-${this.secondaryContentPaddingBlockStart})` : void 0,
|
|
137
|
+
paddingInlineEnd: Boolean(this.secondaryContentPaddingInlineEnd) ? `var(--s-space-${this.secondaryContentPaddingInlineEnd})` : void 0,
|
|
138
|
+
paddingInlineStart: Boolean(this.secondaryContentPaddingInlineStart) ? `var(--s-space-${this.secondaryContentPaddingInlineStart})` : void 0
|
|
139
|
+
} }, e("slot", { key: "d88250edad6df3c101975ae3e53809f483973915", name: "secondary-content" }))), e("div", { key: "76633379ef651d1e297b5b2a6b82d2db5c9115a7", class: "modal__custom-footer" }, e("slot", { key: "bd9734502bf0bc566e24584cbd130defecdba0de", name: "custom-footer" })), a && e("footer", { key: "66eded5e059d22c8c45cf252fdbd22bf9cd70c1e", class: "modal__controls" }, e("swirl-button-group", { key: "2557df6c4f02368d7b073d8dd6d2e5cbb13debe7", wrap: !0 }, this.secondaryActionLabel && e("swirl-button", { key: "dd1e2d6fcd31b8313feaa305596fbef1b26aec23", label: this.secondaryActionLabel, onClick: this.onSecondaryAction }), this.primaryActionLabel && e("swirl-button", { key: "d3826c07f9f7fb39c8ceaab74246c895c7177b85", intent: "primary", label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" })))))));
|
|
140
|
+
}
|
|
141
|
+
get el() {
|
|
142
|
+
return u(this);
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
w.style = _;
|
|
146
|
+
export {
|
|
147
|
+
w as swirl_modal
|
|
148
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
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.7681d03d.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const a = ":host{display:block;width:100%}:host *{box-sizing:border-box}.option-list-section{background-color:var(--s-surface-overlay-default)}.option-list-section__label{display:block;width:100%;padding:var(--s-space-8) var(--s-space-16);color:var(--s-text-subdued);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);text-align:left}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.option-list-section__label{padding:var(--s-space-8) var(--s-space-12);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}", o = a, l = class {
|
|
@@ -6,7 +6,7 @@ const a = ":host{display:block;width:100%}:host *{box-sizing:border-box}.option-
|
|
|
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: "9242a258bef0b3abc2ad3123987e90671cab2d65" }, this.hasSeparator && e("swirl-separator", { key: "234d8ac7c1136905df7821c0015b371777847ccf", spacing: this.separatorSpacing }), e("div", { key: "1b5f4e348be9afa01f006afe6fc369291bc5f234", "aria-labelledby": "label", class: "option-list-section", role: "group" }, e("span", { key: "f60b9e0d209d215bdffd7aec9aba9a1c1129ae8d", class: "option-list-section__label", id: "label", part: "option-list-section__label" }, this.label), e("swirl-stack", { key: "fa6f86dede5f1dce1e345f78d4b8bdcb5989e821", spacing: this.spacing, align: "stretch" }, e("slot", { key: "9e055ce5c423e8678f2dac9900f2a1a12361b108" }))));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
l.style = o;
|
package/dist/{swirl-option-list_2.entry.b080979c.js → swirl-option-list_2.entry.88e38406.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as c, c as o, h as a, H as d, g } from "./index.
|
|
1
|
+
import { r as c, c as o, h as a, H as d, g } from "./index.7681d03d.js";
|
|
2
2
|
import { S as m } from "./sortable.esm-0bfddf0c.953ca6a6.js";
|
|
3
3
|
import { c as n, q as l } from "./utils-877a768f.c277f897.js";
|
|
4
4
|
import { c as f } from "./index-267776a4.6beb4f4b.js";
|
|
@@ -181,7 +181,7 @@ const v = ".sc-swirl-option-list-h{display:block}.sc-swirl-option-list-h *.sc-sw
|
|
|
181
181
|
}
|
|
182
182
|
render() {
|
|
183
183
|
const e = this.multiSelect ? "true" : void 0, t = Boolean(this.dragging) ? 0 : void 0;
|
|
184
|
-
return a(d, { key: "
|
|
184
|
+
return a(d, { key: "4eab0b0c423b8828eba51a502a4151deedc92314" }, a("swirl-visually-hidden", { key: "065551ffde4b331cf8841918ac460de1405ae338", role: "alert" }, this.assistiveText), a("div", { key: "f64d9a5c330cf280aa33899df5756037ba5ad884", "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: "26c9fc517ecd7a54bf30e1d48ce881493c64ec5f", 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: "a8c1ef84544825607dce253e49ff7073fc1950f4" }, a("span", { key: "d0e6ee455f9a47fe7ea0c2d676f439278b9de190", class: e, part: "tag" }, this.icon && a("span", { key: "c9b58bbf9a4fc5f639eca9dc1f22bd7d9acaa6a3", class: "tag__icon", innerHTML: this.icon, ref: (t) => this.iconEl = t }), a("span", { key: "9c10a9fe0cb23f0233456053b681adfaca041252", class: "tag__label" }, this.label), this.removable && a("button", { key: "008c6159702fe894b3fd4eb3df3c523317255450", "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: "4d170dc7377724819b8715675eadc9dd2564d9ab", size: 16 }))));
|
|
226
226
|
}
|
|
227
227
|
get el() {
|
|
228
228
|
return g(this);
|
|
@@ -1,35 +1,35 @@
|
|
|
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.7681d03d.js";
|
|
2
2
|
import { c as p } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import { d as g } from "./utils-877a768f.c277f897.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const c = ":host{display:block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host *{box-sizing:border-box}.pagination{display:block;width:100%}.pagination--variant-simple .pagination__list{gap:0}.pagination__list{display:flex;margin:0;padding:0;justify-content:flex-start;align-items:center;line-height:var(--s-line-height-base);list-style:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.pagination__list{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.pagination__page-size-selection{display:flex;padding-right:var(--s-space-24);flex-shrink:0;align-items:center;color:var(--s-interactive-primary-default);white-space:nowrap;gap:var(--s-space-8)}.pagination__page-size-select-container{position:relative}.pagination__page-size-select{padding-right:calc(1rem + var(--s-space-4));border:none;color:var(--s-interactive-primary-default);background-color:transparent;font:inherit;font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.pagination__page-size-select:focus:not(:focus-visible){outline:none}.pagination__page-size-select:focus-visible{outline-color:var(--s-focus-default)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.pagination__page-size-select{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.pagination__page-size-select-icon{position:absolute;top:50%;right:0;transform:translateY(-50%);pointer-events:none}.pagination__page-label{padding-right:var(--s-space-8);padding-left:var(--s-space-8)}.pagination__advanced-label{display:flex;align-items:center;white-space:nowrap;gap:var(--s-space-8)}.pagination__page-input{display:inline-flex;width:3.25rem;padding-top:var(--s-space-8);padding-right:var(--s-space-8);padding-bottom:var(--s-space-8);padding-left:var(--s-space-8);border:none;border-radius:var(--s-border-radius-sm);background-color:transparent;font:inherit;line-height:var(--s-line-height-base);text-align:center;box-shadow:inset 0 0 0 var(--s-border-width-default) var(--s-border-strong)}.pagination__page-input:focus:not(:focus-visible){outline:none}.pagination__page-input:focus-visible{outline-color:var(--s-focus-default)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.pagination__page-input{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}", h = c, d = class {
|
|
7
7
|
constructor(n) {
|
|
8
|
-
l(this, n), this.setPage = s(this, "setPage", 7), this.setPageSize = s(this, "setPageSize", 7), this.onFocusPageInput = (
|
|
9
|
-
|
|
8
|
+
l(this, n), this.setPage = s(this, "setPage", 7), this.setPageSize = s(this, "setPageSize", 7), this.onFocusPageInput = (i) => {
|
|
9
|
+
i.target.select();
|
|
10
10
|
}, this.onFirstPageButtonClick = () => {
|
|
11
11
|
this.page !== 1 && this.setPage.emit(1);
|
|
12
12
|
}, this.onLastPageButtonClick = () => {
|
|
13
13
|
this.page !== this.pages && this.setPage.emit(this.pages);
|
|
14
14
|
}, this.onPrevButtonClick = () => {
|
|
15
|
-
const
|
|
16
|
-
this.page !==
|
|
15
|
+
const i = Math.max(this.page - 1, 1);
|
|
16
|
+
this.page !== i && this.setPage.emit(i);
|
|
17
17
|
}, this.onNextButtonClick = () => {
|
|
18
|
-
const
|
|
19
|
-
this.page !==
|
|
18
|
+
const i = Math.min(this.page + 1, this.pages);
|
|
19
|
+
this.page !== i && this.setPage.emit(i);
|
|
20
20
|
}, this.onPageInput = () => {
|
|
21
|
-
let
|
|
22
|
-
isNaN(
|
|
23
|
-
}, this.onPageUpdate = g((
|
|
24
|
-
this.setPage.emit(
|
|
25
|
-
}, 500), this.onPageSizeSelect = (
|
|
26
|
-
const t = +
|
|
21
|
+
let i = +this.pageInput.value;
|
|
22
|
+
isNaN(i) ? (i = this.page, this.pageInput.value = String(i)) : i > this.pages ? (i = this.pages, this.pageInput.value = String(i)) : i < 1 && (i = 1, this.pageInput.value = String(i)), this.page !== i && this.onPageUpdate(i);
|
|
23
|
+
}, this.onPageUpdate = g((i) => {
|
|
24
|
+
this.setPage.emit(i);
|
|
25
|
+
}, 500), this.onPageSizeSelect = (i) => {
|
|
26
|
+
const t = +i.target.value;
|
|
27
27
|
this.pageSize !== t && this.setPageSize.emit(t);
|
|
28
28
|
}, this.firstPageButtonLabel = "First page", this.lastPageButtonLabel = "Last page", this.label = void 0, this.nextButtonLabel = "Next page", this.page = void 0, this.pageLabel = "out of", this.pages = void 0, this.pageSelectLabel = "Select a page", this.pageSize = 10, this.pageSizeOptions = [10, 25, 50], this.pageSizeSelectLabel = "Items per page:", this.prevButtonLabel = "Previous page", this.showPageSizeSelect = void 0, this.variant = "default";
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
const n = this.variant !== "simple",
|
|
32
|
-
return e(r, { key: "
|
|
31
|
+
const n = this.variant !== "simple", i = this.variant === "advanced", t = `${this.page.toLocaleString()} ${this.pageLabel} ${this.pages.toLocaleString()}`, o = p("pagination", `pagination--variant-${this.variant}`);
|
|
32
|
+
return e(r, { key: "62e08cd836fd2810e719e3421dd94a5b0370bd84" }, e("nav", { key: "54e4c27ed20365075124e92f2b22b48d1023f91c", "aria-label": this.label, class: o }, e("ul", { key: "6b134db7693ebd86c9e0e8c98faa8784027264a4", class: "pagination__list", part: "pagination__list" }, this.showPageSizeSelect && e("li", { key: "3804a82567146c1fc426480fe84b87400fddce6d", class: "pagination__list-item" }, e("label", { key: "60c92bb97feb5e7851d2c101e7bf7fe6520e3e20", class: "pagination__page-size-selection" }, e("swirl-text", { key: "a144cbdbc1ded86c0694e2d28e058fd1f1b0c888", whiteSpace: "inherit" }, this.pageSizeSelectLabel), e("swirl-stack", { key: "12ecf456b716dfa2b377b749f2dafa7d31c994af", align: "center", class: "pagination__page-size-select-container", orientation: "horizontal" }, e("select", { key: "6602f58fc465fade856bbff9bedc4c36e1d7962d", class: "pagination__page-size-select", onChange: this.onPageSizeSelect }, this.pageSizeOptions.map((a) => e("option", { key: a, selected: a === this.pageSize, value: a }, a))), e("swirl-icon-expand-more", { key: "4d557bd872f01c3718f0c6e530db5ffbf5d52279", "aria-hidden": "true", class: "pagination__page-size-select-icon", size: 16 })))), e("li", { key: "606e22bc458436d0f86899fbbe09c1e6fd877e29", class: "pagination__list-item" }, e("swirl-button", { key: "83a5b6c796c96259208e21620de1f550fa7d3933", 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: "bcf60eebd48715dab6d83963b7dea280f048cbb5", class: "pagination__list-item" }, e("swirl-button", { key: "0553846a6a7a269b42975f49bc3b34debab1e971", 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, i ? 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: (a) => this.pageInput = a, 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: "199cc13116236c7ded78e1e9759f07dfd440949d", class: "pagination__list-item" }, e("swirl-button", { key: "e2b10e3ccde153001305391393f8b88391d3cdc7", 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: "279d3a9127648b40a3313fdd5a2fb7f2b6385a22", class: "pagination__list-item" }, e("swirl-button", { key: "7ee45a34fa1f7826e01afd5bd5b910e307cc073c", 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,4 +1,4 @@
|
|
|
1
|
-
import { r as n, c as d, h as e, H as c, g as f } from "./index.
|
|
1
|
+
import { r as n, c as d, h as e, H as c, g as f } from "./index.7681d03d.js";
|
|
2
2
|
import { A as h } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
|
|
3
3
|
import { d as b, e as p } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as r } from "./index-267776a4.6beb4f4b.js";
|
|
@@ -39,7 +39,7 @@ const u = `:host{--thumbnails-width:7rem;display:block}:host *{box-sizing:border
|
|
|
39
39
|
var o;
|
|
40
40
|
const t = (o = m(this.el, `[data-page-number="${a + 1}"]`)) == null ? void 0 : o[0];
|
|
41
41
|
t == null || t.scrollIntoView();
|
|
42
|
-
}, this.autoZoomLabel = "Full width", this.closeButtonLabel = "Close PDF viewer", this.downloadButtonEnabled = !0, this.downloadButtonLabel = "Download PDF", this.file = void 0, this.fileName = void 0, this.fileTypeLabel = "PDF Document", this.label = void 0, this.menuLabel = "File menu", this.menuTriggerLabel = "Open file menu", this.pdfWorkerSrc = void 0, this.printButtonEnabled = !0, this.printButtonLabel = "Print PDF", this.sideBySideButtonLabel = "Toggle side by side view", this.thumbnailButtonLabel = "Scroll to page", this.thumbnailsButtonLabel = "Toggle thumbnails", this.thumbnailsLabel = "Page thumbnails", this.zoomInButtonLabel = "Zoom in", this.zoomOutButtonLabel = "Zoom out", this.zoomSelectLabel = "Select zoom", this.active = !1, this.closing = !1, this.downloading = !1, this.loadingThumbnails = !1, this.thumbnails = [], this.showThumbnails = void 0, this.viewMode = "single", this.visiblePages = [], this.zoom = void 0, this.zoomSteps = void 0;
|
|
42
|
+
}, this.autoZoomLabel = "Full width", this.closeButtonLabel = "Close PDF viewer", this.downloadButtonEnabled = !0, this.downloadButtonLabel = "Download PDF", this.file = void 0, this.fileName = void 0, this.fileTypeLabel = "PDF Document", this.label = void 0, this.menuLabel = "File menu", this.menuTriggerLabel = "Open file menu", this.pdfWorkerSrc = void 0, this.printButtonEnabled = !0, this.printButtonLabel = "Print PDF", this.sideBySideButtonLabel = "Toggle side by side view", this.thumbnailButtonLabel = "Scroll to page", this.thumbnailsButtonLabel = "Toggle thumbnails", this.thumbnailsLabel = "Page thumbnails", this.zoomInButtonLabel = "Zoom in", this.zoomOutButtonLabel = "Zoom out", this.zoomSelectLabel = "Select zoom", this.skipNativeDownload = !1, this.active = !1, this.closing = !1, this.downloading = !1, this.loadingThumbnails = !1, this.thumbnails = [], this.showThumbnails = void 0, this.viewMode = "single", this.visiblePages = [], this.zoom = void 0, this.zoomSteps = void 0;
|
|
43
43
|
}
|
|
44
44
|
componentWillLoad() {
|
|
45
45
|
this.updateZoomSteps(), this.zoom = s() ? "auto" : 1;
|
|
@@ -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: "68fe3fb26ca8d6a2a6221dac7662e69edc831a34" }, e("section", { key: "97877b48bc2ae84b4fe42f73f8fac4f3170c8a56", "aria-hidden": "true", "aria-label": this.label, class: a, id: "pdf-reader", onKeyDown: this.onKeyDown, ref: (t) => this.modalEl = t }, e("div", { key: "fcfb7ca295f7804b55a2f1c0370188b020fafff6", class: "pdf-reader__body", role: "document" }, e("header", { key: "97622442f6b5bb0d9a53bb811ae709deb7022c18", class: "pdf-reader__header" }, e("span", { key: "b70dbb787d88ecfa67661525dcfce034f0da7c31", class: "pdf-reader__header-left" }, e("swirl-button", { key: "4f5df9142d0b4a39d351983b6c2d17437c4b0a22", class: "pdf-reader__close-button", hideLabel: !0, icon: "<swirl-icon-close></swirl-icon-close>", label: this.closeButtonLabel, onClick: this.onCloseButtonClick }), e("span", { key: "3cf0def7b643e5bb2f1f7f93d87e5c6b6044b5bd", class: "pdf-reader__label" }, this.label)), e("span", { key: "6103529999d12ed351857f934a2005cf91d26d49", class: "pdf-reader__header-center" }, e("span", { key: "771644b7d36a80224481c160f21902a087f0ecd6", class: "pdf-reader__zoom-button-container" }, e("swirl-button", { key: "2014382d675d88e90655eeec17118fdfeae628dd", 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: "450cb710556d6afa21cb2fd4ba97fbe9a5588006", 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: "d785b2020c2944e6efe7f8db84d265fc3a6b4ed6", class: "pdf-reader__zoom-select-container" }, e("select", { key: "c22d36001a8f51f4c76cd2f792678a9a38c8a93f", "aria-label": this.zoomSelectLabel, class: "pdf-reader__zoom-select", name: "zoom-select", id: "zoom-select", onChange: this.onZoomChange }, e("option", { key: "01ae264edbc31f615b3311d68a0b2dac75aab2b5", 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: "9e3091ce704f67faea703f64c0400f36ef16f78b", class: "pdf-reader__zoom-select-icon" }))), e("span", { key: "f67959ba3a3faab12a66bf9072bf6caf88112ec9", class: "pdf-reader__header-right" }, e("swirl-popover-trigger", { key: "65d049b17941e657de34d104b0a00d4b6fd4aed5", swirlPopover: this.menu }, e("swirl-button", { key: "25844a1ada8c2e438d716e7048f03c18dbb5ec33", class: "pdf-reader__menu-button", hideLabel: !0, icon: "<swirl-icon-more-vertikal></swirl-icon-more-vertikal>", label: this.menuTriggerLabel }))), e("span", { key: "e46722f8faf6c7852ce58a7720e6638d7c91f61a", class: "pdf-reader__floating-tools" }, e("button", { key: "5d853b7449dccf816c0a70a508f2fba91a856af6", "aria-label": this.sideBySideButtonLabel, class: "pdf-reader__floating-tool-button", onClick: this.toggleViewMode, type: "button" }, e("swirl-icon-menu-book", { key: "4861263a2859a970ad35823e46157290739781e9" })), e("button", { key: "9e77cfe7e938a7f36237bc31c35f26d916a2b99c", "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: "1b9d90eea848d5ee7abeea7df2b0d6eb25aaa5df" })))), e("div", { key: "172ad126404bdb09bbda038b7f0c515dace5c0bc", class: "pdf-reader__content" }, e("nav", { key: "2de7efe73ae58a99c5455b606232a901375a5a35", "aria-label": this.thumbnailsLabel, class: "pdf-reader__thumbnails", id: "thumbnails" }, this.loadingThumbnails && e("swirl-spinner", { key: "23ce3475392038b6588c1c306fe3747aff64ee2c" }), !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: "85cdfe552913be085a3a92a3d806d2024b9fb396", 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, skipNativeDownload: this.skipNativeDownload }), e("div", { key: "1bd0d0b99f8201292d16d0d7168bfcdb854ec712", class: "pdf-reader__mobile-zoom-controls" }, e("button", { key: "5c6fdaabfee213c8eccd12e0e134459f70f599f0", "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: "984e22c79231bf99f28226b803ac34ad206a38de", "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: "a526892dea67da08b9580b7f59141239c109d03a" })), e("button", { key: "38c2f6186101dc21f74302364e0df7896a665aeb", "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: "d1f4b00b8c67c99c929177c609ddc278b3e11ed7" }))))), e("swirl-popover", { key: "74176031c6d634877abffe560a50f8428f29519f", animation: "scale-in-y", disableScrollLock: !0, id: "menu", label: this.menuLabel, placement: "bottom-end", ref: (t) => this.menu = t }, e("swirl-stack", { key: "7c7ecbcf4c8c047fa5f11c10abc20a1e1443183a" }, e("div", { key: "68324500f368fbdf88ce38327a12150737d48a31", class: "pdf-reader__meta" }, e("div", { key: "8f9c1567d9fc05ee3f3386b0a8be44cb63ad495c", class: "pdf-reader__file-icon" }, e("svg", { key: "e44d2af432550b1359eebf14465e9d16cf674615", fill: "none", height: "36", viewBox: "0 0 24 36", width: "24" }, e("path", { key: "cf22a919c07549529ae671e46f7c6a1d3cff69c8", 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: "7ebd7da468354f97899aa16e4cbc7d1aa288775d", 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: "88a52e65a22e4a588a0f903c2a6394eac840d52b", d: "M14.5146 21.6V15.192H17.2506V16.056H15.4326V18H17.0166V18.864H15.4326V21.6H14.5146Z", fill: "white" }), e("path", { key: "d6071d3d09098a8a7fdf9c31cd81847464833149", 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: "38eb50b41edd4e5538d5cf1e69d1015b28c8d0e2", 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: "560747787f6dcc4a07accfd4882901e5ebe0e097", 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: "b37ca051c411f85ecacac1fbff45219b47f36c38", 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: "694f2c767019d8ffe96ec8321d544a04fb5a5816", d: "M14.5146 21.6V15.192H17.2506V16.056H15.4326V18H17.0166V18.864H15.4326V21.6H14.5146Z", fill: "white" }))), e("div", { key: "fec2e0a783c8c32bda30303a17514c726753dbe2", class: "pdf-reader__file-info" }, e("swirl-text", { key: "4f749feb315eff4b68590174e6c082ccbae563be", truncate: !0, weight: "semibold" }, this.label), e("swirl-text", { key: "de18528ef84f2a86625091e56613df3006ab7ccf", color: "subdued", size: "sm", truncate: !0 }, this.fileTypeLabel))), i && e("swirl-separator", { key: "81246ea284f9bb16647e0434e9290a64d3c0bbf9" }), e("swirl-action-list", { key: "d8120b9d8c3ba03e1e606dc9362cb29554753a3d", class: "pdf-reader__menu" }, this.printButtonEnabled && e("swirl-action-list-item", { key: "235e908b2df517a4163eb0b5906f73694b2e0e49", 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: "d4c316799ea5b3c86c2e5f0ba4983467d0a1fe39", 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: "697cf76c5f11084ec146cb334d7d62e96eb5b046", 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.7681d03d.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 k, e as C } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as A } from "./index-267776a4.6beb4f4b.js";
|
|
@@ -45,8 +45,8 @@ const P = `:host{position:relative;z-index:var(--s-z-40);display:inline-flex}:ho
|
|
|
45
45
|
var p;
|
|
46
46
|
if (!this.active)
|
|
47
47
|
return;
|
|
48
|
-
const t = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), o = "webkit" in window, i = t || o, r = e.target, s = e.relatedTarget,
|
|
49
|
-
!
|
|
48
|
+
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;
|
|
49
|
+
!m.includes(r.tagName) && b && w && (!i || y) && this.close();
|
|
50
50
|
}
|
|
51
51
|
onWindowClick(e) {
|
|
52
52
|
if (!this.active || this.closing)
|
|
@@ -120,12 +120,12 @@ const P = `:host{position:relative;z-index:var(--s-z-40);display:inline-flex}:ho
|
|
|
120
120
|
"popover--transparent": this.transparent,
|
|
121
121
|
"popover--padded": this.padded
|
|
122
122
|
});
|
|
123
|
-
return n(g, { key: "
|
|
123
|
+
return n(g, { key: "0be3360e6c6e65aa850f81f7668d752f35970ab9" }, n("div", { key: "6ac92c612fb75f1fa51be7c92798ba9f20763f85", class: t, onKeyDown: this.onKeydown }, n("div", { key: "b8d05aa9d7eecbbed08e3b10c00f4b2027d70819", "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: {
|
|
124
124
|
top: Boolean(this.position) ? `${(i = this.position) == null ? void 0 : i.y}px` : "",
|
|
125
125
|
left: Boolean(this.position) ? `${(r = this.position) == null ? void 0 : r.x}px` : ""
|
|
126
|
-
}, tabindex: "-1" }, n("span", { key: "
|
|
126
|
+
}, tabindex: "-1" }, n("span", { key: "64f5e64fd2fe82b34db2843df3057ba7e9b758e9", class: "popover__handle" }), n("div", { key: "8f829c982769769fcdf8386f271dad64bddf44b0", class: "popover__scroll-container", part: "popover__scroll-container", ref: (s) => this.scrollContainer = s, style: {
|
|
127
127
|
maxHeight: !e && Boolean(this.maxHeight) ? this.maxHeight : void 0
|
|
128
|
-
} }, n("slot", { key: "
|
|
128
|
+
} }, n("slot", { key: "6f751adb6e5e8a0c92ad0f2b73b5d118b37b5484" }))), this.active && n("div", { key: "bc3811cee60191af2a3fd8c8cecbcfcec4cc688a", class: "popover__backdrop", onClick: this.onCloseButtonClick })));
|
|
129
129
|
}
|
|
130
130
|
get el() {
|
|
131
131
|
return u(this);
|
|
@@ -225,7 +225,7 @@ const B = ".sc-swirl-popover-trigger-h{display:contents}", H = B, O = class {
|
|
|
225
225
|
return (o = e == null ? void 0 : e.shadowRoot.firstChild) == null ? void 0 : o.classList.contains("popover--active");
|
|
226
226
|
}
|
|
227
227
|
render() {
|
|
228
|
-
return n(g, { key: "
|
|
228
|
+
return n(g, { key: "d2beaef326dd07fffa844859ba7437ece4ca1042", onClick: this.onClick, onMouseenter: this.onMouseenter, onMouseleave: this.onMouseleave }, n("slot", { key: "1ff4f7905d7d42d73acbd4debecfcc05ef8d6371" }));
|
|
229
229
|
}
|
|
230
230
|
get el() {
|
|
231
231
|
return u(this);
|
|
@@ -1,4 +1,4 @@
|
|
|
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.7681d03d.js";
|
|
2
2
|
import { c } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
@@ -8,7 +8,7 @@ const d = ":host{display:block;width:100%}:host *{box-sizing:border-box}:host(.c
|
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
10
|
const a = 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, s = Math.round(r * 2 * Math.PI), o = Math.round(s * ((100 - this.value) / 100));
|
|
11
|
-
return i(n, { key: "
|
|
11
|
+
return i(n, { key: "23e7a46fbf396093c1bcc1ecc500bf1e7c53f9b9", class: this.variant }, this.variant === "bar" && i("progress", { key: "4ef244ee03166989f070e960f4aa5c0254e3ea57", "aria-label": this.label, "aria-valuemax": 100, "aria-valuemin": 0, "aria-valuenow": this.value, class: a, max: 100, value: this.value }), this.variant === "circle" && i("span", { key: "44f04df3716422a0eed636f7771bbd902fc1035a", role: "progressbar", "aria-label": this.label, "aria-valuemax": 100, "aria-valuemin": 0, "aria-valuenow": this.value, class: a }, i("svg", { key: "eda1f27adb4dd00de229950e8afddd03e59cb051", class: "progress-indicator__circle", focusable: "false", viewBox: `0 0 ${(r + e) * 2} ${(r + e) * 2}` }, i("circle", { key: "38395c949b9df88b64ad300fc2450ab27d90c893", class: "progress-indicator__circle-background", cx: r + e, cy: r + e, r, fill: "none", "stroke-width": e }), i("circle", { key: "068cc78bfedcc3583501d974ade4b65c5ec1ec76", class: "progress-indicator__circle-value", cx: r + e, cy: r + e, r, fill: "none", "stroke-width": e, "stroke-dasharray": s, "stroke-dashoffset": o }))));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
b.style = l;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, c as d, h as i, H as l, g as n } from "./index.
|
|
1
|
+
import { r as o, c as d, h as i, H as l, g as n } from "./index.7681d03d.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const u = ".sc-swirl-radio-group-h{display:block}.sc-swirl-radio-group-h *.sc-swirl-radio-group{box-sizing:border-box}.radio-group.sc-swirl-radio-group{display:flex;flex-direction:column;gap:var(--s-space-12)}", c = u, h = class {
|
|
@@ -23,7 +23,7 @@ const u = ".sc-swirl-radio-group-h{display:block}.sc-swirl-radio-group-h *.sc-sw
|
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return i(l, { key: "
|
|
26
|
+
return i(l, { key: "77c7d089714bdf6b103e852f138b86c9b20da7cc", "aria-describedby": this.swirlAriaDescribedby, role: "radiogroup" }, i("div", { key: "7e0c15f39ab9d0d35bf5b5f24029e5995d02df9e", class: "radio-group" }, i("slot", { key: "a16565c47d0a2947d6174d62b3acf5e6b96a949d" })));
|
|
27
27
|
}
|
|
28
28
|
get el() {
|
|
29
29
|
return n(this);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as s, c, h as i, H as l } from "./index.
|
|
1
|
+
import { r as s, c, h as i, H as l } from "./index.7681d03d.js";
|
|
2
2
|
import { c as t } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
@@ -20,7 +20,7 @@ const n = `.sc-swirl-radio-h{display:inline-flex}.sc-swirl-radio-h *.sc-swirl-ra
|
|
|
20
20
|
"radio--invalid": this.invalid,
|
|
21
21
|
"radio--unchecked": r
|
|
22
22
|
});
|
|
23
|
-
return i(l, { key: "
|
|
23
|
+
return i(l, { key: "ad56628cf4575b65b487a3eb4d01957bb16ce0b7", style: { width: this.variant === "card" ? "100%" : void 0 } }, i("label", { key: "e2725b3015165d9a119e4aa57eaa77ebb32a6bfe", class: e, htmlFor: this.inputId }, i("span", { key: "e180737197ea8e73940217b35bc6a251e4c848b5", class: "radio__control" }, i("swirl-visually-hidden", { key: "2ff163944fc6ddaec58974f876c7d7be4be63a9b" }, i("input", { key: "88af1c18816dc34d60e192c3b03042bc80861284", "aria-checked": d, "aria-invalid": o, checked: a, class: "radio__input", disabled: this.disabled, id: this.inputId, name: this.inputName, onChange: this.onChange, type: "radio", value: this.value })), i("span", { key: "190b01f5a04c87c6b9678989521f45c7a3c5e1e1", "aria-hidden": "true", class: "radio__box" })), i("span", { key: "9b839a5c718262005f8ebb4938d69504b98ce017", class: "radio__label-container" }, this.label && i("span", { key: "8ac46aec2d9488bedc383246f6904a61347f4819", class: "radio__label" }, this.label, this.tooltip && i("swirl-tooltip", { key: "b2d3bd38561b9ceaca0b02e09ff2f8df749f1271", content: this.tooltip, position: "top" }, i("swirl-icon-help", { key: "b90f040b493ff9a12a9ead2bc5703e7192db0e82", color: "default", size: 20, tabIndex: 0 }))), this.description && i("span", { key: "05d0f432a62879472fe90082b011e8e96330d21e", class: "radio__description", innerHTML: this.description }))));
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
b.style = h;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as c, c as a, h as e, H as n } from "./index.
|
|
2
|
-
import { c as
|
|
3
|
-
import { g as
|
|
1
|
+
import { r as c, c as a, h as e, H as n } from "./index.7681d03d.js";
|
|
2
|
+
import { c as f } from "./index-267776a4.6beb4f4b.js";
|
|
3
|
+
import { g as d } from "./utils-877a768f.c277f897.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const m = '.sc-swirl-resource-list-file-item-h{display:block;width:100%}.sc-swirl-resource-list-file-item-h *.sc-swirl-resource-list-file-item{box-sizing:border-box}.resource-list-file-item.sc-swirl-resource-list-file-item{position:relative;display:flex;width:100%;padding:var(--s-space-12) var(--s-space-16);align-items:center;background-color:var(--s-background-default);line-height:var(--s-line-height-base);gap:var(--s-space-12)}.resource-list-file-item.sc-swirl-resource-list-file-item:focus{outline:none}.resource-list-file-item.sc-swirl-resource-list-file-item:focus-visible{background-color:var(--s-background-hovered)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-file-item.sc-swirl-resource-list-file-item{padding:var(--s-space-12);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.resource-list-file-item--has-control.sc-swirl-resource-list-file-item .resource-list-file-item__label-container.sc-swirl-resource-list-file-item{padding-right:calc(var(--s-space-12) + 2.5rem)}.resource-list-file-item__icon.sc-swirl-resource-list-file-item{width:1.5rem;height:1.5rem;color:var(--s-icon-highlight)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-file-item__icon.sc-swirl-resource-list-file-item{width:1.25rem;height:1.25rem}}.resource-list-file-item__label-container.sc-swirl-resource-list-file-item{position:relative;display:flex;min-width:0;min-height:2.875rem;flex-grow:1;justify-content:center;flex-direction:column}.resource-list-file-item__label-container.sc-swirl-resource-list-file-item:after{position:absolute;right:0;bottom:calc(-1 * var(--s-space-12));left:0;height:0.0625rem;background-color:var(--s-border-default);content:""}.resource-list-file-item__label.sc-swirl-resource-list-file-item{overflow:hidden;font-weight:var(--s-font-weight-medium);white-space:nowrap;text-overflow:ellipsis}.resource-list-file-item__description.sc-swirl-resource-list-file-item{overflow:hidden;margin-top:var(--s-space-2);color:var(--s-text-subdued);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);white-space:nowrap;text-overflow:ellipsis}.resource-list-file-item__error-message.sc-swirl-resource-list-file-item{margin-top:var(--s-space-2)}.resource-list-file-item__remove-button.sc-swirl-resource-list-file-item{position:absolute;top:50%;right:var(--s-space-16);display:inline-flex;transform:translateY(-50%)}.resource-list-file-item__spinner.sc-swirl-resource-list-file-item{position:absolute;top:50%;right:var(--s-space-24);display:inline-flex;transform:translateY(-50%)}', h = m, u = class {
|
|
7
7
|
constructor(i) {
|
|
8
|
-
c(this, i), this.remove = a(this, "remove", 7), this.desktopMediaQuery =
|
|
8
|
+
c(this, i), this.remove = a(this, "remove", 7), this.desktopMediaQuery = d(), this.desktopMediaQueryHandler = (s) => {
|
|
9
9
|
this.forceIconProps(s.matches);
|
|
10
10
|
}, this.description = void 0, this.errorMessage = void 0, this.icon = "<swirl-icon-file></swirl-icon-file>", this.label = void 0, this.loading = void 0, this.removable = void 0, this.removeButtonLabel = "Remove file";
|
|
11
11
|
}
|
|
@@ -23,10 +23,10 @@ const m = '.sc-swirl-resource-list-file-item-h{display:block;width:100%}.sc-swir
|
|
|
23
23
|
s == null || s.setAttribute("size", i ? "20" : "24");
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
const i = Boolean(this.errorMessage), s = !i && Boolean(this.description), r = !i && this.loading, t = this.removable && !r, l =
|
|
26
|
+
const i = Boolean(this.errorMessage), s = !i && Boolean(this.description), r = !i && this.loading, t = this.removable && !r, l = f("resource-list-file-item", {
|
|
27
27
|
"resource-list-file-item--has-control": r || t
|
|
28
28
|
});
|
|
29
|
-
return e(n, { key: "
|
|
29
|
+
return e(n, { key: "9362c9891110bc080e5050a07532bd4bba8a5ca4", role: "row" }, e("div", { key: "8469bac2faab265aeec99492f938048b65276d2a", class: l, part: "resource-list-file-item", role: "gridcell" }, e("span", { key: "3f1923b6620ca98f898baf28c8848b42f7a478d7", class: "resource-list-file-item__icon", innerHTML: this.icon, ref: (o) => this.iconEl = o }), e("span", { key: "ff327a2f88201c3f478bec40b878ef928dc49b72", class: "resource-list-file-item__label-container" }, e("span", { key: "12cf8e7ef094bce9e8127b5859302d9ade6a5e20", class: "resource-list-file-item__label", id: "label" }, this.label), s && e("span", { key: "83af28bed36d40bcf04c94cf83ec1b483a2a3b38", class: "resource-list-file-item__description" }, this.description), i && e("span", { key: "cc5f25fdb0433627e7a7fe88bbbd1bf33b493a1b", "aria-live": "polite", class: "resource-list-file-item__error-message" }, e("swirl-inline-error", { key: "ac5bf4820326624286846977fa2b90765840bc4f", message: this.errorMessage, size: "s" }))), r && e("span", { key: "095a443c97f3145a5211807f1349e06ec87eeb47", class: "resource-list-file-item__spinner" }, e("swirl-spinner", { key: "ea44a9a3d3dce63323d4bfea08e1e575f76a6a01", size: "s" })), t && e("span", { key: "f729ffc4f905d8682dded82b90a1e5fb37001fc9", class: "resource-list-file-item__remove-button" }, e("swirl-button", { key: "07878302f3b56e50a4db10776f5c4852a169b402", hideLabel: !0, icon: "<swirl-icon-close></swirl-icon-close>", label: this.removeButtonLabel, onClick: this.remove.emit }))));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
u.style = h;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { r as i, h as e, H as
|
|
1
|
+
import { r as i, h as e, H as t } from "./index.7681d03d.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
const
|
|
4
|
+
const a = ":host{display:block;width:100%}:host *{box-sizing:border-box}.resource-list-section-label{display:flex;padding:var(--s-space-8);color:var(--s-text-subdued);font-weight:var(--s-font-weight-medium);font-size:var(--s-font-size-base);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-section-label{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}", r = 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(
|
|
9
|
+
return e(t, { key: "0c61a44c193440859dfa3fcb096debf1a0752853" }, this.hasSeparator && e("swirl-separator", { key: "6773fc0258c3d525e921e43385bbe95ae35f8ad9", spacing: this.separatorSpacing }), e("div", { key: "ec2c34f215b5e02409f3880ff39719fe9ce4a00d", "aria-labelledby": "label", role: "rowgroup" }, e("span", { key: "d6d0c1012ffda85816205c8f2f59b50e71cace35", id: "label", class: "resource-list-section-label", part: "resource-list-section-label" }, this.label), e("swirl-stack", { key: "8745a64723c6e50ab967bf98b1fe2218916ce435", spacing: this.spacing }, e("slot", { key: "f0922c15b2de7c3dab42956fdd423995ac0d7c3e" }))));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
c.style = r;
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
c as swirl_resource_list_section
|
|
15
15
|
};
|