@getflip/swirl-components-react 0.80.4 → 0.82.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.e13854a3.js → file-manager.entry.455fdaad.js} +4 -4
- package/dist/{index.1508b8d7.js → index.5a52a569.js} +255 -255
- package/dist/{swirl-action-list-section.entry.f4f7e26e.js → swirl-action-list-section.entry.e62e5ba8.js} +1 -1
- package/dist/{swirl-action-list_3.entry.6747d23d.js → swirl-action-list_3.entry.0ec75029.js} +21 -21
- package/dist/{swirl-app-bar.entry.010474cf.js → swirl-app-bar.entry.f1a52ab7.js} +2 -2
- package/dist/{swirl-app-icon.entry.b347921f.js → swirl-app-icon.entry.2a145d6c.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.0b98cbd8.js → swirl-app-layout_7.entry.39357d5b.js} +8 -8
- package/dist/{swirl-autocomplete.entry.3aac060b.js → swirl-autocomplete.entry.887ba979.js} +21 -21
- package/dist/{swirl-avatar-group.entry.80907599.js → swirl-avatar-group.entry.4504fc6f.js} +1 -1
- package/dist/{swirl-avatar.entry.120d9dde.js → swirl-avatar.entry.8baed156.js} +1 -1
- package/dist/{swirl-badge.entry.7903a219.js → swirl-badge.entry.c337df4b.js} +1 -1
- package/dist/{swirl-banner.entry.f918d04b.js → swirl-banner.entry.8f8f4706.js} +8 -8
- package/dist/{swirl-button-group.entry.d0c9e462.js → swirl-button-group.entry.048cb55b.js} +1 -1
- package/dist/{swirl-button.entry.a964b123.js → swirl-button.entry.794c30fc.js} +2 -2
- package/dist/{swirl-card.entry.2d75db29.js → swirl-card.entry.b7fb5e5f.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.a4693fd7.js → swirl-carousel-slide.entry.beeb59f8.js} +1 -1
- package/dist/{swirl-carousel.entry.2d4811cd.js → swirl-carousel.entry.e6c59fd7.js} +2 -2
- package/dist/{swirl-checkbox.entry.507ebc84.js → swirl-checkbox.entry.1fd1010d.js} +1 -1
- package/dist/{swirl-chip.entry.c688230e.js → swirl-chip.entry.9d02bd73.js} +4 -4
- package/dist/{swirl-columns.entry.809791a9.js → swirl-columns.entry.c3f5d758.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +47 -47
- package/dist/{swirl-console-layout.entry.74fdd9e9.js → swirl-console-layout.entry.9ca7f81a.js} +19 -19
- package/dist/{swirl-date-input.entry.d3e92f03.js → swirl-date-input.entry.4a294a9e.js} +13 -13
- package/dist/{swirl-date-picker_2.entry.d4c33050.js → swirl-date-picker_2.entry.dc7d2df6.js} +1 -1
- package/dist/{swirl-description-list-item.entry.07ec3d3b.js → swirl-description-list-item.entry.d15f89cb.js} +1 -1
- package/dist/{swirl-description-list.entry.9bf4c675.js → swirl-description-list.entry.bf8e4ede.js} +1 -1
- package/dist/{swirl-dialog.entry.3bcb49d7.js → swirl-dialog.entry.68c3b5d3.js} +11 -11
- package/dist/{swirl-file-uploader.entry.14c85d28.js → swirl-file-uploader.entry.cf89264f.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.5dce272f.js → swirl-file-viewer_7.entry.3636e50e.js} +316 -316
- package/dist/{swirl-form-control.entry.8a7e3652.js → swirl-form-control.entry.2f840058.js} +13 -13
- package/dist/{swirl-form-group.entry.1832ead7.js → swirl-form-group.entry.e6dc2f91.js} +1 -1
- package/dist/{swirl-heading.entry.d579f78f.js → swirl-heading.entry.663a7ce5.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.cef941d2.js → swirl-icon-add-photo.entry.96b78df5.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.bb3b176d.js → swirl-icon-add_6.entry.207b25f2.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.81e539e8.js → swirl-icon-admin-panel-settings.entry.19bddcbe.js} +1 -1
- package/dist/{swirl-icon-ai.entry.b0ef2699.js → swirl-icon-ai.entry.bbfb1e1c.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.e0714eaa.js → swirl-icon-arrow-back.entry.f881887b.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.5a148c0c.js → swirl-icon-arrow-downward_2.entry.e95af6c6.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.88ed59b1.js → swirl-icon-arrow-forward.entry.876bd752.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.3557b51f.js → swirl-icon-arrow-left_4.entry.d31922e1.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.8971f297.js → swirl-icon-arrow-right-small.entry.6768caee.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.e4a0cd1e.js → swirl-icon-attachment.entry.583e53cf.js} +1 -1
- package/dist/{swirl-icon-bar-chart.entry.4f252466.js → swirl-icon-bar-chart.entry.1a78b32f.js} +1 -1
- package/dist/{swirl-icon-block.entry.940929eb.js → swirl-icon-block.entry.88b3b434.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.fa7db7b5.js → swirl-icon-bookmark.entry.243ec9d0.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.4d81b634.js → swirl-icon-cancel_4.entry.e4b1f1f1.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.8f7159fd.js → swirl-icon-chat-bubble.entry.a55f81b9.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.0c42b4cc.js → swirl-icon-chats-filled.entry.0265f4a4.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.ace3ae5b.js → swirl-icon-chats-outlined.entry.4ca00994.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.9cc0cbf4.js → swirl-icon-check-circle_3.entry.267aed0c.js} +1 -1
- package/dist/{swirl-icon-check-small_3.entry.75bb3491.js → swirl-icon-check-small_3.entry.9c6490ff.js} +28 -28
- package/dist/{swirl-icon-check-strong.entry.6870887c.js → swirl-icon-check-strong.entry.81b96cf7.js} +1 -1
- package/dist/{swirl-icon-check.entry.72e45a62.js → swirl-icon-check.entry.cb0c1bbe.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.2fc291bd.js → swirl-icon-chevron-left.entry.ec6a5d16.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.fcedb9df.js → swirl-icon-chevron-right.entry.b480fb79.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.26d52413.js → swirl-icon-close-small.entry.ba170a88.js} +1 -1
- package/dist/{swirl-icon-close.entry.589da06f.js → swirl-icon-close.entry.57d97244.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.2a7804ff.js → swirl-icon-cloud-upload.entry.58a6264e.js} +1 -1
- package/dist/{swirl-icon-column.entry.3228413d.js → swirl-icon-column.entry.e5a9fb73.js} +1 -1
- package/dist/{swirl-icon-comment.entry.bde503ca.js → swirl-icon-comment.entry.5b1c349e.js} +1 -1
- package/dist/{swirl-icon-copy.entry.b263b7e3.js → swirl-icon-copy.entry.198ec0b1.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.0bffb41f.js → swirl-icon-date-range.entry.7026ebdf.js} +1 -1
- package/dist/{swirl-icon-delete.entry.2aff94f5.js → swirl-icon-delete.entry.bf719e7d.js} +1 -1
- package/dist/{swirl-icon-description.entry.5fbc0a56.js → swirl-icon-description.entry.397593eb.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.1adbb5b3.js → swirl-icon-double-arrow-left.entry.3ed2cf45.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.ac8e9103.js → swirl-icon-double-arrow-right.entry.d371ba13.js} +1 -1
- package/dist/{swirl-icon-download.entry.d971721f.js → swirl-icon-download.entry.c6d5fbc9.js} +1 -1
- package/dist/{swirl-icon-edit.entry.f609e582.js → swirl-icon-edit.entry.19856fd4.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.710eb059.js → swirl-icon-emoji-mood.entry.89b6343a.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.b3177945.js → swirl-icon-emoji-satisfied.entry.9d35f0b9.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.895f3da9.js → swirl-icon-error_3.entry.2a4c2d90.js} +2 -2
- package/dist/{swirl-icon-expand-more.entry.e0ad5e0b.js → swirl-icon-expand-more.entry.a14e018c.js} +1 -1
- package/dist/{swirl-icon-filter.entry.6c7b0e02.js → swirl-icon-filter.entry.5a3b3039.js} +1 -1
- package/dist/{swirl-icon-folder.entry.5008ba5e.js → swirl-icon-folder.entry.c723933f.js} +1 -1
- package/dist/{swirl-icon-format-h-one.entry.d141186b.js → swirl-icon-format-h-one.entry.6fa84333.js} +1 -1
- package/dist/{swirl-icon-gif.entry.7cc5b262.js → swirl-icon-gif.entry.c0915199.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.bec7cc85.js → swirl-icon-group-assign.entry.dce59a09.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.a4da3c41.js → swirl-icon-groups-custom.entry.4a0daec7.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.3bb26058.js → swirl-icon-groups-filled.entry.d9479ba1.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.c4b51028.js → swirl-icon-groups-outlined.entry.4bbd6d00.js} +1 -1
- package/dist/{swirl-icon-groups.entry.d7fd8f43.js → swirl-icon-groups.entry.e944456b.js} +1 -1
- package/dist/{swirl-icon-help.entry.16f3afa8.js → swirl-icon-help.entry.f506c72d.js} +1 -1
- package/dist/{swirl-icon-highlight.entry.0134669e.js → swirl-icon-highlight.entry.c40b8e89.js} +1 -1
- package/dist/{swirl-icon-home.entry.1f8e8624.js → swirl-icon-home.entry.70796c7f.js} +1 -1
- package/dist/{swirl-icon-image.entry.1a9b0ed1.js → swirl-icon-image.entry.5e504bda.js} +1 -1
- package/dist/{swirl-icon-improve-text.entry.200ac265.js → swirl-icon-improve-text.entry.a33197b4.js} +1 -1
- package/dist/{swirl-icon-insert-below.entry.8dbddd6d.js → swirl-icon-insert-below.entry.8a9a16ce.js} +1 -1
- package/dist/{swirl-icon-insert-on-top.entry.fcbdb1a0.js → swirl-icon-insert-on-top.entry.a6f1d3fb.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.729ddd1a.js → swirl-icon-inventory.entry.4eb08291.js} +1 -1
- package/dist/{swirl-icon-like.entry.5596fd94.js → swirl-icon-like.entry.e97fd728.js} +1 -1
- package/dist/{swirl-icon-link.entry.51bf4ba1.js → swirl-icon-link.entry.c3cbaa2d.js} +1 -1
- package/dist/{swirl-icon-lock-person.entry.adde08f3.js → swirl-icon-lock-person.entry.997c04e1.js} +1 -1
- package/dist/{swirl-icon-lock.entry.4b466373.js → swirl-icon-lock.entry.d36e454e.js} +1 -1
- package/dist/{swirl-icon-logout.entry.fbcdcc6b.js → swirl-icon-logout.entry.56685e4b.js} +1 -1
- package/dist/{swirl-icon-long-text.entry.50ad0532.js → swirl-icon-long-text.entry.0ee003b7.js} +1 -1
- package/dist/{swirl-icon-mail.entry.bb01cff5.js → swirl-icon-mail.entry.5fa0db61.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.fa200327.js → swirl-icon-manage-accounts.entry.2d754757.js} +1 -1
- package/dist/{swirl-icon-mark-chat-read.entry.2d74c79f.js → swirl-icon-mark-chat-read.entry.f78b6991.js} +1 -1
- package/dist/{swirl-icon-mark-chat-unread.entry.1bc18d02.js → swirl-icon-mark-chat-unread.entry.27b4499d.js} +1 -1
- package/dist/{swirl-icon-mention.entry.7a856df8.js → swirl-icon-mention.entry.c158dac2.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.8582341e.js → swirl-icon-menu-filled.entry.4b748a3b.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.c5647cad.js → swirl-icon-menu-outlined.entry.1361ec66.js} +1 -1
- package/dist/{swirl-icon-menu.entry.c1577249.js → swirl-icon-menu.entry.d0c47b1b.js} +1 -1
- package/dist/{swirl-icon-message.entry.caf2b477.js → swirl-icon-message.entry.08db03b5.js} +1 -1
- package/dist/{swirl-icon-mic.entry.e93e0eb3.js → swirl-icon-mic.entry.4cc14afc.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.2252e883.js → swirl-icon-more-horizontal.entry.ce2f90a6.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.caf98d1d.js → swirl-icon-news-filled.entry.63afef9f.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.8a2eea73.js → swirl-icon-news-outlined.entry.748c774e.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.023eaf5e.js → swirl-icon-notifications-active.entry.3de08d7c.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.01f4dd9c.js → swirl-icon-notifications-off.entry.ee36d86b.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.190b16a8.js → swirl-icon-notifications.entry.b8c9e619.js} +1 -1
- package/dist/{swirl-icon-open-in-full.entry.a7d8a492.js → swirl-icon-open-in-full.entry.ea89df36.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.7daf74b6.js → swirl-icon-open-in-new.entry.5b853180.js} +1 -1
- package/dist/{swirl-icon-pause-circle.entry.60b963e2.js → swirl-icon-pause-circle.entry.7602c0fe.js} +1 -1
- package/dist/{swirl-icon-pause.entry.ff2b6ce9.js → swirl-icon-pause.entry.96865c82.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.be0298e2.js → swirl-icon-people-alt.entry.16d13439.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.30db4ec0.js → swirl-icon-person-off.entry.03d93508.js} +1 -1
- package/dist/{swirl-icon-person.entry.eb65334d.js → swirl-icon-person.entry.1792f3ad.js} +1 -1
- package/dist/{swirl-icon-phone.entry.f283d760.js → swirl-icon-phone.entry.61c24d4f.js} +1 -1
- package/dist/{swirl-icon-play-arrow.entry.77faf992.js → swirl-icon-play-arrow.entry.73710896.js} +1 -1
- package/dist/{swirl-icon-poll.entry.f13f46c6.js → swirl-icon-poll.entry.c5a417c3.js} +1 -1
- package/dist/{swirl-icon-print.entry.98bf327f.js → swirl-icon-print.entry.e25a8806.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.7a081ca4.js → swirl-icon-recieved.entry.bcfcbce4.js} +1 -1
- package/dist/{swirl-icon-reply.entry.b622c3a4.js → swirl-icon-reply.entry.4ab243fb.js} +1 -1
- package/dist/{swirl-icon-report.entry.24d1b7cf.js → swirl-icon-report.entry.6397a525.js} +1 -1
- package/dist/{swirl-icon-roadmap.entry.a1154733.js → swirl-icon-roadmap.entry.4cf34d9c.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.a6f7890d.js → swirl-icon-search-strong.entry.c2eab4ce.js} +1 -1
- package/dist/{swirl-icon-search.entry.b943e372.js → swirl-icon-search.entry.208563a5.js} +1 -1
- package/dist/{swirl-icon-send.entry.2a1a5d64.js → swirl-icon-send.entry.5c8006c8.js} +1 -1
- package/dist/{swirl-icon-settings.entry.8434892f.js → swirl-icon-settings.entry.9543cb5c.js} +1 -1
- package/dist/{swirl-icon-short-text.entry.8878a25f.js → swirl-icon-short-text.entry.ca80a1f7.js} +1 -1
- package/dist/{swirl-icon-simplify.entry.a6fe129e.js → swirl-icon-simplify.entry.f4021796.js} +1 -1
- package/dist/{swirl-icon-spellcheck.entry.c86c7565.js → swirl-icon-spellcheck.entry.ee233a85.js} +1 -1
- package/dist/{swirl-icon-stop.entry.6b3897cc.js → swirl-icon-stop.entry.6a5517b8.js} +1 -1
- package/dist/{swirl-icon-sync.entry.6750f418.js → swirl-icon-sync.entry.dac0fe32.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.82fe3612.js → swirl-icon-tasks-filled.entry.ad66cc3f.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.b9099501.js → swirl-icon-tasks-outlined.entry.ad03f095.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.f02bf703.js → swirl-icon-time-filled.entry.2cd230a0.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.15b3c9e9.js → swirl-icon-time-outlined.entry.fa61a970.js} +1 -1
- package/dist/{swirl-icon-translate.entry.2f007d45.js → swirl-icon-translate.entry.d2b06cac.js} +1 -1
- package/dist/{swirl-icon-undo.entry.6a2cc783.js → swirl-icon-undo.entry.8db987be.js} +1 -1
- package/dist/{swirl-icon-unlock-person.entry.8f3d23a9.js → swirl-icon-unlock-person.entry.ba8893d9.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.73a38668.js → swirl-icon-user-assign.entry.0ca87b81.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.779ca046.js → swirl-icon-video-camera.entry.6c3b3048.js} +1 -1
- package/dist/{swirl-icon-video-library.entry.be740800.js → swirl-icon-video-library.entry.52fe1098.js} +1 -1
- package/dist/{swirl-icon-voice.entry.a4e09f01.js → swirl-icon-voice.entry.00dd7a4c.js} +1 -1
- package/dist/{swirl-icon.entry.cf7bb4ac.js → swirl-icon.entry.b557ae6b.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.3a8403d1.js → swirl-image-grid-item.entry.32690a67.js} +1 -1
- package/dist/{swirl-image-grid.entry.cfcb7625.js → swirl-image-grid.entry.a0819297.js} +1 -1
- package/dist/{swirl-inline-notification.entry.5ee47f6c.js → swirl-inline-notification.entry.b120f677.js} +1 -1
- package/dist/{swirl-inline-status.entry.b3a7210a.js → swirl-inline-status.entry.1b17fa33.js} +2 -2
- package/dist/{swirl-lightbox.entry.f54fdfa9.js → swirl-lightbox.entry.9720ca38.js} +31 -31
- package/dist/{swirl-link.entry.0b28f686.js → swirl-link.entry.4d8929c8.js} +1 -1
- package/dist/{swirl-list.entry.89b874ba.js → swirl-list.entry.cc60e5b5.js} +1 -1
- package/dist/{swirl-menu-item.entry.0008121e.js → swirl-menu-item.entry.168fa030.js} +11 -11
- package/dist/{swirl-menu.entry.7eac0c60.js → swirl-menu.entry.21c3f6a1.js} +51 -51
- package/dist/{swirl-modal.entry.21ee30b7.js → swirl-modal.entry.5cd75475.js} +215 -215
- package/dist/{swirl-option-list-section.entry.cc0188e8.js → swirl-option-list-section.entry.2e3eaac2.js} +1 -1
- package/dist/{swirl-option-list.entry.4d3549dd.js → swirl-option-list.entry.57fd2679.js} +22 -22
- package/dist/{swirl-pagination.entry.46c06694.js → swirl-pagination.entry.81d73c00.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.b9aaa0c0.js → swirl-pdf-reader.entry.c286dda0.js} +9 -9
- package/dist/{swirl-popover_2.entry.961a2ea5.js → swirl-popover_2.entry.a7e19157.js} +40 -40
- package/dist/{swirl-progress-indicator.entry.ed30dcb6.js → swirl-progress-indicator.entry.4c1b770c.js} +1 -1
- package/dist/{swirl-radio-group.entry.0e1b231d.js → swirl-radio-group.entry.ea459228.js} +1 -1
- package/dist/{swirl-radio.entry.5f18c284.js → swirl-radio.entry.5281f38a.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.0665ce3b.js → swirl-resource-list-file-item.entry.45920ceb.js} +14 -14
- package/dist/{swirl-search.entry.2446a7be.js → swirl-search.entry.1fae03ec.js} +7 -7
- package/dist/{swirl-select.entry.af7acd98.js → swirl-select.entry.6f89415f.js} +20 -20
- package/dist/{swirl-shell-layout.entry.b14e94da.js → swirl-shell-layout.entry.ab7b95e5.js} +2 -2
- package/dist/{swirl-shell-navigation-item.entry.2a522177.js → swirl-shell-navigation-item.entry.0685ec97.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.adafa32d.js → swirl-skeleton-box.entry.ac9d19d8.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.c51646d7.js → swirl-skeleton-text.entry.544f956d.js} +1 -1
- package/dist/{swirl-stack.entry.cc3fdf97.js → swirl-stack.entry.3c3d5b1a.js} +1 -1
- package/dist/{swirl-status-indicator.entry.5d6a9d7a.js → swirl-status-indicator.entry.9520b814.js} +1 -1
- package/dist/{swirl-switch.entry.6b02c4ce.js → swirl-switch.entry.346716af.js} +1 -1
- package/dist/{swirl-symbol-account-circle.entry.1d5df485.js → swirl-symbol-account-circle.entry.25740518.js} +1 -1
- package/dist/{swirl-symbol-alternate-email.entry.c969baf4.js → swirl-symbol-alternate-email.entry.585b095c.js} +1 -1
- package/dist/{swirl-symbol-android.entry.d2cb1040.js → swirl-symbol-android.entry.0db77056.js} +1 -1
- package/dist/{swirl-symbol-announcement.entry.bb85285f.js → swirl-symbol-announcement.entry.c3a2752c.js} +1 -1
- package/dist/{swirl-symbol-backup.entry.71e0600b.js → swirl-symbol-backup.entry.e96f2bad.js} +1 -1
- package/dist/{swirl-symbol-beach-access.entry.d480fd57.js → swirl-symbol-beach-access.entry.73c3fa66.js} +1 -1
- package/dist/{swirl-symbol-bookmark.entry.8d3c2d22.js → swirl-symbol-bookmark.entry.e9cc85a9.js} +1 -1
- package/dist/{swirl-symbol-cloud.entry.6ad16964.js → swirl-symbol-cloud.entry.d2c55d37.js} +1 -1
- package/dist/{swirl-symbol-coronavirus.entry.8769a931.js → swirl-symbol-coronavirus.entry.4ab128cc.js} +1 -1
- package/dist/{swirl-symbol-desktop-windows.entry.3af42abb.js → swirl-symbol-desktop-windows.entry.f8552a0d.js} +1 -1
- package/dist/{swirl-symbol-directions-car-filled.entry.aba34690.js → swirl-symbol-directions-car-filled.entry.6f1d726e.js} +1 -1
- package/dist/{swirl-symbol-edit-calendar.entry.b2607b3f.js → swirl-symbol-edit-calendar.entry.021e7f61.js} +1 -1
- package/dist/{swirl-symbol-email.entry.6cfd5435.js → swirl-symbol-email.entry.c22684ed.js} +1 -1
- package/dist/{swirl-symbol-emoji-food-beverage.entry.269465ec.js → swirl-symbol-emoji-food-beverage.entry.42f33562.js} +1 -1
- package/dist/{swirl-symbol-event-menu.entry.f0c24533.js → swirl-symbol-event-menu.entry.7182de95.js} +1 -1
- package/dist/{swirl-symbol-facebook.entry.c1c66f00.js → swirl-symbol-facebook.entry.9c53b8f5.js} +1 -1
- package/dist/{swirl-symbol-favorite.entry.372433d3.js → swirl-symbol-favorite.entry.9dd1c318.js} +1 -1
- package/dist/{swirl-symbol-fitness-center.entry.b7061512.js → swirl-symbol-fitness-center.entry.018f1b77.js} +1 -1
- package/dist/{swirl-symbol-flag.entry.2c65f526.js → swirl-symbol-flag.entry.dde08376.js} +1 -1
- package/dist/{swirl-symbol-folder.entry.e2019d51.js → swirl-symbol-folder.entry.6deb1cde.js} +1 -1
- package/dist/{swirl-symbol-globe.entry.43c90448.js → swirl-symbol-globe.entry.90c0f773.js} +1 -1
- package/dist/{swirl-symbol-groups.entry.926df40c.js → swirl-symbol-groups.entry.822c3286.js} +1 -1
- package/dist/{swirl-symbol-help.entry.43c509af.js → swirl-symbol-help.entry.4dfc0305.js} +1 -1
- package/dist/{swirl-symbol-image.entry.6baf166c.js → swirl-symbol-image.entry.96f2ee9f.js} +1 -1
- package/dist/{swirl-symbol-info-menu.entry.4744a394.js → swirl-symbol-info-menu.entry.b1ca08b7.js} +1 -1
- package/dist/{swirl-symbol-instagram.entry.cc270249.js → swirl-symbol-instagram.entry.4710dc4c.js} +1 -1
- package/dist/{swirl-symbol-ios.entry.e40f228e.js → swirl-symbol-ios.entry.185eaf65.js} +1 -1
- package/dist/{swirl-symbol-language.entry.17985df9.js → swirl-symbol-language.entry.8ac8f72f.js} +1 -1
- package/dist/{swirl-symbol-leaderboard.entry.25da7af2.js → swirl-symbol-leaderboard.entry.694454c8.js} +1 -1
- package/dist/{swirl-symbol-lightbulb.entry.53f26111.js → swirl-symbol-lightbulb.entry.488b1fa4.js} +1 -1
- package/dist/{swirl-symbol-linkedin.entry.f4cb8d76.js → swirl-symbol-linkedin.entry.996f2f48.js} +1 -1
- package/dist/{swirl-symbol-location-on.entry.3c46becb.js → swirl-symbol-location-on.entry.a13e84e5.js} +1 -1
- package/dist/{swirl-symbol-loyalty.entry.7ca6fa2f.js → swirl-symbol-loyalty.entry.adf4fdd2.js} +1 -1
- package/dist/{swirl-symbol-maps-home-work.entry.1acfe135.js → swirl-symbol-maps-home-work.entry.3a707876.js} +1 -1
- package/dist/{swirl-symbol-notifications.entry.177ae856.js → swirl-symbol-notifications.entry.8f094445.js} +1 -1
- package/dist/{swirl-symbol-open-in-new.entry.6c95f6b4.js → swirl-symbol-open-in-new.entry.f0e8049a.js} +1 -1
- package/dist/{swirl-symbol-pedal-bike.entry.980664a3.js → swirl-symbol-pedal-bike.entry.16100ac2.js} +1 -1
- package/dist/{swirl-symbol-pinterest.entry.a630d0c9.js → swirl-symbol-pinterest.entry.8b7484ee.js} +1 -1
- package/dist/{swirl-symbol-policy.entry.4aa90c28.js → swirl-symbol-policy.entry.bb10653f.js} +1 -1
- package/dist/{swirl-symbol-push-pin.entry.f9c02c78.js → swirl-symbol-push-pin.entry.0bf0b080.js} +1 -1
- package/dist/{swirl-symbol-redeem.entry.6e14136c.js → swirl-symbol-redeem.entry.58457ac1.js} +1 -1
- package/dist/{swirl-symbol-report-problem.entry.5933132a.js → swirl-symbol-report-problem.entry.23dbc740.js} +1 -1
- package/dist/{swirl-symbol-restaurant.entry.3b53aacb.js → swirl-symbol-restaurant.entry.bda6372b.js} +1 -1
- package/dist/{swirl-symbol-roadmap.entry.1bc5459f.js → swirl-symbol-roadmap.entry.c7c29f1f.js} +1 -1
- package/dist/{swirl-symbol-room.entry.0bd32c08.js → swirl-symbol-room.entry.903bb67e.js} +1 -1
- package/dist/{swirl-symbol-savings.entry.26b501f8.js → swirl-symbol-savings.entry.427ea07e.js} +1 -1
- package/dist/{swirl-symbol-settings-voice.entry.79c26abd.js → swirl-symbol-settings-voice.entry.c6baac48.js} +1 -1
- package/dist/{swirl-symbol-shopping-cart.entry.5d0ab7c2.js → swirl-symbol-shopping-cart.entry.660e79ea.js} +1 -1
- package/dist/{swirl-symbol-smartphone.entry.0eaf37a3.js → swirl-symbol-smartphone.entry.ae8902a1.js} +1 -1
- package/dist/{swirl-symbol-star.entry.969e466c.js → swirl-symbol-star.entry.056244e3.js} +1 -1
- package/dist/{swirl-symbol-supervisor-account.entry.9feea03d.js → swirl-symbol-supervisor-account.entry.40b1bab4.js} +1 -1
- package/dist/{swirl-symbol-thumbs-up-down.entry.c070d20e.js → swirl-symbol-thumbs-up-down.entry.9be7a4a5.js} +1 -1
- package/dist/{swirl-symbol-twitter.entry.dfe04fa9.js → swirl-symbol-twitter.entry.f07f2d5e.js} +1 -1
- package/dist/{swirl-symbol-wb-sunny.entry.efd856ef.js → swirl-symbol-wb-sunny.entry.c542b204.js} +1 -1
- package/dist/{swirl-symbol-wechat.entry.7c3ac224.js → swirl-symbol-wechat.entry.e3e5e7d9.js} +1 -1
- package/dist/{swirl-symbol-weibo.entry.55b8c660.js → swirl-symbol-weibo.entry.bc3e44ce.js} +1 -1
- package/dist/{swirl-symbol-work.entry.047e420a.js → swirl-symbol-work.entry.a7dbde21.js} +1 -1
- package/dist/{swirl-symbol-xing.entry.d2e1d8a4.js → swirl-symbol-xing.entry.12c82e48.js} +1 -1
- package/dist/{swirl-symbol-youtube.entry.7c566f67.js → swirl-symbol-youtube.entry.f18cdeb1.js} +1 -1
- package/dist/{swirl-symbol.entry.f77d175f.js → swirl-symbol.entry.04b958d4.js} +1 -1
- package/dist/{swirl-tab-bar.entry.613aa1f9.js → swirl-tab-bar.entry.ca48f30f.js} +1 -1
- package/dist/{swirl-tab.entry.af48b642.js → swirl-tab.entry.18e9afde.js} +1 -1
- package/dist/{swirl-table-cell.entry.54455c7d.js → swirl-table-cell.entry.a0f1fe25.js} +1 -1
- package/dist/{swirl-table-column.entry.126fae83.js → swirl-table-column.entry.338d9f6d.js} +1 -1
- package/dist/{swirl-table-row-group.entry.b1a443a1.js → swirl-table-row-group.entry.a3bf3ffc.js} +1 -1
- package/dist/{swirl-table-row.entry.a1a52736.js → swirl-table-row.entry.accc85cd.js} +3 -3
- package/dist/{swirl-table.entry.d187504d.js → swirl-table.entry.cfcf0e80.js} +16 -16
- package/dist/{swirl-tabs.entry.137ccd38.js → swirl-tabs.entry.a182ec5e.js} +7 -7
- package/dist/{swirl-tag.entry.0af7a86c.js → swirl-tag.entry.61383c44.js} +2 -2
- package/dist/{swirl-text-input.entry.fac3abf5.js → swirl-text-input.entry.5163cd13.js} +18 -18
- package/dist/{swirl-text.entry.d6ecdb8b.js → swirl-text.entry.540c5738.js} +1 -1
- package/dist/{swirl-theme-provider.entry.a1b01352.js → swirl-theme-provider.entry.6bebe112.js} +78 -66
- package/dist/{swirl-time-input.entry.5ae15bb9.js → swirl-time-input.entry.fda1e8cb.js} +35 -35
- package/dist/{swirl-toast-provider.entry.2384e474.js → swirl-toast-provider.entry.1beddcd0.js} +14 -9
- package/dist/{swirl-toast.entry.ae7fa515.js → swirl-toast.entry.cece31ca.js} +9 -9
- package/dist/{swirl-tooltip.entry.c6ec88dc.js → swirl-tooltip.entry.ad9007b5.js} +14 -14
- package/dist/{swirl-tree-navigation-item.entry.9521165f.js → swirl-tree-navigation-item.entry.e412b4ce.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.7c8ea11b.js → swirl-video-thumbnail.entry.966db4d7.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.78ae7a3a.js → swirl-visually-hidden.entry.186ba9e2.js} +1 -1
- package/dist/{wc-datepicker.entry.54e595d6.js → wc-datepicker.entry.846a8fe9.js} +1 -1
- package/package.json +2 -2
|
@@ -1,36 +1,36 @@
|
|
|
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.5a52a569.js";
|
|
2
2
|
import { c as f } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
-
import { p as
|
|
3
|
+
import { p as r, i as o, f as l, m as v } from "./maska-4866b970.5336f9cb.js";
|
|
4
4
|
import { g as w } from "./utils-bc84f36e.1fee9865.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
const g = ".sc-swirl-time-input-h{display:flex;width:100%}.sc-swirl-time-input-h *.sc-swirl-time-input{box-sizing:border-box}.time-input.sc-swirl-time-input{position:relative;display:flex;width:100%;align-items:center;color:var(--s-text-default);line-height:var(--s-line-height-sm)}.time-input--inline.sc-swirl-time-input .time-input__icon.sc-swirl-time-input{top:-0.0625rem}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input--inline.sc-swirl-time-input .time-input__icon.sc-swirl-time-input{top:0}}.time-input__input.sc-swirl-time-input{display:inline-flex;width:calc(100% - 1.25rem - var(--s-space-8));margin:0;padding:0;border:none;color:var(--s-text-default);background-color:transparent;font:inherit;font-size:var(--s-font-size-base);line-height:var(--s-line-height-base);caret-color:var(--s-border-highlight)}.time-input__input.sc-swirl-time-input:focus{outline:none}.time-input__input.sc-swirl-time-input:disabled{color:var(--s-text-disabled);background-color:transparent}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input__input.sc-swirl-time-input{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.time-input__icon.sc-swirl-time-input{position:absolute;top:calc(-1 * var(--s-space-12));right:0;display:inline-flex;margin:0;padding:0;border:none;color:var(--s-icon-default);background-color:transparent}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input__icon.sc-swirl-time-input{top:-0.625rem}}", d = "HH:mm:ss",
|
|
8
|
-
constructor(
|
|
9
|
-
h(this,
|
|
10
|
-
this.updateIconSize(
|
|
11
|
-
}, this.onChange = (
|
|
12
|
-
const t =
|
|
7
|
+
const g = ".sc-swirl-time-input-h{display:flex;width:100%}.sc-swirl-time-input-h *.sc-swirl-time-input{box-sizing:border-box}.time-input.sc-swirl-time-input{position:relative;display:flex;width:100%;align-items:center;color:var(--s-text-default);line-height:var(--s-line-height-sm)}.time-input--inline.sc-swirl-time-input .time-input__icon.sc-swirl-time-input{top:-0.0625rem}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input--inline.sc-swirl-time-input .time-input__icon.sc-swirl-time-input{top:0}}.time-input__input.sc-swirl-time-input{display:inline-flex;width:calc(100% - 1.25rem - var(--s-space-8));margin:0;padding:0;border:none;color:var(--s-text-default);background-color:transparent;font:inherit;font-size:var(--s-font-size-base);line-height:var(--s-line-height-base);caret-color:var(--s-border-highlight)}.time-input__input.sc-swirl-time-input:focus{outline:none}.time-input__input.sc-swirl-time-input:disabled{color:var(--s-text-disabled);background-color:transparent}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input__input.sc-swirl-time-input{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.time-input__icon.sc-swirl-time-input{position:absolute;top:calc(-1 * var(--s-space-12));right:0;display:inline-flex;margin:0;padding:0;border:none;color:var(--s-icon-default);background-color:transparent}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input__icon.sc-swirl-time-input{top:-0.625rem}}", d = "HH:mm:ss", x = class {
|
|
8
|
+
constructor(e) {
|
|
9
|
+
h(this, e), this.valueChange = c(this, "valueChange", 7), this.desktopMediaQuery = w(), this.desktopMediaQueryHandler = (i) => {
|
|
10
|
+
this.updateIconSize(i.matches);
|
|
11
|
+
}, this.onChange = (i) => {
|
|
12
|
+
const t = i.target.value;
|
|
13
13
|
let s;
|
|
14
14
|
t === "" && (this.value = void 0, this.valueChange.emit(void 0));
|
|
15
|
-
const n =
|
|
16
|
-
!Boolean(t.match(u)) || (
|
|
17
|
-
}, this.onBlur = (
|
|
18
|
-
const t =
|
|
19
|
-
if (!
|
|
20
|
-
const n = Boolean(this.value) ?
|
|
21
|
-
(!Boolean(n) || !
|
|
15
|
+
const n = r(t, this.format, new Date()), u = new RegExp(`^${this.format.replace(/[Hhms]/g, "\\d")}$`);
|
|
16
|
+
!Boolean(t.match(u)) || (o(n) ? s = l(n, d) : s = l(new Date(), d), this.value = s, this.valueChange.emit(s));
|
|
17
|
+
}, this.onBlur = (i) => {
|
|
18
|
+
const t = i.target, s = r(t.value, this.format, new Date());
|
|
19
|
+
if (!o(s) && Boolean(this.value)) {
|
|
20
|
+
const n = Boolean(this.value) ? r(this.value, d, new Date()) : void 0;
|
|
21
|
+
(!Boolean(n) || !o(n)) && (this.value = ""), t.value = l(n, this.format);
|
|
22
22
|
}
|
|
23
|
-
}, this.onInput = (
|
|
24
|
-
this.onChange(
|
|
25
|
-
}, this.onClick = (
|
|
26
|
-
|
|
27
|
-
}, this.onFocus = (
|
|
28
|
-
this.handleAutoSelect(
|
|
23
|
+
}, this.onInput = (i) => {
|
|
24
|
+
this.onChange(i);
|
|
25
|
+
}, this.onClick = (i) => {
|
|
26
|
+
i.preventDefault();
|
|
27
|
+
}, this.onFocus = (i) => {
|
|
28
|
+
this.handleAutoSelect(i);
|
|
29
29
|
}, this.autoFocus = void 0, this.autoSelect = void 0, this.disabled = void 0, this.format = "HH:mm", this.inline = void 0, this.invalid = void 0, this.placeholder = "hh:mm", this.required = void 0, this.swirlAriaDescribedby = void 0, this.value = void 0, this.iconSize = 24;
|
|
30
30
|
}
|
|
31
31
|
componentWillLoad() {
|
|
32
|
-
const
|
|
33
|
-
this.id = `swirl-time-input-${
|
|
32
|
+
const e = Array.from(document.querySelectorAll("swirl-time-input")).indexOf(this.el);
|
|
33
|
+
this.id = `swirl-time-input-${e}`;
|
|
34
34
|
}
|
|
35
35
|
componentDidLoad() {
|
|
36
36
|
this.setupMask(), this.updateIconSize(this.desktopMediaQuery.matches), this.desktopMediaQuery.onchange = this.desktopMediaQueryHandler, this.autoFocus && setTimeout(() => {
|
|
@@ -38,29 +38,29 @@ const g = ".sc-swirl-time-input-h{display:flex;width:100%}.sc-swirl-time-input-h
|
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
disconnectedCallback() {
|
|
41
|
-
var
|
|
42
|
-
(
|
|
41
|
+
var e, i, t;
|
|
42
|
+
(e = this.mask) == null || e.destroy(), (t = (i = this.desktopMediaQuery).removeEventListener) == null || t.call(i, "change", this.desktopMediaQueryHandler);
|
|
43
43
|
}
|
|
44
44
|
watchFormat() {
|
|
45
45
|
this.setupMask();
|
|
46
46
|
}
|
|
47
|
-
updateIconSize(
|
|
48
|
-
this.iconSize =
|
|
47
|
+
updateIconSize(e) {
|
|
48
|
+
this.iconSize = e ? 20 : 24;
|
|
49
49
|
}
|
|
50
|
-
handleAutoSelect(
|
|
51
|
-
!this.autoSelect ||
|
|
50
|
+
handleAutoSelect(e) {
|
|
51
|
+
!this.autoSelect || e.target.select();
|
|
52
52
|
}
|
|
53
53
|
setupMask() {
|
|
54
|
-
var
|
|
55
|
-
(
|
|
54
|
+
var e;
|
|
55
|
+
(e = this.mask) == null || e.destroy(), this.mask = v.create(`#${this.id}`, {
|
|
56
56
|
mask: this.format.replace(/[Hhms]/g, "#")
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
const
|
|
60
|
+
const e = this.invalid === !0 || this.invalid === !1 ? String(this.invalid) : void 0, i = Boolean(this.value) ? r(this.value, d, new Date()) : void 0, t = o(i) ? l(i, this.format) : void 0, s = f("time-input", {
|
|
61
61
|
"time-input--inline": this.inline
|
|
62
62
|
});
|
|
63
|
-
return a(m, null, a("div", { class: s }, a("input", { "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : void 0, "aria-invalid":
|
|
63
|
+
return a(m, null, a("div", { class: s }, a("input", { "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : void 0, "aria-invalid": e, autoFocus: this.autoFocus, class: "time-input__input", disabled: this.disabled, id: this.id, onBlur: this.onBlur, onClick: this.onClick, onFocus: this.onFocus, onInput: this.onInput, placeholder: this.placeholder, ref: (n) => this.inputEl = n, required: this.required, type: "text", value: t }), a("span", { class: "time-input__icon" }, a("swirl-icon-time-outlined", { size: this.iconSize }))));
|
|
64
64
|
}
|
|
65
65
|
get el() {
|
|
66
66
|
return p(this);
|
|
@@ -71,7 +71,7 @@ const g = ".sc-swirl-time-input-h{display:flex;width:100%}.sc-swirl-time-input-h
|
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
|
-
|
|
74
|
+
x.style = g;
|
|
75
75
|
export {
|
|
76
|
-
|
|
76
|
+
x as swirl_time_input
|
|
77
77
|
};
|
package/dist/{swirl-toast-provider.entry.2384e474.js → swirl-toast-provider.entry.1beddcd0.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r
|
|
1
|
+
import { r, h as o, H as n } from "./index.5a52a569.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
const
|
|
4
|
+
const h = class {
|
|
5
5
|
constructor(t) {
|
|
6
|
-
|
|
6
|
+
r(this, t), this.onDismiss = (s) => {
|
|
7
7
|
this.toasts = [...this.toasts].filter((i) => i.toastId !== s.detail);
|
|
8
8
|
}, this.globalDuration = void 0, this.toasts = [];
|
|
9
9
|
}
|
|
@@ -14,20 +14,25 @@ const c = class {
|
|
|
14
14
|
this.toasts = [...this.toasts].filter((s) => s.toastId !== t);
|
|
15
15
|
}
|
|
16
16
|
async toast(t) {
|
|
17
|
-
if (this.toasts.some((
|
|
17
|
+
if (this.toasts.some((a) => a.toastId === t.toastId))
|
|
18
18
|
return;
|
|
19
19
|
let s = this.globalDuration;
|
|
20
20
|
this.globalDuration === void 0 ? s = t.duration : this.globalDuration === 0 && (s = void 0);
|
|
21
|
-
const i =
|
|
21
|
+
const i = {
|
|
22
|
+
...t,
|
|
23
|
+
createdAt: new Date(),
|
|
24
|
+
duration: s,
|
|
25
|
+
toastId: t.toastId || String(Math.round(Math.random() * 1e4))
|
|
26
|
+
};
|
|
22
27
|
return this.toasts = [...this.toasts, i], i;
|
|
23
28
|
}
|
|
24
29
|
render() {
|
|
25
|
-
return
|
|
26
|
-
const s =
|
|
27
|
-
return
|
|
30
|
+
return o(n, { role: "status" }, o("swirl-stack", { spacing: "12" }, this.toasts.map((t) => {
|
|
31
|
+
const s = { ...t, content: void 0 };
|
|
32
|
+
return o("swirl-toast", { key: t.toastId, onDismiss: this.onDismiss, ...s }, t.content);
|
|
28
33
|
})));
|
|
29
34
|
}
|
|
30
35
|
};
|
|
31
36
|
export {
|
|
32
|
-
|
|
37
|
+
h as swirl_toast_provider
|
|
33
38
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { c
|
|
3
|
-
import { g as
|
|
1
|
+
import { r as o, c as n, h as i, H as r } from "./index.5a52a569.js";
|
|
2
|
+
import { c } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import { g as d } from "./utils-bc84f36e.1fee9865.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const l = ":host{display:flex}:host *{box-sizing:border-box}.toast{display:flex;width:100%;max-width:28rem;padding:var(--s-space-16);border-radius:var(--s-border-radius-sm);color:var(--s-text-on-status);background-color:var(--s-surface-neutral-default);box-shadow:var(--s-shadow-level-2)}.toast--intent-critical{background-color:var(--s-surface-critical-default)}.toast--intent-success{background-color:var(--s-surface-success-default)}.toast__icon{display:inline-flex;margin-top:calc(-1 * var(--s-space-2));margin-right:0.625rem;flex-shrink:0}.toast__icon ::part(icon){color:var(--s-icon-on-status)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.toast__icon{margin-top:0}}.toast__content{flex-grow:1;line-height:var(--s-line-height-base);text-align:left;align-self:flex-start}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.toast__content{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.toast__content ::part(link){color:var(--text-default)}.toast__dismiss-button{display:inline-flex;min-width:1.5rem;height:1.5rem;margin-top:calc(-1 * var(--s-space-2));margin-left:var(--s-space-16);padding:0;flex-shrink:0;justify-content:center;align-items:center;border:none;color:var(--s-text-on-status);background-color:transparent;font:inherit;font-weight:var(--s-font-weight-semibold);cursor:pointer}.toast__dismiss-button ::part(icon){color:var(--s-icon-on-status)}", h = class {
|
|
7
7
|
constructor(s) {
|
|
8
|
-
|
|
8
|
+
o(this, s), this.dismiss = n(this, "dismiss", 7), this.desktopMediaQuery = d(), this.desktopMediaQueryHandler = (t) => {
|
|
9
9
|
this.forceIconProps(t.matches);
|
|
10
10
|
}, this.onDismiss = () => {
|
|
11
11
|
this.dismiss.emit(this.toastId);
|
|
@@ -19,12 +19,12 @@ const l = ":host{display:flex}:host *{box-sizing:border-box}.toast{display:flex;
|
|
|
19
19
|
}
|
|
20
20
|
disconnectedCallback() {
|
|
21
21
|
var s, t;
|
|
22
|
-
(t = (s = this.desktopMediaQuery).removeEventListener)
|
|
22
|
+
(t = (s = this.desktopMediaQuery).removeEventListener) == null || t.call(s, "change", this.desktopMediaQueryHandler);
|
|
23
23
|
}
|
|
24
24
|
forceIconProps(s) {
|
|
25
|
-
var
|
|
26
|
-
const
|
|
27
|
-
|
|
25
|
+
var a;
|
|
26
|
+
const t = (a = this.iconEl) == null ? void 0 : a.children[0], e = this.dismissIconEl;
|
|
27
|
+
t == null || t.setAttribute("size", s ? "20" : "24"), e == null || e.setAttribute("size", s ? "20" : "24");
|
|
28
28
|
}
|
|
29
29
|
startTimer() {
|
|
30
30
|
this.clearTimer(), this.duration !== void 0 && (this.timeout = setTimeout(() => {
|
|
@@ -35,7 +35,7 @@ const l = ":host{display:flex}:host *{box-sizing:border-box}.toast{display:flex;
|
|
|
35
35
|
!Boolean(this.timeout) || (clearTimeout(this.timeout), this.timeout = void 0);
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
const s =
|
|
38
|
+
const s = c("toast", `toast--intent-${this.intent}`);
|
|
39
39
|
return i(r, null, i("div", { class: s }, this.icon && i("span", { class: "toast__icon", innerHTML: this.icon, part: "toast__icon", ref: (t) => this.iconEl = t }), i("span", { class: "toast__content", innerHTML: this.content, part: "toast__content" }, i("slot", null)), i("button", { "aria-label": this.dismissLabel || this.accessibleDismissLabel, class: "toast__dismiss-button", onClick: this.onDismiss, type: "button" }, this.dismissLabel, !Boolean(this.dismissLabel) && i("swirl-icon-close", { ref: (t) => this.dismissIconEl = t }))));
|
|
40
40
|
}
|
|
41
41
|
static get watchers() {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { r as n, h as i, H as
|
|
2
|
-
import { c as
|
|
1
|
+
import { r as n, h as i, H as r } from "./index.5a52a569.js";
|
|
2
|
+
import { c as l, o as p, s as h, f as d } from "./floating-ui.dom.esm-ac7cc24e.79b318e4.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
const c = ":host{display:inline-flex}:host *{box-sizing:border-box}.tooltip{display:inline-flex}.tooltip .tooltip__reference{display:inline-flex}.tooltip__popper{position:fixed;z-index:var(--s-z-40);max-width:17.5rem}.tooltip__bubble{position:relative;display:block;padding-top:var(--s-space-8);padding-right:var(--s-space-12);padding-bottom:var(--s-space-8);padding-left:var(--s-space-12);border-radius:var(--s-border-radius-sm);color:var(--s-text-on-status);background-color:var(--s-surface-neutral-default);line-height:var(--s-line-height-base);animation:tooltip-fade-in 0.1s}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.tooltip__bubble{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.tooltip__arrow{position:absolute;width:0.5rem;height:0.5rem;background-color:var(--s-surface-neutral-default)}@keyframes tooltip-fade-in{from{opacity:0}to{opacity:1}}", u = class {
|
|
6
|
-
constructor(
|
|
7
|
-
n(this,
|
|
6
|
+
constructor(s) {
|
|
7
|
+
n(this, s), this.onKeydown = (t) => {
|
|
8
8
|
t.code === "Escape" && this.hide();
|
|
9
9
|
}, this.reposition = async () => {
|
|
10
|
-
!Boolean(this.referenceEl) || !Boolean(this.popperEl) || (this.actualPosition = await
|
|
10
|
+
!Boolean(this.referenceEl) || !Boolean(this.popperEl) || (this.actualPosition = await l(this.referenceEl, this.popperEl, this.options));
|
|
11
11
|
}, this.show = () => {
|
|
12
12
|
this.visible = !0, requestAnimationFrame(() => {
|
|
13
13
|
this.reposition();
|
|
@@ -26,26 +26,26 @@ const c = ":host{display:inline-flex}:host *{box-sizing:border-box}.tooltip{disp
|
|
|
26
26
|
strategy: "fixed"
|
|
27
27
|
};
|
|
28
28
|
}, this.getArrowStyles = () => {
|
|
29
|
-
var t,
|
|
30
|
-
if (((t = this.actualPosition)
|
|
29
|
+
var t, e, o, a;
|
|
30
|
+
if (((t = this.actualPosition) == null ? void 0 : t.placement) === "top")
|
|
31
31
|
return {
|
|
32
32
|
top: "100%",
|
|
33
33
|
left: "50%",
|
|
34
34
|
transform: "translate3d(-50%, -50%, 0) rotate(45deg)"
|
|
35
35
|
};
|
|
36
|
-
if (((
|
|
36
|
+
if (((e = this.actualPosition) == null ? void 0 : e.placement) === "bottom")
|
|
37
37
|
return {
|
|
38
38
|
bottom: "100%",
|
|
39
39
|
left: "50%",
|
|
40
40
|
transform: "translate3d(-50%, 50%, 0) rotate(45deg)"
|
|
41
41
|
};
|
|
42
|
-
if (((o = this.actualPosition)
|
|
42
|
+
if (((o = this.actualPosition) == null ? void 0 : o.placement) === "right")
|
|
43
43
|
return {
|
|
44
44
|
top: "50%",
|
|
45
45
|
right: "100%",
|
|
46
46
|
transform: "translate3d(50%, -50%, 0) rotate(45deg)"
|
|
47
47
|
};
|
|
48
|
-
if (((a = this.actualPosition)
|
|
48
|
+
if (((a = this.actualPosition) == null ? void 0 : a.placement) === "left")
|
|
49
49
|
return {
|
|
50
50
|
top: "50%",
|
|
51
51
|
left: "100%",
|
|
@@ -75,11 +75,11 @@ const c = ":host{display:inline-flex}:host *{box-sizing:border-box}.tooltip{disp
|
|
|
75
75
|
this.updateOptions();
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
|
-
var
|
|
78
|
+
var t, e;
|
|
79
79
|
const s = this.getArrowStyles();
|
|
80
|
-
return i(
|
|
81
|
-
top: Boolean(this.actualPosition) ? `${(
|
|
82
|
-
left: Boolean(this.actualPosition) ? `${(
|
|
80
|
+
return i(r, { onKeydown: this.onKeydown }, i("span", { class: "tooltip" }, i("span", { class: "tooltip__reference", "aria-describedby": "tooltip", onBlur: this.hide, onClick: this.hide, onFocus: this.show, ref: (o) => this.referenceEl = o, tabIndex: 0 }, i("slot", null)), i("span", { class: "tooltip__popper", ref: (o) => this.popperEl = o, style: {
|
|
81
|
+
top: Boolean(this.actualPosition) ? `${(t = this.actualPosition) == null ? void 0 : t.y}px` : "",
|
|
82
|
+
left: Boolean(this.actualPosition) ? `${(e = this.actualPosition) == null ? void 0 : e.x}px` : ""
|
|
83
83
|
} }, this.visible && i("span", { class: "tooltip__bubble", id: "tooltip", part: "tooltip__bubble", role: "tooltip" }, i("span", { class: "tooltip__content", innerHTML: this.content }), i("span", { class: "tooltip__arrow", style: s })))));
|
|
84
84
|
}
|
|
85
85
|
static get watchers() {
|
package/dist/{swirl-visually-hidden.entry.78ae7a3a.js → swirl-visually-hidden.entry.186ba9e2.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.5a52a569.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.82.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.83.0",
|
|
22
22
|
"react": "^18.2.0",
|
|
23
23
|
"react-dom": "^18.2.0"
|
|
24
24
|
},
|