@getflip/swirl-components-react 0.37.0 → 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.c985f415.js → file-manager.entry.beb28625.js} +1 -1
- package/dist/{index.f17ef3a1.js → index.5e15f5c9.js} +1 -1
- package/dist/{swirl-action-list-section.entry.2a38163d.js → swirl-action-list-section.entry.1c6b1162.js} +1 -1
- package/dist/{swirl-action-list_3.entry.1c481122.js → swirl-action-list_3.entry.5d2d44c9.js} +1 -1
- package/dist/{swirl-app-bar.entry.3a25f4a0.js → swirl-app-bar.entry.d2d7b4ad.js} +1 -1
- package/dist/{swirl-app-icon.entry.bf11cbc7.js → swirl-app-icon.entry.114fdef2.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.28c2b4de.js → swirl-app-layout_7.entry.8358fc02.js} +1 -1
- package/dist/{swirl-autocomplete.entry.f0fdb5bc.js → swirl-autocomplete.entry.186973ce.js} +1 -1
- package/dist/{swirl-avatar-group.entry.f7087e94.js → swirl-avatar-group.entry.69e38924.js} +1 -1
- package/dist/{swirl-avatar.entry.eef43ae5.js → swirl-avatar.entry.ff96ffb0.js} +1 -1
- package/dist/{swirl-badge.entry.f72244f7.js → swirl-badge.entry.23b0a99f.js} +1 -1
- package/dist/{swirl-banner.entry.4276994b.js → swirl-banner.entry.2e774915.js} +1 -1
- package/dist/{swirl-button-group.entry.64d5a32e.js → swirl-button-group.entry.ff8444a8.js} +1 -1
- package/dist/{swirl-button.entry.e315dd7d.js → swirl-button.entry.c9559241.js} +1 -1
- package/dist/{swirl-card.entry.36f66851.js → swirl-card.entry.e6a76617.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.fddbb981.js → swirl-carousel-slide.entry.d4bf6426.js} +1 -1
- package/dist/{swirl-carousel.entry.06b994ec.js → swirl-carousel.entry.3c35456a.js} +1 -1
- package/dist/{swirl-checkbox.entry.a8b01cff.js → swirl-checkbox.entry.56d857bc.js} +1 -1
- package/dist/{swirl-chip.entry.33850745.js → swirl-chip.entry.73d8a308.js} +1 -1
- package/dist/{swirl-columns.entry.f3e96252.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.044b5ac8.js → swirl-console-layout.entry.0375b068.js} +1 -1
- package/dist/{swirl-date-input.entry.3f2ae86d.js → swirl-date-input.entry.fa6d6758.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.76a72f5c.js → swirl-date-picker_2.entry.1aa055cd.js} +1 -1
- package/dist/{swirl-description-list-item.entry.715dc40c.js → swirl-description-list-item.entry.2e799851.js} +1 -1
- package/dist/{swirl-description-list.entry.afe80573.js → swirl-description-list.entry.31b45fdf.js} +1 -1
- package/dist/{swirl-dialog.entry.10636a92.js → swirl-dialog.entry.c2212518.js} +1 -1
- package/dist/{swirl-file-uploader.entry.95bdbabd.js → swirl-file-uploader.entry.a746148b.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.26143284.js → swirl-file-viewer_7.entry.ce735d05.js} +1 -1
- package/dist/{swirl-form-control.entry.418fd19b.js → swirl-form-control.entry.3b347c58.js} +1 -1
- package/dist/{swirl-form-group.entry.b1a56c1c.js → swirl-form-group.entry.e257409c.js} +1 -1
- package/dist/{swirl-heading.entry.b7bf9a1e.js → swirl-heading.entry.e82aea10.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.60ee5470.js → swirl-icon-add-photo.entry.55ca97b0.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.05a17e5f.js → swirl-icon-add_6.entry.db722cfe.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.1e76fe8a.js → swirl-icon-admin-panel-settings.entry.8f921b50.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.98c7d0ce.js → swirl-icon-arrow-back.entry.06e914f6.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.af9497a3.js → swirl-icon-arrow-downward_2.entry.63f64c99.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.a2adf580.js → swirl-icon-arrow-forward.entry.b62c5122.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.eb96a997.js → swirl-icon-arrow-left_4.entry.e96a5231.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.f15e9d29.js → swirl-icon-arrow-right-small.entry.031bce59.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.8ad7b74e.js → swirl-icon-attachment.entry.3da6fb12.js} +1 -1
- package/dist/{swirl-icon-block.entry.57271189.js → swirl-icon-block.entry.da6261b5.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.085f1efc.js → swirl-icon-bookmark.entry.7f876fe2.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.e3f2c0ae.js → swirl-icon-cancel_4.entry.05c47f2c.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.b6f5da70.js → swirl-icon-chat-bubble.entry.e55ed498.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.8dc7f80f.js → swirl-icon-chats-filled.entry.5e6acba0.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.08356d67.js → swirl-icon-chats-outlined.entry.067bae59.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.551bdfa3.js → swirl-icon-check-circle_3.entry.dd20549a.js} +1 -1
- package/dist/{swirl-icon-check-small_4.entry.2c31b9d6.js → swirl-icon-check-small_4.entry.2c0b3e25.js} +5 -3
- package/dist/{swirl-icon-check-strong.entry.d3724ec5.js → swirl-icon-check-strong.entry.01c0b4c3.js} +1 -1
- package/dist/{swirl-icon-check.entry.657757b6.js → swirl-icon-check.entry.0a90d964.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.1cf7b7a1.js → swirl-icon-chevron-left.entry.b533bad1.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.a6af02b7.js → swirl-icon-chevron-right.entry.92dbf653.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.8394392c.js → swirl-icon-close-small.entry.9e8b9ce4.js} +1 -1
- package/dist/{swirl-icon-close.entry.a2508394.js → swirl-icon-close.entry.1cacb075.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.a87772ad.js → swirl-icon-cloud-upload.entry.9e11705c.js} +1 -1
- package/dist/{swirl-icon-column.entry.61662992.js → swirl-icon-column.entry.ded103d3.js} +1 -1
- package/dist/{swirl-icon-comment.entry.80aec319.js → swirl-icon-comment.entry.df4ee355.js} +1 -1
- package/dist/{swirl-icon-copy.entry.11a63df6.js → swirl-icon-copy.entry.33e866f3.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.66bf614b.js → swirl-icon-date-range.entry.07b63935.js} +1 -1
- package/dist/{swirl-icon-delete.entry.e2187736.js → swirl-icon-delete.entry.ecbeaf71.js} +1 -1
- package/dist/{swirl-icon-description.entry.817ec825.js → swirl-icon-description.entry.4a0583a6.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.882f14d7.js → swirl-icon-double-arrow-left.entry.e0c14123.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.ff9a65ba.js → swirl-icon-double-arrow-right.entry.d0971c85.js} +1 -1
- package/dist/{swirl-icon-download.entry.04e853f2.js → swirl-icon-download.entry.102140da.js} +1 -1
- package/dist/{swirl-icon-edit.entry.483458eb.js → swirl-icon-edit.entry.f519daff.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.66533ec1.js → swirl-icon-emoji-mood.entry.86b54ffc.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.9f10f699.js → swirl-icon-emoji-satisfied.entry.bc0c823c.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.e60e387b.js → swirl-icon-error_3.entry.f243165c.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.2a755508.js → swirl-icon-expand-more.entry.fb3e7cf9.js} +1 -1
- package/dist/{swirl-icon-filter.entry.205d7d2e.js → swirl-icon-filter.entry.86669915.js} +1 -1
- package/dist/{swirl-icon-folder.entry.48a6fc28.js → swirl-icon-folder.entry.af15a24d.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.0468862b.js → swirl-icon-group-assign.entry.87077665.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.f944c844.js → swirl-icon-groups-custom.entry.7326350f.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.40c82a04.js → swirl-icon-groups-filled.entry.614928a1.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.af587a7b.js → swirl-icon-groups-outlined.entry.dbb0c91c.js} +1 -1
- package/dist/{swirl-icon-groups.entry.ad092fed.js → swirl-icon-groups.entry.d185846a.js} +1 -1
- package/dist/{swirl-icon-help.entry.b3ca1361.js → swirl-icon-help.entry.e6a6c654.js} +1 -1
- package/dist/{swirl-icon-image.entry.67ab00eb.js → swirl-icon-image.entry.7fdeeed9.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.96bc8527.js → swirl-icon-inventory.entry.73938a2e.js} +1 -1
- package/dist/{swirl-icon-like.entry.77318448.js → swirl-icon-like.entry.074d0a3d.js} +1 -1
- package/dist/{swirl-icon-link.entry.afb83ae4.js → swirl-icon-link.entry.fbc4633e.js} +1 -1
- package/dist/{swirl-icon-lock.entry.b87c3113.js → swirl-icon-lock.entry.f33a35b0.js} +1 -1
- package/dist/{swirl-icon-logout.entry.d3a067bc.js → swirl-icon-logout.entry.0892b5c4.js} +1 -1
- package/dist/{swirl-icon-mail.entry.32fe59f6.js → swirl-icon-mail.entry.d35a2118.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.346f58f9.js → swirl-icon-manage-accounts.entry.586d7135.js} +1 -1
- package/dist/{swirl-icon-mention.entry.2fa32813.js → swirl-icon-mention.entry.6b0767f0.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.467faff9.js → swirl-icon-menu-filled.entry.b9140c02.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.dd47cd11.js → swirl-icon-menu-outlined.entry.08e6728e.js} +1 -1
- package/dist/{swirl-icon-menu.entry.8f8d7029.js → swirl-icon-menu.entry.5c3111df.js} +1 -1
- package/dist/{swirl-icon-message.entry.6f88ba01.js → swirl-icon-message.entry.77b89f84.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.9ecfd251.js → swirl-icon-more-horizontal.entry.3250d037.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.9559f453.js → swirl-icon-news-filled.entry.8c146455.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.ec976701.js → swirl-icon-news-outlined.entry.498e1a6c.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.a7863e3c.js → swirl-icon-notifications-active.entry.921d6fdd.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.76fa2a35.js → swirl-icon-notifications-off.entry.f9bf479d.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.f0daa1c7.js → swirl-icon-notifications.entry.069e9ffe.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.47527ea3.js → swirl-icon-open-in-new.entry.56062ba2.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.4eb63b58.js → swirl-icon-people-alt.entry.f0faa83c.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.4529927c.js → swirl-icon-person-off.entry.9a2755fa.js} +1 -1
- package/dist/{swirl-icon-person.entry.007afec3.js → swirl-icon-person.entry.70c2c297.js} +1 -1
- package/dist/{swirl-icon-phone.entry.1d85536d.js → swirl-icon-phone.entry.45e4d96d.js} +1 -1
- package/dist/{swirl-icon-poll.entry.79f25ffb.js → swirl-icon-poll.entry.5ff87503.js} +1 -1
- package/dist/{swirl-icon-print.entry.1a52b513.js → swirl-icon-print.entry.523d7c6e.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.9295b682.js → swirl-icon-recieved.entry.9de46c54.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.fbb2383d.js → swirl-icon-search-strong.entry.8cfdddeb.js} +1 -1
- package/dist/{swirl-icon-search.entry.f62d0700.js → swirl-icon-search.entry.b1a82071.js} +1 -1
- package/dist/{swirl-icon-send.entry.1a695ca8.js → swirl-icon-send.entry.c3d5a559.js} +1 -1
- package/dist/{swirl-icon-settings.entry.a47d2624.js → swirl-icon-settings.entry.93da6cf2.js} +1 -1
- package/dist/{swirl-icon-sync.entry.dcbd66dc.js → swirl-icon-sync.entry.f8eff417.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.73883af7.js → swirl-icon-tasks-filled.entry.55f736d9.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.dc96f4c9.js → swirl-icon-tasks-outlined.entry.b1bb6e80.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.567f4b28.js → swirl-icon-time-filled.entry.cc523e77.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.f7943376.js → swirl-icon-time-outlined.entry.3f5948d3.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.eedd2efe.js → swirl-icon-user-assign.entry.d58ea87f.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.7ec95f49.js → swirl-icon-video-camera.entry.7432b1f1.js} +1 -1
- package/dist/{swirl-inline-notification.entry.e59250b1.js → swirl-inline-notification.entry.bb924799.js} +1 -1
- package/dist/{swirl-lightbox.entry.f6f37d7d.js → swirl-lightbox.entry.b31a52b4.js} +1 -1
- package/dist/{swirl-link.entry.6ec1362d.js → swirl-link.entry.9e37461a.js} +1 -1
- package/dist/{swirl-list.entry.e05d745e.js → swirl-list.entry.2dc75cdc.js} +1 -1
- package/dist/{swirl-modal.entry.2c7fab2e.js → swirl-modal.entry.18c04c4c.js} +1 -1
- package/dist/{swirl-option-list-section.entry.c9f49f45.js → swirl-option-list-section.entry.172fbf65.js} +1 -1
- package/dist/{swirl-pagination.entry.dbfae56d.js → swirl-pagination.entry.61cf0b34.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.e61f8d0a.js → swirl-pdf-reader.entry.3b8779bf.js} +1 -1
- package/dist/{swirl-popover.entry.01c8cfa8.js → swirl-popover.entry.05396497.js} +1 -1
- package/dist/{swirl-progress-indicator.entry.c8682716.js → swirl-progress-indicator.entry.2b6ad51f.js} +1 -1
- package/dist/{swirl-radio-group.entry.edb31077.js → swirl-radio-group.entry.c243eb11.js} +1 -1
- package/dist/{swirl-radio.entry.b4cad3fb.js → swirl-radio.entry.ec017299.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.c0e15d70.js → swirl-resource-list-file-item.entry.f10bf8f5.js} +1 -1
- package/dist/{swirl-search.entry.c82fb513.js → swirl-search.entry.bfe1c0f2.js} +1 -1
- package/dist/{swirl-select.entry.dc5ac018.js → swirl-select.entry.c60520e6.js} +1 -1
- package/dist/{swirl-shell-layout.entry.5a293d34.js → swirl-shell-layout.entry.85232f4f.js} +1 -1
- package/dist/{swirl-shell-navigation-item.entry.fb5b36c2.js → swirl-shell-navigation-item.entry.26541754.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.7b8d592d.js → swirl-skeleton-box.entry.76387894.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.79797ebb.js → swirl-skeleton-text.entry.cd14087d.js} +1 -1
- package/dist/{swirl-stack.entry.a36ed3e9.js → swirl-stack.entry.d4245ae2.js} +1 -1
- package/dist/{swirl-switch.entry.889627e2.js → swirl-switch.entry.5067719c.js} +1 -1
- package/dist/{swirl-tab.entry.99c8d72a.js → swirl-tab.entry.041aef80.js} +1 -1
- package/dist/{swirl-table-cell.entry.909d70fe.js → swirl-table-cell.entry.102fd6b4.js} +1 -1
- package/dist/{swirl-table-column.entry.364e5761.js → swirl-table-column.entry.fd17b5f2.js} +1 -1
- package/dist/{swirl-table-row-group.entry.03ef98eb.js → swirl-table-row-group.entry.9a16356c.js} +1 -1
- package/dist/{swirl-table-row.entry.894c70ef.js → swirl-table-row.entry.03d721a1.js} +1 -1
- package/dist/{swirl-table.entry.87551bf6.js → swirl-table.entry.ceedfeb7.js} +46 -29
- package/dist/{swirl-tabs.entry.2143d57f.js → swirl-tabs.entry.97ff7852.js} +1 -1
- package/dist/{swirl-tag.entry.1e044eaa.js → swirl-tag.entry.2afa10f8.js} +1 -1
- package/dist/{swirl-text-input.entry.bcc13c5b.js → swirl-text-input.entry.db23ee0e.js} +1 -1
- package/dist/{swirl-text.entry.5cf8969c.js → swirl-text.entry.9c10a1bd.js} +1 -1
- package/dist/{swirl-theme-provider.entry.c2358ec9.js → swirl-theme-provider.entry.234b8f5c.js} +1 -1
- package/dist/{swirl-toast-provider.entry.fe5d6803.js → swirl-toast-provider.entry.2a64f68e.js} +1 -1
- package/dist/{swirl-toast.entry.2ca20137.js → swirl-toast.entry.681b7b8c.js} +1 -1
- package/dist/{swirl-tooltip.entry.e13f91c0.js → swirl-tooltip.entry.777088c2.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.c88b78a2.js → swirl-tree-navigation-item.entry.a9764048.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.13b96ac2.js → swirl-video-thumbnail.entry.97286b23.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.81b95d55.js → swirl-visually-hidden.entry.024ebb4b.js} +1 -1
- package/dist/{wc-datepicker.entry.272026bd.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.03ef98eb.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,22 +1,22 @@
|
|
|
1
|
-
import { r as g, h as i, H as
|
|
1
|
+
import { r as g, h as i, H as S, g as _ } from "./index.5e15f5c9.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 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 =
|
|
8
|
+
var w = L(l), h = new Date().getTime(), y = !n || h - n > w;
|
|
9
9
|
n = h;
|
|
10
|
-
for (var
|
|
11
|
-
u[
|
|
10
|
+
for (var a = arguments.length, u = Array(a), b = 0; b < a; b++)
|
|
11
|
+
u[b] = arguments[b];
|
|
12
12
|
if (y && s.leading)
|
|
13
|
-
return s.accumulate ? Promise.resolve(e.call(this, [u])).then(function(
|
|
14
|
-
return
|
|
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 =
|
|
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;
|
|
@@ -26,13 +26,13 @@ var C = function(e) {
|
|
|
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
|
}
|
|
28
28
|
};
|
|
29
|
-
function
|
|
29
|
+
function L(t) {
|
|
30
30
|
return typeof t == "function" ? t() : t;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
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),
|
|
@@ -47,17 +47,34 @@ const R = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
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();
|
|
50
|
+
}, this.onSlotChange = async () => {
|
|
51
|
+
await this.updateLayout(), this.updateScrolledState(), this.updateEmptyState();
|
|
50
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;
|
|
51
53
|
}
|
|
54
|
+
componentDidLoad() {
|
|
55
|
+
this.observeColumnChanges();
|
|
56
|
+
}
|
|
57
|
+
disconnectedCallback() {
|
|
58
|
+
var t;
|
|
59
|
+
(t = this.columnObserver) === null || t === void 0 || t.disconnect();
|
|
60
|
+
}
|
|
52
61
|
async componentDidRender() {
|
|
53
62
|
await this.updateLayout(), this.updateScrolledState(), this.updateEmptyState();
|
|
54
63
|
}
|
|
55
64
|
async onWindowResize() {
|
|
56
65
|
await this.updateLayout(), this.updateScrolledState();
|
|
57
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
|
+
}
|
|
58
75
|
updateScrolledState() {
|
|
59
|
-
const t = v(), e = this.container.scrollWidth > this.container.clientWidth,
|
|
60
|
-
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"));
|
|
61
78
|
}
|
|
62
79
|
getColumns() {
|
|
63
80
|
return Array.from(this.el.querySelectorAll("swirl-table-column"));
|
|
@@ -93,34 +110,34 @@ const R = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
93
110
|
}
|
|
94
111
|
async layoutRowGroups() {
|
|
95
112
|
const t = Array.from(this.el.querySelectorAll("swirl-table-row-group")), e = `${this.el.shadowRoot.querySelector(".table__container").scrollWidth}px`;
|
|
96
|
-
t.forEach((
|
|
97
|
-
|
|
113
|
+
t.forEach((l) => {
|
|
114
|
+
l.shadowRoot.querySelector(".table-row-group__header-row").style.width = e;
|
|
98
115
|
});
|
|
99
116
|
}
|
|
100
117
|
async layOutColumns() {
|
|
101
|
-
const t = this.getColumns(),
|
|
118
|
+
const t = this.getColumns(), l = this.container.clientWidth;
|
|
102
119
|
t.forEach((s, n) => {
|
|
103
120
|
var r, c;
|
|
104
121
|
if (!s.sticky || v())
|
|
105
122
|
return;
|
|
106
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;
|
|
107
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"));
|
|
108
|
-
const y = o ? s.offsetLeft : Math.max(0,
|
|
125
|
+
const y = o ? s.offsetLeft : Math.max(0, l - (s.offsetLeft + s.getBoundingClientRect().width));
|
|
109
126
|
s.style.position = "sticky", o ? s.style.left = `${y}px` : s.style.right = `${y}px`;
|
|
110
127
|
}), await new Promise((s) => setTimeout(s));
|
|
111
128
|
}
|
|
112
129
|
layOutCells() {
|
|
113
130
|
const t = this.getColumns(), e = this.getCells();
|
|
114
|
-
t.forEach((
|
|
131
|
+
t.forEach((l, s) => {
|
|
115
132
|
var n, r;
|
|
116
|
-
const c = e.filter((
|
|
117
|
-
c.forEach((
|
|
118
|
-
const u = h && o,
|
|
119
|
-
if (
|
|
120
|
-
|
|
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 = "";
|
|
121
138
|
return;
|
|
122
139
|
}
|
|
123
|
-
|
|
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"));
|
|
124
141
|
});
|
|
125
142
|
});
|
|
126
143
|
}
|
|
@@ -129,10 +146,10 @@ const R = `:host{position:relative;display:block}:host *{box-sizing:border-box}.
|
|
|
129
146
|
this.empty = !Boolean(t) || t.children.length === 0;
|
|
130
147
|
}
|
|
131
148
|
render() {
|
|
132
|
-
return i(
|
|
149
|
+
return i(S, 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", onSlotchange: this.onSlotChange }))), i("div", { class: "table__body" }, i("slot", { name: "rows", onSlotchange: this.onSlotChange }), 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))))))));
|
|
133
150
|
}
|
|
134
151
|
get el() {
|
|
135
|
-
return
|
|
152
|
+
return _(this);
|
|
136
153
|
}
|
|
137
154
|
};
|
|
138
155
|
T.style = R;
|
|
@@ -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.81b95d55.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
|
},
|