@getflip/swirl-components-react 0.52.0 → 0.53.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.9b6e0b21.js → file-manager.entry.72b7d13c.js} +1 -1
- package/dist/{index.327e040c.js → index.fac2ca3b.js} +139 -139
- package/dist/{swirl-action-list-section.entry.67cf47f0.js → swirl-action-list-section.entry.9ce5f311.js} +1 -1
- package/dist/{swirl-action-list_3.entry.6d901c37.js → swirl-action-list_3.entry.fa7d86cc.js} +1 -1
- package/dist/{swirl-app-bar.entry.aa1b52df.js → swirl-app-bar.entry.f75d71a3.js} +1 -1
- package/dist/{swirl-app-icon.entry.cf3f9aaf.js → swirl-app-icon.entry.b9aa49fd.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.48195f6a.js → swirl-app-layout_7.entry.275740ad.js} +1 -1
- package/dist/{swirl-autocomplete.entry.12fa6f8e.js → swirl-autocomplete.entry.6757976d.js} +1 -1
- package/dist/{swirl-avatar-group.entry.3ca9587c.js → swirl-avatar-group.entry.e2965683.js} +1 -1
- package/dist/{swirl-avatar.entry.5372c72c.js → swirl-avatar.entry.55fd7972.js} +1 -1
- package/dist/{swirl-badge.entry.223d8620.js → swirl-badge.entry.2e522120.js} +1 -1
- package/dist/{swirl-banner.entry.a4526eae.js → swirl-banner.entry.0f77c945.js} +1 -1
- package/dist/{swirl-button-group.entry.6a96c869.js → swirl-button-group.entry.67115ddf.js} +1 -1
- package/dist/{swirl-button.entry.d36eb2ec.js → swirl-button.entry.64e33561.js} +1 -1
- package/dist/{swirl-card.entry.947c1a73.js → swirl-card.entry.d59262fd.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.6f804e73.js → swirl-carousel-slide.entry.ee924354.js} +1 -1
- package/dist/{swirl-carousel.entry.79d506d3.js → swirl-carousel.entry.2a38a2ad.js} +1 -1
- package/dist/{swirl-checkbox.entry.c7095316.js → swirl-checkbox.entry.461bdbf6.js} +1 -1
- package/dist/{swirl-chip.entry.e468252f.js → swirl-chip.entry.91188d12.js} +1 -1
- package/dist/{swirl-columns.entry.2c51a10e.js → swirl-columns.entry.e881d7e7.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +19 -19
- package/dist/{swirl-console-layout.entry.d15834f5.js → swirl-console-layout.entry.bae76046.js} +1 -1
- package/dist/{swirl-date-input.entry.dff86f43.js → swirl-date-input.entry.8eb02310.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.3f736631.js → swirl-date-picker_2.entry.2ea45cf7.js} +1 -1
- package/dist/{swirl-description-list-item.entry.4a509a77.js → swirl-description-list-item.entry.79e4bc43.js} +1 -1
- package/dist/{swirl-description-list.entry.e7a62e2a.js → swirl-description-list.entry.f6dd55cb.js} +1 -1
- package/dist/{swirl-dialog.entry.793e725d.js → swirl-dialog.entry.bd248ecf.js} +1 -1
- package/dist/{swirl-file-uploader.entry.d3ad8135.js → swirl-file-uploader.entry.d1c78525.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.bc1cc9e3.js → swirl-file-viewer_7.entry.2e4f92d1.js} +1 -1
- package/dist/{swirl-form-control.entry.aff99d2b.js → swirl-form-control.entry.5c493a48.js} +1 -1
- package/dist/{swirl-form-group.entry.b7ed6fe8.js → swirl-form-group.entry.c5e34905.js} +1 -1
- package/dist/{swirl-heading.entry.75938cd7.js → swirl-heading.entry.696e0d48.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.604afda5.js → swirl-icon-add-photo.entry.e116af53.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.0998630a.js → swirl-icon-add_6.entry.abc6bb0a.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.0b066fa1.js → swirl-icon-admin-panel-settings.entry.9de64f1d.js} +1 -1
- package/dist/{swirl-icon-ai.entry.369d8017.js → swirl-icon-ai.entry.31310a9f.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.68ae1ac3.js → swirl-icon-arrow-back.entry.e2b1a01e.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.e49bb678.js → swirl-icon-arrow-downward_2.entry.81c8b527.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.9e0497a2.js → swirl-icon-arrow-forward.entry.fae45efa.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.885e28c9.js → swirl-icon-arrow-left_4.entry.752300f8.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.e3f2d662.js → swirl-icon-arrow-right-small.entry.327ada2b.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.ad138a41.js → swirl-icon-attachment.entry.99a47af7.js} +1 -1
- package/dist/{swirl-icon-block.entry.522a4f0d.js → swirl-icon-block.entry.9a1b4967.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.b63741fb.js → swirl-icon-bookmark.entry.1df2072e.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.00a8132a.js → swirl-icon-cancel_4.entry.068e9982.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.2d34320f.js → swirl-icon-chat-bubble.entry.cacada73.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.ec7cff0b.js → swirl-icon-chats-filled.entry.a6132a6c.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.9380449e.js → swirl-icon-chats-outlined.entry.4d53adba.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.4591fde8.js → swirl-icon-check-circle_3.entry.c49ec714.js} +1 -1
- package/dist/{swirl-icon-check-small_4.entry.28c8da4d.js → swirl-icon-check-small_4.entry.dcec349f.js} +1 -1
- package/dist/{swirl-icon-check-strong.entry.8c978106.js → swirl-icon-check-strong.entry.c156257b.js} +1 -1
- package/dist/{swirl-icon-check.entry.85aa16a4.js → swirl-icon-check.entry.b6996b59.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.8caf40af.js → swirl-icon-chevron-left.entry.fa057a81.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.47ffca38.js → swirl-icon-chevron-right.entry.504a22aa.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.7e6be93f.js → swirl-icon-close-small.entry.6ecb6923.js} +1 -1
- package/dist/{swirl-icon-close.entry.36a1694d.js → swirl-icon-close.entry.dd86be72.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.f76ead0b.js → swirl-icon-cloud-upload.entry.217f880c.js} +1 -1
- package/dist/{swirl-icon-column.entry.d4608422.js → swirl-icon-column.entry.91d620ea.js} +1 -1
- package/dist/{swirl-icon-comment.entry.4ab81920.js → swirl-icon-comment.entry.4fd68ec6.js} +1 -1
- package/dist/{swirl-icon-copy.entry.766ca7b0.js → swirl-icon-copy.entry.0516d949.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.0bd9a961.js → swirl-icon-date-range.entry.bf1941ad.js} +1 -1
- package/dist/{swirl-icon-delete.entry.dd3e41c4.js → swirl-icon-delete.entry.20bf33c1.js} +1 -1
- package/dist/{swirl-icon-description.entry.3708e176.js → swirl-icon-description.entry.e6e1d7ff.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.063ded92.js → swirl-icon-double-arrow-left.entry.e8523582.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.9a0d55e6.js → swirl-icon-double-arrow-right.entry.bf8f3680.js} +1 -1
- package/dist/{swirl-icon-download.entry.6cfc1b7a.js → swirl-icon-download.entry.4b91fc90.js} +1 -1
- package/dist/{swirl-icon-edit.entry.fff45ca0.js → swirl-icon-edit.entry.94f6c691.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.8f70a1b7.js → swirl-icon-emoji-mood.entry.bc72e0ea.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.9d341401.js → swirl-icon-emoji-satisfied.entry.9dd39bd5.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.97d2223d.js → swirl-icon-error_3.entry.a547eb8e.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.6eedd69b.js → swirl-icon-expand-more.entry.54027f67.js} +1 -1
- package/dist/{swirl-icon-filter.entry.9bcb008f.js → swirl-icon-filter.entry.be4a2e51.js} +1 -1
- package/dist/{swirl-icon-folder.entry.3b561a0b.js → swirl-icon-folder.entry.11638572.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.1aa588cd.js → swirl-icon-group-assign.entry.e7796844.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.1dc25f1b.js → swirl-icon-groups-custom.entry.5404c60e.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.b3881b73.js → swirl-icon-groups-filled.entry.23cd3dae.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.1c2430fe.js → swirl-icon-groups-outlined.entry.a5414b09.js} +1 -1
- package/dist/{swirl-icon-groups.entry.a2886f9f.js → swirl-icon-groups.entry.f7e0b408.js} +1 -1
- package/dist/{swirl-icon-help.entry.d1ef64bd.js → swirl-icon-help.entry.c4116736.js} +1 -1
- package/dist/{swirl-icon-image.entry.d572a39d.js → swirl-icon-image.entry.38d5dcc6.js} +1 -1
- package/dist/{swirl-icon-improve-text.entry.4f135a61.js → swirl-icon-improve-text.entry.fa9f7dbd.js} +1 -1
- package/dist/{swirl-icon-insert-below.entry.0ce9a9c3.js → swirl-icon-insert-below.entry.57f369d1.js} +1 -1
- package/dist/{swirl-icon-insert-on-top.entry.9d88ba1e.js → swirl-icon-insert-on-top.entry.8615de8b.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.81d77efc.js → swirl-icon-inventory.entry.023734ad.js} +1 -1
- package/dist/{swirl-icon-like.entry.c788817e.js → swirl-icon-like.entry.3e84d900.js} +1 -1
- package/dist/{swirl-icon-link.entry.107e6507.js → swirl-icon-link.entry.d576854f.js} +1 -1
- package/dist/{swirl-icon-lock-person.entry.b6f9674a.js → swirl-icon-lock-person.entry.09d21ff7.js} +1 -1
- package/dist/{swirl-icon-lock.entry.56486a5f.js → swirl-icon-lock.entry.b4927050.js} +1 -1
- package/dist/{swirl-icon-logout.entry.57a79db4.js → swirl-icon-logout.entry.7cb8bed5.js} +1 -1
- package/dist/{swirl-icon-long-text.entry.13c24547.js → swirl-icon-long-text.entry.2241db4f.js} +1 -1
- package/dist/{swirl-icon-mail.entry.79014893.js → swirl-icon-mail.entry.455e15d2.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.685178d4.js → swirl-icon-manage-accounts.entry.a97e1c99.js} +1 -1
- package/dist/{swirl-icon-mention.entry.b6f3549d.js → swirl-icon-mention.entry.9e9ed88d.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.e4182af9.js → swirl-icon-menu-filled.entry.f78f158d.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.2dbf92c9.js → swirl-icon-menu-outlined.entry.bce3ac60.js} +1 -1
- package/dist/{swirl-icon-menu.entry.8942010d.js → swirl-icon-menu.entry.8936129d.js} +1 -1
- package/dist/{swirl-icon-message.entry.71c98f3c.js → swirl-icon-message.entry.3006c8aa.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.2765a4ad.js → swirl-icon-more-horizontal.entry.1fb0dd9c.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.8cf36003.js → swirl-icon-news-filled.entry.dea35761.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.010d409a.js → swirl-icon-news-outlined.entry.7036ea59.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.4c0bdeb6.js → swirl-icon-notifications-active.entry.957d0255.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.b403dc13.js → swirl-icon-notifications-off.entry.ceaed11b.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.b3d89992.js → swirl-icon-notifications.entry.daba91e3.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.6e53a3f9.js → swirl-icon-open-in-new.entry.410f8558.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.9f373f9e.js → swirl-icon-people-alt.entry.14aa38d9.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.9273bada.js → swirl-icon-person-off.entry.5b85ab43.js} +1 -1
- package/dist/{swirl-icon-person.entry.2b08d3f5.js → swirl-icon-person.entry.0002cf0f.js} +1 -1
- package/dist/{swirl-icon-phone.entry.be089723.js → swirl-icon-phone.entry.5aac176b.js} +1 -1
- package/dist/{swirl-icon-poll.entry.4df7271f.js → swirl-icon-poll.entry.ee35da4c.js} +1 -1
- package/dist/{swirl-icon-print.entry.0c9c95b7.js → swirl-icon-print.entry.967d34bd.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.85f3e918.js → swirl-icon-recieved.entry.1fbcc33b.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.d28ef1cb.js → swirl-icon-search-strong.entry.4139e3ae.js} +1 -1
- package/dist/{swirl-icon-search.entry.3d236a1c.js → swirl-icon-search.entry.66e9f117.js} +1 -1
- package/dist/{swirl-icon-send.entry.1ec936c7.js → swirl-icon-send.entry.e9207356.js} +1 -1
- package/dist/{swirl-icon-settings.entry.1fac84ef.js → swirl-icon-settings.entry.879379ad.js} +1 -1
- package/dist/{swirl-icon-short-text.entry.d4f48d9e.js → swirl-icon-short-text.entry.54c7c9d4.js} +1 -1
- package/dist/{swirl-icon-simplify.entry.e55199c4.js → swirl-icon-simplify.entry.080000b8.js} +1 -1
- package/dist/{swirl-icon-spellcheck.entry.c1841e05.js → swirl-icon-spellcheck.entry.f3aa442f.js} +1 -1
- package/dist/{swirl-icon-sync.entry.a47ed1e1.js → swirl-icon-sync.entry.6224ddde.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.65c09f8d.js → swirl-icon-tasks-filled.entry.ce766b24.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.f76ed81a.js → swirl-icon-tasks-outlined.entry.58ef6b90.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.d2ea0ce7.js → swirl-icon-time-filled.entry.d246061a.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.138535d3.js → swirl-icon-time-outlined.entry.6f0a9370.js} +1 -1
- package/dist/{swirl-icon-undo.entry.45f3ed1f.js → swirl-icon-undo.entry.f75f7bcf.js} +1 -1
- package/dist/{swirl-icon-unlock-person.entry.ab7515a3.js → swirl-icon-unlock-person.entry.81e22d46.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.609ce95b.js → swirl-icon-user-assign.entry.96c84b7c.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.cd1a28af.js → swirl-icon-video-camera.entry.5b6d879b.js} +1 -1
- package/dist/{swirl-icon-voice.entry.13db5c45.js → swirl-icon-voice.entry.c545e7bf.js} +1 -1
- package/dist/{swirl-icon.entry.1e21b604.js → swirl-icon.entry.91d36e92.js} +1 -1
- package/dist/{swirl-inline-notification.entry.596da188.js → swirl-inline-notification.entry.817bbe34.js} +1 -1
- package/dist/{swirl-lightbox.entry.bb27ed17.js → swirl-lightbox.entry.4894fcbb.js} +1 -1
- package/dist/{swirl-link.entry.ab616faf.js → swirl-link.entry.fed7a721.js} +1 -1
- package/dist/{swirl-list.entry.2196e2ae.js → swirl-list.entry.17fb6cd9.js} +1 -1
- package/dist/{swirl-modal.entry.b97908f8.js → swirl-modal.entry.6319b527.js} +1 -1
- package/dist/{swirl-option-list-section.entry.a9c83492.js → swirl-option-list-section.entry.fffbc20b.js} +1 -1
- package/dist/{swirl-pagination.entry.cdc8247a.js → swirl-pagination.entry.6c83217c.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.4fec554b.js → swirl-pdf-reader.entry.ae6edd3e.js} +1 -1
- package/dist/{swirl-popover.entry.1fee5452.js → swirl-popover.entry.9bdc5d9e.js} +16 -15
- package/dist/{swirl-progress-indicator.entry.206941c5.js → swirl-progress-indicator.entry.3b6d3e7c.js} +1 -1
- package/dist/{swirl-radio-group.entry.3f12865f.js → swirl-radio-group.entry.a4604c3c.js} +1 -1
- package/dist/{swirl-radio.entry.ca230b56.js → swirl-radio.entry.ceb41f1b.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.67de38df.js → swirl-resource-list-file-item.entry.58712314.js} +1 -1
- package/dist/{swirl-search.entry.8c035791.js → swirl-search.entry.7ae2c2b3.js} +1 -1
- package/dist/{swirl-select.entry.b5cff257.js → swirl-select.entry.3e1decb8.js} +1 -1
- package/dist/{swirl-shell-layout.entry.b43a6286.js → swirl-shell-layout.entry.4463b167.js} +1 -1
- package/dist/{swirl-shell-navigation-item.entry.19ed9451.js → swirl-shell-navigation-item.entry.226c6821.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.041fc1a5.js → swirl-skeleton-box.entry.f61e0071.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.d6308b60.js → swirl-skeleton-text.entry.04f1c45f.js} +1 -1
- package/dist/{swirl-stack.entry.bc08ecae.js → swirl-stack.entry.858dea15.js} +1 -1
- package/dist/{swirl-switch.entry.22a47a17.js → swirl-switch.entry.a788707b.js} +1 -1
- package/dist/{swirl-tab-bar.entry.9fd5ce9e.js → swirl-tab-bar.entry.bbff1b04.js} +4 -4
- package/dist/{swirl-tab.entry.44d9a26f.js → swirl-tab.entry.84497b06.js} +1 -1
- package/dist/{swirl-table-cell.entry.7e9c1b06.js → swirl-table-cell.entry.faf795d6.js} +1 -1
- package/dist/{swirl-table-column.entry.dbb19424.js → swirl-table-column.entry.7502b726.js} +1 -1
- package/dist/{swirl-table-row-group.entry.55bb211f.js → swirl-table-row-group.entry.0df74971.js} +1 -1
- package/dist/{swirl-table-row.entry.36dbcde3.js → swirl-table-row.entry.162c780a.js} +1 -1
- package/dist/{swirl-table.entry.c323224a.js → swirl-table.entry.b84c128d.js} +16 -14
- package/dist/{swirl-tabs.entry.22f66eec.js → swirl-tabs.entry.d052aeb9.js} +1 -1
- package/dist/{swirl-tag.entry.58d4771e.js → swirl-tag.entry.bf1ed5f6.js} +1 -1
- package/dist/{swirl-text-input.entry.7b69b715.js → swirl-text-input.entry.05526dfb.js} +1 -1
- package/dist/{swirl-text.entry.8750032c.js → swirl-text.entry.8faa8db6.js} +1 -1
- package/dist/{swirl-theme-provider.entry.238fdd0e.js → swirl-theme-provider.entry.6d4b1a33.js} +1 -1
- package/dist/{swirl-toast-provider.entry.00f1db69.js → swirl-toast-provider.entry.2269b752.js} +1 -1
- package/dist/{swirl-toast.entry.297087ed.js → swirl-toast.entry.0196a135.js} +1 -1
- package/dist/{swirl-tooltip.entry.ba196e69.js → swirl-tooltip.entry.df8126bd.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.05232d9c.js → swirl-tree-navigation-item.entry.81e6638b.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.d77cf374.js → swirl-video-thumbnail.entry.94156c1e.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.b3d412a9.js → swirl-visually-hidden.entry.52ff9507.js} +1 -1
- package/dist/{wc-datepicker.entry.19dc1582.js → wc-datepicker.entry.7f4759a9.js} +1 -1
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as g, h as r, H as v, g as _ } from "./index.
|
|
2
|
-
import {
|
|
1
|
+
import { r as g, h as r, H as v, g as _ } from "./index.fac2ca3b.js";
|
|
2
|
+
import { d as S, i as R } from "./utils-61f188cc.4a43deab.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
var
|
|
5
|
+
var x = function(t) {
|
|
6
6
|
var l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = void 0, s = void 0, n = void 0, a = [];
|
|
7
7
|
return function() {
|
|
8
|
-
var m =
|
|
8
|
+
var m = C(l), p = new Date().getTime(), w = !i || p - i > m;
|
|
9
9
|
i = p;
|
|
10
10
|
for (var b = arguments.length, d = Array(b), c = 0; c < b; c++)
|
|
11
11
|
d[c] = arguments[c];
|
|
@@ -13,7 +13,7 @@ var R = function(t) {
|
|
|
13
13
|
return o.accumulate ? Promise.resolve(t.call(this, [d])).then(function(u) {
|
|
14
14
|
return u[0];
|
|
15
15
|
}) : Promise.resolve(t.call.apply(t, [this].concat(d)));
|
|
16
|
-
if (s ? clearTimeout(n) : s =
|
|
16
|
+
if (s ? clearTimeout(n) : s = E(), a.push(d), n = setTimeout(y.bind(this), m), o.accumulate) {
|
|
17
17
|
var f = a.length - 1;
|
|
18
18
|
return s.promise.then(function(u) {
|
|
19
19
|
return u[f];
|
|
@@ -26,24 +26,26 @@ var R = function(t) {
|
|
|
26
26
|
clearTimeout(n), Promise.resolve(o.accumulate ? t.call(this, a) : t.apply(this, a[a.length - 1])).then(h.resolve, h.reject), a = [], s = null;
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
function
|
|
29
|
+
function C(e) {
|
|
30
30
|
return typeof e == "function" ? e() : e;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function E() {
|
|
33
33
|
var e = {};
|
|
34
34
|
return e.promise = new Promise(function(t, l) {
|
|
35
35
|
e.resolve = t, e.reject = l;
|
|
36
36
|
}), e;
|
|
37
37
|
}
|
|
38
|
-
const
|
|
38
|
+
const L = `:host{position:relative;display:block}:host *{box-sizing:border-box}.table__container{position:relative;overflow:auto;width:100%}.table__container--scrolled{--swirl-table-sticky-right-shadow:0.0625rem 0 0 0 var(--s-border-default),
|
|
39
39
|
-0.0625rem 0 0 0 var(--s-border-default),
|
|
40
40
|
0 0.25rem 1rem rgba(25, 26, 28, 0.04),
|
|
41
41
|
0 0.0625rem 0.25rem rgba(25, 26, 28, 0.16)}.table__container--scrollable:not(.table__container--scrolled-to-end){--swirl-table-sticky-left-shadow:0.0625rem 0 0 0 var(--s-border-default),
|
|
42
42
|
-0.0625rem 0 0 0 var(--s-border-default),
|
|
43
43
|
0 0.25rem 1rem rgba(25, 26, 28, 0.04),
|
|
44
|
-
0 0.0625rem 0.25rem rgba(25, 26, 28, 0.16)}.table__table{width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:max(20rem, 100%)}.table__header ::slotted(*){display:flex}.table__empty-row{display:flex}.table__empty-row-cell{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;border-right:var(--s-border-width-default) solid var(--s-border-default);border-bottom:var(--s-border-width-default) solid var(--s-border-default);border-left:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-background-default)}.table__empty-row-cell>*{flex-grow:1}`,
|
|
44
|
+
0 0.0625rem 0.25rem rgba(25, 26, 28, 0.16)}.table__table{width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:max(20rem, 100%)}.table__header ::slotted(*){display:flex}.table__empty-row{display:flex}.table__empty-row-cell{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;border-right:var(--s-border-width-default) solid var(--s-border-default);border-bottom:var(--s-border-width-default) solid var(--s-border-default);border-left:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-background-default)}.table__empty-row-cell>*{flex-grow:1}`, q = class {
|
|
45
45
|
constructor(e) {
|
|
46
|
-
g(this, e), this.
|
|
46
|
+
g(this, e), this.triggerRerender = S(async () => {
|
|
47
|
+
await this.updateLayout(), this.updateScrolledState(), this.updateEmptyState();
|
|
48
|
+
}, 60, !0), this.updateLayout = x(async () => {
|
|
47
49
|
this.resetCellStyles(), this.resetColumnStyles(), this.resetEmptyRowStyles(), this.resetRowGroupStyles(), this.layoutEmptyRow(), this.layoutRowGroups(), this.layOutCells();
|
|
48
50
|
}, 16, { leading: !0 }), this.onScroll = () => {
|
|
49
51
|
this.updateScrolledState();
|
|
@@ -58,7 +60,7 @@ const E = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
58
60
|
await this.updateLayout(), this.updateScrolledState();
|
|
59
61
|
}
|
|
60
62
|
async rerender() {
|
|
61
|
-
|
|
63
|
+
this.triggerRerender();
|
|
62
64
|
}
|
|
63
65
|
resetEmptyRowStyles() {
|
|
64
66
|
const e = this.el.shadowRoot.querySelector(".table__empty-row");
|
|
@@ -81,7 +83,7 @@ const E = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
81
83
|
});
|
|
82
84
|
}
|
|
83
85
|
updateScrolledState() {
|
|
84
|
-
const e =
|
|
86
|
+
const e = R(), t = this.container.scrollWidth > this.container.clientWidth, l = this.container.scrollLeft > 0, o = Math.ceil(this.container.clientWidth + this.container.scrollLeft) >= Math.floor(this.container.scrollWidth);
|
|
85
87
|
t !== this.scrollable && (t && !e ? this.container.classList.add("table__container--scrollable") : this.container.classList.remove("table__container--scrollable")), l !== this.scrolled && (l && !e ? this.container.classList.add("table__container--scrolled") : this.container.classList.remove("table__container--scrolled")), o !== this.scrolledToEnd && (o && !e ? this.container.classList.add("table__container--scrolled-to-end") : this.container.classList.remove("table__container--scrolled-to-end"));
|
|
86
88
|
}
|
|
87
89
|
getColumns() {
|
|
@@ -125,7 +127,7 @@ const E = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
125
127
|
return _(this);
|
|
126
128
|
}
|
|
127
129
|
};
|
|
128
|
-
|
|
130
|
+
q.style = L;
|
|
129
131
|
export {
|
|
130
|
-
|
|
132
|
+
q as swirl_table
|
|
131
133
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e, c as b, h as s, H as r, g as n } from "./index.
|
|
1
|
+
import { r as e, c as b, h as s, H as r, g as n } from "./index.fac2ca3b.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const c = ".sc-swirl-tabs-h{display:block;width:100%}.sc-swirl-tabs-h *.sc-swirl-tabs{box-sizing:border-box}.tabs.sc-swirl-tabs{width:100%}", h = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as I, h as p, H as J, g as T } from "./index.
|
|
1
|
+
import { r as I, h as p, H as J, g as T } from "./index.fac2ca3b.js";
|
|
2
2
|
import { c as V } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { b as G } from "./balancetext-fa49c64f.754e913c.js";
|
|
4
4
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as a, c as n, h as i, H as r } from "./index.
|
|
1
|
+
import { r as a, c as n, h as i, H as r } from "./index.fac2ca3b.js";
|
|
2
2
|
import { c as d } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { a as c } from "./utils-61f188cc.4a43deab.js";
|
|
4
4
|
import "react";
|
package/dist/{swirl-visually-hidden.entry.b3d412a9.js → swirl-visually-hidden.entry.52ff9507.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as s, h as i, H as l } from "./index.
|
|
1
|
+
import { r as s, h as i, H as l } from "./index.fac2ca3b.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const t = ":host{position:absolute;display:inline;overflow:hidden;width:1px;height:1px;margin:-1px;padding:0;border:0;white-space:nowrap;word-wrap:normal;clip:rect(0, 0, 0, 0)}", o = class {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-components-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.53.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"build": "tsc && vite build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@getflip/swirl-components": "^0.
|
|
21
|
+
"@getflip/swirl-components": "^0.54.1",
|
|
22
22
|
"react": "^18.2.0",
|
|
23
23
|
"react-dom": "^18.2.0"
|
|
24
24
|
},
|