@getflip/swirl-components-react 0.77.1 → 0.78.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.44e62adf.js → file-manager.entry.28a16d7e.js} +4 -4
- package/dist/{index.51adadce.js → index.d4f681a9.js} +250 -249
- package/dist/stencil-generated/index.d.ts +1 -0
- package/dist/{swirl-action-list-section.entry.f454ad40.js → swirl-action-list-section.entry.5b1683c9.js} +1 -1
- package/dist/{swirl-action-list_3.entry.5f8b168b.js → swirl-action-list_3.entry.62b0ce9e.js} +1 -1
- package/dist/{swirl-app-bar.entry.ca129de3.js → swirl-app-bar.entry.784bf7f2.js} +1 -1
- package/dist/{swirl-app-icon.entry.2ca8cbfc.js → swirl-app-icon.entry.d033bc6c.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.c50049d7.js → swirl-app-layout_7.entry.712a1693.js} +5 -5
- package/dist/{swirl-autocomplete.entry.80568694.js → swirl-autocomplete.entry.86fe08e0.js} +1 -1
- package/dist/{swirl-avatar-group.entry.e11c2b3d.js → swirl-avatar-group.entry.8803820f.js} +1 -1
- package/dist/{swirl-avatar.entry.be09b101.js → swirl-avatar.entry.228ce860.js} +1 -1
- package/dist/{swirl-badge.entry.4a0137fb.js → swirl-badge.entry.a6cb9e34.js} +1 -1
- package/dist/{swirl-banner.entry.850f44ab.js → swirl-banner.entry.f2ba7d02.js} +1 -1
- package/dist/{swirl-button-group.entry.da999e13.js → swirl-button-group.entry.aed4a778.js} +1 -1
- package/dist/{swirl-button.entry.25062f89.js → swirl-button.entry.49885dcd.js} +4 -4
- package/dist/{swirl-card.entry.7b328b47.js → swirl-card.entry.1ae5edf7.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.36b7e66d.js → swirl-carousel-slide.entry.df5dc8f1.js} +1 -1
- package/dist/{swirl-carousel.entry.a73e6911.js → swirl-carousel.entry.61c61d24.js} +1 -1
- package/dist/{swirl-checkbox.entry.1eb667d4.js → swirl-checkbox.entry.65629e91.js} +1 -1
- package/dist/{swirl-chip.entry.a8c2b898.js → swirl-chip.entry.dd477f1d.js} +1 -1
- package/dist/{swirl-columns.entry.cf31fa97.js → swirl-columns.entry.533cceed.js} +1 -1
- package/dist/swirl-components-react.js +181 -180
- package/dist/swirl-components-react.umd.cjs +50 -50
- package/dist/{swirl-console-layout.entry.d1834b42.js → swirl-console-layout.entry.3a831b36.js} +1 -1
- package/dist/{swirl-date-input.entry.eaca736d.js → swirl-date-input.entry.83f9033d.js} +11 -11
- package/dist/{swirl-date-picker_2.entry.9527705a.js → swirl-date-picker_2.entry.001b5909.js} +1 -1
- package/dist/{swirl-description-list-item.entry.73997381.js → swirl-description-list-item.entry.eaa3a8ed.js} +1 -1
- package/dist/{swirl-description-list.entry.01c15128.js → swirl-description-list.entry.a7909f75.js} +1 -1
- package/dist/{swirl-dialog.entry.9567e12a.js → swirl-dialog.entry.5f4055ae.js} +1 -1
- package/dist/{swirl-file-uploader.entry.c7b6f4fe.js → swirl-file-uploader.entry.577384c5.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.b1e4282b.js → swirl-file-viewer_7.entry.9237b96a.js} +1 -1
- package/dist/{swirl-form-control.entry.0341afe3.js → swirl-form-control.entry.90389620.js} +1 -1
- package/dist/{swirl-form-group.entry.12e4aac6.js → swirl-form-group.entry.d9d069e4.js} +1 -1
- package/dist/{swirl-heading.entry.7681dda9.js → swirl-heading.entry.bbd702bc.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.ef5352d7.js → swirl-icon-add-photo.entry.11f8010d.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.6c73f039.js → swirl-icon-add_6.entry.f52f79a2.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.b0b3d019.js → swirl-icon-admin-panel-settings.entry.59c43ff4.js} +1 -1
- package/dist/{swirl-icon-ai.entry.e2ffad8c.js → swirl-icon-ai.entry.7f9aaca7.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.e3d9c439.js → swirl-icon-arrow-back.entry.79aceb0d.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.402f29de.js → swirl-icon-arrow-downward_2.entry.1bc1be07.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.2138cb29.js → swirl-icon-arrow-forward.entry.e9db1de9.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.4c84bc76.js → swirl-icon-arrow-left_4.entry.9979937e.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.398cfe13.js → swirl-icon-arrow-right-small.entry.aaf0dfdd.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.5cd6ee4c.js → swirl-icon-attachment.entry.2672cee1.js} +1 -1
- package/dist/{swirl-icon-bar-chart.entry.5e1eb121.js → swirl-icon-bar-chart.entry.cf122a12.js} +1 -1
- package/dist/{swirl-icon-block.entry.2f59c5f6.js → swirl-icon-block.entry.b8d84022.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.cd5ab102.js → swirl-icon-bookmark.entry.c4798652.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.1afdd6f5.js → swirl-icon-cancel_4.entry.53cc3c95.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.91d70139.js → swirl-icon-chat-bubble.entry.55b70cb7.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.30acd4cf.js → swirl-icon-chats-filled.entry.968888f1.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.13aedf65.js → swirl-icon-chats-outlined.entry.2d72482f.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.dba10c6c.js → swirl-icon-check-circle_3.entry.54163513.js} +1 -1
- package/dist/{swirl-icon-check-small_3.entry.5b48214c.js → swirl-icon-check-small_3.entry.7c5d0b65.js} +1 -1
- package/dist/{swirl-icon-check-strong.entry.1cd14f93.js → swirl-icon-check-strong.entry.3fd93764.js} +1 -1
- package/dist/{swirl-icon-check.entry.23d8b882.js → swirl-icon-check.entry.5a6c0cf8.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.90aaa23a.js → swirl-icon-chevron-left.entry.7fd51eba.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.4f1bc15e.js → swirl-icon-chevron-right.entry.879810a5.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.f11fdcb3.js → swirl-icon-close-small.entry.49cdeb68.js} +1 -1
- package/dist/{swirl-icon-close.entry.17e97e63.js → swirl-icon-close.entry.abf64fd3.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.153a945a.js → swirl-icon-cloud-upload.entry.5491d3e8.js} +1 -1
- package/dist/{swirl-icon-column.entry.0e91f6c7.js → swirl-icon-column.entry.d7e54799.js} +1 -1
- package/dist/{swirl-icon-comment.entry.1d89666e.js → swirl-icon-comment.entry.13ed0fc6.js} +1 -1
- package/dist/{swirl-icon-copy.entry.9639a698.js → swirl-icon-copy.entry.aef977f8.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.2abce0c3.js → swirl-icon-date-range.entry.4f0f9033.js} +1 -1
- package/dist/{swirl-icon-delete.entry.a7d6cefd.js → swirl-icon-delete.entry.6d03a3d5.js} +1 -1
- package/dist/{swirl-icon-description.entry.45a8e76d.js → swirl-icon-description.entry.803d131c.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.a46a873b.js → swirl-icon-double-arrow-left.entry.aa02365b.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.50197f37.js → swirl-icon-double-arrow-right.entry.2ed91631.js} +1 -1
- package/dist/{swirl-icon-download.entry.0d721fcf.js → swirl-icon-download.entry.d0412f18.js} +1 -1
- package/dist/{swirl-icon-edit.entry.db76901a.js → swirl-icon-edit.entry.c377d0ac.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.343c1f18.js → swirl-icon-emoji-mood.entry.ac7b3323.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.be0f1293.js → swirl-icon-emoji-satisfied.entry.e6a9354f.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.0eacef64.js → swirl-icon-error_3.entry.ea48bd7e.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.eaa4e1d6.js → swirl-icon-expand-more.entry.324f5555.js} +1 -1
- package/dist/{swirl-icon-filter.entry.eeecf76f.js → swirl-icon-filter.entry.4bf9e43f.js} +1 -1
- package/dist/{swirl-icon-folder.entry.fa2506a1.js → swirl-icon-folder.entry.f4bfc08a.js} +1 -1
- package/dist/{swirl-icon-gif.entry.c57af2a3.js → swirl-icon-gif.entry.1ed5621d.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.df8848e2.js → swirl-icon-group-assign.entry.693dd5d6.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.e06098a1.js → swirl-icon-groups-custom.entry.6781dcbe.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.d511b8bc.js → swirl-icon-groups-filled.entry.41177d3c.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.d00d877c.js → swirl-icon-groups-outlined.entry.cfdeb98e.js} +1 -1
- package/dist/{swirl-icon-groups.entry.da14c5f4.js → swirl-icon-groups.entry.c15cf66e.js} +1 -1
- package/dist/{swirl-icon-help.entry.dbb4ec8c.js → swirl-icon-help.entry.25128ac1.js} +1 -1
- package/dist/{swirl-icon-highlight.entry.19d11dd7.js → swirl-icon-highlight.entry.7fcf9a8a.js} +1 -1
- package/dist/{swirl-icon-home.entry.500d31a5.js → swirl-icon-home.entry.e3256f07.js} +1 -1
- package/dist/{swirl-icon-image.entry.483b19ee.js → swirl-icon-image.entry.2062f77f.js} +1 -1
- package/dist/{swirl-icon-improve-text.entry.81f08246.js → swirl-icon-improve-text.entry.65b64378.js} +1 -1
- package/dist/{swirl-icon-insert-below.entry.7d1681bb.js → swirl-icon-insert-below.entry.577f5666.js} +1 -1
- package/dist/{swirl-icon-insert-on-top.entry.ee95ae0e.js → swirl-icon-insert-on-top.entry.4e2a5e58.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.1607c85e.js → swirl-icon-inventory.entry.644227ed.js} +1 -1
- package/dist/{swirl-icon-like.entry.31885eae.js → swirl-icon-like.entry.0b18d5fc.js} +1 -1
- package/dist/{swirl-icon-link.entry.0476ef27.js → swirl-icon-link.entry.9546ae99.js} +1 -1
- package/dist/{swirl-icon-lock-person.entry.9f6c2159.js → swirl-icon-lock-person.entry.693d54b7.js} +1 -1
- package/dist/{swirl-icon-lock.entry.36b99d3b.js → swirl-icon-lock.entry.ff40d0d0.js} +1 -1
- package/dist/{swirl-icon-logout.entry.7b5f6e02.js → swirl-icon-logout.entry.9a842ac4.js} +1 -1
- package/dist/{swirl-icon-long-text.entry.ebbacc69.js → swirl-icon-long-text.entry.da1d4e2c.js} +1 -1
- package/dist/{swirl-icon-mail.entry.8f1f7d8b.js → swirl-icon-mail.entry.4cbc6445.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.ca0b3a64.js → swirl-icon-manage-accounts.entry.1ffde364.js} +1 -1
- package/dist/{swirl-icon-mark-chat-read.entry.743ec0e6.js → swirl-icon-mark-chat-read.entry.c24425a6.js} +1 -1
- package/dist/{swirl-icon-mark-chat-unread.entry.f2584725.js → swirl-icon-mark-chat-unread.entry.65c13523.js} +1 -1
- package/dist/{swirl-icon-mention.entry.5d837b01.js → swirl-icon-mention.entry.3156d46f.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.adb97300.js → swirl-icon-menu-filled.entry.c5c766b9.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.b1419e8a.js → swirl-icon-menu-outlined.entry.e1154b8d.js} +1 -1
- package/dist/{swirl-icon-menu.entry.08216c87.js → swirl-icon-menu.entry.d8025394.js} +1 -1
- package/dist/{swirl-icon-message.entry.edaef37c.js → swirl-icon-message.entry.51cec3c6.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.9ef3cbb7.js → swirl-icon-more-horizontal.entry.effec5b1.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.e6769e71.js → swirl-icon-news-filled.entry.b6b9941d.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.288dad3a.js → swirl-icon-news-outlined.entry.b2790651.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.51899c91.js → swirl-icon-notifications-active.entry.82ef8499.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.48590f61.js → swirl-icon-notifications-off.entry.fde2b7c7.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.3497823f.js → swirl-icon-notifications.entry.1ff8f8ac.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.12ba495b.js → swirl-icon-open-in-new.entry.a2619794.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.62af5ae7.js → swirl-icon-people-alt.entry.0c2672e4.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.5b7d29cd.js → swirl-icon-person-off.entry.f1b2c56f.js} +1 -1
- package/dist/{swirl-icon-person.entry.22dc5337.js → swirl-icon-person.entry.ba5dcd9c.js} +1 -1
- package/dist/{swirl-icon-phone.entry.6c724a6c.js → swirl-icon-phone.entry.ebc67537.js} +1 -1
- package/dist/{swirl-icon-play-arrow.entry.48dba4d9.js → swirl-icon-play-arrow.entry.0638e766.js} +1 -1
- package/dist/{swirl-icon-poll.entry.614260e2.js → swirl-icon-poll.entry.86b335aa.js} +1 -1
- package/dist/{swirl-icon-print.entry.91c13ca0.js → swirl-icon-print.entry.d5469c70.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.9e554f75.js → swirl-icon-recieved.entry.79f96548.js} +1 -1
- package/dist/{swirl-icon-reply.entry.d8a85eaa.js → swirl-icon-reply.entry.d45d7129.js} +1 -1
- package/dist/{swirl-icon-roadmap.entry.b6e10602.js → swirl-icon-roadmap.entry.f847bccf.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.40f9158e.js → swirl-icon-search-strong.entry.0c17b813.js} +1 -1
- package/dist/{swirl-icon-search.entry.6dc14572.js → swirl-icon-search.entry.89afc102.js} +1 -1
- package/dist/{swirl-icon-send.entry.96d14673.js → swirl-icon-send.entry.dc1d19bd.js} +1 -1
- package/dist/{swirl-icon-settings.entry.6aeb0369.js → swirl-icon-settings.entry.25b1e18c.js} +1 -1
- package/dist/{swirl-icon-short-text.entry.55a479c7.js → swirl-icon-short-text.entry.54227caf.js} +1 -1
- package/dist/{swirl-icon-simplify.entry.a88aa2e8.js → swirl-icon-simplify.entry.1eefcccf.js} +1 -1
- package/dist/{swirl-icon-spellcheck.entry.ab61ba3f.js → swirl-icon-spellcheck.entry.ff9040cf.js} +1 -1
- package/dist/{swirl-icon-sync.entry.bcd37cb3.js → swirl-icon-sync.entry.edba3c6e.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.6978e062.js → swirl-icon-tasks-filled.entry.a971c5bc.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.615088c4.js → swirl-icon-tasks-outlined.entry.7c4f38a9.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.7fe4a402.js → swirl-icon-time-filled.entry.074f1a92.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.c8bdd13a.js → swirl-icon-time-outlined.entry.f1c2e410.js} +1 -1
- package/dist/{swirl-icon-undo.entry.d9400759.js → swirl-icon-undo.entry.c7a24ef1.js} +1 -1
- package/dist/{swirl-icon-unlock-person.entry.919df3a3.js → swirl-icon-unlock-person.entry.eacc45d4.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.64598c7a.js → swirl-icon-user-assign.entry.1d1f97a3.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.d0d5d5c5.js → swirl-icon-video-camera.entry.47547570.js} +1 -1
- package/dist/{swirl-icon-video-library.entry.31c8ebcc.js → swirl-icon-video-library.entry.44eaefe1.js} +1 -1
- package/dist/{swirl-icon-voice.entry.8a6949ae.js → swirl-icon-voice.entry.339c1813.js} +1 -1
- package/dist/{swirl-icon.entry.cc801b8c.js → swirl-icon.entry.4b3222ce.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.7b7b54da.js → swirl-image-grid-item.entry.caaf1c02.js} +1 -1
- package/dist/{swirl-image-grid.entry.593df0e0.js → swirl-image-grid.entry.a197134d.js} +1 -1
- package/dist/{swirl-inline-notification.entry.fd64f12b.js → swirl-inline-notification.entry.a42ce0ce.js} +1 -1
- package/dist/{swirl-inline-status.entry.d6a67c96.js → swirl-inline-status.entry.f7187eab.js} +1 -1
- package/dist/{swirl-lightbox.entry.48f65973.js → swirl-lightbox.entry.0484f41e.js} +2 -2
- package/dist/{swirl-link.entry.dca0cf30.js → swirl-link.entry.91fc93cd.js} +1 -1
- package/dist/{swirl-list.entry.0b2edd13.js → swirl-list.entry.5dcf1444.js} +1 -1
- package/dist/{swirl-menu-item.entry.a2b2f615.js → swirl-menu-item.entry.eaa709be.js} +1 -1
- package/dist/{swirl-menu.entry.5e4efacb.js → swirl-menu.entry.bf9b6671.js} +1 -1
- package/dist/{swirl-modal.entry.df576651.js → swirl-modal.entry.e95c87e0.js} +1 -1
- package/dist/{swirl-option-list-section.entry.63b3432d.js → swirl-option-list-section.entry.68798771.js} +1 -1
- package/dist/{swirl-option-list.entry.bd592523.js → swirl-option-list.entry.6c101b52.js} +1 -1
- package/dist/{swirl-pagination.entry.b9e14370.js → swirl-pagination.entry.132c370b.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.8434238c.js → swirl-pdf-reader.entry.a567224e.js} +7 -7
- package/dist/swirl-popover_2.entry.56e3a82e.js +177 -0
- package/dist/{swirl-progress-indicator.entry.3ab28fc3.js → swirl-progress-indicator.entry.605c5764.js} +1 -1
- package/dist/{swirl-radio-group.entry.50683f8e.js → swirl-radio-group.entry.3aaf070b.js} +1 -1
- package/dist/{swirl-radio.entry.08007e2f.js → swirl-radio.entry.8bb391e4.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.c2ea3edc.js → swirl-resource-list-file-item.entry.b10125b9.js} +1 -1
- package/dist/{swirl-search.entry.02cdd220.js → swirl-search.entry.1373a594.js} +1 -1
- package/dist/{swirl-select.entry.86002ee4.js → swirl-select.entry.6531e660.js} +9 -9
- package/dist/{swirl-shell-layout.entry.d02bb615.js → swirl-shell-layout.entry.bc39689c.js} +1 -1
- package/dist/{swirl-shell-navigation-item.entry.f5c3894c.js → swirl-shell-navigation-item.entry.9c599fcf.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.532731af.js → swirl-skeleton-box.entry.5622d795.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.3d691b6e.js → swirl-skeleton-text.entry.55d4b5f2.js} +1 -1
- package/dist/{swirl-stack.entry.ca550e3b.js → swirl-stack.entry.1abd547e.js} +1 -1
- package/dist/{swirl-status-indicator.entry.204296ad.js → swirl-status-indicator.entry.4dcfcf48.js} +1 -1
- package/dist/{swirl-switch.entry.0dcc4142.js → swirl-switch.entry.2f97be69.js} +1 -1
- package/dist/{swirl-symbol-account-circle.entry.3ce37c28.js → swirl-symbol-account-circle.entry.570df05c.js} +1 -1
- package/dist/{swirl-symbol-alternate-email.entry.8556d1dc.js → swirl-symbol-alternate-email.entry.ae1c2c0e.js} +1 -1
- package/dist/{swirl-symbol-android.entry.80aab0f1.js → swirl-symbol-android.entry.fde794bf.js} +1 -1
- package/dist/{swirl-symbol-announcement.entry.96981499.js → swirl-symbol-announcement.entry.727e8425.js} +1 -1
- package/dist/{swirl-symbol-backup.entry.167e360d.js → swirl-symbol-backup.entry.0246ca44.js} +1 -1
- package/dist/{swirl-symbol-beach-access.entry.3ac748cb.js → swirl-symbol-beach-access.entry.66387584.js} +1 -1
- package/dist/{swirl-symbol-bookmark.entry.547e1a90.js → swirl-symbol-bookmark.entry.27310c1e.js} +1 -1
- package/dist/{swirl-symbol-cloud.entry.06e70805.js → swirl-symbol-cloud.entry.f0b47e78.js} +1 -1
- package/dist/{swirl-symbol-coronavirus.entry.59523ea1.js → swirl-symbol-coronavirus.entry.d57f6692.js} +1 -1
- package/dist/{swirl-symbol-desktop-windows.entry.e4ae8095.js → swirl-symbol-desktop-windows.entry.ccc71ad5.js} +1 -1
- package/dist/{swirl-symbol-directions-car-filled.entry.82858d08.js → swirl-symbol-directions-car-filled.entry.993fe9f4.js} +1 -1
- package/dist/{swirl-symbol-edit-calendar.entry.f33544c2.js → swirl-symbol-edit-calendar.entry.065d85a8.js} +1 -1
- package/dist/{swirl-symbol-email.entry.5969ecdf.js → swirl-symbol-email.entry.3536229a.js} +1 -1
- package/dist/{swirl-symbol-emoji-food-beverage.entry.eb9aa1ab.js → swirl-symbol-emoji-food-beverage.entry.409f7621.js} +1 -1
- package/dist/{swirl-symbol-event-menu.entry.3e227223.js → swirl-symbol-event-menu.entry.75f48fab.js} +1 -1
- package/dist/{swirl-symbol-facebook.entry.fadda2cf.js → swirl-symbol-facebook.entry.2c9cbce1.js} +1 -1
- package/dist/{swirl-symbol-favorite.entry.606972ed.js → swirl-symbol-favorite.entry.c53b1dd5.js} +1 -1
- package/dist/{swirl-symbol-fitness-center.entry.b39ac8b4.js → swirl-symbol-fitness-center.entry.e0ce3dda.js} +1 -1
- package/dist/{swirl-symbol-flag.entry.17fc5779.js → swirl-symbol-flag.entry.3c402944.js} +1 -1
- package/dist/{swirl-symbol-folder.entry.89cff6d7.js → swirl-symbol-folder.entry.b3117c21.js} +1 -1
- package/dist/{swirl-symbol-globe.entry.dff9718c.js → swirl-symbol-globe.entry.53991e09.js} +1 -1
- package/dist/{swirl-symbol-groups.entry.e6a185b7.js → swirl-symbol-groups.entry.e9d4e78e.js} +1 -1
- package/dist/{swirl-symbol-help.entry.ec9e313d.js → swirl-symbol-help.entry.96a60397.js} +1 -1
- package/dist/{swirl-symbol-image.entry.6998ff30.js → swirl-symbol-image.entry.3ad31642.js} +1 -1
- package/dist/{swirl-symbol-info-menu.entry.3ee3e7ad.js → swirl-symbol-info-menu.entry.4e12cfcd.js} +1 -1
- package/dist/{swirl-symbol-instagram.entry.c0c82bd3.js → swirl-symbol-instagram.entry.53b29e77.js} +1 -1
- package/dist/{swirl-symbol-ios.entry.6d3b39e8.js → swirl-symbol-ios.entry.9861f756.js} +1 -1
- package/dist/{swirl-symbol-language.entry.ffc39b62.js → swirl-symbol-language.entry.8db9d850.js} +1 -1
- package/dist/{swirl-symbol-leaderboard.entry.724bd276.js → swirl-symbol-leaderboard.entry.51bd3705.js} +1 -1
- package/dist/{swirl-symbol-lightbulb.entry.9e1d0775.js → swirl-symbol-lightbulb.entry.184aa43c.js} +1 -1
- package/dist/{swirl-symbol-linkedin.entry.75cba43b.js → swirl-symbol-linkedin.entry.b018ed4d.js} +1 -1
- package/dist/{swirl-symbol-location-on.entry.dcead164.js → swirl-symbol-location-on.entry.6aa82671.js} +1 -1
- package/dist/{swirl-symbol-loyalty.entry.da03fc32.js → swirl-symbol-loyalty.entry.db8b34fe.js} +1 -1
- package/dist/{swirl-symbol-maps-home-work.entry.801eb2e7.js → swirl-symbol-maps-home-work.entry.7a7e9288.js} +1 -1
- package/dist/{swirl-symbol-notifications.entry.63e10c2c.js → swirl-symbol-notifications.entry.6d897742.js} +1 -1
- package/dist/{swirl-symbol-open-in-new.entry.09790b52.js → swirl-symbol-open-in-new.entry.77e81768.js} +1 -1
- package/dist/{swirl-symbol-pedal-bike.entry.6f579205.js → swirl-symbol-pedal-bike.entry.ae91b3e4.js} +1 -1
- package/dist/{swirl-symbol-pinterest.entry.2aa8c8a3.js → swirl-symbol-pinterest.entry.427fd48b.js} +1 -1
- package/dist/{swirl-symbol-policy.entry.1e954f36.js → swirl-symbol-policy.entry.5e39e81f.js} +1 -1
- package/dist/{swirl-symbol-push-pin.entry.cb9bfc94.js → swirl-symbol-push-pin.entry.115526fe.js} +1 -1
- package/dist/{swirl-symbol-redeem.entry.3f249258.js → swirl-symbol-redeem.entry.2d2f006a.js} +1 -1
- package/dist/{swirl-symbol-report-problem.entry.168d803a.js → swirl-symbol-report-problem.entry.7bb6779b.js} +1 -1
- package/dist/{swirl-symbol-restaurant.entry.3039b2cf.js → swirl-symbol-restaurant.entry.5425edd4.js} +1 -1
- package/dist/{swirl-symbol-roadmap.entry.ef8f928c.js → swirl-symbol-roadmap.entry.7ae754b1.js} +1 -1
- package/dist/{swirl-symbol-room.entry.f4753ea8.js → swirl-symbol-room.entry.2edfaeea.js} +1 -1
- package/dist/{swirl-symbol-savings.entry.60e43c80.js → swirl-symbol-savings.entry.5c32383d.js} +1 -1
- package/dist/{swirl-symbol-settings-voice.entry.29c6f393.js → swirl-symbol-settings-voice.entry.826c79c4.js} +1 -1
- package/dist/{swirl-symbol-shopping-cart.entry.6e8b3d81.js → swirl-symbol-shopping-cart.entry.30d16f82.js} +1 -1
- package/dist/{swirl-symbol-smartphone.entry.db631fd4.js → swirl-symbol-smartphone.entry.d60c47ff.js} +1 -1
- package/dist/{swirl-symbol-star.entry.7aa7a2f1.js → swirl-symbol-star.entry.2da41147.js} +1 -1
- package/dist/{swirl-symbol-supervisor-account.entry.28b6eaf4.js → swirl-symbol-supervisor-account.entry.dca80ad6.js} +1 -1
- package/dist/{swirl-symbol-thumbs-up-down.entry.d933aec9.js → swirl-symbol-thumbs-up-down.entry.68faa920.js} +1 -1
- package/dist/{swirl-symbol-twitter.entry.0b499f53.js → swirl-symbol-twitter.entry.501aedb5.js} +1 -1
- package/dist/{swirl-symbol-wb-sunny.entry.d68f58ff.js → swirl-symbol-wb-sunny.entry.c8755be7.js} +1 -1
- package/dist/{swirl-symbol-wechat.entry.b3410ec3.js → swirl-symbol-wechat.entry.5e5e5bd0.js} +1 -1
- package/dist/{swirl-symbol-weibo.entry.d1d23609.js → swirl-symbol-weibo.entry.331ec1aa.js} +1 -1
- package/dist/{swirl-symbol-work.entry.8b1801f1.js → swirl-symbol-work.entry.2ae56927.js} +1 -1
- package/dist/{swirl-symbol-xing.entry.482defb8.js → swirl-symbol-xing.entry.4fc15c28.js} +1 -1
- package/dist/{swirl-symbol-youtube.entry.f88e0e33.js → swirl-symbol-youtube.entry.6a1a47d5.js} +1 -1
- package/dist/{swirl-symbol.entry.d6465429.js → swirl-symbol.entry.2f44740c.js} +1 -1
- package/dist/{swirl-tab-bar.entry.6e3a0372.js → swirl-tab-bar.entry.c997202d.js} +1 -1
- package/dist/{swirl-tab.entry.f5853f16.js → swirl-tab.entry.d2a8e13a.js} +1 -1
- package/dist/{swirl-table-cell.entry.761c02e7.js → swirl-table-cell.entry.d145bab2.js} +1 -1
- package/dist/{swirl-table-column.entry.a03041ce.js → swirl-table-column.entry.0566e766.js} +1 -1
- package/dist/{swirl-table-row-group.entry.87f98cc8.js → swirl-table-row-group.entry.e25ca968.js} +1 -1
- package/dist/{swirl-table-row.entry.51c531d4.js → swirl-table-row.entry.edbba5a6.js} +1 -1
- package/dist/{swirl-table.entry.0b9d24b5.js → swirl-table.entry.e2e4ae5e.js} +1 -1
- package/dist/{swirl-tabs.entry.bff22811.js → swirl-tabs.entry.4dc5b21e.js} +1 -1
- package/dist/{swirl-tag.entry.fdeef241.js → swirl-tag.entry.1b7f739b.js} +1 -1
- package/dist/{swirl-text-input.entry.bcd2c41d.js → swirl-text-input.entry.28267cd0.js} +1 -1
- package/dist/{swirl-text.entry.e611e04d.js → swirl-text.entry.ada4dad5.js} +1 -1
- package/dist/{swirl-theme-provider.entry.f15326d8.js → swirl-theme-provider.entry.b8c46a9b.js} +1 -1
- package/dist/{swirl-time-input.entry.81a3354a.js → swirl-time-input.entry.dcd366d2.js} +1 -1
- package/dist/{swirl-toast-provider.entry.36926ad7.js → swirl-toast-provider.entry.d59fb1fc.js} +1 -1
- package/dist/{swirl-toast.entry.cd9a94b5.js → swirl-toast.entry.732e1d55.js} +1 -1
- package/dist/{swirl-tooltip.entry.1f7b7890.js → swirl-tooltip.entry.d8016de3.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.c98d9c3b.js → swirl-tree-navigation-item.entry.ea510b43.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.2af8eec5.js → swirl-video-thumbnail.entry.929bffb3.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.89d24917.js → swirl-visually-hidden.entry.2d86b6ff.js} +1 -1
- package/dist/{wc-datepicker.entry.d4be20a2.js → wc-datepicker.entry.0486006c.js} +1 -1
- package/package.json +2 -2
- package/dist/swirl-popover.entry.062f979d.js +0 -117
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e, h as s, H as l } from "./index.
|
|
1
|
+
import { r as e, h as s, H as l } from "./index.d4f681a9.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const t = ":host{display:flex;overflow:auto;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-basis:0;flex-grow:1;flex-shrink:1;align-items:center;background-color:var(--s-surface-default);word-break:break-word;-webkit-hyphens:auto;hyphens:auto;transition:box-shadow 0.15s}:host(.table-cell--has-shadow-right){box-shadow:var(--swirl-table-sticky-right-shadow)}:host(.table-cell--has-shadow-left){box-shadow:var(--swirl-table-sticky-left-shadow)}:host *{box-sizing:border-box}", o = class {
|
package/dist/{swirl-table-row-group.entry.87f98cc8.js → swirl-table-row-group.entry.e25ca968.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, h as r, H as s, g as t } from "./index.
|
|
1
|
+
import { r as o, h as r, H as s, g as t } from "./index.d4f681a9.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const a = ":host{position:relative;z-index:1;display:block}:host *{box-sizing:border-box}.table-row-group__header-row{padding:var(--s-space-12) var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-surface-raised-default);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-sm)}@media (min-width: 768px){.table-row-group__label{position:sticky;left:var(--s-space-16)}}", l = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, h as e, H as s, g as r } from "./index.
|
|
1
|
+
import { r as o, h as e, H as s, g as r } from "./index.d4f681a9.js";
|
|
2
2
|
import { c as l } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { c as i } from "./utils-bc84f36e.1fee9865.js";
|
|
4
4
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e, c as b, h as s, H as r, g as n } from "./index.
|
|
1
|
+
import { r as e, c as b, h as s, H as r, g as n } from "./index.d4f681a9.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const c = ".sc-swirl-tabs-h{display:block;width:100%}.sc-swirl-tabs-h *.sc-swirl-tabs{box-sizing:border-box}.tabs.sc-swirl-tabs{width:100%}", h = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as I, h as b, H as J, g as T } from "./index.
|
|
1
|
+
import { r as I, h as b, H as J, g as T } from "./index.d4f681a9.js";
|
|
2
2
|
import { c as V } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { b as G } from "./balancetext-fa49c64f.754e913c.js";
|
|
4
4
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as h, c, h as a, H as m, g as p } from "./index.
|
|
1
|
+
import { r as h, c, h as a, H as m, g as p } from "./index.d4f681a9.js";
|
|
2
2
|
import { c as v } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { p as r, i as o, f as l, m as f } from "./maska-4866b970.5336f9cb.js";
|
|
4
4
|
import { g as w } from "./utils-bc84f36e.1fee9865.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as a, c as n, h as i, H as r } from "./index.
|
|
1
|
+
import { r as a, c as n, h as i, H as r } from "./index.d4f681a9.js";
|
|
2
2
|
import { c as d } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { g as c } from "./utils-bc84f36e.1fee9865.js";
|
|
4
4
|
import "react";
|
package/dist/{swirl-visually-hidden.entry.89d24917.js → swirl-visually-hidden.entry.2d86b6ff.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as s, h as i, H as l } from "./index.
|
|
1
|
+
import { r as s, h as i, H as l } from "./index.d4f681a9.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const t = ":host{position:absolute;display:inline;overflow:hidden;width:1px;height:1px;margin:-1px;padding:0;border:0;white-space:nowrap;word-wrap:normal;clip:rect(0, 0, 0, 0)}", o = class {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-components-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.78.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"build": "tsc && vite build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@getflip/swirl-components": "^0.
|
|
21
|
+
"@getflip/swirl-components": "^0.79.0",
|
|
22
22
|
"react": "^18.2.0",
|
|
23
23
|
"react-dom": "^18.2.0"
|
|
24
24
|
},
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { r as h, c as p, h as s, H as v, g as m } from "./index.51adadce.js";
|
|
2
|
-
import { o as l, s as c, f, c as g, a as u } from "./floating-ui.dom.esm-ac7cc24e.79b318e4.js";
|
|
3
|
-
import { d as b, e as _ } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
|
-
import { c as y } from "./index-d280dafb.186cdb0e.js";
|
|
5
|
-
import { i as a, a as x, q as d } from "./utils-bc84f36e.1fee9865.js";
|
|
6
|
-
import "react";
|
|
7
|
-
import "react-dom";
|
|
8
|
-
const w = ":host{position:relative;z-index:var(--s-z-40);display:inline-flex}:host *{box-sizing:border-box}.popover--active:not(.popover--closing) .popover__backdrop{animation:0.15s popover-fade-in}@media (prefers-reduced-motion){.popover--active:not(.popover--closing) .popover__backdrop{animation:none}}.popover--active:not(.popover--closing) .popover__content{animation:0.15s popover-slide-in}@media (min-width: 768px){.popover--active:not(.popover--closing) .popover__content{transform-origin:top left;animation:0.15s popover-fade-scale-in-xy}}@media (prefers-reduced-motion){.popover--active:not(.popover--closing) .popover__content{animation:none}}.popover--closing .popover__backdrop{animation:0.15s popover-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.popover--closing .popover__backdrop{animation:none}}.popover--closing .popover__content{animation:0.15s popover-slide-out;animation-fill-mode:forwards}@media (min-width: 768px){.popover--closing .popover__content{animation:0.15s popover-fade-out}}@media (prefers-reduced-motion){.popover--closing .popover__content{animation:none}}.popover--inactive .popover__content{display:none}@media (max-width: 767px){.popover--fullscreen-bottom-sheet.popover--active:not(.popover--closing) .popover__content{animation:0.15s popover-fade-in}@media (prefers-reduced-motion){.popover--fullscreen-bottom-sheet.popover--active:not(.popover--closing) .popover__content{animation:none}}.popover--fullscreen-bottom-sheet.popover--closing .popover__content{animation:0.15s popover-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.popover--fullscreen-bottom-sheet.popover--closing .popover__content{animation:none}}.popover--fullscreen-bottom-sheet .popover__backdrop{display:none}.popover--fullscreen-bottom-sheet .popover__content{top:0;border-top-left-radius:0;border-top-right-radius:0}.popover--fullscreen-bottom-sheet .popover__scroll-container{height:100%;max-height:none;padding-top:0;padding-bottom:0}.popover--fullscreen-bottom-sheet .popover__handle{display:none}}@media (min-width: 768px){.popover--animation-scale-in-y.popover--active:not(.popover--closing) .popover__content{animation:0.15s popover-fade-scale-in-y}}@media (prefers-reduced-motion){.popover--animation-scale-in-y.popover--active:not(.popover--closing) .popover__content{animation:none}}.popover__backdrop{position:fixed;z-index:0;background-color:rgba(0, 0, 0, 0.2);animation:0.15s popover-backdrop-fade-in;inset:0}@media (prefers-reduced-motion){.popover__backdrop{animation:none}}@media (min-width: 768px){.popover__backdrop{display:none}}.popover__content{position:fixed;z-index:2;right:0;bottom:0;left:0;overflow:hidden;border-top-left-radius:var(--s-border-radius-xl);border-top-right-radius:var(--s-border-radius-xl);background-color:var(--s-surface-overlay-default)}@media (min-width: 768px){.popover__content{right:unset;bottom:unset;left:unset;max-width:22.5rem;border-radius:var(--s-border-radius-sm);animation:none;box-shadow:var(--s-shadow-level-1)}}.popover__scroll-container{overflow-x:hidden;overflow-y:auto;width:100%;max-height:90vh;padding-top:var(--s-space-24);padding-bottom:var(--s-space-24);overscroll-behavior:contain}@media (min-width: 768px){.popover__scroll-container{max-height:22rem;padding-top:var(--s-space-8);padding-bottom:var(--s-space-8)}}.popover__handle{position:absolute;top:var(--s-space-8);left:50%;width:2.5rem;height:0.375rem;border-radius:0.1875rem;background-color:var(--s-border-default);transform:translatex(-50%)}@media (min-width: 768px){.popover__handle{display:none}}@keyframes popover-slide-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes popover-slide-out{from{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes popover-fade-in{from{opacity:0}to{opacity:1}}@keyframes popover-fade-out{from{opacity:1}to{opacity:0}}@keyframes popover-fade-scale-in-xy{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes popover-fade-scale-in-y{from{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}", C = class {
|
|
9
|
-
constructor(o) {
|
|
10
|
-
h(this, o), this.popoverClose = p(this, "popoverClose", 7), this.popoverOpen = p(this, "popoverOpen", 7), this.toggle = (e) => {
|
|
11
|
-
e.stopPropagation(), this.active ? this.close() : this.open();
|
|
12
|
-
}, this.onKeydown = (e) => {
|
|
13
|
-
e.code === "Escape" && this.active && (e.stopPropagation(), this.close());
|
|
14
|
-
}, this.reposition = async () => {
|
|
15
|
-
const e = a();
|
|
16
|
-
if (!Boolean(this.triggerEl) || !Boolean(this.contentContainer))
|
|
17
|
-
return;
|
|
18
|
-
if (e) {
|
|
19
|
-
this.position = void 0;
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
const t = typeof this.offset == "number" ? { mainAxis: this.offset, crossAxis: 0 } : { mainAxis: this.offset[0], crossAxis: this.offset[1] }, i = this.enableFlip ? [l(t), c(), f()] : [l(t), c()];
|
|
23
|
-
this.position = await g(this.triggerEl, this.contentContainer, {
|
|
24
|
-
middleware: i,
|
|
25
|
-
placement: this.placement,
|
|
26
|
-
strategy: "fixed"
|
|
27
|
-
});
|
|
28
|
-
}, this.onCloseButtonClick = () => {
|
|
29
|
-
this.close();
|
|
30
|
-
}, this.animation = "scale-in-xy", this.disableScrollLock = void 0, this.enableFlip = !0, this.fullscreenBottomSheet = void 0, this.label = void 0, this.maxHeight = "22rem", this.offset = 8, this.placement = "bottom-start", this.popoverId = void 0, this.trigger = void 0, this.triggerContainer = void 0, this.useContainerWidth = void 0, this.active = !1, this.closing = !1, this.position = void 0;
|
|
31
|
-
}
|
|
32
|
-
componentDidLoad() {
|
|
33
|
-
this.connectTrigger(), this.updateFocusableChildren(), this.updateTriggerAttributes();
|
|
34
|
-
}
|
|
35
|
-
disconnectedCallback() {
|
|
36
|
-
this.unlockBodyScroll();
|
|
37
|
-
}
|
|
38
|
-
onWindowFocusIn(o) {
|
|
39
|
-
if (!this.active)
|
|
40
|
-
return;
|
|
41
|
-
const e = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), t = o.target, i = o.relatedTarget, r = x();
|
|
42
|
-
!this.el.contains(t) && !this.el.contains(r) && t !== this.triggerEl && !this.triggerEl.contains(t) && (!e || e && !this.el.contains(i || t) && i !== this.el) && this.close();
|
|
43
|
-
}
|
|
44
|
-
onWindowClick(o) {
|
|
45
|
-
if (!this.active)
|
|
46
|
-
return;
|
|
47
|
-
const e = o.target, t = this.el.contains(e), i = o.composedPath().some((n) => Boolean(n) && n instanceof Node ? this.el.contains(n) : !1), r = o.target === this.triggerEl;
|
|
48
|
-
!t && !i && !r && this.close();
|
|
49
|
-
}
|
|
50
|
-
async close() {
|
|
51
|
-
var o;
|
|
52
|
-
this.closing || !this.active || (this.popoverClose.emit(), this.disableAutoUpdate && this.disableAutoUpdate(), this.closing = !0, setTimeout(() => {
|
|
53
|
-
this.active = !1, this.closing = !1, this.updateTriggerAttributes();
|
|
54
|
-
}, 150), this.unlockBodyScroll(), (o = this.getNativeTriggerElement()) === null || o === void 0 || o.focus());
|
|
55
|
-
}
|
|
56
|
-
async open() {
|
|
57
|
-
this.active || (this.adjustWidth(), this.active = !0, this.updateFocusableChildren(), this.updateTriggerAttributes(), requestAnimationFrame(async () => {
|
|
58
|
-
await this.reposition(), this.popoverOpen.emit({ position: this.position }), this.focusableChildren.length > 0 ? this.focusableChildren[0].focus() : this.contentContainer.focus(), this.disableAutoUpdate && this.disableAutoUpdate(), this.disableAutoUpdate = u(this.triggerEl, this.contentContainer, this.reposition), this.scrollContainer.scrollTop = 0, this.lockBodyScroll();
|
|
59
|
-
}));
|
|
60
|
-
}
|
|
61
|
-
connectTrigger() {
|
|
62
|
-
this.triggerEl = typeof this.trigger == "string" ? d(this.triggerContainer || document.body, `#${this.trigger}`)[0] : this.trigger, Boolean(this.triggerEl) && this.triggerEl.addEventListener("click", (o) => {
|
|
63
|
-
this.toggle(o);
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
getNativeTriggerElement() {
|
|
67
|
-
var o, e, t;
|
|
68
|
-
return this.triggerEl.tagName.startsWith("SWIRL-") ? ((o = this.triggerEl) === null || o === void 0 ? void 0 : o.children[0]) || ((t = (e = this.triggerEl) === null || e === void 0 ? void 0 : e.shadowRoot) === null || t === void 0 ? void 0 : t.children[0]) || this.triggerEl : this.triggerEl;
|
|
69
|
-
}
|
|
70
|
-
updateTriggerAttributes() {
|
|
71
|
-
if (!Boolean(this.triggerEl))
|
|
72
|
-
return;
|
|
73
|
-
const o = this.getNativeTriggerElement();
|
|
74
|
-
o.setAttribute("aria-controls", this.popoverId), o.setAttribute("aria-expanded", String(this.active)), o.setAttribute("aria-haspopup", "dialog");
|
|
75
|
-
}
|
|
76
|
-
updateFocusableChildren() {
|
|
77
|
-
this.focusableChildren = d(this.el, '[role="menuitem"], [role="listbox"]');
|
|
78
|
-
}
|
|
79
|
-
adjustWidth() {
|
|
80
|
-
let o = this.useContainerWidth;
|
|
81
|
-
[!0, "true"].includes(this.useContainerWidth) ? o = !0 : [!1, "false"].includes(this.useContainerWidth) && (o = !1);
|
|
82
|
-
const e = !window.matchMedia("(min-width: 768px)").matches;
|
|
83
|
-
if (Boolean(o) && !e) {
|
|
84
|
-
const t = typeof o == "string" ? this.el.closest(o) || this.el.parentElement : this.el.parentElement;
|
|
85
|
-
this.contentContainer.style.maxWidth = "none", this.contentContainer.style.width = t.getBoundingClientRect().width + "px";
|
|
86
|
-
} else
|
|
87
|
-
this.contentContainer.style.maxWidth = "", this.contentContainer.style.width = "";
|
|
88
|
-
}
|
|
89
|
-
lockBodyScroll() {
|
|
90
|
-
!a() || this.disableScrollLock || b(this.scrollContainer);
|
|
91
|
-
}
|
|
92
|
-
unlockBodyScroll() {
|
|
93
|
-
!a() || this.disableScrollLock || _(this.scrollContainer);
|
|
94
|
-
}
|
|
95
|
-
render() {
|
|
96
|
-
var o, e, t;
|
|
97
|
-
const i = !window.matchMedia("(min-width: 768px)").matches, r = y("popover", `popover--animation-${this.animation}`, `popover--placement-${(o = this.position) === null || o === void 0 ? void 0 : o.placement}`, {
|
|
98
|
-
"popover--closing": this.closing,
|
|
99
|
-
"popover--active": this.active,
|
|
100
|
-
"popover--fullscreen-bottom-sheet": this.fullscreenBottomSheet,
|
|
101
|
-
"popover--inactive": !this.active
|
|
102
|
-
});
|
|
103
|
-
return s(v, { id: this.popoverId }, s("div", { class: r, onKeyDown: this.onKeydown }, s("div", { "aria-hidden": this.active ? "false" : "true", "aria-label": this.label, class: "popover__content", part: "popover__content", role: "dialog", ref: (n) => this.contentContainer = n, style: {
|
|
104
|
-
top: Boolean(this.position) ? `${(e = this.position) === null || e === void 0 ? void 0 : e.y}px` : "",
|
|
105
|
-
left: Boolean(this.position) ? `${(t = this.position) === null || t === void 0 ? void 0 : t.x}px` : ""
|
|
106
|
-
}, tabindex: "-1" }, s("span", { class: "popover__handle" }), s("div", { class: "popover__scroll-container", ref: (n) => this.scrollContainer = n, style: {
|
|
107
|
-
maxHeight: !i && Boolean(this.maxHeight) ? this.maxHeight : void 0
|
|
108
|
-
} }, s("slot", null))), this.active && s("div", { class: "popover__backdrop", onClick: this.onCloseButtonClick })));
|
|
109
|
-
}
|
|
110
|
-
get el() {
|
|
111
|
-
return m(this);
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
|
-
C.style = w;
|
|
115
|
-
export {
|
|
116
|
-
C as swirl_popover
|
|
117
|
-
};
|