@getflip/swirl-components-react 0.299.0 → 0.300.1
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.3b8643c5.js → file-manager.entry.ce12d42c.js} +4 -4
- package/dist/{index.15738074.js → index.9a9fa403.js} +333 -333
- package/dist/{swirl-accordion-item.entry.8227817a.js → swirl-accordion-item.entry.5dcab4c8.js} +3 -3
- package/dist/{swirl-accordion.entry.ab419e4b.js → swirl-accordion.entry.853e152d.js} +2 -2
- package/dist/swirl-action-list-section.entry.a06eb606.js +15 -0
- package/dist/{swirl-action-list_2.entry.c793b900.js → swirl-action-list_2.entry.4c67eb27.js} +5 -5
- package/dist/{swirl-app-bar.entry.38737a4d.js → swirl-app-bar.entry.49c0be00.js} +1 -1
- package/dist/{swirl-app-icon.entry.3c749dd7.js → swirl-app-icon.entry.10acfcea.js} +6 -6
- package/dist/{swirl-app-layout_5.entry.675a3eb9.js → swirl-app-layout_5.entry.79846f37.js} +4 -4
- package/dist/{swirl-autocomplete.entry.7e9ac76d.js → swirl-autocomplete.entry.e26394c6.js} +1 -1
- package/dist/{swirl-avatar-group.entry.562cbfae.js → swirl-avatar-group.entry.2b440840.js} +2 -2
- package/dist/{swirl-avatar.entry.834ade50.js → swirl-avatar.entry.1b89074c.js} +13 -13
- package/dist/{swirl-badge.entry.485303ec.js → swirl-badge.entry.67536723.js} +1 -1
- package/dist/{swirl-banner.entry.b0364917.js → swirl-banner.entry.86988597.js} +1 -1
- package/dist/{swirl-box.entry.ea5b4884.js → swirl-box.entry.62b63a0d.js} +1 -1
- package/dist/{swirl-button-group.entry.4cee68c9.js → swirl-button-group.entry.5a77c5e5.js} +1 -1
- package/dist/{swirl-button.entry.bda331b2.js → swirl-button.entry.c016a24b.js} +1 -1
- package/dist/{swirl-card.entry.93530d73.js → swirl-card.entry.e44051d9.js} +1 -1
- package/dist/swirl-carousel-slide.entry.984f0efc.js +19 -0
- package/dist/{swirl-carousel.entry.28096618.js → swirl-carousel.entry.e3c8c2df.js} +1 -1
- package/dist/{swirl-checkbox.entry.4965633d.js → swirl-checkbox.entry.396094bd.js} +1 -1
- package/dist/{swirl-chip.entry.cf925cec.js → swirl-chip.entry.5e0bc688.js} +1 -1
- package/dist/{swirl-color-input.entry.6f9eb68f.js → swirl-color-input.entry.2b9f432e.js} +3 -3
- package/dist/{swirl-columns.entry.06c83765.js → swirl-columns.entry.27070d05.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +43 -42
- package/dist/{swirl-console-layout.entry.148129d6.js → swirl-console-layout.entry.bebe36cb.js} +2 -2
- package/dist/{swirl-date-input.entry.d6411370.js → swirl-date-input.entry.d07bc67c.js} +3 -3
- package/dist/{swirl-date-picker_2.entry.2162f0e8.js → swirl-date-picker_2.entry.b8633c29.js} +6 -6
- package/dist/{swirl-description-list-item.entry.553add1d.js → swirl-description-list-item.entry.1b83e49d.js} +3 -3
- package/dist/{swirl-description-list.entry.3f665021.js → swirl-description-list.entry.581c0095.js} +2 -2
- package/dist/{swirl-dialog.entry.df818c08.js → swirl-dialog.entry.fb4ec387.js} +1 -1
- package/dist/swirl-emoji-clap.entry.ad28f9da.js +17 -0
- package/dist/swirl-emoji-happy.entry.dac1c301.js +17 -0
- package/dist/swirl-emoji-idea.entry.d085153a.js +17 -0
- package/dist/swirl-emoji-love.entry.9fa5aa73.js +17 -0
- package/dist/swirl-emoji-sad.entry.14fc6213.js +17 -0
- package/dist/swirl-emoji-thumbs-up.entry.885242b1.js +17 -0
- package/dist/swirl-emoji.entry.eb160a69.js +16 -0
- package/dist/{swirl-file-uploader.entry.d5eaad85.js → swirl-file-uploader.entry.8977fd72.js} +4 -4
- package/dist/{swirl-file-viewer_8.entry.528c6d8f.js → swirl-file-viewer_8.entry.a23dea01.js} +88 -88
- package/dist/{swirl-form-control.entry.aa05e485.js → swirl-form-control.entry.49253dc5.js} +1 -1
- package/dist/{swirl-form-group.entry.8c9539ee.js → swirl-form-group.entry.9a10c639.js} +1 -1
- package/dist/{swirl-heading.entry.477eb61c.js → swirl-heading.entry.9674f414.js} +1 -1
- package/dist/{swirl-icon-add-moderator.entry.74c45629.js → swirl-icon-add-moderator.entry.c968813d.js} +6 -6
- package/dist/{swirl-icon-add-photo.entry.6f5b05d7.js → swirl-icon-add-photo.entry.7af10efc.js} +5 -5
- package/dist/{swirl-icon-add-reaction.entry.5795480b.js → swirl-icon-add-reaction.entry.93ac6714.js} +5 -5
- package/dist/{swirl-icon-add_6.entry.c7ca78a7.js → swirl-icon-add_6.entry.a786d097.js} +10 -10
- package/dist/{swirl-icon-admin-panel-settings.entry.145ebc58.js → swirl-icon-admin-panel-settings.entry.2eb44fec.js} +7 -7
- package/dist/{swirl-icon-ai-filled.entry.9f34418d.js → swirl-icon-ai-filled.entry.0236951c.js} +7 -7
- package/dist/{swirl-icon-ai.entry.17630d31.js → swirl-icon-ai.entry.c4d36558.js} +7 -7
- package/dist/{swirl-icon-apps.entry.9d338316.js → swirl-icon-apps.entry.6b8bc0db.js} +8 -8
- package/dist/{swirl-icon-arrow-back_5.entry.90949319.js → swirl-icon-arrow-back_5.entry.a8d788d6.js} +13 -13
- package/dist/{swirl-icon-arrow-downward_2.entry.f71ed5a6.js → swirl-icon-arrow-downward_2.entry.9e9424eb.js} +10 -10
- package/dist/{swirl-icon-arrow-left_4.entry.7265c3f2.js → swirl-icon-arrow-left_4.entry.1ed8efb5.js} +9 -9
- package/dist/{swirl-icon-arrow-right-small.entry.c20da5d9.js → swirl-icon-arrow-right-small.entry.c8771b3b.js} +8 -8
- package/dist/{swirl-icon-aspect-ratio.entry.a6d0982e.js → swirl-icon-aspect-ratio.entry.f43b9b55.js} +7 -7
- package/dist/{swirl-icon-attachment.entry.a94a489d.js → swirl-icon-attachment.entry.74a5e284.js} +6 -6
- package/dist/{swirl-icon-bar-chart.entry.5b3479bf.js → swirl-icon-bar-chart.entry.061391d7.js} +7 -7
- package/dist/{swirl-icon-block.entry.8f2f6454.js → swirl-icon-block.entry.527e95d0.js} +4 -4
- package/dist/{swirl-icon-bookmark-filled.entry.580f1bf6.js → swirl-icon-bookmark-filled.entry.f4143540.js} +5 -5
- package/dist/{swirl-icon-bookmark.entry.1d58471c.js → swirl-icon-bookmark.entry.239ebd56.js} +8 -8
- package/dist/{swirl-icon-cancel_4.entry.96241c5d.js → swirl-icon-cancel_4.entry.ad8b6119.js} +20 -20
- package/dist/{swirl-icon-chat-bubble.entry.e72d1851.js → swirl-icon-chat-bubble.entry.82e0e69c.js} +5 -5
- package/dist/{swirl-icon-chats-filled.entry.622223f4.js → swirl-icon-chats-filled.entry.cda1e446.js} +5 -5
- package/dist/{swirl-icon-chats.entry.1371f6c8.js → swirl-icon-chats.entry.3a72f785.js} +5 -5
- package/dist/{swirl-icon-check-circle_2.entry.b9df6a4d.js → swirl-icon-check-circle_2.entry.24f37941.js} +7 -7
- package/dist/{swirl-icon-check-small_2.entry.7e98d1bd.js → swirl-icon-check-small_2.entry.4969edb0.js} +2 -2
- package/dist/swirl-icon-check-strong_2.entry.3901ec6f.js +32 -0
- package/dist/{swirl-icon-check.entry.c8a676cc.js → swirl-icon-check.entry.fda9eb60.js} +7 -7
- package/dist/{swirl-icon-chevron-left.entry.c39a8a2b.js → swirl-icon-chevron-left.entry.cd3e7148.js} +7 -7
- package/dist/{swirl-icon-chevron-right.entry.fad11dca.js → swirl-icon-chevron-right.entry.a816a5a3.js} +5 -5
- package/dist/{swirl-icon-close-small.entry.62e34cab.js → swirl-icon-close-small.entry.635ff10d.js} +10 -10
- package/dist/{swirl-icon-close.entry.008811f2.js → swirl-icon-close.entry.18329ed9.js} +7 -7
- package/dist/{swirl-icon-cloud-upload.entry.a3ee475a.js → swirl-icon-cloud-upload.entry.95d7afd1.js} +5 -5
- package/dist/{swirl-icon-column.entry.69c65bf6.js → swirl-icon-column.entry.6f98c2c4.js} +5 -5
- package/dist/{swirl-icon-comment.entry.e3a01d89.js → swirl-icon-comment.entry.9ffb5300.js} +5 -5
- package/dist/{swirl-icon-contrast.entry.b871c996.js → swirl-icon-contrast.entry.07f09d6d.js} +9 -9
- package/dist/{swirl-icon-copy.entry.89e2b36b.js → swirl-icon-copy.entry.2bf34b12.js} +8 -8
- package/dist/{swirl-icon-crop.entry.721aa9c1.js → swirl-icon-crop.entry.5167072f.js} +5 -5
- package/dist/{swirl-icon-dark-mode.entry.de9e9d4f.js → swirl-icon-dark-mode.entry.b1ade5dc.js} +4 -4
- package/dist/{swirl-icon-date-range.entry.620b2f6f.js → swirl-icon-date-range.entry.8a3450e9.js} +5 -5
- package/dist/{swirl-icon-delete.entry.5dc9872e.js → swirl-icon-delete.entry.43cd2d62.js} +5 -5
- package/dist/{swirl-icon-deployed-code.entry.879df203.js → swirl-icon-deployed-code.entry.4f2c6402.js} +5 -5
- package/dist/{swirl-icon-description.entry.c223922e.js → swirl-icon-description.entry.801f8810.js} +7 -7
- package/dist/{swirl-icon-desktop.entry.99ad6c69.js → swirl-icon-desktop.entry.d87f8223.js} +9 -9
- package/dist/{swirl-icon-directory-filled.entry.0602028a.js → swirl-icon-directory-filled.entry.2e29c447.js} +6 -6
- package/dist/{swirl-icon-directory.entry.b0a63cac.js → swirl-icon-directory.entry.0129119b.js} +5 -5
- package/dist/{swirl-icon-discover.entry.1bf8b6c7.js → swirl-icon-discover.entry.827db26e.js} +7 -7
- package/dist/{swirl-icon-dock-left.entry.73aa7da1.js → swirl-icon-dock-left.entry.6e047faf.js} +2 -2
- package/dist/{swirl-icon-door-open.entry.b6e7c7fd.js → swirl-icon-door-open.entry.20521bf9.js} +7 -7
- package/dist/{swirl-icon-dot.entry.0d9d5138.js → swirl-icon-dot.entry.f59be403.js} +5 -5
- package/dist/{swirl-icon-double-arrow-right.entry.a7a60d5d.js → swirl-icon-double-arrow-right.entry.f6fc7605.js} +8 -8
- package/dist/{swirl-icon-download.entry.19a4639d.js → swirl-icon-download.entry.34b1f7f9.js} +7 -7
- package/dist/{swirl-icon-edit.entry.74451639.js → swirl-icon-edit.entry.7ae336ac.js} +8 -8
- package/dist/{swirl-icon-emoji-mood.entry.b3ec42ce.js → swirl-icon-emoji-mood.entry.458469a0.js} +6 -6
- package/dist/{swirl-icon-emoji-satisfied.entry.6428e244.js → swirl-icon-emoji-satisfied.entry.e28dc233.js} +8 -8
- package/dist/{swirl-icon-error_3.entry.af0e249d.js → swirl-icon-error_3.entry.0266a5e8.js} +2 -2
- package/dist/{swirl-icon-expand-more.entry.da7bcb3b.js → swirl-icon-expand-more.entry.bd1fdd58.js} +5 -5
- package/dist/{swirl-icon-experiment.entry.af6a6fed.js → swirl-icon-experiment.entry.01642f19.js} +2 -2
- package/dist/{swirl-icon-file.entry.ab7355d6.js → swirl-icon-file.entry.eb06074f.js} +7 -7
- package/dist/{swirl-icon-filter.entry.88d6a730.js → swirl-icon-filter.entry.a7756f00.js} +7 -7
- package/dist/{swirl-icon-folder.entry.af985245.js → swirl-icon-folder.entry.b8410ac7.js} +6 -6
- package/dist/{swirl-icon-format-h-one.entry.d3cf1b27.js → swirl-icon-format-h-one.entry.11178a7b.js} +7 -7
- package/dist/{swirl-icon-gif_3.entry.dd6053da.js → swirl-icon-gif_3.entry.5a7ca4f7.js} +7 -7
- package/dist/{swirl-icon-group-add.entry.2299c85e.js → swirl-icon-group-add.entry.8944a555.js} +5 -5
- package/dist/{swirl-icon-group-assign.entry.0c7c5d50.js → swirl-icon-group-assign.entry.ab2bb1bb.js} +6 -6
- package/dist/{swirl-icon-groups-filled.entry.bd632df7.js → swirl-icon-groups-filled.entry.9faa7560.js} +8 -8
- package/dist/{swirl-icon-groups.entry.9f4e35a2.js → swirl-icon-groups.entry.b93d306b.js} +8 -8
- package/dist/{swirl-icon-hamburger-menu.entry.777dd450.js → swirl-icon-hamburger-menu.entry.52dd05a4.js} +7 -7
- package/dist/{swirl-icon-help.entry.b02e702a.js → swirl-icon-help.entry.b9a85c26.js} +5 -5
- package/dist/{swirl-icon-highlight.entry.17564721.js → swirl-icon-highlight.entry.b0fa2575.js} +10 -10
- package/dist/{swirl-icon-history.entry.ffb03524.js → swirl-icon-history.entry.e1083c84.js} +6 -6
- package/dist/{swirl-icon-home.entry.16255d0e.js → swirl-icon-home.entry.f4e64d25.js} +4 -4
- package/dist/{swirl-icon-image.entry.51c39e92.js → swirl-icon-image.entry.3482e9b8.js} +5 -5
- package/dist/{swirl-icon-improve-text.entry.4b8e32c4.js → swirl-icon-improve-text.entry.515484a7.js} +8 -8
- package/dist/{swirl-icon-info.entry.f6d16d9a.js → swirl-icon-info.entry.41112ed8.js} +8 -8
- package/dist/{swirl-icon-insert-below.entry.9bbe786c.js → swirl-icon-insert-below.entry.b3996f91.js} +5 -5
- package/dist/{swirl-icon-insert-on-top.entry.0a4e9f81.js → swirl-icon-insert-on-top.entry.5c14ac4f.js} +4 -4
- package/dist/{swirl-icon-inventory-off.entry.a8f6ec67.js → swirl-icon-inventory-off.entry.5afde118.js} +9 -9
- package/dist/{swirl-icon-inventory.entry.10d1a8a4.js → swirl-icon-inventory.entry.8380b8b8.js} +2 -2
- package/dist/{swirl-icon-key.entry.1fddde69.js → swirl-icon-key.entry.f1001fdf.js} +7 -7
- package/dist/{swirl-icon-keyboard-hide.entry.bfc60b1a.js → swirl-icon-keyboard-hide.entry.edcda479.js} +4 -4
- package/dist/{swirl-icon-keyboard.entry.dac20658.js → swirl-icon-keyboard.entry.0ecd210c.js} +4 -4
- package/dist/{swirl-icon-light-mode.entry.df380054.js → swirl-icon-light-mode.entry.b0601b8e.js} +5 -5
- package/dist/{swirl-icon-like.entry.041b8416.js → swirl-icon-like.entry.f0cc6f5c.js} +6 -6
- package/dist/{swirl-icon-link.entry.a0412aeb.js → swirl-icon-link.entry.6c4ae7ad.js} +9 -9
- package/dist/{swirl-icon-live.entry.0c72fa2a.js → swirl-icon-live.entry.75cab586.js} +7 -7
- package/dist/{swirl-icon-load.entry.c3abbe6d.js → swirl-icon-load.entry.f1ae794b.js} +6 -6
- package/dist/{swirl-icon-lock-open.entry.ec40aa5d.js → swirl-icon-lock-open.entry.e365a0e2.js} +5 -5
- package/dist/{swirl-icon-lock-person.entry.92b26296.js → swirl-icon-lock-person.entry.b8f5a359.js} +7 -7
- package/dist/{swirl-icon-lock.entry.5175443c.js → swirl-icon-lock.entry.79f534cf.js} +7 -7
- package/dist/{swirl-icon-login.entry.b0a9dcdc.js → swirl-icon-login.entry.8868e4ab.js} +7 -7
- package/dist/{swirl-icon-logout.entry.4c8457a6.js → swirl-icon-logout.entry.9ac43f18.js} +2 -2
- package/dist/{swirl-icon-long-text.entry.2f4aa339.js → swirl-icon-long-text.entry.fe280358.js} +5 -5
- package/dist/{swirl-icon-mail.entry.b40a2705.js → swirl-icon-mail.entry.81b93a1c.js} +4 -4
- package/dist/{swirl-icon-manage-accounts.entry.222e1cab.js → swirl-icon-manage-accounts.entry.1149baa7.js} +6 -6
- package/dist/{swirl-icon-mark-chat-read.entry.27ca917a.js → swirl-icon-mark-chat-read.entry.2c3a7d15.js} +4 -4
- package/dist/{swirl-icon-mark-chat-unread.entry.ca5b0cb6.js → swirl-icon-mark-chat-unread.entry.323849c3.js} +8 -8
- package/dist/{swirl-icon-mention.entry.0e663193.js → swirl-icon-mention.entry.b46b4afa.js} +7 -7
- package/dist/{swirl-icon-menu-book-filled.entry.984f37d9.js → swirl-icon-menu-book-filled.entry.2ce3bfbf.js} +4 -4
- package/dist/{swirl-icon-menu-filled.entry.6437f963.js → swirl-icon-menu-filled.entry.f1f5c0b8.js} +7 -7
- package/dist/{swirl-icon-menu.entry.e2d085a3.js → swirl-icon-menu.entry.ce16f2b0.js} +7 -7
- package/dist/{swirl-icon-message.entry.47a83989.js → swirl-icon-message.entry.6a633a29.js} +5 -5
- package/dist/{swirl-icon-mic-off.entry.bfcecaa7.js → swirl-icon-mic-off.entry.7f145e82.js} +4 -4
- package/dist/{swirl-icon-mic.entry.fee28ff7.js → swirl-icon-mic.entry.b9bea04e.js} +9 -9
- package/dist/{swirl-icon-more-horizontal.entry.51a4c004.js → swirl-icon-more-horizontal.entry.eb143edb.js} +5 -5
- package/dist/{swirl-icon-news-filled.entry.9b9d8b7f.js → swirl-icon-news-filled.entry.35dbc2ff.js} +8 -8
- package/dist/{swirl-icon-news-off.entry.f62bd0c0.js → swirl-icon-news-off.entry.1d4eeb08.js} +9 -9
- package/dist/{swirl-icon-news.entry.7cf56b8b.js → swirl-icon-news.entry.2a6b4feb.js} +8 -8
- package/dist/{swirl-icon-notifications-active.entry.2ffe255b.js → swirl-icon-notifications-active.entry.0f6188b9.js} +2 -2
- package/dist/{swirl-icon-notifications-off.entry.1fb1defa.js → swirl-icon-notifications-off.entry.94be19ee.js} +6 -6
- package/dist/{swirl-icon-notifications.entry.7e0d24f0.js → swirl-icon-notifications.entry.bfa71ddc.js} +5 -5
- package/dist/{swirl-icon-open-in-full.entry.9196b5bf.js → swirl-icon-open-in-full.entry.5034737e.js} +7 -7
- package/dist/{swirl-icon-open-in-new.entry.3bea1e20.js → swirl-icon-open-in-new.entry.2d5baae8.js} +8 -8
- package/dist/{swirl-icon-pause-circle.entry.91a160e8.js → swirl-icon-pause-circle.entry.27fd1ea6.js} +8 -8
- package/dist/{swirl-icon-people-alt.entry.11a7b913.js → swirl-icon-people-alt.entry.afdbde5c.js} +4 -4
- package/dist/{swirl-icon-person-off.entry.db7e3861.js → swirl-icon-person-off.entry.53131093.js} +8 -8
- package/dist/{swirl-icon-person.entry.23e5086c.js → swirl-icon-person.entry.b3c57b8c.js} +2 -2
- package/dist/{swirl-icon-phone.entry.2c851b9c.js → swirl-icon-phone.entry.181de988.js} +8 -8
- package/dist/{swirl-icon-photo-camera.entry.094a4c13.js → swirl-icon-photo-camera.entry.f61a1180.js} +4 -4
- package/dist/{swirl-icon-pin-off.entry.6410ff2c.js → swirl-icon-pin-off.entry.d1999b68.js} +8 -8
- package/dist/{swirl-icon-pin.entry.ee642601.js → swirl-icon-pin.entry.41d77e06.js} +5 -5
- package/dist/{swirl-icon-place.entry.b70ca205.js → swirl-icon-place.entry.fe12aba7.js} +4 -4
- package/dist/{swirl-icon-poll.entry.5890a3f4.js → swirl-icon-poll.entry.7273771c.js} +3 -3
- package/dist/{swirl-icon-post-approval.entry.0f263c2c.js → swirl-icon-post-approval.entry.69f2e216.js} +9 -9
- package/dist/{swirl-icon-present.entry.9bd19164.js → swirl-icon-present.entry.d60ae8e6.js} +5 -5
- package/dist/{swirl-icon-print.entry.60bf6c16.js → swirl-icon-print.entry.e7d71503.js} +5 -5
- package/dist/{swirl-icon-public-off.entry.a11d91a8.js → swirl-icon-public-off.entry.5c063ffb.js} +8 -8
- package/dist/{swirl-icon-public.entry.964271da.js → swirl-icon-public.entry.e139de85.js} +9 -9
- package/dist/{swirl-icon-ratio-four-to-three.entry.90120c1a.js → swirl-icon-ratio-four-to-three.entry.81873833.js} +7 -7
- package/dist/{swirl-icon-ratio-freeform.entry.157e8a57.js → swirl-icon-ratio-freeform.entry.e3fc6ca2.js} +8 -8
- package/dist/{swirl-icon-ratio-sixteen-to-nine.entry.efe73806.js → swirl-icon-ratio-sixteen-to-nine.entry.29ffb18e.js} +5 -5
- package/dist/{swirl-icon-ratio-square.entry.940c0a37.js → swirl-icon-ratio-square.entry.febbd90a.js} +8 -8
- package/dist/{swirl-icon-ratio-three-to-four.entry.0cb38ae0.js → swirl-icon-ratio-three-to-four.entry.a5644a47.js} +6 -6
- package/dist/{swirl-icon-ratio-three-to-two.entry.46e693b4.js → swirl-icon-ratio-three-to-two.entry.b5a80c56.js} +6 -6
- package/dist/{swirl-icon-recieved.entry.0dc18b8f.js → swirl-icon-recieved.entry.f910997e.js} +9 -9
- package/dist/{swirl-icon-remove-circle.entry.09a54d6e.js → swirl-icon-remove-circle.entry.6c63a6e4.js} +9 -9
- package/dist/{swirl-icon-remove-moderator.entry.7fbd4210.js → swirl-icon-remove-moderator.entry.2cd7f054.js} +7 -7
- package/dist/{swirl-icon-reply.entry.35558b1a.js → swirl-icon-reply.entry.df3a6a95.js} +4 -4
- package/dist/{swirl-icon-report.entry.d73b73dc.js → swirl-icon-report.entry.bf6b0875.js} +8 -8
- package/dist/{swirl-icon-roadmap.entry.dd8cf33e.js → swirl-icon-roadmap.entry.466f44cb.js} +5 -5
- package/dist/{swirl-icon-rotate-left.entry.4ed220c9.js → swirl-icon-rotate-left.entry.a19f3b13.js} +2 -2
- package/dist/{swirl-icon-rotate-right.entry.bcb5d13a.js → swirl-icon-rotate-right.entry.5cda6a22.js} +5 -5
- package/dist/{swirl-icon-screenshare-off.entry.be6ac852.js → swirl-icon-screenshare-off.entry.f85ae88b.js} +7 -7
- package/dist/{swirl-icon-screenshare.entry.89062fe4.js → swirl-icon-screenshare.entry.1a171a43.js} +5 -5
- package/dist/{swirl-icon-search-strong.entry.2644d020.js → swirl-icon-search-strong.entry.47dc4d25.js} +5 -5
- package/dist/{swirl-icon-search.entry.9ad9cd1e.js → swirl-icon-search.entry.2952fc2d.js} +2 -2
- package/dist/{swirl-icon-secure.entry.38f717ea.js → swirl-icon-secure.entry.4ea1659e.js} +7 -7
- package/dist/{swirl-icon-send.entry.61904e14.js → swirl-icon-send.entry.38fa0256.js} +8 -8
- package/dist/{swirl-icon-settings.entry.0f665177.js → swirl-icon-settings.entry.68372bcf.js} +5 -5
- package/dist/{swirl-icon-short-text.entry.ae968b68.js → swirl-icon-short-text.entry.48251eb4.js} +5 -5
- package/dist/{swirl-icon-simplify.entry.bf2d548f.js → swirl-icon-simplify.entry.8363606d.js} +7 -7
- package/dist/{swirl-icon-spellcheck.entry.bff26365.js → swirl-icon-spellcheck.entry.1fc9e344.js} +9 -9
- package/dist/{swirl-icon-stars.entry.e7bccb4b.js → swirl-icon-stars.entry.94877b6b.js} +9 -9
- package/dist/{swirl-icon-stop-circle.entry.f6697477.js → swirl-icon-stop-circle.entry.426c8b22.js} +8 -8
- package/dist/{swirl-icon-stop.entry.c586444a.js → swirl-icon-stop.entry.113b8645.js} +10 -10
- package/dist/{swirl-icon-sync.entry.b0d03338.js → swirl-icon-sync.entry.524c56eb.js} +10 -10
- package/dist/{swirl-icon-tasks-filled.entry.6d6c7156.js → swirl-icon-tasks-filled.entry.7351e45d.js} +10 -10
- package/dist/{swirl-icon-tasks.entry.bad9bb70.js → swirl-icon-tasks.entry.c1d98ec4.js} +5 -5
- package/dist/{swirl-icon-terminal.entry.f71ab392.js → swirl-icon-terminal.entry.e3bfae0b.js} +6 -6
- package/dist/{swirl-icon-time-filled.entry.252213ed.js → swirl-icon-time-filled.entry.6e620d3f.js} +2 -2
- package/dist/{swirl-icon-time.entry.f2e483f0.js → swirl-icon-time.entry.96cce9d0.js} +5 -5
- package/dist/{swirl-icon-today-filled.entry.c6d6f270.js → swirl-icon-today-filled.entry.5700209d.js} +8 -8
- package/dist/{swirl-icon-translate.entry.d97e1135.js → swirl-icon-translate.entry.67f0e5ac.js} +6 -6
- package/dist/{swirl-icon-tree-structure.entry.0dd0e0ab.js → swirl-icon-tree-structure.entry.09ce4cd5.js} +2 -2
- package/dist/{swirl-icon-undo.entry.3fa2c684.js → swirl-icon-undo.entry.e8272f8f.js} +5 -5
- package/dist/{swirl-icon-unlock-person.entry.e9b553d4.js → swirl-icon-unlock-person.entry.01654f7c.js} +10 -10
- package/dist/{swirl-icon-user-add.entry.a8ae2110.js → swirl-icon-user-add.entry.0a13cb30.js} +7 -7
- package/dist/{swirl-icon-user-assign.entry.f2939a35.js → swirl-icon-user-assign.entry.eda91d6e.js} +8 -8
- package/dist/{swirl-icon-video-camera-off.entry.d946544b.js → swirl-icon-video-camera-off.entry.f1a4ad15.js} +7 -7
- package/dist/{swirl-icon-video-camera.entry.7a77d1e0.js → swirl-icon-video-camera.entry.70970911.js} +5 -5
- package/dist/{swirl-icon-video-library.entry.378b25b6.js → swirl-icon-video-library.entry.5d448d37.js} +8 -8
- package/dist/{swirl-icon-video-player.entry.713775c5.js → swirl-icon-video-player.entry.9eb20ae3.js} +8 -8
- package/dist/{swirl-icon-voice.entry.17c8b3d6.js → swirl-icon-voice.entry.15d4aca2.js} +4 -4
- package/dist/{swirl-icon-web-asset-off.entry.dce54781.js → swirl-icon-web-asset-off.entry.067bbfa3.js} +8 -8
- package/dist/{swirl-icon-web-asset.entry.b02b92e7.js → swirl-icon-web-asset.entry.8abc1d23.js} +5 -5
- package/dist/{swirl-icon-work.entry.65a02c47.js → swirl-icon-work.entry.830acd03.js} +7 -7
- package/dist/{swirl-icon.entry.130f8add.js → swirl-icon.entry.69d35b07.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.913fbad9.js → swirl-image-grid-item.entry.c87412f1.js} +1 -1
- package/dist/{swirl-image-grid.entry.da6fca27.js → swirl-image-grid.entry.ddbc0304.js} +7 -7
- package/dist/{swirl-inline-notification.entry.4e4115e3.js → swirl-inline-notification.entry.06ee2e64.js} +1 -1
- package/dist/{swirl-inline-status.entry.36c9432d.js → swirl-inline-status.entry.34dd215b.js} +1 -1
- package/dist/{swirl-lightbox.entry.fca8de16.js → swirl-lightbox.entry.e835f215.js} +5 -5
- package/dist/{swirl-link.entry.a61f52fa.js → swirl-link.entry.7f8c0fba.js} +1 -1
- package/dist/{swirl-list.entry.e7c63bc9.js → swirl-list.entry.06f39fd7.js} +2 -2
- package/dist/{swirl-menu-item.entry.955436ca.js → swirl-menu-item.entry.53f732f7.js} +2 -2
- package/dist/{swirl-menu.entry.be35dd64.js → swirl-menu.entry.fe700f2a.js} +1 -1
- package/dist/{swirl-modal.entry.2ce04f7a.js → swirl-modal.entry.ec0d7fea.js} +1 -1
- package/dist/swirl-option-list-section.entry.174c3f21.js +15 -0
- package/dist/{swirl-option-list_2.entry.286fe0f2.js → swirl-option-list_2.entry.b42a67c5.js} +3 -3
- package/dist/{swirl-pagination.entry.7d824a97.js → swirl-pagination.entry.49f3a64b.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.fb7a73de.js → swirl-pdf-reader.entry.91bc7ba0.js} +7 -7
- package/dist/{swirl-popover_2.entry.8bfc4001.js → swirl-popover_2.entry.e3992f01.js} +2 -2
- package/dist/{swirl-progress-indicator.entry.3dc20a21.js → swirl-progress-indicator.entry.4b5909d8.js} +1 -1
- package/dist/{swirl-radio-group.entry.3e4657d2.js → swirl-radio-group.entry.6814c000.js} +2 -2
- package/dist/{swirl-radio.entry.d80a8cf3.js → swirl-radio.entry.010f49ba.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.54d4da66.js → swirl-resource-list-file-item.entry.bce4b6ac.js} +2 -2
- package/dist/swirl-resource-list-section.entry.03624cca.js +15 -0
- package/dist/{swirl-search.entry.252337d6.js → swirl-search.entry.a7e8db28.js} +1 -1
- package/dist/{swirl-select.entry.ae0f83aa.js → swirl-select.entry.0245bb03.js} +3 -3
- package/dist/{swirl-separator.entry.dcbdadde.js → swirl-separator.entry.5cf1fd37.js} +1 -1
- package/dist/{swirl-shell-layout.entry.76fb71b6.js → swirl-shell-layout.entry.1bd09b0b.js} +5 -5
- package/dist/{swirl-shell-navigation-item.entry.dfe6b6a7.js → swirl-shell-navigation-item.entry.c8235398.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.816917d7.js → swirl-skeleton-box.entry.cfc4a7cb.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.c56c60d9.js → swirl-skeleton-text.entry.50d4828f.js} +1 -1
- package/dist/{swirl-stack.entry.3c563551.js → swirl-stack.entry.4e6b1a39.js} +1 -1
- package/dist/{swirl-status-indicator.entry.ae043573.js → swirl-status-indicator.entry.f0056b36.js} +1 -1
- package/dist/{swirl-switch.entry.bf26d9d7.js → swirl-switch.entry.0cf17657.js} +1 -1
- package/dist/{swirl-symbol-account-circle.entry.3667d21c.js → swirl-symbol-account-circle.entry.c6533b63.js} +2 -2
- package/dist/{swirl-symbol-alternate-email.entry.98cc1cd5.js → swirl-symbol-alternate-email.entry.ecc6719c.js} +4 -4
- package/dist/{swirl-symbol-android.entry.6f944535.js → swirl-symbol-android.entry.e225bf95.js} +4 -4
- package/dist/{swirl-symbol-announcement.entry.a5e14f70.js → swirl-symbol-announcement.entry.39d16b4c.js} +7 -7
- package/dist/{swirl-symbol-backup.entry.880f5f12.js → swirl-symbol-backup.entry.b98e3450.js} +7 -7
- package/dist/{swirl-symbol-beach-access.entry.d42bc155.js → swirl-symbol-beach-access.entry.4478f616.js} +7 -7
- package/dist/swirl-symbol-bookmark.entry.bcfb31f3.js +17 -0
- package/dist/{swirl-symbol-cloud.entry.5b4e6824.js → swirl-symbol-cloud.entry.05b248e1.js} +5 -5
- package/dist/{swirl-symbol-coronavirus.entry.ba87dde8.js → swirl-symbol-coronavirus.entry.51d043ee.js} +7 -7
- package/dist/{swirl-symbol-desktop-windows.entry.be654045.js → swirl-symbol-desktop-windows.entry.cf555053.js} +5 -5
- package/dist/{swirl-symbol-directions-car-filled.entry.8d19a18e.js → swirl-symbol-directions-car-filled.entry.2e1acc13.js} +3 -3
- package/dist/{swirl-symbol-edit-calendar.entry.40223b9b.js → swirl-symbol-edit-calendar.entry.076c5190.js} +2 -2
- package/dist/{swirl-symbol-email.entry.53924af4.js → swirl-symbol-email.entry.1b650828.js} +2 -2
- package/dist/{swirl-symbol-emoji-food-beverage.entry.d33a7af6.js → swirl-symbol-emoji-food-beverage.entry.fe6132cd.js} +2 -2
- package/dist/{swirl-symbol-event-menu.entry.90bb2f48.js → swirl-symbol-event-menu.entry.44a9b2fc.js} +2 -2
- package/dist/{swirl-symbol-facebook.entry.57f6e688.js → swirl-symbol-facebook.entry.e8c48e92.js} +7 -7
- package/dist/{swirl-symbol-favorite.entry.61c5f813.js → swirl-symbol-favorite.entry.9ddc0cf2.js} +4 -4
- package/dist/{swirl-symbol-fitness-center.entry.39d9ec07.js → swirl-symbol-fitness-center.entry.2a2cb0d9.js} +2 -2
- package/dist/{swirl-symbol-flag.entry.ebf9eeae.js → swirl-symbol-flag.entry.1e928776.js} +6 -6
- package/dist/{swirl-symbol-folder.entry.73b3bd29.js → swirl-symbol-folder.entry.8c9df075.js} +5 -5
- package/dist/{swirl-symbol-globe.entry.9ea501fe.js → swirl-symbol-globe.entry.ac9e38ba.js} +2 -2
- package/dist/{swirl-symbol-groups.entry.18a4518c.js → swirl-symbol-groups.entry.279c8669.js} +9 -9
- package/dist/{swirl-symbol-help.entry.27937b8a.js → swirl-symbol-help.entry.4ff20a5c.js} +5 -5
- package/dist/{swirl-symbol-image.entry.86ac214b.js → swirl-symbol-image.entry.8cf1226a.js} +7 -7
- package/dist/{swirl-symbol-info-menu.entry.d79d2f37.js → swirl-symbol-info-menu.entry.b0087b76.js} +5 -5
- package/dist/{swirl-symbol-instagram.entry.a381a05a.js → swirl-symbol-instagram.entry.322d845f.js} +4 -4
- package/dist/{swirl-symbol-ios.entry.e4804211.js → swirl-symbol-ios.entry.d29e18b7.js} +3 -3
- package/dist/{swirl-symbol-language.entry.f75b9814.js → swirl-symbol-language.entry.e338ffa1.js} +5 -5
- package/dist/{swirl-symbol-leaderboard.entry.4bb50b69.js → swirl-symbol-leaderboard.entry.cc4a8cae.js} +2 -2
- package/dist/{swirl-symbol-lightbulb.entry.bd5adb7c.js → swirl-symbol-lightbulb.entry.248a5d25.js} +4 -4
- package/dist/{swirl-symbol-linkedin.entry.b3042dc7.js → swirl-symbol-linkedin.entry.774aaab1.js} +7 -7
- package/dist/{swirl-symbol-location-on.entry.ba403afc.js → swirl-symbol-location-on.entry.c9914890.js} +7 -7
- package/dist/{swirl-symbol-loyalty.entry.07e8229c.js → swirl-symbol-loyalty.entry.5c60a550.js} +4 -4
- package/dist/{swirl-symbol-maps-home-work.entry.2f1ca6c7.js → swirl-symbol-maps-home-work.entry.e0fd795e.js} +4 -4
- package/dist/{swirl-symbol-notifications.entry.82bf894b.js → swirl-symbol-notifications.entry.e4a3cc3a.js} +2 -2
- package/dist/{swirl-symbol-open-in-new.entry.d16960b3.js → swirl-symbol-open-in-new.entry.640f2a0b.js} +2 -2
- package/dist/{swirl-symbol-pedal-bike.entry.b50d1a23.js → swirl-symbol-pedal-bike.entry.9b86ec85.js} +4 -4
- package/dist/{swirl-symbol-pinterest.entry.dde8e2b0.js → swirl-symbol-pinterest.entry.795a2b83.js} +2 -2
- package/dist/{swirl-symbol-policy.entry.264ee5a3.js → swirl-symbol-policy.entry.da1eaf40.js} +5 -5
- package/dist/{swirl-symbol-push-pin.entry.59a67cf5.js → swirl-symbol-push-pin.entry.37f20b49.js} +5 -5
- package/dist/{swirl-symbol-redeem.entry.586d790a.js → swirl-symbol-redeem.entry.a719cf6a.js} +5 -5
- package/dist/{swirl-symbol-report-problem.entry.ece46711.js → swirl-symbol-report-problem.entry.bc60465f.js} +5 -5
- package/dist/{swirl-symbol-restaurant.entry.9cecf8fe.js → swirl-symbol-restaurant.entry.3067edd6.js} +6 -6
- package/dist/swirl-symbol-roadmap.entry.42dbd319.js +17 -0
- package/dist/{swirl-symbol-room.entry.d12b48ad.js → swirl-symbol-room.entry.97a4cbb6.js} +6 -6
- package/dist/{swirl-symbol-savings.entry.c1464ed2.js → swirl-symbol-savings.entry.fd7668de.js} +4 -4
- package/dist/{swirl-symbol-settings-voice.entry.faaf571a.js → swirl-symbol-settings-voice.entry.16f145d8.js} +2 -2
- package/dist/{swirl-symbol-shopping-cart.entry.57eed96f.js → swirl-symbol-shopping-cart.entry.bc23de6c.js} +2 -2
- package/dist/{swirl-symbol-smartphone.entry.af9daea9.js → swirl-symbol-smartphone.entry.2ba781ab.js} +2 -2
- package/dist/{swirl-symbol-star.entry.58f9529d.js → swirl-symbol-star.entry.de8d036d.js} +2 -2
- package/dist/{swirl-symbol-supervisor-account.entry.145f73b7.js → swirl-symbol-supervisor-account.entry.f52bc9ea.js} +5 -5
- package/dist/{swirl-symbol-thumbs-up-down.entry.a9111869.js → swirl-symbol-thumbs-up-down.entry.f0973639.js} +8 -8
- package/dist/{swirl-symbol-twitter.entry.2aca6a0a.js → swirl-symbol-twitter.entry.e51119f3.js} +5 -5
- package/dist/{swirl-symbol-wb-sunny.entry.b780eb08.js → swirl-symbol-wb-sunny.entry.6b4045d6.js} +5 -5
- package/dist/{swirl-symbol-wechat.entry.1281f988.js → swirl-symbol-wechat.entry.a449375f.js} +7 -7
- package/dist/{swirl-symbol-weibo.entry.231f96c6.js → swirl-symbol-weibo.entry.6777f304.js} +2 -2
- package/dist/{swirl-symbol-work.entry.bc049793.js → swirl-symbol-work.entry.f465c3c0.js} +2 -2
- package/dist/{swirl-symbol-xing.entry.04657060.js → swirl-symbol-xing.entry.9da0c24a.js} +5 -5
- package/dist/{swirl-symbol-youtube.entry.d79ebe7a.js → swirl-symbol-youtube.entry.a9f0ad4b.js} +5 -5
- package/dist/swirl-symbol.entry.a70e30f1.js +16 -0
- package/dist/{swirl-tab-bar.entry.49971dea.js → swirl-tab-bar.entry.57a224c5.js} +1 -1
- package/dist/{swirl-tab.entry.026200aa.js → swirl-tab.entry.29c91c44.js} +1 -1
- package/dist/{swirl-table-cell.entry.f9238aea.js → swirl-table-cell.entry.d25f19cc.js} +2 -2
- package/dist/{swirl-table-column.entry.4b738a53.js → swirl-table-column.entry.55221d07.js} +2 -2
- package/dist/{swirl-table-row-group.entry.ce126a07.js → swirl-table-row-group.entry.7d3aa9ff.js} +7 -7
- package/dist/swirl-table-row.entry.e7d980fd.js +27 -0
- package/dist/swirl-table.entry.ec960bca.js +306 -0
- package/dist/{swirl-tabs.entry.0243ffa6.js → swirl-tabs.entry.c73e7ff6.js} +8 -8
- package/dist/{swirl-text-input.entry.f6cf79b6.js → swirl-text-input.entry.6d2fe38d.js} +1 -1
- package/dist/{swirl-text.entry.d9f0e777.js → swirl-text.entry.2b9b426d.js} +2 -2
- package/dist/{swirl-theme-provider.entry.f88d88c0.js → swirl-theme-provider.entry.e3e650f6.js} +2 -2
- package/dist/{swirl-time-input.entry.8628831f.js → swirl-time-input.entry.d52b0c23.js} +2 -2
- package/dist/{swirl-toast-provider.entry.ba375a33.js → swirl-toast-provider.entry.c830f29e.js} +6 -6
- package/dist/{swirl-toast.entry.7f95f7c0.js → swirl-toast.entry.39174c2d.js} +6 -6
- package/dist/{swirl-toggle-button.entry.2702d669.js → swirl-toggle-button.entry.c6323b5d.js} +2 -2
- package/dist/{swirl-toggle-group.entry.e30d768b.js → swirl-toggle-group.entry.f5ee367a.js} +2 -2
- package/dist/{swirl-toolbar.entry.e027d776.js → swirl-toolbar.entry.9949bf0d.js} +2 -2
- package/dist/{swirl-tooltip.entry.2b3715e2.js → swirl-tooltip.entry.f4011127.js} +7 -7
- package/dist/{swirl-tree-navigation-item.entry.8d4c3063.js → swirl-tree-navigation-item.entry.aca5763a.js} +4 -4
- package/dist/{swirl-tree-navigation.entry.19df3db3.js → swirl-tree-navigation.entry.a91f21a0.js} +2 -2
- package/dist/{swirl-tree-view-item.entry.55ce48a7.js → swirl-tree-view-item.entry.fdd9f0e2.js} +5 -5
- package/dist/{swirl-tree-view.entry.9b490fbd.js → swirl-tree-view.entry.71fbd2ca.js} +15 -15
- package/dist/{swirl-video-thumbnail.entry.352fced6.js → swirl-video-thumbnail.entry.8fc47169.js} +2 -2
- package/dist/swirl-visually-hidden.entry.9427183b.js +15 -0
- package/dist/{wc-datepicker.entry.eb340a71.js → wc-datepicker.entry.aad1fe97.js} +1 -1
- package/package.json +2 -2
- package/dist/swirl-action-list-section.entry.93731ea1.js +0 -15
- package/dist/swirl-carousel-slide.entry.4004f62d.js +0 -19
- package/dist/swirl-emoji-clap.entry.e5088456.js +0 -17
- package/dist/swirl-emoji-happy.entry.12af1289.js +0 -17
- package/dist/swirl-emoji-idea.entry.14db268d.js +0 -17
- package/dist/swirl-emoji-love.entry.9170f007.js +0 -17
- package/dist/swirl-emoji-sad.entry.aa46bcfd.js +0 -17
- package/dist/swirl-emoji-thumbs-up.entry.31c7a4ef.js +0 -17
- package/dist/swirl-emoji.entry.e159d118.js +0 -16
- package/dist/swirl-icon-check-strong_2.entry.08361887.js +0 -32
- package/dist/swirl-option-list-section.entry.cf81fb40.js +0 -15
- package/dist/swirl-resource-list-section.entry.f683984f.js +0 -15
- package/dist/swirl-symbol-bookmark.entry.b8568f50.js +0 -17
- package/dist/swirl-symbol-roadmap.entry.3bd1eade.js +0 -17
- package/dist/swirl-symbol.entry.b01d9979.js +0 -16
- package/dist/swirl-table-row.entry.97a77b59.js +0 -27
- package/dist/swirl-table.entry.9e15f795.js +0 -178
- package/dist/swirl-visually-hidden.entry.3eb3121d.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.9a9fa403.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.9a9fa403.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.9a9fa403.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.f88d88c0.js → swirl-theme-provider.entry.e3e650f6.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.9a9fa403.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.9a9fa403.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.ba375a33.js → swirl-toast-provider.entry.c830f29e.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r, h as
|
|
1
|
+
import { r, h as o, H as e } from "./index.9a9fa403.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.9a9fa403.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.2702d669.js → swirl-toggle-button.entry.c6323b5d.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.9a9fa403.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.9a9fa403.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.9a9fa403.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.9a9fa403.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.9a9fa403.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.19df3db3.js → swirl-tree-navigation.entry.a91f21a0.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.9a9fa403.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;
|