@getflip/swirl-components-react 0.298.0 → 0.300.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.b9a13b72.js → file-manager.entry.631ff9e3.js} +4 -4
- package/dist/{index.712081f1.js → index.24a4f18e.js} +333 -333
- package/dist/{swirl-accordion-item.entry.d8eb173a.js → swirl-accordion-item.entry.4a147e2a.js} +3 -3
- package/dist/{swirl-accordion.entry.42384a31.js → swirl-accordion.entry.f81612bd.js} +2 -2
- package/dist/swirl-action-list-section.entry.f86a5ce2.js +15 -0
- package/dist/{swirl-action-list_2.entry.96ea0ef3.js → swirl-action-list_2.entry.ad530e88.js} +5 -5
- package/dist/{swirl-app-bar.entry.067859bb.js → swirl-app-bar.entry.f527ebd2.js} +1 -1
- package/dist/{swirl-app-icon.entry.bc36da49.js → swirl-app-icon.entry.5ac53854.js} +6 -6
- package/dist/{swirl-app-layout_5.entry.0235d885.js → swirl-app-layout_5.entry.d81d191c.js} +4 -4
- package/dist/{swirl-autocomplete.entry.b359d606.js → swirl-autocomplete.entry.8386d370.js} +1 -1
- package/dist/{swirl-avatar-group.entry.9d3d9e58.js → swirl-avatar-group.entry.dab8150e.js} +2 -2
- package/dist/{swirl-avatar.entry.5204c967.js → swirl-avatar.entry.45ffc97b.js} +13 -13
- package/dist/{swirl-badge.entry.a4894ee8.js → swirl-badge.entry.532966b2.js} +1 -1
- package/dist/{swirl-banner.entry.8fbec5e7.js → swirl-banner.entry.d2dbc4f9.js} +1 -1
- package/dist/{swirl-box.entry.3a71d8e5.js → swirl-box.entry.38124e4e.js} +1 -1
- package/dist/{swirl-button-group.entry.9357264a.js → swirl-button-group.entry.a134d250.js} +1 -1
- package/dist/{swirl-button.entry.b911e1a0.js → swirl-button.entry.ca6e899a.js} +1 -1
- package/dist/{swirl-card.entry.77b8c631.js → swirl-card.entry.eedcd60c.js} +1 -1
- package/dist/swirl-carousel-slide.entry.f6c189fc.js +19 -0
- package/dist/{swirl-carousel.entry.efa2be62.js → swirl-carousel.entry.f7f5b91f.js} +1 -1
- package/dist/{swirl-checkbox.entry.b9bf1d81.js → swirl-checkbox.entry.c559abd2.js} +1 -1
- package/dist/{swirl-chip.entry.7e63c5e1.js → swirl-chip.entry.28eba6ca.js} +1 -1
- package/dist/{swirl-color-input.entry.9ce4d69f.js → swirl-color-input.entry.1a7cb4f0.js} +3 -3
- package/dist/{swirl-columns.entry.4a265c3a.js → swirl-columns.entry.ef310131.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +44 -43
- package/dist/{swirl-console-layout.entry.bbd6a085.js → swirl-console-layout.entry.2f50d3f2.js} +2 -2
- package/dist/{swirl-date-input.entry.da937be1.js → swirl-date-input.entry.90348d24.js} +3 -3
- package/dist/{swirl-date-picker_2.entry.e878f62b.js → swirl-date-picker_2.entry.6dad861d.js} +6 -6
- package/dist/{swirl-description-list-item.entry.99c25899.js → swirl-description-list-item.entry.5eeb02b9.js} +3 -3
- package/dist/{swirl-description-list.entry.45b762d9.js → swirl-description-list.entry.aab0fe6b.js} +2 -2
- package/dist/{swirl-dialog.entry.5303b318.js → swirl-dialog.entry.14fd2d71.js} +1 -1
- package/dist/swirl-emoji-clap.entry.459e5544.js +17 -0
- package/dist/swirl-emoji-happy.entry.057cac2e.js +17 -0
- package/dist/swirl-emoji-idea.entry.b876d9ec.js +17 -0
- package/dist/swirl-emoji-love.entry.58e60be9.js +17 -0
- package/dist/swirl-emoji-sad.entry.3f6effda.js +17 -0
- package/dist/swirl-emoji-thumbs-up.entry.277d2acc.js +17 -0
- package/dist/swirl-emoji.entry.420b4454.js +16 -0
- package/dist/{swirl-file-uploader.entry.74e4d114.js → swirl-file-uploader.entry.5618006c.js} +4 -4
- package/dist/{swirl-file-viewer_8.entry.3d2e57ce.js → swirl-file-viewer_8.entry.c4b5967c.js} +8 -8
- package/dist/{swirl-form-control.entry.3aa728ef.js → swirl-form-control.entry.b15f17b5.js} +1 -1
- package/dist/{swirl-form-group.entry.a33d9bcb.js → swirl-form-group.entry.c14cbedc.js} +1 -1
- package/dist/{swirl-heading.entry.0dce6069.js → swirl-heading.entry.6cab06ec.js} +1 -1
- package/dist/{swirl-icon-add-moderator.entry.5035eb47.js → swirl-icon-add-moderator.entry.394eb41c.js} +6 -6
- package/dist/{swirl-icon-add-photo.entry.e5610724.js → swirl-icon-add-photo.entry.8283584d.js} +5 -5
- package/dist/{swirl-icon-add-reaction.entry.558d1906.js → swirl-icon-add-reaction.entry.e9bdd7a1.js} +5 -5
- package/dist/{swirl-icon-add_6.entry.8ee40642.js → swirl-icon-add_6.entry.d5e7f77e.js} +10 -10
- package/dist/{swirl-icon-admin-panel-settings.entry.c78c1095.js → swirl-icon-admin-panel-settings.entry.415e3f14.js} +7 -7
- package/dist/{swirl-icon-ai-filled.entry.a34706d6.js → swirl-icon-ai-filled.entry.619fea93.js} +7 -7
- package/dist/{swirl-icon-ai.entry.152a7a5e.js → swirl-icon-ai.entry.1103cdef.js} +7 -7
- package/dist/{swirl-icon-apps.entry.1e3e6b79.js → swirl-icon-apps.entry.c1fff7da.js} +8 -8
- package/dist/{swirl-icon-arrow-back_5.entry.f7999703.js → swirl-icon-arrow-back_5.entry.81d7eb8e.js} +13 -13
- package/dist/{swirl-icon-arrow-downward_2.entry.789a2259.js → swirl-icon-arrow-downward_2.entry.488eaf08.js} +10 -10
- package/dist/{swirl-icon-arrow-left_4.entry.9cf94c4d.js → swirl-icon-arrow-left_4.entry.b0991a52.js} +9 -9
- package/dist/{swirl-icon-arrow-right-small.entry.cbf09684.js → swirl-icon-arrow-right-small.entry.509e9a48.js} +8 -8
- package/dist/{swirl-icon-aspect-ratio.entry.c6437cfa.js → swirl-icon-aspect-ratio.entry.cee5bd5f.js} +7 -7
- package/dist/{swirl-icon-attachment.entry.d1034c61.js → swirl-icon-attachment.entry.3ea235cf.js} +6 -6
- package/dist/{swirl-icon-bar-chart.entry.a28f1e66.js → swirl-icon-bar-chart.entry.be2af306.js} +7 -7
- package/dist/{swirl-icon-block.entry.54a02c84.js → swirl-icon-block.entry.61e668b9.js} +4 -4
- package/dist/{swirl-icon-bookmark-filled.entry.e492f307.js → swirl-icon-bookmark-filled.entry.a5e88dde.js} +5 -5
- package/dist/{swirl-icon-bookmark.entry.c72d23f2.js → swirl-icon-bookmark.entry.abc1b086.js} +8 -8
- package/dist/{swirl-icon-cancel_4.entry.edb0d92c.js → swirl-icon-cancel_4.entry.eef4ee3a.js} +20 -20
- package/dist/{swirl-icon-chat-bubble.entry.34fba69c.js → swirl-icon-chat-bubble.entry.38deee6d.js} +5 -5
- package/dist/{swirl-icon-chats-filled.entry.9c3e2318.js → swirl-icon-chats-filled.entry.f53ddd74.js} +5 -5
- package/dist/{swirl-icon-chats.entry.1f41878d.js → swirl-icon-chats.entry.adabd874.js} +5 -5
- package/dist/{swirl-icon-check-circle_2.entry.a6f56c59.js → swirl-icon-check-circle_2.entry.d28df9ee.js} +7 -7
- package/dist/{swirl-icon-check-small_2.entry.ba791410.js → swirl-icon-check-small_2.entry.e9e2abc9.js} +2 -2
- package/dist/swirl-icon-check-strong_2.entry.99fa7f05.js +32 -0
- package/dist/{swirl-icon-check.entry.b81c3422.js → swirl-icon-check.entry.ea7fce54.js} +7 -7
- package/dist/{swirl-icon-chevron-left.entry.71ea439d.js → swirl-icon-chevron-left.entry.904409d2.js} +7 -7
- package/dist/{swirl-icon-chevron-right.entry.44c7b6cb.js → swirl-icon-chevron-right.entry.a85de290.js} +5 -5
- package/dist/{swirl-icon-close-small.entry.7a00ac86.js → swirl-icon-close-small.entry.1c50667f.js} +10 -10
- package/dist/{swirl-icon-close.entry.a3df57ab.js → swirl-icon-close.entry.b932f7ab.js} +7 -7
- package/dist/{swirl-icon-cloud-upload.entry.59e6a3c6.js → swirl-icon-cloud-upload.entry.fa9c9722.js} +5 -5
- package/dist/{swirl-icon-column.entry.f140c814.js → swirl-icon-column.entry.ed8c6b9f.js} +5 -5
- package/dist/{swirl-icon-comment.entry.7e661392.js → swirl-icon-comment.entry.533e4f73.js} +5 -5
- package/dist/{swirl-icon-contrast.entry.cf6631c6.js → swirl-icon-contrast.entry.ba9ff2f4.js} +9 -9
- package/dist/{swirl-icon-copy.entry.677c21be.js → swirl-icon-copy.entry.2aeb6d71.js} +8 -8
- package/dist/{swirl-icon-crop.entry.ac3e6ef2.js → swirl-icon-crop.entry.7d5bbb1e.js} +5 -5
- package/dist/{swirl-icon-dark-mode.entry.257ec689.js → swirl-icon-dark-mode.entry.034ffab6.js} +4 -4
- package/dist/{swirl-icon-date-range.entry.d28cd596.js → swirl-icon-date-range.entry.9deb7953.js} +5 -5
- package/dist/{swirl-icon-delete.entry.8b5176f1.js → swirl-icon-delete.entry.5648bf33.js} +5 -5
- package/dist/{swirl-icon-deployed-code.entry.96cceedb.js → swirl-icon-deployed-code.entry.de8e5c6b.js} +5 -5
- package/dist/{swirl-icon-description.entry.7269c2b9.js → swirl-icon-description.entry.433cd788.js} +7 -7
- package/dist/{swirl-icon-desktop.entry.0f398d93.js → swirl-icon-desktop.entry.c80940de.js} +9 -9
- package/dist/{swirl-icon-directory-filled.entry.07a4dee1.js → swirl-icon-directory-filled.entry.70b27394.js} +6 -6
- package/dist/{swirl-icon-directory.entry.5510fb27.js → swirl-icon-directory.entry.06a960e9.js} +5 -5
- package/dist/{swirl-icon-discover.entry.3805df39.js → swirl-icon-discover.entry.7f419234.js} +7 -7
- package/dist/{swirl-icon-dock-left.entry.2abf497d.js → swirl-icon-dock-left.entry.e701c7a1.js} +2 -2
- package/dist/{swirl-icon-door-open.entry.f953c91c.js → swirl-icon-door-open.entry.f5c6b345.js} +7 -7
- package/dist/{swirl-icon-dot.entry.a067ef77.js → swirl-icon-dot.entry.ae2e200c.js} +5 -5
- package/dist/{swirl-icon-double-arrow-right.entry.e7d15a94.js → swirl-icon-double-arrow-right.entry.b01d917d.js} +8 -8
- package/dist/{swirl-icon-download.entry.49ee6bc7.js → swirl-icon-download.entry.7a886d7b.js} +7 -7
- package/dist/{swirl-icon-edit.entry.42b4566e.js → swirl-icon-edit.entry.5a5eb5f9.js} +8 -8
- package/dist/{swirl-icon-emoji-mood.entry.f756c7f2.js → swirl-icon-emoji-mood.entry.c62718de.js} +6 -6
- package/dist/{swirl-icon-emoji-satisfied.entry.d3544e44.js → swirl-icon-emoji-satisfied.entry.7594ec91.js} +8 -8
- package/dist/{swirl-icon-error_3.entry.d5523f39.js → swirl-icon-error_3.entry.1c55335a.js} +2 -2
- package/dist/{swirl-icon-expand-more.entry.570a7855.js → swirl-icon-expand-more.entry.2623b712.js} +5 -5
- package/dist/{swirl-icon-experiment.entry.55836104.js → swirl-icon-experiment.entry.145e4677.js} +2 -2
- package/dist/{swirl-icon-file.entry.90d3e754.js → swirl-icon-file.entry.809fc672.js} +7 -7
- package/dist/{swirl-icon-filter.entry.37e2e5a5.js → swirl-icon-filter.entry.f82a7acd.js} +7 -7
- package/dist/{swirl-icon-folder.entry.7cebd867.js → swirl-icon-folder.entry.c5c94694.js} +6 -6
- package/dist/{swirl-icon-format-h-one.entry.56462ace.js → swirl-icon-format-h-one.entry.539e4257.js} +7 -7
- package/dist/{swirl-icon-gif_3.entry.c262ca92.js → swirl-icon-gif_3.entry.7090badc.js} +7 -7
- package/dist/{swirl-icon-group-add.entry.a9ac51cf.js → swirl-icon-group-add.entry.faa83fb8.js} +5 -5
- package/dist/{swirl-icon-group-assign.entry.53e139da.js → swirl-icon-group-assign.entry.71fcd316.js} +6 -6
- package/dist/{swirl-icon-groups-filled.entry.143d190f.js → swirl-icon-groups-filled.entry.3d719a73.js} +8 -8
- package/dist/{swirl-icon-groups.entry.d853ed94.js → swirl-icon-groups.entry.b75e324e.js} +8 -8
- package/dist/{swirl-icon-hamburger-menu.entry.4ebecbd2.js → swirl-icon-hamburger-menu.entry.22b1d7cc.js} +7 -7
- package/dist/{swirl-icon-help.entry.2b230d15.js → swirl-icon-help.entry.46dd8450.js} +5 -5
- package/dist/{swirl-icon-highlight.entry.3c483d94.js → swirl-icon-highlight.entry.24e808e7.js} +10 -10
- package/dist/{swirl-icon-history.entry.9e1dbc28.js → swirl-icon-history.entry.a53ae120.js} +6 -6
- package/dist/{swirl-icon-home.entry.06b79acb.js → swirl-icon-home.entry.0f28b9a4.js} +4 -4
- package/dist/{swirl-icon-image.entry.06115d4a.js → swirl-icon-image.entry.3d21f004.js} +5 -5
- package/dist/{swirl-icon-improve-text.entry.c1c9dd04.js → swirl-icon-improve-text.entry.259f902e.js} +8 -8
- package/dist/{swirl-icon-info.entry.cc8290aa.js → swirl-icon-info.entry.cf992cc0.js} +8 -8
- package/dist/{swirl-icon-insert-below.entry.13157c0a.js → swirl-icon-insert-below.entry.8f3ca420.js} +5 -5
- package/dist/{swirl-icon-insert-on-top.entry.3ba64ee5.js → swirl-icon-insert-on-top.entry.84754a42.js} +4 -4
- package/dist/{swirl-icon-inventory-off.entry.46420338.js → swirl-icon-inventory-off.entry.b2486198.js} +9 -9
- package/dist/{swirl-icon-inventory.entry.92253868.js → swirl-icon-inventory.entry.01c5472f.js} +2 -2
- package/dist/{swirl-icon-key.entry.9e061636.js → swirl-icon-key.entry.3b24be52.js} +7 -7
- package/dist/{swirl-icon-keyboard-hide.entry.1e920a18.js → swirl-icon-keyboard-hide.entry.b911d2b7.js} +4 -4
- package/dist/{swirl-icon-keyboard.entry.3171ff97.js → swirl-icon-keyboard.entry.dd71c5a0.js} +4 -4
- package/dist/{swirl-icon-light-mode.entry.73a34f63.js → swirl-icon-light-mode.entry.f49618c2.js} +5 -5
- package/dist/{swirl-icon-like.entry.9a44acda.js → swirl-icon-like.entry.79327d07.js} +6 -6
- package/dist/{swirl-icon-link.entry.8fe37f40.js → swirl-icon-link.entry.c937ea2c.js} +9 -9
- package/dist/{swirl-icon-live.entry.b6838439.js → swirl-icon-live.entry.fa762851.js} +7 -7
- package/dist/{swirl-icon-load.entry.216bc23c.js → swirl-icon-load.entry.ae6ba791.js} +6 -6
- package/dist/{swirl-icon-lock-open.entry.b4309948.js → swirl-icon-lock-open.entry.71c76937.js} +5 -5
- package/dist/{swirl-icon-lock-person.entry.1b0ca27d.js → swirl-icon-lock-person.entry.4d6965c8.js} +7 -7
- package/dist/{swirl-icon-lock.entry.d5b6e4ac.js → swirl-icon-lock.entry.2a8f4645.js} +7 -7
- package/dist/{swirl-icon-login.entry.63e2a699.js → swirl-icon-login.entry.b6dfb702.js} +7 -7
- package/dist/{swirl-icon-logout.entry.a91b905e.js → swirl-icon-logout.entry.79d6b369.js} +2 -2
- package/dist/{swirl-icon-long-text.entry.241e69d2.js → swirl-icon-long-text.entry.163ffeb9.js} +5 -5
- package/dist/{swirl-icon-mail.entry.7ba85eb7.js → swirl-icon-mail.entry.02dbd041.js} +4 -4
- package/dist/{swirl-icon-manage-accounts.entry.5f7b65d8.js → swirl-icon-manage-accounts.entry.e81c606d.js} +6 -6
- package/dist/{swirl-icon-mark-chat-read.entry.ce9bf2d7.js → swirl-icon-mark-chat-read.entry.f1f0595c.js} +4 -4
- package/dist/{swirl-icon-mark-chat-unread.entry.9ce3d4f3.js → swirl-icon-mark-chat-unread.entry.6cc94475.js} +8 -8
- package/dist/{swirl-icon-mention.entry.0ef82897.js → swirl-icon-mention.entry.3921af66.js} +7 -7
- package/dist/{swirl-icon-menu-book-filled.entry.436ddcff.js → swirl-icon-menu-book-filled.entry.07307894.js} +4 -4
- package/dist/{swirl-icon-menu-filled.entry.f5fe52b4.js → swirl-icon-menu-filled.entry.a89bf203.js} +7 -7
- package/dist/{swirl-icon-menu.entry.9ab38f6a.js → swirl-icon-menu.entry.c12d6942.js} +7 -7
- package/dist/{swirl-icon-message.entry.b5a18554.js → swirl-icon-message.entry.bdcc7a3d.js} +5 -5
- package/dist/{swirl-icon-mic-off.entry.b367b3f0.js → swirl-icon-mic-off.entry.eb3836cf.js} +4 -4
- package/dist/{swirl-icon-mic.entry.ffce364d.js → swirl-icon-mic.entry.d11a36be.js} +9 -9
- package/dist/{swirl-icon-more-horizontal.entry.d5a821a1.js → swirl-icon-more-horizontal.entry.adb399a2.js} +5 -5
- package/dist/{swirl-icon-news-filled.entry.46c0faf7.js → swirl-icon-news-filled.entry.83ddb792.js} +8 -8
- package/dist/{swirl-icon-news-off.entry.e55208ef.js → swirl-icon-news-off.entry.ed13de2e.js} +9 -9
- package/dist/{swirl-icon-news.entry.532ab1d8.js → swirl-icon-news.entry.0304ce5d.js} +8 -8
- package/dist/{swirl-icon-notifications-active.entry.7088a231.js → swirl-icon-notifications-active.entry.29751505.js} +2 -2
- package/dist/{swirl-icon-notifications-off.entry.f6d73d82.js → swirl-icon-notifications-off.entry.1c7979d8.js} +6 -6
- package/dist/{swirl-icon-notifications.entry.13bde37d.js → swirl-icon-notifications.entry.787a9951.js} +5 -5
- package/dist/{swirl-icon-open-in-full.entry.37438afe.js → swirl-icon-open-in-full.entry.39fe6747.js} +7 -7
- package/dist/{swirl-icon-open-in-new.entry.ce654819.js → swirl-icon-open-in-new.entry.68a8ab90.js} +8 -8
- package/dist/{swirl-icon-pause-circle.entry.4ac114f1.js → swirl-icon-pause-circle.entry.efd4ab39.js} +8 -8
- package/dist/{swirl-icon-people-alt.entry.003de598.js → swirl-icon-people-alt.entry.ffbd406b.js} +4 -4
- package/dist/{swirl-icon-person-off.entry.926a1f70.js → swirl-icon-person-off.entry.839888f5.js} +8 -8
- package/dist/{swirl-icon-person.entry.b3486aec.js → swirl-icon-person.entry.9074cd8e.js} +2 -2
- package/dist/{swirl-icon-phone.entry.3aa989fc.js → swirl-icon-phone.entry.8825cb3b.js} +8 -8
- package/dist/{swirl-icon-photo-camera.entry.21843959.js → swirl-icon-photo-camera.entry.73d3378d.js} +4 -4
- package/dist/{swirl-icon-pin-off.entry.873d8ca2.js → swirl-icon-pin-off.entry.62e96091.js} +8 -8
- package/dist/{swirl-icon-pin.entry.01a40ea2.js → swirl-icon-pin.entry.9e465602.js} +5 -5
- package/dist/{swirl-icon-place.entry.65be9ea8.js → swirl-icon-place.entry.df3feb10.js} +4 -4
- package/dist/{swirl-icon-poll.entry.57f8c1ea.js → swirl-icon-poll.entry.17877137.js} +3 -3
- package/dist/{swirl-icon-post-approval.entry.eaa4c9dd.js → swirl-icon-post-approval.entry.8fe3ef82.js} +9 -9
- package/dist/{swirl-icon-present.entry.2f37cbb3.js → swirl-icon-present.entry.ee4c86f5.js} +5 -5
- package/dist/{swirl-icon-print.entry.a5441d2d.js → swirl-icon-print.entry.31788324.js} +5 -5
- package/dist/{swirl-icon-public-off.entry.d5da1304.js → swirl-icon-public-off.entry.0ec79675.js} +8 -8
- package/dist/{swirl-icon-public.entry.099b0022.js → swirl-icon-public.entry.f2c6a469.js} +9 -9
- package/dist/{swirl-icon-ratio-four-to-three.entry.467b5d62.js → swirl-icon-ratio-four-to-three.entry.90f86203.js} +7 -7
- package/dist/{swirl-icon-ratio-freeform.entry.c0b9da22.js → swirl-icon-ratio-freeform.entry.7e4c11fa.js} +8 -8
- package/dist/{swirl-icon-ratio-sixteen-to-nine.entry.80a46e76.js → swirl-icon-ratio-sixteen-to-nine.entry.f0da3322.js} +5 -5
- package/dist/{swirl-icon-ratio-square.entry.ffbc1ef8.js → swirl-icon-ratio-square.entry.0b0053f5.js} +8 -8
- package/dist/{swirl-icon-ratio-three-to-four.entry.03041ac1.js → swirl-icon-ratio-three-to-four.entry.35af88ea.js} +6 -6
- package/dist/{swirl-icon-ratio-three-to-two.entry.56876eb7.js → swirl-icon-ratio-three-to-two.entry.89b6ae3d.js} +6 -6
- package/dist/{swirl-icon-recieved.entry.2280bd0f.js → swirl-icon-recieved.entry.57441e3d.js} +9 -9
- package/dist/{swirl-icon-remove-circle.entry.c7107ad0.js → swirl-icon-remove-circle.entry.38baf46c.js} +9 -9
- package/dist/{swirl-icon-remove-moderator.entry.a3c429b5.js → swirl-icon-remove-moderator.entry.5fca8639.js} +7 -7
- package/dist/{swirl-icon-reply.entry.6ed466e9.js → swirl-icon-reply.entry.27904987.js} +4 -4
- package/dist/{swirl-icon-report.entry.491ddfa8.js → swirl-icon-report.entry.b04b207f.js} +8 -8
- package/dist/{swirl-icon-roadmap.entry.b7166dac.js → swirl-icon-roadmap.entry.003f34a4.js} +5 -5
- package/dist/{swirl-icon-rotate-left.entry.57b61412.js → swirl-icon-rotate-left.entry.3af3073e.js} +2 -2
- package/dist/{swirl-icon-rotate-right.entry.cace04c8.js → swirl-icon-rotate-right.entry.7ad63a6a.js} +5 -5
- package/dist/{swirl-icon-screenshare-off.entry.0668c42f.js → swirl-icon-screenshare-off.entry.5d102f87.js} +7 -7
- package/dist/{swirl-icon-screenshare.entry.f7a9449c.js → swirl-icon-screenshare.entry.10d0ded0.js} +5 -5
- package/dist/{swirl-icon-search-strong.entry.a431add9.js → swirl-icon-search-strong.entry.85d196a2.js} +5 -5
- package/dist/{swirl-icon-search.entry.3aa4693d.js → swirl-icon-search.entry.445b36cb.js} +2 -2
- package/dist/{swirl-icon-secure.entry.b4ee3106.js → swirl-icon-secure.entry.a10ff037.js} +7 -7
- package/dist/{swirl-icon-send.entry.438aa363.js → swirl-icon-send.entry.2fc0b8ff.js} +8 -8
- package/dist/{swirl-icon-settings.entry.bc158b29.js → swirl-icon-settings.entry.bab24757.js} +5 -5
- package/dist/{swirl-icon-short-text.entry.3a905d24.js → swirl-icon-short-text.entry.b4d55507.js} +5 -5
- package/dist/{swirl-icon-simplify.entry.3f3741b0.js → swirl-icon-simplify.entry.a1fa4af8.js} +7 -7
- package/dist/{swirl-icon-spellcheck.entry.370daa42.js → swirl-icon-spellcheck.entry.1b41f4a1.js} +9 -9
- package/dist/{swirl-icon-stars.entry.1aee13be.js → swirl-icon-stars.entry.7b03d8af.js} +9 -9
- package/dist/{swirl-icon-stop-circle.entry.14e8362f.js → swirl-icon-stop-circle.entry.4e104d68.js} +8 -8
- package/dist/{swirl-icon-stop.entry.45ed5586.js → swirl-icon-stop.entry.737b622c.js} +10 -10
- package/dist/{swirl-icon-sync.entry.85d9f71c.js → swirl-icon-sync.entry.118bf3d3.js} +10 -10
- package/dist/{swirl-icon-tasks-filled.entry.f0843b91.js → swirl-icon-tasks-filled.entry.30788682.js} +10 -10
- package/dist/{swirl-icon-tasks.entry.f899e681.js → swirl-icon-tasks.entry.dd0eb2d7.js} +5 -5
- package/dist/{swirl-icon-terminal.entry.6a4439c5.js → swirl-icon-terminal.entry.8c281e5a.js} +6 -6
- package/dist/{swirl-icon-time-filled.entry.35498ddc.js → swirl-icon-time-filled.entry.a58528e9.js} +2 -2
- package/dist/{swirl-icon-time.entry.53e0323a.js → swirl-icon-time.entry.38c935e6.js} +5 -5
- package/dist/{swirl-icon-today-filled.entry.c65f2f00.js → swirl-icon-today-filled.entry.30c2a7a3.js} +8 -8
- package/dist/{swirl-icon-translate.entry.ff7f8ee3.js → swirl-icon-translate.entry.35ba1c06.js} +6 -6
- package/dist/{swirl-icon-tree-structure.entry.7722a6a6.js → swirl-icon-tree-structure.entry.a212add2.js} +2 -2
- package/dist/{swirl-icon-undo.entry.0c3fecf3.js → swirl-icon-undo.entry.923ee525.js} +5 -5
- package/dist/{swirl-icon-unlock-person.entry.1e114bbe.js → swirl-icon-unlock-person.entry.2d8db696.js} +10 -10
- package/dist/{swirl-icon-user-add.entry.fab5a4c6.js → swirl-icon-user-add.entry.77b5cce2.js} +7 -7
- package/dist/{swirl-icon-user-assign.entry.93360e7d.js → swirl-icon-user-assign.entry.291e2dc4.js} +8 -8
- package/dist/{swirl-icon-video-camera-off.entry.04c6e4da.js → swirl-icon-video-camera-off.entry.fddc6296.js} +7 -7
- package/dist/{swirl-icon-video-camera.entry.65f3eed9.js → swirl-icon-video-camera.entry.b93bb624.js} +5 -5
- package/dist/{swirl-icon-video-library.entry.b2fbe789.js → swirl-icon-video-library.entry.17d55d9c.js} +8 -8
- package/dist/{swirl-icon-video-player.entry.e2765c65.js → swirl-icon-video-player.entry.22458a0e.js} +8 -8
- package/dist/{swirl-icon-voice.entry.44d1277d.js → swirl-icon-voice.entry.9db013a6.js} +4 -4
- package/dist/{swirl-icon-web-asset-off.entry.443b64aa.js → swirl-icon-web-asset-off.entry.6d0aa7de.js} +8 -8
- package/dist/{swirl-icon-web-asset.entry.aa02ab01.js → swirl-icon-web-asset.entry.2da6a5ee.js} +5 -5
- package/dist/{swirl-icon-work.entry.a5c174dc.js → swirl-icon-work.entry.6cd667c3.js} +7 -7
- package/dist/{swirl-icon.entry.a055d375.js → swirl-icon.entry.04f2f3e6.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.74a2f1cf.js → swirl-image-grid-item.entry.3955266d.js} +1 -1
- package/dist/{swirl-image-grid.entry.c15aefb2.js → swirl-image-grid.entry.ea67aebc.js} +7 -7
- package/dist/{swirl-inline-notification.entry.309df1d8.js → swirl-inline-notification.entry.5ce7b189.js} +1 -1
- package/dist/{swirl-inline-status.entry.fac77f55.js → swirl-inline-status.entry.26d8b5f7.js} +1 -1
- package/dist/{swirl-lightbox.entry.71bcacec.js → swirl-lightbox.entry.916be9c4.js} +5 -4
- package/dist/{swirl-link.entry.22abdb2c.js → swirl-link.entry.ba862914.js} +1 -1
- package/dist/{swirl-list.entry.e0d33c27.js → swirl-list.entry.067d9883.js} +2 -2
- package/dist/{swirl-menu-item.entry.6eb0990c.js → swirl-menu-item.entry.9a9ebcbf.js} +2 -2
- package/dist/{swirl-menu.entry.8899fb28.js → swirl-menu.entry.6e75f849.js} +1 -1
- package/dist/{swirl-modal.entry.50443cfe.js → swirl-modal.entry.592872a3.js} +1 -1
- package/dist/swirl-option-list-section.entry.b81ffd91.js +15 -0
- package/dist/{swirl-option-list_2.entry.f915c2a0.js → swirl-option-list_2.entry.ec64d485.js} +3 -3
- package/dist/{swirl-pagination.entry.ab83fba8.js → swirl-pagination.entry.0ae161dc.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.d525d3e7.js → swirl-pdf-reader.entry.c03a250b.js} +7 -7
- package/dist/{swirl-popover_2.entry.5a1fff43.js → swirl-popover_2.entry.4b99e67d.js} +2 -2
- package/dist/{swirl-progress-indicator.entry.e1bf8b62.js → swirl-progress-indicator.entry.1b28ff97.js} +1 -1
- package/dist/{swirl-radio-group.entry.2af07328.js → swirl-radio-group.entry.0126b011.js} +2 -2
- package/dist/{swirl-radio.entry.22117d53.js → swirl-radio.entry.6af49515.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.955520b0.js → swirl-resource-list-file-item.entry.23f21404.js} +2 -2
- package/dist/swirl-resource-list-section.entry.563696d2.js +15 -0
- package/dist/{swirl-search.entry.3c4e39d4.js → swirl-search.entry.84d8851d.js} +1 -1
- package/dist/{swirl-select.entry.e6d4a917.js → swirl-select.entry.e00d21fa.js} +3 -3
- package/dist/{swirl-separator.entry.933173b2.js → swirl-separator.entry.135c8687.js} +1 -1
- package/dist/{swirl-shell-layout.entry.c28c4018.js → swirl-shell-layout.entry.77515a4c.js} +5 -5
- package/dist/{swirl-shell-navigation-item.entry.5b3b454c.js → swirl-shell-navigation-item.entry.e572ee9c.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.ecd20d31.js → swirl-skeleton-box.entry.b9d7eba4.js} +5 -5
- package/dist/{swirl-skeleton-text.entry.5d57cfcf.js → swirl-skeleton-text.entry.9ba8b7fb.js} +1 -1
- package/dist/{swirl-stack.entry.a4cb13cf.js → swirl-stack.entry.9e1e12c3.js} +1 -1
- package/dist/{swirl-status-indicator.entry.b18dd0e9.js → swirl-status-indicator.entry.e150423a.js} +1 -1
- package/dist/{swirl-switch.entry.b165d5f5.js → swirl-switch.entry.58a07ed3.js} +1 -1
- package/dist/{swirl-symbol-account-circle.entry.ab5fb32a.js → swirl-symbol-account-circle.entry.3f61a4bf.js} +2 -2
- package/dist/{swirl-symbol-alternate-email.entry.0296e129.js → swirl-symbol-alternate-email.entry.ffbd474f.js} +4 -4
- package/dist/{swirl-symbol-android.entry.1d5bd023.js → swirl-symbol-android.entry.f659c475.js} +4 -4
- package/dist/{swirl-symbol-announcement.entry.f41d8377.js → swirl-symbol-announcement.entry.6f46380f.js} +7 -7
- package/dist/{swirl-symbol-backup.entry.45035acd.js → swirl-symbol-backup.entry.b0ca95b5.js} +7 -7
- package/dist/{swirl-symbol-beach-access.entry.ab822e8e.js → swirl-symbol-beach-access.entry.41820c2b.js} +7 -7
- package/dist/swirl-symbol-bookmark.entry.e652203d.js +17 -0
- package/dist/{swirl-symbol-cloud.entry.94736400.js → swirl-symbol-cloud.entry.944ae5f7.js} +5 -5
- package/dist/{swirl-symbol-coronavirus.entry.4cc5c59c.js → swirl-symbol-coronavirus.entry.c67c1611.js} +7 -7
- package/dist/{swirl-symbol-desktop-windows.entry.e6b7b159.js → swirl-symbol-desktop-windows.entry.5cc801ee.js} +5 -5
- package/dist/{swirl-symbol-directions-car-filled.entry.6c0805f7.js → swirl-symbol-directions-car-filled.entry.d4af0c55.js} +3 -3
- package/dist/{swirl-symbol-edit-calendar.entry.82dc4f61.js → swirl-symbol-edit-calendar.entry.1666d98a.js} +2 -2
- package/dist/{swirl-symbol-email.entry.adfa70e5.js → swirl-symbol-email.entry.fc7c4cb6.js} +2 -2
- package/dist/{swirl-symbol-emoji-food-beverage.entry.45a51b4f.js → swirl-symbol-emoji-food-beverage.entry.f9176f83.js} +2 -2
- package/dist/{swirl-symbol-event-menu.entry.90c330de.js → swirl-symbol-event-menu.entry.a4172913.js} +2 -2
- package/dist/{swirl-symbol-facebook.entry.91661fc5.js → swirl-symbol-facebook.entry.4be36d05.js} +7 -7
- package/dist/{swirl-symbol-favorite.entry.f4947af6.js → swirl-symbol-favorite.entry.57c0dfe5.js} +4 -4
- package/dist/{swirl-symbol-fitness-center.entry.a6d50e55.js → swirl-symbol-fitness-center.entry.55176676.js} +2 -2
- package/dist/{swirl-symbol-flag.entry.c441f1db.js → swirl-symbol-flag.entry.21e7b029.js} +6 -6
- package/dist/{swirl-symbol-folder.entry.8223e2ec.js → swirl-symbol-folder.entry.a1b4d499.js} +5 -5
- package/dist/{swirl-symbol-globe.entry.d736e576.js → swirl-symbol-globe.entry.fb54d674.js} +2 -2
- package/dist/{swirl-symbol-groups.entry.2d018bcb.js → swirl-symbol-groups.entry.83c23598.js} +9 -9
- package/dist/{swirl-symbol-help.entry.c2dcd7c3.js → swirl-symbol-help.entry.21307913.js} +5 -5
- package/dist/{swirl-symbol-image.entry.e791e7c9.js → swirl-symbol-image.entry.548e7315.js} +7 -7
- package/dist/{swirl-symbol-info-menu.entry.1155fb75.js → swirl-symbol-info-menu.entry.70f83acf.js} +5 -5
- package/dist/{swirl-symbol-instagram.entry.7b653f47.js → swirl-symbol-instagram.entry.7faaeaa8.js} +4 -4
- package/dist/{swirl-symbol-ios.entry.4efb9833.js → swirl-symbol-ios.entry.2b6f0858.js} +3 -3
- package/dist/{swirl-symbol-language.entry.dad56202.js → swirl-symbol-language.entry.5f76cee4.js} +5 -5
- package/dist/{swirl-symbol-leaderboard.entry.e6aadbfd.js → swirl-symbol-leaderboard.entry.d1af35cf.js} +2 -2
- package/dist/{swirl-symbol-lightbulb.entry.3b340da8.js → swirl-symbol-lightbulb.entry.20519aa6.js} +4 -4
- package/dist/{swirl-symbol-linkedin.entry.828e3d43.js → swirl-symbol-linkedin.entry.8eb937b9.js} +7 -7
- package/dist/{swirl-symbol-location-on.entry.e5ae886f.js → swirl-symbol-location-on.entry.58da43fa.js} +7 -7
- package/dist/{swirl-symbol-loyalty.entry.d000a943.js → swirl-symbol-loyalty.entry.cdb6660e.js} +4 -4
- package/dist/{swirl-symbol-maps-home-work.entry.506a2adf.js → swirl-symbol-maps-home-work.entry.c3498be0.js} +4 -4
- package/dist/{swirl-symbol-notifications.entry.5e0625a2.js → swirl-symbol-notifications.entry.609df9a9.js} +2 -2
- package/dist/{swirl-symbol-open-in-new.entry.7f151638.js → swirl-symbol-open-in-new.entry.815159ef.js} +2 -2
- package/dist/{swirl-symbol-pedal-bike.entry.7e3925e7.js → swirl-symbol-pedal-bike.entry.84aa4998.js} +4 -4
- package/dist/{swirl-symbol-pinterest.entry.87da39e2.js → swirl-symbol-pinterest.entry.6145c979.js} +2 -2
- package/dist/{swirl-symbol-policy.entry.07d62bb4.js → swirl-symbol-policy.entry.211386af.js} +5 -5
- package/dist/{swirl-symbol-push-pin.entry.7c38377c.js → swirl-symbol-push-pin.entry.4bb5de57.js} +5 -5
- package/dist/{swirl-symbol-redeem.entry.55195f57.js → swirl-symbol-redeem.entry.0755a2ca.js} +5 -5
- package/dist/{swirl-symbol-report-problem.entry.8b76d624.js → swirl-symbol-report-problem.entry.1570a7fc.js} +5 -5
- package/dist/{swirl-symbol-restaurant.entry.d6c08b6a.js → swirl-symbol-restaurant.entry.a7e13cab.js} +6 -6
- package/dist/swirl-symbol-roadmap.entry.7d19f2b8.js +17 -0
- package/dist/{swirl-symbol-room.entry.f003d3ab.js → swirl-symbol-room.entry.d92c959f.js} +6 -6
- package/dist/{swirl-symbol-savings.entry.c699a8c2.js → swirl-symbol-savings.entry.2a22b03c.js} +4 -4
- package/dist/{swirl-symbol-settings-voice.entry.26871740.js → swirl-symbol-settings-voice.entry.377c1afa.js} +2 -2
- package/dist/{swirl-symbol-shopping-cart.entry.23ad0041.js → swirl-symbol-shopping-cart.entry.ee9c2421.js} +2 -2
- package/dist/{swirl-symbol-smartphone.entry.d10c650f.js → swirl-symbol-smartphone.entry.cbf5881e.js} +2 -2
- package/dist/{swirl-symbol-star.entry.b4a6b757.js → swirl-symbol-star.entry.a4d3fa1c.js} +2 -2
- package/dist/{swirl-symbol-supervisor-account.entry.6bf7f6f6.js → swirl-symbol-supervisor-account.entry.eaab62ce.js} +5 -5
- package/dist/{swirl-symbol-thumbs-up-down.entry.2dfed080.js → swirl-symbol-thumbs-up-down.entry.68600a4a.js} +8 -8
- package/dist/{swirl-symbol-twitter.entry.79f7faef.js → swirl-symbol-twitter.entry.836f563b.js} +5 -5
- package/dist/{swirl-symbol-wb-sunny.entry.190f933e.js → swirl-symbol-wb-sunny.entry.85ce5431.js} +5 -5
- package/dist/{swirl-symbol-wechat.entry.7f06f7d7.js → swirl-symbol-wechat.entry.9a0a9500.js} +7 -7
- package/dist/{swirl-symbol-weibo.entry.75cbda61.js → swirl-symbol-weibo.entry.5a01032c.js} +2 -2
- package/dist/{swirl-symbol-work.entry.ca9638a2.js → swirl-symbol-work.entry.ebab5f89.js} +2 -2
- package/dist/{swirl-symbol-xing.entry.7449503d.js → swirl-symbol-xing.entry.20618435.js} +5 -5
- package/dist/{swirl-symbol-youtube.entry.486f9160.js → swirl-symbol-youtube.entry.74f9b446.js} +5 -5
- package/dist/swirl-symbol.entry.e7234475.js +16 -0
- package/dist/{swirl-tab-bar.entry.8c7e592c.js → swirl-tab-bar.entry.ac494adf.js} +1 -1
- package/dist/{swirl-tab.entry.4064d7b1.js → swirl-tab.entry.fac5e36a.js} +1 -1
- package/dist/{swirl-table-cell.entry.1eb4526f.js → swirl-table-cell.entry.dd672cb1.js} +2 -2
- package/dist/{swirl-table-column.entry.3f174ce8.js → swirl-table-column.entry.830f8142.js} +2 -2
- package/dist/{swirl-table-row-group.entry.ffdeb769.js → swirl-table-row-group.entry.51790d52.js} +7 -7
- package/dist/swirl-table-row.entry.445fe191.js +27 -0
- package/dist/swirl-table.entry.0dbfce59.js +306 -0
- package/dist/{swirl-tabs.entry.1edc5c5d.js → swirl-tabs.entry.3a3a6c5b.js} +8 -8
- package/dist/{swirl-text-input.entry.5e7b93d4.js → swirl-text-input.entry.34b5df20.js} +1 -1
- package/dist/{swirl-text.entry.d1d93c15.js → swirl-text.entry.e0549688.js} +2 -2
- package/dist/{swirl-theme-provider.entry.a10286ed.js → swirl-theme-provider.entry.63b1378b.js} +2 -2
- package/dist/{swirl-time-input.entry.fa5a6f15.js → swirl-time-input.entry.4c885c2b.js} +2 -2
- package/dist/{swirl-toast-provider.entry.65e4eb5d.js → swirl-toast-provider.entry.b4a3bc61.js} +6 -6
- package/dist/{swirl-toast.entry.8a27a657.js → swirl-toast.entry.5fabebe0.js} +6 -6
- package/dist/{swirl-toggle-button.entry.ebf8a112.js → swirl-toggle-button.entry.4eca1c12.js} +2 -2
- package/dist/{swirl-toggle-group.entry.18201c94.js → swirl-toggle-group.entry.3943ef35.js} +2 -2
- package/dist/{swirl-toolbar.entry.e8e08487.js → swirl-toolbar.entry.095c4bf2.js} +2 -2
- package/dist/{swirl-tooltip.entry.925f3864.js → swirl-tooltip.entry.cee32bd8.js} +7 -7
- package/dist/{swirl-tree-navigation-item.entry.a4c2012d.js → swirl-tree-navigation-item.entry.3ab8f5c4.js} +4 -4
- package/dist/{swirl-tree-navigation.entry.f16b6cde.js → swirl-tree-navigation.entry.d52d39c1.js} +2 -2
- package/dist/{swirl-tree-view-item.entry.effa7d8d.js → swirl-tree-view-item.entry.58f94c76.js} +5 -5
- package/dist/{swirl-tree-view.entry.a177238b.js → swirl-tree-view.entry.ff9b7344.js} +15 -15
- package/dist/{swirl-video-thumbnail.entry.85316071.js → swirl-video-thumbnail.entry.891d6f17.js} +2 -2
- package/dist/swirl-visually-hidden.entry.b5d5d105.js +15 -0
- package/dist/{wc-datepicker.entry.aa69b43a.js → wc-datepicker.entry.09c9a016.js} +1 -1
- package/package.json +2 -2
- package/dist/swirl-action-list-section.entry.c68a7e18.js +0 -15
- package/dist/swirl-carousel-slide.entry.26f730d0.js +0 -19
- package/dist/swirl-emoji-clap.entry.26247af3.js +0 -17
- package/dist/swirl-emoji-happy.entry.e5be3b84.js +0 -17
- package/dist/swirl-emoji-idea.entry.d56bc484.js +0 -17
- package/dist/swirl-emoji-love.entry.6fe7e5b8.js +0 -17
- package/dist/swirl-emoji-sad.entry.480df14c.js +0 -17
- package/dist/swirl-emoji-thumbs-up.entry.a3a00dd3.js +0 -17
- package/dist/swirl-emoji.entry.f3e1f26d.js +0 -16
- package/dist/swirl-icon-check-strong_2.entry.eb4ae3b7.js +0 -32
- package/dist/swirl-option-list-section.entry.416878a3.js +0 -15
- package/dist/swirl-resource-list-section.entry.9d8951f9.js +0 -15
- package/dist/swirl-symbol-bookmark.entry.53e6cd9c.js +0 -17
- package/dist/swirl-symbol-roadmap.entry.57547b99.js +0 -17
- package/dist/swirl-symbol.entry.d27f0a4a.js +0 -16
- package/dist/swirl-table-row.entry.66b66f23.js +0 -27
- package/dist/swirl-table.entry.13842c4b.js +0 -178
- package/dist/swirl-visually-hidden.entry.edd0aeec.js +0 -15
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import { r as v, c as C, h as a, H as D, g as S } from "./index.24a4f18e.js";
|
|
2
|
+
import { c as x } from "./index-267776a4.6beb4f4b.js";
|
|
3
|
+
import { S as _ } from "./sortable.esm-0bfddf0c.953ca6a6.js";
|
|
4
|
+
import { d as R, i as p, q as k } from "./utils-877a768f.c277f897.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
var L = function(t) {
|
|
8
|
+
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = void 0, s = void 0, n = void 0, l = [];
|
|
9
|
+
return function() {
|
|
10
|
+
var f = O(r), b = new Date().getTime(), m = !o || b - o > f;
|
|
11
|
+
o = b;
|
|
12
|
+
for (var g = arguments.length, d = Array(g), c = 0; c < g; c++)
|
|
13
|
+
d[c] = arguments[c];
|
|
14
|
+
if (m && i.leading)
|
|
15
|
+
return i.accumulate ? Promise.resolve(t.call(this, [d])).then(function(u) {
|
|
16
|
+
return u[0];
|
|
17
|
+
}) : Promise.resolve(t.call.apply(t, [this].concat(d)));
|
|
18
|
+
if (s ? clearTimeout(n) : s = T(), l.push(d), n = setTimeout(y.bind(this), f), i.accumulate) {
|
|
19
|
+
var w = l.length - 1;
|
|
20
|
+
return s.promise.then(function(u) {
|
|
21
|
+
return u[w];
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
return s.promise;
|
|
25
|
+
};
|
|
26
|
+
function y() {
|
|
27
|
+
var h = s;
|
|
28
|
+
clearTimeout(n), Promise.resolve(i.accumulate ? t.call(this, l) : t.apply(this, l[l.length - 1])).then(h.resolve, h.reject), l = [], s = null;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
function O(e) {
|
|
32
|
+
return typeof e == "function" ? e() : e;
|
|
33
|
+
}
|
|
34
|
+
function T() {
|
|
35
|
+
var e = {};
|
|
36
|
+
return e.promise = new Promise(function(t, r) {
|
|
37
|
+
e.resolve = t, e.reject = r;
|
|
38
|
+
}), e;
|
|
39
|
+
}
|
|
40
|
+
const A = `.sc-swirl-table-h{position:relative;display:block}.sc-swirl-table-h *.sc-swirl-table{box-sizing:border-box}.table--keyboard-move.sc-swirl-table:focus-within{--swirl-table-moving-row-border:var(--s-border-width-default) solid
|
|
41
|
+
var(--s-border-highlight)}.table__container.sc-swirl-table{position:relative;overflow:auto;width:100%}.table__container--scrolled.sc-swirl-table{--swirl-table-sticky-right-shadow:4px 0 16px -4px rgba(23, 23, 23, 0.04),
|
|
42
|
+
2px 0 4px -2px rgba(23, 23, 23, 0.04)}.table__container--scrollable.sc-swirl-table:not(.table__container--scrolled-to-end){--swirl-table-sticky-left-shadow:0px 4px 16px 0px rgba(23, 23, 23, 0.04),
|
|
43
|
+
0px 1px 4px 0px rgba(23, 23, 23, 0.04)}.table__table.sc-swirl-table{width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:max(20rem, 100%)}.table__header.sc-swirl-table-s>*,.table__header .sc-swirl-table-s>*{display:flex}.table__empty-row.sc-swirl-table{display:flex}.table__empty-row-cell.sc-swirl-table{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)}.table__empty-row-cell.sc-swirl-table>*.sc-swirl-table{flex-grow:1}`, I = A, q = {
|
|
44
|
+
end: "Dropped. Final position in table: {position} of {rowCount}.",
|
|
45
|
+
initial: "Press space to move the row.",
|
|
46
|
+
moved: "Current position in table: {position} of {rowCount}.",
|
|
47
|
+
start: "Row grabbed. Current position in table: {position} of {rowCount}. Press up and down arrow keys to change position, Space to drop."
|
|
48
|
+
}, K = class {
|
|
49
|
+
constructor(e) {
|
|
50
|
+
v(this, e), this.dropRow = C(this, "dropRow", 7), this.triggerRerender = R(async () => {
|
|
51
|
+
await this.updateLayout(), this.updateEmptyState();
|
|
52
|
+
}, 0, !0), this.updateLayout = L(async () => {
|
|
53
|
+
this.resetCellStyles(), this.resetColumnStyles(), this.resetEmptyRowStyles(), this.resetRowGroupStyles(), this.layoutEmptyRow(), this.layoutRowGroups(), this.layOutCellsAndColumns(), this.updateScrolledState();
|
|
54
|
+
}, 16, { leading: !0 }), this.onScroll = () => {
|
|
55
|
+
this.updateScrolledState();
|
|
56
|
+
}, this.onSlotChange = async () => {
|
|
57
|
+
await this.updateLayout(), this.updateEmptyState(), this.setupDragDrop();
|
|
58
|
+
}, this.onFocus = (t) => {
|
|
59
|
+
var i;
|
|
60
|
+
if (this.movingViaKeyboard) {
|
|
61
|
+
const o = this.el.querySelector(".table-row--moving");
|
|
62
|
+
o && this.focusDragHandleOfRow(o);
|
|
63
|
+
}
|
|
64
|
+
const r = !!((i = t.target) != null && i.closest(this.dragDropHandle));
|
|
65
|
+
this.liveRegionText === "" && r && this.updateLiveRegionText("initial");
|
|
66
|
+
}, this.onBlur = (t) => {
|
|
67
|
+
const r = t.relatedTarget, i = !!(r != null && r.closest(this.dragDropHandle));
|
|
68
|
+
this.el.contains(r) && i || this.liveRegionText !== "" && this.updateLiveRegionText();
|
|
69
|
+
}, this.onKeyDown = (t) => {
|
|
70
|
+
var o, s;
|
|
71
|
+
if (!this.enableDragDrop)
|
|
72
|
+
return;
|
|
73
|
+
const r = (o = t.target) == null ? void 0 : o.closest("swirl-table-row");
|
|
74
|
+
!((s = t.target) != null && s.closest(this.dragDropHandle)) || (t.code === "Space" ? (t.preventDefault(), t.stopPropagation(), this.toggleKeyboardMove(r)) : t.code === "ArrowUp" ? (t.preventDefault(), t.stopPropagation(), this.moveRow(r, "up")) : t.code === "ArrowDown" ? (t.preventDefault(), t.stopPropagation(), this.moveRow(r, "down")) : t.code === "Escape" && (t.preventDefault(), t.stopPropagation(), this.cancelKeyboardMove()));
|
|
75
|
+
}, this.caption = void 0, this.dragDropHandle = void 0, this.dragDropInstructions = q, this.emptyStateLabel = "No results found.", this.enableDragDrop = void 0, this.label = void 0, this.empty = void 0, this.liveRegionText = "", this.scrollable = void 0, this.scrolled = void 0, this.scrolledToEnd = void 0;
|
|
76
|
+
}
|
|
77
|
+
async componentDidLoad() {
|
|
78
|
+
this.setupIntersectionObserver(), queueMicrotask(() => {
|
|
79
|
+
this.setupDragDrop();
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
disconnectedCallback() {
|
|
83
|
+
var e, t;
|
|
84
|
+
(e = this.intersectionObserver) == null || e.disconnect(), (t = this.sortable) == null || t.destroy();
|
|
85
|
+
}
|
|
86
|
+
handleEnableDragDropChange() {
|
|
87
|
+
queueMicrotask(() => {
|
|
88
|
+
this.setupDragDrop();
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
setupIntersectionObserver() {
|
|
92
|
+
this.intersectionObserver = new IntersectionObserver(this.onVisibilityChange.bind(this), {
|
|
93
|
+
threshold: 0
|
|
94
|
+
}), this.intersectionObserver.observe(this.container);
|
|
95
|
+
}
|
|
96
|
+
setupDragDrop() {
|
|
97
|
+
if (this.sortable && (this.sortable.destroy(), this.sortable = void 0), this.enableDragDrop) {
|
|
98
|
+
if (!!this.el.querySelector("swirl-table-row-group")) {
|
|
99
|
+
console.warn('[Swirl] Drag & drop is not yet supported for swirl-tables using the "swirl-table-row-group" component.');
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
if (!this.dragDropHandle) {
|
|
103
|
+
console.warn('[Swirl] swirl-table required the "dragDropHandle" prop to be set when drag & drop is enabled.');
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
const t = this.el.querySelector('[slot="rows"]');
|
|
107
|
+
this.dragDropContainer = (t == null ? void 0 : t.tagName) !== "SWIRL-TABLE-ROW" ? t != null ? t : this.bodyEl : this.bodyEl, this.sortable = new _(this.dragDropContainer, {
|
|
108
|
+
animation: 100,
|
|
109
|
+
direction: "vertical",
|
|
110
|
+
handle: this.dragDropHandle,
|
|
111
|
+
fallbackOnBody: !0,
|
|
112
|
+
group: `swirl-table-${Math.random().toString().substring(2)}`,
|
|
113
|
+
onEnd: (r) => {
|
|
114
|
+
var l;
|
|
115
|
+
r.stopPropagation();
|
|
116
|
+
const { to: i, newIndex: o, oldIndex: s, item: n } = r;
|
|
117
|
+
this.dropRow.emit({
|
|
118
|
+
newIndex: o,
|
|
119
|
+
oldIndex: s,
|
|
120
|
+
item: n,
|
|
121
|
+
itemId: (l = n.id) != null ? l : n.querySelector(":scope > swirl-table-row").id,
|
|
122
|
+
newNextSiblingItemId: o < i.children.length - 1 ? i.children[o + 1].id : void 0,
|
|
123
|
+
newPrevSiblingItemId: o > 0 ? i.children[o - 1].id : void 0
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
async onVisibilityChange(e) {
|
|
130
|
+
e.some((r) => r.isIntersecting) && setTimeout(async () => {
|
|
131
|
+
await this.updateLayout();
|
|
132
|
+
}, 100);
|
|
133
|
+
}
|
|
134
|
+
async componentDidRender() {
|
|
135
|
+
await this.updateLayout(), this.updateEmptyState();
|
|
136
|
+
}
|
|
137
|
+
async onWindowResize() {
|
|
138
|
+
await this.updateLayout();
|
|
139
|
+
}
|
|
140
|
+
async rerender() {
|
|
141
|
+
this.triggerRerender();
|
|
142
|
+
}
|
|
143
|
+
resetEmptyRowStyles() {
|
|
144
|
+
const e = this.el.querySelector(".table__empty-row");
|
|
145
|
+
!Boolean(e) || (e.style.width = "");
|
|
146
|
+
}
|
|
147
|
+
resetRowGroupStyles() {
|
|
148
|
+
Array.from(this.el.querySelectorAll("swirl-table-row-group")).forEach((t) => {
|
|
149
|
+
const r = t.shadowRoot.querySelector(".table-row-group__header-row");
|
|
150
|
+
!Boolean(r) || (t.shadowRoot.querySelector(".table-row-group__header-row").style.width = "");
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
resetColumnStyles() {
|
|
154
|
+
this.getColumns().forEach((t) => {
|
|
155
|
+
t.classList.remove("table-column--has-shadow", "table-column--is-sticky", "table-column--is-sticky-right"), t.style.right = "", t.style.left = "", t.style.position = "", t.style.zIndex = "";
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
resetCellStyles() {
|
|
159
|
+
this.getCells().forEach((t) => {
|
|
160
|
+
t.classList.remove("table-cell--has-shadow", "table-cell--is-sticky", "table-cell--is-sticky-right"), t.style.flex = "", t.style.left = "", t.style.right = "", t.style.position = "", t.style.zIndex = "";
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
updateScrolledState() {
|
|
164
|
+
const e = p();
|
|
165
|
+
if (this.container === void 0)
|
|
166
|
+
return;
|
|
167
|
+
const t = this.container.scrollWidth > this.container.clientWidth, r = this.container.scrollLeft > 0, i = Math.ceil(this.container.clientWidth + this.container.scrollLeft) >= Math.floor(this.container.scrollWidth);
|
|
168
|
+
t !== this.scrollable && (t && !e ? this.container.classList.add("table__container--scrollable") : this.container.classList.remove("table__container--scrollable")), r !== this.scrolled && (r && !e ? this.container.classList.add("table__container--scrolled") : this.container.classList.remove("table__container--scrolled")), i !== this.scrolledToEnd && (i && !e ? this.container.classList.add("table__container--scrolled-to-end") : this.container.classList.remove("table__container--scrolled-to-end"));
|
|
169
|
+
}
|
|
170
|
+
getColumns() {
|
|
171
|
+
return Array.from(this.el.querySelectorAll("swirl-table-column"));
|
|
172
|
+
}
|
|
173
|
+
getCells() {
|
|
174
|
+
return Array.from(this.el.querySelectorAll("swirl-table-cell"));
|
|
175
|
+
}
|
|
176
|
+
layoutEmptyRow() {
|
|
177
|
+
const e = this.el.querySelector(".table__empty-row");
|
|
178
|
+
if (!Boolean(e))
|
|
179
|
+
return;
|
|
180
|
+
const t = `${this.el.querySelector(".table__container").scrollWidth}px`;
|
|
181
|
+
e.style.width = t;
|
|
182
|
+
}
|
|
183
|
+
layoutRowGroups() {
|
|
184
|
+
var r;
|
|
185
|
+
const e = Array.from(this.el.querySelectorAll("swirl-table-row-group")), t = `${(r = this.el.querySelector(".table__container")) == null ? void 0 : r.scrollWidth}px`;
|
|
186
|
+
e.forEach((i) => {
|
|
187
|
+
const o = i.shadowRoot.querySelector(".table-row-group__header-row");
|
|
188
|
+
!Boolean(o) || (i.shadowRoot.querySelector(".table-row-group__header-row").style.width = t);
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
layOutCellsAndColumns() {
|
|
192
|
+
const e = this.getColumns(), t = this.getCells();
|
|
193
|
+
e.forEach((r, i) => {
|
|
194
|
+
const o = this.getCellsForColumn(t, e, i), s = this.calculateColumnProperties(r, e, i);
|
|
195
|
+
o.forEach((n) => this.applyCellStyles(n, r, s)), this.applyColumnStyles(r, s);
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
getCellsForColumn(e, t, r) {
|
|
199
|
+
return e.filter((i, o) => (r - o) % t.length === 0);
|
|
200
|
+
}
|
|
201
|
+
calculateColumnProperties(e, t, r) {
|
|
202
|
+
const i = e.sticky ? this.getLeftOffsetForStickyColumn(t, r) : 0, o = `${e.getBoundingClientRect().width}px`, s = e.sticky && t.length === r + 1, n = e.sticky && !this.hasStickyColumnsToRight(t, r);
|
|
203
|
+
return {
|
|
204
|
+
leftOffsetForStickyColumn: i,
|
|
205
|
+
columnWidth: o,
|
|
206
|
+
isLastColumnSticky: s,
|
|
207
|
+
hasShadowRight: n
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
applyCellStyles(e, t, r) {
|
|
211
|
+
const { leftOffsetForStickyColumn: i, columnWidth: o, isLastColumnSticky: s, hasShadowRight: n } = r;
|
|
212
|
+
e.style.flex = Boolean(o) ? `0 0 ${o}` : "", !p() && (t.sticky && !s && (e.classList.add("table-cell--is-sticky"), e.style.left = i + "px", n && e.classList.add("table-cell--has-shadow-right")), s && e.classList.add("table-cell--is-sticky-right", "table-cell--has-shadow-left"));
|
|
213
|
+
}
|
|
214
|
+
applyColumnStyles(e, t) {
|
|
215
|
+
if (p())
|
|
216
|
+
return;
|
|
217
|
+
const { leftOffsetForStickyColumn: r, isLastColumnSticky: i, hasShadowRight: o } = t;
|
|
218
|
+
e.sticky && !i && (e.classList.add("table-column--is-sticky"), e.style.left = r + "px", o && e.classList.add("table-column--has-shadow-right")), i && e.classList.add("table-column--is-sticky-right", "table-column--has-shadow-left");
|
|
219
|
+
}
|
|
220
|
+
getLeftOffsetForStickyColumn(e, t) {
|
|
221
|
+
return e.slice(0, t).reduce((r, i) => {
|
|
222
|
+
if (i.sticky)
|
|
223
|
+
return r += i.getBoundingClientRect().width, r;
|
|
224
|
+
}, 0);
|
|
225
|
+
}
|
|
226
|
+
hasStickyColumnsToRight(e, t) {
|
|
227
|
+
return e.slice(t + 1, e.length - 1).some((r) => r.sticky);
|
|
228
|
+
}
|
|
229
|
+
updateEmptyState() {
|
|
230
|
+
const e = this.el.querySelector('[slot="rows"]');
|
|
231
|
+
this.empty = !Boolean(e) || e.children.length === 0;
|
|
232
|
+
}
|
|
233
|
+
updateLiveRegionText(e, t = {}) {
|
|
234
|
+
let r = e ? this.dragDropInstructions[e] : "";
|
|
235
|
+
for (const [i, o] of Object.entries(t != null ? t : {}))
|
|
236
|
+
r = r.replaceAll(`{${i}}`, String(o));
|
|
237
|
+
r !== this.liveRegionText && (this.liveRegionText = r);
|
|
238
|
+
}
|
|
239
|
+
toggleKeyboardMove(e) {
|
|
240
|
+
this.movingViaKeyboard ? this.endKeyboardMove(e) : this.startKeyboardMove(e);
|
|
241
|
+
}
|
|
242
|
+
startKeyboardMove(e) {
|
|
243
|
+
this.movingViaKeyboard = !0, this.positionBeforeKeyboardMove = Array.from(this.dragDropContainer.children).indexOf(e), e.classList.add("table-row--moving"), this.updateLiveRegionText("start", {
|
|
244
|
+
position: Array.from(this.dragDropContainer.children).indexOf(e) + 1,
|
|
245
|
+
rowCount: this.dragDropContainer.children.length
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
endKeyboardMove(e) {
|
|
249
|
+
this.movingViaKeyboard = !1, e.classList.remove("table-row--moving"), this.updateLiveRegionText("end", {
|
|
250
|
+
position: Array.from(this.dragDropContainer.children).indexOf(e) + 1,
|
|
251
|
+
rowCount: this.dragDropContainer.children.length
|
|
252
|
+
}), this.dropRow.emit({
|
|
253
|
+
item: e,
|
|
254
|
+
newIndex: Array.from(this.dragDropContainer.children).indexOf(e),
|
|
255
|
+
oldIndex: this.positionBeforeKeyboardMove,
|
|
256
|
+
itemId: e.id,
|
|
257
|
+
newNextSiblingItemId: Array.from(this.dragDropContainer.children).indexOf(e) < this.dragDropContainer.children.length - 1 ? this.dragDropContainer.children[Array.from(this.dragDropContainer.children).indexOf(e) + 1].id : void 0,
|
|
258
|
+
newPrevSiblingItemId: Array.from(this.dragDropContainer.children).indexOf(e) > 0 ? this.dragDropContainer.children[Array.from(this.dragDropContainer.children).indexOf(e) - 1].id : void 0
|
|
259
|
+
}), this.positionBeforeKeyboardMove = void 0;
|
|
260
|
+
}
|
|
261
|
+
cancelKeyboardMove() {
|
|
262
|
+
if (!this.movingViaKeyboard)
|
|
263
|
+
return;
|
|
264
|
+
const e = this.el.querySelector(".table-row--moving");
|
|
265
|
+
!e || (e.classList.remove("table-row--moving"), this.movingViaKeyboard = !1, this.positionBeforeKeyboardMove !== void 0 && this.dragDropContainer.insertBefore(e, this.dragDropContainer.children[this.positionBeforeKeyboardMove]));
|
|
266
|
+
}
|
|
267
|
+
moveRow(e, t) {
|
|
268
|
+
if (!this.movingViaKeyboard)
|
|
269
|
+
return;
|
|
270
|
+
let r;
|
|
271
|
+
if (t === "up") {
|
|
272
|
+
const i = Array.from(this.dragDropContainer.children).indexOf(e);
|
|
273
|
+
r = Math.max(0, i - 1), this.dragDropContainer.insertBefore(e, this.dragDropContainer.children[r]);
|
|
274
|
+
} else {
|
|
275
|
+
const i = Array.from(this.dragDropContainer.children).indexOf(e);
|
|
276
|
+
r = Math.min(this.dragDropContainer.children.length - 1, i + 1), this.dragDropContainer.insertBefore(e, this.dragDropContainer.children[r + 1]);
|
|
277
|
+
}
|
|
278
|
+
this.updateLiveRegionText("moved", {
|
|
279
|
+
position: r + 1,
|
|
280
|
+
rowCount: this.dragDropContainer.children.length
|
|
281
|
+
}), this.focusDragHandleOfRow(e);
|
|
282
|
+
}
|
|
283
|
+
focusDragHandleOfRow(e) {
|
|
284
|
+
var r, i;
|
|
285
|
+
const t = (r = k(e, this.dragDropHandle)) == null ? void 0 : r[0];
|
|
286
|
+
t.tagName === "BUTTON" ? t.focus() : (i = t.querySelector("button")) == null || i.focus();
|
|
287
|
+
}
|
|
288
|
+
render() {
|
|
289
|
+
const e = x("table", {
|
|
290
|
+
"table--keyboard-move": this.movingViaKeyboard
|
|
291
|
+
});
|
|
292
|
+
return a(D, { key: "072ad27c0d91fe202a82c853917575d36f9868b9" }, a("div", { key: "30915cb7a92b2f45d0ee3dc6b7af1040d0765b93", class: e }, this.enableDragDrop && a("swirl-visually-hidden", { key: "286a7f9a8a88054c6b330ccd49527495157001e8" }, a("span", { key: "9b94d79b0f8882da55b09cd3edede48ca1bac26d", "aria-live": "assertive" }, this.liveRegionText)), a("div", { key: "0221127e6feedb0c4f2dc8fefd9f00a08e72e711", class: "table__container", onFocusin: this.onFocus, onFocusout: this.onBlur, onKeyDown: this.onKeyDown, onScroll: this.onScroll, ref: (t) => this.container = t, tabIndex: -1 }, a("div", { key: "c7afbe0db6e602ff7b7c59c149a2abb2dca39168", "aria-describedby": Boolean(this.caption) ? "caption" : void 0, "aria-label": this.label, role: "table", class: "table__table" }, this.caption && a("swirl-visually-hidden", { key: "a02b165844fc9685c158e8115fb90c48ae6e87f3" }, a("div", { key: "c6fd789ad9d5a7e2ba1af8d1179c96c50806e10d", id: "caption" }, this.caption)), a("div", { key: "7386f5e1d6f6a1ec1e3f81b4f302fb3026e674fa", role: "rowgroup" }, a("div", { key: "4a9c0fb92683cd8530acdb9bc912e9ca080ce5b3", class: "table__header", role: "row" }, a("slot", { key: "23fe3ffe2bf0f78684846c4fd3ecfed994a871b4", name: "columns", onSlotchange: this.onSlotChange }))), a("div", { key: "972dcf9e869a187edc976a30bc513efcd3e6a549", class: "table__body", ref: (t) => this.bodyEl = t }, a("slot", { key: "5610098e443132f5a745c8e345d4e3a03c917190", name: "rows", onSlotchange: this.onSlotChange }), this.empty && a("div", { key: "c85753cf3ef5cb3ec2e62b623372d248eb485495", class: "table__empty-row", role: "row" }, a("div", { key: "533e9cfebbc9bb4336d1c2c3bba54ccf8ebe1765", "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, a("swirl-text", { key: "e9a348686f3c80a33501e9bb85f8c92c068e7fe5", align: "center", size: "sm" }, this.emptyStateLabel))))))));
|
|
293
|
+
}
|
|
294
|
+
get el() {
|
|
295
|
+
return S(this);
|
|
296
|
+
}
|
|
297
|
+
static get watchers() {
|
|
298
|
+
return {
|
|
299
|
+
enableDragDrop: ["handleEnableDragDropChange"]
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
K.style = I;
|
|
304
|
+
export {
|
|
305
|
+
K as swirl_table
|
|
306
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { f as
|
|
1
|
+
import { r as b, c as n, h as s, H as r, g as c } from "./index.24a4f18e.js";
|
|
2
|
+
import { f as e } from "./utils-877a768f.c277f897.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
const
|
|
5
|
+
const d = ".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 = d, l = class {
|
|
6
6
|
constructor(t) {
|
|
7
|
-
|
|
7
|
+
b(this, t), this.tabActivated = n(this, "tabActivated", 7), this.tabs = [], this.onActivateNextTab = () => {
|
|
8
8
|
this.activateNextTab();
|
|
9
9
|
}, this.onActivatePreviousTab = () => {
|
|
10
10
|
this.activatePreviousTab();
|
|
@@ -23,14 +23,14 @@ const c = ".sc-swirl-tabs-h{display:block;width:100%}.sc-swirl-tabs-h *.sc-swirl
|
|
|
23
23
|
!Boolean(i) || (i.active = !0, this.tabActivated.emit(i), this.updateTabBarTabs());
|
|
24
24
|
}
|
|
25
25
|
activateNextTab() {
|
|
26
|
-
const t = this.tabs.findIndex((a) => a.tabId === this.activeTab), i =
|
|
26
|
+
const t = this.tabs.findIndex((a) => a.tabId === this.activeTab), i = e(t + 1, this.tabs.length);
|
|
27
27
|
this.activateTab(this.tabs[i].tabId), requestAnimationFrame(() => {
|
|
28
28
|
var a;
|
|
29
29
|
(a = this.el.querySelector(".tabs__tab--active")) == null || a.focus();
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
activatePreviousTab() {
|
|
33
|
-
const t = this.tabs.findIndex((a) => a.tabId === this.activeTab), i =
|
|
33
|
+
const t = this.tabs.findIndex((a) => a.tabId === this.activeTab), i = e(t - 1, this.tabs.length);
|
|
34
34
|
this.activateTab(this.tabs[i].tabId), requestAnimationFrame(() => {
|
|
35
35
|
var a;
|
|
36
36
|
(a = this.el.querySelector(".tabs__tab--active")) == null || a.focus();
|
|
@@ -51,10 +51,10 @@ const c = ".sc-swirl-tabs-h{display:block;width:100%}.sc-swirl-tabs-h *.sc-swirl
|
|
|
51
51
|
}));
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return
|
|
54
|
+
return s(r, { key: "341704212596c244b030469cbc133c845f43b17a" }, s("div", { key: "bea41635c44fa9a7090b39511353d4fe9e38c23f", class: "tabs" }, s("swirl-tab-bar", { key: "1aa5dcdaff37a0934c887dac63bcca6f38da89c3", label: this.label, onActivateNextTab: this.onActivateNextTab, onActivatePreviousTab: this.onActivatePreviousTab, onActivateTab: this.onActivateTab, tabs: this.tabBarTabs, justify: this.justifyTabBar, paddingBlockEnd: this.tabBarPaddingBlockEnd, paddingBlockStart: this.tabBarPaddingBlockStart, paddingInlineEnd: this.tabBarPaddingInlineEnd, paddingInlineStart: this.tabBarPaddingInlineStart, variant: this.tabBarVariant })), s("slot", { key: "29e72997a00d6630e6abbaa279ea282f890a03c7" }));
|
|
55
55
|
}
|
|
56
56
|
get el() {
|
|
57
|
-
return
|
|
57
|
+
return c(this);
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
l.style = h;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as at, h as Y, H as lt, g as ct } from "./index.
|
|
1
|
+
import { r as at, h as Y, H as lt, g as ct } from "./index.24a4f18e.js";
|
|
2
2
|
import { c as ht } from "./_commonjsHelpers-d20b9603.2d9b8855.js";
|
|
3
3
|
import { c as dt } from "./index-267776a4.6beb4f4b.js";
|
|
4
4
|
import "react";
|
|
@@ -286,7 +286,7 @@ const pt = ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-
|
|
|
286
286
|
}), o = {
|
|
287
287
|
whiteSpace: a ? "nowrap" : this.whiteSpace
|
|
288
288
|
};
|
|
289
|
-
return Y(lt, { key: "
|
|
289
|
+
return Y(lt, { key: "713388ef1ff5eb7d6114a53cd1145169079edf95" }, Y(l, { key: "4b14c27894c47122d5ebdb16bea0dc8023693b8d", class: r, ref: (c) => this.textEl = c, style: o }, Y("slot", { key: "8057eff74c66a986a47c9978fce2f83ca4272112" })));
|
|
290
290
|
}
|
|
291
291
|
get el() {
|
|
292
292
|
return ct(this);
|
package/dist/{swirl-theme-provider.entry.a10286ed.js → swirl-theme-provider.entry.63b1378b.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as m, c as a, h as o, H as d } from "./index.
|
|
1
|
+
import { r as m, c as a, h as o, H as d } from "./index.24a4f18e.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const l = ".sc-swirl-theme-provider-h{display:unset}", c = l, i = "swirl-preferred-theme", g = class {
|
|
@@ -80,7 +80,7 @@ const l = ".sc-swirl-theme-provider-h{display:unset}", c = l, i = "swirl-preferr
|
|
|
80
80
|
}), this.setDesignTokens = [];
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return o(d, { key: "
|
|
83
|
+
return o(d, { key: "e292aaf46693437e24ce6f2a331e43ac486dfb6d" }, o("slot", { key: "5d64cc274bfcfcb78cd379730f3361ebb56c4d9f" }));
|
|
84
84
|
}
|
|
85
85
|
static get watchers() {
|
|
86
86
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as c, c as u, h as a, H as p, g as m } from "./index.
|
|
1
|
+
import { r as c, c as u, h as a, H as p, g as m } from "./index.24a4f18e.js";
|
|
2
2
|
import { c as f } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import { p as r, i as o, f as d, m as v } from "./maska-c5119b9a.aa658697.js";
|
|
4
4
|
import { g as w } from "./utils-877a768f.c277f897.js";
|
|
@@ -62,7 +62,7 @@ const b = ".sc-swirl-time-input-h{display:flex;width:100%}.sc-swirl-time-input-h
|
|
|
62
62
|
const e = this.invalid === !0 || this.invalid === !1 ? String(this.invalid) : void 0, i = Boolean(this.value) ? r(this.value, l, new Date()) : void 0, t = o(i) ? d(i, this.format) : void 0, s = f("time-input", {
|
|
63
63
|
"time-input--inline": this.inline
|
|
64
64
|
});
|
|
65
|
-
return a(p, { key: "
|
|
65
|
+
return a(p, { key: "11575c7c43abed50d92714f74e70997ba3513d73" }, a("div", { key: "22b1e8c6fb208fdb04d0564b62aeee6149bfef0d", class: s }, a("input", { key: "6142af4dcf4a7f9cfb83a08f63fa200e29ed8641", "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, inputmode: "numeric", 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", { key: "2d6b3392c86d2c324b413f3b5d47c9b07bdc8cce", class: "time-input__icon" }, a("swirl-icon-time-outlined", { key: "f6f663c6628b6268757e2675890bd66afa2980ce", size: this.iconSize }))));
|
|
66
66
|
}
|
|
67
67
|
get el() {
|
|
68
68
|
return m(this);
|
package/dist/{swirl-toast-provider.entry.65e4eb5d.js → swirl-toast-provider.entry.b4a3bc61.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r, h as
|
|
1
|
+
import { r, h as o, H as e } from "./index.24a4f18e.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
const
|
|
4
|
+
const l = 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);
|
|
@@ -14,7 +14,7 @@ const h = 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);
|
|
@@ -27,12 +27,12 @@ const h = class {
|
|
|
27
27
|
return this.toasts = [...this.toasts, i], i;
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return
|
|
30
|
+
return o(e, { key: "6b3eb6381417fc57320494b85675634ec8cbd28e", role: "status" }, o("swirl-stack", { key: "26b7c2f18fefc092f0822a995f1066ef8c8fc6ef", spacing: "12" }, this.toasts.map((t) => {
|
|
31
31
|
const s = { ...t, content: void 0 };
|
|
32
|
-
return
|
|
32
|
+
return o("swirl-toast", { key: t.toastId, onDismiss: this.onDismiss, ...s }, t.content);
|
|
33
33
|
})));
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
export {
|
|
37
|
-
|
|
37
|
+
l as swirl_toast_provider
|
|
38
38
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as o, c as n, h as e, H as r } from "./index.
|
|
2
|
-
import { c
|
|
3
|
-
import { g as
|
|
1
|
+
import { r as o, c as n, h as e, H as r } from "./index.24a4f18e.js";
|
|
2
|
+
import { c } from "./index-267776a4.6beb4f4b.js";
|
|
3
|
+
import { g as d } from "./utils-877a768f.c277f897.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const h = ":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;width:1.5rem;height:1.5rem;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{width:1.25rem;height:1.25rem;margin-top:0}}.toast__content{flex-grow:1;line-height:var(--s-line-height-base);text-align:left;align-self:flex-start}.toast__content ::part(link){color:var(--text-default)}@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__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)}", l = h, m = class {
|
|
7
7
|
constructor(s) {
|
|
8
|
-
o(this, s), this.dismiss = n(this, "dismiss", 7), this.desktopMediaQuery =
|
|
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);
|
|
@@ -35,8 +35,8 @@ const h = ":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 =
|
|
39
|
-
return e(r, { key: "
|
|
38
|
+
const s = c("toast", `toast--intent-${this.intent}`);
|
|
39
|
+
return e(r, { key: "676e4706190a84cee6b6b6b1800e8788fc1ba828" }, e("div", { key: "9cc47f4d3c482c091b95d43b497dd90e12e02528", class: s }, this.icon && e("span", { key: "ad828f1c327c8ce8628f68ccf7364ee345dc974f", class: "toast__icon", innerHTML: this.icon, part: "toast__icon", ref: (t) => this.iconEl = t }), e("span", { key: "7cc6eebcf936e40ebf1bd1f661b595a96dd29d72", class: "toast__content", innerHTML: this.content, part: "toast__content" }, e("slot", { key: "df2debd57ed2aa87b529aa81fda26bd1fc02a721" })), e("button", { key: "1d1c2938862a572253611bf226265f3cc3e8ac71", "aria-label": this.dismissLabel || this.accessibleDismissLabel, class: "toast__dismiss-button", onClick: this.onDismiss, type: "button" }, this.dismissLabel, !Boolean(this.dismissLabel) && e("swirl-icon-close", { key: "a1ea242f9764316d018c37af9c2c55cc0a11a6a0", ref: (t) => this.dismissIconEl = t }))));
|
|
40
40
|
}
|
|
41
41
|
static get watchers() {
|
|
42
42
|
return {
|
package/dist/{swirl-toggle-button.entry.ebf8a112.js → swirl-toggle-button.entry.4eca1c12.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e, h as o } from "./index.
|
|
1
|
+
import { r as e, h as o } from "./index.24a4f18e.js";
|
|
2
2
|
import { c as r } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
@@ -12,7 +12,7 @@ const s = ":host{display:inline-block}:host *{box-sizing:border-box}.button{disp
|
|
|
12
12
|
const t = r("button", {
|
|
13
13
|
"button--pressed": this.isPressed
|
|
14
14
|
});
|
|
15
|
-
return o("button", { key: "
|
|
15
|
+
return o("button", { key: "60ec065056c43a35a655d5a659230feaa2dfbe7c", class: t, type: "button", "aria-pressed": this.isPressed ? "true" : "false", onClick: this.onClick }, o("span", { key: "90282ff1de8a2bdb023c32f3e41c79c2d763bbaf", class: "button__label" }, this.label));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
n.style = i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as g, c as i, h as o, g as r } from "./index.
|
|
1
|
+
import { r as g, c as i, h as o, g as r } from "./index.24a4f18e.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const l = ":host{display:inline-block}:host *{box-sizing:border-box}.toggle-group{padding:var(--s-space-4);background-color:var(--s-surface-default);border-radius:var(--s-border-radius-base);box-shadow:var(--s-shadow-level-1)}", n = l, d = class {
|
|
@@ -39,7 +39,7 @@ const l = ":host{display:inline-block}:host *{box-sizing:border-box}.toggle-grou
|
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return o("swirl-stack", { key: "
|
|
42
|
+
return o("swirl-stack", { key: "38ba2ae6fd183ef0b1f45af3aa09dc13d9a0fc7e", class: "toggle-group", spacing: "4", orientation: "horizontal", align: "center", role: "group" }, o("slot", { key: "333d7b64beda4587448e92a7dc70e9ff7e7dbd40", onSlotchange: this.onSlotChange }));
|
|
43
43
|
}
|
|
44
44
|
get el() {
|
|
45
45
|
return r(this);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as n, h as s, H as r, g as i } from "./index.
|
|
1
|
+
import { r as n, h as s, H as r, g as i } from "./index.24a4f18e.js";
|
|
2
2
|
import { b as a } from "./utils-877a768f.c277f897.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
@@ -44,7 +44,7 @@ const c = ":host{display:block}:host *{box-sizing:border-box}", l = c, d = class
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return s(r, { key: "
|
|
47
|
+
return s(r, { key: "5416d10668ae2e88c6ea3501184dffe87779b9f5" }, s("swirl-stack", { key: "02e4d2a3d41b63d50fa85cbab86ff0a11bfb02ee", align: "center", "aria-label": this.label, "aria-orientation": this.orientation, role: "toolbar", onKeyDown: this.onKeyDown, orientation: this.orientation, spacing: "8", wrap: !0 }, s("slot", { key: "46c598bd3a3b716f28c897669396bd276de3a2dd" })));
|
|
48
48
|
}
|
|
49
49
|
get el() {
|
|
50
50
|
return i(this);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as p, h as i, H as h, g as
|
|
2
|
-
import { b as
|
|
1
|
+
import { r as p, h as i, H as h, g as c } from "./index.24a4f18e.js";
|
|
2
|
+
import { b as d, c as m, a as u, o as b, s as f, f as w } from "./floating-ui.dom.esm-bef21834.ec4a9cbf.js";
|
|
3
3
|
import { c as y } from "./index-267776a4.6beb4f4b.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -14,7 +14,7 @@ const v = ":host{display:contents;font-weight:var(--s-font-weight-normal)}:host
|
|
|
14
14
|
return;
|
|
15
15
|
const s = [
|
|
16
16
|
...this.options.middleware.filter((l) => l.name !== "arrow"),
|
|
17
|
-
|
|
17
|
+
d({ element: this.arrowElement, padding: 12 })
|
|
18
18
|
];
|
|
19
19
|
this.actualPosition = await m(t, this.popperEl, { ...this.options, middleware: s });
|
|
20
20
|
const e = (n = this.actualPosition.middlewareData.arrow) == null ? void 0 : n.x, o = (r = this.actualPosition.middlewareData.arrow) == null ? void 0 : r.y;
|
|
@@ -37,7 +37,7 @@ const v = ":host{display:contents;font-weight:var(--s-font-weight-normal)}:host
|
|
|
37
37
|
}, this.updateOptions = () => {
|
|
38
38
|
const t = +getComputedStyle(document.documentElement).getPropertyValue("--s-space-12").replace("rem", "") * 16;
|
|
39
39
|
this.options = {
|
|
40
|
-
middleware: [
|
|
40
|
+
middleware: [b(t), f(), w()],
|
|
41
41
|
placement: this.position,
|
|
42
42
|
strategy: this.positioning
|
|
43
43
|
};
|
|
@@ -70,17 +70,17 @@ const v = ":host{display:contents;font-weight:var(--s-font-weight-normal)}:host
|
|
|
70
70
|
"tooltip--active": this.active,
|
|
71
71
|
"tooltip--visible": this.visible
|
|
72
72
|
});
|
|
73
|
-
return i(h, { key: "
|
|
73
|
+
return i(h, { key: "bb0876790cd15f687658d29771ceb91b8dd88001", onKeydown: this.onKeydown }, i("span", { key: "9da9846ede5394a165faa1ded155f88f9760a947", class: a }, i("span", { key: "327bbb9753c47e08c0909f2df05aa4d86b5a4022", class: "tooltip__reference", "aria-describedby": "tooltip", onFocusout: this.hide, onClick: this.hide, onFocusin: this.show }, i("slot", { key: "5b5a39b6507808a3926b613af1612b19d64585ad" })), i("span", { key: "81122c462ef32fb61185efe4bd796eec600eb341", class: "tooltip__popper", ref: (o) => this.popperEl = o, style: {
|
|
74
74
|
top: Boolean(this.actualPosition) ? `${(s = this.actualPosition) == null ? void 0 : s.y}px` : "",
|
|
75
75
|
left: Boolean(this.actualPosition) ? `${(e = this.actualPosition) == null ? void 0 : e.x}px` : "",
|
|
76
76
|
position: this.positioning
|
|
77
|
-
} }, this.visible && i("span", { key: "
|
|
77
|
+
} }, this.visible && i("span", { key: "5bdfba1be1a42825041510626995a68726a6cec2", class: "tooltip__bubble", id: "tooltip", part: "tooltip__bubble", role: "tooltip" }, i("span", { key: "98b85837ac1ab5e8809bc264e67eb6b058837405", class: "tooltip__content", innerHTML: this.content })), i("span", { key: "d6486b3b8b03567eadc72b514c2fa874040c1e6c", class: "tooltip__arrow", ref: (o) => this.arrowElement = o, style: {
|
|
78
78
|
...this.arrowStyles,
|
|
79
79
|
visibility: this.visible ? "visible" : "hidden"
|
|
80
80
|
} }))));
|
|
81
81
|
}
|
|
82
82
|
get el() {
|
|
83
|
-
return
|
|
83
|
+
return c(this);
|
|
84
84
|
}
|
|
85
85
|
static get watchers() {
|
|
86
86
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, c as s, h as e, H as d, g as o } from "./index.
|
|
1
|
+
import { r, c as s, h as e, H as d, g as o } from "./index.24a4f18e.js";
|
|
2
2
|
import { c as l } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
@@ -49,12 +49,12 @@ const h = ":host{display:inline-flex;width:100%}:host *{box-sizing:border-box}.t
|
|
|
49
49
|
"tree-navigation-item__link--active": this.active,
|
|
50
50
|
"tree-navigation-item__link--has-icon": Boolean(this.icon)
|
|
51
51
|
});
|
|
52
|
-
return e(d, { key: "
|
|
52
|
+
return e(d, { key: "91d0825352336d88b1c20738c08f93833957b615", role: "none" }, e("li", { key: "44b1b57d68086aed645921d86ec588dd10a93345", class: {
|
|
53
53
|
"tree-navigation-item": !0,
|
|
54
54
|
"tree-navigation-item--expanded": this.expanded
|
|
55
|
-
}, role: "treeitem", "aria-expanded": this.hasChildren ? this.expanded : void 0, "aria-level": this.level }, e(i, { key: "
|
|
55
|
+
}, role: "treeitem", "aria-expanded": this.hasChildren ? this.expanded : void 0, "aria-level": this.level }, e(i, { key: "645f8b69e22a756704b64cfeb1147fad52ae21ea", onClick: this.toggleExpanded, onKeyDown: this.onKeyDown, class: a, href: this.href, target: this.target, type: t ? void 0 : "button", id: this.buttonId, "aria-current": this.active ? "page" : void 0, "aria-controls": this.hasChildren ? this.childrenId : void 0, "aria-expanded": this.hasChildren ? this.expanded : void 0 }, e("span", { key: "ee3be24c31d978b237f3365eb9db5ebaa9dcd0bd", class: "tree-navigation-item__content" }, this.icon && e("swirl-icon", { key: "1a6ba5fa0d42d36b5cef10ae4b5c4a674c54e0a9", class: "tree-navigation-item__icon", glyph: this.icon, size: 20, "aria-hidden": "true", role: "img", "aria-label": `${this.label} icon` }), e("span", { key: "fb45c421326713a33e4aea6235da052b7faa7267", class: "tree-navigation-item__label" }, e("span", { key: "f1d44d360ffdd000901d94d7ccf3a339b20ff8a1", class: "tree-navigation-item__label-text" }, this.label), this.expandable && this.hasChildren && !this.external && e("span", { key: "60092336a4f8258de8dc255d4ff3561bcb421f88", class: "tree-navigation-item__toggle-icon", "aria-hidden": "true" }, e("swirl-icon-chevron-right", { key: "c226108f24408a27febff0f21508fbc3053d6dfd", size: 16, role: "img", "aria-label": "Expand" })), this.external && e("span", { key: "f25c601b3bb4a953cb2c50a860fc8c82e34aa4c9", class: "tree-navigation-item__external-icon", "aria-hidden": "true" }, e("swirl-icon-open-in-new", { key: "f546a936e52e4502d908d35087e10fc1bc042959", size: 16, role: "img", "aria-label": "External link" }))))), this.hasChildren && e("ul", { key: "065e64f7762c564c0210395aabb9ba3521e5b4cd", class: "tree-navigation-item__children", id: this.childrenId, role: "group", "aria-label": `${this.label} submenu`, ref: (n) => this.childrenRef = n, style: {
|
|
56
56
|
height: this.childrenHeight
|
|
57
|
-
} }, e("slot", { key: "
|
|
57
|
+
} }, e("slot", { key: "0ac59a0c165c0e515af930c47da8666f1eac14dc" }))));
|
|
58
58
|
}
|
|
59
59
|
get el() {
|
|
60
60
|
return o(this);
|
package/dist/{swirl-tree-navigation.entry.f16b6cde.js → swirl-tree-navigation.entry.d52d39c1.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as t, h as e, H as i } from "./index.
|
|
1
|
+
import { r as t, h as e, H as i } from "./index.24a4f18e.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const r = ":host{display:block}:host *{box-sizing:border-box}.tree-navigation{margin:0;padding:0}", s = r, o = class {
|
|
@@ -6,7 +6,7 @@ const r = ":host{display:block}:host *{box-sizing:border-box}.tree-navigation{ma
|
|
|
6
6
|
t(this, a), this.label = void 0;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return e(i, { key: "
|
|
9
|
+
return e(i, { key: "6170dc1783135092d40e783ee2c8377035057fbd" }, e("ul", { key: "dc04e572d7a61c96acf21aa3d026b12373d089a9", "aria-label": this.label, class: "tree-navigation", role: "tree" }, e("slot", { key: "04fb3e839d94ef7bfa13cb0b624909a567c2ba79" })));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
o.style = s;
|