@getflip/swirl-components-react 0.37.1 → 0.37.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.73977a5c.js → file-manager.entry.beb28625.js} +1 -1
- package/dist/{index.7f4bac97.js → index.5e15f5c9.js} +1 -1
- package/dist/{swirl-action-list-section.entry.9bb5a630.js → swirl-action-list-section.entry.1c6b1162.js} +1 -1
- package/dist/{swirl-action-list_3.entry.d6eca843.js → swirl-action-list_3.entry.5d2d44c9.js} +1 -1
- package/dist/{swirl-app-bar.entry.60ba2575.js → swirl-app-bar.entry.d2d7b4ad.js} +1 -1
- package/dist/{swirl-app-icon.entry.8f08cfe3.js → swirl-app-icon.entry.114fdef2.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.9f576f13.js → swirl-app-layout_7.entry.8358fc02.js} +1 -1
- package/dist/{swirl-autocomplete.entry.dedf3e1a.js → swirl-autocomplete.entry.186973ce.js} +1 -1
- package/dist/{swirl-avatar-group.entry.9f57be97.js → swirl-avatar-group.entry.69e38924.js} +1 -1
- package/dist/{swirl-avatar.entry.2c573c3c.js → swirl-avatar.entry.ff96ffb0.js} +1 -1
- package/dist/{swirl-badge.entry.d63e8156.js → swirl-badge.entry.23b0a99f.js} +1 -1
- package/dist/{swirl-banner.entry.0b28bfac.js → swirl-banner.entry.2e774915.js} +1 -1
- package/dist/{swirl-button-group.entry.f83b0d57.js → swirl-button-group.entry.ff8444a8.js} +1 -1
- package/dist/{swirl-button.entry.ffdb0f12.js → swirl-button.entry.c9559241.js} +1 -1
- package/dist/{swirl-card.entry.dbf0c0cf.js → swirl-card.entry.e6a76617.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.95355117.js → swirl-carousel-slide.entry.d4bf6426.js} +1 -1
- package/dist/{swirl-carousel.entry.8917c676.js → swirl-carousel.entry.3c35456a.js} +1 -1
- package/dist/{swirl-checkbox.entry.30574652.js → swirl-checkbox.entry.56d857bc.js} +1 -1
- package/dist/{swirl-chip.entry.61b6867b.js → swirl-chip.entry.73d8a308.js} +1 -1
- package/dist/{swirl-columns.entry.84b94a8a.js → swirl-columns.entry.e89f4e28.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +2 -2
- package/dist/{swirl-console-layout.entry.123d3303.js → swirl-console-layout.entry.0375b068.js} +1 -1
- package/dist/{swirl-date-input.entry.26b00e93.js → swirl-date-input.entry.fa6d6758.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.ebd1050c.js → swirl-date-picker_2.entry.1aa055cd.js} +1 -1
- package/dist/{swirl-description-list-item.entry.1c807301.js → swirl-description-list-item.entry.2e799851.js} +1 -1
- package/dist/{swirl-description-list.entry.6441937b.js → swirl-description-list.entry.31b45fdf.js} +1 -1
- package/dist/{swirl-dialog.entry.e6e79722.js → swirl-dialog.entry.c2212518.js} +1 -1
- package/dist/{swirl-file-uploader.entry.eb253d0b.js → swirl-file-uploader.entry.a746148b.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.b8b5d989.js → swirl-file-viewer_7.entry.ce735d05.js} +1 -1
- package/dist/{swirl-form-control.entry.ea038d8c.js → swirl-form-control.entry.3b347c58.js} +1 -1
- package/dist/{swirl-form-group.entry.c50ca2d8.js → swirl-form-group.entry.e257409c.js} +1 -1
- package/dist/{swirl-heading.entry.e570679e.js → swirl-heading.entry.e82aea10.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.a56ed114.js → swirl-icon-add-photo.entry.55ca97b0.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.71f4e5ce.js → swirl-icon-add_6.entry.db722cfe.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.890c0f21.js → swirl-icon-admin-panel-settings.entry.8f921b50.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.140e93b9.js → swirl-icon-arrow-back.entry.06e914f6.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.dbec3db6.js → swirl-icon-arrow-downward_2.entry.63f64c99.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.dae7b90a.js → swirl-icon-arrow-forward.entry.b62c5122.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.fc48f071.js → swirl-icon-arrow-left_4.entry.e96a5231.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.24e8e6f1.js → swirl-icon-arrow-right-small.entry.031bce59.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.e801c836.js → swirl-icon-attachment.entry.3da6fb12.js} +1 -1
- package/dist/{swirl-icon-block.entry.acb58b2e.js → swirl-icon-block.entry.da6261b5.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.71545856.js → swirl-icon-bookmark.entry.7f876fe2.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.17387dcd.js → swirl-icon-cancel_4.entry.05c47f2c.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.3f9d7f53.js → swirl-icon-chat-bubble.entry.e55ed498.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.38cc797c.js → swirl-icon-chats-filled.entry.5e6acba0.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.3173c46e.js → swirl-icon-chats-outlined.entry.067bae59.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.cebe199c.js → swirl-icon-check-circle_3.entry.dd20549a.js} +1 -1
- package/dist/{swirl-icon-check-small_4.entry.64182e52.js → swirl-icon-check-small_4.entry.2c0b3e25.js} +3 -2
- package/dist/{swirl-icon-check-strong.entry.07ab3e70.js → swirl-icon-check-strong.entry.01c0b4c3.js} +1 -1
- package/dist/{swirl-icon-check.entry.663b4a95.js → swirl-icon-check.entry.0a90d964.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.59e59b3b.js → swirl-icon-chevron-left.entry.b533bad1.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.0a36cb05.js → swirl-icon-chevron-right.entry.92dbf653.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.fb7acf56.js → swirl-icon-close-small.entry.9e8b9ce4.js} +1 -1
- package/dist/{swirl-icon-close.entry.455f2d5e.js → swirl-icon-close.entry.1cacb075.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.ac6114dd.js → swirl-icon-cloud-upload.entry.9e11705c.js} +1 -1
- package/dist/{swirl-icon-column.entry.e40de78b.js → swirl-icon-column.entry.ded103d3.js} +1 -1
- package/dist/{swirl-icon-comment.entry.29c0ab5a.js → swirl-icon-comment.entry.df4ee355.js} +1 -1
- package/dist/{swirl-icon-copy.entry.60941e51.js → swirl-icon-copy.entry.33e866f3.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.db7e27ed.js → swirl-icon-date-range.entry.07b63935.js} +1 -1
- package/dist/{swirl-icon-delete.entry.ebb68840.js → swirl-icon-delete.entry.ecbeaf71.js} +1 -1
- package/dist/{swirl-icon-description.entry.feaf6b9d.js → swirl-icon-description.entry.4a0583a6.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.cefe1ba6.js → swirl-icon-double-arrow-left.entry.e0c14123.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.987924b4.js → swirl-icon-double-arrow-right.entry.d0971c85.js} +1 -1
- package/dist/{swirl-icon-download.entry.918ecbb3.js → swirl-icon-download.entry.102140da.js} +1 -1
- package/dist/{swirl-icon-edit.entry.22c97d41.js → swirl-icon-edit.entry.f519daff.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.d2d50cc9.js → swirl-icon-emoji-mood.entry.86b54ffc.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.df2de4ef.js → swirl-icon-emoji-satisfied.entry.bc0c823c.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.7d909143.js → swirl-icon-error_3.entry.f243165c.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.6924aed3.js → swirl-icon-expand-more.entry.fb3e7cf9.js} +1 -1
- package/dist/{swirl-icon-filter.entry.8afa54ab.js → swirl-icon-filter.entry.86669915.js} +1 -1
- package/dist/{swirl-icon-folder.entry.158450c0.js → swirl-icon-folder.entry.af15a24d.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.57f67f4a.js → swirl-icon-group-assign.entry.87077665.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.26f4aefa.js → swirl-icon-groups-custom.entry.7326350f.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.97737ef4.js → swirl-icon-groups-filled.entry.614928a1.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.c6e3e3c2.js → swirl-icon-groups-outlined.entry.dbb0c91c.js} +1 -1
- package/dist/{swirl-icon-groups.entry.5e1e610d.js → swirl-icon-groups.entry.d185846a.js} +1 -1
- package/dist/{swirl-icon-help.entry.e172cd62.js → swirl-icon-help.entry.e6a6c654.js} +1 -1
- package/dist/{swirl-icon-image.entry.195aff71.js → swirl-icon-image.entry.7fdeeed9.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.adcc14cd.js → swirl-icon-inventory.entry.73938a2e.js} +1 -1
- package/dist/{swirl-icon-like.entry.f316bae2.js → swirl-icon-like.entry.074d0a3d.js} +1 -1
- package/dist/{swirl-icon-link.entry.ce180fc9.js → swirl-icon-link.entry.fbc4633e.js} +1 -1
- package/dist/{swirl-icon-lock.entry.7cd3fc2f.js → swirl-icon-lock.entry.f33a35b0.js} +1 -1
- package/dist/{swirl-icon-logout.entry.1d06118e.js → swirl-icon-logout.entry.0892b5c4.js} +1 -1
- package/dist/{swirl-icon-mail.entry.ee041c4a.js → swirl-icon-mail.entry.d35a2118.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.23af466c.js → swirl-icon-manage-accounts.entry.586d7135.js} +1 -1
- package/dist/{swirl-icon-mention.entry.cb1e15aa.js → swirl-icon-mention.entry.6b0767f0.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.345a9e73.js → swirl-icon-menu-filled.entry.b9140c02.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.161813c0.js → swirl-icon-menu-outlined.entry.08e6728e.js} +1 -1
- package/dist/{swirl-icon-menu.entry.ed1434b6.js → swirl-icon-menu.entry.5c3111df.js} +1 -1
- package/dist/{swirl-icon-message.entry.4c80479b.js → swirl-icon-message.entry.77b89f84.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.5678141e.js → swirl-icon-more-horizontal.entry.3250d037.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.5a3d8cf2.js → swirl-icon-news-filled.entry.8c146455.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.83cc7a03.js → swirl-icon-news-outlined.entry.498e1a6c.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.7af079b6.js → swirl-icon-notifications-active.entry.921d6fdd.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.be8351a1.js → swirl-icon-notifications-off.entry.f9bf479d.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.1450a1fe.js → swirl-icon-notifications.entry.069e9ffe.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.9db89db6.js → swirl-icon-open-in-new.entry.56062ba2.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.61737c90.js → swirl-icon-people-alt.entry.f0faa83c.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.1f0ab7ed.js → swirl-icon-person-off.entry.9a2755fa.js} +1 -1
- package/dist/{swirl-icon-person.entry.83b564bf.js → swirl-icon-person.entry.70c2c297.js} +1 -1
- package/dist/{swirl-icon-phone.entry.feb091e9.js → swirl-icon-phone.entry.45e4d96d.js} +1 -1
- package/dist/{swirl-icon-poll.entry.e41052f2.js → swirl-icon-poll.entry.5ff87503.js} +1 -1
- package/dist/{swirl-icon-print.entry.1311770e.js → swirl-icon-print.entry.523d7c6e.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.8d9a53d4.js → swirl-icon-recieved.entry.9de46c54.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.5b3a698e.js → swirl-icon-search-strong.entry.8cfdddeb.js} +1 -1
- package/dist/{swirl-icon-search.entry.bb038912.js → swirl-icon-search.entry.b1a82071.js} +1 -1
- package/dist/{swirl-icon-send.entry.89ed236b.js → swirl-icon-send.entry.c3d5a559.js} +1 -1
- package/dist/{swirl-icon-settings.entry.c2df1eff.js → swirl-icon-settings.entry.93da6cf2.js} +1 -1
- package/dist/{swirl-icon-sync.entry.5aedb4ba.js → swirl-icon-sync.entry.f8eff417.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.28476045.js → swirl-icon-tasks-filled.entry.55f736d9.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.172b30a8.js → swirl-icon-tasks-outlined.entry.b1bb6e80.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.d4cafb4f.js → swirl-icon-time-filled.entry.cc523e77.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.73819db0.js → swirl-icon-time-outlined.entry.3f5948d3.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.e0275d90.js → swirl-icon-user-assign.entry.d58ea87f.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.d574a395.js → swirl-icon-video-camera.entry.7432b1f1.js} +1 -1
- package/dist/{swirl-inline-notification.entry.7a4cbf58.js → swirl-inline-notification.entry.bb924799.js} +1 -1
- package/dist/{swirl-lightbox.entry.eeaffa3d.js → swirl-lightbox.entry.b31a52b4.js} +1 -1
- package/dist/{swirl-link.entry.20780c20.js → swirl-link.entry.9e37461a.js} +1 -1
- package/dist/{swirl-list.entry.76c3276f.js → swirl-list.entry.2dc75cdc.js} +1 -1
- package/dist/{swirl-modal.entry.e8e245f1.js → swirl-modal.entry.18c04c4c.js} +1 -1
- package/dist/{swirl-option-list-section.entry.f6d9fa71.js → swirl-option-list-section.entry.172fbf65.js} +1 -1
- package/dist/{swirl-pagination.entry.4dc1e912.js → swirl-pagination.entry.61cf0b34.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.9ac1b9a7.js → swirl-pdf-reader.entry.3b8779bf.js} +1 -1
- package/dist/{swirl-popover.entry.3830e7ec.js → swirl-popover.entry.05396497.js} +1 -1
- package/dist/{swirl-progress-indicator.entry.c2123268.js → swirl-progress-indicator.entry.2b6ad51f.js} +1 -1
- package/dist/{swirl-radio-group.entry.b81cd1ee.js → swirl-radio-group.entry.c243eb11.js} +1 -1
- package/dist/{swirl-radio.entry.5b628367.js → swirl-radio.entry.ec017299.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.3c59e8f9.js → swirl-resource-list-file-item.entry.f10bf8f5.js} +1 -1
- package/dist/{swirl-search.entry.350c020c.js → swirl-search.entry.bfe1c0f2.js} +1 -1
- package/dist/{swirl-select.entry.6a986e70.js → swirl-select.entry.c60520e6.js} +1 -1
- package/dist/{swirl-shell-layout.entry.a335c36e.js → swirl-shell-layout.entry.85232f4f.js} +1 -1
- package/dist/{swirl-shell-navigation-item.entry.0bbd05a7.js → swirl-shell-navigation-item.entry.26541754.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.378d0ee9.js → swirl-skeleton-box.entry.76387894.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.cd04ec91.js → swirl-skeleton-text.entry.cd14087d.js} +1 -1
- package/dist/{swirl-stack.entry.1ac1d198.js → swirl-stack.entry.d4245ae2.js} +1 -1
- package/dist/{swirl-switch.entry.0f109197.js → swirl-switch.entry.5067719c.js} +1 -1
- package/dist/{swirl-tab.entry.ab56a05f.js → swirl-tab.entry.041aef80.js} +1 -1
- package/dist/{swirl-table-cell.entry.7c20bb6d.js → swirl-table-cell.entry.102fd6b4.js} +1 -1
- package/dist/{swirl-table-column.entry.97bada66.js → swirl-table-column.entry.fd17b5f2.js} +1 -1
- package/dist/{swirl-table-row-group.entry.6a68e52f.js → swirl-table-row-group.entry.9a16356c.js} +1 -1
- package/dist/{swirl-table-row.entry.30bdc0e7.js → swirl-table-row.entry.03d721a1.js} +1 -1
- package/dist/{swirl-table.entry.5dfffaf6.js → swirl-table.entry.ceedfeb7.js} +48 -33
- package/dist/{swirl-tabs.entry.276e209e.js → swirl-tabs.entry.97ff7852.js} +1 -1
- package/dist/{swirl-tag.entry.dc5a7a5f.js → swirl-tag.entry.2afa10f8.js} +1 -1
- package/dist/{swirl-text-input.entry.66aa97ce.js → swirl-text-input.entry.db23ee0e.js} +1 -1
- package/dist/{swirl-text.entry.0662c62d.js → swirl-text.entry.9c10a1bd.js} +1 -1
- package/dist/{swirl-theme-provider.entry.4440d249.js → swirl-theme-provider.entry.234b8f5c.js} +1 -1
- package/dist/{swirl-toast-provider.entry.81b6027a.js → swirl-toast-provider.entry.2a64f68e.js} +1 -1
- package/dist/{swirl-toast.entry.c15756ad.js → swirl-toast.entry.681b7b8c.js} +1 -1
- package/dist/{swirl-tooltip.entry.95fc8b96.js → swirl-tooltip.entry.777088c2.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.4e211de4.js → swirl-tree-navigation-item.entry.a9764048.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.c43b0cdd.js → swirl-video-thumbnail.entry.97286b23.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.5b2761b5.js → swirl-visually-hidden.entry.024ebb4b.js} +1 -1
- package/dist/{wc-datepicker.entry.27fa1908.js → wc-datepicker.entry.cc8fb12e.js} +1 -1
- package/package.json +2 -2
|
@@ -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.5e15f5c9.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, h as i, H as t } from "./index.
|
|
1
|
+
import { r, h as i, H as t } from "./index.5e15f5c9.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const s = ":host{display:inline-flex}:host *{box-sizing:border-box}.link{color:var(--s-interactive-primary-default);line-height:var(--s-line-height-base);text-underline-offset:var(--s-space-4)}.link:hover{color:var(--s-interactive-primary-hovered)}.link:active{color:var(--s-interactive-primary-pressed)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.link{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}", n = class {
|
|
@@ -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.5e15f5c9.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 h, c as s, h as o, H as p } from "./index.
|
|
1
|
+
import { r as h, c as s, h as o, H as p } from "./index.5e15f5c9.js";
|
|
2
2
|
import { A as b } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
|
|
3
3
|
import { d as f, e as u } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as v } from "./index-d280dafb.186cdb0e.js";
|
|
@@ -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.5e15f5c9.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 {
|
|
@@ -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.5e15f5c9.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 r, h as n, H as m, g as v } from "./index.
|
|
1
|
+
import { r as h, c as r, h as n, H as m, g as v } from "./index.5e15f5c9.js";
|
|
2
2
|
import { o as p, s as l, f, c as u, a as g } from "./floating-ui.dom.esm-b9f28f6d.15013ef7.js";
|
|
3
3
|
import { d as b, e as y } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
|
|
4
4
|
import { c as k } from "./index-d280dafb.186cdb0e.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as a, c as o, h as i, H as l, g as n } from "./index.
|
|
1
|
+
import { r as a, c as o, h as i, H as l, g as n } from "./index.5e15f5c9.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const u = ".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)}", d = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as n, c as a, h as s, H as c } from "./index.
|
|
1
|
+
import { r as n, c as a, h as s, H as c } from "./index.5e15f5c9.js";
|
|
2
2
|
import { c as d } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { a as h } from "./utils-61f188cc.4a43deab.js";
|
|
4
4
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as a, c as r, h as e, H as c, g as d } from "./index.
|
|
1
|
+
import { r as a, c as r, h as e, H as c, g as d } from "./index.5e15f5c9.js";
|
|
2
2
|
import { c as h } from "./index-d280dafb.186cdb0e.js";
|
|
3
3
|
import { q as p } from "./utils-61f188cc.4a43deab.js";
|
|
4
4
|
import "react";
|
|
@@ -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.5e15f5c9.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.5e15f5c9.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.6a68e52f.js → swirl-table-row-group.entry.9a16356c.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.5e15f5c9.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,27 +1,27 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { i as
|
|
1
|
+
import { r as g, h as i, H as S, g as _ } from "./index.5e15f5c9.js";
|
|
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 l = 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 w = L(
|
|
8
|
+
var w = L(l), h = new Date().getTime(), y = !n || h - n > w;
|
|
9
9
|
n = h;
|
|
10
|
-
for (var
|
|
11
|
-
u[
|
|
12
|
-
if (
|
|
13
|
-
return s.accumulate ? Promise.resolve(e.call(this, [u])).then(function(
|
|
14
|
-
return
|
|
10
|
+
for (var a = arguments.length, u = Array(a), b = 0; b < a; b++)
|
|
11
|
+
u[b] = arguments[b];
|
|
12
|
+
if (y && s.leading)
|
|
13
|
+
return s.accumulate ? Promise.resolve(e.call(this, [u])).then(function(f) {
|
|
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(
|
|
16
|
+
if (r ? clearTimeout(c) : r = x(), o.push(u), c = setTimeout(m.bind(this), w), s.accumulate) {
|
|
17
17
|
var p = o.length - 1;
|
|
18
|
-
return r.promise.then(function(
|
|
19
|
-
return
|
|
18
|
+
return r.promise.then(function(f) {
|
|
19
|
+
return f[p];
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
return r.promise;
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function m() {
|
|
25
25
|
var d = r;
|
|
26
26
|
clearTimeout(c), Promise.resolve(s.accumulate ? e.call(this, o) : e.apply(this, o[o.length - 1])).then(d.resolve, d.reject), o = [], r = null;
|
|
27
27
|
}
|
|
@@ -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, l) {
|
|
35
|
+
t.resolve = e, t.reject = l;
|
|
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),
|
|
@@ -43,7 +43,7 @@ const R = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
43
43
|
0 0.25rem 1rem rgba(25, 26, 28, 0.04),
|
|
44
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}`, T = class {
|
|
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
|
}, 100), this.onScroll = () => {
|
|
49
49
|
this.updateScrolledState();
|
|
@@ -51,15 +51,30 @@ const R = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
51
51
|
await this.updateLayout(), this.updateScrolledState(), this.updateEmptyState();
|
|
52
52
|
}, 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
53
|
}
|
|
54
|
+
componentDidLoad() {
|
|
55
|
+
this.observeColumnChanges();
|
|
56
|
+
}
|
|
57
|
+
disconnectedCallback() {
|
|
58
|
+
var t;
|
|
59
|
+
(t = this.columnObserver) === null || t === void 0 || t.disconnect();
|
|
60
|
+
}
|
|
54
61
|
async componentDidRender() {
|
|
55
62
|
await this.updateLayout(), this.updateScrolledState(), this.updateEmptyState();
|
|
56
63
|
}
|
|
57
64
|
async onWindowResize() {
|
|
58
65
|
await this.updateLayout(), this.updateScrolledState();
|
|
59
66
|
}
|
|
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
|
+
}
|
|
60
75
|
updateScrolledState() {
|
|
61
|
-
const t =
|
|
62
|
-
e !== this.scrollable && (e && !t ? this.container.classList.add("table__container--scrollable") : this.container.classList.remove("table__container--scrollable")),
|
|
76
|
+
const t = v(), e = this.container.scrollWidth > this.container.clientWidth, l = this.container.scrollLeft > 0, s = Math.ceil(this.container.clientWidth + this.container.scrollLeft) >= Math.floor(this.container.scrollWidth);
|
|
77
|
+
e !== this.scrollable && (e && !t ? this.container.classList.add("table__container--scrollable") : this.container.classList.remove("table__container--scrollable")), l !== this.scrolled && (l && !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"));
|
|
63
78
|
}
|
|
64
79
|
getColumns() {
|
|
65
80
|
return Array.from(this.el.querySelectorAll("swirl-table-column"));
|
|
@@ -95,34 +110,34 @@ const R = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
95
110
|
}
|
|
96
111
|
async layoutRowGroups() {
|
|
97
112
|
const t = Array.from(this.el.querySelectorAll("swirl-table-row-group")), e = `${this.el.shadowRoot.querySelector(".table__container").scrollWidth}px`;
|
|
98
|
-
t.forEach((
|
|
99
|
-
|
|
113
|
+
t.forEach((l) => {
|
|
114
|
+
l.shadowRoot.querySelector(".table-row-group__header-row").style.width = e;
|
|
100
115
|
});
|
|
101
116
|
}
|
|
102
117
|
async layOutColumns() {
|
|
103
|
-
const t = this.getColumns(),
|
|
118
|
+
const t = this.getColumns(), l = this.container.clientWidth;
|
|
104
119
|
t.forEach((s, n) => {
|
|
105
120
|
var r, c;
|
|
106
|
-
if (!s.sticky ||
|
|
121
|
+
if (!s.sticky || v())
|
|
107
122
|
return;
|
|
108
|
-
const o = n <= Math.floor(t.length / 2),
|
|
109
|
-
s.style.zIndex = w ? "1" : "", o && !
|
|
110
|
-
const
|
|
111
|
-
s.style.position = "sticky", o ? s.style.left = `${
|
|
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, w = o && m;
|
|
124
|
+
s.style.zIndex = w ? "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"));
|
|
125
|
+
const y = o ? s.offsetLeft : Math.max(0, l - (s.offsetLeft + s.getBoundingClientRect().width));
|
|
126
|
+
s.style.position = "sticky", o ? s.style.left = `${y}px` : s.style.right = `${y}px`;
|
|
112
127
|
}), await new Promise((s) => setTimeout(s));
|
|
113
128
|
}
|
|
114
129
|
layOutCells() {
|
|
115
130
|
const t = this.getColumns(), e = this.getCells();
|
|
116
|
-
t.forEach((
|
|
131
|
+
t.forEach((l, s) => {
|
|
117
132
|
var n, r;
|
|
118
|
-
const c = e.filter((
|
|
119
|
-
c.forEach((
|
|
120
|
-
const u = h && o,
|
|
121
|
-
if (
|
|
122
|
-
|
|
133
|
+
const c = e.filter((a, u) => (s - u) % t.length === 0), o = s <= Math.floor(t.length / 2), m = o ? window.getComputedStyle(l).left : window.getComputedStyle(l).right, d = (n = t[s + 1]) === null || n === void 0 ? void 0 : n.sticky, w = (r = t[s - 1]) === null || r === void 0 ? void 0 : r.sticky, h = l.sticky, y = l.width || `${l.getBoundingClientRect().width}px`;
|
|
134
|
+
c.forEach((a) => {
|
|
135
|
+
const u = h && o, b = h && !o, p = o && d;
|
|
136
|
+
if (a.style.flex = Boolean(y) ? `0 0 ${y}` : "", v()) {
|
|
137
|
+
a.classList.remove("table-cell--has-shadow"), a.style.left = "", a.style.right = "", a.style.position = "", a.style.zIndex = "";
|
|
123
138
|
return;
|
|
124
139
|
}
|
|
125
|
-
|
|
140
|
+
a.style.left = u ? m : "", a.style.right = b ? m : "", a.style.position = h ? "sticky" : "", a.style.zIndex = p ? "1" : "", h && (o && !d || !o && !w) ? a.classList.add(o ? "table-cell--has-shadow-right" : "table-cell--has-shadow-left") : (a.classList.remove("table-cell--has-shadow-right"), a.classList.remove("table-cell--has-shadow-left"));
|
|
126
141
|
});
|
|
127
142
|
});
|
|
128
143
|
}
|
|
@@ -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.5e15f5c9.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.5e15f5c9.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.5b2761b5.js → swirl-visually-hidden.entry.024ebb4b.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.5e15f5c9.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.37.
|
|
3
|
+
"version": "0.37.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.38.
|
|
21
|
+
"@getflip/swirl-components": "^0.38.2",
|
|
22
22
|
"react": "^18.2.0",
|
|
23
23
|
"react-dom": "^18.2.0"
|
|
24
24
|
},
|