@getflip/swirl-components-react 0.10.0 → 0.12.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 (270) hide show
  1. package/dist/{_commonjsHelpers-44457d8d.ba94af77.js → _commonjsHelpers-10467d11.b7d83301.js} +0 -0
  2. package/dist/balancetext-31f1ec68.bd1c1b2d.js +189 -0
  3. package/dist/file-manager.entry.7a321755.js +58 -0
  4. package/dist/{floating-ui.dom.esm-1a4e8b8a.87557233.js → floating-ui.dom.esm-b9f28f6d.15013ef7.js} +0 -0
  5. package/dist/{index-6d2e18c6.289636d4.js → index-47862d62.75c2fcf1.js} +1 -1
  6. package/dist/index.149af511.js +1394 -0
  7. package/dist/stencil-generated/index.d.ts +169 -157
  8. package/dist/swirl-action-list-item.entry.6548a6f0.js +34 -0
  9. package/dist/swirl-action-list-section.entry.e12fe159.js +15 -0
  10. package/dist/{flip-action-list.entry.7bdcff2f.js → swirl-action-list.entry.21644ba6.js} +3 -3
  11. package/dist/{flip-app-layout_5.entry.6e395cd4.js → swirl-app-layout_5.entry.9703e919.js} +28 -24
  12. package/dist/swirl-autocomplete.entry.4bad6cbf.js +70 -0
  13. package/dist/swirl-avatar-group.entry.d41bfa97.js +29 -0
  14. package/dist/{flip-avatar.entry.f5cb1fd9.js → swirl-avatar.entry.c81909ad.js} +8 -8
  15. package/dist/swirl-badge.entry.7bd8bbda.js +20 -0
  16. package/dist/swirl-banner.entry.ef0143b1.js +49 -0
  17. package/dist/swirl-button-group.entry.60578a80.js +20 -0
  18. package/dist/swirl-button.entry.167120c6.js +52 -0
  19. package/dist/{flip-card.entry.66635d0b.js → swirl-card.entry.47b41ce9.js} +4 -4
  20. package/dist/swirl-checkbox.entry.37c16abe.js +30 -0
  21. package/dist/{flip-chip.entry.2d504566.js → swirl-chip.entry.89c2c730.js} +23 -15
  22. package/dist/swirl-components-react.js +171 -159
  23. package/dist/swirl-components-react.umd.cjs +76 -46
  24. package/dist/{flip-console-layout.entry.0b474308.js → swirl-console-layout.entry.61b9ad81.js} +22 -22
  25. package/dist/{flip-date-input.entry.462f9e2d.js → swirl-date-input.entry.f0f6d6ee.js} +633 -623
  26. package/dist/swirl-date-picker_2.entry.91531b84.js +37 -0
  27. package/dist/{flip-description-list-item.entry.2ea98099.js → swirl-description-list-item.entry.99c83045.js} +18 -3
  28. package/dist/{flip-description-list.entry.c08605e6.js → swirl-description-list.entry.724f88d9.js} +5 -5
  29. package/dist/swirl-dialog.entry.b50cfdb2.js +45 -0
  30. package/dist/swirl-file-uploader.entry.f8afd2d4.js +32 -0
  31. package/dist/{flip-file-viewer_7.entry.8d39ace2.js → swirl-file-viewer_7.entry.8973a210.js} +20 -20
  32. package/dist/swirl-form-control.entry.bc87b691.js +70 -0
  33. package/dist/swirl-form-group.entry.674e8b3f.js +18 -0
  34. package/dist/swirl-heading.entry.8e9ded19.js +28 -0
  35. package/dist/swirl-icon-add-photo.entry.5a20015c.js +18 -0
  36. package/dist/swirl-icon-add_4.entry.0844d9ca.js +51 -0
  37. package/dist/swirl-icon-admin-panel-settings.entry.8f932fe7.js +18 -0
  38. package/dist/swirl-icon-arrow-back.entry.c9c0cd69.js +18 -0
  39. package/dist/swirl-icon-arrow-downward_2.entry.03e4f1bc.js +29 -0
  40. package/dist/swirl-icon-arrow-forward.entry.965aa3ee.js +18 -0
  41. package/dist/swirl-icon-arrow-left_3.entry.5cddfb42.js +40 -0
  42. package/dist/swirl-icon-arrow-right-small.entry.53b648b8.js +18 -0
  43. package/dist/swirl-icon-attachment.entry.302569e9.js +18 -0
  44. package/dist/swirl-icon-block.entry.79c5f2b2.js +18 -0
  45. package/dist/swirl-icon-cancel_4.entry.31c7f7d7.js +51 -0
  46. package/dist/swirl-icon-chat-bubble.entry.ac1cbfcd.js +18 -0
  47. package/dist/swirl-icon-chats-filled.entry.18c0e11a.js +18 -0
  48. package/dist/swirl-icon-chats-outlined.entry.af240396.js +18 -0
  49. package/dist/swirl-icon-check-circle.entry.4c0304e9.js +18 -0
  50. package/dist/swirl-icon-check-small_4.entry.c7292189.js +1468 -0
  51. package/dist/swirl-icon-check-strong.entry.0e1ebe49.js +18 -0
  52. package/dist/swirl-icon-check.entry.bb609d4c.js +18 -0
  53. package/dist/swirl-icon-chevron-left.entry.0faf5ceb.js +18 -0
  54. package/dist/swirl-icon-chevron-right.entry.9b9edbac.js +18 -0
  55. package/dist/swirl-icon-close-small.entry.47516cb5.js +18 -0
  56. package/dist/swirl-icon-close.entry.f20dd2d1.js +18 -0
  57. package/dist/swirl-icon-cloud-upload.entry.5307cd46.js +18 -0
  58. package/dist/swirl-icon-column.entry.fb461b40.js +18 -0
  59. package/dist/swirl-icon-comment.entry.7bfbd903.js +18 -0
  60. package/dist/swirl-icon-copy.entry.4c17082a.js +18 -0
  61. package/dist/swirl-icon-date-range.entry.c8ce6402.js +18 -0
  62. package/dist/swirl-icon-delete.entry.6d3a6a54.js +18 -0
  63. package/dist/swirl-icon-description.entry.060d019c.js +18 -0
  64. package/dist/swirl-icon-edit.entry.329a25ea.js +18 -0
  65. package/dist/swirl-icon-emoji-mood.entry.3fbee1e1.js +18 -0
  66. package/dist/swirl-icon-emoji-satisfied.entry.9fc1863d.js +18 -0
  67. package/dist/swirl-icon-error_3.entry.8209c557.js +58 -0
  68. package/dist/swirl-icon-expand-more.entry.b2e0a30c.js +18 -0
  69. package/dist/swirl-icon-file.entry.c0e82b43.js +18 -0
  70. package/dist/swirl-icon-filter.entry.e26fa57c.js +18 -0
  71. package/dist/swirl-icon-folder-shared.entry.0169b375.js +18 -0
  72. package/dist/swirl-icon-group-assign.entry.70e80a6e.js +18 -0
  73. package/dist/swirl-icon-groups-custom.entry.d16f5fb9.js +18 -0
  74. package/dist/swirl-icon-groups-filled.entry.6cccc3d3.js +18 -0
  75. package/dist/swirl-icon-groups-outlined.entry.2bf03f93.js +18 -0
  76. package/dist/swirl-icon-groups.entry.cbc420c1.js +18 -0
  77. package/dist/swirl-icon-help.entry.bca2c9e9.js +18 -0
  78. package/dist/swirl-icon-image.entry.67457d50.js +18 -0
  79. package/dist/swirl-icon-info.entry.0ee58aeb.js +18 -0
  80. package/dist/swirl-icon-inventory.entry.1548c8b5.js +18 -0
  81. package/dist/swirl-icon-like.entry.e9d549b8.js +18 -0
  82. package/dist/swirl-icon-link.entry.c442143c.js +18 -0
  83. package/dist/swirl-icon-lock.entry.d84f882b.js +18 -0
  84. package/dist/swirl-icon-logout.entry.7a6a96d3.js +18 -0
  85. package/dist/swirl-icon-mail.entry.a7b7df7b.js +18 -0
  86. package/dist/swirl-icon-manage-accounts.entry.fe2691fc.js +18 -0
  87. package/dist/swirl-icon-mention.entry.c0368650.js +18 -0
  88. package/dist/swirl-icon-menu-filled.entry.06cced02.js +18 -0
  89. package/dist/swirl-icon-menu-outlined.entry.89dca403.js +18 -0
  90. package/dist/swirl-icon-menu.entry.ff253f8f.js +18 -0
  91. package/dist/swirl-icon-message.entry.b7d9f581.js +18 -0
  92. package/dist/swirl-icon-more-horizontal.entry.407e51c1.js +18 -0
  93. package/dist/swirl-icon-more-vertikal.entry.718f85e0.js +18 -0
  94. package/dist/swirl-icon-news-filled.entry.5134e640.js +18 -0
  95. package/dist/swirl-icon-news-outlined.entry.9c0931c4.js +18 -0
  96. package/dist/swirl-icon-notifications-active.entry.c47bbb94.js +18 -0
  97. package/dist/swirl-icon-notifications-off.entry.d5933059.js +18 -0
  98. package/dist/swirl-icon-notifications.entry.b945b795.js +18 -0
  99. package/dist/swirl-icon-open-in-new.entry.98a7ed82.js +18 -0
  100. package/dist/swirl-icon-people-alt.entry.646cfc3d.js +18 -0
  101. package/dist/swirl-icon-person-off.entry.f5db1b83.js +18 -0
  102. package/dist/swirl-icon-person.entry.4b5b54cb.js +18 -0
  103. package/dist/swirl-icon-phone.entry.f6c4012a.js +18 -0
  104. package/dist/swirl-icon-poll.entry.9ee6b1d2.js +18 -0
  105. package/dist/swirl-icon-print.entry.37f08abb.js +18 -0
  106. package/dist/swirl-icon-recieved.entry.f79a1343.js +18 -0
  107. package/dist/swirl-icon-search-strong.entry.6752b238.js +18 -0
  108. package/dist/swirl-icon-search.entry.d152e72f.js +18 -0
  109. package/dist/swirl-icon-send.entry.cafcc526.js +18 -0
  110. package/dist/swirl-icon-settings.entry.cdd23f77.js +18 -0
  111. package/dist/swirl-icon-sync.entry.37eed48f.js +18 -0
  112. package/dist/swirl-icon-tasks-filled.entry.629446b0.js +18 -0
  113. package/dist/swirl-icon-tasks-outlined.entry.21e25bc3.js +18 -0
  114. package/dist/swirl-icon-time-filled.entry.67ee5a24.js +18 -0
  115. package/dist/swirl-icon-time-outlined.entry.d0eb5d19.js +18 -0
  116. package/dist/swirl-icon-user-assign.entry.8a6b68ea.js +18 -0
  117. package/dist/swirl-icon-video-camera.entry.85101910.js +18 -0
  118. package/dist/swirl-icon-warning.entry.330bf12a.js +18 -0
  119. package/dist/{flip-lightbox.entry.e6ea2310.js → swirl-lightbox.entry.7a2191eb.js} +13 -13
  120. package/dist/swirl-link.entry.81bd6e0f.js +15 -0
  121. package/dist/swirl-list.entry.ca7b2daf.js +18 -0
  122. package/dist/swirl-modal.entry.97df470f.js +63 -0
  123. package/dist/swirl-option-list-section.entry.b3b30b8f.js +15 -0
  124. package/dist/swirl-pagination.entry.0bbbf034.js +27 -0
  125. package/dist/{flip-pdf-reader.entry.4cdb28da.js → swirl-pdf-reader.entry.064e66a5.js} +8 -8
  126. package/dist/{flip-popover.entry.4a45218b.js → swirl-popover.entry.1e51f870.js} +10 -10
  127. package/dist/{flip-progress-indicator.entry.fc0e5979.js → swirl-progress-indicator.entry.46470fa4.js} +4 -4
  128. package/dist/swirl-radio-group.entry.f931de9f.js +35 -0
  129. package/dist/swirl-radio.entry.5ccbc5fa.js +29 -0
  130. package/dist/swirl-resource-list-file-item.entry.66329d69.js +37 -0
  131. package/dist/swirl-search.entry.364d373f.js +48 -0
  132. package/dist/swirl-select.entry.95b1f5bc.js +49 -0
  133. package/dist/swirl-separator.entry.7c230cd1.js +15 -0
  134. package/dist/{flip-stack.entry.a5b14f3a.js → swirl-stack.entry.cb1d54ae.js} +4 -4
  135. package/dist/swirl-switch.entry.895cfbbd.js +56 -0
  136. package/dist/swirl-tab.entry.b870a20f.js +18 -0
  137. package/dist/swirl-table-cell.entry.0d4a9b8f.js +15 -0
  138. package/dist/swirl-table-column.entry.b1f05cb5.js +23 -0
  139. package/dist/swirl-table-row-group.entry.85368b7a.js +19 -0
  140. package/dist/swirl-table-row.entry.39f31a4b.js +20 -0
  141. package/dist/swirl-table.entry.cd3a7dde.js +141 -0
  142. package/dist/{flip-tabs.entry.d3d9f791.js → swirl-tabs.entry.6dbf6d57.js} +8 -8
  143. package/dist/swirl-tag.entry.b0d8059b.js +21 -0
  144. package/dist/swirl-text-input.entry.86bbfa05.js +75 -0
  145. package/dist/swirl-text.entry.53142b33.js +31 -0
  146. package/dist/{flip-theme-provider.entry.2b2c55b9.js → swirl-theme-provider.entry.9cc36512.js} +18 -18
  147. package/dist/swirl-thumbnail.entry.bd0a5c89.js +18 -0
  148. package/dist/{flip-toast-provider.entry.729fe2a2.js → swirl-toast-provider.entry.7747ba81.js} +3 -3
  149. package/dist/swirl-toast.entry.ea517c98.js +52 -0
  150. package/dist/{flip-tooltip.entry.8392ec7f.js → swirl-tooltip.entry.71acfc7d.js} +8 -8
  151. package/dist/{flip-tree-navigation-item.entry.62f7ab3c.js → swirl-tree-navigation-item.entry.59540e7e.js} +4 -4
  152. package/dist/{flip-video-thumbnail.entry.edc7cce0.js → swirl-video-thumbnail.entry.4546c208.js} +3 -3
  153. package/dist/{flip-visually-hidden.entry.69776f72.js → swirl-visually-hidden.entry.bbc8b32d.js} +4 -4
  154. package/dist/utils-33d31b58.1488fcfe.js +46 -0
  155. package/dist/wc-datepicker.entry.d105e9ee.js +269 -0
  156. package/package.json +2 -2
  157. package/dist/file-manager.entry.8bb8e04c.js +0 -58
  158. package/dist/flip-action-list-item.entry.56f1f1ef.js +0 -18
  159. package/dist/flip-action-list-section.entry.a99c7d3e.js +0 -15
  160. package/dist/flip-autocomplete.entry.309d4ae7.js +0 -70
  161. package/dist/flip-avatar-group.entry.4192d45c.js +0 -29
  162. package/dist/flip-badge.entry.9de15857.js +0 -20
  163. package/dist/flip-banner.entry.703f5f14.js +0 -33
  164. package/dist/flip-button-group.entry.19eb382b.js +0 -20
  165. package/dist/flip-button.entry.a046c9ec.js +0 -41
  166. package/dist/flip-checkbox.entry.f73ba3b1.js +0 -30
  167. package/dist/flip-date-picker_2.entry.cbbcb306.js +0 -1186
  168. package/dist/flip-dialog.entry.97e79b3a.js +0 -45
  169. package/dist/flip-file-uploader.entry.2b504539.js +0 -32
  170. package/dist/flip-form-control.entry.1b840330.js +0 -65
  171. package/dist/flip-form-group.entry.8b6006f5.js +0 -18
  172. package/dist/flip-heading_2.entry.603511e8.js +0 -29
  173. package/dist/flip-icon-add-photo.entry.f336c2f0.js +0 -15
  174. package/dist/flip-icon-add_4.entry.99b75edc.js +0 -45
  175. package/dist/flip-icon-admin-panel-settings.entry.de10ebf5.js +0 -15
  176. package/dist/flip-icon-arrow-back.entry.b8865555.js +0 -15
  177. package/dist/flip-icon-arrow-forward.entry.b2ef6fc1.js +0 -15
  178. package/dist/flip-icon-arrow-left_3.entry.7a79a065.js +0 -35
  179. package/dist/flip-icon-arrow-right-small.entry.ae64706f.js +0 -15
  180. package/dist/flip-icon-attachment.entry.081189f0.js +0 -15
  181. package/dist/flip-icon-block.entry.6d9c5dfc.js +0 -15
  182. package/dist/flip-icon-cancel_4.entry.d2cb75c3.js +0 -45
  183. package/dist/flip-icon-chat-bubble.entry.67f98ff5.js +0 -15
  184. package/dist/flip-icon-chats-filled.entry.06584eb3.js +0 -15
  185. package/dist/flip-icon-chats-outlined.entry.dc6dbf4b.js +0 -15
  186. package/dist/flip-icon-check-circle.entry.29fe9a35.js +0 -15
  187. package/dist/flip-icon-check-small_3.entry.8070cb06.js +0 -143
  188. package/dist/flip-icon-check-strong.entry.fba6e55f.js +0 -15
  189. package/dist/flip-icon-check.entry.86260e1c.js +0 -15
  190. package/dist/flip-icon-chevron-left.entry.e4c7857a.js +0 -15
  191. package/dist/flip-icon-chevron-right.entry.1db14308.js +0 -15
  192. package/dist/flip-icon-close-small.entry.cbd4fc49.js +0 -15
  193. package/dist/flip-icon-close.entry.48763036.js +0 -15
  194. package/dist/flip-icon-cloud-upload.entry.98e40ba8.js +0 -15
  195. package/dist/flip-icon-comment.entry.6a6d8fbc.js +0 -15
  196. package/dist/flip-icon-copy.entry.53b11b1a.js +0 -15
  197. package/dist/flip-icon-date-range.entry.84d14dff.js +0 -15
  198. package/dist/flip-icon-delete.entry.a9b6ab40.js +0 -15
  199. package/dist/flip-icon-description.entry.6aefa229.js +0 -15
  200. package/dist/flip-icon-edit.entry.81a6837c.js +0 -15
  201. package/dist/flip-icon-emoji-mood.entry.b1766a9a.js +0 -15
  202. package/dist/flip-icon-emoji-satisfied.entry.89712163.js +0 -15
  203. package/dist/flip-icon-error_3.entry.d6a422a6.js +0 -39
  204. package/dist/flip-icon-expand-more.entry.63f210f6.js +0 -15
  205. package/dist/flip-icon-file.entry.625b53c4.js +0 -15
  206. package/dist/flip-icon-folder-shared.entry.2128dab9.js +0 -15
  207. package/dist/flip-icon-group-assign.entry.4860e5f5.js +0 -15
  208. package/dist/flip-icon-groups-custom.entry.ae87389c.js +0 -15
  209. package/dist/flip-icon-groups-filled.entry.251c942d.js +0 -15
  210. package/dist/flip-icon-groups-outlined.entry.43844b1d.js +0 -15
  211. package/dist/flip-icon-groups.entry.b4f9a7f7.js +0 -15
  212. package/dist/flip-icon-help.entry.1146bb20.js +0 -15
  213. package/dist/flip-icon-image.entry.0e41e08d.js +0 -15
  214. package/dist/flip-icon-info.entry.605cfdf6.js +0 -15
  215. package/dist/flip-icon-inventory.entry.166bc115.js +0 -15
  216. package/dist/flip-icon-like.entry.cae24842.js +0 -15
  217. package/dist/flip-icon-link.entry.22976afa.js +0 -15
  218. package/dist/flip-icon-lock.entry.566db977.js +0 -15
  219. package/dist/flip-icon-logout.entry.79ae2f2c.js +0 -15
  220. package/dist/flip-icon-mail.entry.3846875a.js +0 -15
  221. package/dist/flip-icon-manage-accounts.entry.b7dff46e.js +0 -15
  222. package/dist/flip-icon-mention.entry.8cae7e24.js +0 -15
  223. package/dist/flip-icon-menu-filled.entry.de447ac4.js +0 -15
  224. package/dist/flip-icon-menu-outlined.entry.3fb10f79.js +0 -15
  225. package/dist/flip-icon-menu.entry.cd1f33c3.js +0 -15
  226. package/dist/flip-icon-message.entry.b6422ee9.js +0 -15
  227. package/dist/flip-icon-more-horizontal.entry.57fdb45f.js +0 -15
  228. package/dist/flip-icon-more-vertikal.entry.60e8e3db.js +0 -15
  229. package/dist/flip-icon-news-filled.entry.9e2ae1ac.js +0 -15
  230. package/dist/flip-icon-news-outlined.entry.27fe1a80.js +0 -15
  231. package/dist/flip-icon-notifications-active.entry.ad17e8e4.js +0 -15
  232. package/dist/flip-icon-notifications-off.entry.669ff414.js +0 -15
  233. package/dist/flip-icon-notifications.entry.c533a876.js +0 -15
  234. package/dist/flip-icon-open-in-new.entry.f020da7b.js +0 -15
  235. package/dist/flip-icon-people-alt.entry.23a07d8d.js +0 -15
  236. package/dist/flip-icon-person-off.entry.b9487422.js +0 -15
  237. package/dist/flip-icon-person.entry.2b1ece6a.js +0 -15
  238. package/dist/flip-icon-phone.entry.d878e225.js +0 -15
  239. package/dist/flip-icon-poll.entry.9f9d3097.js +0 -15
  240. package/dist/flip-icon-print.entry.3c6ba219.js +0 -15
  241. package/dist/flip-icon-recieved.entry.0e863e26.js +0 -15
  242. package/dist/flip-icon-search-strong.entry.9e14089f.js +0 -15
  243. package/dist/flip-icon-search.entry.8e785c5b.js +0 -15
  244. package/dist/flip-icon-send.entry.2b9ec517.js +0 -15
  245. package/dist/flip-icon-settings.entry.1c1c82ba.js +0 -15
  246. package/dist/flip-icon-tasks-filled.entry.6b345bdf.js +0 -15
  247. package/dist/flip-icon-tasks-outlined.entry.75282f32.js +0 -15
  248. package/dist/flip-icon-time-filled.entry.4b2e3be8.js +0 -15
  249. package/dist/flip-icon-time-outlined.entry.1ce39655.js +0 -15
  250. package/dist/flip-icon-user-assign.entry.8fd4da9a.js +0 -15
  251. package/dist/flip-icon-video-camera.entry.7f1b8790.js +0 -15
  252. package/dist/flip-icon-warning.entry.a73148c4.js +0 -15
  253. package/dist/flip-link.entry.5daf5ffe.js +0 -15
  254. package/dist/flip-list.entry.25e0a5e8.js +0 -18
  255. package/dist/flip-modal.entry.f14cc170.js +0 -63
  256. package/dist/flip-option-list-section.entry.d1b4d66a.js +0 -15
  257. package/dist/flip-pagination.entry.e6de7b67.js +0 -27
  258. package/dist/flip-radio-group.entry.081a6b27.js +0 -35
  259. package/dist/flip-radio.entry.fd8faaa3.js +0 -29
  260. package/dist/flip-resource-list-file-item.entry.d15b84be.js +0 -20
  261. package/dist/flip-search.entry.638f3769.js +0 -31
  262. package/dist/flip-select.entry.5c709269.js +0 -48
  263. package/dist/flip-switch.entry.f812357e.js +0 -56
  264. package/dist/flip-tab.entry.83bf882c.js +0 -18
  265. package/dist/flip-tag.entry.8b80d408.js +0 -21
  266. package/dist/flip-text-input.entry.d1b0bb71.js +0 -60
  267. package/dist/flip-thumbnail.entry.4148adbc.js +0 -18
  268. package/dist/flip-toast.entry.7c89a88e.js +0 -39
  269. package/dist/index.6f8c9509.js +0 -1382
  270. package/dist/utils-39b2afe8.37b54ba4.js +0 -40
@@ -0,0 +1,75 @@
1
+ import { r as h, c as n, h as i, H as d } from "./index.149af511.js";
2
+ import { c } from "./index-47862d62.75c2fcf1.js";
3
+ import { g as x } from "./utils-33d31b58.1488fcfe.js";
4
+ import "react";
5
+ import "react-dom";
6
+ import "./_commonjsHelpers-10467d11.b7d83301.js";
7
+ const w = '.sc-swirl-text-input-h{display:block;width:100%}.sc-swirl-text-input-h *.sc-swirl-text-input{box-sizing:border-box}.text-input.sc-swirl-text-input{position:relative;display:flex;width:100%;align-items:center;color:var(--s-text-default);font:inherit;line-height:var(--s-line-height-sm)}.text-input--clearable.sc-swirl-text-input,.text-input--type-number.sc-swirl-text-input,.text-input--type-password.sc-swirl-text-input{padding-right:calc(1.5rem + var(--s-space-8))}.text-input--show-password.sc-swirl-text-input .text-input__input.sc-swirl-text-input{width:100%}.text-input--disabled.sc-swirl-text-input .text-input__character-counter.sc-swirl-text-input{color:var(--s-text-disabled)}.text-input--inline.sc-swirl-text-input .text-input__stepper.sc-swirl-text-input{display:none}.text-input--inline.sc-swirl-text-input .text-input__clear-button.sc-swirl-text-input,.text-input--inline.sc-swirl-text-input .text-input__password-toggle.sc-swirl-text-input{top:-0.0625rem}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text-input--inline.sc-swirl-text-input .text-input__clear-button.sc-swirl-text-input,.text-input--inline.sc-swirl-text-input .text-input__password-toggle.sc-swirl-text-input{top:0}}.text-input--inline.sc-swirl-text-input .text-input__character-counter.sc-swirl-text-input{top:0}.text-input__input.sc-swirl-text-input{display:inline-flex;width:100%;max-height:13.75rem;margin:0;padding:0;border:none;color:var(--s-text-default);background-color:transparent;font:inherit;font-size:var(--s-font-size-base);line-height:var(--s-line-height-base);resize:none;caret-color:var(--s-border-highlight)}.text-input__input.sc-swirl-text-input:focus{outline:none}.text-input__input.sc-swirl-text-input:disabled{color:var(--s-text-disabled);background-color:transparent}.text-input__input.sc-swirl-text-input::-webkit-outer-spin-button,.text-input__input.sc-swirl-text-input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.text-input__input[type="number"].sc-swirl-text-input{-moz-appearance:textfield}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text-input__input.sc-swirl-text-input{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}input.text-input__input.sc-swirl-text-input:not([type="password"]){width:0.25rem;min-width:0.25rem}.text-input--disable-dynamic-width.sc-swirl-text-input input.text-input__input.sc-swirl-text-input:not([type="password"]){width:100%;min-width:0}.text-input__clear-button.sc-swirl-text-input,.text-input__password-toggle.sc-swirl-text-input{position:absolute;top:calc(-1 * var(--s-space-12));right:0;display:inline-flex;margin:0;padding:0;border:none;color:var(--s-icon-default);background-color:transparent;cursor:pointer}.text-input__clear-button.sc-swirl-text-input:focus:not(:focus-visible),.text-input__password-toggle.sc-swirl-text-input:focus:not(:focus-visible){outline:none}.text-input__clear-button.sc-swirl-text-input:focus-visible,.text-input__password-toggle.sc-swirl-text-input:focus-visible{outline-color:var(--s-focus-default)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text-input__clear-button.sc-swirl-text-input,.text-input__password-toggle.sc-swirl-text-input{top:-0.625rem}}.text-input__stepper.sc-swirl-text-input{position:absolute;top:-1.4375rem;right:0;display:flex;flex-direction:column}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text-input__stepper.sc-swirl-text-input{top:-1.25rem}}.text-input__step-button.sc-swirl-text-input{display:inline-flex;margin:0;padding:0;border:none;color:var(--s-icon-default);background-color:transparent;cursor:pointer}.text-input__step-button.sc-swirl-text-input:focus:not(:focus-visible){outline:none}.text-input__step-button.sc-swirl-text-input:focus-visible{outline-color:var(--s-focus-default)}.text-input__character-counter.sc-swirl-text-input{position:absolute;top:-1.375rem;right:0;display:flex;color:var(--s-text-subdued);line-height:var(--s-line-height-sm);flex-direction:column}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text-input__character-counter.sc-swirl-text-input{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text-input__prefix.sc-swirl-text-input{padding-right:var(--s-space-4);color:var(--s-text-subdued);font-size:var(--s-font-size-base)}.text-input__suffix.sc-swirl-text-input{padding-left:var(--s-space-4);color:var(--s-text-subdued);font-size:var(--s-font-size-base)}', m = class {
8
+ constructor(e) {
9
+ h(this, e), this.inputBlur = n(this, "inputBlur", 7), this.inputFocus = n(this, "inputFocus", 7), this.valueChange = n(this, "valueChange", 7), this.autoComplete = "on", this.clearButtonLabel = "Clear input", this.rows = 1, this.passwordToggleLabel = "Toggle password display", this.type = "text", this.iconSize = 24, this.showPassword = !1, this.desktopMediaQuery = x(), this.desktopMediaQueryHandler = (t) => {
10
+ this.updateIconSize(t.matches);
11
+ }, this.clear = () => {
12
+ this.inputEl.value = "", this.value = "", this.valueChange.emit(""), this.inputEl.focus();
13
+ }, this.onChange = (t) => {
14
+ const s = t.target;
15
+ this.value = s.value, this.valueChange.emit(s.value);
16
+ }, this.onBlur = (t) => {
17
+ this.inputBlur.emit(t);
18
+ }, this.onFocus = (t) => {
19
+ this.inputFocus.emit(t), this.handleAutoSelect(t);
20
+ }, this.onInput = (t) => {
21
+ this.onChange(t);
22
+ }, this.onKeyPress = (t) => {
23
+ this.type === "number" && ["+", "-", "e"].includes(t.key) && t.preventDefault();
24
+ }, this.decreaseValue = () => {
25
+ if (this.type !== "number")
26
+ return;
27
+ const t = this.step || 1;
28
+ let s = this.inputEl.valueAsNumber;
29
+ isNaN(this.inputEl.valueAsNumber) && (s = this.min !== void 0 ? this.min + 1 : 1), this.value = String(Math.max(this.min || -1 / 0, s - t)), this.valueChange.emit(this.value);
30
+ }, this.increaseValue = () => {
31
+ if (this.type !== "number")
32
+ return;
33
+ const t = this.step || 1;
34
+ let s = this.inputEl.valueAsNumber;
35
+ isNaN(this.inputEl.valueAsNumber) && (s = this.min !== void 0 ? this.min - 1 : -1), this.value = String(Math.min(this.max || 1 / 0, s + t)), this.valueChange.emit(this.value);
36
+ }, this.togglePassword = () => {
37
+ this.type === "password" && (this.showPassword = !this.showPassword);
38
+ };
39
+ }
40
+ componentDidLoad() {
41
+ var e, t;
42
+ this.updateIconSize(this.desktopMediaQuery.matches), (t = (e = this.desktopMediaQuery).addEventListener) === null || t === void 0 || t.call(e, "change", this.desktopMediaQueryHandler);
43
+ }
44
+ componentDidRender() {
45
+ this.adjustInputSize();
46
+ }
47
+ disconnectedCallback() {
48
+ var e, t;
49
+ (t = (e = this.desktopMediaQuery).removeEventListener) === null || t === void 0 || t.call(e, "change", this.desktopMediaQueryHandler);
50
+ }
51
+ updateIconSize(e) {
52
+ this.iconSize = e ? 20 : 24;
53
+ }
54
+ adjustInputSize() {
55
+ this.rows > 1 && (this.inputEl.style.width = "", this.inputEl.style.height = "", this.inputEl.style.height = this.inputEl.scrollHeight / 16 + "rem"), this.rows === 1 && (this.inputEl.style.height = "", this.inputEl.style.width = "", this.type !== "password" && !this.disableDynamicWidth && (this.inputEl.style.width = this.inputEl.scrollWidth / 16 + "rem"));
56
+ }
57
+ handleAutoSelect(e) {
58
+ !this.autoSelect || e.target.select();
59
+ }
60
+ render() {
61
+ var e;
62
+ const t = this.rows === 1 ? "input" : "textarea", s = this.invalid === !0 || this.invalid === !1 ? String(this.invalid) : void 0, r = this.type === "number" && !this.disabled, a = this.type === "password" && !this.disabled, u = this.clearable && !this.disabled && Boolean(this.value) && !a && !r && !this.showCharacterCounter, l = this.type === "password" && this.showPassword ? "text" : this.type, o = c("text-input", `text-input--type-${this.type}`, {
63
+ "text-input--clearable": this.clearable,
64
+ "text-input--disabled": this.disabled,
65
+ "text-input--disable-dynamic-width": this.disableDynamicWidth,
66
+ "text-input--inline": this.inline,
67
+ "text-input--show-password": this.type === "password" && this.showPassword
68
+ });
69
+ 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}` : "")));
70
+ }
71
+ };
72
+ m.style = w;
73
+ export {
74
+ m as swirl_text_input
75
+ };
@@ -0,0 +1,31 @@
1
+ import { r, h as e, H as l, g as n } from "./index.149af511.js";
2
+ import { c as o } from "./index-47862d62.75c2fcf1.js";
3
+ import { b as a } from "./balancetext-31f1ec68.bd1c1b2d.js";
4
+ import "react";
5
+ import "react-dom";
6
+ import "./_commonjsHelpers-10467d11.b7d83301.js";
7
+ const x = ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}", c = class {
8
+ constructor(t) {
9
+ r(this, t), this.align = "start", this.as = "p", this.color = "default", this.fontStyle = "normal", this.size = "base", this.weight = "normal";
10
+ }
11
+ componentDidRender() {
12
+ this.rebalance();
13
+ }
14
+ onWindowResize() {
15
+ this.rebalance();
16
+ }
17
+ rebalance() {
18
+ !this.balance || !Boolean(this.textEl) || a(this.textEl);
19
+ }
20
+ render() {
21
+ const t = this.as, s = o("text", `text--align-${this.align}`, `text--color-${this.color}`, `text--font-style-${this.fontStyle}`, `text--size-${this.size}`, `text--weight-${this.weight}`, { "text--truncate": this.truncate });
22
+ return e(l, null, e(t, { class: s, ref: (i) => this.textEl = i }, e("slot", null)));
23
+ }
24
+ get el() {
25
+ return n(this);
26
+ }
27
+ };
28
+ c.style = x;
29
+ export {
30
+ c as swirl_text
31
+ };
@@ -1,4 +1,4 @@
1
- import { r as j, c as E, h as w, H } from "./index.6f8c9509.js";
1
+ import { r as j, c as E, h as w, H } from "./index.149af511.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  function d(e, t, o) {
@@ -9,10 +9,10 @@ class P extends Error {
9
9
  super(`Failed to parse color: "${t}"`);
10
10
  }
11
11
  }
12
- var _ = P;
12
+ var f = P;
13
13
  function C(e) {
14
14
  if (typeof e != "string")
15
- throw new _(e);
15
+ throw new f(e);
16
16
  if (e.trim().toLowerCase() === "transparent")
17
17
  return [0, 0, 0, 0];
18
18
  let t = e.trim();
@@ -36,12 +36,12 @@ function C(e) {
36
36
  if (s) {
37
37
  const [a, i, h, c] = Array.from(s).slice(1).map(parseFloat);
38
38
  if (d(0, 100, i) !== i)
39
- throw new _(e);
39
+ throw new f(e);
40
40
  if (d(0, 100, h) !== h)
41
- throw new _(e);
41
+ throw new f(e);
42
42
  return [...L(a, i, h), c || 1];
43
43
  }
44
- throw new _(e);
44
+ throw new f(e);
45
45
  }
46
46
  function $(e) {
47
47
  let t = 5381, o = e.length;
@@ -59,7 +59,7 @@ const b = (e) => parseInt(e.replace(/_/g, ""), 36), q = "1q29ehhb 1n09sgk7 1kl1e
59
59
  function M(e) {
60
60
  const t = e.toLowerCase().trim(), o = q[$(t)];
61
61
  if (!o)
62
- throw new _(e);
62
+ throw new f(e);
63
63
  return `#${o}`;
64
64
  }
65
65
  const u = (e, t) => Array.from(Array(t)).map(() => e).join(""), A = new RegExp(`^#${u("([a-f0-9])", 3)}([a-f0-9])?$`, "i"), F = new RegExp(`^#${u("([a-f0-9]{2})", 3)}([a-f0-9]{2})?$`, "i"), R = new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${u(",\\s*(\\d+)\\s*", 2)}(?:,\\s*([\\d.]+))?\\s*\\)$`, "i"), I = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i, O = /^[a-z]+$/i, z = (e) => Math.round(e * 255), L = (e, t, o) => {
@@ -69,11 +69,11 @@ const u = (e, t) => Array.from(Array(t)).map(() => e).join(""), A = new RegExp(`
69
69
  const r = (e % 360 + 360) % 360 / 60, s = (1 - Math.abs(2 * n - 1)) * (t / 100), a = s * (1 - Math.abs(r % 2 - 1));
70
70
  let i = 0, h = 0, c = 0;
71
71
  r >= 0 && r < 1 ? (i = s, h = a) : r >= 1 && r < 2 ? (i = a, h = s) : r >= 2 && r < 3 ? (h = s, c = a) : r >= 3 && r < 4 ? (h = a, c = s) : r >= 4 && r < 5 ? (i = a, c = s) : r >= 5 && r < 6 && (i = s, c = a);
72
- const l = n - s / 2, m = i + l, f = h + l, v = c + l;
73
- return [m, f, v].map(z);
72
+ const l = n - s / 2, m = i + l, p = h + l, v = c + l;
73
+ return [m, p, v].map(z);
74
74
  };
75
75
  function y(e) {
76
- const [t, o, n, r] = C(e).map((m, f) => f === 3 ? m : m / 255), s = Math.max(t, o, n), a = Math.min(t, o, n), i = (s + a) / 2;
76
+ const [t, o, n, r] = C(e).map((m, p) => p === 3 ? m : m / 255), s = Math.max(t, o, n), a = Math.min(t, o, n), i = (s + a) / 2;
77
77
  if (s === a)
78
78
  return [0, 0, i, r];
79
79
  const h = s - a, c = i > 0.5 ? h / (2 - s - a) : h / (s + a);
@@ -82,13 +82,13 @@ function y(e) {
82
82
  function g(e, t, o, n) {
83
83
  return `hsla(${(e % 360).toFixed()}, ${d(0, 100, t * 100).toFixed()}%, ${d(0, 100, o * 100).toFixed()}%, ${parseFloat(d(0, 1, n).toFixed(3))})`;
84
84
  }
85
- function B(e, t, o, n) {
85
+ function S(e, t, o, n) {
86
86
  return `rgba(${d(0, 255, e).toFixed()}, ${d(0, 255, t).toFixed()}, ${d(0, 255, o).toFixed()}, ${parseFloat(d(0, 1, n).toFixed(3))})`;
87
87
  }
88
- function p(e) {
89
- return B(...C(e));
88
+ function _(e) {
89
+ return S(...C(e));
90
90
  }
91
- const S = ".sc-flip-theme-provider-h{display:block}", x = "flip-preferred-theme", T = {
91
+ const B = ".sc-swirl-theme-provider-h{display:block}", x = "swirl-preferred-theme", T = {
92
92
  "--s-action-primary-default": "primary",
93
93
  "--s-action-primary-hovered": "primaryHovered",
94
94
  "--s-action-primary-pressed": "primaryPressed",
@@ -156,8 +156,8 @@ const S = ".sc-flip-theme-provider-h{display:block}", x = "flip-preferred-theme"
156
156
  this.resetTenantVariables();
157
157
  return;
158
158
  }
159
- const o = this.resolvedConfig.rootElement, n = y(t.primary), r = y(t.secondary), s = y(t.text), a = p(g(n[0], n[1] - 0.21, n[2] + 0.09, 1)), i = p(g(n[0], n[1] - 0.2, n[2] + 0.17, 1)), h = p(g(r[0], r[1], r[2] + 0.07, 1)), c = p(g(r[0], r[1], r[2] + 0.15, 1)), l = p(g(s[0], s[1] - 0.34, s[2] + 0.1, 1)), m = p(g(s[0], s[1] - 0.48, s[2] + 0.2, 1)), f = Object.assign(Object.assign({}, t), { primaryHovered: a, primaryPressed: i, secondaryHovered: h, secondaryPressed: c, textHovered: l, textPressed: m });
160
- Object.entries(T).forEach(([v, k]) => o.style.setProperty(v, f[k]));
159
+ const o = this.resolvedConfig.rootElement, n = y(t.primary), r = y(t.secondary), s = y(t.text), a = _(g(n[0], n[1] - 0.21, n[2] + 0.09, 1)), i = _(g(n[0], n[1] - 0.2, n[2] + 0.17, 1)), h = _(g(r[0], r[1], r[2] + 0.07, 1)), c = _(g(r[0], r[1], r[2] + 0.15, 1)), l = _(g(s[0], s[1] - 0.34, s[2] + 0.1, 1)), m = _(g(s[0], s[1] - 0.48, s[2] + 0.2, 1)), p = Object.assign(Object.assign({}, t), { primaryHovered: a, primaryPressed: i, secondaryHovered: h, secondaryPressed: c, textHovered: l, textPressed: m });
160
+ Object.entries(T).forEach(([v, k]) => o.style.setProperty(v, p[k]));
161
161
  }
162
162
  resetTenantVariables() {
163
163
  const e = this.resolvedConfig.rootElement;
@@ -180,7 +180,7 @@ const S = ".sc-flip-theme-provider-h{display:block}", x = "flip-preferred-theme"
180
180
  };
181
181
  }
182
182
  };
183
- D.style = S;
183
+ D.style = B;
184
184
  export {
185
- D as flip_theme_provider
185
+ D as swirl_theme_provider
186
186
  };
@@ -0,0 +1,18 @@
1
+ import { r as t, h as a, H as s } from "./index.149af511.js";
2
+ import { c as r } from "./index-47862d62.75c2fcf1.js";
3
+ import "react";
4
+ import "react-dom";
5
+ import "./_commonjsHelpers-10467d11.b7d83301.js";
6
+ const l = ":host{display:inline-flex}:host *{box-sizing:border-box}.thumbnail{position:relative;display:inline-flex;overflow:hidden;border-radius:var(--s-border-radius-s);box-shadow:inset 0 0 0 0.03125rem rgba(0, 0, 0, 0.1)}.thumbnail--size-s{--swirl-thumbnail-size:2.5rem}.thumbnail--size-m{--swirl-thumbnail-size:3rem}.thumbnail--size-l{--swirl-thumbnail-size:4rem}.thumbnail--format-landscape{width:var(--swirl-thumbnail-size);aspect-ratio:4 / 3}.thumbnail--format-landscape .thumbnail__image{width:100%}.thumbnail--format-portrait{height:var(--swirl-thumbnail-size);aspect-ratio:3 / 4}.thumbnail--format-portrait .thumbnail__image{height:100%}.thumbnail--format-square{width:var(--swirl-thumbnail-size);height:var(--swirl-thumbnail-size)}.thumbnail--format-square .thumbnail__image{width:100%}.thumbnail__image{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}", m = class {
7
+ constructor(i) {
8
+ t(this, i), this.format = "landscape", this.size = "m";
9
+ }
10
+ render() {
11
+ const i = r("thumbnail", `thumbnail--format-${this.format}`, `thumbnail--size-${this.size}`);
12
+ return a(s, null, a("span", { class: i }, a("img", { alt: this.alt, class: "thumbnail__image", loading: "lazy", src: this.src })));
13
+ }
14
+ };
15
+ m.style = l;
16
+ export {
17
+ m as swirl_thumbnail
18
+ };
@@ -1,4 +1,4 @@
1
- import { r, h as a, H as e } from "./index.6f8c9509.js";
1
+ import { r, h as a, H as e } from "./index.149af511.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const l = class {
@@ -22,9 +22,9 @@ const l = class {
22
22
  return this.toasts = [...this.toasts, i], i;
23
23
  }
24
24
  render() {
25
- return a(e, { role: "status" }, a("flip-stack", { spacing: "12" }, this.toasts.map((t) => a("flip-toast", Object.assign({ key: t.toastId, onDismiss: this.onDismiss }, t)))));
25
+ return a(e, { role: "status" }, a("swirl-stack", { spacing: "12" }, this.toasts.map((t) => a("swirl-toast", Object.assign({ key: t.toastId, onDismiss: this.onDismiss }, t)))));
26
26
  }
27
27
  };
28
28
  export {
29
- l as flip_toast_provider
29
+ l as swirl_toast_provider
30
30
  };
@@ -0,0 +1,52 @@
1
+ import { r as a, c as n, h as i, H as r } from "./index.149af511.js";
2
+ import { c } from "./index-47862d62.75c2fcf1.js";
3
+ import { g as d } from "./utils-33d31b58.1488fcfe.js";
4
+ import "react";
5
+ import "react-dom";
6
+ import "./_commonjsHelpers-10467d11.b7d83301.js";
7
+ const l = ":host{display:flex}:host *{box-sizing:border-box}.toast{display:flex;width:100%;max-width:28rem;padding:var(--s-space-16);border-radius:var(--s-border-radius-sm);color:var(--s-text-on-status);background-color:var(--s-surface-neutral-default);box-shadow:var(--s-shadow-level-2)}.toast--intent-critical{background-color:var(--s-surface-critical-default)}.toast--intent-success{background-color:var(--s-surface-success-default)}.toast__icon{display:inline-flex;margin-top:calc(-1 * var(--s-space-2));margin-right:0.625rem;flex-shrink:0}.toast__icon ::part(icon){color:var(--s-icon-on-status)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.toast__icon{margin-top:0}}.toast__content{flex-grow:1;line-height:var(--s-line-height-base);text-align:left;align-self:flex-start}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.toast__content{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.toast__dismiss-button{display:inline-flex;min-width:1.5rem;height:1.5rem;margin-top:calc(-1 * var(--s-space-2));margin-left:var(--s-space-16);padding:0;flex-shrink:0;justify-content:center;align-items:center;border:none;color:var(--s-text-on-status);background-color:transparent;font:inherit;font-weight:var(--s-font-weight-semibold);cursor:pointer}.toast__dismiss-button ::part(icon){color:var(--s-icon-on-status)}", h = class {
8
+ constructor(s) {
9
+ a(this, s), this.dismiss = n(this, "dismiss", 7), this.accessibleDismissLabel = "Dismiss", this.intent = "default", this.desktopMediaQuery = d(), this.desktopMediaQueryHandler = (t) => {
10
+ this.forceIconProps(t.matches);
11
+ }, this.onDismiss = () => {
12
+ this.dismiss.emit(this.toastId);
13
+ };
14
+ }
15
+ watchDuration() {
16
+ this.startTimer();
17
+ }
18
+ componentDidLoad() {
19
+ var s, t;
20
+ this.startTimer(), this.forceIconProps(this.desktopMediaQuery.matches), (t = (s = this.desktopMediaQuery).addEventListener) === null || t === void 0 || t.call(s, "change", this.desktopMediaQueryHandler);
21
+ }
22
+ disconnectedCallback() {
23
+ var s, t;
24
+ (t = (s = this.desktopMediaQuery).removeEventListener) === null || t === void 0 || t.call(s, "change", this.desktopMediaQueryHandler);
25
+ }
26
+ forceIconProps(s) {
27
+ var t;
28
+ const e = (t = this.iconEl) === null || t === void 0 ? void 0 : t.children[0], o = this.dismissIconEl;
29
+ e == null || e.setAttribute("size", s ? "20" : "24"), o == null || o.setAttribute("size", s ? "20" : "24");
30
+ }
31
+ startTimer() {
32
+ this.clearTimer(), this.duration !== void 0 && (this.timeout = setTimeout(() => {
33
+ this.dismiss.emit(this.toastId);
34
+ }, this.duration));
35
+ }
36
+ clearTimer() {
37
+ !Boolean(this.timeout) || (clearTimeout(this.timeout), this.timeout = void 0);
38
+ }
39
+ render() {
40
+ const s = c("toast", `toast--intent-${this.intent}`);
41
+ return i(r, null, i("div", { class: s }, this.icon && i("span", { class: "toast__icon", innerHTML: this.icon, part: "toast__icon", ref: (t) => this.iconEl = t }), i("span", { class: "toast__content", part: "toast__content" }, this.content), i("button", { "aria-label": this.dismissLabel || this.accessibleDismissLabel, class: "toast__dismiss-button", onClick: this.onDismiss, type: "button" }, this.dismissLabel, !Boolean(this.dismissLabel) && i("swirl-icon-close", { ref: (t) => this.dismissIconEl = t }))));
42
+ }
43
+ static get watchers() {
44
+ return {
45
+ duration: ["watchDuration"]
46
+ };
47
+ }
48
+ };
49
+ h.style = l;
50
+ export {
51
+ h as swirl_toast
52
+ };
@@ -1,8 +1,8 @@
1
- import { r as n, h as o, H as l } from "./index.6f8c9509.js";
2
- import { c as r, o as p, s as h, f as d } from "./floating-ui.dom.esm-1a4e8b8a.87557233.js";
1
+ import { r as n, h as i, H as l } from "./index.149af511.js";
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";
5
- const c = ":host{display:inline-flex}:host *{box-sizing:border-box}.tooltip{display:inline-flex}.tooltip .tooltip__reference{display:inline-flex}.tooltip__popper{position:fixed;z-index:var(--s-z-40);max-width:17.5rem}.tooltip__bubble{position:relative;display:block;padding-top:var(--s-space-8);padding-right:var(--s-space-12);padding-bottom:var(--s-space-8);padding-left:var(--s-space-12);border-radius:var(--s-border-radius-sm);color:var(--s-text-on-status);background-color:var(--s-surface-neutral-default);line-height:var(--s-line-height-base);-webkit-animation:tooltip-fade-in 0.1s;animation:tooltip-fade-in 0.1s}.tooltip__arrow{position:absolute;width:0.5rem;height:0.5rem;background-color:var(--s-surface-neutral-default)}@-webkit-keyframes tooltip-fade-in{from{opacity:0}to{opacity:1}}@keyframes tooltip-fade-in{from{opacity:0}to{opacity:1}}", u = class {
5
+ const c = ":host{display:inline-flex}:host *{box-sizing:border-box}.tooltip{display:inline-flex}.tooltip .tooltip__reference{display:inline-flex}.tooltip__popper{position:fixed;z-index:var(--s-z-40);max-width:17.5rem}.tooltip__bubble{position:relative;display:block;padding-top:var(--s-space-8);padding-right:var(--s-space-12);padding-bottom:var(--s-space-8);padding-left:var(--s-space-12);border-radius:var(--s-border-radius-sm);color:var(--s-text-on-status);background-color:var(--s-surface-neutral-default);line-height:var(--s-line-height-base);-webkit-animation:tooltip-fade-in 0.1s;animation:tooltip-fade-in 0.1s}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.tooltip__bubble{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.tooltip__arrow{position:absolute;width:0.5rem;height:0.5rem;background-color:var(--s-surface-neutral-default)}@-webkit-keyframes tooltip-fade-in{from{opacity:0}to{opacity:1}}@keyframes tooltip-fade-in{from{opacity:0}to{opacity:1}}", u = class {
6
6
  constructor(e) {
7
7
  n(this, e), this.delay = 300, this.position = "top", this.visible = !1, this.onKeydown = (t) => {
8
8
  t.code === "Escape" && this.hide();
@@ -26,7 +26,7 @@ const c = ":host{display:inline-flex}:host *{box-sizing:border-box}.tooltip{disp
26
26
  strategy: "fixed"
27
27
  };
28
28
  }, this.getArrowStyles = () => {
29
- var t, s, i, a;
29
+ var t, s, o, a;
30
30
  if (((t = this.actualPosition) === null || t === void 0 ? void 0 : t.placement) === "top")
31
31
  return {
32
32
  top: "100%",
@@ -39,7 +39,7 @@ const c = ":host{display:inline-flex}:host *{box-sizing:border-box}.tooltip{disp
39
39
  left: "50%",
40
40
  transform: "translate3d(-50%, 50%, 0) rotate(45deg)"
41
41
  };
42
- if (((i = this.actualPosition) === null || i === void 0 ? void 0 : i.placement) === "right")
42
+ if (((o = this.actualPosition) === null || o === void 0 ? void 0 : o.placement) === "right")
43
43
  return {
44
44
  top: "50%",
45
45
  right: "100%",
@@ -77,10 +77,10 @@ const c = ":host{display:inline-flex}:host *{box-sizing:border-box}.tooltip{disp
77
77
  render() {
78
78
  var e, t;
79
79
  const s = this.getArrowStyles();
80
- return o(l, { onKeydown: this.onKeydown }, o("span", { class: "tooltip" }, o("span", { class: "tooltip__reference", "aria-describedby": "tooltip", onBlur: this.hide, onClick: this.hide, onFocus: this.show, ref: (i) => this.referenceEl = i, tabIndex: 0 }, o("slot", null)), o("span", { class: "tooltip__popper", ref: (i) => this.popperEl = i, style: {
80
+ return i(l, { onKeydown: this.onKeydown }, i("span", { class: "tooltip" }, i("span", { class: "tooltip__reference", "aria-describedby": "tooltip", onBlur: this.hide, onClick: this.hide, onFocus: this.show, ref: (o) => this.referenceEl = o, tabIndex: 0 }, i("slot", null)), i("span", { class: "tooltip__popper", ref: (o) => this.popperEl = o, style: {
81
81
  top: Boolean(this.actualPosition) ? `${(e = this.actualPosition) === null || e === void 0 ? void 0 : e.y}px` : "",
82
82
  left: Boolean(this.actualPosition) ? `${(t = this.actualPosition) === null || t === void 0 ? void 0 : t.x}px` : ""
83
- } }, this.visible && o("span", { class: "tooltip__bubble", id: "tooltip", role: "tooltip" }, o("span", { class: "tooltip__content", innerHTML: this.content }), o("span", { class: "tooltip__arrow", style: s })))));
83
+ } }, this.visible && i("span", { class: "tooltip__bubble", id: "tooltip", part: "tooltip__bubble", role: "tooltip" }, i("span", { class: "tooltip__content", innerHTML: this.content }), i("span", { class: "tooltip__arrow", style: s })))));
84
84
  }
85
85
  static get watchers() {
86
86
  return {
@@ -90,5 +90,5 @@ const c = ":host{display:inline-flex}:host *{box-sizing:border-box}.tooltip{disp
90
90
  };
91
91
  u.style = c;
92
92
  export {
93
- u as flip_tooltip
93
+ u as swirl_tooltip
94
94
  };
@@ -1,8 +1,8 @@
1
- import { r as i, h as a, H as s, g as r } from "./index.6f8c9509.js";
2
- import { c as o } from "./index-6d2e18c6.289636d4.js";
1
+ import { r as i, h as a, H as s, g as r } from "./index.149af511.js";
2
+ import { c as o } from "./index-47862d62.75c2fcf1.js";
3
3
  import "react";
4
4
  import "react-dom";
5
- import "./_commonjsHelpers-44457d8d.ba94af77.js";
5
+ import "./_commonjsHelpers-10467d11.b7d83301.js";
6
6
  const n = ":host{display:inline-flex;width:100%;height:2.5rem;padding-right:var(--s-space-16);padding-left:calc(var(--s-space-16) + 1.5rem + var(--s-space-8));flex-shrink:0;justify-content:flex-start;align-items:center;color:var(--s-text-default);background-color:var(--s-surface-default);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);cursor:pointer;gap:calc(var(--s-space-8) - var(--s-space-2))}:host(:hover){background-color:var(--s-surface-hovered)}:host(:active){background-color:var(--s-surface-pressed)}:host(:focus){outline:none}:host(:focus-visible) .tree-navigation-item__label{border-radius:var(--s-border-radius-xs);box-shadow:0 0 0 0.125rem var(--s-focus-default)}:host(.tree-navigation-item--active){background-color:var(--s-surface-raised-default);box-shadow:inset 0.25rem 0 0 0 var(--s-surface-highlight-default)}:host(.tree-navigation-item--active:hover){background-color:var(--s-surface-raised-hovered)}:host(.tree-navigation-item--active:active){background-color:var(--s-surface-raised-pressed)}:host(.tree-navigation-item--has-icon){padding-left:var(--s-space-16)}:host *{box-sizing:border-box}.tree-navigation-item__icon{display:inline-flex}.tree-navigation-item__label{overflow:hidden;min-width:0;white-space:nowrap;text-overflow:ellipsis;padding-right:var(--s-space-2);padding-left:var(--s-space-2)}", c = class {
7
7
  constructor(e) {
8
8
  i(this, e), this.onKeyDown = (t) => {
@@ -22,5 +22,5 @@ const n = ":host{display:inline-flex;width:100%;height:2.5rem;padding-right:var(
22
22
  };
23
23
  c.style = n;
24
24
  export {
25
- c as flip_tree_navigation_item
25
+ c as swirl_tree_navigation_item
26
26
  };
@@ -1,4 +1,4 @@
1
- import { r as t, h as n, H as e } from "./index.6f8c9509.js";
1
+ import { r as t, h as n, H as e } from "./index.149af511.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const a = `:host {
@@ -79,10 +79,10 @@ const a = `:host {
79
79
  t(this, i), this.durationLabel = "Duration";
80
80
  }
81
81
  render() {
82
- return n(e, null, n("button", { "aria-describedby": this.duration !== void 0 ? "duration" : void 0, "aria-label": this.label, class: "video-thumbnail", type: "button" }, n("img", { alt: "", class: "video-thumbnail__image", loading: "lazy", src: this.src }), this.duration && n("span", { class: "video-thumbnail__duration", id: "duration" }, n("flip-visually-hidden", null, this.durationLabel), this.duration), n("svg", { class: "video-thumbnail__play-icon", fill: "none", viewBox: "0 0 40 40", xmlns: "http://www.w3.org/2000/svg" }, n("path", { d: "M15 14.65V25.35C15 26.1167 15.35 26.7 16.05 27.1C16.75 27.5 17.4333 27.4667 18.1 27L26.4 21.7C27.0333 21.3 27.35 20.7333 27.35 20C27.35 19.2667 27.0333 18.7 26.4 18.3L18.1 13C17.4333 12.5333 16.75 12.5 16.05 12.9C15.35 13.3 15 13.8833 15 14.65ZM20 40C17.2333 40 14.6333 39.4747 12.2 38.424C9.76667 37.3747 7.65 35.95 5.85 34.15C4.05 32.35 2.62533 30.2333 1.576 27.8C0.525334 25.3667 0 22.7667 0 20C0 17.2333 0.525334 14.6333 1.576 12.2C2.62533 9.76667 4.05 7.65 5.85 5.85C7.65 4.05 9.76667 2.62467 12.2 1.574C14.6333 0.524667 17.2333 0 20 0C22.7667 0 25.3667 0.524667 27.8 1.574C30.2333 2.62467 32.35 4.05 34.15 5.85C35.95 7.65 37.3747 9.76667 38.424 12.2C39.4747 14.6333 40 17.2333 40 20C40 22.7667 39.4747 25.3667 38.424 27.8C37.3747 30.2333 35.95 32.35 34.15 34.15C32.35 35.95 30.2333 37.3747 27.8 38.424C25.3667 39.4747 22.7667 40 20 40Z", fill: "white", "fill-opacity": "0.95" }))));
82
+ return n(e, null, n("button", { "aria-describedby": this.duration !== void 0 ? "duration" : void 0, "aria-label": this.label, class: "video-thumbnail", type: "button" }, n("img", { alt: "", class: "video-thumbnail__image", loading: "lazy", src: this.src }), this.duration && n("span", { class: "video-thumbnail__duration", id: "duration" }, n("swirl-visually-hidden", null, this.durationLabel), this.duration), n("svg", { class: "video-thumbnail__play-icon", fill: "none", viewBox: "0 0 40 40", xmlns: "http://www.w3.org/2000/svg" }, n("path", { d: "M15 14.65V25.35C15 26.1167 15.35 26.7 16.05 27.1C16.75 27.5 17.4333 27.4667 18.1 27L26.4 21.7C27.0333 21.3 27.35 20.7333 27.35 20C27.35 19.2667 27.0333 18.7 26.4 18.3L18.1 13C17.4333 12.5333 16.75 12.5 16.05 12.9C15.35 13.3 15 13.8833 15 14.65ZM20 40C17.2333 40 14.6333 39.4747 12.2 38.424C9.76667 37.3747 7.65 35.95 5.85 34.15C4.05 32.35 2.62533 30.2333 1.576 27.8C0.525334 25.3667 0 22.7667 0 20C0 17.2333 0.525334 14.6333 1.576 12.2C2.62533 9.76667 4.05 7.65 5.85 5.85C7.65 4.05 9.76667 2.62467 12.2 1.574C14.6333 0.524667 17.2333 0 20 0C22.7667 0 25.3667 0.524667 27.8 1.574C30.2333 2.62467 32.35 4.05 34.15 5.85C35.95 7.65 37.3747 9.76667 38.424 12.2C39.4747 14.6333 40 17.2333 40 20C40 22.7667 39.4747 25.3667 38.424 27.8C37.3747 30.2333 35.95 32.35 34.15 34.15C32.35 35.95 30.2333 37.3747 27.8 38.424C25.3667 39.4747 22.7667 40 20 40Z", fill: "white", "fill-opacity": "0.95" }))));
83
83
  }
84
84
  };
85
85
  o.style = a;
86
86
  export {
87
- o as flip_video_thumbnail
87
+ o as swirl_video_thumbnail
88
88
  };
@@ -1,9 +1,9 @@
1
- import { r, h as i, H as l } from "./index.6f8c9509.js";
1
+ import { r as s, h as i, H as l } from "./index.149af511.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 {
5
- constructor(s) {
6
- r(this, s);
5
+ constructor(r) {
6
+ s(this, r);
7
7
  }
8
8
  render() {
9
9
  return i(l, null, i("slot", null));
@@ -11,5 +11,5 @@ const t = ":host{position:absolute;display:inline;overflow:hidden;width:1px;heig
11
11
  };
12
12
  o.style = t;
13
13
  export {
14
- o as flip_visually_hidden
14
+ o as swirl_visually_hidden
15
15
  };
@@ -0,0 +1,46 @@
1
+ function u(t, n) {
2
+ return t ? t instanceof ShadowRoot ? u(t.host, n) : t instanceof HTMLElement && t.matches(n) ? t : u(t.parentNode, n) : null;
3
+ }
4
+ const f = () => document.documentElement.classList.contains("disable-desktop-style-tweaks") ? window.matchMedia(null) : window.matchMedia("(min-width: 992px) and (max-width: 1439px) and (hover: hover), (min-width: 1440px)");
5
+ function p(t, n, o = !1) {
6
+ let c;
7
+ return async function() {
8
+ const e = this, a = arguments, i = function() {
9
+ c = null, o || t.apply(e, a);
10
+ }, l = o && !Boolean(c);
11
+ clearTimeout(c), c = setTimeout(i, n), l && t.apply(e, a);
12
+ };
13
+ }
14
+ function w(t, n) {
15
+ const o = n.scrollTop, c = o + n.clientHeight, s = n.getBoundingClientRect(), e = t.getBoundingClientRect(), i = {
16
+ top: e.top - s.top,
17
+ right: e.right - s.right,
18
+ bottom: e.bottom - s.bottom,
19
+ left: e.left - s.left
20
+ }.top + o, l = i + t.offsetHeight, r = i < o ? o : i;
21
+ return (l > c ? c : l) - r;
22
+ }
23
+ function g() {
24
+ return !window.matchMedia("(min-width: 768px)").matches;
25
+ }
26
+ function b(t, n) {
27
+ function o(s, e) {
28
+ if (!Boolean(e))
29
+ return [];
30
+ const a = Array.from(e.querySelectorAll(s)), i = Boolean(window.HTMLSlotElement) && e instanceof HTMLSlotElement ? e.assignedElements() : [], l = [...Array.from(e.children), ...i], r = e.shadowRoot, h = o(s, r);
31
+ return [
32
+ ...a,
33
+ ...l.map((m) => o(s, m)).flat(),
34
+ ...h
35
+ ];
36
+ }
37
+ return o(n, t).filter((s, e, a) => !a.some((i, l) => i.isSameNode(s) && l > e));
38
+ }
39
+ export {
40
+ w as a,
41
+ u as c,
42
+ p as d,
43
+ f as g,
44
+ g as i,
45
+ b as q
46
+ };