@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,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.5a52a569.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.b1a443a1.js → swirl-table-row-group.entry.a3bf3ffc.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.5a52a569.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,11 +1,11 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as s, h as e, H as o, g as r } from "./index.5a52a569.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";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const a = ":host{display:flex}:host(.table-row--highlighted){--swirl-ghost-button-background-default:transparent}:host(.table-row--highlighted) ::slotted(.table-cell){background-color:rgba(240, 242, 255, 1);}:host ::slotted(.table-cell){border-bottom:var(--s-border-width-default) solid var(--s-border-default)}:host *{box-sizing:border-box}", d = class {
|
|
7
7
|
constructor(t) {
|
|
8
|
-
|
|
8
|
+
s(this, t), this.highlighted = void 0, this.index = void 0;
|
|
9
9
|
}
|
|
10
10
|
componentDidLoad() {
|
|
11
11
|
const t = i(this.el, "swirl-table");
|
|
@@ -15,7 +15,7 @@ const a = ":host{display:flex}:host(.table-row--highlighted){--swirl-ghost-butto
|
|
|
15
15
|
const t = l("table-row", {
|
|
16
16
|
"table-row--highlighted": this.highlighted
|
|
17
17
|
});
|
|
18
|
-
return e(
|
|
18
|
+
return e(o, { "aria-rowindex": this.index, class: t, role: "row" }, e("slot", null));
|
|
19
19
|
}
|
|
20
20
|
get el() {
|
|
21
21
|
return r(this);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as g, h as
|
|
1
|
+
import { r as g, h as r, H as _, g as v } from "./index.5a52a569.js";
|
|
2
2
|
import { d as S, i as R } from "./utils-bc84f36e.1fee9865.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
var x = function(t) {
|
|
6
|
-
var
|
|
6
|
+
var l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = void 0, s = void 0, n = void 0, a = [];
|
|
7
7
|
return function() {
|
|
8
|
-
var m = C(
|
|
8
|
+
var m = C(l), p = new Date().getTime(), b = !i || p - i > m;
|
|
9
9
|
i = p;
|
|
10
10
|
for (var y = arguments.length, c = Array(y), d = 0; d < y; d++)
|
|
11
11
|
c[d] = arguments[d];
|
|
@@ -31,8 +31,8 @@ function C(e) {
|
|
|
31
31
|
}
|
|
32
32
|
function E() {
|
|
33
33
|
var e = {};
|
|
34
|
-
return e.promise = new Promise(function(t,
|
|
35
|
-
e.resolve = t, e.reject =
|
|
34
|
+
return e.promise = new Promise(function(t, l) {
|
|
35
|
+
e.resolve = t, e.reject = l;
|
|
36
36
|
}), e;
|
|
37
37
|
}
|
|
38
38
|
const L = `:host{position:relative;display:block}:host *{box-sizing:border-box}.table__container{position:relative;overflow:auto;width:100%}.table__container--scrolled{--swirl-table-sticky-right-shadow:0.0625rem 0 0 0 var(--s-border-default),
|
|
@@ -68,8 +68,8 @@ const L = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
68
68
|
}
|
|
69
69
|
resetRowGroupStyles() {
|
|
70
70
|
Array.from(this.el.querySelectorAll("swirl-table-row-group")).forEach((t) => {
|
|
71
|
-
const
|
|
72
|
-
!Boolean(
|
|
71
|
+
const l = t.shadowRoot.querySelector(".table-row-group__header-row");
|
|
72
|
+
!Boolean(l) || (t.shadowRoot.querySelector(".table-row-group__header-row").style.width = "");
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
resetColumnStyles() {
|
|
@@ -83,8 +83,8 @@ const L = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
updateScrolledState() {
|
|
86
|
-
const e = R(), t = this.container.scrollWidth > this.container.clientWidth,
|
|
87
|
-
t !== this.scrollable && (t && !e ? this.container.classList.add("table__container--scrollable") : this.container.classList.remove("table__container--scrollable")),
|
|
86
|
+
const e = R(), t = this.container.scrollWidth > this.container.clientWidth, l = this.container.scrollLeft > 0, o = Math.ceil(this.container.clientWidth + this.container.scrollLeft) >= Math.floor(this.container.scrollWidth);
|
|
87
|
+
t !== this.scrollable && (t && !e ? this.container.classList.add("table__container--scrollable") : this.container.classList.remove("table__container--scrollable")), l !== this.scrolled && (l && !e ? this.container.classList.add("table__container--scrolled") : this.container.classList.remove("table__container--scrolled")), o !== this.scrolledToEnd && (o && !e ? this.container.classList.add("table__container--scrolled-to-end") : this.container.classList.remove("table__container--scrolled-to-end"));
|
|
88
88
|
}
|
|
89
89
|
getColumns() {
|
|
90
90
|
return Array.from(this.el.querySelectorAll("swirl-table-column"));
|
|
@@ -100,17 +100,17 @@ const L = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
100
100
|
e.style.width = t;
|
|
101
101
|
}
|
|
102
102
|
layoutRowGroups() {
|
|
103
|
-
var
|
|
104
|
-
const
|
|
105
|
-
|
|
103
|
+
var l;
|
|
104
|
+
const e = Array.from(this.el.querySelectorAll("swirl-table-row-group")), t = `${(l = this.el.shadowRoot.querySelector(".table__container")) == null ? void 0 : l.scrollWidth}px`;
|
|
105
|
+
e.forEach((o) => {
|
|
106
106
|
const i = o.shadowRoot.querySelector(".table-row-group__header-row");
|
|
107
|
-
!Boolean(i) || (o.shadowRoot.querySelector(".table-row-group__header-row").style.width =
|
|
107
|
+
!Boolean(i) || (o.shadowRoot.querySelector(".table-row-group__header-row").style.width = t);
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
110
|
layOutCells() {
|
|
111
111
|
const e = this.getColumns(), t = this.getCells();
|
|
112
|
-
e.forEach((
|
|
113
|
-
const i = t.filter((n, a) => (o - a) % e.length === 0), s =
|
|
112
|
+
e.forEach((l, o) => {
|
|
113
|
+
const i = t.filter((n, a) => (o - a) % e.length === 0), s = l.width || `${l.getBoundingClientRect().width}px`;
|
|
114
114
|
i.forEach((n) => {
|
|
115
115
|
n.style.flex = Boolean(s) ? `0 0 ${s}` : "";
|
|
116
116
|
});
|
|
@@ -121,7 +121,7 @@ const L = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
121
121
|
this.empty = !Boolean(e) || e.children.length === 0;
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return
|
|
124
|
+
return r(_, null, r("div", { class: "table" }, r("div", { class: "table__container", onScroll: this.onScroll, ref: (e) => this.container = e }, r("div", { "aria-describedby": Boolean(this.caption) ? "caption" : void 0, "aria-label": this.label, role: "table", class: "table__table" }, this.caption && r("swirl-visually-hidden", null, r("div", { id: "caption" }, this.caption)), r("div", { role: "rowgroup" }, r("div", { class: "table__header", role: "row" }, r("slot", { name: "columns", onSlotchange: this.onSlotChange }))), r("div", { class: "table__body" }, r("slot", { name: "rows", onSlotchange: this.onSlotChange }), this.empty && r("div", { class: "table__empty-row", role: "row" }, r("div", { "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, r("swirl-text", { align: "center", size: "sm" }, this.emptyStateLabel))))))));
|
|
125
125
|
}
|
|
126
126
|
get el() {
|
|
127
127
|
return v(this);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as e, c as b, h as s, H as
|
|
1
|
+
import { r as e, c as b, h as s, H as c, g as r } from "./index.5a52a569.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
const
|
|
4
|
+
const n = ".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 {
|
|
5
5
|
constructor(t) {
|
|
6
6
|
e(this, t), this.tabActivated = b(this, "tabActivated", 7), this.tabs = [], this.onActivateNextTab = () => {
|
|
7
7
|
this.activateNextTab();
|
|
@@ -25,14 +25,14 @@ const c = ".sc-swirl-tabs-h{display:block;width:100%}.sc-swirl-tabs-h *.sc-swirl
|
|
|
25
25
|
const t = this.tabs.findIndex((a) => a.tabId === this.activeTab), i = Math.min(this.tabs.length - 1, t + 1);
|
|
26
26
|
this.activateTab(this.tabs[i].tabId), requestAnimationFrame(() => {
|
|
27
27
|
var a;
|
|
28
|
-
(a = this.el.querySelector(".tabs__tab--active"))
|
|
28
|
+
(a = this.el.querySelector(".tabs__tab--active")) == null || a.focus();
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
activatePreviousTab() {
|
|
32
32
|
const t = this.tabs.findIndex((a) => a.tabId === this.activeTab), i = Math.max(0, t - 1);
|
|
33
33
|
this.activateTab(this.tabs[i].tabId), requestAnimationFrame(() => {
|
|
34
34
|
var a;
|
|
35
|
-
(a = this.el.querySelector(".tabs__tab--active"))
|
|
35
|
+
(a = this.el.querySelector(".tabs__tab--active")) == null || a.focus();
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
collectTabs() {
|
|
@@ -49,13 +49,13 @@ const c = ".sc-swirl-tabs-h{display:block;width:100%}.sc-swirl-tabs-h *.sc-swirl
|
|
|
49
49
|
}));
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return s(
|
|
52
|
+
return s(c, null, s("div", { class: "tabs" }, s("swirl-tab-bar", { label: this.label, onActivateNextTab: this.onActivateNextTab, onActivatePreviousTab: this.onActivatePreviousTab, onActivateTab: this.onActivateTab, tabs: this.tabBarTabs })), s("slot", null));
|
|
53
53
|
}
|
|
54
54
|
get el() {
|
|
55
|
-
return
|
|
55
|
+
return r(this);
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
|
-
h.style =
|
|
58
|
+
h.style = n;
|
|
59
59
|
export {
|
|
60
60
|
h as swirl_tabs
|
|
61
61
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, c as s, h as t, H as n, g as i } from "./index.
|
|
1
|
+
import { r as o, c as s, h as t, H as n, g as i } from "./index.5a52a569.js";
|
|
2
2
|
import { c } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
@@ -6,7 +6,7 @@ const l = ":host{display:inline-flex}:host *{box-sizing:border-box}.tag{display:
|
|
|
6
6
|
constructor(e) {
|
|
7
7
|
o(this, e), this.remove = s(this, "remove", 7), this.onRemove = (r) => {
|
|
8
8
|
var a;
|
|
9
|
-
(a = this.remove)
|
|
9
|
+
(a = this.remove) == null || a.emit(r);
|
|
10
10
|
}, this.intent = "default", this.label = void 0, this.removable = void 0, this.removalButtonLabel = "Remove";
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { r as h, c as n, h as i, H as d } from "./index.
|
|
1
|
+
import { r as h, c as n, h as i, H as d } from "./index.5a52a569.js";
|
|
2
2
|
import { c } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { g as x } from "./utils-bc84f36e.1fee9865.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const w = '.sc-swirl-text-input-h{display:block;width:100%}.sc-swirl-text-input-h *.sc-swirl-text-input{box-sizing:border-box}.text-input.sc-swirl-text-input{position:relative;display:flex;width:100%;align-items:center;color:var(--s-text-default);font:inherit;line-height:var(--s-line-height-sm);cursor:text}.text-input--auto-grow.sc-swirl-text-input .text-input__input.sc-swirl-text-input{max-height:none}.text-input--clearable.sc-swirl-text-input,.text-input--type-number.sc-swirl-text-input,.text-input--type-password.sc-swirl-text-input{padding-right:calc(1.5rem + var(--s-space-8))}.text-input--show-password.sc-swirl-text-input .text-input__input.sc-swirl-text-input{width:100%}.text-input--disabled.sc-swirl-text-input .text-input__character-counter.sc-swirl-text-input{color:var(--s-text-disabled)}.text-input--inline.sc-swirl-text-input .text-input__stepper.sc-swirl-text-input{top:calc(-1 * var(--s-space-8));right:calc(-1 * var(--s-space-12))}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text-input--inline.sc-swirl-text-input .text-input__stepper.sc-swirl-text-input{top:calc(-1 * var(--s-space-8));right:calc(-1 * var(--s-space-12))}}.text-input--inline.sc-swirl-text-input .text-input__step-button.sc-swirl-text-input{width:2rem;height:1.125rem;justify-content:center;background-color:var(--s-surface-raised-default)}.text-input--inline.sc-swirl-text-input .text-input__step-button.sc-swirl-text-input:first-of-type{border-top-right-radius:var(--s-border-radius-sm)}.text-input--inline.sc-swirl-text-input .text-input__step-button.sc-swirl-text-input:last-of-type{border-bottom-right-radius:var(--s-border-radius-sm)}.text-input--inline.sc-swirl-text-input .text-input__step-button.sc-swirl-text-input:hover{background-color:var(--s-surface-raised-hovered)}.text-input--inline.sc-swirl-text-input .text-input__step-button.sc-swirl-text-input swirl-icon-expand-less.sc-swirl-text-input,.text-input--inline.sc-swirl-text-input .text-input__step-button.sc-swirl-text-input swirl-icon-expand-more.sc-swirl-text-input{width:1rem}.text-input--inline.sc-swirl-text-input .text-input__clear-button.sc-swirl-text-input,.text-input--inline.sc-swirl-text-input .text-input__password-toggle.sc-swirl-text-input{top:-0.0625rem}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text-input--inline.sc-swirl-text-input .text-input__clear-button.sc-swirl-text-input,.text-input--inline.sc-swirl-text-input .text-input__password-toggle.sc-swirl-text-input{top:0}}.text-input--inline.sc-swirl-text-input .text-input__character-counter.sc-swirl-text-input{top:calc(100% + var(--s-space-12) + var(--s-border-width-default));right:calc(-1 * var(--s-space-12));max-width:6rem}.text-input__input.sc-swirl-text-input{display:inline-flex;width:100%;max-height:13.75rem;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);resize:none;caret-color:var(--s-border-highlight)}.text-input__input.sc-swirl-text-input:focus{outline:none}.text-input__input.sc-swirl-text-input:disabled{color:var(--s-text-disabled);background-color:transparent}.text-input__input.sc-swirl-text-input::-webkit-outer-spin-button,.text-input__input.sc-swirl-text-input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.text-input__input[type="number"].sc-swirl-text-input{-moz-appearance:textfield}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text-input__input.sc-swirl-text-input{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}input.text-input__input.sc-swirl-text-input:not([type="password"]){width:0.25rem;min-width:0.25rem}.text-input--disable-dynamic-width.sc-swirl-text-input input.text-input__input.sc-swirl-text-input:not([type="password"]){width:100%;min-width:0}.text-input__clear-button.sc-swirl-text-input,.text-input__password-toggle.sc-swirl-text-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;cursor:pointer}.text-input__clear-button.sc-swirl-text-input:focus:not(:focus-visible),.text-input__password-toggle.sc-swirl-text-input:focus:not(:focus-visible){outline:none}.text-input__clear-button.sc-swirl-text-input:focus-visible,.text-input__password-toggle.sc-swirl-text-input:focus-visible{outline-color:var(--s-focus-default)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text-input__clear-button.sc-swirl-text-input,.text-input__password-toggle.sc-swirl-text-input{top:-0.625rem}}.text-input__stepper.sc-swirl-text-input{position:absolute;top:-1.4375rem;right:0;display:flex;flex-direction:column}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text-input__stepper.sc-swirl-text-input{top:-1.25rem}}.text-input__step-button.sc-swirl-text-input{display:inline-flex;margin:0;padding:0;border:none;color:var(--s-icon-default);background-color:transparent;cursor:pointer}.text-input__step-button.sc-swirl-text-input:focus:not(:focus-visible){outline:none}.text-input__step-button.sc-swirl-text-input:focus-visible{outline-color:var(--s-focus-default)}.text-input__character-counter.sc-swirl-text-input{position:absolute;top:-1.375rem;right:0;display:flex;color:var(--s-text-subdued);line-height:var(--s-line-height-sm);flex-direction:column}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text-input__character-counter.sc-swirl-text-input{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text-input__prefix.sc-swirl-text-input{padding-right:var(--s-space-4);color:var(--s-text-subdued);font-size:var(--s-font-size-base)}.text-input__suffix.sc-swirl-text-input{padding-left:var(--s-space-4);color:var(--s-text-subdued);font-size:var(--s-font-size-base)}', b = class {
|
|
7
|
-
constructor(
|
|
8
|
-
h(this,
|
|
7
|
+
constructor(s) {
|
|
8
|
+
h(this, s), this.inputBlur = n(this, "inputBlur", 7), this.inputFocus = n(this, "inputFocus", 7), this.valueChange = n(this, "valueChange", 7), this.desktopMediaQuery = x(), this.desktopMediaQueryHandler = (t) => {
|
|
9
9
|
this.updateIconSize(t.matches);
|
|
10
10
|
}, this.clear = () => {
|
|
11
11
|
this.inputEl.value = "", this.value = "", this.valueChange.emit(""), this.inputEl.focus();
|
|
12
12
|
}, this.onChange = (t) => {
|
|
13
|
-
const
|
|
14
|
-
this.value =
|
|
13
|
+
const e = t.target;
|
|
14
|
+
this.value = e.value, this.valueChange.emit(e.value);
|
|
15
15
|
}, this.onBlur = (t) => {
|
|
16
16
|
this.inputBlur.emit(t);
|
|
17
17
|
}, this.onFocus = (t) => {
|
|
@@ -24,14 +24,14 @@ const w = '.sc-swirl-text-input-h{display:block;width:100%}.sc-swirl-text-input-
|
|
|
24
24
|
if (this.type !== "number")
|
|
25
25
|
return;
|
|
26
26
|
const t = this.step || 1;
|
|
27
|
-
let
|
|
28
|
-
isNaN(this.inputEl.valueAsNumber) && (
|
|
27
|
+
let e = this.inputEl.valueAsNumber;
|
|
28
|
+
isNaN(this.inputEl.valueAsNumber) && (e = this.min !== void 0 ? this.min + 1 : 1), this.value = String(Math.max(this.min || -1 / 0, e - t)), this.valueChange.emit(this.value);
|
|
29
29
|
}, this.increaseValue = () => {
|
|
30
30
|
if (this.type !== "number")
|
|
31
31
|
return;
|
|
32
32
|
const t = this.step || 1;
|
|
33
|
-
let
|
|
34
|
-
isNaN(this.inputEl.valueAsNumber) && (
|
|
33
|
+
let e = this.inputEl.valueAsNumber;
|
|
34
|
+
isNaN(this.inputEl.valueAsNumber) && (e = this.min !== void 0 ? this.min - 1 : -1), this.value = String(Math.min(this.max || 1 / 0, e + t)), this.valueChange.emit(this.value);
|
|
35
35
|
}, this.togglePassword = () => {
|
|
36
36
|
this.type === "password" && (this.showPassword = !this.showPassword);
|
|
37
37
|
}, this.autoComplete = "on", this.autoFocus = void 0, this.autoGrow = void 0, this.autoSelect = void 0, this.clearable = void 0, this.clearButtonLabel = "Clear input", this.disabled = void 0, this.disableDynamicWidth = void 0, this.swirlAriaAutocomplete = void 0, this.swirlAriaControls = void 0, this.swirlAriaDescribedby = void 0, this.swirlAriaExpanded = void 0, this.swirlRole = void 0, this.inline = void 0, this.invalid = void 0, this.maxLength = void 0, this.max = void 0, this.min = void 0, this.mode = void 0, this.placeholder = void 0, this.prefixLabel = void 0, this.required = void 0, this.rows = 1, this.showCharacterCounter = void 0, this.spellCheck = void 0, this.suffixLabel = void 0, this.step = void 0, this.passwordToggleLabel = "Toggle password display", this.type = "text", this.value = void 0, this.iconSize = 24, this.showPassword = !1;
|
|
@@ -45,21 +45,21 @@ const w = '.sc-swirl-text-input-h{display:block;width:100%}.sc-swirl-text-input-
|
|
|
45
45
|
this.adjustInputSize();
|
|
46
46
|
}
|
|
47
47
|
disconnectedCallback() {
|
|
48
|
-
var
|
|
49
|
-
(t = (
|
|
48
|
+
var s, t;
|
|
49
|
+
(t = (s = this.desktopMediaQuery).removeEventListener) == null || t.call(s, "change", this.desktopMediaQueryHandler);
|
|
50
50
|
}
|
|
51
|
-
updateIconSize(
|
|
52
|
-
this.iconSize =
|
|
51
|
+
updateIconSize(s) {
|
|
52
|
+
this.iconSize = s ? 20 : 24;
|
|
53
53
|
}
|
|
54
54
|
adjustInputSize() {
|
|
55
55
|
(this.rows > 1 || this.autoGrow) && (this.inputEl.style.width = "", this.inputEl.style.height = "", this.inputEl.style.height = Boolean(this.inputEl.scrollHeight) ? this.inputEl.scrollHeight / 16 + "rem" : ""), this.rows === 1 && !this.autoGrow && (this.inputEl.style.height = "", this.inputEl.style.width = "", this.type !== "password" && !this.disableDynamicWidth && !Boolean(this.placeholder) && (this.inputEl.style.width = this.inputEl.scrollWidth / 16 + "rem"));
|
|
56
56
|
}
|
|
57
|
-
handleAutoSelect(
|
|
58
|
-
!this.autoSelect ||
|
|
57
|
+
handleAutoSelect(s) {
|
|
58
|
+
!this.autoSelect || s.target.select();
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
var
|
|
62
|
-
const
|
|
61
|
+
var u;
|
|
62
|
+
const s = this.rows === 1 && !this.autoGrow ? "input" : "textarea", t = this.invalid === !0 || this.invalid === !1 ? String(this.invalid) : void 0, e = this.type === "number" && !this.disabled, r = this.type === "password" && !this.disabled, a = this.clearable && !this.disabled && Boolean(this.value) && !r && !e && !this.showCharacterCounter, o = this.type === "password" && this.showPassword ? "text" : this.type, l = c("text-input", `text-input--type-${this.type}`, {
|
|
63
63
|
"text-input--auto-grow": this.autoGrow,
|
|
64
64
|
"text-input--clearable": this.clearable,
|
|
65
65
|
"text-input--disabled": this.disabled,
|
|
@@ -68,7 +68,7 @@ const w = '.sc-swirl-text-input-h{display:block;width:100%}.sc-swirl-text-input-
|
|
|
68
68
|
"text-input--inline": this.inline,
|
|
69
69
|
"text-input--show-password": this.type === "password" && this.showPassword
|
|
70
70
|
});
|
|
71
|
-
return i(d, null, i("div", { class: l }, this.prefixLabel && i("span", { class: "text-input__prefix" }, this.prefixLabel), i(
|
|
71
|
+
return i(d, null, i("div", { class: l }, this.prefixLabel && i("span", { class: "text-input__prefix" }, this.prefixLabel), i(s, { "aria-autocomplete": this.swirlAriaAutocomplete, "aria-controls": this.swirlAriaControls, "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : void 0, "aria-expanded": this.swirlAriaExpanded, "aria-invalid": t, autoComplete: this.autoComplete, autoFocus: this.autoFocus, class: "text-input__input", disabled: this.disabled, inputMode: this.mode, maxLength: this.maxLength, max: this.type === "number" ? this.max : void 0, min: this.type === "number" ? this.min : void 0, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.onInput, onKeyPress: this.onKeyPress, placeholder: Boolean(this.suffixLabel) ? void 0 : this.placeholder, ref: (p) => this.inputEl = p, required: this.required, role: this.swirlRole, rows: this.rows > 1 ? this.rows : this.autoGrow ? 1 : void 0, spellcheck: this.spellCheck, step: this.type === "number" ? this.step : void 0, type: o, value: this.value }, this.rows > 1 && this.value), this.suffixLabel && i("span", { class: "text-input__suffix" }, this.suffixLabel), a && i("button", { "aria-label": this.clearButtonLabel, class: "text-input__clear-button", onClick: this.clear, part: "text-input__clear-button", type: "button" }, i("swirl-icon-cancel", { size: this.iconSize })), r && i("button", { "aria-label": this.passwordToggleLabel, class: "text-input__password-toggle", onClick: this.togglePassword, type: "button" }, this.showPassword ? i("swirl-icon-visibility-off", { size: this.iconSize }) : i("swirl-icon-visibility", { size: this.iconSize })), e && i("span", { class: "text-input__stepper" }, i("button", { "aria-hidden": "true", class: "text-input__step-button", onClick: this.increaseValue, tabIndex: -1, type: "button" }, i("swirl-icon-expand-less", { size: this.iconSize })), i("button", { "aria-hidden": "true", class: "text-input__step-button", onClick: this.decreaseValue, tabIndex: -1, type: "button" }, i("swirl-icon-expand-more", { size: this.iconSize }))), this.showCharacterCounter && i("span", { class: "text-input__character-counter" }, ((u = this.value) == null ? void 0 : u.length) || 0, " ", Boolean(this.maxLength) ? `/ ${this.maxLength}` : "")));
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
b.style = w;
|
|
@@ -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.5a52a569.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";
|
package/dist/{swirl-theme-provider.entry.a1b01352.js → swirl-theme-provider.entry.6bebe112.js}
RENAMED
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
import { r as j, c as E, h as w, H } from "./index.
|
|
1
|
+
import { r as j, c as E, h as w, H } from "./index.5a52a569.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
function d(e, t,
|
|
5
|
-
return Math.min(Math.max(e,
|
|
4
|
+
function d(e, t, r) {
|
|
5
|
+
return Math.min(Math.max(e, r), t);
|
|
6
6
|
}
|
|
7
7
|
class P extends Error {
|
|
8
8
|
constructor(t) {
|
|
9
9
|
super(`Failed to parse color: "${t}"`);
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
var
|
|
12
|
+
var _ = P;
|
|
13
13
|
function C(e) {
|
|
14
14
|
if (typeof e != "string")
|
|
15
|
-
throw new
|
|
15
|
+
throw new _(e);
|
|
16
16
|
if (e.trim().toLowerCase() === "transparent")
|
|
17
17
|
return [0, 0, 0, 0];
|
|
18
18
|
let t = e.trim();
|
|
19
|
-
t =
|
|
20
|
-
const
|
|
21
|
-
if (
|
|
22
|
-
const
|
|
23
|
-
return [...
|
|
19
|
+
t = L.test(e) ? M(e) : e;
|
|
20
|
+
const r = A.exec(t);
|
|
21
|
+
if (r) {
|
|
22
|
+
const o = Array.from(r).slice(1);
|
|
23
|
+
return [...o.slice(0, 3).map((i) => parseInt(u(i, 2), 16)), parseInt(u(o[3] || "f", 2), 16) / 255];
|
|
24
24
|
}
|
|
25
25
|
const n = F.exec(t);
|
|
26
26
|
if (n) {
|
|
27
|
-
const
|
|
28
|
-
return [...
|
|
29
|
-
}
|
|
30
|
-
const r = R.exec(t);
|
|
31
|
-
if (r) {
|
|
32
|
-
const a = Array.from(r).slice(1);
|
|
33
|
-
return [...a.slice(0, 3).map((i) => parseInt(i, 10)), parseFloat(a[3] || "1")];
|
|
27
|
+
const o = Array.from(n).slice(1);
|
|
28
|
+
return [...o.slice(0, 3).map((i) => parseInt(i, 16)), parseInt(o[3] || "ff", 16) / 255];
|
|
34
29
|
}
|
|
35
|
-
const s =
|
|
30
|
+
const s = R.exec(t);
|
|
36
31
|
if (s) {
|
|
37
|
-
const
|
|
32
|
+
const o = Array.from(s).slice(1);
|
|
33
|
+
return [...o.slice(0, 3).map((i) => parseInt(i, 10)), parseFloat(o[3] || "1")];
|
|
34
|
+
}
|
|
35
|
+
const a = I.exec(t);
|
|
36
|
+
if (a) {
|
|
37
|
+
const [o, i, h, c] = Array.from(a).slice(1).map(parseFloat);
|
|
38
38
|
if (d(0, 100, i) !== i)
|
|
39
|
-
throw new
|
|
39
|
+
throw new _(e);
|
|
40
40
|
if (d(0, 100, h) !== h)
|
|
41
|
-
throw new
|
|
42
|
-
return [...
|
|
41
|
+
throw new _(e);
|
|
42
|
+
return [...S(o, i, h), c || 1];
|
|
43
43
|
}
|
|
44
|
-
throw new
|
|
44
|
+
throw new _(e);
|
|
45
45
|
}
|
|
46
46
|
function $(e) {
|
|
47
|
-
let t = 5381,
|
|
48
|
-
for (;
|
|
49
|
-
t = t * 33 ^ e.charCodeAt(--
|
|
47
|
+
let t = 5381, r = e.length;
|
|
48
|
+
for (; r; )
|
|
49
|
+
t = t * 33 ^ e.charCodeAt(--r);
|
|
50
50
|
return (t >>> 0) % 2341;
|
|
51
51
|
}
|
|
52
|
-
const
|
|
53
|
-
const
|
|
54
|
-
let
|
|
55
|
-
for (let
|
|
56
|
-
|
|
57
|
-
return e[
|
|
52
|
+
const z = (e) => parseInt(e.replace(/_/g, ""), 36), q = "1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e, t) => {
|
|
53
|
+
const r = z(t.substring(0, 3)), n = z(t.substring(3)).toString(16);
|
|
54
|
+
let s = "";
|
|
55
|
+
for (let a = 0; a < 6 - n.length; a++)
|
|
56
|
+
s += "0";
|
|
57
|
+
return e[r] = `${s}${n}`, e;
|
|
58
58
|
}, {});
|
|
59
59
|
function M(e) {
|
|
60
|
-
const t = e.toLowerCase().trim(),
|
|
61
|
-
if (!
|
|
62
|
-
throw new
|
|
63
|
-
return `#${
|
|
60
|
+
const t = e.toLowerCase().trim(), r = q[$(t)];
|
|
61
|
+
if (!r)
|
|
62
|
+
throw new _(e);
|
|
63
|
+
return `#${r}`;
|
|
64
64
|
}
|
|
65
|
-
const u = (e, t) => Array.from(Array(t)).map(() => e).join(""), A = new RegExp(`^#${u("([a-f0-9])", 3)}([a-f0-9])?$`, "i"), F = new RegExp(`^#${u("([a-f0-9]{2})", 3)}([a-f0-9]{2})?$`, "i"), R = new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${u(",\\s*(\\d+)\\s*", 2)}(?:,\\s*([\\d.]+))?\\s*\\)$`, "i"), I = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,
|
|
66
|
-
let n =
|
|
65
|
+
const u = (e, t) => Array.from(Array(t)).map(() => e).join(""), A = new RegExp(`^#${u("([a-f0-9])", 3)}([a-f0-9])?$`, "i"), F = new RegExp(`^#${u("([a-f0-9]{2})", 3)}([a-f0-9]{2})?$`, "i"), R = new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${u(",\\s*(\\d+)\\s*", 2)}(?:,\\s*([\\d.]+))?\\s*\\)$`, "i"), I = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i, L = /^[a-z]+$/i, T = (e) => Math.round(e * 255), S = (e, t, r) => {
|
|
66
|
+
let n = r / 100;
|
|
67
67
|
if (t === 0)
|
|
68
|
-
return [n, n, n].map(
|
|
69
|
-
const
|
|
68
|
+
return [n, n, n].map(T);
|
|
69
|
+
const s = (e % 360 + 360) % 360 / 60, a = (1 - Math.abs(2 * n - 1)) * (t / 100), o = a * (1 - Math.abs(s % 2 - 1));
|
|
70
70
|
let i = 0, h = 0, c = 0;
|
|
71
|
-
|
|
72
|
-
const l = n -
|
|
73
|
-
return [m,
|
|
71
|
+
s >= 0 && s < 1 ? (i = a, h = o) : s >= 1 && s < 2 ? (i = o, h = a) : s >= 2 && s < 3 ? (h = a, c = o) : s >= 3 && s < 4 ? (h = o, c = a) : s >= 4 && s < 5 ? (i = o, c = a) : s >= 5 && s < 6 && (i = a, c = o);
|
|
72
|
+
const l = n - a / 2, m = i + l, g = h + l, y = c + l;
|
|
73
|
+
return [m, g, y].map(T);
|
|
74
74
|
};
|
|
75
|
-
function
|
|
76
|
-
const [t,
|
|
77
|
-
if (
|
|
78
|
-
return [0, 0, i,
|
|
79
|
-
const h =
|
|
80
|
-
return [60 * (t ===
|
|
75
|
+
function v(e) {
|
|
76
|
+
const [t, r, n, s] = C(e).map((m, g) => g === 3 ? m : m / 255), a = Math.max(t, r, n), o = Math.min(t, r, n), i = (a + o) / 2;
|
|
77
|
+
if (a === o)
|
|
78
|
+
return [0, 0, i, s];
|
|
79
|
+
const h = a - o, c = i > 0.5 ? h / (2 - a - o) : h / (a + o);
|
|
80
|
+
return [60 * (t === a ? (r - n) / h + (r < n ? 6 : 0) : r === a ? (n - t) / h + 2 : (t - r) / h + 4), c, i, s];
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return `hsla(${(e % 360).toFixed()}, ${d(0, 100, t * 100).toFixed()}%, ${d(0, 100,
|
|
82
|
+
function f(e, t, r, n) {
|
|
83
|
+
return `hsla(${(e % 360).toFixed()}, ${d(0, 100, t * 100).toFixed()}%, ${d(0, 100, r * 100).toFixed()}%, ${parseFloat(d(0, 1, n).toFixed(3))})`;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
return `rgba(${d(0, 255, e).toFixed()}, ${d(0, 255, t).toFixed()}, ${d(0, 255,
|
|
85
|
+
function B(e, t, r, n) {
|
|
86
|
+
return `rgba(${d(0, 255, e).toFixed()}, ${d(0, 255, t).toFixed()}, ${d(0, 255, r).toFixed()}, ${parseFloat(d(0, 1, n).toFixed(3))})`;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
return
|
|
88
|
+
function p(e) {
|
|
89
|
+
return B(...C(e));
|
|
90
90
|
}
|
|
91
|
-
const
|
|
91
|
+
const D = ".sc-swirl-theme-provider-h{display:block}", x = "swirl-preferred-theme", b = {
|
|
92
92
|
"--s-action-primary-default": "primary",
|
|
93
93
|
"--s-action-primary-hovered": "primaryHovered",
|
|
94
94
|
"--s-action-primary-pressed": "primaryPressed",
|
|
@@ -104,7 +104,7 @@ const B = ".sc-swirl-theme-provider-h{display:block}", x = "swirl-preferred-them
|
|
|
104
104
|
"--s-interactive-primary-default": "text",
|
|
105
105
|
"--s-interactive-primary-hovered": "textHovered",
|
|
106
106
|
"--s-interactive-primary-pressed": "textPressed"
|
|
107
|
-
},
|
|
107
|
+
}, O = class {
|
|
108
108
|
constructor(e) {
|
|
109
109
|
j(this, e), this.themeChange = E(this, "themeChange", 7), this.config = void 0;
|
|
110
110
|
}
|
|
@@ -129,7 +129,11 @@ const B = ".sc-swirl-theme-provider-h{display:block}", x = "swirl-preferred-them
|
|
|
129
129
|
}
|
|
130
130
|
resolveConfig() {
|
|
131
131
|
var e, t;
|
|
132
|
-
this.resolvedConfig =
|
|
132
|
+
this.resolvedConfig = {
|
|
133
|
+
...this.config || {},
|
|
134
|
+
rootElement: ((e = this.config) == null ? void 0 : e.rootElement) || document.documentElement,
|
|
135
|
+
storage: ((t = this.config) == null ? void 0 : t.storage) || (window == null ? void 0 : window.localStorage)
|
|
136
|
+
};
|
|
133
137
|
}
|
|
134
138
|
determineOSTheme() {
|
|
135
139
|
if (!Boolean(window.matchMedia)) {
|
|
@@ -150,19 +154,27 @@ const B = ".sc-swirl-theme-provider-h{display:block}", x = "swirl-preferred-them
|
|
|
150
154
|
(!Boolean(this.recentThemeChangeEventData) || e.activeTheme !== this.recentThemeChangeEventData.activeTheme || e.preferredTheme !== this.recentThemeChangeEventData.preferredTheme) && (this.recentThemeChangeEventData = e, this.themeChange.emit(this.recentThemeChangeEventData));
|
|
151
155
|
}
|
|
152
156
|
updateTenantVariables() {
|
|
153
|
-
var
|
|
154
|
-
const
|
|
155
|
-
if (!Boolean(
|
|
157
|
+
var g;
|
|
158
|
+
const e = (g = this.resolvedConfig) == null ? void 0 : g.tenantColors;
|
|
159
|
+
if (!Boolean(e)) {
|
|
156
160
|
this.resetTenantVariables();
|
|
157
161
|
return;
|
|
158
162
|
}
|
|
159
|
-
const
|
|
160
|
-
|
|
163
|
+
const t = this.resolvedConfig.rootElement, r = v(e.primary), n = v(e.secondary), s = v(e.text), a = p(f(r[0], r[1] - 0.21, r[2] + 0.09, 1)), o = p(f(r[0], r[1] - 0.2, r[2] + 0.17, 1)), i = p(f(n[0], n[1], n[2] + 0.07, 1)), h = p(f(n[0], n[1], n[2] + 0.15, 1)), c = p(f(s[0], s[1] - 0.34, s[2] + 0.1, 1)), l = p(f(s[0], s[1] - 0.48, s[2] + 0.2, 1)), m = {
|
|
164
|
+
...e,
|
|
165
|
+
primaryHovered: a,
|
|
166
|
+
primaryPressed: o,
|
|
167
|
+
secondaryHovered: i,
|
|
168
|
+
secondaryPressed: h,
|
|
169
|
+
textHovered: c,
|
|
170
|
+
textPressed: l
|
|
171
|
+
};
|
|
172
|
+
Object.entries(b).forEach(([y, k]) => t.style.setProperty(y, m[k]));
|
|
161
173
|
}
|
|
162
174
|
resetTenantVariables() {
|
|
163
175
|
const e = this.resolvedConfig.rootElement;
|
|
164
176
|
[
|
|
165
|
-
...Object.keys(
|
|
177
|
+
...Object.keys(b),
|
|
166
178
|
"primaryHovered",
|
|
167
179
|
"primaryPressed",
|
|
168
180
|
"secondaryHovered",
|
|
@@ -180,7 +192,7 @@ const B = ".sc-swirl-theme-provider-h{display:block}", x = "swirl-preferred-them
|
|
|
180
192
|
};
|
|
181
193
|
}
|
|
182
194
|
};
|
|
183
|
-
|
|
195
|
+
O.style = D;
|
|
184
196
|
export {
|
|
185
|
-
|
|
197
|
+
O as swirl_theme_provider
|
|
186
198
|
};
|