@getflip/swirl-components-react 0.42.1 → 0.42.2
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.040c8827.js → file-manager.entry.ddf5b8ee.js} +1 -1
- package/dist/{index.f71b364f.js → index.050f274b.js} +1 -1
- package/dist/{swirl-action-list-section.entry.261c37d1.js → swirl-action-list-section.entry.12e1e193.js} +1 -1
- package/dist/{swirl-action-list_3.entry.4efd19ba.js → swirl-action-list_3.entry.61bf26ba.js} +1 -1
- package/dist/{swirl-app-bar.entry.c5a9e052.js → swirl-app-bar.entry.e67f72a6.js} +1 -1
- package/dist/{swirl-app-icon.entry.223e3e76.js → swirl-app-icon.entry.edf1e5e3.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.d36fd194.js → swirl-app-layout_7.entry.182542ac.js} +1 -1
- package/dist/{swirl-autocomplete.entry.68aca9cd.js → swirl-autocomplete.entry.3ebfe0f7.js} +1 -1
- package/dist/{swirl-avatar-group.entry.ed029922.js → swirl-avatar-group.entry.5d08d0f7.js} +1 -1
- package/dist/{swirl-avatar.entry.1d307f8f.js → swirl-avatar.entry.18bf86d4.js} +1 -1
- package/dist/{swirl-badge.entry.ea8cc1aa.js → swirl-badge.entry.a5e6e81b.js} +1 -1
- package/dist/{swirl-banner.entry.2d13d7d7.js → swirl-banner.entry.7bb318df.js} +1 -1
- package/dist/{swirl-button-group.entry.ea5d642b.js → swirl-button-group.entry.6774c45e.js} +1 -1
- package/dist/{swirl-button.entry.8cef1309.js → swirl-button.entry.68d81b66.js} +1 -1
- package/dist/{swirl-card.entry.1424d8f7.js → swirl-card.entry.303babb7.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.5e469e42.js → swirl-carousel-slide.entry.bab60b49.js} +1 -1
- package/dist/{swirl-carousel.entry.958bff95.js → swirl-carousel.entry.2f2ce8db.js} +1 -1
- package/dist/{swirl-checkbox.entry.612f42f8.js → swirl-checkbox.entry.da5392f9.js} +1 -1
- package/dist/{swirl-chip.entry.56d2df84.js → swirl-chip.entry.ee1da515.js} +1 -1
- package/dist/{swirl-columns.entry.3b0979d1.js → swirl-columns.entry.c91ace70.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +1 -1
- package/dist/{swirl-console-layout.entry.a484556b.js → swirl-console-layout.entry.0bf2d489.js} +1 -1
- package/dist/{swirl-date-input.entry.cc4c9f10.js → swirl-date-input.entry.52333745.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.e17a4ac0.js → swirl-date-picker_2.entry.6fed37a6.js} +1 -1
- package/dist/{swirl-description-list-item.entry.1f715fa3.js → swirl-description-list-item.entry.9942d98d.js} +1 -1
- package/dist/{swirl-description-list.entry.bd2baa0c.js → swirl-description-list.entry.12535ff5.js} +1 -1
- package/dist/{swirl-dialog.entry.40083be5.js → swirl-dialog.entry.8ec8a3c1.js} +1 -1
- package/dist/{swirl-file-uploader.entry.26df6684.js → swirl-file-uploader.entry.c5b60f86.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.c1ad82d0.js → swirl-file-viewer_7.entry.dfe92b3d.js} +1 -1
- package/dist/{swirl-form-control.entry.0127c1b8.js → swirl-form-control.entry.20f4ab75.js} +1 -1
- package/dist/{swirl-form-group.entry.67f7fb7d.js → swirl-form-group.entry.a5b3c272.js} +1 -1
- package/dist/{swirl-heading.entry.a879ca01.js → swirl-heading.entry.38e09b19.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.e24c4a18.js → swirl-icon-add-photo.entry.d5f64ec8.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.17b4e727.js → swirl-icon-add_6.entry.c72b3897.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.dffbb881.js → swirl-icon-admin-panel-settings.entry.0704c9eb.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.f9e1fb62.js → swirl-icon-arrow-back.entry.5a37def3.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.41a03513.js → swirl-icon-arrow-downward_2.entry.128a384c.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.901aff42.js → swirl-icon-arrow-forward.entry.fbb3b2d0.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.1f0d95e3.js → swirl-icon-arrow-left_4.entry.a19f6dd3.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.f28c2093.js → swirl-icon-arrow-right-small.entry.e2e36d49.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.87d612ef.js → swirl-icon-attachment.entry.0cad8857.js} +1 -1
- package/dist/{swirl-icon-block.entry.8f223fb7.js → swirl-icon-block.entry.d6fabf9a.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.9e19e39f.js → swirl-icon-bookmark.entry.f3966b23.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.a07a46d4.js → swirl-icon-cancel_4.entry.f5d61372.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.9258b2d8.js → swirl-icon-chat-bubble.entry.3fd7dcf3.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.09b70b04.js → swirl-icon-chats-filled.entry.320029b5.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.8ea6a1c7.js → swirl-icon-chats-outlined.entry.a70975fc.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.06b74bee.js → swirl-icon-check-circle_3.entry.7acea032.js} +1 -1
- package/dist/{swirl-icon-check-small_4.entry.b33b9b0d.js → swirl-icon-check-small_4.entry.dbd1603d.js} +1 -1
- package/dist/{swirl-icon-check-strong.entry.721e5ed2.js → swirl-icon-check-strong.entry.74467e39.js} +1 -1
- package/dist/{swirl-icon-check.entry.521fa666.js → swirl-icon-check.entry.3a78d635.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.1a44f30b.js → swirl-icon-chevron-left.entry.4a906947.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.eb47b7eb.js → swirl-icon-chevron-right.entry.d1c4f2bf.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.be59febd.js → swirl-icon-close-small.entry.decb0b9c.js} +1 -1
- package/dist/{swirl-icon-close.entry.2003e6b2.js → swirl-icon-close.entry.ad6d8fbf.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.47af60bc.js → swirl-icon-cloud-upload.entry.404cd922.js} +1 -1
- package/dist/{swirl-icon-column.entry.6141369d.js → swirl-icon-column.entry.1b3b3154.js} +1 -1
- package/dist/{swirl-icon-comment.entry.07a7780f.js → swirl-icon-comment.entry.dd53686c.js} +1 -1
- package/dist/{swirl-icon-copy.entry.e6e58480.js → swirl-icon-copy.entry.3f0b463e.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.14b27aff.js → swirl-icon-date-range.entry.927de7f3.js} +1 -1
- package/dist/{swirl-icon-delete.entry.2bade4e0.js → swirl-icon-delete.entry.6900a6f1.js} +1 -1
- package/dist/{swirl-icon-description.entry.d71c7fd0.js → swirl-icon-description.entry.f55cabb1.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.8ff2ed19.js → swirl-icon-double-arrow-left.entry.4b3ff78d.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.200a52a8.js → swirl-icon-double-arrow-right.entry.6f137e13.js} +1 -1
- package/dist/{swirl-icon-download.entry.20be9930.js → swirl-icon-download.entry.dee7a39f.js} +1 -1
- package/dist/{swirl-icon-edit.entry.b23e0d95.js → swirl-icon-edit.entry.fb92f6ce.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.c202a7a9.js → swirl-icon-emoji-mood.entry.c8cd4166.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.b045dbb0.js → swirl-icon-emoji-satisfied.entry.0b05fb15.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.ea6cb367.js → swirl-icon-error_3.entry.d5d49509.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.b653d92f.js → swirl-icon-expand-more.entry.69e07f85.js} +1 -1
- package/dist/{swirl-icon-filter.entry.870af6ed.js → swirl-icon-filter.entry.f9a88489.js} +1 -1
- package/dist/{swirl-icon-folder.entry.7128d4ab.js → swirl-icon-folder.entry.f2dc1cd8.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.1f45ce4b.js → swirl-icon-group-assign.entry.999f7ace.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.0ec4ab00.js → swirl-icon-groups-custom.entry.1dc35aa2.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.9a4c85e4.js → swirl-icon-groups-filled.entry.9714443e.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.93f5c687.js → swirl-icon-groups-outlined.entry.84d62fb7.js} +1 -1
- package/dist/{swirl-icon-groups.entry.6e414f79.js → swirl-icon-groups.entry.39b3c4b1.js} +1 -1
- package/dist/{swirl-icon-help.entry.3bc7d2f9.js → swirl-icon-help.entry.d4412328.js} +1 -1
- package/dist/{swirl-icon-image.entry.b2494615.js → swirl-icon-image.entry.75e35483.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.9d4ff30f.js → swirl-icon-inventory.entry.fe80f5fb.js} +1 -1
- package/dist/{swirl-icon-like.entry.e60b27ba.js → swirl-icon-like.entry.1ce7471a.js} +1 -1
- package/dist/{swirl-icon-link.entry.d1157f9e.js → swirl-icon-link.entry.94bef29a.js} +1 -1
- package/dist/{swirl-icon-lock.entry.8b03ac4c.js → swirl-icon-lock.entry.06cbde20.js} +1 -1
- package/dist/{swirl-icon-logout.entry.b9d42162.js → swirl-icon-logout.entry.3a56127d.js} +1 -1
- package/dist/{swirl-icon-mail.entry.80fa2456.js → swirl-icon-mail.entry.73b21fc3.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.e8e1a44a.js → swirl-icon-manage-accounts.entry.cd9f9654.js} +1 -1
- package/dist/{swirl-icon-mention.entry.9e53a3ba.js → swirl-icon-mention.entry.9d0fd534.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.e271a573.js → swirl-icon-menu-filled.entry.59362a89.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.7ce67138.js → swirl-icon-menu-outlined.entry.bdd7973a.js} +1 -1
- package/dist/{swirl-icon-menu.entry.c0e8ebe5.js → swirl-icon-menu.entry.958afcc7.js} +1 -1
- package/dist/{swirl-icon-message.entry.3567364f.js → swirl-icon-message.entry.376573ac.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.2745d453.js → swirl-icon-more-horizontal.entry.e60a0dde.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.ca336a96.js → swirl-icon-news-filled.entry.56751f9f.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.016dd78f.js → swirl-icon-news-outlined.entry.5f99dae0.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.df6f9286.js → swirl-icon-notifications-active.entry.24bdd5f0.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.05a7282f.js → swirl-icon-notifications-off.entry.2fcbb274.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.f877bd5b.js → swirl-icon-notifications.entry.0b4d0602.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.fe19c436.js → swirl-icon-open-in-new.entry.eb7a85b0.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.e84d5755.js → swirl-icon-people-alt.entry.ec41825f.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.1273f267.js → swirl-icon-person-off.entry.863a5560.js} +1 -1
- package/dist/{swirl-icon-person.entry.f41b2029.js → swirl-icon-person.entry.2e4c894b.js} +1 -1
- package/dist/{swirl-icon-phone.entry.3c59ac11.js → swirl-icon-phone.entry.be23de8f.js} +1 -1
- package/dist/{swirl-icon-poll.entry.4869ae1d.js → swirl-icon-poll.entry.cc8e2b69.js} +1 -1
- package/dist/{swirl-icon-print.entry.5120e0ea.js → swirl-icon-print.entry.f89bf131.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.41d48f3e.js → swirl-icon-recieved.entry.e73413a6.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.9c70c6e0.js → swirl-icon-search-strong.entry.b04b2c6e.js} +1 -1
- package/dist/{swirl-icon-search.entry.086fa592.js → swirl-icon-search.entry.6186ceb9.js} +1 -1
- package/dist/{swirl-icon-send.entry.30d37613.js → swirl-icon-send.entry.f2e898e7.js} +1 -1
- package/dist/{swirl-icon-settings.entry.85830f2b.js → swirl-icon-settings.entry.5af010db.js} +1 -1
- package/dist/{swirl-icon-sync.entry.d7a75b50.js → swirl-icon-sync.entry.e245bc5f.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.72c67695.js → swirl-icon-tasks-filled.entry.366cc34d.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.9485ac4c.js → swirl-icon-tasks-outlined.entry.6023ad48.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.d2e808ee.js → swirl-icon-time-filled.entry.27bd3e31.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.7f97895f.js → swirl-icon-time-outlined.entry.2da70575.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.cc02859b.js → swirl-icon-user-assign.entry.a6e9f0b2.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.e83435ae.js → swirl-icon-video-camera.entry.a6376e16.js} +1 -1
- package/dist/{swirl-inline-notification.entry.27d6ed7a.js → swirl-inline-notification.entry.e64f8800.js} +1 -1
- package/dist/{swirl-lightbox.entry.cf438d1e.js → swirl-lightbox.entry.a39808fc.js} +1 -1
- package/dist/{swirl-link.entry.dcc2bcdd.js → swirl-link.entry.ac5931db.js} +1 -1
- package/dist/{swirl-list.entry.b42baa9e.js → swirl-list.entry.d28f1b9e.js} +1 -1
- package/dist/{swirl-modal.entry.aa643bfb.js → swirl-modal.entry.ecd74412.js} +1 -1
- package/dist/{swirl-option-list-section.entry.99d4f727.js → swirl-option-list-section.entry.e4f09f77.js} +1 -1
- package/dist/{swirl-pagination.entry.c8c5afa2.js → swirl-pagination.entry.6cb9a968.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.e9d03dd0.js → swirl-pdf-reader.entry.987a3cc2.js} +1 -1
- package/dist/{swirl-popover.entry.b2197813.js → swirl-popover.entry.80124ff8.js} +1 -1
- package/dist/{swirl-progress-indicator.entry.53c5ec2c.js → swirl-progress-indicator.entry.2dce55b4.js} +1 -1
- package/dist/{swirl-radio-group.entry.294b4f05.js → swirl-radio-group.entry.c9e58817.js} +1 -1
- package/dist/{swirl-radio.entry.ef689fa8.js → swirl-radio.entry.7d40dfd2.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.11e0a657.js → swirl-resource-list-file-item.entry.0488a7d1.js} +1 -1
- package/dist/{swirl-search.entry.7e02e632.js → swirl-search.entry.c37c94c7.js} +1 -1
- package/dist/{swirl-select.entry.617c5cdb.js → swirl-select.entry.29601a7c.js} +1 -1
- package/dist/{swirl-shell-layout.entry.731579a5.js → swirl-shell-layout.entry.c4a9d5cd.js} +1 -1
- package/dist/{swirl-shell-navigation-item.entry.f6c1f394.js → swirl-shell-navigation-item.entry.2dad2451.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.89730476.js → swirl-skeleton-box.entry.6d944e75.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.8e26ed16.js → swirl-skeleton-text.entry.4869b679.js} +1 -1
- package/dist/{swirl-stack.entry.fbaca1eb.js → swirl-stack.entry.432f1e14.js} +1 -1
- package/dist/{swirl-switch.entry.00d7438e.js → swirl-switch.entry.083b1ab2.js} +1 -1
- package/dist/{swirl-tab-bar.entry.21fc7397.js → swirl-tab-bar.entry.151a05d4.js} +1 -1
- package/dist/{swirl-tab.entry.44b97bc7.js → swirl-tab.entry.26e8bf1f.js} +1 -1
- package/dist/{swirl-table-cell.entry.cf1096bb.js → swirl-table-cell.entry.1801d440.js} +1 -1
- package/dist/{swirl-table-column.entry.3895f059.js → swirl-table-column.entry.2beaf629.js} +1 -1
- package/dist/{swirl-table-row-group.entry.751a5e37.js → swirl-table-row-group.entry.0b84f9e4.js} +1 -1
- package/dist/{swirl-table-row.entry.84071496.js → swirl-table-row.entry.0dd4a2de.js} +1 -1
- package/dist/{swirl-table.entry.e5aa8057.js → swirl-table.entry.f093c201.js} +34 -39
- package/dist/{swirl-tabs.entry.23aab171.js → swirl-tabs.entry.fc9867f7.js} +1 -1
- package/dist/{swirl-tag.entry.fc1c4206.js → swirl-tag.entry.6da1b1a3.js} +1 -1
- package/dist/{swirl-text-input.entry.b4751ab6.js → swirl-text-input.entry.740221bb.js} +1 -1
- package/dist/{swirl-text.entry.bd581b5f.js → swirl-text.entry.16b12c73.js} +1 -1
- package/dist/{swirl-theme-provider.entry.72139ca6.js → swirl-theme-provider.entry.d85716ea.js} +1 -1
- package/dist/{swirl-toast-provider.entry.b9b65fd7.js → swirl-toast-provider.entry.e3c4b577.js} +1 -1
- package/dist/{swirl-toast.entry.a8eb5ac0.js → swirl-toast.entry.87ccd241.js} +1 -1
- package/dist/{swirl-tooltip.entry.79f06652.js → swirl-tooltip.entry.aeee4d70.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.80ffbaf9.js → swirl-tree-navigation-item.entry.5905545a.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.f59a9f58.js → swirl-video-thumbnail.entry.716c5d54.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.fe500850.js → swirl-visually-hidden.entry.fc6f61cd.js} +1 -1
- package/dist/{wc-datepicker.entry.024e4491.js → wc-datepicker.entry.8ad23683.js} +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e, h as s, H as l } from "./index.
|
|
1
|
+
import { r as e, h as s, H as l } from "./index.050f274b.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const o = ":host{display:flex;overflow:auto;padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:var(--s-space-16);flex-basis:0;flex-grow:1;flex-shrink:1;align-items:center;background-color:var(--s-background-default);word-break:break-word;-webkit-hyphens:auto;hyphens:auto;transition:box-shadow 0.15s}:host(.table-cell--has-shadow-right){box-shadow:var(--swirl-table-sticky-right-shadow)}:host(.table-cell--has-shadow-left){box-shadow:var(--swirl-table-sticky-left-shadow)}:host *{box-sizing:border-box}", t = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e, h as t, H as i, g as r } from "./index.
|
|
1
|
+
import { r as e, h as t, H as i, g as r } from "./index.050f274b.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const a = ":host{display:flex;overflow:hidden;padding-top:var(--s-space-12);padding-right:var(--s-space-16);padding-bottom:var(--s-space-12);padding-left:var(--s-space-16);flex-basis:0;flex-grow:1;flex-shrink:1;align-items:center;border-bottom:var(--s-border-width-default) solid var(--s-border-default);color:var(--s-text-subdued);background-color:var(--s-background-default);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-sm);white-space:nowrap;letter-spacing:var(--s-letter-spacing-tighter);text-overflow:ellipsis;transition:box-shadow 0.15s;gap:var(--s-space-8)}:host(.table-column--has-shadow-right){box-shadow:var(--swirl-table-sticky-right-shadow)}:host(.table-column--has-shadow-left){box-shadow:var(--swirl-table-sticky-left-shadow)}:host *{box-sizing:border-box}.table-column__sort-indicator{display:inline-flex;width:1.25rem;height:1.25rem;flex-grow:0;flex-shrink:0}", o = class {
|
package/dist/{swirl-table-row-group.entry.751a5e37.js → swirl-table-row-group.entry.0b84f9e4.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, h as r, H as s, g as t } from "./index.
|
|
1
|
+
import { r as o, h as r, H as s, g as t } from "./index.050f274b.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const a = ":host{position:relative;z-index:1;display:block}:host *{box-sizing:border-box}.table-row-group__header-row{padding:var(--s-space-12) var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-surface-raised-default);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-sm)}@media (min-width: 768px){.table-row-group__label{position:sticky;left:var(--s-space-16)}}", l = class {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { r as g, h as i, H as
|
|
1
|
+
import { r as g, h as i, H as _, g as S } from "./index.050f274b.js";
|
|
2
2
|
import { i as v } from "./utils-61f188cc.4a43deab.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
var C = function(e) {
|
|
6
|
-
var
|
|
6
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = void 0, r = void 0, c = void 0, o = [];
|
|
7
7
|
return function() {
|
|
8
|
-
var
|
|
8
|
+
var b = L(a), h = new Date().getTime(), y = !n || h - n > b;
|
|
9
9
|
n = h;
|
|
10
|
-
for (var
|
|
11
|
-
u[
|
|
10
|
+
for (var l = arguments.length, u = Array(l), w = 0; w < l; w++)
|
|
11
|
+
u[w] = arguments[w];
|
|
12
12
|
if (y && s.leading)
|
|
13
13
|
return s.accumulate ? Promise.resolve(e.call(this, [u])).then(function(f) {
|
|
14
14
|
return f[0];
|
|
15
15
|
}) : Promise.resolve(e.call.apply(e, [this].concat(u)));
|
|
16
|
-
if (r ? clearTimeout(c) : r = x(), o.push(u), c = setTimeout(m.bind(this),
|
|
16
|
+
if (r ? clearTimeout(c) : r = x(), o.push(u), c = setTimeout(m.bind(this), b), s.accumulate) {
|
|
17
17
|
var p = o.length - 1;
|
|
18
18
|
return r.promise.then(function(f) {
|
|
19
19
|
return f[p];
|
|
@@ -31,8 +31,8 @@ function L(t) {
|
|
|
31
31
|
}
|
|
32
32
|
function x() {
|
|
33
33
|
var t = {};
|
|
34
|
-
return t.promise = new Promise(function(e,
|
|
35
|
-
t.resolve = e, t.reject =
|
|
34
|
+
return t.promise = new Promise(function(e, a) {
|
|
35
|
+
t.resolve = e, t.reject = a;
|
|
36
36
|
}), t;
|
|
37
37
|
}
|
|
38
38
|
const R = `: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),
|
|
@@ -45,18 +45,21 @@ const R = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
45
45
|
constructor(t) {
|
|
46
46
|
g(this, t), this.updateLayout = C(async () => {
|
|
47
47
|
await this.resetEmptyRowStyles(), await this.resetRowGroupStyles(), await this.resetCellStyles(), await this.resetColumnStyles(), await this.layoutEmptyRow(), await this.layoutRowGroups(), await this.layOutColumns(), this.layOutCells();
|
|
48
|
-
},
|
|
48
|
+
}, 17, { leading: !0 }), this.onScroll = () => {
|
|
49
49
|
this.updateScrolledState();
|
|
50
|
-
}, this.onSlotChange = async () => {
|
|
51
|
-
await this.updateLayout(), this.updateScrolledState(), this.updateEmptyState();
|
|
52
50
|
}, this.caption = void 0, this.emptyStateLabel = "No results found.", this.label = void 0, this.empty = void 0, this.scrollable = void 0, this.scrolled = void 0, this.scrolledToEnd = void 0;
|
|
53
51
|
}
|
|
54
52
|
componentDidLoad() {
|
|
55
|
-
this.
|
|
53
|
+
this.observer = new MutationObserver(async () => {
|
|
54
|
+
await this.updateLayout(), this.updateScrolledState(), this.updateEmptyState();
|
|
55
|
+
}), this.observer.observe(this.el, {
|
|
56
|
+
childList: !0,
|
|
57
|
+
subtree: !0
|
|
58
|
+
});
|
|
56
59
|
}
|
|
57
60
|
disconnectedCallback() {
|
|
58
|
-
var t;
|
|
59
|
-
(t = this.columnObserver) === null || t === void 0 || t.disconnect();
|
|
61
|
+
var t, e;
|
|
62
|
+
(t = this.columnObserver) === null || t === void 0 || t.disconnect(), (e = this.observer) === null || e === void 0 || e.disconnect();
|
|
60
63
|
}
|
|
61
64
|
async componentDidRender() {
|
|
62
65
|
await this.updateLayout(), this.updateScrolledState(), this.updateEmptyState();
|
|
@@ -64,17 +67,9 @@ const R = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
64
67
|
async onWindowResize() {
|
|
65
68
|
await this.updateLayout(), this.updateScrolledState();
|
|
66
69
|
}
|
|
67
|
-
observeColumnChanges() {
|
|
68
|
-
var t, e, l;
|
|
69
|
-
this.columnObserver = new MutationObserver(this.onSlotChange);
|
|
70
|
-
const s = (l = (e = (t = this.el.shadowRoot.querySelector('slot[name="columns"]')).assignedElements) === null || e === void 0 ? void 0 : e.call(t)) === null || l === void 0 ? void 0 : l[0];
|
|
71
|
-
!Boolean(s) || this.columnObserver.observe(s, {
|
|
72
|
-
childList: !0
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
70
|
updateScrolledState() {
|
|
76
|
-
const t = v(), e = this.container.scrollWidth > this.container.clientWidth,
|
|
77
|
-
e !== this.scrollable && (e && !t ? this.container.classList.add("table__container--scrollable") : this.container.classList.remove("table__container--scrollable")),
|
|
71
|
+
const t = v(), e = this.container.scrollWidth > this.container.clientWidth, a = this.container.scrollLeft > 0, s = Math.ceil(this.container.clientWidth + this.container.scrollLeft) >= Math.floor(this.container.scrollWidth);
|
|
72
|
+
e !== this.scrollable && (e && !t ? this.container.classList.add("table__container--scrollable") : this.container.classList.remove("table__container--scrollable")), a !== this.scrolled && (a && !t ? this.container.classList.add("table__container--scrolled") : this.container.classList.remove("table__container--scrolled")), s !== this.scrolledToEnd && (s && !t ? this.container.classList.add("table__container--scrolled-to-end") : this.container.classList.remove("table__container--scrolled-to-end"));
|
|
78
73
|
}
|
|
79
74
|
getColumns() {
|
|
80
75
|
return Array.from(this.el.querySelectorAll("swirl-table-column"));
|
|
@@ -110,34 +105,34 @@ const R = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
110
105
|
}
|
|
111
106
|
async layoutRowGroups() {
|
|
112
107
|
const t = Array.from(this.el.querySelectorAll("swirl-table-row-group")), e = `${this.el.shadowRoot.querySelector(".table__container").scrollWidth}px`;
|
|
113
|
-
t.forEach((
|
|
114
|
-
|
|
108
|
+
t.forEach((a) => {
|
|
109
|
+
a.shadowRoot.querySelector(".table-row-group__header-row").style.width = e;
|
|
115
110
|
});
|
|
116
111
|
}
|
|
117
112
|
async layOutColumns() {
|
|
118
|
-
const t = this.getColumns(),
|
|
113
|
+
const t = this.getColumns(), a = this.container.clientWidth;
|
|
119
114
|
t.forEach((s, n) => {
|
|
120
115
|
var r, c;
|
|
121
116
|
if (!s.sticky || v())
|
|
122
117
|
return;
|
|
123
|
-
const o = n <= Math.floor(t.length / 2), m = (r = t[n + 1]) === null || r === void 0 ? void 0 : r.sticky, d = (c = t[n - 1]) === null || c === void 0 ? void 0 : c.sticky,
|
|
124
|
-
s.style.zIndex =
|
|
125
|
-
const y = o ? s.offsetLeft : Math.max(0,
|
|
118
|
+
const o = n <= Math.floor(t.length / 2), m = (r = t[n + 1]) === null || r === void 0 ? void 0 : r.sticky, d = (c = t[n - 1]) === null || c === void 0 ? void 0 : c.sticky, b = o && m;
|
|
119
|
+
s.style.zIndex = b ? "1" : "", o && !m || !o && !d ? s.classList.add(o ? "table-column--has-shadow-right" : "table-column--has-shadow-left") : (s.classList.remove("table-column--has-shadow-right"), s.classList.remove("table-column--has-shadow-left"));
|
|
120
|
+
const y = o ? s.offsetLeft : Math.max(0, a - (s.offsetLeft + s.getBoundingClientRect().width));
|
|
126
121
|
s.style.position = "sticky", o ? s.style.left = `${y}px` : s.style.right = `${y}px`;
|
|
127
122
|
}), await new Promise((s) => setTimeout(s));
|
|
128
123
|
}
|
|
129
124
|
layOutCells() {
|
|
130
125
|
const t = this.getColumns(), e = this.getCells();
|
|
131
|
-
t.forEach((
|
|
126
|
+
t.forEach((a, s) => {
|
|
132
127
|
var n, r;
|
|
133
|
-
const c = e.filter((
|
|
134
|
-
c.forEach((
|
|
135
|
-
const u = h && o,
|
|
136
|
-
if (
|
|
137
|
-
|
|
128
|
+
const c = e.filter((l, u) => (s - u) % t.length === 0), o = s <= Math.floor(t.length / 2), m = o ? window.getComputedStyle(a).left : window.getComputedStyle(a).right, d = (n = t[s + 1]) === null || n === void 0 ? void 0 : n.sticky, b = (r = t[s - 1]) === null || r === void 0 ? void 0 : r.sticky, h = a.sticky, y = a.width || `${a.getBoundingClientRect().width}px`;
|
|
129
|
+
c.forEach((l) => {
|
|
130
|
+
const u = h && o, w = h && !o, p = o && d;
|
|
131
|
+
if (l.style.flex = Boolean(y) ? `0 0 ${y}` : "", v()) {
|
|
132
|
+
l.classList.remove("table-cell--has-shadow"), l.style.left = "", l.style.right = "", l.style.position = "", l.style.zIndex = "";
|
|
138
133
|
return;
|
|
139
134
|
}
|
|
140
|
-
|
|
135
|
+
l.style.left = u ? m : "", l.style.right = w ? m : "", l.style.position = h ? "sticky" : "", l.style.zIndex = p ? "1" : "", h && (o && !d || !o && !b) ? l.classList.add(o ? "table-cell--has-shadow-right" : "table-cell--has-shadow-left") : (l.classList.remove("table-cell--has-shadow-right"), l.classList.remove("table-cell--has-shadow-left"));
|
|
141
136
|
});
|
|
142
137
|
});
|
|
143
138
|
}
|
|
@@ -146,10 +141,10 @@ const R = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
146
141
|
this.empty = !Boolean(t) || t.children.length === 0;
|
|
147
142
|
}
|
|
148
143
|
render() {
|
|
149
|
-
return i(
|
|
144
|
+
return i(_, null, i("div", { class: "table" }, i("div", { class: "table__container", onScroll: this.onScroll, ref: (t) => this.container = t }, i("div", { "aria-describedby": Boolean(this.caption) ? "caption" : void 0, "aria-label": this.label, role: "table", class: "table__table" }, this.caption && i("swirl-visually-hidden", null, i("div", { id: "caption" }, this.caption)), i("div", { role: "rowgroup" }, i("div", { class: "table__header", role: "row" }, i("slot", { name: "columns" }))), i("div", { class: "table__body" }, i("slot", { name: "rows" }), this.empty && i("div", { class: "table__empty-row", role: "row" }, i("div", { "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, i("swirl-text", { align: "center", size: "sm" }, this.emptyStateLabel))))))));
|
|
150
145
|
}
|
|
151
146
|
get el() {
|
|
152
|
-
return
|
|
147
|
+
return S(this);
|
|
153
148
|
}
|
|
154
149
|
};
|
|
155
150
|
T.style = R;
|
|
@@ -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.050f274b.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 J, h as y, H as T, g as V } from "./index.
|
|
1
|
+
import { r as J, h as y, H as T, g as V } from "./index.050f274b.js";
|
|
2
2
|
import { c as F } 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 o, c as n, h as i, H as r } from "./index.
|
|
1
|
+
import { r as o, c as n, h as i, H as r } from "./index.050f274b.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.fe500850.js → swirl-visually-hidden.entry.fc6f61cd.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.050f274b.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.42.
|
|
3
|
+
"version": "0.42.2",
|
|
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.43.
|
|
21
|
+
"@getflip/swirl-components": "^0.43.2",
|
|
22
22
|
"react": "^18.2.0",
|
|
23
23
|
"react-dom": "^18.2.0"
|
|
24
24
|
},
|