@getflip/swirl-components-react 0.42.0 → 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.a176c8df.js → file-manager.entry.ddf5b8ee.js} +1 -1
- package/dist/{index.aa440ff4.js → index.050f274b.js} +1 -1
- package/dist/{swirl-action-list-section.entry.cd224e63.js → swirl-action-list-section.entry.12e1e193.js} +1 -1
- package/dist/{swirl-action-list_3.entry.a5a31a89.js → swirl-action-list_3.entry.61bf26ba.js} +1 -1
- package/dist/{swirl-app-bar.entry.0368d1fa.js → swirl-app-bar.entry.e67f72a6.js} +1 -1
- package/dist/{swirl-app-icon.entry.30e88343.js → swirl-app-icon.entry.edf1e5e3.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.503aa4a8.js → swirl-app-layout_7.entry.182542ac.js} +1 -1
- package/dist/{swirl-autocomplete.entry.47c146b0.js → swirl-autocomplete.entry.3ebfe0f7.js} +1 -1
- package/dist/{swirl-avatar-group.entry.f6f803a2.js → swirl-avatar-group.entry.5d08d0f7.js} +1 -1
- package/dist/{swirl-avatar.entry.08332078.js → swirl-avatar.entry.18bf86d4.js} +1 -1
- package/dist/{swirl-badge.entry.81d3684f.js → swirl-badge.entry.a5e6e81b.js} +1 -1
- package/dist/{swirl-banner.entry.8dc15815.js → swirl-banner.entry.7bb318df.js} +1 -1
- package/dist/{swirl-button-group.entry.fe37cc0c.js → swirl-button-group.entry.6774c45e.js} +1 -1
- package/dist/{swirl-button.entry.51b59ac3.js → swirl-button.entry.68d81b66.js} +1 -1
- package/dist/{swirl-card.entry.1d204f02.js → swirl-card.entry.303babb7.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.290b21c4.js → swirl-carousel-slide.entry.bab60b49.js} +1 -1
- package/dist/{swirl-carousel.entry.664e943a.js → swirl-carousel.entry.2f2ce8db.js} +1 -1
- package/dist/{swirl-checkbox.entry.f109c1d4.js → swirl-checkbox.entry.da5392f9.js} +1 -1
- package/dist/{swirl-chip.entry.3fa3e098.js → swirl-chip.entry.ee1da515.js} +1 -1
- package/dist/{swirl-columns.entry.1f4c477e.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.f358b5b3.js → swirl-console-layout.entry.0bf2d489.js} +1 -1
- package/dist/{swirl-date-input.entry.6f678c7c.js → swirl-date-input.entry.52333745.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.3815297c.js → swirl-date-picker_2.entry.6fed37a6.js} +1 -1
- package/dist/{swirl-description-list-item.entry.8b4df8be.js → swirl-description-list-item.entry.9942d98d.js} +1 -1
- package/dist/{swirl-description-list.entry.1733c5b8.js → swirl-description-list.entry.12535ff5.js} +1 -1
- package/dist/{swirl-dialog.entry.aaf68edb.js → swirl-dialog.entry.8ec8a3c1.js} +1 -1
- package/dist/{swirl-file-uploader.entry.3d5e7250.js → swirl-file-uploader.entry.c5b60f86.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.4eee46e4.js → swirl-file-viewer_7.entry.dfe92b3d.js} +1 -1
- package/dist/{swirl-form-control.entry.3435f3b9.js → swirl-form-control.entry.20f4ab75.js} +1 -1
- package/dist/{swirl-form-group.entry.904e2e7d.js → swirl-form-group.entry.a5b3c272.js} +1 -1
- package/dist/{swirl-heading.entry.4c974e46.js → swirl-heading.entry.38e09b19.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.1e2fc60c.js → swirl-icon-add-photo.entry.d5f64ec8.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.f90f2edc.js → swirl-icon-add_6.entry.c72b3897.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.4df0ea6b.js → swirl-icon-admin-panel-settings.entry.0704c9eb.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.e52f40c7.js → swirl-icon-arrow-back.entry.5a37def3.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.e0e2d38b.js → swirl-icon-arrow-downward_2.entry.128a384c.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.324798b5.js → swirl-icon-arrow-forward.entry.fbb3b2d0.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.43b1a92c.js → swirl-icon-arrow-left_4.entry.a19f6dd3.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.39d2c429.js → swirl-icon-arrow-right-small.entry.e2e36d49.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.5faf3855.js → swirl-icon-attachment.entry.0cad8857.js} +1 -1
- package/dist/{swirl-icon-block.entry.b12e2c41.js → swirl-icon-block.entry.d6fabf9a.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.4244fdfe.js → swirl-icon-bookmark.entry.f3966b23.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.490aab1d.js → swirl-icon-cancel_4.entry.f5d61372.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.ff936f11.js → swirl-icon-chat-bubble.entry.3fd7dcf3.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.f5291e43.js → swirl-icon-chats-filled.entry.320029b5.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.b44728de.js → swirl-icon-chats-outlined.entry.a70975fc.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.4b4bd341.js → swirl-icon-check-circle_3.entry.7acea032.js} +1 -1
- package/dist/{swirl-icon-check-small_4.entry.de3dff56.js → swirl-icon-check-small_4.entry.dbd1603d.js} +1 -1
- package/dist/{swirl-icon-check-strong.entry.9067a7ac.js → swirl-icon-check-strong.entry.74467e39.js} +1 -1
- package/dist/{swirl-icon-check.entry.4d2e4b39.js → swirl-icon-check.entry.3a78d635.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.be37a5dd.js → swirl-icon-chevron-left.entry.4a906947.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.be104f03.js → swirl-icon-chevron-right.entry.d1c4f2bf.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.bda8d2f7.js → swirl-icon-close-small.entry.decb0b9c.js} +1 -1
- package/dist/{swirl-icon-close.entry.33a800a7.js → swirl-icon-close.entry.ad6d8fbf.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.34603584.js → swirl-icon-cloud-upload.entry.404cd922.js} +1 -1
- package/dist/{swirl-icon-column.entry.96ac91a9.js → swirl-icon-column.entry.1b3b3154.js} +1 -1
- package/dist/{swirl-icon-comment.entry.34b1d09c.js → swirl-icon-comment.entry.dd53686c.js} +1 -1
- package/dist/{swirl-icon-copy.entry.289dc8f0.js → swirl-icon-copy.entry.3f0b463e.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.1f375a8d.js → swirl-icon-date-range.entry.927de7f3.js} +1 -1
- package/dist/{swirl-icon-delete.entry.a8168659.js → swirl-icon-delete.entry.6900a6f1.js} +1 -1
- package/dist/{swirl-icon-description.entry.02056430.js → swirl-icon-description.entry.f55cabb1.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.ffdb58a0.js → swirl-icon-double-arrow-left.entry.4b3ff78d.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.2cf08bfd.js → swirl-icon-double-arrow-right.entry.6f137e13.js} +1 -1
- package/dist/{swirl-icon-download.entry.93981a5e.js → swirl-icon-download.entry.dee7a39f.js} +1 -1
- package/dist/{swirl-icon-edit.entry.8b3adbfe.js → swirl-icon-edit.entry.fb92f6ce.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.6b787b3b.js → swirl-icon-emoji-mood.entry.c8cd4166.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.f509fa09.js → swirl-icon-emoji-satisfied.entry.0b05fb15.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.f96c07df.js → swirl-icon-error_3.entry.d5d49509.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.e4533436.js → swirl-icon-expand-more.entry.69e07f85.js} +1 -1
- package/dist/{swirl-icon-filter.entry.89883473.js → swirl-icon-filter.entry.f9a88489.js} +1 -1
- package/dist/{swirl-icon-folder.entry.e329af54.js → swirl-icon-folder.entry.f2dc1cd8.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.a9dd20d0.js → swirl-icon-group-assign.entry.999f7ace.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.8608555d.js → swirl-icon-groups-custom.entry.1dc35aa2.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.12916069.js → swirl-icon-groups-filled.entry.9714443e.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.686257a0.js → swirl-icon-groups-outlined.entry.84d62fb7.js} +1 -1
- package/dist/{swirl-icon-groups.entry.800b3c8b.js → swirl-icon-groups.entry.39b3c4b1.js} +1 -1
- package/dist/{swirl-icon-help.entry.617d0fbb.js → swirl-icon-help.entry.d4412328.js} +1 -1
- package/dist/{swirl-icon-image.entry.1acad3fa.js → swirl-icon-image.entry.75e35483.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.251221be.js → swirl-icon-inventory.entry.fe80f5fb.js} +1 -1
- package/dist/{swirl-icon-like.entry.3485e56b.js → swirl-icon-like.entry.1ce7471a.js} +1 -1
- package/dist/{swirl-icon-link.entry.90a849d6.js → swirl-icon-link.entry.94bef29a.js} +1 -1
- package/dist/{swirl-icon-lock.entry.30513794.js → swirl-icon-lock.entry.06cbde20.js} +1 -1
- package/dist/{swirl-icon-logout.entry.287fe79c.js → swirl-icon-logout.entry.3a56127d.js} +1 -1
- package/dist/{swirl-icon-mail.entry.d4c8f415.js → swirl-icon-mail.entry.73b21fc3.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.f3f0932e.js → swirl-icon-manage-accounts.entry.cd9f9654.js} +1 -1
- package/dist/{swirl-icon-mention.entry.6d27e8a0.js → swirl-icon-mention.entry.9d0fd534.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.489045da.js → swirl-icon-menu-filled.entry.59362a89.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.01c39cd4.js → swirl-icon-menu-outlined.entry.bdd7973a.js} +1 -1
- package/dist/{swirl-icon-menu.entry.6f2a997e.js → swirl-icon-menu.entry.958afcc7.js} +1 -1
- package/dist/{swirl-icon-message.entry.01143e7f.js → swirl-icon-message.entry.376573ac.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.e69faf88.js → swirl-icon-more-horizontal.entry.e60a0dde.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.aa333c4a.js → swirl-icon-news-filled.entry.56751f9f.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.784ddd08.js → swirl-icon-news-outlined.entry.5f99dae0.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.943830f3.js → swirl-icon-notifications-active.entry.24bdd5f0.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.6b9ce40e.js → swirl-icon-notifications-off.entry.2fcbb274.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.18339176.js → swirl-icon-notifications.entry.0b4d0602.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.5eecbb28.js → swirl-icon-open-in-new.entry.eb7a85b0.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.4dc91f53.js → swirl-icon-people-alt.entry.ec41825f.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.71ad1d1b.js → swirl-icon-person-off.entry.863a5560.js} +1 -1
- package/dist/{swirl-icon-person.entry.cdbec17f.js → swirl-icon-person.entry.2e4c894b.js} +1 -1
- package/dist/{swirl-icon-phone.entry.718d6801.js → swirl-icon-phone.entry.be23de8f.js} +1 -1
- package/dist/{swirl-icon-poll.entry.13d2bb79.js → swirl-icon-poll.entry.cc8e2b69.js} +1 -1
- package/dist/{swirl-icon-print.entry.bdab55bd.js → swirl-icon-print.entry.f89bf131.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.8b83c3dc.js → swirl-icon-recieved.entry.e73413a6.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.62be6ab8.js → swirl-icon-search-strong.entry.b04b2c6e.js} +1 -1
- package/dist/{swirl-icon-search.entry.9c51f7e3.js → swirl-icon-search.entry.6186ceb9.js} +1 -1
- package/dist/{swirl-icon-send.entry.ed60995c.js → swirl-icon-send.entry.f2e898e7.js} +1 -1
- package/dist/{swirl-icon-settings.entry.8ccccf36.js → swirl-icon-settings.entry.5af010db.js} +1 -1
- package/dist/{swirl-icon-sync.entry.325d14ec.js → swirl-icon-sync.entry.e245bc5f.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.ac384e73.js → swirl-icon-tasks-filled.entry.366cc34d.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.5f0cfeee.js → swirl-icon-tasks-outlined.entry.6023ad48.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.79ffe5ab.js → swirl-icon-time-filled.entry.27bd3e31.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.ca4112ee.js → swirl-icon-time-outlined.entry.2da70575.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.642cd7a7.js → swirl-icon-user-assign.entry.a6e9f0b2.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.343fc744.js → swirl-icon-video-camera.entry.a6376e16.js} +1 -1
- package/dist/{swirl-inline-notification.entry.6c008ee1.js → swirl-inline-notification.entry.e64f8800.js} +1 -1
- package/dist/{swirl-lightbox.entry.0c9a3251.js → swirl-lightbox.entry.a39808fc.js} +1 -1
- package/dist/{swirl-link.entry.9775c074.js → swirl-link.entry.ac5931db.js} +1 -1
- package/dist/{swirl-list.entry.27751d41.js → swirl-list.entry.d28f1b9e.js} +1 -1
- package/dist/{swirl-modal.entry.9208b891.js → swirl-modal.entry.ecd74412.js} +1 -1
- package/dist/{swirl-option-list-section.entry.c03e3a8c.js → swirl-option-list-section.entry.e4f09f77.js} +1 -1
- package/dist/{swirl-pagination.entry.42100395.js → swirl-pagination.entry.6cb9a968.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.5076ae61.js → swirl-pdf-reader.entry.987a3cc2.js} +1 -1
- package/dist/{swirl-popover.entry.5f3ef26c.js → swirl-popover.entry.80124ff8.js} +1 -1
- package/dist/{swirl-progress-indicator.entry.536fe4ee.js → swirl-progress-indicator.entry.2dce55b4.js} +1 -1
- package/dist/{swirl-radio-group.entry.4f43546e.js → swirl-radio-group.entry.c9e58817.js} +1 -1
- package/dist/{swirl-radio.entry.43d73627.js → swirl-radio.entry.7d40dfd2.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.f3a015ca.js → swirl-resource-list-file-item.entry.0488a7d1.js} +1 -1
- package/dist/{swirl-search.entry.d5cee8cc.js → swirl-search.entry.c37c94c7.js} +1 -1
- package/dist/{swirl-select.entry.d2d1779e.js → swirl-select.entry.29601a7c.js} +1 -1
- package/dist/{swirl-shell-layout.entry.8b28642a.js → swirl-shell-layout.entry.c4a9d5cd.js} +1 -1
- package/dist/{swirl-shell-navigation-item.entry.8aa611bf.js → swirl-shell-navigation-item.entry.2dad2451.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.a647882a.js → swirl-skeleton-box.entry.6d944e75.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.390a4b10.js → swirl-skeleton-text.entry.4869b679.js} +1 -1
- package/dist/{swirl-stack.entry.de572051.js → swirl-stack.entry.432f1e14.js} +1 -1
- package/dist/{swirl-switch.entry.13ac551d.js → swirl-switch.entry.083b1ab2.js} +1 -1
- package/dist/{swirl-tab-bar.entry.ac71b0c2.js → swirl-tab-bar.entry.151a05d4.js} +1 -1
- package/dist/{swirl-tab.entry.2e00057d.js → swirl-tab.entry.26e8bf1f.js} +1 -1
- package/dist/{swirl-table-cell.entry.828d158c.js → swirl-table-cell.entry.1801d440.js} +1 -1
- package/dist/{swirl-table-column.entry.2fc50c73.js → swirl-table-column.entry.2beaf629.js} +1 -1
- package/dist/{swirl-table-row-group.entry.08d0c73d.js → swirl-table-row-group.entry.0b84f9e4.js} +1 -1
- package/dist/{swirl-table-row.entry.02bc5a09.js → swirl-table-row.entry.0dd4a2de.js} +1 -1
- package/dist/{swirl-table.entry.04eaed50.js → swirl-table.entry.f093c201.js} +34 -39
- package/dist/{swirl-tabs.entry.acf1daf0.js → swirl-tabs.entry.fc9867f7.js} +1 -1
- package/dist/{swirl-tag.entry.ac40f5ec.js → swirl-tag.entry.6da1b1a3.js} +1 -1
- package/dist/{swirl-text-input.entry.ea79716c.js → swirl-text-input.entry.740221bb.js} +1 -1
- package/dist/{swirl-text.entry.6079100a.js → swirl-text.entry.16b12c73.js} +1 -1
- package/dist/{swirl-theme-provider.entry.73737ca7.js → swirl-theme-provider.entry.d85716ea.js} +1 -1
- package/dist/{swirl-toast-provider.entry.05a3c103.js → swirl-toast-provider.entry.e3c4b577.js} +1 -1
- package/dist/{swirl-toast.entry.b333283c.js → swirl-toast.entry.87ccd241.js} +1 -1
- package/dist/{swirl-tooltip.entry.4f8d99ee.js → swirl-tooltip.entry.aeee4d70.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.4532e091.js → swirl-tree-navigation-item.entry.5905545a.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.20ecfb3b.js → swirl-video-thumbnail.entry.716c5d54.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.358c55d9.js → swirl-visually-hidden.entry.fc6f61cd.js} +1 -1
- package/dist/{wc-datepicker.entry.e3a604d5.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.08d0c73d.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.358c55d9.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
|
},
|