@getflip/swirl-components-react 0.37.2 → 0.38.0

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.
Files changed (158) hide show
  1. package/dist/{file-manager.entry.beb28625.js → file-manager.entry.b1a5df02.js} +1 -1
  2. package/dist/{index.5e15f5c9.js → index.df277ce6.js} +2 -2
  3. package/dist/{swirl-action-list-section.entry.1c6b1162.js → swirl-action-list-section.entry.55591cd7.js} +1 -1
  4. package/dist/{swirl-action-list_3.entry.5d2d44c9.js → swirl-action-list_3.entry.e6daab7f.js} +1 -1
  5. package/dist/{swirl-app-bar.entry.d2d7b4ad.js → swirl-app-bar.entry.e3c438dd.js} +1 -1
  6. package/dist/{swirl-app-icon.entry.114fdef2.js → swirl-app-icon.entry.372769dd.js} +1 -1
  7. package/dist/{swirl-app-layout_7.entry.8358fc02.js → swirl-app-layout_7.entry.f3bbef45.js} +1 -1
  8. package/dist/{swirl-autocomplete.entry.186973ce.js → swirl-autocomplete.entry.7312f435.js} +1 -1
  9. package/dist/{swirl-avatar-group.entry.69e38924.js → swirl-avatar-group.entry.9d0303c0.js} +1 -1
  10. package/dist/{swirl-avatar.entry.ff96ffb0.js → swirl-avatar.entry.2d9f240f.js} +1 -1
  11. package/dist/{swirl-badge.entry.23b0a99f.js → swirl-badge.entry.e52a9a10.js} +1 -1
  12. package/dist/{swirl-banner.entry.2e774915.js → swirl-banner.entry.9a2f1d3e.js} +1 -1
  13. package/dist/{swirl-button-group.entry.ff8444a8.js → swirl-button-group.entry.6c5722bd.js} +1 -1
  14. package/dist/{swirl-button.entry.c9559241.js → swirl-button.entry.6ee1634f.js} +1 -1
  15. package/dist/{swirl-card.entry.e6a76617.js → swirl-card.entry.fc11f418.js} +1 -1
  16. package/dist/{swirl-carousel-slide.entry.d4bf6426.js → swirl-carousel-slide.entry.11585869.js} +1 -1
  17. package/dist/{swirl-carousel.entry.3c35456a.js → swirl-carousel.entry.923a57c4.js} +1 -1
  18. package/dist/{swirl-checkbox.entry.56d857bc.js → swirl-checkbox.entry.002a2b62.js} +1 -1
  19. package/dist/{swirl-chip.entry.73d8a308.js → swirl-chip.entry.00b0b74e.js} +1 -1
  20. package/dist/{swirl-columns.entry.e89f4e28.js → swirl-columns.entry.5d2c17f3.js} +1 -1
  21. package/dist/swirl-components-react.js +1 -1
  22. package/dist/swirl-components-react.umd.cjs +54 -48
  23. package/dist/{swirl-console-layout.entry.0375b068.js → swirl-console-layout.entry.cf362bc4.js} +1 -1
  24. package/dist/{swirl-date-input.entry.fa6d6758.js → swirl-date-input.entry.49004439.js} +1 -1
  25. package/dist/{swirl-date-picker_2.entry.1aa055cd.js → swirl-date-picker_2.entry.c8587051.js} +1 -1
  26. package/dist/{swirl-description-list-item.entry.2e799851.js → swirl-description-list-item.entry.3e4f263d.js} +1 -1
  27. package/dist/{swirl-description-list.entry.31b45fdf.js → swirl-description-list.entry.0a7fcca4.js} +1 -1
  28. package/dist/{swirl-dialog.entry.c2212518.js → swirl-dialog.entry.e052f417.js} +1 -1
  29. package/dist/{swirl-file-uploader.entry.a746148b.js → swirl-file-uploader.entry.0fec650a.js} +1 -1
  30. package/dist/{swirl-file-viewer_7.entry.ce735d05.js → swirl-file-viewer_7.entry.daac6d15.js} +1 -1
  31. package/dist/{swirl-form-control.entry.3b347c58.js → swirl-form-control.entry.34f9cf53.js} +8 -8
  32. package/dist/{swirl-form-group.entry.e257409c.js → swirl-form-group.entry.b3609a44.js} +1 -1
  33. package/dist/{swirl-heading.entry.e82aea10.js → swirl-heading.entry.93e8e09e.js} +1 -1
  34. package/dist/{swirl-icon-add-photo.entry.55ca97b0.js → swirl-icon-add-photo.entry.b8d95985.js} +1 -1
  35. package/dist/{swirl-icon-add_6.entry.db722cfe.js → swirl-icon-add_6.entry.b105685f.js} +1 -1
  36. package/dist/{swirl-icon-admin-panel-settings.entry.8f921b50.js → swirl-icon-admin-panel-settings.entry.957bc2e8.js} +1 -1
  37. package/dist/{swirl-icon-arrow-back.entry.06e914f6.js → swirl-icon-arrow-back.entry.f12194a3.js} +1 -1
  38. package/dist/{swirl-icon-arrow-downward_2.entry.63f64c99.js → swirl-icon-arrow-downward_2.entry.df131acf.js} +1 -1
  39. package/dist/{swirl-icon-arrow-forward.entry.b62c5122.js → swirl-icon-arrow-forward.entry.5f247f8e.js} +1 -1
  40. package/dist/{swirl-icon-arrow-left_4.entry.e96a5231.js → swirl-icon-arrow-left_4.entry.52fd2eab.js} +1 -1
  41. package/dist/{swirl-icon-arrow-right-small.entry.031bce59.js → swirl-icon-arrow-right-small.entry.5f77cbae.js} +1 -1
  42. package/dist/{swirl-icon-attachment.entry.3da6fb12.js → swirl-icon-attachment.entry.dd55112e.js} +1 -1
  43. package/dist/{swirl-icon-block.entry.da6261b5.js → swirl-icon-block.entry.18b3fee7.js} +1 -1
  44. package/dist/{swirl-icon-bookmark.entry.7f876fe2.js → swirl-icon-bookmark.entry.68cee2b6.js} +1 -1
  45. package/dist/{swirl-icon-cancel_4.entry.05c47f2c.js → swirl-icon-cancel_4.entry.4cbe38c8.js} +1 -1
  46. package/dist/{swirl-icon-chat-bubble.entry.e55ed498.js → swirl-icon-chat-bubble.entry.bec529b7.js} +1 -1
  47. package/dist/{swirl-icon-chats-filled.entry.5e6acba0.js → swirl-icon-chats-filled.entry.b401b2de.js} +1 -1
  48. package/dist/{swirl-icon-chats-outlined.entry.067bae59.js → swirl-icon-chats-outlined.entry.e85f7607.js} +1 -1
  49. package/dist/{swirl-icon-check-circle_3.entry.dd20549a.js → swirl-icon-check-circle_3.entry.d155e60c.js} +1 -1
  50. package/dist/{swirl-icon-check-small_4.entry.2c0b3e25.js → swirl-icon-check-small_4.entry.daced9ec.js} +2 -2
  51. package/dist/{swirl-icon-check-strong.entry.01c0b4c3.js → swirl-icon-check-strong.entry.d460e34e.js} +1 -1
  52. package/dist/{swirl-icon-check.entry.0a90d964.js → swirl-icon-check.entry.2e023867.js} +1 -1
  53. package/dist/{swirl-icon-chevron-left.entry.b533bad1.js → swirl-icon-chevron-left.entry.04d01128.js} +1 -1
  54. package/dist/{swirl-icon-chevron-right.entry.92dbf653.js → swirl-icon-chevron-right.entry.785ec521.js} +1 -1
  55. package/dist/{swirl-icon-close-small.entry.9e8b9ce4.js → swirl-icon-close-small.entry.6d408844.js} +1 -1
  56. package/dist/{swirl-icon-close.entry.1cacb075.js → swirl-icon-close.entry.1f3eed31.js} +1 -1
  57. package/dist/{swirl-icon-cloud-upload.entry.9e11705c.js → swirl-icon-cloud-upload.entry.489b3698.js} +1 -1
  58. package/dist/{swirl-icon-column.entry.ded103d3.js → swirl-icon-column.entry.c2c0d1f7.js} +1 -1
  59. package/dist/{swirl-icon-comment.entry.df4ee355.js → swirl-icon-comment.entry.6571e53f.js} +1 -1
  60. package/dist/{swirl-icon-copy.entry.33e866f3.js → swirl-icon-copy.entry.36619610.js} +1 -1
  61. package/dist/{swirl-icon-date-range.entry.07b63935.js → swirl-icon-date-range.entry.74684ba9.js} +1 -1
  62. package/dist/{swirl-icon-delete.entry.ecbeaf71.js → swirl-icon-delete.entry.9c03a7b6.js} +1 -1
  63. package/dist/{swirl-icon-description.entry.4a0583a6.js → swirl-icon-description.entry.c174f9a5.js} +1 -1
  64. package/dist/{swirl-icon-double-arrow-left.entry.e0c14123.js → swirl-icon-double-arrow-left.entry.706916d3.js} +1 -1
  65. package/dist/{swirl-icon-double-arrow-right.entry.d0971c85.js → swirl-icon-double-arrow-right.entry.10574d1c.js} +1 -1
  66. package/dist/{swirl-icon-download.entry.102140da.js → swirl-icon-download.entry.7ee9b12b.js} +1 -1
  67. package/dist/{swirl-icon-edit.entry.f519daff.js → swirl-icon-edit.entry.ddb565c0.js} +1 -1
  68. package/dist/{swirl-icon-emoji-mood.entry.86b54ffc.js → swirl-icon-emoji-mood.entry.51a4bcdb.js} +1 -1
  69. package/dist/{swirl-icon-emoji-satisfied.entry.bc0c823c.js → swirl-icon-emoji-satisfied.entry.a499ad10.js} +1 -1
  70. package/dist/{swirl-icon-error_3.entry.f243165c.js → swirl-icon-error_3.entry.8e6de7aa.js} +1 -1
  71. package/dist/{swirl-icon-expand-more.entry.fb3e7cf9.js → swirl-icon-expand-more.entry.363c5c62.js} +1 -1
  72. package/dist/{swirl-icon-filter.entry.86669915.js → swirl-icon-filter.entry.28f7f98d.js} +1 -1
  73. package/dist/{swirl-icon-folder.entry.af15a24d.js → swirl-icon-folder.entry.b3bb0643.js} +1 -1
  74. package/dist/{swirl-icon-group-assign.entry.87077665.js → swirl-icon-group-assign.entry.96b0e631.js} +1 -1
  75. package/dist/{swirl-icon-groups-custom.entry.7326350f.js → swirl-icon-groups-custom.entry.c23d3c3d.js} +1 -1
  76. package/dist/{swirl-icon-groups-filled.entry.614928a1.js → swirl-icon-groups-filled.entry.1c96daf4.js} +1 -1
  77. package/dist/{swirl-icon-groups-outlined.entry.dbb0c91c.js → swirl-icon-groups-outlined.entry.42264d5b.js} +1 -1
  78. package/dist/{swirl-icon-groups.entry.d185846a.js → swirl-icon-groups.entry.b51c7a14.js} +1 -1
  79. package/dist/{swirl-icon-help.entry.e6a6c654.js → swirl-icon-help.entry.d047f6c0.js} +1 -1
  80. package/dist/{swirl-icon-image.entry.7fdeeed9.js → swirl-icon-image.entry.ae3e96d8.js} +1 -1
  81. package/dist/{swirl-icon-inventory.entry.73938a2e.js → swirl-icon-inventory.entry.48757bba.js} +1 -1
  82. package/dist/{swirl-icon-like.entry.074d0a3d.js → swirl-icon-like.entry.b045863b.js} +1 -1
  83. package/dist/{swirl-icon-link.entry.fbc4633e.js → swirl-icon-link.entry.8853ac8e.js} +1 -1
  84. package/dist/{swirl-icon-lock.entry.f33a35b0.js → swirl-icon-lock.entry.febfe0b6.js} +1 -1
  85. package/dist/{swirl-icon-logout.entry.0892b5c4.js → swirl-icon-logout.entry.50d6ebff.js} +1 -1
  86. package/dist/{swirl-icon-mail.entry.d35a2118.js → swirl-icon-mail.entry.5e33e820.js} +1 -1
  87. package/dist/{swirl-icon-manage-accounts.entry.586d7135.js → swirl-icon-manage-accounts.entry.341d6c0e.js} +1 -1
  88. package/dist/{swirl-icon-mention.entry.6b0767f0.js → swirl-icon-mention.entry.0987dc6a.js} +1 -1
  89. package/dist/{swirl-icon-menu-filled.entry.b9140c02.js → swirl-icon-menu-filled.entry.07de0ffd.js} +1 -1
  90. package/dist/{swirl-icon-menu-outlined.entry.08e6728e.js → swirl-icon-menu-outlined.entry.1266ab27.js} +1 -1
  91. package/dist/{swirl-icon-menu.entry.5c3111df.js → swirl-icon-menu.entry.f50587a5.js} +1 -1
  92. package/dist/{swirl-icon-message.entry.77b89f84.js → swirl-icon-message.entry.71f07c11.js} +1 -1
  93. package/dist/{swirl-icon-more-horizontal.entry.3250d037.js → swirl-icon-more-horizontal.entry.88d1976c.js} +1 -1
  94. package/dist/{swirl-icon-news-filled.entry.8c146455.js → swirl-icon-news-filled.entry.731b2e9c.js} +1 -1
  95. package/dist/{swirl-icon-news-outlined.entry.498e1a6c.js → swirl-icon-news-outlined.entry.d6aed10c.js} +1 -1
  96. package/dist/{swirl-icon-notifications-active.entry.921d6fdd.js → swirl-icon-notifications-active.entry.2e2522ac.js} +1 -1
  97. package/dist/{swirl-icon-notifications-off.entry.f9bf479d.js → swirl-icon-notifications-off.entry.7867dfb7.js} +1 -1
  98. package/dist/{swirl-icon-notifications.entry.069e9ffe.js → swirl-icon-notifications.entry.6761f385.js} +1 -1
  99. package/dist/{swirl-icon-open-in-new.entry.56062ba2.js → swirl-icon-open-in-new.entry.706ceeb1.js} +1 -1
  100. package/dist/{swirl-icon-people-alt.entry.f0faa83c.js → swirl-icon-people-alt.entry.3b9a2a0e.js} +1 -1
  101. package/dist/{swirl-icon-person-off.entry.9a2755fa.js → swirl-icon-person-off.entry.d9a8a150.js} +1 -1
  102. package/dist/{swirl-icon-person.entry.70c2c297.js → swirl-icon-person.entry.09d58a84.js} +1 -1
  103. package/dist/{swirl-icon-phone.entry.45e4d96d.js → swirl-icon-phone.entry.ef479a7d.js} +1 -1
  104. package/dist/{swirl-icon-poll.entry.5ff87503.js → swirl-icon-poll.entry.9a9c34c2.js} +1 -1
  105. package/dist/{swirl-icon-print.entry.523d7c6e.js → swirl-icon-print.entry.2467ed66.js} +1 -1
  106. package/dist/{swirl-icon-recieved.entry.9de46c54.js → swirl-icon-recieved.entry.88c90529.js} +1 -1
  107. package/dist/{swirl-icon-search-strong.entry.8cfdddeb.js → swirl-icon-search-strong.entry.15520333.js} +1 -1
  108. package/dist/{swirl-icon-search.entry.b1a82071.js → swirl-icon-search.entry.b86c83d5.js} +1 -1
  109. package/dist/{swirl-icon-send.entry.c3d5a559.js → swirl-icon-send.entry.5aa2371c.js} +1 -1
  110. package/dist/{swirl-icon-settings.entry.93da6cf2.js → swirl-icon-settings.entry.3025538f.js} +1 -1
  111. package/dist/{swirl-icon-sync.entry.f8eff417.js → swirl-icon-sync.entry.1fc85e61.js} +1 -1
  112. package/dist/{swirl-icon-tasks-filled.entry.55f736d9.js → swirl-icon-tasks-filled.entry.44abdb56.js} +1 -1
  113. package/dist/{swirl-icon-tasks-outlined.entry.b1bb6e80.js → swirl-icon-tasks-outlined.entry.1d8bec23.js} +1 -1
  114. package/dist/{swirl-icon-time-filled.entry.cc523e77.js → swirl-icon-time-filled.entry.533adb6c.js} +1 -1
  115. package/dist/{swirl-icon-time-outlined.entry.3f5948d3.js → swirl-icon-time-outlined.entry.d4458849.js} +1 -1
  116. package/dist/{swirl-icon-user-assign.entry.d58ea87f.js → swirl-icon-user-assign.entry.1144894b.js} +1 -1
  117. package/dist/{swirl-icon-video-camera.entry.7432b1f1.js → swirl-icon-video-camera.entry.6cc7978f.js} +1 -1
  118. package/dist/{swirl-inline-notification.entry.bb924799.js → swirl-inline-notification.entry.4849c83f.js} +1 -1
  119. package/dist/{swirl-lightbox.entry.b31a52b4.js → swirl-lightbox.entry.7d2f750d.js} +1 -1
  120. package/dist/{swirl-link.entry.9e37461a.js → swirl-link.entry.40426b3d.js} +1 -1
  121. package/dist/{swirl-list.entry.2dc75cdc.js → swirl-list.entry.4a9879bb.js} +1 -1
  122. package/dist/swirl-modal.entry.647f1b21.js +528 -0
  123. package/dist/{swirl-option-list-section.entry.172fbf65.js → swirl-option-list-section.entry.6d346b11.js} +1 -1
  124. package/dist/{swirl-pagination.entry.61cf0b34.js → swirl-pagination.entry.ead335ac.js} +1 -1
  125. package/dist/{swirl-pdf-reader.entry.3b8779bf.js → swirl-pdf-reader.entry.eb167c23.js} +1 -1
  126. package/dist/{swirl-popover.entry.05396497.js → swirl-popover.entry.c970a0ed.js} +1 -1
  127. package/dist/{swirl-progress-indicator.entry.2b6ad51f.js → swirl-progress-indicator.entry.45bd7b1d.js} +1 -1
  128. package/dist/{swirl-radio-group.entry.c243eb11.js → swirl-radio-group.entry.8375bf4e.js} +1 -1
  129. package/dist/{swirl-radio.entry.ec017299.js → swirl-radio.entry.305fdfa5.js} +1 -1
  130. package/dist/{swirl-resource-list-file-item.entry.f10bf8f5.js → swirl-resource-list-file-item.entry.fd1c2dc9.js} +1 -1
  131. package/dist/{swirl-search.entry.bfe1c0f2.js → swirl-search.entry.b9a829a1.js} +1 -1
  132. package/dist/{swirl-select.entry.c60520e6.js → swirl-select.entry.12b1a390.js} +1 -1
  133. package/dist/{swirl-shell-layout.entry.85232f4f.js → swirl-shell-layout.entry.f5bd70e0.js} +1 -1
  134. package/dist/{swirl-shell-navigation-item.entry.26541754.js → swirl-shell-navigation-item.entry.cf0fc2b6.js} +1 -1
  135. package/dist/{swirl-skeleton-box.entry.76387894.js → swirl-skeleton-box.entry.fc7ccd91.js} +1 -1
  136. package/dist/{swirl-skeleton-text.entry.cd14087d.js → swirl-skeleton-text.entry.d2acdf23.js} +1 -1
  137. package/dist/{swirl-stack.entry.d4245ae2.js → swirl-stack.entry.9c6fe41b.js} +1 -1
  138. package/dist/{swirl-switch.entry.5067719c.js → swirl-switch.entry.83dc9dc5.js} +1 -1
  139. package/dist/{swirl-tab.entry.041aef80.js → swirl-tab.entry.32c9f28d.js} +1 -1
  140. package/dist/{swirl-table-cell.entry.102fd6b4.js → swirl-table-cell.entry.eb1d801d.js} +1 -1
  141. package/dist/{swirl-table-column.entry.fd17b5f2.js → swirl-table-column.entry.bf1f321e.js} +1 -1
  142. package/dist/{swirl-table-row-group.entry.9a16356c.js → swirl-table-row-group.entry.a5cf5d28.js} +1 -1
  143. package/dist/{swirl-table-row.entry.03d721a1.js → swirl-table-row.entry.64cf13f4.js} +1 -1
  144. package/dist/{swirl-table.entry.ceedfeb7.js → swirl-table.entry.50f25c36.js} +1 -1
  145. package/dist/{swirl-tabs.entry.97ff7852.js → swirl-tabs.entry.78b5e624.js} +1 -1
  146. package/dist/{swirl-tag.entry.2afa10f8.js → swirl-tag.entry.8eccca4a.js} +1 -1
  147. package/dist/{swirl-text-input.entry.db23ee0e.js → swirl-text-input.entry.58ba1137.js} +2 -2
  148. package/dist/{swirl-text.entry.9c10a1bd.js → swirl-text.entry.67d9b448.js} +1 -1
  149. package/dist/{swirl-theme-provider.entry.234b8f5c.js → swirl-theme-provider.entry.542acaf3.js} +1 -1
  150. package/dist/{swirl-toast-provider.entry.2a64f68e.js → swirl-toast-provider.entry.688d0944.js} +1 -1
  151. package/dist/{swirl-toast.entry.681b7b8c.js → swirl-toast.entry.66664720.js} +1 -1
  152. package/dist/{swirl-tooltip.entry.777088c2.js → swirl-tooltip.entry.229b2e93.js} +1 -1
  153. package/dist/{swirl-tree-navigation-item.entry.a9764048.js → swirl-tree-navigation-item.entry.2f363cbd.js} +1 -1
  154. package/dist/{swirl-video-thumbnail.entry.97286b23.js → swirl-video-thumbnail.entry.e2a15157.js} +1 -1
  155. package/dist/{swirl-visually-hidden.entry.024ebb4b.js → swirl-visually-hidden.entry.0de1d386.js} +1 -1
  156. package/dist/{wc-datepicker.entry.cc8fb12e.js → wc-datepicker.entry.3b341b74.js} +1 -1
  157. package/package.json +2 -2
  158. package/dist/swirl-modal.entry.18c04c4c.js +0 -66
@@ -1,4 +1,4 @@
1
- import { r as e, h as t, H as i, g as r } from "./index.5e15f5c9.js";
1
+ import { r as e, h as t, H as i, g as r } from "./index.df277ce6.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 {
@@ -1,4 +1,4 @@
1
- import { r as o, h as r, H as s, g as t } from "./index.5e15f5c9.js";
1
+ import { r as o, h as r, H as s, g as t } from "./index.df277ce6.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,4 +1,4 @@
1
- import { r as s, h as o, H as e } from "./index.5e15f5c9.js";
1
+ import { r as s, h as o, H as e } from "./index.df277ce6.js";
2
2
  import { c as r } from "./index-d280dafb.186cdb0e.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as g, h as i, H as S, g as _ } from "./index.5e15f5c9.js";
1
+ import { r as g, h as i, H as S, g as _ } from "./index.df277ce6.js";
2
2
  import { i as v } from "./utils-61f188cc.4a43deab.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as i, c as r, h as e, H as o, g as b } from "./index.5e15f5c9.js";
1
+ import { r as i, c as r, h as e, H as o, g as b } from "./index.df277ce6.js";
2
2
  import { c as n } from "./index-d280dafb.186cdb0e.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r, c as s, h as t, H as n } from "./index.5e15f5c9.js";
1
+ import { r, c as s, h as t, H as n } from "./index.df277ce6.js";
2
2
  import { c as i } from "./index-d280dafb.186cdb0e.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as h, c as n, h as i, H as d } from "./index.5e15f5c9.js";
1
+ import { r as h, c as n, h as i, H as d } from "./index.df277ce6.js";
2
2
  import { c } from "./index-d280dafb.186cdb0e.js";
3
3
  import { a as x } from "./utils-61f188cc.4a43deab.js";
4
4
  import "react";
@@ -65,7 +65,7 @@ const w = '.sc-swirl-text-input-h{display:block;width:100%}.sc-swirl-text-input-
65
65
  "text-input--inline": this.inline,
66
66
  "text-input--show-password": this.type === "password" && this.showPassword
67
67
  });
68
- return i(d, null, i("div", { class: o }, this.prefixLabel && i("span", { class: "text-input__prefix" }, this.prefixLabel), i(t, { "aria-autocomplete": this.swirlAriaAutocomplete, "aria-controls": this.swirlAriaControls, "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : void 0, "aria-expanded": this.swirlAriaExpanded, "aria-invalid": s, autoComplete: this.autoComplete, autoFocus: this.autoFocus, class: "text-input__input", disabled: this.disabled, inputMode: this.mode, maxLength: this.maxLength, max: this.type === "number" ? this.max : void 0, min: this.type === "number" ? this.min : void 0, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.onInput, onKeyPress: this.onKeyPress, ref: (p) => this.inputEl = p, required: this.required, role: this.swirlRole, rows: this.rows > 1 ? this.rows : void 0, spellcheck: this.spellCheck, step: this.type === "number" ? this.step : void 0, type: l, value: this.rows === 1 ? this.value : void 0 }, this.rows > 1 && this.value), this.suffixLabel && i("span", { class: "text-input__suffix" }, this.suffixLabel), u && i("button", { "aria-label": this.clearButtonLabel, class: "text-input__clear-button", onClick: this.clear, type: "button" }, i("swirl-icon-cancel", { size: this.iconSize })), a && i("button", { "aria-label": this.passwordToggleLabel, class: "text-input__password-toggle", onClick: this.togglePassword, type: "button" }, this.showPassword ? i("swirl-icon-visibility-off", { size: this.iconSize }) : i("swirl-icon-visibility", { size: this.iconSize })), r && i("span", { class: "text-input__stepper" }, i("button", { "aria-hidden": "true", class: "text-input__step-button", onClick: this.increaseValue, tabIndex: -1, type: "button" }, i("swirl-icon-expand-less", { size: this.iconSize })), i("button", { "aria-hidden": "true", class: "text-input__step-button", onClick: this.decreaseValue, tabIndex: -1, type: "button" }, i("swirl-icon-expand-more", { size: this.iconSize }))), this.showCharacterCounter && i("span", { class: "text-input__character-counter" }, ((e = this.value) === null || e === void 0 ? void 0 : e.length) || 0, " ", Boolean(this.maxLength) ? `/ ${this.maxLength}` : "")));
68
+ return i(d, null, i("div", { class: o }, this.prefixLabel && i("span", { class: "text-input__prefix" }, this.prefixLabel), i(t, { "aria-autocomplete": this.swirlAriaAutocomplete, "aria-controls": this.swirlAriaControls, "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : void 0, "aria-expanded": this.swirlAriaExpanded, "aria-invalid": s, autoComplete: this.autoComplete, autoFocus: this.autoFocus, class: "text-input__input", disabled: this.disabled, inputMode: this.mode, maxLength: this.maxLength, max: this.type === "number" ? this.max : void 0, min: this.type === "number" ? this.min : void 0, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.onInput, onKeyPress: this.onKeyPress, ref: (p) => this.inputEl = p, required: this.required, role: this.swirlRole, rows: this.rows > 1 ? this.rows : void 0, spellcheck: this.spellCheck, step: this.type === "number" ? this.step : void 0, type: l, value: this.rows === 1 ? this.value : void 0 }, this.rows > 1 && this.value), this.suffixLabel && i("span", { class: "text-input__suffix" }, this.suffixLabel), u && i("button", { "aria-label": this.clearButtonLabel, class: "text-input__clear-button", onClick: this.clear, part: "text-input__clear-button", type: "button" }, i("swirl-icon-cancel", { size: this.iconSize })), a && i("button", { "aria-label": this.passwordToggleLabel, class: "text-input__password-toggle", onClick: this.togglePassword, type: "button" }, this.showPassword ? i("swirl-icon-visibility-off", { size: this.iconSize }) : i("swirl-icon-visibility", { size: this.iconSize })), r && i("span", { class: "text-input__stepper" }, i("button", { "aria-hidden": "true", class: "text-input__step-button", onClick: this.increaseValue, tabIndex: -1, type: "button" }, i("swirl-icon-expand-less", { size: this.iconSize })), i("button", { "aria-hidden": "true", class: "text-input__step-button", onClick: this.decreaseValue, tabIndex: -1, type: "button" }, i("swirl-icon-expand-more", { size: this.iconSize }))), this.showCharacterCounter && i("span", { class: "text-input__character-counter" }, ((e = this.value) === null || e === void 0 ? void 0 : e.length) || 0, " ", Boolean(this.maxLength) ? `/ ${this.maxLength}` : "")));
69
69
  }
70
70
  };
71
71
  b.style = w;
@@ -1,4 +1,4 @@
1
- import { r as J, h as y, H as T, g as V } from "./index.5e15f5c9.js";
1
+ import { r as J, h as y, H as T, g as V } from "./index.df277ce6.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 j, c as E, h as w, H } from "./index.5e15f5c9.js";
1
+ import { r as j, c as E, h as w, H } from "./index.df277ce6.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  function d(e, t, o) {
@@ -1,4 +1,4 @@
1
- import { r, h as a, H as n } from "./index.5e15f5c9.js";
1
+ import { r, h as a, H as n } from "./index.df277ce6.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const h = class {
@@ -1,4 +1,4 @@
1
- import { r as o, c as n, h as i, H as r } from "./index.5e15f5c9.js";
1
+ import { r as o, c as n, h as i, H as r } from "./index.df277ce6.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";
@@ -1,4 +1,4 @@
1
- import { r as n, h as i, H as l } from "./index.5e15f5c9.js";
1
+ import { r as n, h as i, H as l } from "./index.df277ce6.js";
2
2
  import { c as r, o as p, s as h, f as d } from "./floating-ui.dom.esm-b9f28f6d.15013ef7.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as t, h as i, H as s, g as r } from "./index.5e15f5c9.js";
1
+ import { r as t, h as i, H as s, g as r } from "./index.df277ce6.js";
2
2
  import { c as o } from "./index-d280dafb.186cdb0e.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as t, h as n, H as e } from "./index.5e15f5c9.js";
1
+ import { r as t, h as n, H as e } from "./index.df277ce6.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const a = `:host {
@@ -1,4 +1,4 @@
1
- import { r as s, h as i, H as l } from "./index.5e15f5c9.js";
1
+ import { r as s, h as i, H as l } from "./index.df277ce6.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 {
@@ -1,4 +1,4 @@
1
- import { r as R, c as S, h as n, H, g as E } from "./index.5e15f5c9.js";
1
+ import { r as R, c as S, h as n, H, g as E } from "./index.df277ce6.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  function T(e, t) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-components-react",
3
- "version": "0.37.2",
3
+ "version": "0.38.0",
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.2",
21
+ "@getflip/swirl-components": "^0.39.0",
22
22
  "react": "^18.2.0",
23
23
  "react-dom": "^18.2.0"
24
24
  },
@@ -1,66 +0,0 @@
1
- import { r as h, c as s, h as o, H as p } from "./index.5e15f5c9.js";
2
- import { A as b } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
3
- import { d as f, e as u } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
4
- import { c as v } from "./index-d280dafb.186cdb0e.js";
5
- import "react";
6
- import "react-dom";
7
- const g = ':host{--swirl-ghost-button-background-default:var(--s-surface-overlay-default);--swirl-ghost-button-background-hovered:var(--s-surface-overlay-hovered);--swirl-ghost-button-background-pressed:var(--s-surface-overlay-pressed);display:block}:host *{box-sizing:border-box}.modal{position:fixed;z-index:var(--s-z-40);display:flex;justify-content:center;align-items:center;inset:0}.modal[aria-hidden="true"]{display:none}.modal:not(.modal--closing) .modal__backdrop{-webkit-animation:0.15s modal-backdrop-fade-in;animation:0.15s modal-backdrop-fade-in}@media (prefers-reduced-motion){.modal:not(.modal--closing) .modal__backdrop{-webkit-animation:none;animation:none}}.modal:not(.modal--closing) .modal__body{-webkit-animation:0.15s modal-scale-in;animation:0.15s modal-scale-in}@media (prefers-reduced-motion){.modal:not(.modal--closing) .modal__body{-webkit-animation:none;animation:none}}.modal--padded .modal__content{padding-top:var(--s-space-24);padding-right:var(--s-space-16);padding-bottom:var(--s-space-24);padding-left:var(--s-space-16)}@media (min-width: 768px){.modal--padded .modal__content{padding-top:0;padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24)}}.modal--has-custom-header .modal__content{padding-top:var(--s-space-16)}.modal--closing{-webkit-animation:0.15s modal-fade-out;animation:0.15s modal-fade-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@media (prefers-reduced-motion){.modal--closing{-webkit-animation:none;animation:none}}@media (min-width: 768px){.modal--scrollable .modal__content{padding-bottom:0}}.modal--scrollable:not(.modal--scrolled-down) .modal__controls{border-top:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 768px){.modal--scrolled .modal__header{border-bottom-color:var(--s-border-default)}}.modal__backdrop{position:fixed;background-color:rgba(0, 0, 0, 0.2);inset:0}.modal__body{position:relative;z-index:var(--s-z-40);display:flex;overflow:hidden;width:100vw;max-width:40rem;height:100vh;background-color:var(--s-surface-overlay-default);flex-direction:column}@media (min-width: 768px){.modal__body{width:90vw;height:auto;max-height:90vh;border-radius:var(--s-border-radius-base);box-shadow:var(--s-shadow-level-3)}}.modal__close-button{position:absolute;top:var(--s-space-8);left:var(--s-space-8)}@media (min-width: 768px){.modal__close-button{top:var(--s-space-16);right:var(--s-space-16);left:auto}}.modal__header{display:flex;height:3.5rem;padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:calc(var(--s-space-8) + 2.5rem + var(--s-space-8));flex-shrink:0;align-items:center;border-bottom:var(--s-border-width-default) solid var(--s-border-default);gap:var(--s-space-16)}@media (min-width: 768px){.modal__header{height:4.125rem;padding-top:var(--s-space-24);padding-right:calc(var(--s-space-16) + 2.5rem + var(--s-space-8));padding-bottom:var(--s-space-16);padding-left:var(--s-space-24);border-bottom:var(--s-border-width-default) solid transparent}}.modal__custom-header{flex-shrink:0;border-bottom:var(--s-border-width-default) solid var(--s-border-default)}.modal__heading{overflow:hidden}.modal__heading .heading{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.modal__content{overflow-x:hidden;overflow-y:auto;flex-grow:1;line-height:var(--s-line-height-base)}.modal__content ::slotted(*){margin:0}.modal__controls{display:flex;padding-top:var(--s-space-16);padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24);flex-shrink:0;justify-content:flex-end}@-webkit-keyframes modal-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@keyframes modal-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@-webkit-keyframes modal-backdrop-fade-in{from{opacity:0}to{opacity:1}}@keyframes modal-backdrop-fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes modal-fade-out{from{opacity:1}to{opacity:0}}@keyframes modal-fade-out{from{opacity:1}to{opacity:0}}', _ = class {
8
- constructor(t) {
9
- h(this, t), this.modalClose = s(this, "modalClose", 7), this.modalOpen = s(this, "modalOpen", 7), this.primaryAction = s(this, "primaryAction", 7), this.secondaryAction = s(this, "secondaryAction", 7), this.onKeyDown = (a) => {
10
- a.code === "Escape" && this.close();
11
- }, this.onBackdropClick = () => {
12
- this.close();
13
- }, this.onCloseButtonClick = () => {
14
- this.close();
15
- }, this.onPrimaryAction = (a) => {
16
- this.primaryAction.emit(a);
17
- }, this.onSecondaryAction = (a) => {
18
- this.secondaryAction.emit(a);
19
- }, this.onCustomHeaderSlotChange = () => {
20
- this.hasCustomHeader = this.customHeaderSlot.assignedElements().length > 0;
21
- }, this.determineScrollStatus = () => {
22
- var a, e, i, l, d, r;
23
- const n = ((a = this.scrollContainer) === null || a === void 0 ? void 0 : a.scrollTop) > 0, c = Math.ceil(((e = this.scrollContainer) === null || e === void 0 ? void 0 : e.scrollTop) + ((i = this.scrollContainer) === null || i === void 0 ? void 0 : i.offsetHeight)) >= ((l = this.scrollContainer) === null || l === void 0 ? void 0 : l.scrollHeight), m = ((d = this.scrollContainer) === null || d === void 0 ? void 0 : d.scrollHeight) > ((r = this.scrollContainer) === null || r === void 0 ? void 0 : r.offsetHeight);
24
- n !== this.scrolled && (this.scrolled = n), c !== this.scrolledDown && (this.scrolledDown = c), m !== this.scrollable && (this.scrollable = m);
25
- }, this.closeButtonLabel = "Close modal", this.hideCloseButton = void 0, this.hideLabel = void 0, this.label = void 0, this.maxWidth = void 0, this.padded = !0, this.primaryActionLabel = void 0, this.secondaryActionLabel = void 0, this.closing = !1, this.hasCustomHeader = void 0, this.scrollable = !1, this.scrolled = !1, this.scrolledDown = !1;
26
- }
27
- componentDidLoad() {
28
- this.modal = new b(this.modalEl), this.determineScrollStatus();
29
- }
30
- disconnectedCallback() {
31
- var t;
32
- (t = this.modal) === null || t === void 0 || t.destroy(), this.unlockBodyScroll();
33
- }
34
- onWindowResize() {
35
- this.determineScrollStatus();
36
- }
37
- async open() {
38
- this.modal.show(), this.modalOpen.emit(), this.lockBodyScroll(), this.determineScrollStatus();
39
- }
40
- async close() {
41
- this.closing || (this.closing = !0, this.unlockBodyScroll(), setTimeout(() => {
42
- this.modal.hide(), this.modalClose.emit(), this.closing = !1;
43
- }, 150));
44
- }
45
- lockBodyScroll() {
46
- f(this.scrollContainer);
47
- }
48
- unlockBodyScroll() {
49
- u(this.scrollContainer);
50
- }
51
- render() {
52
- const t = Boolean(this.primaryActionLabel) || Boolean(this.secondaryActionLabel), a = v("modal", {
53
- "modal--closing": this.closing,
54
- "modal--has-custom-header": this.hasCustomHeader,
55
- "modal--padded": this.padded,
56
- "modal--scrollable": this.scrollable,
57
- "modal--scrolled": this.scrolled,
58
- "modal--scrolled-down": this.scrolledDown
59
- });
60
- return o(p, null, o("section", { "aria-hidden": "true", "aria-label": this.label, class: a, id: "modal", onKeyDown: this.onKeyDown, ref: (e) => this.modalEl = e }, o("div", { class: "modal__backdrop", onClick: this.onBackdropClick }), o("div", { class: "modal__body", role: "document", style: { maxWidth: this.maxWidth } }, !this.hideCloseButton && o("swirl-button", { class: "modal__close-button", hideLabel: !0, icon: "<swirl-icon-close></swirl-icon-close>", label: this.closeButtonLabel, onClick: this.onCloseButtonClick }), o("header", { class: "modal__custom-header" }, o("slot", { name: "custom-header", onSlotchange: this.onCustomHeaderSlotChange, ref: (e) => this.customHeaderSlot = e })), !this.hideLabel && o("header", { class: "modal__header" }, o("swirl-heading", { as: "h2", class: "modal__heading", level: 3, text: this.label })), o("div", { class: "modal__content", onScroll: this.determineScrollStatus, ref: (e) => this.scrollContainer = e }, o("slot", null)), t && o("footer", { class: "modal__controls" }, o("swirl-button-group", { wrap: !0 }, this.secondaryActionLabel && o("swirl-button", { label: this.secondaryActionLabel, onClick: this.onSecondaryAction }), this.primaryActionLabel && o("swirl-button", { intent: "primary", label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" }))))));
61
- }
62
- };
63
- _.style = g;
64
- export {
65
- _ as swirl_modal
66
- };