@getflip/swirl-components-react 0.65.0 → 0.67.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.7f588fee.js → file-manager.entry.ec7f3e0c.js} +1 -1
- package/dist/{index.a6af8737.js → index.63420343.js} +185 -185
- package/dist/sortable.esm-8c3d5856.57c4f048.js +1229 -0
- package/dist/{swirl-action-list-section.entry.2ac019ae.js → swirl-action-list-section.entry.992bafc7.js} +1 -1
- package/dist/{swirl-action-list_3.entry.22d92fca.js → swirl-action-list_3.entry.d2d5fea2.js} +1 -1
- package/dist/{swirl-app-bar.entry.19625c13.js → swirl-app-bar.entry.a99c3eb0.js} +1 -1
- package/dist/{swirl-app-icon.entry.e8d0055a.js → swirl-app-icon.entry.57d19331.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.38d2e203.js → swirl-app-layout_7.entry.e44dc9d1.js} +156 -74
- package/dist/{swirl-autocomplete.entry.0ca67ad8.js → swirl-autocomplete.entry.b4a3274a.js} +1 -1
- package/dist/{swirl-avatar-group.entry.035ff534.js → swirl-avatar-group.entry.ddd13a01.js} +1 -1
- package/dist/{swirl-avatar.entry.a3b620d7.js → swirl-avatar.entry.21fb3961.js} +1 -1
- package/dist/{swirl-badge.entry.660d3434.js → swirl-badge.entry.92878b02.js} +1 -1
- package/dist/{swirl-banner.entry.9063164f.js → swirl-banner.entry.124bface.js} +1 -1
- package/dist/{swirl-button-group.entry.40787061.js → swirl-button-group.entry.8fe0255b.js} +1 -1
- package/dist/{swirl-button.entry.743e61c7.js → swirl-button.entry.ba253a46.js} +1 -1
- package/dist/{swirl-card.entry.af5c2a20.js → swirl-card.entry.04ce939c.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.426b5a60.js → swirl-carousel-slide.entry.f1770b5e.js} +1 -1
- package/dist/{swirl-carousel.entry.eb037dea.js → swirl-carousel.entry.4934ff7d.js} +1 -1
- package/dist/{swirl-checkbox.entry.eff49381.js → swirl-checkbox.entry.3d631f58.js} +1 -1
- package/dist/{swirl-chip.entry.9fee17a6.js → swirl-chip.entry.3d3f7d8a.js} +1 -1
- package/dist/{swirl-columns.entry.10941da3.js → swirl-columns.entry.00878631.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +54 -53
- package/dist/{swirl-console-layout.entry.563a5de2.js → swirl-console-layout.entry.a9b4cb6f.js} +1 -1
- package/dist/{swirl-date-input.entry.f516bdcc.js → swirl-date-input.entry.74ccaba7.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.b1bd2ef9.js → swirl-date-picker_2.entry.965bc8f0.js} +1 -1
- package/dist/{swirl-description-list-item.entry.1cdb3af5.js → swirl-description-list-item.entry.ad41235b.js} +1 -1
- package/dist/{swirl-description-list.entry.4402f32d.js → swirl-description-list.entry.a607b26f.js} +1 -1
- package/dist/{swirl-dialog.entry.bac2933b.js → swirl-dialog.entry.867e5a97.js} +1 -1
- package/dist/{swirl-file-uploader.entry.b8437927.js → swirl-file-uploader.entry.ccf31f94.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.8897e876.js → swirl-file-viewer_7.entry.ad55f609.js} +1 -1
- package/dist/{swirl-form-control.entry.e6c8c878.js → swirl-form-control.entry.215821c7.js} +1 -1
- package/dist/{swirl-form-group.entry.338c4cbb.js → swirl-form-group.entry.a9d48919.js} +1 -1
- package/dist/{swirl-heading.entry.03fc69fc.js → swirl-heading.entry.78a1cbd1.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.875c7886.js → swirl-icon-add-photo.entry.7e0f5311.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.0ceb897e.js → swirl-icon-add_6.entry.24a5147f.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.692fd27b.js → swirl-icon-admin-panel-settings.entry.ead93fdf.js} +1 -1
- package/dist/{swirl-icon-ai.entry.173e9adc.js → swirl-icon-ai.entry.88240469.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.74796aac.js → swirl-icon-arrow-back.entry.346fc5f3.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.18d7ca72.js → swirl-icon-arrow-downward_2.entry.09699b24.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.d3b123bf.js → swirl-icon-arrow-forward.entry.fa9a66fc.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.0fb0bda0.js → swirl-icon-arrow-left_4.entry.cc5d4036.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.eded8345.js → swirl-icon-arrow-right-small.entry.99ab126b.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.47aad392.js → swirl-icon-attachment.entry.707fc109.js} +1 -1
- package/dist/{swirl-icon-bar-chart.entry.46656895.js → swirl-icon-bar-chart.entry.1ce0f741.js} +1 -1
- package/dist/{swirl-icon-block.entry.525201eb.js → swirl-icon-block.entry.89d8155c.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.4269c27a.js → swirl-icon-bookmark.entry.dc811582.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.731747c0.js → swirl-icon-cancel_4.entry.84b3f3b2.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.1e9a5830.js → swirl-icon-chat-bubble.entry.1c8ccbcd.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.6f457983.js → swirl-icon-chats-filled.entry.5a8c0427.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.897db222.js → swirl-icon-chats-outlined.entry.08fa732e.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.e72533a3.js → swirl-icon-check-circle_3.entry.2c3ba237.js} +1 -1
- package/dist/{swirl-icon-check-small_3.entry.5caa4080.js → swirl-icon-check-small_3.entry.38c16f3a.js} +1 -1
- package/dist/{swirl-icon-check-strong.entry.314cc521.js → swirl-icon-check-strong.entry.34d25e27.js} +1 -1
- package/dist/{swirl-icon-check.entry.0497cd81.js → swirl-icon-check.entry.df70b59a.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.e895b01c.js → swirl-icon-chevron-left.entry.3592e183.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.4a457cf0.js → swirl-icon-chevron-right.entry.560fc262.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.aaed5ad1.js → swirl-icon-close-small.entry.8ca1d3b1.js} +1 -1
- package/dist/{swirl-icon-close.entry.dd49526a.js → swirl-icon-close.entry.947ff31e.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.4787748f.js → swirl-icon-cloud-upload.entry.3bf41985.js} +1 -1
- package/dist/{swirl-icon-column.entry.b1c72c3b.js → swirl-icon-column.entry.80345562.js} +1 -1
- package/dist/{swirl-icon-comment.entry.8cbfaa9e.js → swirl-icon-comment.entry.5745f733.js} +1 -1
- package/dist/{swirl-icon-copy.entry.4a2a8a3d.js → swirl-icon-copy.entry.63ee41ef.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.77c8bd15.js → swirl-icon-date-range.entry.44f4af4d.js} +1 -1
- package/dist/{swirl-icon-delete.entry.4771bb26.js → swirl-icon-delete.entry.9feb4462.js} +1 -1
- package/dist/{swirl-icon-description.entry.15aedfc9.js → swirl-icon-description.entry.7ceaf71c.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.604b1731.js → swirl-icon-double-arrow-left.entry.365fd024.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.3970072a.js → swirl-icon-double-arrow-right.entry.b00fcec0.js} +1 -1
- package/dist/{swirl-icon-download.entry.a29d65e9.js → swirl-icon-download.entry.b1b800bc.js} +1 -1
- package/dist/{swirl-icon-edit.entry.33e8a8cf.js → swirl-icon-edit.entry.9eb8137b.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.569b1aea.js → swirl-icon-emoji-mood.entry.78a9c20f.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.1929e418.js → swirl-icon-emoji-satisfied.entry.481cfa20.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.8d48efed.js → swirl-icon-error_3.entry.e1e4353c.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.735f3da7.js → swirl-icon-expand-more.entry.eed47fe8.js} +1 -1
- package/dist/{swirl-icon-filter.entry.9e26876d.js → swirl-icon-filter.entry.9b9ee50d.js} +1 -1
- package/dist/{swirl-icon-folder.entry.3829a2a2.js → swirl-icon-folder.entry.a392c4f3.js} +1 -1
- package/dist/{swirl-icon-gif.entry.91195a0a.js → swirl-icon-gif.entry.cd08de83.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.1e409d6e.js → swirl-icon-group-assign.entry.90ef8aed.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.a9962879.js → swirl-icon-groups-custom.entry.889581f0.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.25dd2ee6.js → swirl-icon-groups-filled.entry.5e19a6af.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.656e1a98.js → swirl-icon-groups-outlined.entry.fc5e7c1f.js} +1 -1
- package/dist/{swirl-icon-groups.entry.c8508165.js → swirl-icon-groups.entry.60d0bb95.js} +1 -1
- package/dist/{swirl-icon-help.entry.72280b07.js → swirl-icon-help.entry.c78d1a36.js} +1 -1
- package/dist/{swirl-icon-highlight.entry.39ede74f.js → swirl-icon-highlight.entry.dc476f21.js} +1 -1
- package/dist/{swirl-icon-home.entry.33e65805.js → swirl-icon-home.entry.faaaede0.js} +1 -1
- package/dist/{swirl-icon-image.entry.78d99e6b.js → swirl-icon-image.entry.283f3828.js} +1 -1
- package/dist/{swirl-icon-improve-text.entry.cb15c371.js → swirl-icon-improve-text.entry.d2d5077a.js} +1 -1
- package/dist/{swirl-icon-insert-below.entry.c68bebe4.js → swirl-icon-insert-below.entry.d852385c.js} +1 -1
- package/dist/{swirl-icon-insert-on-top.entry.adfaf292.js → swirl-icon-insert-on-top.entry.478be64d.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.f9d03596.js → swirl-icon-inventory.entry.dff6cc6e.js} +1 -1
- package/dist/{swirl-icon-like.entry.dd0be027.js → swirl-icon-like.entry.f686ae2b.js} +1 -1
- package/dist/{swirl-icon-link.entry.a087e949.js → swirl-icon-link.entry.97aee1bb.js} +1 -1
- package/dist/{swirl-icon-lock-person.entry.06823738.js → swirl-icon-lock-person.entry.273df238.js} +1 -1
- package/dist/{swirl-icon-lock.entry.96970443.js → swirl-icon-lock.entry.f71c3bdc.js} +1 -1
- package/dist/{swirl-icon-logout.entry.6c0ed139.js → swirl-icon-logout.entry.d88eaca7.js} +1 -1
- package/dist/{swirl-icon-long-text.entry.f4316b9c.js → swirl-icon-long-text.entry.4261c67b.js} +1 -1
- package/dist/{swirl-icon-mail.entry.05a9bd94.js → swirl-icon-mail.entry.931a2eb1.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.9ff1ec3d.js → swirl-icon-manage-accounts.entry.78f5defa.js} +1 -1
- package/dist/{swirl-icon-mark-chat-read.entry.b3fe4e04.js → swirl-icon-mark-chat-read.entry.85ac8d96.js} +1 -1
- package/dist/{swirl-icon-mark-chat-unread.entry.cc3dad79.js → swirl-icon-mark-chat-unread.entry.455427f9.js} +1 -1
- package/dist/{swirl-icon-mention.entry.68a8e265.js → swirl-icon-mention.entry.fe2a06f6.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.3a75088b.js → swirl-icon-menu-filled.entry.35a49de8.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.9cdaa946.js → swirl-icon-menu-outlined.entry.1110ebcb.js} +1 -1
- package/dist/{swirl-icon-menu.entry.67fcabc8.js → swirl-icon-menu.entry.acae7c08.js} +1 -1
- package/dist/{swirl-icon-message.entry.efe8bfc1.js → swirl-icon-message.entry.e8243a79.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.0bbd99ee.js → swirl-icon-more-horizontal.entry.503d424a.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.4c0bb68b.js → swirl-icon-news-filled.entry.92316c4c.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.51344291.js → swirl-icon-news-outlined.entry.49b5e19e.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.828ad1ee.js → swirl-icon-notifications-active.entry.fac15b08.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.4f224ee0.js → swirl-icon-notifications-off.entry.44867169.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.3fd8522a.js → swirl-icon-notifications.entry.993c929f.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.a1d62a83.js → swirl-icon-open-in-new.entry.fb3589ef.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.377008dd.js → swirl-icon-people-alt.entry.62d59cb0.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.4e07ba74.js → swirl-icon-person-off.entry.cbb5fd45.js} +1 -1
- package/dist/{swirl-icon-person.entry.9c83d42c.js → swirl-icon-person.entry.0a51f312.js} +1 -1
- package/dist/{swirl-icon-phone.entry.1585fa69.js → swirl-icon-phone.entry.d7d364f4.js} +1 -1
- package/dist/{swirl-icon-play-arrow.entry.3bb5239a.js → swirl-icon-play-arrow.entry.1b6ae9aa.js} +1 -1
- package/dist/{swirl-icon-poll.entry.e3fcfe4f.js → swirl-icon-poll.entry.389159f7.js} +1 -1
- package/dist/{swirl-icon-print.entry.2d2e77f4.js → swirl-icon-print.entry.897d9a3b.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.2009171d.js → swirl-icon-recieved.entry.615fddec.js} +1 -1
- package/dist/{swirl-icon-reply.entry.3a600820.js → swirl-icon-reply.entry.8e40d4b2.js} +1 -1
- package/dist/{swirl-icon-roadmap.entry.01fdc7ff.js → swirl-icon-roadmap.entry.f80ed109.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.61eb0ba2.js → swirl-icon-search-strong.entry.2de56151.js} +1 -1
- package/dist/{swirl-icon-search.entry.7a7d7704.js → swirl-icon-search.entry.6a03ef4f.js} +1 -1
- package/dist/{swirl-icon-send.entry.8832a3f9.js → swirl-icon-send.entry.45df0ebc.js} +1 -1
- package/dist/{swirl-icon-settings.entry.2109119a.js → swirl-icon-settings.entry.3b644fe3.js} +1 -1
- package/dist/{swirl-icon-short-text.entry.c9c3d37a.js → swirl-icon-short-text.entry.97be2f97.js} +1 -1
- package/dist/{swirl-icon-simplify.entry.2f5a1c58.js → swirl-icon-simplify.entry.5a40a3b4.js} +1 -1
- package/dist/{swirl-icon-spellcheck.entry.9046b548.js → swirl-icon-spellcheck.entry.88225511.js} +1 -1
- package/dist/{swirl-icon-sync.entry.71610ba0.js → swirl-icon-sync.entry.05ced58b.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.f8fd2960.js → swirl-icon-tasks-filled.entry.ea4b9c2f.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.78b6b449.js → swirl-icon-tasks-outlined.entry.ab4fcfb5.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.c0692501.js → swirl-icon-time-filled.entry.f2dc33c4.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.4fc6f4ab.js → swirl-icon-time-outlined.entry.a9e93d55.js} +1 -1
- package/dist/{swirl-icon-undo.entry.9ef83a76.js → swirl-icon-undo.entry.70e4a99a.js} +1 -1
- package/dist/{swirl-icon-unlock-person.entry.60be4b28.js → swirl-icon-unlock-person.entry.dc4a9fa5.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.a337178d.js → swirl-icon-user-assign.entry.9ec9b651.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.8e1ffa27.js → swirl-icon-video-camera.entry.e72f9817.js} +1 -1
- package/dist/{swirl-icon-video-library.entry.5c30766e.js → swirl-icon-video-library.entry.61554bde.js} +1 -1
- package/dist/{swirl-icon-voice.entry.4510d22b.js → swirl-icon-voice.entry.fd7d7f94.js} +1 -1
- package/dist/{swirl-icon.entry.ca11fa35.js → swirl-icon.entry.61d4ef11.js} +1 -1
- package/dist/{swirl-inline-notification.entry.29af9299.js → swirl-inline-notification.entry.76093117.js} +1 -1
- package/dist/{swirl-inline-status.entry.a8d9611c.js → swirl-inline-status.entry.e8fc6b19.js} +1 -1
- package/dist/{swirl-lightbox.entry.dd2b2be6.js → swirl-lightbox.entry.84698b29.js} +1 -1
- package/dist/{swirl-link.entry.f08d807c.js → swirl-link.entry.48145cef.js} +1 -1
- package/dist/{swirl-list.entry.99310b9a.js → swirl-list.entry.f27d3abd.js} +1 -1
- package/dist/{swirl-menu-item.entry.8fd4c793.js → swirl-menu-item.entry.c3032012.js} +1 -1
- package/dist/{swirl-menu.entry.67a17c0e.js → swirl-menu.entry.02a52ce7.js} +1 -1
- package/dist/{swirl-modal.entry.e87f4b7a.js → swirl-modal.entry.4a38e78c.js} +1 -1
- package/dist/{swirl-option-list-section.entry.95b44307.js → swirl-option-list-section.entry.4754a170.js} +1 -1
- package/dist/swirl-option-list.entry.bf1dcfc5.js +181 -0
- package/dist/{swirl-pagination.entry.a9e45681.js → swirl-pagination.entry.f4a43370.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.f40954c3.js → swirl-pdf-reader.entry.7ee57062.js} +1 -1
- package/dist/{swirl-popover.entry.a477dd1a.js → swirl-popover.entry.73419bbd.js} +1 -1
- package/dist/{swirl-progress-indicator.entry.34071ffe.js → swirl-progress-indicator.entry.c6d26bf1.js} +1 -1
- package/dist/{swirl-radio-group.entry.225f169e.js → swirl-radio-group.entry.b0958339.js} +1 -1
- package/dist/{swirl-radio.entry.e28e4b5c.js → swirl-radio.entry.7fcaa494.js} +1 -1
- package/dist/swirl-resource-list-file-item.entry.dad412d1.js +35 -0
- package/dist/{swirl-search.entry.ec676c8a.js → swirl-search.entry.ec9ea7c8.js} +1 -1
- package/dist/{swirl-select.entry.45bdb1df.js → swirl-select.entry.c4471488.js} +1 -1
- package/dist/{swirl-shell-layout.entry.287f592b.js → swirl-shell-layout.entry.be0ab35a.js} +1 -1
- package/dist/{swirl-shell-navigation-item.entry.c766206c.js → swirl-shell-navigation-item.entry.2ca0c395.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.252c46ac.js → swirl-skeleton-box.entry.d5d05496.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.7f2b04b0.js → swirl-skeleton-text.entry.269d4c2e.js} +1 -1
- package/dist/{swirl-stack.entry.db184447.js → swirl-stack.entry.d840be0d.js} +1 -1
- package/dist/{swirl-status-indicator.entry.1dab0ab5.js → swirl-status-indicator.entry.faa12f2f.js} +1 -1
- package/dist/{swirl-switch.entry.f24d3def.js → swirl-switch.entry.3db7a4fb.js} +1 -1
- package/dist/{swirl-tab-bar.entry.78c5c7f5.js → swirl-tab-bar.entry.9608e1bd.js} +1 -1
- package/dist/{swirl-tab.entry.3cb80457.js → swirl-tab.entry.58b48098.js} +1 -1
- package/dist/{swirl-table-cell.entry.7b616af9.js → swirl-table-cell.entry.bf911260.js} +1 -1
- package/dist/{swirl-table-column.entry.eeb86966.js → swirl-table-column.entry.d0cd5766.js} +1 -1
- package/dist/{swirl-table-row-group.entry.4c04788f.js → swirl-table-row-group.entry.eb821318.js} +1 -1
- package/dist/{swirl-table-row.entry.bdf26d92.js → swirl-table-row.entry.7699737a.js} +1 -1
- package/dist/{swirl-table.entry.f9562e2b.js → swirl-table.entry.175caf45.js} +1 -1
- package/dist/{swirl-tabs.entry.15ae9cf5.js → swirl-tabs.entry.7d7eee94.js} +1 -1
- package/dist/{swirl-tag.entry.040fa949.js → swirl-tag.entry.2e8347f2.js} +1 -1
- package/dist/{swirl-text-input.entry.2bf6b57c.js → swirl-text-input.entry.de03d35c.js} +1 -1
- package/dist/{swirl-text.entry.f763813d.js → swirl-text.entry.07dee3cf.js} +1 -1
- package/dist/{swirl-theme-provider.entry.b19494f7.js → swirl-theme-provider.entry.4f971b69.js} +1 -1
- package/dist/{swirl-time-input.entry.f0564af2.js → swirl-time-input.entry.e6f42fe2.js} +1 -1
- package/dist/{swirl-toast-provider.entry.0cb6a3bd.js → swirl-toast-provider.entry.9e8f6b4e.js} +1 -1
- package/dist/{swirl-toast.entry.720c6627.js → swirl-toast.entry.4333f44f.js} +1 -1
- package/dist/{swirl-tooltip.entry.ceb91a48.js → swirl-tooltip.entry.a081419f.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.33baae7a.js → swirl-tree-navigation-item.entry.eb09cded.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.e6e096a5.js → swirl-video-thumbnail.entry.3543d79a.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.93328806.js → swirl-visually-hidden.entry.0107de03.js} +1 -1
- package/dist/{wc-datepicker.entry.060797eb.js → wc-datepicker.entry.10aa69e7.js} +1 -1
- package/package.json +2 -2
- package/dist/swirl-option-list.entry.6789dc47.js +0 -1406
- package/dist/swirl-resource-list-file-item.entry.32ac0fd0.js +0 -35
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as c, h as e, H as u, g } from "./index.
|
|
1
|
+
import { r as c, h as e, H as u, g } from "./index.63420343.js";
|
|
2
2
|
import { A as b } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
|
|
3
3
|
import { d as m, e as p } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as x } from "./index-d280dafb.186cdb0e.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as l, h as t, H as r } from "./index.
|
|
1
|
+
import { r as l, h as t, H as r } from "./index.63420343.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const s = ':host{display:block}:host *{box-sizing:border-box}.swirl-list{line-height:var(--s-line-height-base)}.swirl-list ul,.swirl-list ol{margin:0;padding:0;list-style-position:outside;list-style-type:none}.swirl-list ul li{padding-left:1.5rem}.swirl-list ul li:before{display:inline-block;width:1.5rem;margin-left:-1.5rem;text-align:center;content:"\u2022"}.swirl-list ol{counter-reset:item}.swirl-list ol ol{counter-reset:letter}.swirl-list ol ol li:before{content:counter(letter, lower-alpha) ".";counter-increment:letter}.swirl-list ol li{padding-left:1.5rem}.swirl-list ol li:before{display:inline-block;min-width:1.5rem;margin-left:-1.5rem;padding-right:var(--s-space-8);text-align:right;content:counter(item) ".";counter-increment:item;font-variant-numeric:tabular-nums}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.swirl-list{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}', n = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as a, h as i, H as l, g as u } from "./index.
|
|
1
|
+
import { r as a, h as i, H as l, g as u } from "./index.63420343.js";
|
|
2
2
|
import { c as d, p as h } from "./utils-bc84f36e.1fee9865.js";
|
|
3
3
|
import { c } from "./index-d280dafb.186cdb0e.js";
|
|
4
4
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as d, c as r, h as o, H as v, g as p } from "./index.
|
|
1
|
+
import { r as d, c as r, h as o, H as v, g as p } from "./index.63420343.js";
|
|
2
2
|
import { c as b, a as f, o as w, f as g } from "./floating-ui.dom.esm-ac7cc24e.79b318e4.js";
|
|
3
3
|
import { c as M } from "./index-d280dafb.186cdb0e.js";
|
|
4
4
|
import { q as n, c as l, p as u, i as x, a as y } from "./utils-bc84f36e.1fee9865.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ie, c as E, h as m, H as ne, g as se } from "./index.
|
|
1
|
+
import { r as ie, c as E, h as m, H as ne, g as se } from "./index.63420343.js";
|
|
2
2
|
import { d as le, e as de } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
3
3
|
import { c as ce } from "./index-d280dafb.186cdb0e.js";
|
|
4
4
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as s, h as t, H as e } from "./index.
|
|
1
|
+
import { r as s, h as t, H as e } from "./index.63420343.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const o = ":host{display:block}:host *{box-sizing:border-box}.option-list-section{background-color:var(--s-surface-overlay-default)}.option-list-section__label{display:block;width:100%;padding:var(--s-space-8) var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default);color:var(--s-text-subdued);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);text-align:left}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.option-list-section__label{padding:var(--s-space-8) var(--s-space-12);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}", l = class {
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { r as c, c as l, h as o, H as u, g } from "./index.63420343.js";
|
|
2
|
+
import { c as a, q as r } from "./utils-bc84f36e.1fee9865.js";
|
|
3
|
+
import { S as m } from "./sortable.esm-8c3d5856.57c4f048.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
const I = ".sc-swirl-option-list-h{display:block}.sc-swirl-option-list-h *.sc-swirl-option-list{box-sizing:border-box}", f = class {
|
|
7
|
+
constructor(e) {
|
|
8
|
+
c(this, e), this.itemDrop = l(this, "itemDrop", 7), this.valueChange = l(this, "valueChange", 7), this.onFocus = async (t) => {
|
|
9
|
+
this.listboxEl.contains(t.relatedTarget) || (await new Promise((i) => setTimeout(i)), Boolean(this.focusedItem) ? this.focusItem(this.getActiveItemIndex()) : this.focusItem(0));
|
|
10
|
+
}, this.onClick = (t) => {
|
|
11
|
+
t.preventDefault();
|
|
12
|
+
const i = t.target, s = i == null ? void 0 : i.closest("swirl-option-list-item"), n = t.composedPath()[0], h = Boolean(a(n, '[role="option"]'));
|
|
13
|
+
if (!Boolean(s) || !h) {
|
|
14
|
+
t.preventDefault();
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
this.selectItem(this.items.findIndex((d) => d.value === s.value));
|
|
18
|
+
}, this.onKeyDown = (t) => {
|
|
19
|
+
if (t.code === "ArrowDown")
|
|
20
|
+
t.preventDefault(), Boolean(this.dragging) ? this.moveDraggedItemDown() : this.focusNextItem();
|
|
21
|
+
else if (t.code === "ArrowUp")
|
|
22
|
+
t.preventDefault(), Boolean(this.dragging) ? this.moveDraggedItemUp() : this.focusPreviousItem();
|
|
23
|
+
else if (t.code === "Space" || t.code === "Enter") {
|
|
24
|
+
const i = t.composedPath()[0];
|
|
25
|
+
if (!Boolean(a(i, '[role="option"]')))
|
|
26
|
+
return;
|
|
27
|
+
t.preventDefault(), Boolean(this.dragging) ? this.stopDrag(this.dragging) : this.selectFocusedItem();
|
|
28
|
+
} else
|
|
29
|
+
t.code === "Home" ? (t.preventDefault(), this.focusItem(0)) : t.code === "End" ? (t.preventDefault(), this.focusItem(this.items.length - 1)) : t.code === "KeyA" && (t.metaKey || t.ctrlKey) && this.multiSelect ? (t.preventDefault(), this.selectAllItems()) : t.code === "Tab" && Boolean(this.dragging) && t.preventDefault();
|
|
30
|
+
}, this.toggleDrag = (t) => {
|
|
31
|
+
const i = t.detail;
|
|
32
|
+
Boolean(this.dragging) ? this.stopDrag(i) : this.startDrag(i);
|
|
33
|
+
}, this.startDrag = (t) => {
|
|
34
|
+
this.dragging = t, this.draggingStartIndex = this.getItemIndex(this.dragging), t.setAttribute("dragging", "true");
|
|
35
|
+
const i = this.getItemIndex(this.dragging);
|
|
36
|
+
this.focusItem(i), this.assistiveText = this.assistiveTextItemGrabbed;
|
|
37
|
+
}, this.stopDrag = (t) => {
|
|
38
|
+
this.dragging = void 0, t.removeAttribute("dragging");
|
|
39
|
+
const i = this.getActiveItemIndex();
|
|
40
|
+
this.assistiveText = `${this.assistiveTextItemMoved} ${i + 1}`, this.itemDrop.emit({ item: t, oldIndex: this.draggingStartIndex, newIndex: i }), this.draggingStartIndex = void 0;
|
|
41
|
+
}, this.allowDeselect = !0, this.allowDrag = void 0, this.assistiveTextItemGrabbed = "Item grabbed. Use arrow keys to move item up or down. Use spacebar to save position.", this.assistiveTextItemMoving = "Current position:", this.assistiveTextItemMoved = "Item moved. New position:", this.disabled = void 0, this.label = void 0, this.optionListId = void 0, this.multiSelect = void 0, this.value = [], this.assistiveText = void 0;
|
|
42
|
+
}
|
|
43
|
+
componentDidLoad() {
|
|
44
|
+
this.updateItems(), this.observeSlotChanges(), this.setItemAllowDragState(), this.setItemDisabledState(), this.setItemContext(), this.syncItemsWithValue(), this.setupDragDrop();
|
|
45
|
+
}
|
|
46
|
+
disconnectedCallback() {
|
|
47
|
+
var e, t;
|
|
48
|
+
(e = this.observer) === null || e === void 0 || e.disconnect(), (t = this.sortable) === null || t === void 0 || t.destroy();
|
|
49
|
+
}
|
|
50
|
+
watchAllowDrag() {
|
|
51
|
+
this.setItemAllowDragState(), this.setupDragDrop();
|
|
52
|
+
}
|
|
53
|
+
watchDisabled() {
|
|
54
|
+
this.setItemDisabledState();
|
|
55
|
+
}
|
|
56
|
+
watchMultiSelect() {
|
|
57
|
+
this.setItemContext();
|
|
58
|
+
}
|
|
59
|
+
watchValue() {
|
|
60
|
+
this.syncItemsWithValue();
|
|
61
|
+
}
|
|
62
|
+
observeSlotChanges() {
|
|
63
|
+
this.observer = new MutationObserver(() => {
|
|
64
|
+
this.updateItems();
|
|
65
|
+
}), this.observer.observe(this.listboxEl, { childList: !0 });
|
|
66
|
+
}
|
|
67
|
+
updateItems() {
|
|
68
|
+
this.items = r(this.el, "swirl-option-list-item");
|
|
69
|
+
}
|
|
70
|
+
setItemDisabledState() {
|
|
71
|
+
this.disabled && this.items.forEach((e) => e.disabled = !0);
|
|
72
|
+
}
|
|
73
|
+
setItemContext() {
|
|
74
|
+
this.multiSelect ? this.items.forEach((e) => e.context = "multi-select") : (this.items.forEach((e) => e.context = "single-select"), this.value.length > 1 && this.updateValue([this.value[0]]));
|
|
75
|
+
}
|
|
76
|
+
setupDragDrop() {
|
|
77
|
+
Boolean(this.sortable) && this.sortable.destroy(), this.allowDrag && (this.sortable = m.create(this.listboxEl, {
|
|
78
|
+
animation: 150,
|
|
79
|
+
draggable: "swirl-option-list-item",
|
|
80
|
+
handle: ".option-list-item__drag-handle",
|
|
81
|
+
onEnd: (e) => {
|
|
82
|
+
this.itemDrop.emit({
|
|
83
|
+
item: e.item,
|
|
84
|
+
oldIndex: e.oldIndex,
|
|
85
|
+
newIndex: e.newIndex
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
}));
|
|
89
|
+
}
|
|
90
|
+
setItemAllowDragState() {
|
|
91
|
+
if (this.allowDrag && !this.multiSelect) {
|
|
92
|
+
console.error("[SwirlOptionList] Drag can only be allowed for multi select lists.");
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
const e = r(this.el, "swirl-option-list-section");
|
|
96
|
+
if (this.allowDrag && e.length > 0) {
|
|
97
|
+
console.error("[SwirlOptionList] Drag can only be allowed for lists without sections.");
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
this.allowDrag ? this.items.forEach((t) => {
|
|
101
|
+
t.setAttribute("allow-drag", "true"), t.addEventListener("toggleDrag", this.toggleDrag);
|
|
102
|
+
}) : this.items.forEach((t) => {
|
|
103
|
+
t.removeAttribute("allow-drag"), t.removeEventListener("toggleDrag", this.toggleDrag);
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
selectItem(e) {
|
|
107
|
+
if (this.disabled)
|
|
108
|
+
return;
|
|
109
|
+
const t = this.items[e];
|
|
110
|
+
if (t.disabled)
|
|
111
|
+
return;
|
|
112
|
+
const i = this.value.includes(t.value);
|
|
113
|
+
i && !this.allowDeselect || (this.multiSelect || (this.value = []), i ? this.updateValue(this.value.filter((s) => s !== t.value)) : this.updateValue([...this.value, t.value]));
|
|
114
|
+
}
|
|
115
|
+
updateValue(e) {
|
|
116
|
+
this.value = e, this.valueChange.emit(this.value);
|
|
117
|
+
}
|
|
118
|
+
selectFocusedItem() {
|
|
119
|
+
this.disabled || this.getActiveItemIndex() === -1 || this.selectItem(this.getActiveItemIndex());
|
|
120
|
+
}
|
|
121
|
+
selectAllItems() {
|
|
122
|
+
if (this.disabled)
|
|
123
|
+
return;
|
|
124
|
+
this.items.every((t) => this.value.includes(t.value)) ? this.updateValue([]) : this.updateValue(this.items.map((t) => t.value));
|
|
125
|
+
}
|
|
126
|
+
syncItemsWithValue() {
|
|
127
|
+
var e;
|
|
128
|
+
(e = this.items) === null || e === void 0 || e.forEach((t) => t.selected = this.value.includes(t.value));
|
|
129
|
+
}
|
|
130
|
+
focusItem(e) {
|
|
131
|
+
var t;
|
|
132
|
+
if (this.disabled)
|
|
133
|
+
return;
|
|
134
|
+
this.items.forEach((s) => s.querySelector('[role="option"]').removeAttribute("tabIndex"));
|
|
135
|
+
const i = (t = this.items[e]) === null || t === void 0 ? void 0 : t.querySelector('[role="option"]');
|
|
136
|
+
!Boolean(i) || (i.setAttribute("tabIndex", "0"), i.focus(), this.focusedItem = i);
|
|
137
|
+
}
|
|
138
|
+
focusNextItem() {
|
|
139
|
+
if (this.disabled)
|
|
140
|
+
return;
|
|
141
|
+
const e = this.getActiveItemIndex(), t = Math.min(e + 1, this.items.length - 1);
|
|
142
|
+
this.focusItem(t);
|
|
143
|
+
}
|
|
144
|
+
focusPreviousItem() {
|
|
145
|
+
const e = this.getActiveItemIndex(), t = Math.max(e - 1, 0);
|
|
146
|
+
this.focusItem(t);
|
|
147
|
+
}
|
|
148
|
+
getActiveItemIndex() {
|
|
149
|
+
return this.items.map((e) => e.querySelector('[role="option"]')).findIndex((e) => e === this.focusedItem);
|
|
150
|
+
}
|
|
151
|
+
getItemIndex(e) {
|
|
152
|
+
return this.items.map((t) => t).findIndex((t) => t === e);
|
|
153
|
+
}
|
|
154
|
+
moveDraggedItemDown() {
|
|
155
|
+
const e = this.dragging.nextElementSibling;
|
|
156
|
+
!Boolean(e) || (e.after(this.dragging), this.updateItems(), this.listboxEl.focus(), this.assistiveText = `${this.assistiveTextItemMoving} ${this.getActiveItemIndex() + 1}`);
|
|
157
|
+
}
|
|
158
|
+
moveDraggedItemUp() {
|
|
159
|
+
const e = this.dragging.previousElementSibling;
|
|
160
|
+
!Boolean(e) || (e.before(this.dragging), this.updateItems(), this.listboxEl.focus(), this.assistiveText = `${this.assistiveTextItemMoving} ${this.getItemIndex(this.dragging) + 1}`);
|
|
161
|
+
}
|
|
162
|
+
render() {
|
|
163
|
+
const e = this.multiSelect ? "true" : void 0, t = this.disabled ? -1 : 0;
|
|
164
|
+
return o(u, null, o("swirl-visually-hidden", { role: "alert" }, this.assistiveText), o("div", { "aria-label": this.label, "aria-multiselectable": e, class: "option-list", id: this.optionListId, onClick: this.onClick, onFocus: this.onFocus, onKeyDown: this.onKeyDown, ref: (i) => this.listboxEl = i, role: "listbox", tabIndex: t }, o("slot", null)));
|
|
165
|
+
}
|
|
166
|
+
get el() {
|
|
167
|
+
return g(this);
|
|
168
|
+
}
|
|
169
|
+
static get watchers() {
|
|
170
|
+
return {
|
|
171
|
+
allowDrag: ["watchAllowDrag"],
|
|
172
|
+
disabled: ["watchDisabled"],
|
|
173
|
+
multiSelect: ["watchMultiSelect"],
|
|
174
|
+
value: ["watchValue"]
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
f.style = I;
|
|
179
|
+
export {
|
|
180
|
+
f as swirl_option_list
|
|
181
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as l, c as s, h as i, H as r } from "./index.
|
|
1
|
+
import { r as l, c as s, h as i, H as r } from "./index.63420343.js";
|
|
2
2
|
import { c as p } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { d as g } from "./utils-bc84f36e.1fee9865.js";
|
|
4
4
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as l, h as e, H as n, g as d } from "./index.
|
|
1
|
+
import { r as l, h as e, H as n, g as d } from "./index.63420343.js";
|
|
2
2
|
import { A as c } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
|
|
3
3
|
import { d as h, e as p } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as r } from "./index-d280dafb.186cdb0e.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as h, c as p, h as n, H as v, g as m } from "./index.
|
|
1
|
+
import { r as h, c as p, h as n, H as v, g as m } from "./index.63420343.js";
|
|
2
2
|
import { o as l, s as c, f, c as g, a as u } from "./floating-ui.dom.esm-ac7cc24e.79b318e4.js";
|
|
3
3
|
import { d as b, e as _ } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as y } from "./index-d280dafb.186cdb0e.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, c as l, h as i, H as n, g as u } from "./index.
|
|
1
|
+
import { r as o, c as l, h as i, H as n, g as u } from "./index.63420343.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const d = ".sc-swirl-radio-group-h{display:block}.sc-swirl-radio-group-h *.sc-swirl-radio-group{box-sizing:border-box}.radio-group.sc-swirl-radio-group{display:flex;flex-direction:column;gap:var(--s-space-12)}", h = class {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { r as c, c as n, h as e, H as a } from "./index.63420343.js";
|
|
2
|
+
import { c as m } from "./index-d280dafb.186cdb0e.js";
|
|
3
|
+
import { g as u } from "./utils-bc84f36e.1fee9865.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
const d = '.sc-swirl-resource-list-file-item-h{display:block;width:100%}.sc-swirl-resource-list-file-item-h *.sc-swirl-resource-list-file-item{box-sizing:border-box}.resource-list-file-item.sc-swirl-resource-list-file-item{position:relative;display:flex;width:100%;padding:var(--s-space-12) var(--s-space-16);align-items:center;background-color:var(--s-background-default);line-height:var(--s-line-height-base);gap:var(--s-space-12)}.resource-list-file-item.sc-swirl-resource-list-file-item:focus{outline:none}.resource-list-file-item.sc-swirl-resource-list-file-item:focus-visible{background-color:var(--s-background-hovered)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-file-item.sc-swirl-resource-list-file-item{padding:var(--s-space-12);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.resource-list-file-item--has-control.sc-swirl-resource-list-file-item .resource-list-file-item__label-container.sc-swirl-resource-list-file-item{padding-right:calc(var(--s-space-12) + 2.5rem)}.resource-list-file-item__icon.sc-swirl-resource-list-file-item{color:var(--s-icon-highlight)}.resource-list-file-item__label-container.sc-swirl-resource-list-file-item{position:relative;display:flex;min-width:0;min-height:2.875rem;flex-grow:1;justify-content:center;flex-direction:column}.resource-list-file-item__label-container.sc-swirl-resource-list-file-item:after{position:absolute;right:0;bottom:calc(-1 * var(--s-space-12));left:0;height:0.0625rem;background-color:var(--s-border-default);content:""}.resource-list-file-item__label.sc-swirl-resource-list-file-item{overflow:hidden;font-weight:var(--s-font-weight-medium);white-space:nowrap;text-overflow:ellipsis}.resource-list-file-item__description.sc-swirl-resource-list-file-item{overflow:hidden;margin-top:var(--s-space-2);color:var(--s-text-subdued);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);white-space:nowrap;text-overflow:ellipsis}.resource-list-file-item__error-message.sc-swirl-resource-list-file-item{margin-top:var(--s-space-2)}.resource-list-file-item__remove-button.sc-swirl-resource-list-file-item{position:absolute;top:50%;right:var(--s-space-16);display:inline-flex;transform:translateY(-50%)}.resource-list-file-item__spinner.sc-swirl-resource-list-file-item{position:absolute;top:50%;right:var(--s-space-24);display:inline-flex;transform:translateY(-50%)}', h = class {
|
|
7
|
+
constructor(s) {
|
|
8
|
+
c(this, s), this.remove = n(this, "remove", 7), this.desktopMediaQuery = u(), this.desktopMediaQueryHandler = (i) => {
|
|
9
|
+
this.forceIconProps(i.matches);
|
|
10
|
+
}, this.description = void 0, this.errorMessage = void 0, this.icon = "<swirl-icon-file></swirl-icon-file>", this.label = void 0, this.loading = void 0, this.removable = void 0, this.removeButtonLabel = "Remove file";
|
|
11
|
+
}
|
|
12
|
+
componentDidLoad() {
|
|
13
|
+
this.forceIconProps(this.desktopMediaQuery.matches), this.desktopMediaQuery.onchange = this.desktopMediaQueryHandler;
|
|
14
|
+
}
|
|
15
|
+
disconnectedCallback() {
|
|
16
|
+
var s, i;
|
|
17
|
+
(i = (s = this.desktopMediaQuery).removeEventListener) === null || i === void 0 || i.call(s, "change", this.desktopMediaQueryHandler);
|
|
18
|
+
}
|
|
19
|
+
forceIconProps(s) {
|
|
20
|
+
if (!Boolean(this.iconEl))
|
|
21
|
+
return;
|
|
22
|
+
const i = this.iconEl.children[0];
|
|
23
|
+
i == null || i.setAttribute("size", s ? "20" : "24");
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
const s = Boolean(this.errorMessage), i = !s && Boolean(this.description), r = !s && this.loading, t = this.removable && !r, l = m("resource-list-file-item", {
|
|
27
|
+
"resource-list-file-item--has-control": r || t
|
|
28
|
+
});
|
|
29
|
+
return e(a, { role: "row" }, e("div", { class: l, part: "resource-list-file-item", role: "gridcell" }, e("span", { class: "resource-list-file-item__icon", innerHTML: this.icon, ref: (o) => this.iconEl = o }), e("span", { class: "resource-list-file-item__label-container" }, e("span", { class: "resource-list-file-item__label", id: "label" }, this.label), i && e("span", { class: "resource-list-file-item__description" }, this.description), s && e("span", { "aria-live": "polite", class: "resource-list-file-item__error-message" }, e("swirl-inline-error", { message: this.errorMessage, size: "s" }))), r && e("span", { class: "resource-list-file-item__spinner" }, e("swirl-spinner", { size: "s" })), t && e("span", { class: "resource-list-file-item__remove-button" }, e("swirl-button", { hideLabel: !0, icon: "<swirl-icon-close></swirl-icon-close>", label: this.removeButtonLabel, onClick: this.remove.emit }))));
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
h.style = d;
|
|
33
|
+
export {
|
|
34
|
+
h as swirl_resource_list_file_item
|
|
35
|
+
};
|