@getflip/swirl-components-react 0.212.0 → 0.213.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.aeb2af5a.js → file-manager.entry.42dc3e55.js} +7 -7
- package/dist/{index.1c337c8f.js → index.72866a29.js} +306 -306
- package/dist/{swirl-accordion-item.entry.f51f30b3.js → swirl-accordion-item.entry.b8777fb7.js} +1 -1
- package/dist/{swirl-accordion.entry.789b10c8.js → swirl-accordion.entry.616b14f1.js} +1 -1
- package/dist/{swirl-action-list-section.entry.c13aab72.js → swirl-action-list-section.entry.1a6c76d8.js} +1 -1
- package/dist/{swirl-action-list_3.entry.c5d10db2.js → swirl-action-list_3.entry.91d98681.js} +1 -1
- package/dist/{swirl-app-bar.entry.8f1fd4e4.js → swirl-app-bar.entry.72bfdee1.js} +1 -1
- package/dist/{swirl-app-icon.entry.4d18338d.js → swirl-app-icon.entry.9bcc87a3.js} +1 -1
- package/dist/{swirl-app-layout_6.entry.43f4cf06.js → swirl-app-layout_6.entry.f0703aa6.js} +2 -2
- package/dist/{swirl-autocomplete.entry.ebc1f416.js → swirl-autocomplete.entry.1483d426.js} +1 -1
- package/dist/{swirl-avatar-group.entry.99e5021e.js → swirl-avatar-group.entry.f11c262b.js} +1 -1
- package/dist/{swirl-avatar.entry.84036597.js → swirl-avatar.entry.0db5d33e.js} +1 -1
- package/dist/{swirl-badge.entry.6f85a485.js → swirl-badge.entry.11047ec1.js} +1 -1
- package/dist/{swirl-banner.entry.842658b3.js → swirl-banner.entry.eaaaa165.js} +1 -1
- package/dist/{swirl-box.entry.abf50032.js → swirl-box.entry.e090003c.js} +1 -1
- package/dist/{swirl-button-group.entry.398d57cb.js → swirl-button-group.entry.2503b44e.js} +1 -1
- package/dist/{swirl-button.entry.fbd267fd.js → swirl-button.entry.bf299de6.js} +1 -1
- package/dist/{swirl-card.entry.40466f62.js → swirl-card.entry.61e420f0.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.62b7eb5d.js → swirl-carousel-slide.entry.6087f22f.js} +1 -1
- package/dist/{swirl-carousel.entry.2fb0a6e2.js → swirl-carousel.entry.4a7e6ce1.js} +1 -1
- package/dist/{swirl-checkbox.entry.d6607742.js → swirl-checkbox.entry.4d38491f.js} +1 -1
- package/dist/{swirl-chip.entry.955b64b6.js → swirl-chip.entry.f017bd01.js} +1 -1
- package/dist/{swirl-color-input.entry.66d7ff36.js → swirl-color-input.entry.806c63a0.js} +1 -1
- package/dist/{swirl-columns.entry.14efabe7.js → swirl-columns.entry.b872ed6f.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +31 -31
- package/dist/{swirl-console-layout.entry.38f5a234.js → swirl-console-layout.entry.7c476dd6.js} +1 -1
- package/dist/{swirl-date-input.entry.5f8241dd.js → swirl-date-input.entry.eb5d52bf.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.6402bcee.js → swirl-date-picker_2.entry.2503ba66.js} +1 -1
- package/dist/{swirl-description-list-item.entry.1fcba5d9.js → swirl-description-list-item.entry.bb006cb7.js} +1 -1
- package/dist/{swirl-description-list.entry.bbaac26e.js → swirl-description-list.entry.39b77f7d.js} +1 -1
- package/dist/{swirl-dialog.entry.a5aa6a36.js → swirl-dialog.entry.600e1ab0.js} +1 -1
- package/dist/{swirl-emoji-clap.entry.880133d8.js → swirl-emoji-clap.entry.970221cb.js} +1 -1
- package/dist/{swirl-emoji-happy.entry.87399813.js → swirl-emoji-happy.entry.f5528af0.js} +1 -1
- package/dist/{swirl-emoji-idea.entry.84addd23.js → swirl-emoji-idea.entry.376c56ae.js} +1 -1
- package/dist/{swirl-emoji-love.entry.e8365b43.js → swirl-emoji-love.entry.8e4c095b.js} +1 -1
- package/dist/{swirl-emoji-sad.entry.a07f9af3.js → swirl-emoji-sad.entry.8cf9c5ae.js} +1 -1
- package/dist/{swirl-emoji-thumbs-up.entry.c4ea5921.js → swirl-emoji-thumbs-up.entry.668369cd.js} +1 -1
- package/dist/{swirl-emoji.entry.df3309e0.js → swirl-emoji.entry.9231d0c4.js} +1 -1
- package/dist/{swirl-file-uploader.entry.65c3b907.js → swirl-file-uploader.entry.ad9460f4.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.b6a8c4e1.js → swirl-file-viewer_7.entry.4f147aa8.js} +1 -1
- package/dist/{swirl-form-control.entry.86a0941c.js → swirl-form-control.entry.cd724bc6.js} +1 -1
- package/dist/{swirl-form-group.entry.e4028580.js → swirl-form-group.entry.4141e538.js} +1 -1
- package/dist/{swirl-heading.entry.0f9c6e24.js → swirl-heading.entry.c4d97a0c.js} +1 -1
- package/dist/{swirl-icon-add-moderator.entry.5ae89128.js → swirl-icon-add-moderator.entry.a4a077c5.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.a1ab4692.js → swirl-icon-add-photo.entry.da3ed5af.js} +1 -1
- package/dist/{swirl-icon-add-reaction.entry.02fbf273.js → swirl-icon-add-reaction.entry.a02bb637.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.b2529dc0.js → swirl-icon-add_6.entry.892dc588.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.24e02909.js → swirl-icon-admin-panel-settings.entry.7ffafa6b.js} +1 -1
- package/dist/{swirl-icon-ai.entry.57556d97.js → swirl-icon-ai.entry.8a6a7e2c.js} +1 -1
- package/dist/{swirl-icon-apps.entry.a489a0aa.js → swirl-icon-apps.entry.53d58cae.js} +1 -1
- package/dist/{swirl-icon-arrow-back_4.entry.6a45c635.js → swirl-icon-arrow-back_4.entry.7e786a02.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.99b0d9e2.js → swirl-icon-arrow-downward_2.entry.f295f2ab.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.cfa54cd3.js → swirl-icon-arrow-left_4.entry.9c5fa51d.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.e2ae2168.js → swirl-icon-arrow-right-small.entry.53f88ead.js} +1 -1
- package/dist/{swirl-icon-aspect-ratio.entry.61d47997.js → swirl-icon-aspect-ratio.entry.21ddb58b.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.ca6fab59.js → swirl-icon-attachment.entry.e8b30838.js} +1 -1
- package/dist/{swirl-icon-bar-chart.entry.97ba82e8.js → swirl-icon-bar-chart.entry.092ec0d0.js} +1 -1
- package/dist/{swirl-icon-block.entry.52d955dc.js → swirl-icon-block.entry.e534e425.js} +1 -1
- package/dist/{swirl-icon-bookmark-filled.entry.3db83bd6.js → swirl-icon-bookmark-filled.entry.239e2392.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.7f5b685e.js → swirl-icon-bookmark.entry.189e051f.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.c52e251a.js → swirl-icon-cancel_4.entry.7079eaa7.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.725b955e.js → swirl-icon-chat-bubble.entry.f3a59c6f.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.740b988c.js → swirl-icon-chats-filled.entry.bb61e3c9.js} +1 -1
- package/dist/{swirl-icon-chats.entry.4c7696c5.js → swirl-icon-chats.entry.ea04ae65.js} +1 -1
- package/dist/{swirl-icon-check-circle_2.entry.59a4d790.js → swirl-icon-check-circle_2.entry.8535d896.js} +1 -1
- package/dist/{swirl-icon-check-small_3.entry.70bd72ba.js → swirl-icon-check-small_3.entry.23902b6c.js} +1 -1
- package/dist/{swirl-icon-check-strong.entry.9b35b358.js → swirl-icon-check-strong.entry.ef517642.js} +1 -1
- package/dist/{swirl-icon-check.entry.df7bb0c5.js → swirl-icon-check.entry.d8a54a85.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.bbfa8af5.js → swirl-icon-chevron-left.entry.45cf0068.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.24fd8dd6.js → swirl-icon-chevron-right.entry.9e28aef4.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.7dc156bf.js → swirl-icon-close-small.entry.fc432375.js} +1 -1
- package/dist/{swirl-icon-close.entry.01bc3620.js → swirl-icon-close.entry.90fd8a74.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.b97cd350.js → swirl-icon-cloud-upload.entry.ba4fb214.js} +1 -1
- package/dist/{swirl-icon-column.entry.5ca14c3c.js → swirl-icon-column.entry.3059f644.js} +1 -1
- package/dist/{swirl-icon-comment.entry.d47f32e9.js → swirl-icon-comment.entry.b028e4f4.js} +1 -1
- package/dist/{swirl-icon-copy.entry.828bef83.js → swirl-icon-copy.entry.fc5f9497.js} +1 -1
- package/dist/{swirl-icon-crop.entry.9884f1b2.js → swirl-icon-crop.entry.f294599c.js} +1 -1
- package/dist/{swirl-icon-dark-mode.entry.2f1cd6a7.js → swirl-icon-dark-mode.entry.1cd7fa1b.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.c5e9aaee.js → swirl-icon-date-range.entry.681208f4.js} +1 -1
- package/dist/{swirl-icon-delete.entry.80222378.js → swirl-icon-delete.entry.0ee30291.js} +1 -1
- package/dist/{swirl-icon-description.entry.198b2f1b.js → swirl-icon-description.entry.2fbb442b.js} +1 -1
- package/dist/{swirl-icon-desktop.entry.be35759c.js → swirl-icon-desktop.entry.fb828ea3.js} +1 -1
- package/dist/{swirl-icon-directory-filled.entry.f50c2736.js → swirl-icon-directory-filled.entry.295b99f5.js} +1 -1
- package/dist/{swirl-icon-directory.entry.4bcde32c.js → swirl-icon-directory.entry.7eceb2e5.js} +1 -1
- package/dist/{swirl-icon-discover.entry.1c157b63.js → swirl-icon-discover.entry.7997ff51.js} +1 -1
- package/dist/{swirl-icon-dot.entry.4d7102cb.js → swirl-icon-dot.entry.b89a925f.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.1d7a2bdd.js → swirl-icon-double-arrow-right.entry.0986d326.js} +1 -1
- package/dist/{swirl-icon-download.entry.5a95c988.js → swirl-icon-download.entry.e96cfb3e.js} +1 -1
- package/dist/{swirl-icon-edit.entry.39f115c6.js → swirl-icon-edit.entry.464f5e2c.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.2adbae53.js → swirl-icon-emoji-mood.entry.ebff30cf.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.adebfcff.js → swirl-icon-emoji-satisfied.entry.e9cd0ab1.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.32de001e.js → swirl-icon-error_3.entry.826909b0.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.fb703485.js → swirl-icon-expand-more.entry.a9d88127.js} +1 -1
- package/dist/{swirl-icon-filter.entry.334c7c14.js → swirl-icon-filter.entry.63a2f47a.js} +1 -1
- package/dist/{swirl-icon-folder.entry.c7f18e71.js → swirl-icon-folder.entry.0b12477d.js} +1 -1
- package/dist/{swirl-icon-format-h-one.entry.ff8eb519.js → swirl-icon-format-h-one.entry.c7d02df1.js} +1 -1
- package/dist/{swirl-icon-gif.entry.96146656.js → swirl-icon-gif.entry.c7961f4f.js} +1 -1
- package/dist/{swirl-icon-group-add.entry.eb0cdcfa.js → swirl-icon-group-add.entry.76c73000.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.7e909dc6.js → swirl-icon-group-assign.entry.9e4a1ee3.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.1b676721.js → swirl-icon-groups-filled.entry.1b80fdce.js} +1 -1
- package/dist/{swirl-icon-groups.entry.9127b131.js → swirl-icon-groups.entry.ce706efc.js} +1 -1
- package/dist/{swirl-icon-hamburger-menu.entry.a5c5d4cd.js → swirl-icon-hamburger-menu.entry.c9554580.js} +1 -1
- package/dist/{swirl-icon-help.entry.338a49a6.js → swirl-icon-help.entry.edfe45cc.js} +1 -1
- package/dist/{swirl-icon-highlight.entry.53acec6a.js → swirl-icon-highlight.entry.ddffb4ca.js} +1 -1
- package/dist/{swirl-icon-home.entry.b6e60420.js → swirl-icon-home.entry.a1c0cb17.js} +1 -1
- package/dist/{swirl-icon-image.entry.7b392bd0.js → swirl-icon-image.entry.b873cc8a.js} +1 -1
- package/dist/{swirl-icon-improve-text.entry.cf362f31.js → swirl-icon-improve-text.entry.f22e25d0.js} +1 -1
- package/dist/{swirl-icon-info.entry.6fe520bc.js → swirl-icon-info.entry.ec0c3acf.js} +1 -1
- package/dist/{swirl-icon-insert-below.entry.1f9d1bfb.js → swirl-icon-insert-below.entry.10bdf5d5.js} +1 -1
- package/dist/{swirl-icon-insert-on-top.entry.5e20ea3a.js → swirl-icon-insert-on-top.entry.8a748d33.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.83cbd6d8.js → swirl-icon-inventory.entry.6e7672ee.js} +1 -1
- package/dist/{swirl-icon-keyboard-hide.entry.bd6e15f8.js → swirl-icon-keyboard-hide.entry.bdad9b04.js} +1 -1
- package/dist/{swirl-icon-keyboard.entry.7f7930ab.js → swirl-icon-keyboard.entry.8ccf6e82.js} +1 -1
- package/dist/{swirl-icon-light-mode.entry.5f0d3274.js → swirl-icon-light-mode.entry.52ce829a.js} +1 -1
- package/dist/{swirl-icon-like.entry.72206143.js → swirl-icon-like.entry.192af4ac.js} +1 -1
- package/dist/{swirl-icon-link.entry.15775e09.js → swirl-icon-link.entry.a36b0cf9.js} +1 -1
- package/dist/{swirl-icon-load.entry.3555a892.js → swirl-icon-load.entry.d9aa6704.js} +1 -1
- package/dist/{swirl-icon-lock-open.entry.7d8100bc.js → swirl-icon-lock-open.entry.1a9e62de.js} +1 -1
- package/dist/{swirl-icon-lock-person.entry.b51ab92b.js → swirl-icon-lock-person.entry.7d858e2f.js} +1 -1
- package/dist/{swirl-icon-lock.entry.f9586e80.js → swirl-icon-lock.entry.89ebed6e.js} +1 -1
- package/dist/{swirl-icon-login.entry.b5c00d31.js → swirl-icon-login.entry.97bca751.js} +1 -1
- package/dist/{swirl-icon-logout.entry.6854c0db.js → swirl-icon-logout.entry.e69ef5fd.js} +1 -1
- package/dist/{swirl-icon-long-text.entry.0f74fcbe.js → swirl-icon-long-text.entry.61fff220.js} +1 -1
- package/dist/{swirl-icon-mail.entry.0e9fc2f3.js → swirl-icon-mail.entry.5cce3156.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.794c757c.js → swirl-icon-manage-accounts.entry.75d56596.js} +1 -1
- package/dist/{swirl-icon-mark-chat-read.entry.23ebc59d.js → swirl-icon-mark-chat-read.entry.82cd04b3.js} +1 -1
- package/dist/{swirl-icon-mark-chat-unread.entry.b1495e2b.js → swirl-icon-mark-chat-unread.entry.6f96c505.js} +1 -1
- package/dist/{swirl-icon-mention.entry.bfdffabf.js → swirl-icon-mention.entry.a35a1a0b.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.aa40631e.js → swirl-icon-menu-filled.entry.a1d67494.js} +1 -1
- package/dist/{swirl-icon-menu.entry.b21cece1.js → swirl-icon-menu.entry.91af2eb0.js} +1 -1
- package/dist/{swirl-icon-message.entry.03d41514.js → swirl-icon-message.entry.04337a2c.js} +1 -1
- package/dist/{swirl-icon-mic-off.entry.25fc7d15.js → swirl-icon-mic-off.entry.dd28e2e5.js} +1 -1
- package/dist/{swirl-icon-mic.entry.90f789eb.js → swirl-icon-mic.entry.f850578e.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.37c56b8e.js → swirl-icon-more-horizontal.entry.7c712b99.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.02dd57c4.js → swirl-icon-news-filled.entry.8fdab3f7.js} +1 -1
- package/dist/{swirl-icon-news-off.entry.c8248190.js → swirl-icon-news-off.entry.f1e6c322.js} +1 -1
- package/dist/{swirl-icon-news.entry.ada11b34.js → swirl-icon-news.entry.15f898e2.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.09d9eb7c.js → swirl-icon-notifications-active.entry.03837873.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.54702bc7.js → swirl-icon-notifications-off.entry.6d5e7b3d.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.3fce7ece.js → swirl-icon-notifications.entry.e45086ac.js} +1 -1
- package/dist/{swirl-icon-open-in-full.entry.1a4c97a7.js → swirl-icon-open-in-full.entry.f5b28f98.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.21bed344.js → swirl-icon-open-in-new.entry.da4abf05.js} +1 -1
- package/dist/{swirl-icon-pause-circle.entry.0370b153.js → swirl-icon-pause-circle.entry.d06182cc.js} +1 -1
- package/dist/{swirl-icon-pause.entry.2d71a306.js → swirl-icon-pause.entry.fc184016.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.c0466195.js → swirl-icon-people-alt.entry.1c2cd529.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.d6ddf3fc.js → swirl-icon-person-off.entry.230cd7cd.js} +1 -1
- package/dist/{swirl-icon-person.entry.361e024c.js → swirl-icon-person.entry.ded686c7.js} +1 -1
- package/dist/{swirl-icon-phone.entry.31af21bb.js → swirl-icon-phone.entry.1560d08f.js} +1 -1
- package/dist/{swirl-icon-photo-camera.entry.1a6e0824.js → swirl-icon-photo-camera.entry.02b78e8f.js} +1 -1
- package/dist/{swirl-icon-pin-off.entry.b27451cf.js → swirl-icon-pin-off.entry.402bd3d0.js} +1 -1
- package/dist/{swirl-icon-pin.entry.c7d8acc2.js → swirl-icon-pin.entry.9ed2e89e.js} +1 -1
- package/dist/{swirl-icon-place.entry.0cec3c67.js → swirl-icon-place.entry.6f39e521.js} +1 -1
- package/dist/{swirl-icon-play-arrow.entry.8e6d0dd2.js → swirl-icon-play-arrow.entry.40c99788.js} +1 -1
- package/dist/{swirl-icon-poll.entry.268fb789.js → swirl-icon-poll.entry.838e5839.js} +1 -1
- package/dist/{swirl-icon-print.entry.306efbab.js → swirl-icon-print.entry.d29c43dd.js} +1 -1
- package/dist/{swirl-icon-ratio-four-to-three.entry.562871e0.js → swirl-icon-ratio-four-to-three.entry.d402b0f2.js} +1 -1
- package/dist/{swirl-icon-ratio-freeform.entry.e3430db8.js → swirl-icon-ratio-freeform.entry.03738c0d.js} +1 -1
- package/dist/{swirl-icon-ratio-sixteen-to-nine.entry.215a852d.js → swirl-icon-ratio-sixteen-to-nine.entry.37c94898.js} +1 -1
- package/dist/{swirl-icon-ratio-square.entry.7cb18b93.js → swirl-icon-ratio-square.entry.597e7100.js} +1 -1
- package/dist/{swirl-icon-ratio-three-to-four.entry.76cc4a5d.js → swirl-icon-ratio-three-to-four.entry.9d78a836.js} +1 -1
- package/dist/{swirl-icon-ratio-three-to-two.entry.5e39de5d.js → swirl-icon-ratio-three-to-two.entry.d3670210.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.aa119a4c.js → swirl-icon-recieved.entry.fc50d983.js} +1 -1
- package/dist/{swirl-icon-remove-moderator.entry.865ce503.js → swirl-icon-remove-moderator.entry.6665e0e9.js} +1 -1
- package/dist/{swirl-icon-reply.entry.0e108bcc.js → swirl-icon-reply.entry.f2dd7b2e.js} +1 -1
- package/dist/{swirl-icon-report.entry.b24194bd.js → swirl-icon-report.entry.78d9dfbb.js} +1 -1
- package/dist/{swirl-icon-roadmap.entry.47cd8a7b.js → swirl-icon-roadmap.entry.041de2ea.js} +1 -1
- package/dist/{swirl-icon-rotate-left.entry.525ff189.js → swirl-icon-rotate-left.entry.a5dfa0fb.js} +1 -1
- package/dist/{swirl-icon-rotate-right.entry.30940ace.js → swirl-icon-rotate-right.entry.55d25401.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.d470bfac.js → swirl-icon-search-strong.entry.b0ade73f.js} +1 -1
- package/dist/{swirl-icon-search.entry.53f63fda.js → swirl-icon-search.entry.4d63f426.js} +1 -1
- package/dist/{swirl-icon-secure.entry.dc8c4c09.js → swirl-icon-secure.entry.761c6501.js} +1 -1
- package/dist/{swirl-icon-send.entry.96ed1edb.js → swirl-icon-send.entry.496c540a.js} +1 -1
- package/dist/{swirl-icon-settings.entry.fd6f5b29.js → swirl-icon-settings.entry.70d819fd.js} +1 -1
- package/dist/{swirl-icon-short-text.entry.dc817436.js → swirl-icon-short-text.entry.5bf6116b.js} +1 -1
- package/dist/{swirl-icon-simplify.entry.98606906.js → swirl-icon-simplify.entry.6a08cc04.js} +1 -1
- package/dist/{swirl-icon-spellcheck.entry.54eff40a.js → swirl-icon-spellcheck.entry.b96a1564.js} +1 -1
- package/dist/{swirl-icon-stop.entry.ce2bc60b.js → swirl-icon-stop.entry.4e26185d.js} +1 -1
- package/dist/{swirl-icon-sync.entry.52fec85d.js → swirl-icon-sync.entry.6e4b50d2.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.ce52239c.js → swirl-icon-tasks-filled.entry.eb3d2805.js} +1 -1
- package/dist/{swirl-icon-tasks.entry.fa3c7481.js → swirl-icon-tasks.entry.6674675b.js} +1 -1
- package/dist/{swirl-icon-terminal.entry.b262c5e0.js → swirl-icon-terminal.entry.6d7004e9.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.bcb032ac.js → swirl-icon-time-filled.entry.135fd08f.js} +1 -1
- package/dist/{swirl-icon-time.entry.3abb20d5.js → swirl-icon-time.entry.c7f63b9d.js} +1 -1
- package/dist/{swirl-icon-today-filled.entry.69d9dcba.js → swirl-icon-today-filled.entry.5a532fa9.js} +1 -1
- package/dist/{swirl-icon-translate.entry.2596a732.js → swirl-icon-translate.entry.ecc468d0.js} +1 -1
- package/dist/{swirl-icon-tree-structure.entry.461d1e38.js → swirl-icon-tree-structure.entry.eff68c63.js} +1 -1
- package/dist/{swirl-icon-undo.entry.06cdca68.js → swirl-icon-undo.entry.9b2c451b.js} +1 -1
- package/dist/{swirl-icon-unlock-person.entry.a7c05bdf.js → swirl-icon-unlock-person.entry.d8f7d628.js} +1 -1
- package/dist/{swirl-icon-user-add.entry.57a0bbaf.js → swirl-icon-user-add.entry.65c9ec03.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.708e8710.js → swirl-icon-user-assign.entry.4c087f83.js} +1 -1
- package/dist/{swirl-icon-video-camera-off.entry.8d85c1d8.js → swirl-icon-video-camera-off.entry.9f9d13d5.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.c86f2642.js → swirl-icon-video-camera.entry.ea404cd9.js} +1 -1
- package/dist/{swirl-icon-video-library.entry.cf33bd8c.js → swirl-icon-video-library.entry.36503c80.js} +1 -1
- package/dist/{swirl-icon-voice.entry.5fccd1e6.js → swirl-icon-voice.entry.abb896aa.js} +1 -1
- package/dist/{swirl-icon-web-asset-off.entry.4dc6e2ee.js → swirl-icon-web-asset-off.entry.57f14583.js} +1 -1
- package/dist/{swirl-icon-web-asset.entry.0a5ddd41.js → swirl-icon-web-asset.entry.3da7a66f.js} +1 -1
- package/dist/{swirl-icon-work.entry.74e326f1.js → swirl-icon-work.entry.8ea8dc58.js} +1 -1
- package/dist/{swirl-icon.entry.0beffb87.js → swirl-icon.entry.4b5b6bd6.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.5a00b7cd.js → swirl-image-grid-item.entry.1d4932cf.js} +1 -1
- package/dist/{swirl-image-grid.entry.e3942cc8.js → swirl-image-grid.entry.9fefed40.js} +1 -1
- package/dist/{swirl-inline-notification.entry.6115e310.js → swirl-inline-notification.entry.38f62724.js} +1 -1
- package/dist/{swirl-inline-status.entry.a889c36d.js → swirl-inline-status.entry.e6a461d5.js} +1 -1
- package/dist/swirl-lightbox.entry.61b10c2c.js +147 -0
- package/dist/{swirl-link.entry.e1b3b1b5.js → swirl-link.entry.26161ef4.js} +1 -1
- package/dist/{swirl-list.entry.435c7294.js → swirl-list.entry.e31af572.js} +4 -4
- package/dist/{swirl-menu-item.entry.3ba46a39.js → swirl-menu-item.entry.b7e43168.js} +8 -8
- package/dist/{swirl-menu.entry.8ee9dc5e.js → swirl-menu.entry.1f9a3141.js} +1 -1
- package/dist/{swirl-modal.entry.1316fb6b.js → swirl-modal.entry.51a3a53b.js} +1 -1
- package/dist/{swirl-option-list-section.entry.6f4d185b.js → swirl-option-list-section.entry.e97c9708.js} +2 -2
- package/dist/{swirl-option-list_2.entry.9283483d.js → swirl-option-list_2.entry.32893345.js} +2 -2
- package/dist/{swirl-pagination.entry.321c3e8d.js → swirl-pagination.entry.f2621de2.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.414d493f.js → swirl-pdf-reader.entry.c3ff6c33.js} +8 -8
- package/dist/{swirl-popover_2.entry.e721d006.js → swirl-popover_2.entry.5fa69648.js} +5 -5
- package/dist/{swirl-progress-indicator.entry.5ae11d1f.js → swirl-progress-indicator.entry.41aca127.js} +1 -1
- package/dist/{swirl-radio-group.entry.ebdbf9a5.js → swirl-radio-group.entry.b4fcf3cc.js} +2 -2
- package/dist/{swirl-radio.entry.4dd9587d.js → swirl-radio.entry.94386acd.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.e7d6c406.js → swirl-resource-list-file-item.entry.6c47873c.js} +3 -3
- package/dist/{swirl-search.entry.f517e61e.js → swirl-search.entry.8f25cc44.js} +1 -1
- package/dist/{swirl-select.entry.12e84a1b.js → swirl-select.entry.adcb435d.js} +5 -5
- package/dist/{swirl-shell-layout.entry.3a756846.js → swirl-shell-layout.entry.3487705f.js} +6 -6
- package/dist/{swirl-shell-navigation-item.entry.9dfd7f3d.js → swirl-shell-navigation-item.entry.4bb125e6.js} +5 -5
- package/dist/{swirl-skeleton-box.entry.d882358f.js → swirl-skeleton-box.entry.f4e491aa.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.3ff9593e.js → swirl-skeleton-text.entry.7229686d.js} +1 -1
- package/dist/{swirl-stack.entry.46f957f4.js → swirl-stack.entry.f3c7c651.js} +1 -1
- package/dist/{swirl-status-indicator.entry.ea7633d1.js → swirl-status-indicator.entry.e88deabd.js} +1 -1
- package/dist/{swirl-switch.entry.d21e5e2d.js → swirl-switch.entry.53809273.js} +1 -1
- package/dist/{swirl-symbol-account-circle.entry.e25f0b56.js → swirl-symbol-account-circle.entry.d6dc5905.js} +7 -7
- package/dist/{swirl-symbol-alternate-email.entry.a8c3d469.js → swirl-symbol-alternate-email.entry.dbb02c6c.js} +2 -2
- package/dist/{swirl-symbol-android.entry.ad131e86.js → swirl-symbol-android.entry.22334e5c.js} +4 -4
- package/dist/{swirl-symbol-announcement.entry.49e29688.js → swirl-symbol-announcement.entry.5e9db83b.js} +2 -2
- package/dist/{swirl-symbol-backup.entry.ecfe381a.js → swirl-symbol-backup.entry.40e868aa.js} +7 -7
- package/dist/{swirl-symbol-beach-access.entry.5be62837.js → swirl-symbol-beach-access.entry.2d79ed68.js} +3 -3
- package/dist/{swirl-symbol-bookmark.entry.6ad4707e.js → swirl-symbol-bookmark.entry.6b0a3917.js} +5 -5
- package/dist/{swirl-symbol-cloud.entry.7c142729.js → swirl-symbol-cloud.entry.d4f6e80a.js} +5 -5
- package/dist/{swirl-symbol-coronavirus.entry.fbe4b229.js → swirl-symbol-coronavirus.entry.f1c2a479.js} +7 -7
- package/dist/swirl-symbol-desktop-windows.entry.14cccd01.js +17 -0
- package/dist/{swirl-symbol-directions-car-filled.entry.ae670c30.js → swirl-symbol-directions-car-filled.entry.3a78f6b3.js} +5 -5
- package/dist/{swirl-symbol-edit-calendar.entry.1d33ae97.js → swirl-symbol-edit-calendar.entry.8b363785.js} +2 -2
- package/dist/{swirl-symbol-email.entry.e88a2c30.js → swirl-symbol-email.entry.a78b6c29.js} +7 -7
- package/dist/{swirl-symbol-emoji-food-beverage.entry.92df65e3.js → swirl-symbol-emoji-food-beverage.entry.f9d136b1.js} +5 -5
- package/dist/{swirl-symbol-event-menu.entry.c6742a88.js → swirl-symbol-event-menu.entry.c6333c80.js} +7 -7
- package/dist/{swirl-symbol-facebook.entry.d7da6919.js → swirl-symbol-facebook.entry.5c1781df.js} +7 -7
- package/dist/{swirl-symbol-favorite.entry.205f8761.js → swirl-symbol-favorite.entry.2646d5fc.js} +2 -2
- package/dist/{swirl-symbol-fitness-center.entry.18cc02fc.js → swirl-symbol-fitness-center.entry.2115edc2.js} +2 -2
- package/dist/{swirl-symbol-flag.entry.4b84789b.js → swirl-symbol-flag.entry.21d9f29f.js} +2 -2
- package/dist/{swirl-symbol-folder.entry.079d84aa.js → swirl-symbol-folder.entry.ddf81c3d.js} +2 -2
- package/dist/{swirl-symbol-globe.entry.65a47a2e.js → swirl-symbol-globe.entry.996848a2.js} +2 -2
- package/dist/{swirl-symbol-groups.entry.be08e032.js → swirl-symbol-groups.entry.855c6e1e.js} +7 -7
- package/dist/{swirl-symbol-help.entry.3c22fc91.js → swirl-symbol-help.entry.041b142f.js} +5 -5
- package/dist/{swirl-symbol-image.entry.cb5e3164.js → swirl-symbol-image.entry.4f2bf104.js} +5 -5
- package/dist/{swirl-symbol-info-menu.entry.def0ed24.js → swirl-symbol-info-menu.entry.2454af68.js} +5 -5
- package/dist/{swirl-symbol-instagram.entry.9a30d657.js → swirl-symbol-instagram.entry.14adfce4.js} +2 -2
- package/dist/{swirl-symbol-ios.entry.4a53cfd4.js → swirl-symbol-ios.entry.da460576.js} +5 -5
- package/dist/{swirl-symbol-language.entry.c7890de1.js → swirl-symbol-language.entry.1f1fac2a.js} +7 -7
- package/dist/{swirl-symbol-leaderboard.entry.8376639f.js → swirl-symbol-leaderboard.entry.df64135e.js} +4 -4
- package/dist/swirl-symbol-lightbulb.entry.3bea9198.js +17 -0
- package/dist/{swirl-symbol-linkedin.entry.c4467af8.js → swirl-symbol-linkedin.entry.88a31152.js} +5 -5
- package/dist/{swirl-symbol-location-on.entry.20e4fe26.js → swirl-symbol-location-on.entry.c081f9b8.js} +7 -7
- package/dist/{swirl-symbol-loyalty.entry.38dfc500.js → swirl-symbol-loyalty.entry.0a2ddfaf.js} +6 -6
- package/dist/{swirl-symbol-maps-home-work.entry.597ab726.js → swirl-symbol-maps-home-work.entry.19420044.js} +4 -4
- package/dist/{swirl-symbol-notifications.entry.23077646.js → swirl-symbol-notifications.entry.ab006894.js} +7 -7
- package/dist/{swirl-symbol-open-in-new.entry.830956af.js → swirl-symbol-open-in-new.entry.ff96a394.js} +2 -2
- package/dist/{swirl-symbol-pedal-bike.entry.8d6b5def.js → swirl-symbol-pedal-bike.entry.67e60574.js} +6 -6
- package/dist/{swirl-symbol-pinterest.entry.30319f6f.js → swirl-symbol-pinterest.entry.37f6b157.js} +5 -5
- package/dist/{swirl-symbol-policy.entry.c8900ef6.js → swirl-symbol-policy.entry.4c2442c8.js} +6 -6
- package/dist/{swirl-symbol-push-pin.entry.4f7db152.js → swirl-symbol-push-pin.entry.1f918a70.js} +5 -5
- package/dist/{swirl-symbol-redeem.entry.96903a87.js → swirl-symbol-redeem.entry.9f26ee78.js} +5 -5
- package/dist/{swirl-symbol-report-problem.entry.beb3a9f5.js → swirl-symbol-report-problem.entry.0b8dc898.js} +5 -5
- package/dist/{swirl-symbol-restaurant.entry.32f5c4c1.js → swirl-symbol-restaurant.entry.be71c6a4.js} +5 -5
- package/dist/swirl-symbol-roadmap.entry.e6d6485b.js +17 -0
- package/dist/{swirl-symbol-room.entry.c87d092d.js → swirl-symbol-room.entry.1d4284af.js} +5 -5
- package/dist/{swirl-symbol-savings.entry.9bf9f4c3.js → swirl-symbol-savings.entry.9cc0eea0.js} +2 -2
- package/dist/{swirl-symbol-settings-voice.entry.a29ebc03.js → swirl-symbol-settings-voice.entry.6f018d09.js} +5 -5
- package/dist/{swirl-symbol-shopping-cart.entry.f907c87d.js → swirl-symbol-shopping-cart.entry.5d853457.js} +4 -4
- package/dist/swirl-symbol-smartphone.entry.e9d13b02.js +17 -0
- package/dist/{swirl-symbol-star.entry.0775ce55.js → swirl-symbol-star.entry.b2eca72a.js} +4 -4
- package/dist/{swirl-symbol-supervisor-account.entry.0891f30c.js → swirl-symbol-supervisor-account.entry.0835c9c9.js} +2 -2
- package/dist/{swirl-symbol-thumbs-up-down.entry.b2156c4d.js → swirl-symbol-thumbs-up-down.entry.5613837c.js} +7 -7
- package/dist/{swirl-symbol-twitter.entry.9b081dad.js → swirl-symbol-twitter.entry.e0e0bab1.js} +4 -4
- package/dist/{swirl-symbol-wb-sunny.entry.305eac86.js → swirl-symbol-wb-sunny.entry.84d3c821.js} +5 -5
- package/dist/{swirl-symbol-wechat.entry.9d1fdc18.js → swirl-symbol-wechat.entry.fa4f76a9.js} +7 -7
- package/dist/{swirl-symbol-weibo.entry.ea0f73d6.js → swirl-symbol-weibo.entry.a8295e76.js} +5 -5
- package/dist/{swirl-symbol-work.entry.f565cd7c.js → swirl-symbol-work.entry.e29fb858.js} +6 -6
- package/dist/{swirl-symbol-xing.entry.5f9e730f.js → swirl-symbol-xing.entry.7f1d28b0.js} +6 -6
- package/dist/{swirl-symbol-youtube.entry.97a7211c.js → swirl-symbol-youtube.entry.52c93704.js} +2 -2
- package/dist/swirl-symbol.entry.3624c56f.js +16 -0
- package/dist/{swirl-tab-bar.entry.53eb39d1.js → swirl-tab-bar.entry.4d492c91.js} +1 -1
- package/dist/{swirl-tab.entry.fd15812c.js → swirl-tab.entry.f7288e7d.js} +1 -1
- package/dist/{swirl-table-cell.entry.4b173562.js → swirl-table-cell.entry.f69ecfe4.js} +2 -2
- package/dist/{swirl-table-column.entry.26a67814.js → swirl-table-column.entry.1bf77bd7.js} +1 -1
- package/dist/{swirl-table-row-group.entry.d626a008.js → swirl-table-row-group.entry.da948b4f.js} +4 -4
- package/dist/{swirl-table-row.entry.42e85bad.js → swirl-table-row.entry.bba3caeb.js} +2 -2
- package/dist/{swirl-table.entry.aef52bbb.js → swirl-table.entry.7522fc05.js} +2 -2
- package/dist/{swirl-tabs.entry.a69a5caf.js → swirl-tabs.entry.509c7884.js} +3 -3
- package/dist/{swirl-text-input.entry.68005e4c.js → swirl-text-input.entry.31abacdf.js} +1 -1
- package/dist/{swirl-text.entry.2c7c7646.js → swirl-text.entry.a99dcb03.js} +1 -1
- package/dist/{swirl-theme-provider.entry.27f8ff8e.js → swirl-theme-provider.entry.6fcee06f.js} +5 -5
- package/dist/{swirl-time-input.entry.5c72456d.js → swirl-time-input.entry.e66b4ef4.js} +21 -21
- package/dist/{swirl-toast-provider.entry.57ded10c.js → swirl-toast-provider.entry.7762f3d1.js} +1 -1
- package/dist/{swirl-toast.entry.37c8e9db.js → swirl-toast.entry.ef1e7f36.js} +1 -1
- package/dist/{swirl-toolbar.entry.06bfe930.js → swirl-toolbar.entry.4116c1bb.js} +1 -1
- package/dist/{swirl-tooltip.entry.73a5a41a.js → swirl-tooltip.entry.c3695ac9.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.c1ac96e7.js → swirl-tree-navigation-item.entry.c3f0fbad.js} +2 -2
- package/dist/{swirl-video-thumbnail.entry.1389997f.js → swirl-video-thumbnail.entry.a1305334.js} +3 -3
- package/dist/swirl-visually-hidden.entry.4c2bf348.js +15 -0
- package/dist/{wc-datepicker.entry.b75912b6.js → wc-datepicker.entry.9f3e4cb3.js} +1 -1
- package/package.json +2 -2
- package/dist/swirl-lightbox.entry.9ead2579.js +0 -135
- package/dist/swirl-symbol-desktop-windows.entry.9783cddf.js +0 -17
- package/dist/swirl-symbol-lightbulb.entry.7c9ec656.js +0 -17
- package/dist/swirl-symbol-roadmap.entry.1ecac830.js +0 -17
- package/dist/swirl-symbol-smartphone.entry.b30b039e.js +0 -17
- package/dist/swirl-symbol.entry.9907991e.js +0 -16
- package/dist/swirl-visually-hidden.entry.50f287e9.js +0 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as t, h as s, H as o } from "./index.
|
|
1
|
+
import { r as t, h as s, H as o } from "./index.72866a29.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const e = ":host{display:inline-flex;max-width:100%;max-height:100%}.swirl-icon{max-width:100%;max-height:100%}", r = e, n = class {
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { r as h, h as i, H as b, g as u } from "./index.72866a29.js";
|
|
2
|
+
import { d as f, e as g } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
3
|
+
import { c as m } from "./index-267776a4.6beb4f4b.js";
|
|
4
|
+
import { c as p } from "./focus-trap.esm-49c9613c.db20abcc.js";
|
|
5
|
+
import { q as x } from "./utils-9b747dd7.4c4c7dc0.js";
|
|
6
|
+
import "react";
|
|
7
|
+
import "react-dom";
|
|
8
|
+
const y = ':host{display:block}:host *{box-sizing:border-box}.lightbox{position:fixed;z-index:var(--s-z-40);background-color:rgba(0, 0, 0, 1);inset:0}.lightbox[aria-hidden="true"]{display:none}@media (min-width: 768px){.lightbox{background-color:rgba(0, 0, 0, 0.8)}}.lightbox:not(.lightbox--closing) .lightbox__body{animation:0.15s lightbox-fade-in}@media (prefers-reduced-motion){.lightbox:not(.lightbox--closing) .lightbox__body{animation:none}}.lightbox--closing{animation:0.15s lightbox-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.lightbox--closing{animation:none}}.lightbox--hide-menu .lightbox__menu{display:none}.lightbox--hide-toolbar .lightbox__toolbar{display:none}.lightbox__body{position:relative;width:100%;height:100%}.lightbox__header{position:absolute;z-index:1;top:0;right:0;left:0;display:flex;padding:var(--s-space-12) var(--s-space-16);justify-content:space-between;align-items:flex-start;pointer-events:none}.lightbox__toolbar{pointer-events:auto}.lightbox__controls{position:absolute;z-index:1;top:50%;right:0;left:0;display:none;padding-right:var(--s-space-16);padding-left:var(--s-space-16);justify-content:space-between;align-items:flex-start;pointer-events:none}@media (min-width: 768px){.lightbox__controls{display:flex}}.lightbox__close-button,.lightbox__menu-button,.lightbox__previous-slide-button,.lightbox__next-slide-button{display:inline-flex;width:2.5rem;height:2.5rem;justify-content:center;align-items:center;border:none;border-radius:50%;color:var(--s-icon-on-image);background-color:rgba(0, 0, 0, 0.6);cursor:pointer;transition:opacity 0.15s;pointer-events:auto}.lightbox__close-button:disabled,.lightbox__menu-button:disabled,.lightbox__previous-slide-button:disabled,.lightbox__next-slide-button:disabled{pointer-events:none;opacity:0}.lightbox__content{overflow:hidden;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none}.lightbox__slides{display:flex;width:100%;height:100%}.lightbox__slides ::slotted(*){flex-basis:100%;flex-shrink:0;transition:transform 0.3s}@media (min-width: 768px){.lightbox__slides ::slotted(*){padding:4rem 5rem}}@media (prefers-reduced-motion){.lightbox__slides ::slotted(*){transition:none}}.lightbox__pagination{position:absolute;bottom:var(--s-space-32);left:50%;padding:var(--s-space-4) var(--s-space-12);border-radius:var(--s-border-radius-base);color:var(--s-text-on-image);background-color:rgba(0, 0, 0, 0.6);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);transform:translateX(-50%);pointer-events:none}@media (min-width: 768px){.lightbox__pagination{display:none}}.lightbox__meta{display:flex;padding-top:var(--s-space-4);padding-right:var(--s-space-16);padding-bottom:var(--s-space-4);padding-left:var(--s-space-16);align-items:center;gap:var(--s-space-12)}@media (min-width: 768px){.lightbox__meta{max-width:18rem}}.lightbox__thumbnail{display:inline-flex;flex-shrink:0}.lightbox__file-info{display:flex;min-width:0;flex-grow:1;flex-direction:column}@keyframes lightbox-fade-in{from{opacity:0}to{opacity:1}}@keyframes lightbox-fade-out{from{opacity:1}to{opacity:0}}', v = y, _ = class {
|
|
9
|
+
constructor(t) {
|
|
10
|
+
h(this, t), this.dragging = !1, this.onKeyDown = (e) => {
|
|
11
|
+
!this.isOpen || (e.code === "Escape" ? (e.stopImmediatePropagation(), this.close()) : e.code === "ArrowLeft" ? this.onPreviousSlideClick() : e.code === "ArrowRight" && this.onNextSlideClick());
|
|
12
|
+
}, this.onCloseButtonClick = () => {
|
|
13
|
+
this.close();
|
|
14
|
+
}, this.onDownloadButtonClick = () => {
|
|
15
|
+
var e;
|
|
16
|
+
(e = this.slides[this.activeSlideIndex]) == null || e.download(), this.menu.close();
|
|
17
|
+
}, this.onNextSlideClick = () => {
|
|
18
|
+
this.activateSlide(Math.min(this.slides.length - 1, this.activeSlideIndex + 1));
|
|
19
|
+
}, this.onPreviousSlideClick = () => {
|
|
20
|
+
this.activateSlide(Math.max(0, this.activeSlideIndex - 1));
|
|
21
|
+
}, this.registerSlides = () => {
|
|
22
|
+
this.slides = Array.from(this.el.children).filter((e) => e.tagName === "SWIRL-FILE-VIEWER"), this.setSlideAttributes();
|
|
23
|
+
}, this.onPointerDown = (e) => {
|
|
24
|
+
this.dragging = !0, this.dragStartPosition = e instanceof MouseEvent ? e.clientX : e.touches[0].clientX, this.slides.forEach((a) => {
|
|
25
|
+
a.style.transition = "none";
|
|
26
|
+
});
|
|
27
|
+
}, this.onPointerMove = async (e) => {
|
|
28
|
+
var n, d;
|
|
29
|
+
const a = !(e instanceof MouseEvent) && e.touches.length > 1, o = (d = (n = this.slides[this.activeSlideIndex]) == null ? void 0 : n.shadowRoot) == null ? void 0 : d.querySelector("swirl-file-viewer-image"), s = Boolean(o) ? await o.getZoom() > 1 : !1;
|
|
30
|
+
if (!(a || s) && this.dragging) {
|
|
31
|
+
e.preventDefault();
|
|
32
|
+
const l = e instanceof MouseEvent ? e.clientX - this.dragStartPosition : e.touches[0].clientX - this.dragStartPosition;
|
|
33
|
+
this.slides.forEach((r) => {
|
|
34
|
+
const c = this.activeSlideIndex * r.getBoundingClientRect().width;
|
|
35
|
+
this.dragDelta = l, r.style.transform = `translate3d(${(-c + this.dragDelta) / 16}rem, 0, 0)`;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}, this.onPointerUp = () => {
|
|
39
|
+
this.dragging = !1, this.dragStartPosition = void 0;
|
|
40
|
+
const e = this.dragDelta / this.slides[this.activeSlideIndex].getBoundingClientRect().width;
|
|
41
|
+
this.dragDelta = 0;
|
|
42
|
+
const a = e > 0.2, o = e < -0.2;
|
|
43
|
+
this.slides.forEach((s) => {
|
|
44
|
+
s.style.transition = "";
|
|
45
|
+
}), a ? this.onPreviousSlideClick() : o ? this.onNextSlideClick() : this.resetSlidePositions();
|
|
46
|
+
}, this.onBackdropClick = (e) => {
|
|
47
|
+
e.target === this.slidesContainer && this.close();
|
|
48
|
+
}, this.onContextMenu = (e) => {
|
|
49
|
+
this.downloadButtonEnabled || e.preventDefault();
|
|
50
|
+
}, this.closeButtonLabel = "Close modal", this.downloadButtonEnabled = !0, this.downloadButtonLabel = "Download", this.hideMenu = void 0, this.label = void 0, this.menuLabel = "Slide options", this.menuTriggerLabel = "Open slide menu", this.nextSlideButtonLabel = "Next slide", this.previousSlideButtonLabel = "Previous slide", this.activeSlideIndex = 0, this.closing = !1, this.isOpen = !1, this.slides = void 0;
|
|
51
|
+
}
|
|
52
|
+
componentWillLoad() {
|
|
53
|
+
this.registerSlides();
|
|
54
|
+
}
|
|
55
|
+
componentDidLoad() {
|
|
56
|
+
this.activateSlide(0);
|
|
57
|
+
}
|
|
58
|
+
componentDidRender() {
|
|
59
|
+
var t;
|
|
60
|
+
(t = this.focusTrap) == null || t.updateContainerElements(this.modalEl);
|
|
61
|
+
}
|
|
62
|
+
disconnectedCallback() {
|
|
63
|
+
var t;
|
|
64
|
+
(t = this.focusTrap) == null || t.deactivate(), this.unlockBodyScroll();
|
|
65
|
+
}
|
|
66
|
+
async open() {
|
|
67
|
+
this.isOpen = !0, this.lockBodyScroll(), this.activateSlide(this.activeSlideIndex || 0), setTimeout(() => {
|
|
68
|
+
this.focusTrap = p(this.modalEl, {
|
|
69
|
+
allowOutsideClick: !0,
|
|
70
|
+
tabbableOptions: {
|
|
71
|
+
getShadowRoot: (t) => t.shadowRoot
|
|
72
|
+
}
|
|
73
|
+
}), this.focusTrap.activate();
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
async close() {
|
|
77
|
+
this.closing || (this.closing = !0, this.focusTrap.deactivate(), this.unlockBodyScroll(), setTimeout(() => {
|
|
78
|
+
this.isOpen = !1, this.resetImageZoom(), this.stopAllMediaPlayers(), this.closing = !1;
|
|
79
|
+
}, 150));
|
|
80
|
+
}
|
|
81
|
+
async activateSlide(t) {
|
|
82
|
+
var e, a;
|
|
83
|
+
(a = (e = this.menu) == null ? void 0 : e.close) == null || a.call(e), this.dragging = !1, this.activeSlideIndex = t, this.slides.forEach((o, s) => {
|
|
84
|
+
s === this.activeSlideIndex ? (o.removeAttribute("aria-hidden"), o.setAttribute("active", "true")) : s === this.activeSlideIndex - 1 || s === this.activeSlideIndex + 1 ? (o.setAttribute("aria-hidden", "true"), o.setAttribute("active", "true")) : o.setAttribute("aria-hidden", "true"), o.style.transform = `translate3d(-${100 * this.activeSlideIndex}%, 0, 0)`;
|
|
85
|
+
}), setTimeout(() => {
|
|
86
|
+
this.slides.forEach((o, s) => {
|
|
87
|
+
s !== this.activeSlideIndex && s !== this.activeSlideIndex - 1 && s !== this.activeSlideIndex + 1 && o.setAttribute("active", "false");
|
|
88
|
+
});
|
|
89
|
+
}, 300), this.stopAllMediaPlayers(), this.resetImageZoom();
|
|
90
|
+
}
|
|
91
|
+
setSlideAttributes() {
|
|
92
|
+
this.slides.forEach((t) => {
|
|
93
|
+
t.setAttribute("active", "false"), t.setAttribute("aria-label", t.file), t.setAttribute("aria-roledescription", "slide"), t.setAttribute("role", "group"), t.addEventListener("dragstart", (e) => e.preventDefault());
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
resetSlidePositions() {
|
|
97
|
+
this.slides.forEach((t) => {
|
|
98
|
+
t.style.transform = `translate3d(-${100 * this.activeSlideIndex}%, 0, 0)`;
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
getCurrentFileName() {
|
|
102
|
+
var t, e;
|
|
103
|
+
return (e = (t = this.slides[this.activeSlideIndex]) == null ? void 0 : t.file) == null ? void 0 : e.split("/").pop();
|
|
104
|
+
}
|
|
105
|
+
getCurrentFileType() {
|
|
106
|
+
var t;
|
|
107
|
+
return (t = this.slides[this.activeSlideIndex]) == null ? void 0 : t.type;
|
|
108
|
+
}
|
|
109
|
+
getCurrentThumbnailUrl() {
|
|
110
|
+
var t;
|
|
111
|
+
return (t = this.slides[this.activeSlideIndex]) == null ? void 0 : t.thumbnailUrl;
|
|
112
|
+
}
|
|
113
|
+
lockBodyScroll() {
|
|
114
|
+
f(this.el);
|
|
115
|
+
}
|
|
116
|
+
unlockBodyScroll() {
|
|
117
|
+
g(this.el);
|
|
118
|
+
}
|
|
119
|
+
getMediaPlayers() {
|
|
120
|
+
return x(this.el, "video");
|
|
121
|
+
}
|
|
122
|
+
stopAllMediaPlayers() {
|
|
123
|
+
this.getMediaPlayers().forEach((t) => t.pause());
|
|
124
|
+
}
|
|
125
|
+
resetImageZoom() {
|
|
126
|
+
this.slides.forEach((t) => {
|
|
127
|
+
var a;
|
|
128
|
+
const e = (a = t == null ? void 0 : t.shadowRoot) == null ? void 0 : a.querySelector("swirl-file-viewer-image");
|
|
129
|
+
Boolean(e) && e.resetZoom();
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
render() {
|
|
133
|
+
const t = this.slides.length > 1, e = this.getCurrentFileName(), a = this.getCurrentFileType(), o = this.getCurrentThumbnailUrl(), s = Boolean(this.el.querySelector("[slot='menu-items']")) || this.downloadButtonEnabled, n = Boolean(this.el.querySelector("[slot='toolbar']")), d = m("lightbox", {
|
|
134
|
+
"lightbox--closing": this.closing,
|
|
135
|
+
"lightbox--hide-menu": !s,
|
|
136
|
+
"lightbox--hide-toolbar": !n
|
|
137
|
+
});
|
|
138
|
+
return i(b, { key: "012891b0db835105a7580bad43bccce2b389769d", onKeydown: this.onKeyDown }, i("section", { key: "b293082c033d560d15dc78118f95b4bca5bca954", "aria-hidden": String(!this.isOpen), "aria-label": this.label, "aria-modal": "true", class: d, id: "lightbox", onMouseDown: this.onPointerDown, onMouseMove: this.onPointerMove, onMouseOut: this.onPointerUp, onMouseUp: this.onPointerUp, onTouchEnd: this.onPointerUp, onTouchMove: this.onPointerMove, onTouchStart: this.onPointerDown, ref: (l) => this.modalEl = l, role: "dialog", tabIndex: this.isOpen ? 0 : -1 }, i("div", { key: "5fe1877d3e6c56db2277b1d4de02f5471a81435e", class: "lightbox__body", role: "document" }, i("header", { key: "53ee69774f4525b937758d1614991a8e508a41b2", class: "lightbox__header" }, i("button", { key: "6bc6027025c29da201e60326f60b0287a5ed25f6", "aria-label": this.closeButtonLabel, class: "lightbox__close-button", onClick: this.onCloseButtonClick }, i("swirl-icon-close", { key: "1e1c5a418da66c5aab172142c660365631c80db8" })), i("div", { key: "b4a31f60db6fe4bc738527a25f1dcfc239619748", class: "lightbox__toolbar" }, i("slot", { key: "3d7d99d8f63701dbc8c7f091d388eacbf30288da", name: "toolbar" })), !this.hideMenu && i("swirl-popover-trigger", { key: "d7a17fcf78810181ae21e979f652152f8842afae", swirlPopover: this.menu }, i("button", { key: "9836e1a84fda8ab4419486051a402eb928ea8914", "aria-label": this.menuTriggerLabel, class: "lightbox__menu-button" }, i("swirl-icon-more-vertikal", { key: "ddf16aee28f502ec5eb960833533f1bec6e667e3" })))), i("div", { key: "b7448e6187d1b97439fcbbd70c03f2a01ebeca18", "aria-roledescription": "carousel", class: "lightbox__content", role: "group" }, i("div", { key: "c65b7f37ef28a0cf7f2744cb0f5d64b8872a1990", "aria-atomic": "false", "aria-live": "polite", class: "lightbox__slides", onClick: this.onBackdropClick, onContextMenu: this.onContextMenu, ref: (l) => this.slidesContainer = l }, i("slot", { key: "df683e35aa1750cb69424d4b83ce70d3946faf84", onSlotchange: this.registerSlides }))), i("div", { key: "9ff646ddac7774be9ed4f668470f54cf0d0113cc", class: "lightbox__controls" }, i("button", { key: "b07e6b6c8708394d826791f216f7bc7b0f307839", "aria-label": this.previousSlideButtonLabel, class: "lightbox__previous-slide-button", disabled: this.activeSlideIndex === 0, onClick: this.onPreviousSlideClick }, i("swirl-icon-arrow-left", { key: "af25abff2e4ca1cf6d5b16b43a77ea028b90e571" })), i("button", { key: "3a22bfdfa042251d74ecdbc4d87516ea300c5ced", "aria-label": this.nextSlideButtonLabel, class: "lightbox__next-slide-button", disabled: this.activeSlideIndex === this.slides.length - 1, onClick: this.onNextSlideClick }, i("swirl-icon-arrow-right", { key: "248a0b730aacf7381b20134253c41984a9b91a24" }))), t && i("span", { key: "1807b6f0d21fb2410772a682373678458329ac38", class: "lightbox__pagination" }, i("span", { key: "23376bbf8611300e5d4d158975d23796191b02ea", "aria-current": "page" }, this.activeSlideIndex + 1), " /", " ", this.slides.length)), !this.hideMenu && i("swirl-popover", { key: "519bf63ab4ee728ba357637db647e8e7abeb9fbf", animation: "scale-in-y", disableScrollLock: !0, id: "slide-menu", label: this.menuLabel, placement: "bottom-end", ref: (l) => this.menu = l }, i("swirl-stack", { key: "023c442075b900f00d50523213dfc466f813de23" }, i("div", { key: "0dc758f7b9eb51c23e95c6338dfe31327e190be0", class: "lightbox__meta" }, o && i("div", { key: "e703f937124d3698d3404d0da19adbaceba4cf58", class: "lightbox__thumbnail" }, i("swirl-thumbnail", { key: "f97ae890ec3497533f7272eb0b973e3e04a79b3a", alt: "", src: o })), i("div", { key: "4a53904b0f1b9760b5fe796e9fa7ad141c87fae0", class: "lightbox__file-info" }, i("swirl-text", { key: "f98d773d89087ac30d6b74db1d65fb86ce8e880e", truncate: !0, weight: "semibold" }, e), i("swirl-text", { key: "8df08e6b94f940fb13029bd31b19a9af7b22eea8", color: "subdued", size: "sm", truncate: !0 }, a))), s && i("swirl-separator", { key: "44dd5efecd57e94cab79ef012929f208c46b1158" }), i("swirl-action-list", { key: "77fd5492f4e037cb8ea2a2d840967b520baed782" }, this.downloadButtonEnabled && i("swirl-action-list-item", { key: "1c7650890e90b283eed2746eaa22e2e72d951418", icon: "<swirl-icon-download></swirl-icon-download>", label: this.downloadButtonLabel, onClick: this.onDownloadButtonClick }), i("slot", { key: "7955b578c31f23970abe13f46b25b53d5ae5cf50", name: "menu-items" }))))));
|
|
139
|
+
}
|
|
140
|
+
get el() {
|
|
141
|
+
return u(this);
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
_.style = v;
|
|
145
|
+
export {
|
|
146
|
+
_ as swirl_lightbox
|
|
147
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { r as l, h as
|
|
1
|
+
import { r as l, h as i, H as r } from "./index.72866a29.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const s = ':host{display:block}:host *{box-sizing:border-box}.swirl-list{line-height:var(--s-line-height-base)}.swirl-list ul,.swirl-list ol{margin:0;padding:0;list-style-position:outside;list-style-type:none}.swirl-list ul li{padding-left:1.5rem}.swirl-list ul li:before{display:inline-block;width:1.5rem;margin-left:-1.5rem;text-align:center;content:"\u2022"}.swirl-list ol{counter-reset:item}.swirl-list ol ol{counter-reset:letter}.swirl-list ol ol li:before{content:counter(letter, lower-alpha) ".";counter-increment:letter}.swirl-list ol li{padding-left:1.5rem}.swirl-list ol li:before{display:inline-block;min-width:1.5rem;margin-left:-1.5rem;padding-right:var(--s-space-8);text-align:right;content:counter(item) ".";counter-increment:item;font-variant-numeric:tabular-nums}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.swirl-list{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}', n = s, o = class {
|
|
5
|
-
constructor(
|
|
6
|
-
l(this,
|
|
5
|
+
constructor(e) {
|
|
6
|
+
l(this, e);
|
|
7
7
|
}
|
|
8
8
|
componentDidRender() {
|
|
9
9
|
Array.from(this.containerEl.children).some((t) => !["UL", "OL"].includes(t.tagName)) && console.warn("[SwirlList] Only ul and ol elements are allowed as direct children of <swirl-list />.");
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return
|
|
12
|
+
return i(r, { key: "e5d3a2ba80e4c099e89ba6c6bee7a328e94ba2f4" }, i("div", { key: "d7b30d222519d12c0837d4bc72e11a494f96eaa5", class: "swirl-list", ref: (e) => this.containerEl = e }, i("slot", { key: "65461a385ba0e4a83134a1732538cc9e3db03700" })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
o.style = n;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r
|
|
2
|
-
import { c as
|
|
1
|
+
import { r, h as i, H as u, g as l } from "./index.72866a29.js";
|
|
2
|
+
import { c as d } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import { c as h, p as c } from "./utils-9b747dd7.4c4c7dc0.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const p = ":host{display:block}:host *{box-sizing:border-box}.menu-item--expanded ::part(action-list-item){background-color:var(--s-surface-overlay-hovered)}", m = p, f = class {
|
|
7
7
|
constructor(t) {
|
|
8
|
-
|
|
8
|
+
r(this, t), this.onSlotChange = () => {
|
|
9
9
|
this.subMenu = this.el.querySelector("swirl-menu"), this.updateActionListItemProps();
|
|
10
10
|
}, this.onActionListItemClick = () => {
|
|
11
11
|
this.actionListItem.disabled || this.rootMenu.activateMenuItem(this.el);
|
|
@@ -45,8 +45,8 @@ const p = ":host{display:block}:host *{box-sizing:border-box}.menu-item--expande
|
|
|
45
45
|
renderActionListItem() {
|
|
46
46
|
var e, n, o;
|
|
47
47
|
const t = Boolean((e = this.subMenu) == null ? void 0 : e.value) ? (o = Array.from(((n = this.subMenu) == null ? void 0 : n.querySelectorAll("swirl-menu-item")) || []).find((s) => {
|
|
48
|
-
var
|
|
49
|
-
return s.value === ((
|
|
48
|
+
var a;
|
|
49
|
+
return s.value === ((a = this.subMenu) == null ? void 0 : a.value);
|
|
50
50
|
})) == null ? void 0 : o.label : void 0;
|
|
51
51
|
return i("swirl-action-list-item", { badge: t, description: this.description, disabled: this.disabled, icon: this.icon, intent: this.intent, label: this.label, onClick: this.onActionListItemClick, ref: (s) => this.actionListItem = s, suffix: this.suffix });
|
|
52
52
|
}
|
|
@@ -56,13 +56,13 @@ const p = ":host{display:block}:host *{box-sizing:border-box}.menu-item--expande
|
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
58
|
var e;
|
|
59
|
-
const t =
|
|
59
|
+
const t = d("menu-item", {
|
|
60
60
|
"menu-item--expanded": this.expanded
|
|
61
61
|
});
|
|
62
|
-
return i(
|
|
62
|
+
return i(u, { key: "5de07cfe580284f7fce593c90ee04a48181032fe" }, i("div", { key: "f710ef157e8ef4ca6fd8670cb27051c0874ea473", class: t }, ((e = this.parentMenu) == null ? void 0 : e.variant) === "selection" ? this.renderOptionListItem() : this.renderActionListItem(), i("slot", { key: "57e5ba984a853f51da3cee24178a0208cc8cfbd8", onSlotchange: this.onSlotChange })));
|
|
63
63
|
}
|
|
64
64
|
get el() {
|
|
65
|
-
return
|
|
65
|
+
return l(this);
|
|
66
66
|
}
|
|
67
67
|
static get watchers() {
|
|
68
68
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as d, c, h as n, H as b, g as f } from "./index.
|
|
1
|
+
import { r as d, c, h as n, H as b, g as f } from "./index.72866a29.js";
|
|
2
2
|
import { c as p, a as v, o as w, f as g } from "./floating-ui.dom.esm-bef21834.ec4a9cbf.js";
|
|
3
3
|
import { c as y } from "./index-267776a4.6beb4f4b.js";
|
|
4
4
|
import { q as a, c as l, p as h, i as M, b as x } from "./utils-9b747dd7.4c4c7dc0.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as h, c as t, h as a, H as f, g as p } from "./index.
|
|
1
|
+
import { r as h, c as t, h as a, H as f, g as p } from "./index.72866a29.js";
|
|
2
2
|
import { d as u, e as b } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
3
3
|
import { c as v } from "./index-267776a4.6beb4f4b.js";
|
|
4
4
|
import { c as g } from "./focus-trap.esm-49c9613c.db20abcc.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as i, h as e, H as s } from "./index.
|
|
1
|
+
import { r as i, h as e, H as s } from "./index.72866a29.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const o = ":host{display:block}:host *{box-sizing:border-box}.option-list-section{background-color:var(--s-surface-overlay-default)}.option-list-section__label{display:block;width:100%;padding:var(--s-space-8) var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default);color:var(--s-text-subdued);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);text-align:left}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.option-list-section__label{padding:var(--s-space-8) var(--s-space-12);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}", a = o, l = class {
|
|
@@ -6,7 +6,7 @@ const o = ":host{display:block}:host *{box-sizing:border-box}.option-list-sectio
|
|
|
6
6
|
i(this, t), this.label = void 0;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return e(s, { key: "
|
|
9
|
+
return e(s, { key: "ac1ad310804c245c56b3f4126d0b4674ba766e29" }, e("div", { key: "00318c48e23fdfd5f17177176fad7a2e9998c38e", "aria-labelledby": "label", class: "option-list-section", role: "group" }, e("span", { key: "fa6a7e0400897791d28f3adccb222ce949435f27", class: "option-list-section__label", id: "label", part: "option-list-section__label" }, this.label), e("div", { key: "2d2df0f738e5ba8305fc0344e00cd8a4234f18f5", class: "option-list-section__items" }, e("slot", { key: "218091d4b8edb96b678094841844832c5f9d4058" }))));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
l.style = a;
|
package/dist/{swirl-option-list_2.entry.9283483d.js → swirl-option-list_2.entry.32893345.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as d, c as o, h as a, H as c, g as h } from "./index.
|
|
1
|
+
import { r as d, c as o, h as a, H as c, g as h } from "./index.72866a29.js";
|
|
2
2
|
import { c as l, q as n } from "./utils-9b747dd7.4c4c7dc0.js";
|
|
3
3
|
import { S as m } from "./sortable.esm-8c3d5856.57c4f048.js";
|
|
4
4
|
import { c as b } from "./index-267776a4.6beb4f4b.js";
|
|
@@ -173,7 +173,7 @@ const f = ".sc-swirl-option-list-h{display:block}.sc-swirl-option-list-h *.sc-sw
|
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
175
|
const e = this.multiSelect ? "true" : void 0, t = Boolean(this.dragging) ? 0 : void 0;
|
|
176
|
-
return a(c, { key: "
|
|
176
|
+
return a(c, { key: "975a0073c64c9c4015f33532092754504f91ba21" }, a("swirl-visually-hidden", { key: "5eff9853abf947c07dbbd7c0d8c227cc3dd87fe7", role: "alert" }, this.assistiveText), a("div", { key: "1588d6194198922f4597cf7b8e633c12f92e207f", "aria-label": this.label, "aria-multiselectable": e, class: "option-list", id: this.optionListId, onClick: this.onClick, onKeyDown: this.onKeyDown, ref: (s) => this.listboxEl = s, role: "listbox", tabIndex: t }, a("slot", { key: "46b366091264ac65397bdc46eaaeba85771de918" })));
|
|
177
177
|
}
|
|
178
178
|
get el() {
|
|
179
179
|
return h(this);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as l, c as s, h as e, H as r } from "./index.
|
|
1
|
+
import { r as l, c as s, h as e, H as r } from "./index.72866a29.js";
|
|
2
2
|
import { c as p } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import { d as c } from "./utils-9b747dd7.4c4c7dc0.js";
|
|
4
4
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as n, c as d, h as e, H as c, g as
|
|
2
|
-
import { A as
|
|
3
|
-
import { d as
|
|
1
|
+
import { r as n, c as d, h as e, H as c, g as b } from "./index.72866a29.js";
|
|
2
|
+
import { A as f } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
|
|
3
|
+
import { d as h, e as p } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as r } from "./index-267776a4.6beb4f4b.js";
|
|
5
5
|
import { q as m, i as s } from "./utils-9b747dd7.4c4c7dc0.js";
|
|
6
6
|
import "react";
|
|
@@ -45,7 +45,7 @@ const u = `:host{--thumbnails-width:7rem;display:block}:host *{box-sizing:border
|
|
|
45
45
|
this.updateZoomSteps(), this.zoom = s() ? "auto" : 1;
|
|
46
46
|
}
|
|
47
47
|
componentDidLoad() {
|
|
48
|
-
this.modal = new
|
|
48
|
+
this.modal = new f(this.modalEl);
|
|
49
49
|
}
|
|
50
50
|
disconnectedCallback() {
|
|
51
51
|
var i;
|
|
@@ -69,7 +69,7 @@ const u = `:host{--thumbnails-width:7rem;display:block}:host *{box-sizing:border
|
|
|
69
69
|
}
|
|
70
70
|
lockBodyScroll() {
|
|
71
71
|
const i = this.pdfViewer.shadowRoot.querySelector(".file-viewer-pdf__pages");
|
|
72
|
-
Boolean(i) &&
|
|
72
|
+
Boolean(i) && h(i);
|
|
73
73
|
}
|
|
74
74
|
unlockBodyScroll() {
|
|
75
75
|
const i = this.pdfViewer.shadowRoot.querySelector(".file-viewer-pdf__pages");
|
|
@@ -87,15 +87,15 @@ const u = `:host{--thumbnails-width:7rem;display:block}:host *{box-sizing:border
|
|
|
87
87
|
"pdf-reader--hide-menu": !i,
|
|
88
88
|
"pdf-reader--show-thumbnails": this.showThumbnails
|
|
89
89
|
});
|
|
90
|
-
return e(c, { key: "
|
|
90
|
+
return e(c, { key: "7766b10817f6432373e577a77cbde38ddc254478" }, e("section", { key: "9bc6944bb2297964d63f6d280b208e5a3bbd5ae2", "aria-hidden": "true", "aria-label": this.label, class: t, id: "pdf-reader", onKeyDown: this.onKeyDown, ref: (a) => this.modalEl = a }, e("div", { key: "4cc6bccb9c478f9f552ad6130c6bab000bdc54a0", class: "pdf-reader__body", role: "document" }, e("header", { key: "dd3cb8b79b32309c3c383e137bdbde8e36124614", class: "pdf-reader__header" }, e("span", { key: "0afc77b0822917f5f46f8169c5cdec78a1ba03d4", class: "pdf-reader__header-left" }, e("swirl-button", { key: "30cde2916f4603339b45de8002d63eb87449b458", class: "pdf-reader__close-button", hideLabel: !0, icon: "<swirl-icon-close></swirl-icon-close>", label: this.closeButtonLabel, onClick: this.onCloseButtonClick }), e("span", { key: "080bbf2a9f62cd40dafbae0ac018416c5923b205", class: "pdf-reader__label" }, this.label)), e("span", { key: "a271539afa38fd2df145750b01327a790b633bda", class: "pdf-reader__header-center" }, e("span", { key: "df714f830f332aa6e3687fd34285abc6ecd81928", class: "pdf-reader__zoom-button-container" }, e("swirl-button", { key: "bf5cb4b0b59c25b2bb19c2dccbadece038943b72", 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: "4779263beebf292f4e7a8f0f18684720cd10a4d5", 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: "6d032cbc4353016477ab2ac50440b50167e15e6f", class: "pdf-reader__zoom-select-container" }, e("select", { key: "b729b6c82c8a78e010b3f166c591c00c3a880387", "aria-label": this.zoomSelectLabel, class: "pdf-reader__zoom-select", name: "zoom-select", id: "zoom-select", onChange: this.onZoomChange }, e("option", { key: "d3ea2294556cdb45f110c8dbc4b2dc8b6dde2ee8", selected: this.zoom === "auto", value: "auto" }, this.autoZoomLabel), this.zoomSteps.map((a) => e("option", { key: a, selected: this.zoom === a, value: a }, a * 100, "%"))), e("swirl-icon-expand-more", { key: "5f5e0039d232499b83a6cbba3377acf24aeb4062", class: "pdf-reader__zoom-select-icon" }))), e("span", { key: "99e41e9e7e9f17593526f97a45cbf7cf9bffe284", class: "pdf-reader__header-right" }, e("swirl-popover-trigger", { key: "f09441daa8c2fc98d8806371c270586623ba3220", swirlPopover: this.menu }, e("swirl-button", { key: "2a1ecb44eea2524fd2c150275d3e0b336a10a6c5", class: "pdf-reader__menu-button", hideLabel: !0, icon: "<swirl-icon-more-vertikal></swirl-icon-more-vertikal>", label: this.menuTriggerLabel }))), e("span", { key: "5afd4e7f0c5d59df577e4591548b71f6b6f3d183", class: "pdf-reader__floating-tools" }, e("button", { key: "4ae1e3e0100f74c02950fa9d7048bbc2a54825a0", "aria-label": this.sideBySideButtonLabel, class: "pdf-reader__floating-tool-button", onClick: this.toggleViewMode, type: "button" }, e("swirl-icon-menu-book", { key: "eca1467f112b4e76a2239ac41f7698f3aaec38ca" })), e("button", { key: "b44da8db93a28e7269de9063086907f12d296066", "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: "1b8495956a286af7c74a881f0c5de2cb4d4b3907" })))), e("div", { key: "2e365fb5cd9947bb63ec4390008d852aa75778fb", class: "pdf-reader__content" }, e("nav", { key: "4eca7289fe9005c2469f5ecc15b161c66d2a189c", "aria-label": this.thumbnailsLabel, class: "pdf-reader__thumbnails", id: "thumbnails" }, this.loadingThumbnails && e("swirl-spinner", { key: "6d22f0e71fd228b515991e0f3fc87bca712f81c1" }), !this.loadingThumbnails && this.thumbnails.map((a, o) => {
|
|
91
91
|
const l = r("pdf-reader__thumbnail", {
|
|
92
92
|
"pdf-reader__thumbnail--active": this.visiblePages[0] === o + 1
|
|
93
93
|
});
|
|
94
94
|
return e("button", { "aria-label": `${this.thumbnailButtonLabel} ${o + 1}`, class: l, onClick: this.onThumbnailClick(o), type: "button" }, e("img", { src: a.toDataURL("image/png"), alt: "" }));
|
|
95
|
-
})), e("swirl-file-viewer", { key: "
|
|
95
|
+
})), e("swirl-file-viewer", { key: "601c229dd3ca8b0d85e0eeb78dc62d5f04f084e7", active: this.active, class: "pdf-reader__viewer", file: this.file, fileName: this.fileName, onActivate: this.onActivate, onVisiblePagesChange: this.onVisiblePagesChange, pdfWorkerSrc: this.pdfWorkerSrc, ref: (a) => this.viewer = a, type: "application/pdf", viewMode: this.viewMode, zoom: this.zoom }), e("div", { key: "514bf404e340c6c89d69a322134eff143cbfcb88", class: "pdf-reader__mobile-zoom-controls" }, e("button", { key: "f9c88149459396bed6fc3138157f6dc71593e5d3", "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: "16476324e4073cbe1dcfa95ec6dcfec91d11a29d", "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: "59803e66b56dc0987ea5e3c6b9cbd0425a320dcd" })), e("button", { key: "570017dc7be3f2ef9b2e0642d52569e866c5582c", "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: "df00d8f90b9f291903e7a710d93b43f564abc984" }))))), e("swirl-popover", { key: "9ac57945a97ec9df20fc2ac6c666f92361cb9e9e", animation: "scale-in-y", disableScrollLock: !0, id: "menu", label: this.menuLabel, placement: "bottom-end", ref: (a) => this.menu = a }, e("swirl-stack", { key: "89f9002d382d166228e2794e90cfca02fdda7874" }, e("div", { key: "0f0d0e570ccecb18782610e92ad61b1836e02d1f", class: "pdf-reader__meta" }, e("div", { key: "48db4d76f2e5a384f5bb60aa99e706e3c53bbbe4", class: "pdf-reader__file-icon" }, e("svg", { key: "5da829271764b27c31b5e5dfeeb3c90aed23bb76", fill: "none", height: "36", viewBox: "0 0 24 36", width: "24" }, e("path", { key: "89b0e1ee58cec3099736c627d4261404c8506310", 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: "35a96783ba39296229bb16cd4d679f21e5b04855", 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: "443d5fa5e19bed96cc294d7f8e250ca58f232c2c", d: "M14.5146 21.6V15.192H17.2506V16.056H15.4326V18H17.0166V18.864H15.4326V21.6H14.5146Z", fill: "white" }), e("path", { key: "e6c88c9114e8450d1944965a227c1bf3516fa9ac", 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: "26c4bc3e1d453ce5cf2ef9dfd01e73bde0967e1b", 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: "a828c9baf155e45a34e3121e36ae8f46620e74e1", 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: "8821c07d872209dc50d0f897bbf7042c0e4bc897", 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: "0598d904bc468bfd6e9f2985bde256077a5b2933", d: "M14.5146 21.6V15.192H17.2506V16.056H15.4326V18H17.0166V18.864H15.4326V21.6H14.5146Z", fill: "white" }))), e("div", { key: "3eb650d299fc77a721d6747189cb469ee04561b0", class: "pdf-reader__file-info" }, e("swirl-text", { key: "39cde51f16e69b064710684db89bb83786a68852", truncate: !0, weight: "semibold" }, this.label), e("swirl-text", { key: "421f88b25eae35b3a1a3c7ba85696074d6a54488", color: "subdued", size: "sm", truncate: !0 }, this.fileTypeLabel))), i && e("swirl-separator", { key: "3080268e5ab6107b106571eb087e2908191a3f15" }), e("swirl-action-list", { key: "00052fd51917513b723ed5c63356cbd39d447ad9", class: "pdf-reader__menu" }, this.printButtonEnabled && e("swirl-action-list-item", { key: "b3db5e9e900dbae2a6d94056de73ba8af20037f9", 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: "b6c321efee10dbc1926d90b65bd52beeb2c2767f", 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: "165e2228437a9655b255567264c9d91e0c676e93", name: "menu-items" }))))));
|
|
96
96
|
}
|
|
97
97
|
get el() {
|
|
98
|
-
return
|
|
98
|
+
return b(this);
|
|
99
99
|
}
|
|
100
100
|
static get watchers() {
|
|
101
101
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as v, c as l, h as n, H as g, g as
|
|
1
|
+
import { r as v, c as l, h as n, H as g, g as f } from "./index.72866a29.js";
|
|
2
2
|
import { o as c, s as h, f as _, c as E, a as x } from "./floating-ui.dom.esm-bef21834.ec4a9cbf.js";
|
|
3
3
|
import { d as C, e as k } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as A } from "./index-267776a4.6beb4f4b.js";
|
|
@@ -39,7 +39,7 @@ const P = ":host{position:relative;z-index:var(--s-z-40);display:inline-flex}:ho
|
|
|
39
39
|
var p;
|
|
40
40
|
if (!this.active)
|
|
41
41
|
return;
|
|
42
|
-
const t = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), o = "webkit" in window, i = t || o, r = e.target, s = e.relatedTarget,
|
|
42
|
+
const t = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), o = "webkit" in window, i = t || o, r = e.target, s = e.relatedTarget, u = T(), m = ["SWIRL-TAB"], b = !this.el.contains(r) && !this.el.contains(u), w = r !== this.triggerEl && !((p = this.triggerEl) != null && p.contains(r)), y = i && !this.el.contains(s || r) && s !== this.el;
|
|
43
43
|
!m.includes(r.tagName) && b && w && (!i || y) && this.close();
|
|
44
44
|
}
|
|
45
45
|
onWindowClick(e) {
|
|
@@ -118,7 +118,7 @@ const P = ":host{position:relative;z-index:var(--s-z-40);display:inline-flex}:ho
|
|
|
118
118
|
} }, n("slot", { key: "0e822963d0e9d0c34c5374a4f50521cea0fda8a8" }))), this.active && n("div", { key: "4e0d20a700f104a17eb9b708699dd34901e3882c", class: "popover__backdrop", onClick: this.onCloseButtonClick })));
|
|
119
119
|
}
|
|
120
120
|
get el() {
|
|
121
|
-
return
|
|
121
|
+
return f(this);
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
L.style = S;
|
|
@@ -215,10 +215,10 @@ const B = ".sc-swirl-popover-trigger-h{display:contents}", H = B, O = class {
|
|
|
215
215
|
return (o = e == null ? void 0 : e.shadowRoot.firstChild) == null ? void 0 : o.classList.contains("popover--active");
|
|
216
216
|
}
|
|
217
217
|
render() {
|
|
218
|
-
return n(g, { key: "
|
|
218
|
+
return n(g, { key: "01226bd77308a173a0689fb50f8fe6078bfbe868", onClick: this.onClick, onMouseenter: this.onMouseenter, onMouseleave: this.onMouseleave }, n("slot", { key: "2cff1c1a1ee39cbceb627cf3a5a3cb7412df3cc5" }));
|
|
219
219
|
}
|
|
220
220
|
get el() {
|
|
221
|
-
return
|
|
221
|
+
return f(this);
|
|
222
222
|
}
|
|
223
223
|
static get watchers() {
|
|
224
224
|
return {
|
|
@@ -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.72866a29.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: "1075930879556ff2be60c8274611d23c94b23ebf", "aria-describedby": this.swirlAriaDescribedby, role: "radiogroup" }, i("div", { key: "90bd6e42f26577d76a6f69dd2ddb11e8a24975e1", class: "radio-group" }, i("slot", { key: "5b23757e3c6f7709d27b8769cf2d5ac9200c39a1" })));
|
|
27
27
|
}
|
|
28
28
|
get el() {
|
|
29
29
|
return n(this);
|