@ably/ui 17.4.2 → 17.5.0-dev.01e191e7

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 (827) hide show
  1. package/README.md +7 -7
  2. package/core/Accordion.js +1 -1
  3. package/core/Accordion.js.map +1 -1
  4. package/core/Badge.js +1 -1
  5. package/core/Badge.js.map +1 -1
  6. package/core/Button.js +1 -1
  7. package/core/Button.js.map +1 -1
  8. package/core/Code.js +1 -1
  9. package/core/Code.js.map +1 -1
  10. package/core/CodeSnippet/ApiKeySelector.js +1 -1
  11. package/core/CodeSnippet/ApiKeySelector.js.map +1 -1
  12. package/core/CodeSnippet/CopyButton.js +1 -1
  13. package/core/CodeSnippet/CopyButton.js.map +1 -1
  14. package/core/CodeSnippet/LanguageSelector.js +1 -1
  15. package/core/CodeSnippet/LanguageSelector.js.map +1 -1
  16. package/core/CodeSnippet/PlainCodeView.js +1 -1
  17. package/core/CodeSnippet/PlainCodeView.js.map +1 -1
  18. package/core/CodeSnippet/TooltipButton.js +1 -1
  19. package/core/CodeSnippet/TooltipButton.js.map +1 -1
  20. package/core/CodeSnippet.js +1 -1
  21. package/core/CodeSnippet.js.map +1 -1
  22. package/core/ConnectStateWrapper.js +1 -1
  23. package/core/ConnectStateWrapper.js.map +1 -1
  24. package/core/CookieMessage.js +1 -1
  25. package/core/CookieMessage.js.map +1 -1
  26. package/core/CustomerLogos.js +1 -1
  27. package/core/CustomerLogos.js.map +1 -1
  28. package/core/DropdownMenu.js +1 -1
  29. package/core/DropdownMenu.js.map +1 -1
  30. package/core/Expander.js +1 -1
  31. package/core/Expander.js.map +1 -1
  32. package/core/FeaturedLink.js +1 -1
  33. package/core/FeaturedLink.js.map +1 -1
  34. package/core/Flash.js +1 -1
  35. package/core/Flash.js.map +1 -1
  36. package/core/Flyout.js +1 -1
  37. package/core/Flyout.js.map +1 -1
  38. package/core/Footer.js +1 -1
  39. package/core/Footer.js.map +1 -1
  40. package/core/Header/HeaderLinks.js +1 -1
  41. package/core/Header/HeaderLinks.js.map +1 -1
  42. package/core/Header.js +1 -1
  43. package/core/Header.js.map +1 -1
  44. package/core/Icon/components/icon-display-48hrs.js +1 -1
  45. package/core/Icon/components/icon-display-48hrs.js.map +1 -1
  46. package/core/Icon/components/icon-display-ably-channels.js +1 -1
  47. package/core/Icon/components/icon-display-ably-channels.js.map +1 -1
  48. package/core/Icon/components/icon-display-about-ably-col.js +1 -1
  49. package/core/Icon/components/icon-display-about-ably-col.js.map +1 -1
  50. package/core/Icon/components/icon-display-api-keys.js +1 -1
  51. package/core/Icon/components/icon-display-api-keys.js.map +1 -1
  52. package/core/Icon/components/icon-display-api.js +1 -1
  53. package/core/Icon/components/icon-display-api.js.map +1 -1
  54. package/core/Icon/components/icon-display-architectural-guidance.js +1 -1
  55. package/core/Icon/components/icon-display-architectural-guidance.js.map +1 -1
  56. package/core/Icon/components/icon-display-asset-tracking-col.js +1 -1
  57. package/core/Icon/components/icon-display-asset-tracking-col.js.map +1 -1
  58. package/core/Icon/components/icon-display-authentication.js +1 -1
  59. package/core/Icon/components/icon-display-authentication.js.map +1 -1
  60. package/core/Icon/components/icon-display-avatar-stack.js +1 -1
  61. package/core/Icon/components/icon-display-avatar-stack.js.map +1 -1
  62. package/core/Icon/components/icon-display-browser.js +1 -1
  63. package/core/Icon/components/icon-display-browser.js.map +1 -1
  64. package/core/Icon/components/icon-display-calendar.js +1 -1
  65. package/core/Icon/components/icon-display-calendar.js.map +1 -1
  66. package/core/Icon/components/icon-display-call-mobile.js +1 -1
  67. package/core/Icon/components/icon-display-call-mobile.js.map +1 -1
  68. package/core/Icon/components/icon-display-careers-col.js +1 -1
  69. package/core/Icon/components/icon-display-careers-col.js.map +1 -1
  70. package/core/Icon/components/icon-display-case-studies-col.js +1 -1
  71. package/core/Icon/components/icon-display-case-studies-col.js.map +1 -1
  72. package/core/Icon/components/icon-display-chat-col.js +1 -1
  73. package/core/Icon/components/icon-display-chat-col.js.map +1 -1
  74. package/core/Icon/components/icon-display-chat-mono.js +1 -1
  75. package/core/Icon/components/icon-display-chat-mono.js.map +1 -1
  76. package/core/Icon/components/icon-display-chat-stack-col.js +1 -1
  77. package/core/Icon/components/icon-display-chat-stack-col.js.map +1 -1
  78. package/core/Icon/components/icon-display-chat-stack.js +1 -1
  79. package/core/Icon/components/icon-display-chat-stack.js.map +1 -1
  80. package/core/Icon/components/icon-display-cloud-servers.js +1 -1
  81. package/core/Icon/components/icon-display-cloud-servers.js.map +1 -1
  82. package/core/Icon/components/icon-display-compare-tech-col.js +1 -1
  83. package/core/Icon/components/icon-display-compare-tech-col.js.map +1 -1
  84. package/core/Icon/components/icon-display-connection-state-recovery.js +1 -1
  85. package/core/Icon/components/icon-display-connection-state-recovery.js.map +1 -1
  86. package/core/Icon/components/icon-display-consumer-groups.js +1 -1
  87. package/core/Icon/components/icon-display-consumer-groups.js.map +1 -1
  88. package/core/Icon/components/icon-display-custom-cname.js +1 -1
  89. package/core/Icon/components/icon-display-custom-cname.js.map +1 -1
  90. package/core/Icon/components/icon-display-custom.js +1 -1
  91. package/core/Icon/components/icon-display-custom.js.map +1 -1
  92. package/core/Icon/components/icon-display-customers-col.js +1 -1
  93. package/core/Icon/components/icon-display-customers-col.js.map +1 -1
  94. package/core/Icon/components/icon-display-data-broadcast-col.js +1 -1
  95. package/core/Icon/components/icon-display-data-broadcast-col.js.map +1 -1
  96. package/core/Icon/components/icon-display-data-broadcast-mono.js +1 -1
  97. package/core/Icon/components/icon-display-data-broadcast-mono.js.map +1 -1
  98. package/core/Icon/components/icon-display-data-synchronization-col.js +1 -1
  99. package/core/Icon/components/icon-display-data-synchronization-col.js.map +1 -1
  100. package/core/Icon/components/icon-display-dedicated-cluster.js +1 -1
  101. package/core/Icon/components/icon-display-dedicated-cluster.js.map +1 -1
  102. package/core/Icon/components/icon-display-deltas.js +1 -1
  103. package/core/Icon/components/icon-display-deltas.js.map +1 -1
  104. package/core/Icon/components/icon-display-docs-col.js +1 -1
  105. package/core/Icon/components/icon-display-docs-col.js.map +1 -1
  106. package/core/Icon/components/icon-display-documentation.js +1 -1
  107. package/core/Icon/components/icon-display-documentation.js.map +1 -1
  108. package/core/Icon/components/icon-display-dynamic-channel-groups.js +1 -1
  109. package/core/Icon/components/icon-display-dynamic-channel-groups.js.map +1 -1
  110. package/core/Icon/components/icon-display-edge-network.js +1 -1
  111. package/core/Icon/components/icon-display-edge-network.js.map +1 -1
  112. package/core/Icon/components/icon-display-elasticity.js +1 -1
  113. package/core/Icon/components/icon-display-elasticity.js.map +1 -1
  114. package/core/Icon/components/icon-display-equalisers-mono.js +1 -1
  115. package/core/Icon/components/icon-display-equalisers-mono.js.map +1 -1
  116. package/core/Icon/components/icon-display-events-col.js +1 -1
  117. package/core/Icon/components/icon-display-events-col.js.map +1 -1
  118. package/core/Icon/components/icon-display-exactly-once-delivery.js +1 -1
  119. package/core/Icon/components/icon-display-exactly-once-delivery.js.map +1 -1
  120. package/core/Icon/components/icon-display-examples-col.js +1 -1
  121. package/core/Icon/components/icon-display-examples-col.js.map +1 -1
  122. package/core/Icon/components/icon-display-fan-out.js +1 -1
  123. package/core/Icon/components/icon-display-fan-out.js.map +1 -1
  124. package/core/Icon/components/icon-display-firehose.js +1 -1
  125. package/core/Icon/components/icon-display-firehose.js.map +1 -1
  126. package/core/Icon/components/icon-display-gdpr.js +1 -1
  127. package/core/Icon/components/icon-display-gdpr.js.map +1 -1
  128. package/core/Icon/components/icon-display-general-comms.js +1 -1
  129. package/core/Icon/components/icon-display-general-comms.js.map +1 -1
  130. package/core/Icon/components/icon-display-granular-permissions.js +1 -1
  131. package/core/Icon/components/icon-display-granular-permissions.js.map +1 -1
  132. package/core/Icon/components/icon-display-hipaa-mono.js +1 -1
  133. package/core/Icon/components/icon-display-hipaa-mono.js.map +1 -1
  134. package/core/Icon/components/icon-display-hipaa.js +1 -1
  135. package/core/Icon/components/icon-display-hipaa.js.map +1 -1
  136. package/core/Icon/components/icon-display-history.js +1 -1
  137. package/core/Icon/components/icon-display-history.js.map +1 -1
  138. package/core/Icon/components/icon-display-integrations-col.js +1 -1
  139. package/core/Icon/components/icon-display-integrations-col.js.map +1 -1
  140. package/core/Icon/components/icon-display-integrations.js +1 -1
  141. package/core/Icon/components/icon-display-integrations.js.map +1 -1
  142. package/core/Icon/components/icon-display-it-support-access.js +1 -1
  143. package/core/Icon/components/icon-display-it-support-access.js.map +1 -1
  144. package/core/Icon/components/icon-display-it-support-helpdesk.js +1 -1
  145. package/core/Icon/components/icon-display-it-support-helpdesk.js.map +1 -1
  146. package/core/Icon/components/icon-display-kafka-at-the-edge-col.js +1 -1
  147. package/core/Icon/components/icon-display-kafka-at-the-edge-col.js.map +1 -1
  148. package/core/Icon/components/icon-display-laptop.js +1 -1
  149. package/core/Icon/components/icon-display-laptop.js.map +1 -1
  150. package/core/Icon/components/icon-display-last-seen.js +1 -1
  151. package/core/Icon/components/icon-display-last-seen.js.map +1 -1
  152. package/core/Icon/components/icon-display-lightbulb-col.js +1 -1
  153. package/core/Icon/components/icon-display-lightbulb-col.js.map +1 -1
  154. package/core/Icon/components/icon-display-live-chat.js +1 -1
  155. package/core/Icon/components/icon-display-live-chat.js.map +1 -1
  156. package/core/Icon/components/icon-display-live-updates-results-metrics-col.js +1 -1
  157. package/core/Icon/components/icon-display-live-updates-results-metrics-col.js.map +1 -1
  158. package/core/Icon/components/icon-display-map-pin.js +1 -1
  159. package/core/Icon/components/icon-display-map-pin.js.map +1 -1
  160. package/core/Icon/components/icon-display-message-batching.js +1 -1
  161. package/core/Icon/components/icon-display-message-batching.js.map +1 -1
  162. package/core/Icon/components/icon-display-message-persistence.js +1 -1
  163. package/core/Icon/components/icon-display-message-persistence.js.map +1 -1
  164. package/core/Icon/components/icon-display-message-queues.js +1 -1
  165. package/core/Icon/components/icon-display-message-queues.js.map +1 -1
  166. package/core/Icon/components/icon-display-message.js +1 -1
  167. package/core/Icon/components/icon-display-message.js.map +1 -1
  168. package/core/Icon/components/icon-display-multi-user-spaces-col.js +1 -1
  169. package/core/Icon/components/icon-display-multi-user-spaces-col.js.map +1 -1
  170. package/core/Icon/components/icon-display-observe-analytics.js +1 -1
  171. package/core/Icon/components/icon-display-observe-analytics.js.map +1 -1
  172. package/core/Icon/components/icon-display-padlock-closed.js +1 -1
  173. package/core/Icon/components/icon-display-padlock-closed.js.map +1 -1
  174. package/core/Icon/components/icon-display-platform.js +1 -1
  175. package/core/Icon/components/icon-display-platform.js.map +1 -1
  176. package/core/Icon/components/icon-display-play.js +1 -1
  177. package/core/Icon/components/icon-display-play.js.map +1 -1
  178. package/core/Icon/components/icon-display-premium-support.js +1 -1
  179. package/core/Icon/components/icon-display-premium-support.js.map +1 -1
  180. package/core/Icon/components/icon-display-privacy-shield-framework.js +1 -1
  181. package/core/Icon/components/icon-display-privacy-shield-framework.js.map +1 -1
  182. package/core/Icon/components/icon-display-private-link.js +1 -1
  183. package/core/Icon/components/icon-display-private-link.js.map +1 -1
  184. package/core/Icon/components/icon-display-push-notifications-col.js +1 -1
  185. package/core/Icon/components/icon-display-push-notifications-col.js.map +1 -1
  186. package/core/Icon/components/icon-display-push-notifications-mono.js +1 -1
  187. package/core/Icon/components/icon-display-push-notifications-mono.js.map +1 -1
  188. package/core/Icon/components/icon-display-push-notifications.js +1 -1
  189. package/core/Icon/components/icon-display-push-notifications.js.map +1 -1
  190. package/core/Icon/components/icon-display-quickstart-guides-col.js +1 -1
  191. package/core/Icon/components/icon-display-quickstart-guides-col.js.map +1 -1
  192. package/core/Icon/components/icon-display-reactions.js +1 -1
  193. package/core/Icon/components/icon-display-reactions.js.map +1 -1
  194. package/core/Icon/components/icon-display-read-receipts.js +1 -1
  195. package/core/Icon/components/icon-display-read-receipts.js.map +1 -1
  196. package/core/Icon/components/icon-display-resources-col.js +1 -1
  197. package/core/Icon/components/icon-display-resources-col.js.map +1 -1
  198. package/core/Icon/components/icon-display-rewind.js +1 -1
  199. package/core/Icon/components/icon-display-rewind.js.map +1 -1
  200. package/core/Icon/components/icon-display-sdks-col.js +1 -1
  201. package/core/Icon/components/icon-display-sdks-col.js.map +1 -1
  202. package/core/Icon/components/icon-display-send-received-messages.js +1 -1
  203. package/core/Icon/components/icon-display-send-received-messages.js.map +1 -1
  204. package/core/Icon/components/icon-display-servers.js +1 -1
  205. package/core/Icon/components/icon-display-servers.js.map +1 -1
  206. package/core/Icon/components/icon-display-shopping-cart.js +1 -1
  207. package/core/Icon/components/icon-display-shopping-cart.js.map +1 -1
  208. package/core/Icon/components/icon-display-sla.js +1 -1
  209. package/core/Icon/components/icon-display-sla.js.map +1 -1
  210. package/core/Icon/components/icon-display-soc2-type2-mono.js +1 -1
  211. package/core/Icon/components/icon-display-soc2-type2-mono.js.map +1 -1
  212. package/core/Icon/components/icon-display-soc2-type2.js +1 -1
  213. package/core/Icon/components/icon-display-soc2-type2.js.map +1 -1
  214. package/core/Icon/components/icon-display-subscription-filters.js +1 -1
  215. package/core/Icon/components/icon-display-subscription-filters.js.map +1 -1
  216. package/core/Icon/components/icon-display-support-chat-mono.js +1 -1
  217. package/core/Icon/components/icon-display-support-chat-mono.js.map +1 -1
  218. package/core/Icon/components/icon-display-system-metadata.js +1 -1
  219. package/core/Icon/components/icon-display-system-metadata.js.map +1 -1
  220. package/core/Icon/components/icon-display-tech-account-comms.js +1 -1
  221. package/core/Icon/components/icon-display-tech-account-comms.js.map +1 -1
  222. package/core/Icon/components/icon-display-tutorials-demos-col.js +1 -1
  223. package/core/Icon/components/icon-display-tutorials-demos-col.js.map +1 -1
  224. package/core/Icon/components/icon-display-virtual-events-col.js +1 -1
  225. package/core/Icon/components/icon-display-virtual-events-col.js.map +1 -1
  226. package/core/Icon/components/icon-display-virtual-events.js +1 -1
  227. package/core/Icon/components/icon-display-virtual-events.js.map +1 -1
  228. package/core/Icon/components/icon-gui-ably-badge.js +1 -1
  229. package/core/Icon/components/icon-gui-ably-badge.js.map +1 -1
  230. package/core/Icon/components/icon-gui-check-circled-fill.js +1 -1
  231. package/core/Icon/components/icon-gui-check-circled-fill.js.map +1 -1
  232. package/core/Icon/components/icon-gui-check-lotus-circled.js +1 -1
  233. package/core/Icon/components/icon-gui-check-lotus-circled.js.map +1 -1
  234. package/core/Icon/components/icon-gui-checklist-checked.js +1 -1
  235. package/core/Icon/components/icon-gui-checklist-checked.js.map +1 -1
  236. package/core/Icon/components/icon-gui-code-doc.js +1 -1
  237. package/core/Icon/components/icon-gui-code-doc.js.map +1 -1
  238. package/core/Icon/components/icon-gui-cursor.js +1 -1
  239. package/core/Icon/components/icon-gui-cursor.js.map +1 -1
  240. package/core/Icon/components/icon-gui-expand.js +1 -1
  241. package/core/Icon/components/icon-gui-expand.js.map +1 -1
  242. package/core/Icon/components/icon-gui-filter-flow-step-0.js +1 -1
  243. package/core/Icon/components/icon-gui-filter-flow-step-0.js.map +1 -1
  244. package/core/Icon/components/icon-gui-filter-flow-step-1.js +1 -1
  245. package/core/Icon/components/icon-gui-filter-flow-step-1.js.map +1 -1
  246. package/core/Icon/components/icon-gui-filter-flow-step-2.js +1 -1
  247. package/core/Icon/components/icon-gui-filter-flow-step-2.js.map +1 -1
  248. package/core/Icon/components/icon-gui-filter-flow-step-3.js +1 -1
  249. package/core/Icon/components/icon-gui-filter-flow-step-3.js.map +1 -1
  250. package/core/Icon/components/icon-gui-flower-growth.js +1 -1
  251. package/core/Icon/components/icon-gui-flower-growth.js.map +1 -1
  252. package/core/Icon/components/icon-gui-further-reading.js +1 -1
  253. package/core/Icon/components/icon-gui-further-reading.js.map +1 -1
  254. package/core/Icon/components/icon-gui-glasses.js +1 -1
  255. package/core/Icon/components/icon-gui-glasses.js.map +1 -1
  256. package/core/Icon/components/icon-gui-history.js +1 -1
  257. package/core/Icon/components/icon-gui-history.js.map +1 -1
  258. package/core/Icon/components/icon-gui-live-chat.js +1 -1
  259. package/core/Icon/components/icon-gui-live-chat.js.map +1 -1
  260. package/core/Icon/components/icon-gui-mouse.js +1 -1
  261. package/core/Icon/components/icon-gui-mouse.js.map +1 -1
  262. package/core/Icon/components/icon-gui-partial.js +1 -1
  263. package/core/Icon/components/icon-gui-partial.js.map +1 -1
  264. package/core/Icon/components/icon-gui-pitfall.js +1 -1
  265. package/core/Icon/components/icon-gui-pitfall.js.map +1 -1
  266. package/core/Icon/components/icon-gui-prod-asset-tracking-outline.js +1 -1
  267. package/core/Icon/components/icon-gui-prod-asset-tracking-outline.js.map +1 -1
  268. package/core/Icon/components/icon-gui-prod-asset-tracking-solid.js +1 -1
  269. package/core/Icon/components/icon-gui-prod-asset-tracking-solid.js.map +1 -1
  270. package/core/Icon/components/icon-gui-prod-chat-outline.js +1 -1
  271. package/core/Icon/components/icon-gui-prod-chat-outline.js.map +1 -1
  272. package/core/Icon/components/icon-gui-prod-chat-solid.js +1 -1
  273. package/core/Icon/components/icon-gui-prod-chat-solid.js.map +1 -1
  274. package/core/Icon/components/icon-gui-prod-liveobjects-outline.js +1 -1
  275. package/core/Icon/components/icon-gui-prod-liveobjects-outline.js.map +1 -1
  276. package/core/Icon/components/icon-gui-prod-liveobjects-solid.js +1 -1
  277. package/core/Icon/components/icon-gui-prod-liveobjects-solid.js.map +1 -1
  278. package/core/Icon/components/icon-gui-prod-livesync-outline.js +1 -1
  279. package/core/Icon/components/icon-gui-prod-livesync-outline.js.map +1 -1
  280. package/core/Icon/components/icon-gui-prod-livesync-solid.js +1 -1
  281. package/core/Icon/components/icon-gui-prod-livesync-solid.js.map +1 -1
  282. package/core/Icon/components/icon-gui-prod-pubsub-outline.js +1 -1
  283. package/core/Icon/components/icon-gui-prod-pubsub-outline.js.map +1 -1
  284. package/core/Icon/components/icon-gui-prod-pubsub-solid.js +1 -1
  285. package/core/Icon/components/icon-gui-prod-pubsub-solid.js.map +1 -1
  286. package/core/Icon/components/icon-gui-prod-spaces-outline.js +1 -1
  287. package/core/Icon/components/icon-gui-prod-spaces-outline.js.map +1 -1
  288. package/core/Icon/components/icon-gui-prod-spaces-solid.js +1 -1
  289. package/core/Icon/components/icon-gui-prod-spaces-solid.js.map +1 -1
  290. package/core/Icon/components/icon-gui-quote-marks-fill.js +1 -1
  291. package/core/Icon/components/icon-gui-quote-marks-fill.js.map +1 -1
  292. package/core/Icon/components/icon-gui-refresh.js +1 -1
  293. package/core/Icon/components/icon-gui-refresh.js.map +1 -1
  294. package/core/Icon/components/icon-gui-resources.js +1 -1
  295. package/core/Icon/components/icon-gui-resources.js.map +1 -1
  296. package/core/Icon/components/icon-gui-spinner-dark.js +1 -1
  297. package/core/Icon/components/icon-gui-spinner-dark.js.map +1 -1
  298. package/core/Icon/components/icon-gui-spinner-light.js +1 -1
  299. package/core/Icon/components/icon-gui-spinner-light.js.map +1 -1
  300. package/core/Icon/components/icon-product-asset-tracking-mono.js +1 -1
  301. package/core/Icon/components/icon-product-asset-tracking-mono.js.map +1 -1
  302. package/core/Icon/components/icon-product-asset-tracking.js +1 -1
  303. package/core/Icon/components/icon-product-asset-tracking.js.map +1 -1
  304. package/core/Icon/components/icon-product-chat-mono.js +1 -1
  305. package/core/Icon/components/icon-product-chat-mono.js.map +1 -1
  306. package/core/Icon/components/icon-product-chat.js +1 -1
  307. package/core/Icon/components/icon-product-chat.js.map +1 -1
  308. package/core/Icon/components/icon-product-liveobjects-dark.js +1 -1
  309. package/core/Icon/components/icon-product-liveobjects-dark.js.map +1 -1
  310. package/core/Icon/components/icon-product-liveobjects-mono.js +1 -1
  311. package/core/Icon/components/icon-product-liveobjects-mono.js.map +1 -1
  312. package/core/Icon/components/icon-product-liveobjects.js +1 -1
  313. package/core/Icon/components/icon-product-liveobjects.js.map +1 -1
  314. package/core/Icon/components/icon-product-livesync-mono.js +1 -1
  315. package/core/Icon/components/icon-product-livesync-mono.js.map +1 -1
  316. package/core/Icon/components/icon-product-livesync.js +1 -1
  317. package/core/Icon/components/icon-product-livesync.js.map +1 -1
  318. package/core/Icon/components/icon-product-platform-mono.js +1 -1
  319. package/core/Icon/components/icon-product-platform-mono.js.map +1 -1
  320. package/core/Icon/components/icon-product-platform.js +1 -1
  321. package/core/Icon/components/icon-product-platform.js.map +1 -1
  322. package/core/Icon/components/icon-product-pubsub-mono.js +1 -1
  323. package/core/Icon/components/icon-product-pubsub-mono.js.map +1 -1
  324. package/core/Icon/components/icon-product-pubsub.js +1 -1
  325. package/core/Icon/components/icon-product-pubsub.js.map +1 -1
  326. package/core/Icon/components/icon-product-spaces-mono.js +1 -1
  327. package/core/Icon/components/icon-product-spaces-mono.js.map +1 -1
  328. package/core/Icon/components/icon-product-spaces.js +1 -1
  329. package/core/Icon/components/icon-product-spaces.js.map +1 -1
  330. package/core/Icon/components/icon-social-discord-mono.js +1 -1
  331. package/core/Icon/components/icon-social-discord-mono.js.map +1 -1
  332. package/core/Icon/components/icon-social-discord.js +1 -1
  333. package/core/Icon/components/icon-social-discord.js.map +1 -1
  334. package/core/Icon/components/icon-social-facebook-mono.js +1 -1
  335. package/core/Icon/components/icon-social-facebook-mono.js.map +1 -1
  336. package/core/Icon/components/icon-social-facebook.js +1 -1
  337. package/core/Icon/components/icon-social-facebook.js.map +1 -1
  338. package/core/Icon/components/icon-social-github-mono.js +1 -1
  339. package/core/Icon/components/icon-social-github-mono.js.map +1 -1
  340. package/core/Icon/components/icon-social-github.js +1 -1
  341. package/core/Icon/components/icon-social-github.js.map +1 -1
  342. package/core/Icon/components/icon-social-glassdoor-mono.js +1 -1
  343. package/core/Icon/components/icon-social-glassdoor-mono.js.map +1 -1
  344. package/core/Icon/components/icon-social-glassdoor.js +1 -1
  345. package/core/Icon/components/icon-social-glassdoor.js.map +1 -1
  346. package/core/Icon/components/icon-social-google-mono.js +1 -1
  347. package/core/Icon/components/icon-social-google-mono.js.map +1 -1
  348. package/core/Icon/components/icon-social-google.js +1 -1
  349. package/core/Icon/components/icon-social-google.js.map +1 -1
  350. package/core/Icon/components/icon-social-linkedin-mono.js +1 -1
  351. package/core/Icon/components/icon-social-linkedin-mono.js.map +1 -1
  352. package/core/Icon/components/icon-social-linkedin.js +1 -1
  353. package/core/Icon/components/icon-social-linkedin.js.map +1 -1
  354. package/core/Icon/components/icon-social-slack-mono.js +1 -1
  355. package/core/Icon/components/icon-social-slack-mono.js.map +1 -1
  356. package/core/Icon/components/icon-social-slack.js +1 -1
  357. package/core/Icon/components/icon-social-slack.js.map +1 -1
  358. package/core/Icon/components/icon-social-stackoverflow-mono.js +1 -1
  359. package/core/Icon/components/icon-social-stackoverflow-mono.js.map +1 -1
  360. package/core/Icon/components/icon-social-stackoverflow.js +1 -1
  361. package/core/Icon/components/icon-social-stackoverflow.js.map +1 -1
  362. package/core/Icon/components/icon-social-twitter-mono.js +1 -1
  363. package/core/Icon/components/icon-social-twitter-mono.js.map +1 -1
  364. package/core/Icon/components/icon-social-twitter.js +1 -1
  365. package/core/Icon/components/icon-social-twitter.js.map +1 -1
  366. package/core/Icon/components/icon-social-x-mono.js +1 -1
  367. package/core/Icon/components/icon-social-x-mono.js.map +1 -1
  368. package/core/Icon/components/icon-social-x.js +1 -1
  369. package/core/Icon/components/icon-social-x.js.map +1 -1
  370. package/core/Icon/components/icon-social-youtube-mono.js +1 -1
  371. package/core/Icon/components/icon-social-youtube-mono.js.map +1 -1
  372. package/core/Icon/components/icon-social-youtube.js +1 -1
  373. package/core/Icon/components/icon-social-youtube.js.map +1 -1
  374. package/core/Icon/components/icon-tech-ably-api-streamer.js +1 -1
  375. package/core/Icon/components/icon-tech-ably-api-streamer.js.map +1 -1
  376. package/core/Icon/components/icon-tech-ably-firehose.js +1 -1
  377. package/core/Icon/components/icon-tech-ably-firehose.js.map +1 -1
  378. package/core/Icon/components/icon-tech-ably-native.js +1 -1
  379. package/core/Icon/components/icon-tech-ably-native.js.map +1 -1
  380. package/core/Icon/components/icon-tech-ably.js +1 -1
  381. package/core/Icon/components/icon-tech-ably.js.map +1 -1
  382. package/core/Icon/components/icon-tech-activemq.js +1 -1
  383. package/core/Icon/components/icon-tech-activemq.js.map +1 -1
  384. package/core/Icon/components/icon-tech-activitypub.js +1 -1
  385. package/core/Icon/components/icon-tech-activitypub.js.map +1 -1
  386. package/core/Icon/components/icon-tech-aerospike.js +1 -1
  387. package/core/Icon/components/icon-tech-aerospike.js.map +1 -1
  388. package/core/Icon/components/icon-tech-akka.js +1 -1
  389. package/core/Icon/components/icon-tech-akka.js.map +1 -1
  390. package/core/Icon/components/icon-tech-amazon-ec2.js +1 -1
  391. package/core/Icon/components/icon-tech-amazon-ec2.js.map +1 -1
  392. package/core/Icon/components/icon-tech-amazon-event-bridge.js +1 -1
  393. package/core/Icon/components/icon-tech-amazon-event-bridge.js.map +1 -1
  394. package/core/Icon/components/icon-tech-amqp091.js +1 -1
  395. package/core/Icon/components/icon-tech-amqp091.js.map +1 -1
  396. package/core/Icon/components/icon-tech-amqp10.js +1 -1
  397. package/core/Icon/components/icon-tech-amqp10.js.map +1 -1
  398. package/core/Icon/components/icon-tech-android-full.js +1 -1
  399. package/core/Icon/components/icon-tech-android-full.js.map +1 -1
  400. package/core/Icon/components/icon-tech-android-head.js +1 -1
  401. package/core/Icon/components/icon-tech-android-head.js.map +1 -1
  402. package/core/Icon/components/icon-tech-angular.js +1 -1
  403. package/core/Icon/components/icon-tech-angular.js.map +1 -1
  404. package/core/Icon/components/icon-tech-anycable.js +1 -1
  405. package/core/Icon/components/icon-tech-anycable.js.map +1 -1
  406. package/core/Icon/components/icon-tech-apache-cassandra.js +1 -1
  407. package/core/Icon/components/icon-tech-apache-cassandra.js.map +1 -1
  408. package/core/Icon/components/icon-tech-apache-cordova.js +1 -1
  409. package/core/Icon/components/icon-tech-apache-cordova.js.map +1 -1
  410. package/core/Icon/components/icon-tech-apache-kafka.js +1 -1
  411. package/core/Icon/components/icon-tech-apache-kafka.js.map +1 -1
  412. package/core/Icon/components/icon-tech-apache-spark.js +1 -1
  413. package/core/Icon/components/icon-tech-apache-spark.js.map +1 -1
  414. package/core/Icon/components/icon-tech-apachepulsar.js +1 -1
  415. package/core/Icon/components/icon-tech-apachepulsar.js.map +1 -1
  416. package/core/Icon/components/icon-tech-apachestorm.js +1 -1
  417. package/core/Icon/components/icon-tech-apachestorm.js.map +1 -1
  418. package/core/Icon/components/icon-tech-apns.js +1 -1
  419. package/core/Icon/components/icon-tech-apns.js.map +1 -1
  420. package/core/Icon/components/icon-tech-assemblyai.js +1 -1
  421. package/core/Icon/components/icon-tech-assemblyai.js.map +1 -1
  422. package/core/Icon/components/icon-tech-atmosphere.js +1 -1
  423. package/core/Icon/components/icon-tech-atmosphere.js.map +1 -1
  424. package/core/Icon/components/icon-tech-aws-app-sync.js +1 -1
  425. package/core/Icon/components/icon-tech-aws-app-sync.js.map +1 -1
  426. package/core/Icon/components/icon-tech-aws-aurora.js +1 -1
  427. package/core/Icon/components/icon-tech-aws-aurora.js.map +1 -1
  428. package/core/Icon/components/icon-tech-aws-gateway-websockets.js +1 -1
  429. package/core/Icon/components/icon-tech-aws-gateway-websockets.js.map +1 -1
  430. package/core/Icon/components/icon-tech-aws-sns.js +1 -1
  431. package/core/Icon/components/icon-tech-aws-sns.js.map +1 -1
  432. package/core/Icon/components/icon-tech-aws-sqs.js +1 -1
  433. package/core/Icon/components/icon-tech-aws-sqs.js.map +1 -1
  434. package/core/Icon/components/icon-tech-aws.js +1 -1
  435. package/core/Icon/components/icon-tech-aws.js.map +1 -1
  436. package/core/Icon/components/icon-tech-awsiot.js +1 -1
  437. package/core/Icon/components/icon-tech-awsiot.js.map +1 -1
  438. package/core/Icon/components/icon-tech-awskinesis.js +1 -1
  439. package/core/Icon/components/icon-tech-awskinesis.js.map +1 -1
  440. package/core/Icon/components/icon-tech-awslambda.js +1 -1
  441. package/core/Icon/components/icon-tech-awslambda.js.map +1 -1
  442. package/core/Icon/components/icon-tech-awssqs.js +1 -1
  443. package/core/Icon/components/icon-tech-awssqs.js.map +1 -1
  444. package/core/Icon/components/icon-tech-azure-api.js +1 -1
  445. package/core/Icon/components/icon-tech-azure-api.js.map +1 -1
  446. package/core/Icon/components/icon-tech-azure-archive-api.js +1 -1
  447. package/core/Icon/components/icon-tech-azure-archive-api.js.map +1 -1
  448. package/core/Icon/components/icon-tech-azure-bus.js +1 -1
  449. package/core/Icon/components/icon-tech-azure-bus.js.map +1 -1
  450. package/core/Icon/components/icon-tech-azure-cosmos.js +1 -1
  451. package/core/Icon/components/icon-tech-azure-cosmos.js.map +1 -1
  452. package/core/Icon/components/icon-tech-azure-event-hub.js +1 -1
  453. package/core/Icon/components/icon-tech-azure-event-hub.js.map +1 -1
  454. package/core/Icon/components/icon-tech-azure-functions.js +1 -1
  455. package/core/Icon/components/icon-tech-azure-functions.js.map +1 -1
  456. package/core/Icon/components/icon-tech-azure-search.js +1 -1
  457. package/core/Icon/components/icon-tech-azure-search.js.map +1 -1
  458. package/core/Icon/components/icon-tech-azure-static-web-app.js +1 -1
  459. package/core/Icon/components/icon-tech-azure-static-web-app.js.map +1 -1
  460. package/core/Icon/components/icon-tech-azure-static-web-apps.js +1 -1
  461. package/core/Icon/components/icon-tech-azure-static-web-apps.js.map +1 -1
  462. package/core/Icon/components/icon-tech-azure-storage.js +1 -1
  463. package/core/Icon/components/icon-tech-azure-storage.js.map +1 -1
  464. package/core/Icon/components/icon-tech-azure-web-pubsub.js +1 -1
  465. package/core/Icon/components/icon-tech-azure-web-pubsub.js.map +1 -1
  466. package/core/Icon/components/icon-tech-azurefunctions.js +1 -1
  467. package/core/Icon/components/icon-tech-azurefunctions.js.map +1 -1
  468. package/core/Icon/components/icon-tech-azureservicebus.js +1 -1
  469. package/core/Icon/components/icon-tech-azureservicebus.js.map +1 -1
  470. package/core/Icon/components/icon-tech-azuresignalR.js +1 -1
  471. package/core/Icon/components/icon-tech-azuresignalR.js.map +1 -1
  472. package/core/Icon/components/icon-tech-bayeux.js +1 -1
  473. package/core/Icon/components/icon-tech-bayeux.js.map +1 -1
  474. package/core/Icon/components/icon-tech-c.js +1 -1
  475. package/core/Icon/components/icon-tech-c.js.map +1 -1
  476. package/core/Icon/components/icon-tech-centrifugo.js +1 -1
  477. package/core/Icon/components/icon-tech-centrifugo.js.map +1 -1
  478. package/core/Icon/components/icon-tech-client-side-frameworks.js +1 -1
  479. package/core/Icon/components/icon-tech-client-side-frameworks.js.map +1 -1
  480. package/core/Icon/components/icon-tech-clojure.js +1 -1
  481. package/core/Icon/components/icon-tech-clojure.js.map +1 -1
  482. package/core/Icon/components/icon-tech-cloudflare-durable-objects.js +1 -1
  483. package/core/Icon/components/icon-tech-cloudflare-durable-objects.js.map +1 -1
  484. package/core/Icon/components/icon-tech-cloudflareworkers.js +1 -1
  485. package/core/Icon/components/icon-tech-cloudflareworkers.js.map +1 -1
  486. package/core/Icon/components/icon-tech-cocoa.js +1 -1
  487. package/core/Icon/components/icon-tech-cocoa.js.map +1 -1
  488. package/core/Icon/components/icon-tech-confluent.js +1 -1
  489. package/core/Icon/components/icon-tech-confluent.js.map +1 -1
  490. package/core/Icon/components/icon-tech-cord.js +1 -1
  491. package/core/Icon/components/icon-tech-cord.js.map +1 -1
  492. package/core/Icon/components/icon-tech-csharp.js +1 -1
  493. package/core/Icon/components/icon-tech-csharp.js.map +1 -1
  494. package/core/Icon/components/icon-tech-curl.js +1 -1
  495. package/core/Icon/components/icon-tech-curl.js.map +1 -1
  496. package/core/Icon/components/icon-tech-customwebhooks.js +1 -1
  497. package/core/Icon/components/icon-tech-customwebhooks.js.map +1 -1
  498. package/core/Icon/components/icon-tech-datadog.js +1 -1
  499. package/core/Icon/components/icon-tech-datadog.js.map +1 -1
  500. package/core/Icon/components/icon-tech-design-patterns.js +1 -1
  501. package/core/Icon/components/icon-tech-design-patterns.js.map +1 -1
  502. package/core/Icon/components/icon-tech-devplatforms.js +1 -1
  503. package/core/Icon/components/icon-tech-devplatforms.js.map +1 -1
  504. package/core/Icon/components/icon-tech-diffusion-data.js +1 -1
  505. package/core/Icon/components/icon-tech-diffusion-data.js.map +1 -1
  506. package/core/Icon/components/icon-tech-django.js +1 -1
  507. package/core/Icon/components/icon-tech-django.js.map +1 -1
  508. package/core/Icon/components/icon-tech-engineio.js +1 -1
  509. package/core/Icon/components/icon-tech-engineio.js.map +1 -1
  510. package/core/Icon/components/icon-tech-event-driven-servers.js +1 -1
  511. package/core/Icon/components/icon-tech-event-driven-servers.js.map +1 -1
  512. package/core/Icon/components/icon-tech-fanout-io.js +1 -1
  513. package/core/Icon/components/icon-tech-fanout-io.js.map +1 -1
  514. package/core/Icon/components/icon-tech-fast-api.js +1 -1
  515. package/core/Icon/components/icon-tech-fast-api.js.map +1 -1
  516. package/core/Icon/components/icon-tech-fauna.js +1 -1
  517. package/core/Icon/components/icon-tech-fauna.js.map +1 -1
  518. package/core/Icon/components/icon-tech-featherjs.js +1 -1
  519. package/core/Icon/components/icon-tech-featherjs.js.map +1 -1
  520. package/core/Icon/components/icon-tech-firebase-cloud-messaging.js +1 -1
  521. package/core/Icon/components/icon-tech-firebase-cloud-messaging.js.map +1 -1
  522. package/core/Icon/components/icon-tech-firebase.js +1 -1
  523. package/core/Icon/components/icon-tech-firebase.js.map +1 -1
  524. package/core/Icon/components/icon-tech-flutter.js +1 -1
  525. package/core/Icon/components/icon-tech-flutter.js.map +1 -1
  526. package/core/Icon/components/icon-tech-gcloudbigquery.js +1 -1
  527. package/core/Icon/components/icon-tech-gcloudbigquery.js.map +1 -1
  528. package/core/Icon/components/icon-tech-gclouddataflow.js +1 -1
  529. package/core/Icon/components/icon-tech-gclouddataflow.js.map +1 -1
  530. package/core/Icon/components/icon-tech-gcloudfunctions.js +1 -1
  531. package/core/Icon/components/icon-tech-gcloudfunctions.js.map +1 -1
  532. package/core/Icon/components/icon-tech-gcloudpubsub.js +1 -1
  533. package/core/Icon/components/icon-tech-gcloudpubsub.js.map +1 -1
  534. package/core/Icon/components/icon-tech-go.js +1 -1
  535. package/core/Icon/components/icon-tech-go.js.map +1 -1
  536. package/core/Icon/components/icon-tech-grpc.js +1 -1
  537. package/core/Icon/components/icon-tech-grpc.js.map +1 -1
  538. package/core/Icon/components/icon-tech-hivemq.js +1 -1
  539. package/core/Icon/components/icon-tech-hivemq.js.map +1 -1
  540. package/core/Icon/components/icon-tech-http2.js +1 -1
  541. package/core/Icon/components/icon-tech-http2.js.map +1 -1
  542. package/core/Icon/components/icon-tech-http3.js +1 -1
  543. package/core/Icon/components/icon-tech-http3.js.map +1 -1
  544. package/core/Icon/components/icon-tech-httprest.js +1 -1
  545. package/core/Icon/components/icon-tech-httprest.js.map +1 -1
  546. package/core/Icon/components/icon-tech-idempotency.js +1 -1
  547. package/core/Icon/components/icon-tech-idempotency.js.map +1 -1
  548. package/core/Icon/components/icon-tech-ifttt.js +1 -1
  549. package/core/Icon/components/icon-tech-ifttt.js.map +1 -1
  550. package/core/Icon/components/icon-tech-integrations.js +1 -1
  551. package/core/Icon/components/icon-tech-integrations.js.map +1 -1
  552. package/core/Icon/components/icon-tech-ios-generic.js +1 -1
  553. package/core/Icon/components/icon-tech-ios-generic.js.map +1 -1
  554. package/core/Icon/components/icon-tech-ios.js +1 -1
  555. package/core/Icon/components/icon-tech-ios.js.map +1 -1
  556. package/core/Icon/components/icon-tech-ipados.js +1 -1
  557. package/core/Icon/components/icon-tech-ipados.js.map +1 -1
  558. package/core/Icon/components/icon-tech-ipfs.js +1 -1
  559. package/core/Icon/components/icon-tech-ipfs.js.map +1 -1
  560. package/core/Icon/components/icon-tech-ironmq.js +1 -1
  561. package/core/Icon/components/icon-tech-ironmq.js.map +1 -1
  562. package/core/Icon/components/icon-tech-java.js +1 -1
  563. package/core/Icon/components/icon-tech-java.js.map +1 -1
  564. package/core/Icon/components/icon-tech-javascript.js +1 -1
  565. package/core/Icon/components/icon-tech-javascript.js.map +1 -1
  566. package/core/Icon/components/icon-tech-jms.js +1 -1
  567. package/core/Icon/components/icon-tech-jms.js.map +1 -1
  568. package/core/Icon/components/icon-tech-json-web-tokens.js +1 -1
  569. package/core/Icon/components/icon-tech-json-web-tokens.js.map +1 -1
  570. package/core/Icon/components/icon-tech-json.js +1 -1
  571. package/core/Icon/components/icon-tech-json.js.map +1 -1
  572. package/core/Icon/components/icon-tech-kaazing.js +1 -1
  573. package/core/Icon/components/icon-tech-kaazing.js.map +1 -1
  574. package/core/Icon/components/icon-tech-kotlin.js +1 -1
  575. package/core/Icon/components/icon-tech-kotlin.js.map +1 -1
  576. package/core/Icon/components/icon-tech-ksql-db.js +1 -1
  577. package/core/Icon/components/icon-tech-ksql-db.js.map +1 -1
  578. package/core/Icon/components/icon-tech-kubernetes.js +1 -1
  579. package/core/Icon/components/icon-tech-kubernetes.js.map +1 -1
  580. package/core/Icon/components/icon-tech-laravel-broadcast.js +1 -1
  581. package/core/Icon/components/icon-tech-laravel-broadcast.js.map +1 -1
  582. package/core/Icon/components/icon-tech-laravel-echo.js +1 -1
  583. package/core/Icon/components/icon-tech-laravel-echo.js.map +1 -1
  584. package/core/Icon/components/icon-tech-lightstreamer.js +1 -1
  585. package/core/Icon/components/icon-tech-lightstreamer.js.map +1 -1
  586. package/core/Icon/components/icon-tech-liveblocks.js +1 -1
  587. package/core/Icon/components/icon-tech-liveblocks.js.map +1 -1
  588. package/core/Icon/components/icon-tech-longpolling.js +1 -1
  589. package/core/Icon/components/icon-tech-longpolling.js.map +1 -1
  590. package/core/Icon/components/icon-tech-macos.js +1 -1
  591. package/core/Icon/components/icon-tech-macos.js.map +1 -1
  592. package/core/Icon/components/icon-tech-matrix.js +1 -1
  593. package/core/Icon/components/icon-tech-matrix.js.map +1 -1
  594. package/core/Icon/components/icon-tech-meteor.js +1 -1
  595. package/core/Icon/components/icon-tech-meteor.js.map +1 -1
  596. package/core/Icon/components/icon-tech-mongo-db.js +1 -1
  597. package/core/Icon/components/icon-tech-mongo-db.js.map +1 -1
  598. package/core/Icon/components/icon-tech-mono.js +1 -1
  599. package/core/Icon/components/icon-tech-mono.js.map +1 -1
  600. package/core/Icon/components/icon-tech-mqtt.js +1 -1
  601. package/core/Icon/components/icon-tech-mqtt.js.map +1 -1
  602. package/core/Icon/components/icon-tech-mysql.js +1 -1
  603. package/core/Icon/components/icon-tech-mysql.js.map +1 -1
  604. package/core/Icon/components/icon-tech-native-script.js +1 -1
  605. package/core/Icon/components/icon-tech-native-script.js.map +1 -1
  606. package/core/Icon/components/icon-tech-net.js +1 -1
  607. package/core/Icon/components/icon-tech-net.js.map +1 -1
  608. package/core/Icon/components/icon-tech-netlify.js +1 -1
  609. package/core/Icon/components/icon-tech-netlify.js.map +1 -1
  610. package/core/Icon/components/icon-tech-nextjs.js +1 -1
  611. package/core/Icon/components/icon-tech-nextjs.js.map +1 -1
  612. package/core/Icon/components/icon-tech-nkn.js +1 -1
  613. package/core/Icon/components/icon-tech-nkn.js.map +1 -1
  614. package/core/Icon/components/icon-tech-nodejs.js +1 -1
  615. package/core/Icon/components/icon-tech-nodejs.js.map +1 -1
  616. package/core/Icon/components/icon-tech-objectivec.js +1 -1
  617. package/core/Icon/components/icon-tech-objectivec.js.map +1 -1
  618. package/core/Icon/components/icon-tech-openai.js +1 -1
  619. package/core/Icon/components/icon-tech-openai.js.map +1 -1
  620. package/core/Icon/components/icon-tech-parse-server.js +1 -1
  621. package/core/Icon/components/icon-tech-parse-server.js.map +1 -1
  622. package/core/Icon/components/icon-tech-php.js +1 -1
  623. package/core/Icon/components/icon-tech-php.js.map +1 -1
  624. package/core/Icon/components/icon-tech-planetscale.js +1 -1
  625. package/core/Icon/components/icon-tech-planetscale.js.map +1 -1
  626. package/core/Icon/components/icon-tech-postgres.js +1 -1
  627. package/core/Icon/components/icon-tech-postgres.js.map +1 -1
  628. package/core/Icon/components/icon-tech-prisma.js +1 -1
  629. package/core/Icon/components/icon-tech-prisma.js.map +1 -1
  630. package/core/Icon/components/icon-tech-programminglanguages.js +1 -1
  631. package/core/Icon/components/icon-tech-programminglanguages.js.map +1 -1
  632. package/core/Icon/components/icon-tech-protcol-adaptors.js +1 -1
  633. package/core/Icon/components/icon-tech-protcol-adaptors.js.map +1 -1
  634. package/core/Icon/components/icon-tech-protocols.js +1 -1
  635. package/core/Icon/components/icon-tech-protocols.js.map +1 -1
  636. package/core/Icon/components/icon-tech-pub-sub.js +1 -1
  637. package/core/Icon/components/icon-tech-pub-sub.js.map +1 -1
  638. package/core/Icon/components/icon-tech-pubnub.js +1 -1
  639. package/core/Icon/components/icon-tech-pubnub.js.map +1 -1
  640. package/core/Icon/components/icon-tech-push-technology.js +1 -1
  641. package/core/Icon/components/icon-tech-push-technology.js.map +1 -1
  642. package/core/Icon/components/icon-tech-pusher.js +1 -1
  643. package/core/Icon/components/icon-tech-pusher.js.map +1 -1
  644. package/core/Icon/components/icon-tech-python.js +1 -1
  645. package/core/Icon/components/icon-tech-python.js.map +1 -1
  646. package/core/Icon/components/icon-tech-quic.js +1 -1
  647. package/core/Icon/components/icon-tech-quic.js.map +1 -1
  648. package/core/Icon/components/icon-tech-rabbitMQ.js +1 -1
  649. package/core/Icon/components/icon-tech-rabbitMQ.js.map +1 -1
  650. package/core/Icon/components/icon-tech-railsactioncable.js +1 -1
  651. package/core/Icon/components/icon-tech-railsactioncable.js.map +1 -1
  652. package/core/Icon/components/icon-tech-react-app.js +1 -1
  653. package/core/Icon/components/icon-tech-react-app.js.map +1 -1
  654. package/core/Icon/components/icon-tech-react.js +1 -1
  655. package/core/Icon/components/icon-tech-react.js.map +1 -1
  656. package/core/Icon/components/icon-tech-reactnative.js +1 -1
  657. package/core/Icon/components/icon-tech-reactnative.js.map +1 -1
  658. package/core/Icon/components/icon-tech-redis.js +1 -1
  659. package/core/Icon/components/icon-tech-redis.js.map +1 -1
  660. package/core/Icon/components/icon-tech-redpanda.js +1 -1
  661. package/core/Icon/components/icon-tech-redpanda.js.map +1 -1
  662. package/core/Icon/components/icon-tech-replicache.js +1 -1
  663. package/core/Icon/components/icon-tech-replicache.js.map +1 -1
  664. package/core/Icon/components/icon-tech-rethinkdb.js +1 -1
  665. package/core/Icon/components/icon-tech-rethinkdb.js.map +1 -1
  666. package/core/Icon/components/icon-tech-rocketmq.js +1 -1
  667. package/core/Icon/components/icon-tech-rocketmq.js.map +1 -1
  668. package/core/Icon/components/icon-tech-ruby.js +1 -1
  669. package/core/Icon/components/icon-tech-ruby.js.map +1 -1
  670. package/core/Icon/components/icon-tech-scala.js +1 -1
  671. package/core/Icon/components/icon-tech-scala.js.map +1 -1
  672. package/core/Icon/components/icon-tech-scaledrone.js +1 -1
  673. package/core/Icon/components/icon-tech-scaledrone.js.map +1 -1
  674. package/core/Icon/components/icon-tech-serversentevents.js +1 -1
  675. package/core/Icon/components/icon-tech-serversentevents.js.map +1 -1
  676. package/core/Icon/components/icon-tech-serversideframeworks.js +1 -1
  677. package/core/Icon/components/icon-tech-serversideframeworks.js.map +1 -1
  678. package/core/Icon/components/icon-tech-signalR.js +1 -1
  679. package/core/Icon/components/icon-tech-signalR.js.map +1 -1
  680. package/core/Icon/components/icon-tech-snowflake.js +1 -1
  681. package/core/Icon/components/icon-tech-snowflake.js.map +1 -1
  682. package/core/Icon/components/icon-tech-socketio.js +1 -1
  683. package/core/Icon/components/icon-tech-socketio.js.map +1 -1
  684. package/core/Icon/components/icon-tech-sockjs.js +1 -1
  685. package/core/Icon/components/icon-tech-sockjs.js.map +1 -1
  686. package/core/Icon/components/icon-tech-solace.js +1 -1
  687. package/core/Icon/components/icon-tech-solace.js.map +1 -1
  688. package/core/Icon/components/icon-tech-spring.js +1 -1
  689. package/core/Icon/components/icon-tech-spring.js.map +1 -1
  690. package/core/Icon/components/icon-tech-stomp.js +1 -1
  691. package/core/Icon/components/icon-tech-stomp.js.map +1 -1
  692. package/core/Icon/components/icon-tech-streamdata-io.js +1 -1
  693. package/core/Icon/components/icon-tech-streamdata-io.js.map +1 -1
  694. package/core/Icon/components/icon-tech-streamr.js +1 -1
  695. package/core/Icon/components/icon-tech-streamr.js.map +1 -1
  696. package/core/Icon/components/icon-tech-swift.js +1 -1
  697. package/core/Icon/components/icon-tech-swift.js.map +1 -1
  698. package/core/Icon/components/icon-tech-symfony-mercure.js +1 -1
  699. package/core/Icon/components/icon-tech-symfony-mercure.js.map +1 -1
  700. package/core/Icon/components/icon-tech-symfony.js +1 -1
  701. package/core/Icon/components/icon-tech-symfony.js.map +1 -1
  702. package/core/Icon/components/icon-tech-tcp-ip.js +1 -1
  703. package/core/Icon/components/icon-tech-tcp-ip.js.map +1 -1
  704. package/core/Icon/components/icon-tech-tenefit.js +1 -1
  705. package/core/Icon/components/icon-tech-tenefit.js.map +1 -1
  706. package/core/Icon/components/icon-tech-terraform.js +1 -1
  707. package/core/Icon/components/icon-tech-terraform.js.map +1 -1
  708. package/core/Icon/components/icon-tech-tvos.js +1 -1
  709. package/core/Icon/components/icon-tech-tvos.js.map +1 -1
  710. package/core/Icon/components/icon-tech-twilio.js +1 -1
  711. package/core/Icon/components/icon-tech-twilio.js.map +1 -1
  712. package/core/Icon/components/icon-tech-typescript.js +1 -1
  713. package/core/Icon/components/icon-tech-typescript.js.map +1 -1
  714. package/core/Icon/components/icon-tech-udp-protocol.js +1 -1
  715. package/core/Icon/components/icon-tech-udp-protocol.js.map +1 -1
  716. package/core/Icon/components/icon-tech-unity.js +1 -1
  717. package/core/Icon/components/icon-tech-unity.js.map +1 -1
  718. package/core/Icon/components/icon-tech-vercel.js +1 -1
  719. package/core/Icon/components/icon-tech-vercel.js.map +1 -1
  720. package/core/Icon/components/icon-tech-vscode.js +1 -1
  721. package/core/Icon/components/icon-tech-vscode.js.map +1 -1
  722. package/core/Icon/components/icon-tech-vuejs.js +1 -1
  723. package/core/Icon/components/icon-tech-vuejs.js.map +1 -1
  724. package/core/Icon/components/icon-tech-wamp.js +1 -1
  725. package/core/Icon/components/icon-tech-wamp.js.map +1 -1
  726. package/core/Icon/components/icon-tech-watchos.js +1 -1
  727. package/core/Icon/components/icon-tech-watchos.js.map +1 -1
  728. package/core/Icon/components/icon-tech-web-push.js +1 -1
  729. package/core/Icon/components/icon-tech-web-push.js.map +1 -1
  730. package/core/Icon/components/icon-tech-web.js +1 -1
  731. package/core/Icon/components/icon-tech-web.js.map +1 -1
  732. package/core/Icon/components/icon-tech-webhooks.js +1 -1
  733. package/core/Icon/components/icon-tech-webhooks.js.map +1 -1
  734. package/core/Icon/components/icon-tech-webrtc.js +1 -1
  735. package/core/Icon/components/icon-tech-webrtc.js.map +1 -1
  736. package/core/Icon/components/icon-tech-websockets.js +1 -1
  737. package/core/Icon/components/icon-tech-websockets.js.map +1 -1
  738. package/core/Icon/components/icon-tech-websub.js +1 -1
  739. package/core/Icon/components/icon-tech-websub.js.map +1 -1
  740. package/core/Icon/components/icon-tech-xamarin.js +1 -1
  741. package/core/Icon/components/icon-tech-xamarin.js.map +1 -1
  742. package/core/Icon/components/icon-tech-xhr-streaming.js +1 -1
  743. package/core/Icon/components/icon-tech-xhr-streaming.js.map +1 -1
  744. package/core/Icon/components/icon-tech-xmpp.js +1 -1
  745. package/core/Icon/components/icon-tech-xmpp.js.map +1 -1
  746. package/core/Icon/components/icon-tech-zapier.js +1 -1
  747. package/core/Icon/components/icon-tech-zapier.js.map +1 -1
  748. package/core/Icon/components/icon-tech-zeromq.js +1 -1
  749. package/core/Icon/components/icon-tech-zeromq.js.map +1 -1
  750. package/core/Icon.js +1 -1
  751. package/core/Icon.js.map +1 -1
  752. package/core/LinkButton.js +1 -1
  753. package/core/LinkButton.js.map +1 -1
  754. package/core/Loader.js +2 -2
  755. package/core/Loader.js.map +1 -1
  756. package/core/Logo.js +1 -1
  757. package/core/Logo.js.map +1 -1
  758. package/core/Meganav/MeganavMobile.js +1 -1
  759. package/core/Meganav/MeganavMobile.js.map +1 -1
  760. package/core/Meganav/MeganavPanel.js +1 -1
  761. package/core/Meganav/MeganavPanel.js.map +1 -1
  762. package/core/Meganav/MeganavProductTile.js +1 -1
  763. package/core/Meganav/MeganavProductTile.js.map +1 -1
  764. package/core/Meganav/data.js +1 -1
  765. package/core/Meganav/data.js.map +1 -1
  766. package/core/Meganav.js +1 -1
  767. package/core/Meganav.js.map +1 -1
  768. package/core/Notice.js +1 -1
  769. package/core/Notice.js.map +1 -1
  770. package/core/Pricing/PricingCards.js +1 -1
  771. package/core/Pricing/PricingCards.js.map +1 -1
  772. package/core/Pricing/data.js +1 -1
  773. package/core/Pricing/data.js.map +1 -1
  774. package/core/ProductTile/ProductDescription.js +1 -1
  775. package/core/ProductTile/ProductDescription.js.map +1 -1
  776. package/core/ProductTile/ProductIcon.js +1 -1
  777. package/core/ProductTile/ProductIcon.js.map +1 -1
  778. package/core/ProductTile/ProductLabel.js +1 -1
  779. package/core/ProductTile/ProductLabel.js.map +1 -1
  780. package/core/ProductTile.js +1 -1
  781. package/core/ProductTile.js.map +1 -1
  782. package/core/SegmentedControl.js +1 -1
  783. package/core/SegmentedControl.js.map +1 -1
  784. package/core/Slider.js +1 -1
  785. package/core/Slider.js.map +1 -1
  786. package/core/Status.js +1 -1
  787. package/core/Status.js.map +1 -1
  788. package/core/TabMenu.js +1 -1
  789. package/core/TabMenu.js.map +1 -1
  790. package/core/Table/Table.js +1 -1
  791. package/core/Table/Table.js.map +1 -1
  792. package/core/Table/TableCell.js +2 -2
  793. package/core/Table/TableCell.js.map +1 -1
  794. package/core/Table/TableRow.js +1 -1
  795. package/core/Table/TableRow.js.map +1 -1
  796. package/core/Table/data.js +1 -1
  797. package/core/Table/data.js.map +1 -1
  798. package/core/Toggle.js +1 -1
  799. package/core/Toggle.js.map +1 -1
  800. package/core/Tooltip.js +1 -1
  801. package/core/Tooltip.js.map +1 -1
  802. package/core/fonts/NEXT-Book-Light-Italic.eot +0 -0
  803. package/core/fonts/NEXT-Book-Light-Italic.otf +0 -0
  804. package/core/fonts/NEXT-Book-Light-Italic.woff +0 -0
  805. package/core/fonts/NEXT-Book-Light-Italic.woff2 +0 -0
  806. package/core/fonts/NEXT-Book-Light.eot +0 -0
  807. package/core/fonts/NEXT-Book-Light.otf +0 -0
  808. package/core/fonts/NEXT-Book-Light.woff +0 -0
  809. package/core/fonts/NEXT-Book-Light.woff2 +0 -0
  810. package/core/fonts/NEXT-Book-Medium-Italic.eot +0 -0
  811. package/core/fonts/NEXT-Book-Medium-Italic.otf +0 -0
  812. package/core/fonts/NEXT-Book-Medium-Italic.woff +0 -0
  813. package/core/fonts/NEXT-Book-Medium-Italic.woff2 +0 -0
  814. package/core/fonts/NEXT-Book-Medium.eot +0 -0
  815. package/core/fonts/NEXT-Book-Medium.otf +0 -0
  816. package/core/fonts/NEXT-Book-Medium.woff +0 -0
  817. package/core/fonts/NEXT-Book-Medium.woff2 +0 -0
  818. package/core/images/cust-logo-mentimeter-mono-pos.svg +0 -0
  819. package/core/insights/command-queue.js.map +1 -1
  820. package/core/react-renderer.js +1 -1
  821. package/core/react-renderer.js.map +1 -1
  822. package/core/remote-blogs-posts.js.map +1 -1
  823. package/core/remote-session-data.js.map +1 -1
  824. package/core/styles/forms/story-components.js +1 -1
  825. package/core/styles/forms/story-components.js.map +1 -1
  826. package/index.d.ts +2 -2
  827. package/package.json +28 -26
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/core/Tooltip.tsx"],"sourcesContent":["import React, {\n ButtonHTMLAttributes,\n HTMLAttributes,\n PropsWithChildren,\n ReactNode,\n useRef,\n useState,\n MouseEvent,\n RefObject,\n useEffect,\n} from \"react\";\nimport { createPortal } from \"react-dom\";\nimport Icon from \"./Icon\";\nimport cn from \"./utils/cn\";\n\ntype TooltipProps = {\n triggerElement?: ReactNode;\n triggerProps?: ButtonHTMLAttributes<HTMLButtonElement>;\n tooltipProps?: HTMLAttributes<HTMLDivElement>;\n interactive?: boolean;\n} & HTMLAttributes<HTMLDivElement>;\n\nconst Tooltip = ({\n children,\n triggerElement,\n triggerProps,\n tooltipProps,\n interactive = false,\n ...rest\n}: PropsWithChildren<TooltipProps>) => {\n const [open, setOpen] = useState(false);\n const [fadeOut, setFadeOut] = useState(false);\n const [position, setPosition] = useState({ x: 0, y: 0, orientation: \"top\" });\n const offset = 8;\n const reference = useRef<HTMLButtonElement>(null);\n const floating = useRef<HTMLDivElement>(null);\n const fadeOutTimeoutRef = useRef<NodeJS.Timeout | null>(null);\n\n useEffect(() => {\n if (open) {\n const floatingRect = floating.current?.getBoundingClientRect();\n const referenceRect = reference.current?.getBoundingClientRect();\n const viewportWidth = window.innerWidth;\n const viewportHeight = window.innerHeight;\n let orientation = \"top\";\n\n if (floatingRect && referenceRect) {\n let x =\n referenceRect.left +\n referenceRect.width / 2 -\n floatingRect.width / 2 +\n window.scrollX;\n let y =\n referenceRect.top - floatingRect.height - offset + window.scrollY;\n\n // Adjust if tooltip goes off the right edge\n if (x + floatingRect.width > viewportWidth + window.scrollX) {\n x = viewportWidth + window.scrollX - floatingRect.width - offset;\n orientation = \"left\";\n }\n\n // Adjust if tooltip goes off the left edge\n if (x < window.scrollX) {\n x = window.scrollX + offset;\n orientation = \"right\";\n }\n\n // Adjust if tooltip goes off the top edge\n if (y < window.scrollY) {\n y = referenceRect.bottom + offset + window.scrollY;\n orientation = \"bottom\";\n }\n\n // Adjust if tooltip goes off the bottom edge\n if (y + floatingRect.height > viewportHeight + window.scrollY) {\n y = referenceRect.top - floatingRect.height - offset + window.scrollY;\n }\n\n setPosition({ x, y, orientation });\n }\n } else {\n setPosition({ x: 0, y: 0, orientation: \"top\" });\n }\n\n return () => {\n if (fadeOutTimeoutRef.current !== null) {\n clearTimeout(fadeOutTimeoutRef.current);\n }\n };\n }, [open]);\n\n const initiateFadeOut = () => {\n setFadeOut(true);\n fadeOutTimeoutRef.current = setTimeout(() => {\n setOpen(false);\n setFadeOut(false);\n }, 250);\n };\n\n const cursorTowardsTooltip = (\n event: MouseEvent,\n ref: RefObject<HTMLButtonElement>,\n ) => {\n if (!ref.current) {\n return false;\n }\n\n const { clientX, clientY } = event;\n const { x, y, width, height } = ref.current.getBoundingClientRect();\n const { orientation } = position;\n\n switch (orientation) {\n case \"top\":\n return clientX >= x && clientX <= x + width && clientY < y;\n case \"left\":\n return clientY >= y && clientY <= y + height && clientX < x;\n case \"right\":\n return clientY >= y && clientY <= y + height && clientX > x + width;\n case \"bottom\":\n return clientX >= x && clientX <= x + width && clientY > y + height;\n default:\n return false;\n }\n };\n\n const fadeOutIfNotWithinTrigger = (event: MouseEvent) => {\n if (!reference.current) return;\n\n const { clientX, clientY } = event;\n const { x, y, width, height } = reference.current.getBoundingClientRect();\n const withinBounds =\n clientX >= x &&\n clientX <= x + width &&\n clientY >= y &&\n clientY <= y + height;\n\n if (!withinBounds) {\n initiateFadeOut();\n }\n };\n\n return (\n <div {...rest} className={cn(\"inline-flex ml-2\", rest?.className)}>\n <button\n onMouseEnter={() => setOpen(true)}\n onMouseLeave={(event) => {\n if (!interactive || !cursorTowardsTooltip(event, reference)) {\n initiateFadeOut();\n }\n }}\n type=\"button\"\n ref={reference}\n aria-describedby=\"tooltip\"\n {...triggerProps}\n className={`p-0 relative focus:outline-none h-[1rem] ${\n triggerProps?.className ?? \"\"\n }`}\n >\n {triggerElement ?? (\n <Icon\n name=\"icon-gui-information-circle-micro\"\n color=\"text-neutral-800 dark:text-neutral-500\"\n size=\"1rem\"\n />\n )}\n </button>\n\n {open\n ? createPortal(\n <div\n role=\"tooltip\"\n ref={floating}\n onMouseLeave={(event) =>\n setTimeout(() => fadeOutIfNotWithinTrigger(event), 250)\n }\n style={{\n top: position.y,\n left: position.x,\n zIndex: 1000,\n boxShadow: \"4px 4px 15px rgba(0, 0, 0, 0.2)\",\n }}\n {...tooltipProps}\n className={cn(\n \"bg-neutral-1000 dark:bg-neutral-300 text-neutral-200 dark:text-neutral-1000 ui-text-p3 font-medium p-4\",\n { \"pointer-events-none\": !interactive },\n \"rounded-lg absolute\",\n tooltipProps?.className,\n { \"animate-[tooltipExit_0.25s_ease-in-out]\": fadeOut },\n { \"animate-[tooltipEntry_0.25s_ease-in-out]\": !fadeOut },\n )}\n >\n <div className=\"max-w-60 w-auto\">{children}</div>\n </div>,\n document.body,\n )\n : null}\n </div>\n );\n};\n\nexport default Tooltip;\n"],"names":["React","useRef","useState","useEffect","createPortal","Icon","cn","Tooltip","children","triggerElement","triggerProps","tooltipProps","interactive","rest","open","setOpen","fadeOut","setFadeOut","position","setPosition","x","y","orientation","offset","reference","floating","fadeOutTimeoutRef","floatingRect","current","getBoundingClientRect","referenceRect","viewportWidth","window","innerWidth","viewportHeight","innerHeight","left","width","scrollX","top","height","scrollY","bottom","clearTimeout","initiateFadeOut","setTimeout","cursorTowardsTooltip","event","ref","clientX","clientY","fadeOutIfNotWithinTrigger","withinBounds","div","className","button","onMouseEnter","onMouseLeave","type","aria-describedby","name","color","size","role","style","zIndex","boxShadow","document","body"],"mappings":"AAAA,OAAOA,OAKLC,MAAM,CACNC,QAAQ,CAGRC,SAAS,KACJ,OAAQ,AACf,QAASC,YAAY,KAAQ,WAAY,AACzC,QAAOC,SAAU,QAAS,AAC1B,QAAOC,OAAQ,YAAa,CAS5B,MAAMC,QAAU,CAAC,CACfC,QAAQ,CACRC,cAAc,CACdC,YAAY,CACZC,YAAY,CACZC,YAAc,KAAK,CACnB,GAAGC,KAC6B,IAChC,KAAM,CAACC,KAAMC,QAAQ,CAAGb,SAAS,OACjC,KAAM,CAACc,QAASC,WAAW,CAAGf,SAAS,OACvC,KAAM,CAACgB,SAAUC,YAAY,CAAGjB,SAAS,CAAEkB,EAAG,EAAGC,EAAG,EAAGC,YAAa,KAAM,GAC1E,MAAMC,OAAS,EACf,MAAMC,UAAYvB,OAA0B,MAC5C,MAAMwB,SAAWxB,OAAuB,MACxC,MAAMyB,kBAAoBzB,OAA8B,MAExDE,UAAU,KACR,GAAIW,KAAM,CACR,MAAMa,aAAeF,SAASG,OAAO,EAAEC,wBACvC,MAAMC,cAAgBN,UAAUI,OAAO,EAAEC,wBACzC,MAAME,cAAgBC,OAAOC,UAAU,CACvC,MAAMC,eAAiBF,OAAOG,WAAW,CACzC,IAAIb,YAAc,MAElB,GAAIK,cAAgBG,cAAe,CACjC,IAAIV,EACFU,cAAcM,IAAI,CAClBN,cAAcO,KAAK,CAAG,EACtBV,aAAaU,KAAK,CAAG,EACrBL,OAAOM,OAAO,CAChB,IAAIjB,EACFS,cAAcS,GAAG,CAAGZ,aAAaa,MAAM,CAAGjB,OAASS,OAAOS,OAAO,CAGnE,GAAIrB,EAAIO,aAAaU,KAAK,CAAGN,cAAgBC,OAAOM,OAAO,CAAE,CAC3DlB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AWhD,GACT,yGACA,CAAE,sBAAuB,CAACM,WAAY,EACtC,sBACAD,cAAc2C,UACd,CAAE,0CAA2CtC,OAAQ,EACrD,CAAE,2CAA4C,CAACA,OAAQ,IAGzD,oBAACqC,OAAIC,UAAU,mBAAmB9C,WAEpC2D,SAASC,IAAI,EAEf,KAGV,CAEA,gBAAe7D,OAAQ"}
1
+ {"version":3,"sources":["../../src/core/Tooltip.tsx"],"sourcesContent":["import React, {\n ButtonHTMLAttributes,\n HTMLAttributes,\n PropsWithChildren,\n ReactNode,\n useRef,\n useState,\n MouseEvent,\n RefObject,\n useEffect,\n} from \"react\";\nimport { createPortal } from \"react-dom\";\nimport Icon from \"./Icon\";\nimport cn from \"./utils/cn\";\n\ntype TooltipProps = {\n triggerElement?: ReactNode;\n triggerProps?: ButtonHTMLAttributes<HTMLButtonElement>;\n tooltipProps?: HTMLAttributes<HTMLDivElement>;\n interactive?: boolean;\n} & HTMLAttributes<HTMLDivElement>;\n\nconst Tooltip = ({\n children,\n triggerElement,\n triggerProps,\n tooltipProps,\n interactive = false,\n ...rest\n}: PropsWithChildren<TooltipProps>) => {\n const [open, setOpen] = useState(false);\n const [fadeOut, setFadeOut] = useState(false);\n const [position, setPosition] = useState({ x: 0, y: 0, orientation: \"top\" });\n const offset = 8;\n const reference = useRef<HTMLButtonElement>(null);\n const floating = useRef<HTMLDivElement>(null);\n const fadeOutTimeoutRef = useRef<NodeJS.Timeout | null>(null);\n\n useEffect(() => {\n if (open) {\n const floatingRect = floating.current?.getBoundingClientRect();\n const referenceRect = reference.current?.getBoundingClientRect();\n const viewportWidth = window.innerWidth;\n const viewportHeight = window.innerHeight;\n let orientation = \"top\";\n\n if (floatingRect && referenceRect) {\n let x =\n referenceRect.left +\n referenceRect.width / 2 -\n floatingRect.width / 2 +\n window.scrollX;\n let y =\n referenceRect.top - floatingRect.height - offset + window.scrollY;\n\n // Adjust if tooltip goes off the right edge\n if (x + floatingRect.width > viewportWidth + window.scrollX) {\n x = viewportWidth + window.scrollX - floatingRect.width - offset;\n orientation = \"left\";\n }\n\n // Adjust if tooltip goes off the left edge\n if (x < window.scrollX) {\n x = window.scrollX + offset;\n orientation = \"right\";\n }\n\n // Adjust if tooltip goes off the top edge\n if (y < window.scrollY) {\n y = referenceRect.bottom + offset + window.scrollY;\n orientation = \"bottom\";\n }\n\n // Adjust if tooltip goes off the bottom edge\n if (y + floatingRect.height > viewportHeight + window.scrollY) {\n y = referenceRect.top - floatingRect.height - offset + window.scrollY;\n }\n\n setPosition({ x, y, orientation });\n }\n } else {\n setPosition({ x: 0, y: 0, orientation: \"top\" });\n }\n\n return () => {\n if (fadeOutTimeoutRef.current !== null) {\n clearTimeout(fadeOutTimeoutRef.current);\n }\n };\n }, [open]);\n\n const initiateFadeOut = () => {\n setFadeOut(true);\n fadeOutTimeoutRef.current = setTimeout(() => {\n setOpen(false);\n setFadeOut(false);\n }, 250);\n };\n\n const cursorTowardsTooltip = (\n event: MouseEvent,\n ref: RefObject<HTMLButtonElement>,\n ) => {\n if (!ref.current) {\n return false;\n }\n\n const { clientX, clientY } = event;\n const { x, y, width, height } = ref.current.getBoundingClientRect();\n const { orientation } = position;\n\n switch (orientation) {\n case \"top\":\n return clientX >= x && clientX <= x + width && clientY < y;\n case \"left\":\n return clientY >= y && clientY <= y + height && clientX < x;\n case \"right\":\n return clientY >= y && clientY <= y + height && clientX > x + width;\n case \"bottom\":\n return clientX >= x && clientX <= x + width && clientY > y + height;\n default:\n return false;\n }\n };\n\n const fadeOutIfNotWithinTrigger = (event: MouseEvent) => {\n if (!reference.current) return;\n\n const { clientX, clientY } = event;\n const { x, y, width, height } = reference.current.getBoundingClientRect();\n const withinBounds =\n clientX >= x &&\n clientX <= x + width &&\n clientY >= y &&\n clientY <= y + height;\n\n if (!withinBounds) {\n initiateFadeOut();\n }\n };\n\n return (\n <div {...rest} className={cn(\"inline-flex ml-2\", rest?.className)}>\n <button\n onMouseEnter={() => setOpen(true)}\n onMouseLeave={(event) => {\n if (!interactive || !cursorTowardsTooltip(event, reference)) {\n initiateFadeOut();\n }\n }}\n type=\"button\"\n ref={reference}\n aria-describedby=\"tooltip\"\n {...triggerProps}\n className={`p-0 relative focus:outline-none h-[1rem] ${\n triggerProps?.className ?? \"\"\n }`}\n >\n {triggerElement ?? (\n <Icon\n name=\"icon-gui-information-circle-micro\"\n color=\"text-neutral-800 dark:text-neutral-500\"\n size=\"1rem\"\n />\n )}\n </button>\n\n {open\n ? createPortal(\n <div\n role=\"tooltip\"\n ref={floating}\n onMouseLeave={(event) =>\n setTimeout(() => fadeOutIfNotWithinTrigger(event), 250)\n }\n style={{\n top: position.y,\n left: position.x,\n zIndex: 1000,\n boxShadow: \"4px 4px 15px rgba(0, 0, 0, 0.2)\",\n }}\n {...tooltipProps}\n className={cn(\n \"bg-neutral-1000 dark:bg-neutral-300 text-neutral-200 dark:text-neutral-1000 ui-text-p3 font-medium p-4\",\n { \"pointer-events-none\": !interactive },\n \"rounded-lg absolute\",\n tooltipProps?.className,\n { \"animate-[tooltipExit_0.25s_ease-in-out]\": fadeOut },\n { \"animate-[tooltipEntry_0.25s_ease-in-out]\": !fadeOut },\n )}\n >\n <div className=\"max-w-60 w-auto\">{children}</div>\n </div>,\n document.body,\n )\n : null}\n </div>\n );\n};\n\nexport default Tooltip;\n"],"names":["React","useRef","useState","useEffect","createPortal","Icon","cn","Tooltip","children","triggerElement","triggerProps","tooltipProps","interactive","rest","open","setOpen","fadeOut","setFadeOut","position","setPosition","x","y","orientation","offset","reference","floating","fadeOutTimeoutRef","floatingRect","current","getBoundingClientRect","referenceRect","viewportWidth","window","innerWidth","viewportHeight","innerHeight","left","width","scrollX","top","height","scrollY","bottom","clearTimeout","initiateFadeOut","setTimeout","cursorTowardsTooltip","event","ref","clientX","clientY","fadeOutIfNotWithinTrigger","withinBounds","div","className","button","onMouseEnter","onMouseLeave","type","aria-describedby","name","color","size","role","style","zIndex","boxShadow","document","body"],"mappings":"AAAA,OAAOA,OAKLC,MAAM,CACNC,Q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EA,gBAAe7D,OAAQ"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/core/insights/command-queue.ts"],"sourcesContent":["import {\n AnalyticsService,\n Command,\n InsightsConfig,\n InsightsIdentity,\n} from \"./types\";\nimport { InsightsService } from \"./service\";\nimport * as logger from \"./logger\";\n\n// Queue handler that will collect commands before initialization\nexport class InsightsCommandQueue implements AnalyticsService {\n private isInitialized: boolean = false;\n private queue: Command[] = [];\n private debugMode: boolean = false;\n private realImplementation: InsightsService | null = null;\n\n constructor() {\n // Create a proxy that will either queue commands or execute them directly\n return new Proxy(this, {\n get: (target: InsightsCommandQueue, prop: string) => {\n // Return actual properties of the queue\n if (prop in target && typeof target[prop] !== \"function\") {\n return target[prop];\n }\n\n // Return a function that either queues or executes the method call\n return (...args: unknown[]) => {\n if (!target.isInitialized || !target.realImplementation) {\n // Queue the command for later execution\n if (prop === \"initInsights\") {\n // Special handling for initInsights - execute it right away\n target.executeInitInsights(args[0] as InsightsConfig);\n return;\n }\n\n // For debug logging\n if (target.debugMode) {\n logger.debug(`Queuing method call: ${String(prop)}`, args);\n }\n\n target.queue.push({\n methodName: prop as keyof AnalyticsService,\n args,\n });\n\n return;\n }\n\n // Execute the command immediately on the real implementation\n if (typeof target.realImplementation[prop] === \"function\") {\n return target.realImplementation[prop](...args);\n }\n };\n },\n });\n }\n\n // Special handling for init since it needs to happen right away\n private executeInitInsights(config: InsightsConfig): void {\n this.debugMode = !!config.debug;\n\n if (this.debugMode) {\n logger.debug(\"Initializing insights\");\n }\n\n // Create and initialize the real implementation\n this.realImplementation = new InsightsService();\n this.realImplementation.initInsights(config);\n\n // Mark as initialized and process the queue\n this.isInitialized = true;\n this.processQueue();\n }\n\n // Process all queued commands\n private processQueue(): void {\n if (this.debugMode) {\n logger.debug(`Processing ${this.queue.length} queued commands`);\n }\n\n while (this.queue.length > 0) {\n const cmd = this.queue.shift();\n if (\n cmd &&\n this.realImplementation &&\n typeof this.realImplementation[cmd.methodName] === \"function\"\n ) {\n try {\n if (this.debugMode) {\n logger.debug(\n `Executing queued command: ${cmd.methodName}`,\n cmd.args,\n );\n }\n\n const fn = this.realImplementation[cmd.methodName] as (\n ...args: unknown[]\n ) => unknown;\n\n // Execute the command with the real implementation\n fn.apply(this.realImplementation, cmd.args as unknown[]);\n } catch (e) {\n if (this.debugMode) {\n logger.error(\n `Error executing queued command: ${cmd.methodName}`,\n e,\n );\n }\n }\n }\n }\n }\n\n // Implement all methods required by AnalyticsService to satisfy TypeScript\n // (These won't be called directly due to the proxy)\n initInsights(_config: InsightsConfig): void {}\n enableDebugMode(): void {}\n disableDebugMode(): void {}\n identify(_identity: InsightsIdentity): void {}\n trackPageView(): void {}\n track(_event: string, _properties?: Record<string, unknown>): void {}\n startSessionRecording(): void {}\n stopSessionRecording(): void {}\n setupObserver(): () => void {\n return () => {};\n }\n}\n"],"names":["InsightsService","logger","InsightsCommandQueue","executeInitInsights","config","debugMode","debug","realImplementation","initInsights","isInitialized","processQueue","queue","length","cmd","shift","methodName","args","fn","apply","e","error","_config","enableDebugMode","disableDebugMode","identify","_identity","trackPageView","track","_event","_properties","startSessionRecording","stopSessionRecording","setupObserver","Proxy","get","target","prop","String","push"],"mappings":"oLAMA,OAASA,eAAe,KAAQ,WAAY,AAC5C,WAAYC,WAAY,UAAW,AAGnC,QAAO,MAAMC,qBAgDX,AAAQC,oBAAoBC,MAAsB,CAAQ,CACxD,IAAI,CAACC,SAAS,CAAG,CAAC,CAACD,OAAOE,KAAK,CAE/B,GAAI,IAAI,CAACD,SAAS,CAAE,CAClBJ,OAAOK,KAAK,CAAC,wBACf,CAGA,IAAI,CAACC,kBAAkB,CAAG,IAAIP,gBAC9B,IAAI,CAACO,kBAAkB,CAACC,YAAY,CAACJ,OAGrC,CAAA,IAAI,CAACK,aAAa,CAAG,KACrB,IAAI,CA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AAI0B,MAAM,IAAI,CAAE,CACrBC,IAAK,CAACC,OAA8BC,QAElC,GAAIA,QAAQD,QAAU,OAAOA,MAAM,CAACC,KAAK,GAAK,WAAY,CACxD,OAAOD,MAAM,CAACC,KAAK,AACrB,CAGA,MAAO,CAAC,GAAGpB,QACT,GAAI,CAACmB,OAAO1B,aAAa,EAAI,CAAC0B,OAAO5B,kBAAkB,CAAE,CAEvD,GAAI6B,OAAS,eAAgB,CAE3BD,OAAOhC,mBAAmB,CAACa,IAAI,CAAC,EAAE,EAClC,MACF,CAGA,GAAImB,OAAO9B,SAAS,CAAE,CACpBJ,OAAOK,KAAK,CAAC,CAAC,qBAAqB,EAAE+B,OAAOD,MAAM,CAAC,CAAEpB,KACvD,CAEAmB,OAAOxB,KAAK,CAAC2B,IAAI,CAAC,CAChBvB,WAAYqB,KACZpB,IACF,GAEA,MACF,CAGA,GAAI,OAAOmB,OAAO5B,kBAAkB,CAAC6B,KAAK,GAAK,WAAY,CACzD,OAAOD,OAAO5B,kBAAkB,CAAC6B,KAAK,IAAIpB,KAC5C,CACF,CACF,CACF,EACF,CAuEF"}
1
+ {"version":3,"sources":["../../../src/core/insights/command-queue.ts"],"sourcesContent":["import {\n AnalyticsService,\n Command,\n InsightsConfig,\n InsightsIdentity,\n} from \"./types\";\nimport { InsightsService } from \"./service\";\nimport * as logger from \"./logger\";\n\n// Queue handler that will collect commands before initialization\nexport class InsightsCommandQueue implements AnalyticsService {\n private isInitialized: boolean = false;\n private queue: Command[] = [];\n private debugMode: boolean = false;\n private realImplementation: InsightsService | null = null;\n\n constructor() {\n // Create a proxy that will either queue commands or execute them directly\n return new Proxy(this, {\n get: (target: InsightsCommandQueue, prop: string) => {\n // Return actual properties of the queue\n if (prop in target && typeof target[prop] !== \"function\") {\n return target[prop];\n }\n\n // Return a function that either queues or executes the method call\n return (...args: unknown[]) => {\n if (!target.isInitialized || !target.realImplementation) {\n // Queue the command for later execution\n if (prop === \"initInsights\") {\n // Special handling for initInsights - execute it right away\n target.executeInitInsights(args[0] as InsightsConfig);\n return;\n }\n\n // For debug logging\n if (target.debugMode) {\n logger.debug(`Queuing method call: ${String(prop)}`, args);\n }\n\n target.queue.push({\n methodName: prop as keyof AnalyticsService,\n args,\n });\n\n return;\n }\n\n // Execute the command immediately on the real implementation\n if (typeof target.realImplementation[prop] === \"function\") {\n return target.realImplementation[prop](...args);\n }\n };\n },\n });\n }\n\n // Special handling for init since it needs to happen right away\n private executeInitInsights(config: InsightsConfig): void {\n this.debugMode = !!config.debug;\n\n if (this.debugMode) {\n logger.debug(\"Initializing insights\");\n }\n\n // Create and initialize the real implementation\n this.realImplementation = new InsightsService();\n this.realImplementation.initInsights(config);\n\n // Mark as initialized and process the queue\n this.isInitialized = true;\n this.processQueue();\n }\n\n // Process all queued commands\n private processQueue(): void {\n if (this.debugMode) {\n logger.debug(`Processing ${this.queue.length} queued commands`);\n }\n\n while (this.queue.length > 0) {\n const cmd = this.queue.shift();\n if (\n cmd &&\n this.realImplementation &&\n typeof this.realImplementation[cmd.methodName] === \"function\"\n ) {\n try {\n if (this.debugMode) {\n logger.debug(\n `Executing queued command: ${cmd.methodName}`,\n cmd.args,\n );\n }\n\n const fn = this.realImplementation[cmd.methodName] as (\n ...args: unknown[]\n ) => unknown;\n\n // Execute the command with the real implementation\n fn.apply(this.realImplementation, cmd.args as unknown[]);\n } catch (e) {\n if (this.debugMode) {\n logger.error(\n `Error executing queued command: ${cmd.methodName}`,\n e,\n );\n }\n }\n }\n }\n }\n\n // Implement all methods required by AnalyticsService to satisfy TypeScript\n // (These won't be called directly due to the proxy)\n initInsights(_config: InsightsConfig): void {}\n enableDebugMode(): void {}\n disableDebugMode(): void {}\n identify(_identity: InsightsIdentity): void {}\n trackPageView(): void {}\n track(_event: string, _properties?: Record<string, unknown>): void {}\n startSessionRecording(): void {}\n stopSessionRecording(): void {}\n setupObserver(): () => void {\n return () => {};\n }\n}\n"],"names":["InsightsService","logger","InsightsCommandQueue","executeInitInsights","config","debugMode","debug","realImplementation","initInsights","isInitialized","processQueue","queue","length","cmd","shift","methodName","args","fn","apply","e","error","_config","enableDebugMode","disableDebugMode","identify","_identity","trackPageView","track","_event","_properties","startSessionRecording","stopSessionRecording","setupObserver","constructor","Proxy","get","target","prop","String","push"],"mappings":"oLAMA,OAASA,eAAe,KAAQ,WAAY,AAC5C,WAAYC,WAAY,UAAW,AAGnC,QAAO,MAAMC,qBAgDX,AAAQC,oBAAoBC,MAAsB,CAAQ,CACxD,IAAI,CAACC,SAAS,CAAG,CAAC,CAACD,OAAOE,KAAK,CAE/B,GAAI,IAAI,CAACD,SAAS,CAAE,CAClBJ,OAAOK,KAAK,CAAC,wBACf,CAGA,IAAI,CAACC,kBAAkB,CAAG,IAAIP,gBAC9B,IAAI,CAACO,kBAAkB,CAACC,YAAY,CAACJ,OAGrC,CAAA,IAAI,CAACK,aAAa,CAAG,KACrB,IAAI,CAACC,YAAY,EACnB,CAGA,AAAQA,cAAqB,CAC3B,GAAI,IAAI,CAACL,SAAS,CAAE,CAClBJ,OAAOK,KAAK,CAAC,CAAC,WAAW,EAAE,IAAI,CAACK,KAAK,CAACC,MAAM,CAAC,gBAAgB,CAAC,CAChE,CAEA,MAAO,IAAI,CAACD,KAAK,CAACC,MAAM,CAAG,EAAG,CAC5B,MAAMC,IAAM,IAAI,CAACF,KAAK,CAACG,KAAK,GAC5B,GACED,KACA,IAAI,CAACN,kBAAkB,EACvB,OAAO,IAAI,CAACA,kBAAkB,CAACM,IAAIE,UAAU,CAAC,GAAK,WACnD,CACA,GAAI,CACF,GAAI,IAAI,CAACV,SAAS,CAAE,CAClBJ,OAAOK,KAAK,CACV,CAAC,0BAA0B,EAAEO,IAAIE,UAAU,CAAC,CAAC,CAC7CF,IAAIG,IAAI,CAEZ,CAEA,MAAMC,GAAK,IAAI,CAACV,kBAAkB,CAACM,IAAIE,UAAU,CAAC,CAKlDE,GAAGC,KAAK,CAAC,IAAI,CAACX,kBAAkB,CAAEM,IAAIG,IAAI,CAC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F,CACF,EACF,CAuEF"}
@@ -1,2 +1,2 @@
1
- import React from"react";import{createRoot}from"react-dom/client";const renderComponent=(Component,props,node)=>{const root=createRoot(node);root.render(React.createElement(Component,props))};export{renderComponent};export default function reactRenderer(components){const reactComponents=document.querySelectorAll("[data-react]");Array.from(reactComponents).forEach(node=>{const className=node.getAttribute("data-react")??"";const Constructor=components[className];if(!Constructor)return;const propsJson=node.getAttribute("data-react-props");const props=propsJson&&JSON.parse(propsJson||"");const root=createRoot(node);root.render(React.createElement(Constructor,props));node.removeAttribute("data-react");node.removeAttribute("data-react-props")})}
1
+ import React from"react";import{createRoot}from"react-dom/client";const renderComponent=(Component,props,node)=>{const root=createRoot(node);root.render(/*#__PURE__*/React.createElement(Component,props))};export{renderComponent};export default function reactRenderer(components){const reactComponents=document.querySelectorAll("[data-react]");Array.from(reactComponents).forEach(node=>{const className=node.getAttribute("data-react")??"";const Constructor=components[className];if(!Constructor)return;const propsJson=node.getAttribute("data-react-props");const props=propsJson&&JSON.parse(propsJson||"");const root=createRoot(node);root.render(/*#__PURE__*/React.createElement(Constructor,props));node.removeAttribute("data-react");node.removeAttribute("data-react-props")})}
2
2
  //# sourceMappingURL=react-renderer.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/core/react-renderer.tsx"],"sourcesContent":["import React from \"react\";\nimport { createRoot } from \"react-dom/client\";\n\nconst renderComponent = (Component, props, node) => {\n const root = createRoot(node);\n root.render(<Component {...props} />);\n};\n\nexport { renderComponent };\n\nexport default function reactRenderer(components) {\n const reactComponents = document.querySelectorAll(\"[data-react]\");\n\n Array.from(reactComponents).forEach((node) => {\n const className = node.getAttribute(\"data-react\") ?? \"\";\n const Constructor = components[className];\n\n if (!Constructor) return;\n\n const propsJson = node.getAttribute(\"data-react-props\");\n const props = propsJson && JSON.parse(propsJson || \"\");\n\n const root = createRoot(node);\n root.render(<Constructor {...props} />);\n\n node.removeAttribute(\"data-react\");\n node.removeAttribute(\"data-react-props\");\n });\n}\n"],"names":["React","createRoot","renderComponent","Component","props","node","root","render","reactRenderer","components","reactComponents","document","querySelectorAll","Array","from","forEach","className","getAttribute","Constructor","propsJson","JSON","parse","removeAttribute"],"mappings":"AAAA,OAAOA,UAAW,OAAQ,AAC1B,QAASC,UAAU,KAAQ,kBAAmB,CAE9C,MAAMC,gBAAkB,CAACC,UAAWC,MAAOC,QACzC,MAAMC,KAAOL,WAAWI,MACxBC,KAAKC,MAAM,CAAC,oBAACJ,UAAcC,OAC7B,CAEA,QAASF,eAAe,CAAG,AAE3B,gBAAe,SAASM,cAAcC,UAAU,EAC9C,MAAMC,gBAAkBC,SAASC,gBAAgB,CAAC,gBAElDC,MAAMC,IAAI,CAACJ,iBAAiBK,OAAO,CAAC,AAACV,OACnC,MAAMW,UAAYX,KAAKY,YAAY,CAAC,eAAiB,GACrD,MAAMC,YAAcT,UAAU,CAACO,UAAU,CAEzC,GAAI,CAACE,YAAa,OAElB,MAAMC,UAAYd,KAAKY,YAAY,CAAC,oBACpC,MAAMb,MAAQe,WAAaC,KAAKC,KAAK,CAACF,WAAa,IAEnD,MAAMb,KAAOL,WAAWI,MACxBC,KAAKC,MAAM,CAAC,oBAACW,YAAgBd,QAE7BC,KAAKiB,eAAe,CAAC,cACrBjB,KAAKiB,eAAe,CAAC,mBACvB,EACF"}
1
+ {"version":3,"sources":["../../src/core/react-renderer.tsx"],"sourcesContent":["import React from \"react\";\nimport { createRoot } from \"react-dom/client\";\n\nconst renderComponent = (Component, props, node) => {\n const root = createRoot(node);\n root.render(<Component {...props} />);\n};\n\nexport { renderComponent };\n\nexport default function reactRenderer(components) {\n const reactComponents = document.querySelectorAll(\"[data-react]\");\n\n Array.from(reactComponents).forEach((node) => {\n const className = node.getAttribute(\"data-react\") ?? \"\";\n const Constructor = components[className];\n\n if (!Constructor) return;\n\n const propsJson = node.getAttribute(\"data-react-props\");\n const props = propsJson && JSON.parse(propsJson || \"\");\n\n const root = createRoot(node);\n root.render(<Constructor {...props} />);\n\n node.removeAttribute(\"data-react\");\n node.removeAttribute(\"data-react-props\");\n });\n}\n"],"names":["React","createRoot","renderComponent","Component","props","node","root","render","reactRenderer","components","reactComponents","document","querySelectorAll","Array","from","forEach","className","getAttribute","Constructor","propsJson","JSON","parse","removeAttribute"],"mappings":"AAAA,OAAOA,UAAW,OAAQ,AAC1B,QAASC,UAAU,KAAQ,kBAAmB,CAE9C,MAAMC,gBAAkB,CAACC,UAAWC,MAAOC,QACzC,MAAMC,KAAOL,WAAWI,MACxBC,KAAKC,MAAM,cAAC,oBAACJ,UAAcC,OAC7B,CAEA,QAASF,eAAe,CAAG,AAE3B,gBAAe,SAASM,cAAcC,UAAU,EAC9C,MAAMC,gBAAkBC,SAASC,gBAAgB,CAAC,gBAElDC,MAAMC,IAAI,CAACJ,iBAAiBK,OAAO,CAAC,AAACV,OACnC,MAAMW,UAAYX,KAAKY,YAAY,CAAC,eAAiB,GACrD,MAAMC,YAAcT,UAAU,CAACO,UAAU,CAEzC,GAAI,CAACE,YAAa,OAElB,MAAMC,UAAYd,KAAKY,YAAY,CAAC,oBACpC,MAAMb,MAAQe,WAAaC,KAAKC,KAAK,CAACF,WAAa,IAEnD,MAAMb,KAAOL,WAAWI,MACxBC,KAAKC,MAAM,cAAC,oBAACW,YAAgBd,QAE7BC,KAAKiB,eAAe,CAAC,cACrBjB,KAAKiB,eAAe,CAAC,mBACvB,EACF"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/core/remote-blogs-posts.js"],"sourcesContent":["/* global __ENABLE_FETCH_WITH_CREDENTIALS__ */\n\nimport { isJsonResponse } from \"./remote-data-util\";\n\nconst fetchBlogPosts = async (store, blogUrl) => {\n try {\n if (!blogUrl) {\n console.log(\n `Skipping fetching blog posts, invalid blogUrl: \"${blogUrl}\"`,\n );\n return;\n }\n\n const options = {\n headers: {\n accept: \"application/json\",\n },\n cache: \"no-cache\",\n };\n\n if (__ENABLE_FETCH_WITH_CREDENTIALS__) {\n options.credentials = \"include\";\n }\n\n const res = await fetch(blogUrl, options);\n\n if (isJsonResponse(res.headers.get(\"content-type\"))) {\n const payload = await res.json();\n store.dispatch({ type: \"blog/loaded\", payload });\n } else {\n throw new Error(\"Blog posts url is not serving json\");\n }\n } catch (e) {\n console.warn(\"Could not fetch blog posts due to error:\", e);\n }\n};\n\nconst initialState = { recent: null };\n\nconst REDUCER_KEY = \"blogPosts\";\n\nconst reducerBlogPosts = {\n [REDUCER_KEY]: (state = initialState, action) => {\n switch (action.type) {\n case \"blog/loaded\":\n return { ...state, recent: action.payload };\n default:\n return state;\n }\n },\n};\n\nconst selectRecentBlogPosts = (store) => store.getState()[REDUCER_KEY]?.recent;\n\nexport { fetchBlogPosts, reducerBlogPosts, selectRecentBlogPosts };\n"],"names":["isJsonResponse","fetchBlogPosts","store","blogUrl","console","log","options","headers","accept","cache","credentials","res","fetch","get","payload","json","dispatch","type","Error","e","warn","initialState","recent","REDUCER_KEY","reducerBlogPosts","state","action","selectRecentBlogPosts","getState"],"mappings":"AAEA,OAASA,cAAc,KAAQ,oBAAqB,CAEpD,MAAMC,eAAiB,MAAOC,MAAOC,WACnC,GAAI,CACF,GAAI,CAACA,QAAS,CACZC,QAAQC,GAAG,CACT,CAAC,gDAAgD,EAAEF,QAAQ,CAAC,CAAC,EAE/D,MACF,CAEA,MAAMG,QAAU,CACdC,QAAS,CACPC,OAAQ,kBACV,EACAC,MAAO,UACT,EAEA,SAAuC,CACrCH,QAAQI,WAAW,CAAG,SACxB,CAEA,MAAMC,IAAM,MAAMC,MAAMT,QAASG,SAEjC,GAAIN,eAAeW,IAAIJ,OAAO,CAACM,GAAG,CAAC,iBAAkB,CACnD,MAAMC,QAAU,MAAMH,IAAII,IAAI,GAC9Bb,MAAMc,QAAQ,CAAC,CAAEC,KAAM,cAAeH,OAAQ,EAChD,KAAO,CACL,MAAM,IAAII,MAAM,qCAClB,CACF,CAAE,MAAOC,EAAG,CACVf,QAAQgB,IAAI,CAAC,2CAA4CD,EAC3D,CACF,EAEA,MAAME,aAAe,CAAEC,OAAQ,IAAK,EAEpC,MAAMC,YAAc,YAEpB,MAAMC,iBAAmB,CACvB,CAACD,YAAY,CAAE,CAACE,MAAQJ,YAAY,CAAEK,UACpC,OAAQA,OAAOT,IAAI,EACjB,IAAK,cACH,MAAO,CAAE,GAAGQ,KAAK,CAAEH,OAAQI,OAAOZ,OAAO,AAAC,CAC5C,SACE,OAAOW,KACX,CACF,CACF,EAEA,MAAME,sBAAwB,AAACzB,OAAUA,MAAM0B,QAAQ,EAAE,CAACL,YAAY,EAAED,MAExE,QAASrB,cAAc,CAAEuB,gBAAgB,CAAEG,qBAAqB,CAAG"}
1
+ {"version":3,"sources":["../../src/core/remote-blogs-posts.js"],"sourcesContent":["/* global __ENABLE_FETCH_WITH_CREDENTIALS__ */\n\nimport { isJsonResponse } from \"./remote-data-util\";\n\nconst fetchBlogPosts = async (store, blogUrl) => {\n try {\n if (!blogUrl) {\n console.log(\n `Skipping fetching blog posts, invalid blogUrl: \"${blogUrl}\"`,\n );\n return;\n }\n\n const options = {\n headers: {\n accept: \"application/json\",\n },\n cache: \"no-cache\",\n };\n\n if (__ENABLE_FETCH_WITH_CREDENTIALS__) {\n options.credentials = \"include\";\n }\n\n const res = await fetch(blogUrl, options);\n\n if (isJsonResponse(res.headers.get(\"content-type\"))) {\n const payload = await res.json();\n store.dispatch({ type: \"blog/loaded\", payload });\n } else {\n throw new Error(\"Blog posts url is not serving json\");\n }\n } catch (e) {\n console.warn(\"Could not fetch blog posts due to error:\", e);\n }\n};\n\nconst initialState = { recent: null };\n\nconst REDUCER_KEY = \"blogPosts\";\n\nconst reducerBlogPosts = {\n [REDUCER_KEY]: (state = initialState, action) => {\n switch (action.type) {\n case \"blog/loaded\":\n return { ...state, recent: action.payload };\n default:\n return state;\n }\n },\n};\n\nconst selectRecentBlogPosts = (store) => store.getState()[REDUCER_KEY]?.recent;\n\nexport { fetchBlogPosts, reducerBlogPosts, selectRecentBlogPosts };\n"],"names":["isJsonResponse","fetchBlogPosts","store","blogUrl","console","log","options","headers","accept","cache","credentials","res","fetch","get","payload","json","dispatch","type","Error","e","warn","initialState","recent","REDUCER_KEY","reducerBlogPosts","state","action","selectRecentBlogPosts","getState"],"mappings":"AAEA,OAASA,cAAc,KAAQ,oBAAqB,CAEpD,MAAMC,eAAiB,MAAOC,MAAOC,WACnC,GAAI,CACF,GAAI,CAACA,QAAS,CACZC,QAAQC,GAAG,CACT,CAAC,gDAAgD,EAAEF,QAAQ,CAAC,CAAC,EAE/D,MACF,CAEA,MAAMG,QAAU,CACdC,QAAS,CACPC,OAAQ,kBACV,EACAC,MAAO,UACT,EAEA,GApBJ,MAoB2C,CACrCH,QAAQI,WAAW,CAAG,SACxB,CAEA,MAAMC,IAAM,MAAMC,MAAMT,QAASG,SAEjC,GAAIN,eAAeW,IAAIJ,OAAO,CAACM,GAAG,CAAC,iBAAkB,CACnD,MAAMC,QAAU,MAAMH,IAAII,IAAI,GAC9Bb,MAAMc,QAAQ,CAAC,CAAEC,KAAM,cAAeH,OAAQ,EAChD,KAAO,CACL,MAAM,IAAII,MAAM,qCAClB,CACF,CAAE,MAAOC,EAAG,CACVf,QAAQgB,IAAI,CAAC,2CAA4CD,EAC3D,CACF,EAEA,MAAME,aAAe,CAAEC,OAAQ,IAAK,EAEpC,MAAMC,YAAc,YAEpB,MAAMC,iBAAmB,CACvB,CAACD,YAAY,CAAE,CAACE,MAAQJ,YAAY,CAAEK,UACpC,OAAQA,OAAOT,IAAI,EACjB,IAAK,cACH,MAAO,CAAE,GAAGQ,KAAK,CAAEH,OAAQI,OAAOZ,OAAO,AAAC,CAC5C,SACE,OAAOW,KACX,CACF,CACF,EAEA,MAAME,sBAAwB,AAACzB,OAAUA,MAAM0B,QAAQ,EAAE,CAACL,YAAY,EAAED,MAExE,QAASrB,cAAc,CAAEuB,gBAAgB,CAAEG,qBAAqB,CAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/core/remote-session-data.js"],"sourcesContent":["/* global __ENABLE_FETCH_WITH_CREDENTIALS__ */\n\n// Fetches current users session data\n// Assumes an authenticated session, so will only work when used on ably.com/ably.io\n\nimport { isJsonResponse } from \"./remote-data-util\";\n\nconst NOT_FOUND_ERROR_CODE = \"not-found\";\n\nconst fetchSessionData = async (store, sessionUrl) => {\n const sessionLoaded = (payload = {}) =>\n store.dispatch({ type: \"session/loaded\", payload });\n\n try {\n if (!sessionUrl) {\n console.log(\n `Skipping fetching session, invalid sessionUrl: \"${sessionUrl}\"`,\n );\n sessionLoaded();\n return;\n }\n\n const options = {\n headers: {\n accept: \"application/json\",\n },\n cache: \"no-cache\",\n };\n\n if (__ENABLE_FETCH_WITH_CREDENTIALS__) {\n options.credentials = \"include\";\n }\n\n const res = await fetch(sessionUrl, options);\n const jsonResponse = isJsonResponse(res.headers.get(\"content-type\"));\n\n if (!jsonResponse) {\n throw new Error(\"Session endpoint is not serving json\");\n }\n\n const payload = await res.json();\n\n if (payload.error === NOT_FOUND_ERROR_CODE) {\n sessionLoaded();\n } else {\n sessionLoaded(payload);\n }\n } catch (e) {\n sessionLoaded();\n console.warn(\"Could not fetch session data due to error:\", e);\n }\n};\n\nconst initialState = { data: null };\n\nconst REDUCER_KEY = \"session\";\n\nconst reducerSessionData = {\n [REDUCER_KEY]: (state = initialState, action) => {\n switch (action.type) {\n case \"session/loaded\":\n return { ...state, data: action.payload };\n default:\n return state;\n }\n },\n};\n\nconst selectSessionData = (store) => store.getState()[REDUCER_KEY]?.data;\n\nexport { fetchSessionData, reducerSessionData, selectSessionData };\n"],"names":["isJsonResponse","NOT_FOUND_ERROR_CODE","fetchSessionData","store","sessionUrl","sessionLoaded","payload","dispatch","type","console","log","options","headers","accept","cache","credentials","res","fetch","jsonResponse","get","Error","json","error","e","warn","initialState","data","REDUCER_KEY","reducerSessionData","state","action","selectSessionData","getState"],"mappings":"AAKA,OAASA,cAAc,KAAQ,oBAAqB,CAEpD,MAAMC,qBAAuB,YAE7B,MAAMC,iBAAmB,MAAOC,MAAOC,cACrC,MAAMC,cAAgB,CAACC,QAAU,CAAC,CAAC,GACjCH,MAAMI,QAAQ,CAAC,CAAEC,KAAM,iBAAkBF,OAAQ,GAEnD,GAAI,CACF,GAAI,CAACF,WAAY,CACfK,QAAQC,GAAG,CACT,CAAC,gDAAgD,EAAEN,WAAW,CAAC,CAAC,EAElEC,gBACA,MACF,CAEA,MAAMM,QAAU,CACdC,QAAS,CACPC,OAAQ,kBACV,EACAC,MAAO,UACT,EAEA,SAAuC,CACrCH,QAAQI,WAAW,CAAG,SACxB,CAEA,MAAMC,IAAM,MAAMC,MAAMb,WAAYO,SACpC,MAAMO,aAAelB,eAAegB,IAAIJ,OAAO,CAACO,GAAG,CAAC,iBAEpD,GAAI,CAACD,aAAc,CACjB,MAAM,IAAIE,MAAM,uCAClB,CAEA,MAAMd,QAAU,MAAMU,IAAIK,IAAI,GAE9B,GAAIf,QAAQgB,KAAK,GAAKrB,qBAAsB,CAC1CI,eACF,KAAO,CACLA,cAAcC,QAChB,CACF,CAAE,MAAOiB,EAAG,CACVlB,gBACAI,QAAQe,IAAI,CAAC,6CAA8CD,EAC7D,CACF,EAEA,MAAME,aAAe,CAAEC,KAAM,IAAK,EAElC,MAAMC,YAAc,UAEpB,MAAMC,mBAAqB,CACzB,CAACD,YAAY,CAAE,CAACE,MAAQJ,YAAY,CAAEK,UACpC,OAAQA,OAAOtB,IAAI,EACjB,IAAK,iBACH,MAAO,CAAE,GAAGqB,KAAK,CAAEH,KAAMI,OAAOxB,OAAO,AAAC,CAC1C,SACE,OAAOuB,KACX,CACF,CACF,EAEA,MAAME,kBAAoB,AAAC5B,OAAUA,MAAM6B,QAAQ,EAAE,CAACL,YAAY,EAAED,IAEpE,QAASxB,gBAAgB,CAAE0B,kBAAkB,CAAEG,iBAAiB,CAAG"}
1
+ {"version":3,"sources":["../../src/core/remote-session-data.js"],"sourcesContent":["/* global __ENABLE_FETCH_WITH_CREDENTIALS__ */\n\n// Fetches current users session data\n// Assumes an authenticated session, so will only work when used on ably.com/ably.io\n\nimport { isJsonResponse } from \"./remote-data-util\";\n\nconst NOT_FOUND_ERROR_CODE = \"not-found\";\n\nconst fetchSessionData = async (store, sessionUrl) => {\n const sessionLoaded = (payload = {}) =>\n store.dispatch({ type: \"session/loaded\", payload });\n\n try {\n if (!sessionUrl) {\n console.log(\n `Skipping fetching session, invalid sessionUrl: \"${sessionUrl}\"`,\n );\n sessionLoaded();\n return;\n }\n\n const options = {\n headers: {\n accept: \"application/json\",\n },\n cache: \"no-cache\",\n };\n\n if (__ENABLE_FETCH_WITH_CREDENTIALS__) {\n options.credentials = \"include\";\n }\n\n const res = await fetch(sessionUrl, options);\n const jsonResponse = isJsonResponse(res.headers.get(\"content-type\"));\n\n if (!jsonResponse) {\n throw new Error(\"Session endpoint is not serving json\");\n }\n\n const payload = await res.json();\n\n if (payload.error === NOT_FOUND_ERROR_CODE) {\n sessionLoaded();\n } else {\n sessionLoaded(payload);\n }\n } catch (e) {\n sessionLoaded();\n console.warn(\"Could not fetch session data due to error:\", e);\n }\n};\n\nconst initialState = { data: null };\n\nconst REDUCER_KEY = \"session\";\n\nconst reducerSessionData = {\n [REDUCER_KEY]: (state = initialState, action) => {\n switch (action.type) {\n case \"session/loaded\":\n return { ...state, data: action.payload };\n default:\n return state;\n }\n },\n};\n\nconst selectSessionData = (store) => store.getState()[REDUCER_KEY]?.data;\n\nexport { fetchSessionData, reducerSessionData, selectSessionData };\n"],"names":["isJsonResponse","NOT_FOUND_ERROR_CODE","fetchSessionData","store","sessionUrl","sessionLoaded","payload","dispatch","type","console","log","options","headers","accept","cache","credentials","res","fetch","jsonResponse","get","Error","json","error","e","warn","initialState","data","REDUCER_KEY","reducerSessionData","state","action","selectSessionData","getState"],"mappings":"AAKA,OAASA,cAAc,KAAQ,oBAAqB,CAEpD,MAAMC,qBAAuB,YAE7B,MAAMC,iBAAmB,MAAOC,MAAOC,cACrC,MAAMC,cAAgB,CAACC,QAAU,CAAC,CAAC,GACjCH,MAAMI,QAAQ,CAAC,CAAEC,KAAM,iBAAkBF,OAAQ,GAEnD,GAAI,CACF,GAAI,CAACF,WAAY,CACfK,QAAQC,GAAG,CACT,CAAC,gDAAgD,EAAEN,WAAW,CAAC,CAAC,EAElEC,gBACA,MACF,CAEA,MAAMM,QAAU,CACdC,QAAS,CACPC,OAAQ,kBACV,EACAC,MAAO,UACT,EAEA,GA7BJ,MA6B2C,CACrCH,QAAQI,WAAW,CAAG,SACxB,CAEA,MAAMC,IAAM,MAAMC,MAAMb,WAAYO,SACpC,MAAMO,aAAelB,eAAegB,IAAIJ,OAAO,CAACO,GAAG,CAAC,iBAEpD,GAAI,CAACD,aAAc,CACjB,MAAM,IAAIE,MAAM,uCAClB,CAEA,MAAMd,QAAU,MAAMU,IAAIK,IAAI,GAE9B,GAAIf,QAAQgB,KAAK,GAAKrB,qBAAsB,CAC1CI,eACF,KAAO,CACLA,cAAcC,QAChB,CACF,CAAE,MAAOiB,EAAG,CACVlB,gBACAI,QAAQe,IAAI,CAAC,6CAA8CD,EAC7D,CACF,EAEA,MAAME,aAAe,CAAEC,KAAM,IAAK,EAElC,MAAMC,YAAc,UAEpB,MAAMC,mBAAqB,CACzB,CAACD,YAAY,CAAE,CAACE,MAAQJ,YAAY,CAAEK,UACpC,OAAQA,OAAOtB,IAAI,EACjB,IAAK,iBACH,MAAO,CAAE,GAAGqB,KAAK,CAAEH,KAAMI,OAAOxB,OAAO,AAAC,CAC1C,SACE,OAAOuB,KACX,CACF,CACF,EAEA,MAAME,kBAAoB,AAAC5B,OAAUA,MAAM6B,QAAQ,EAAE,CAACL,YAAY,EAAED,IAEpE,QAASxB,gBAAgB,CAAE0B,kBAAkB,CAAEG,iBAAiB,CAAG"}
@@ -1,2 +1,2 @@
1
- import React from"react";import Icon from"../../Icon";export const Checkbox=({index,disabled})=>React.createElement("div",{className:"ui-checkbox-p1 flex items-center"},React.createElement("input",{"data-ui-checkbox-native":"",type:"checkbox",id:`checkbox-example-${index}`,name:`checkbox-example-${index}`,value:"yes",className:"ui-checkbox-input",disabled:disabled}),React.createElement("div",{"data-ui-checkbox-styled":"",className:"ui-checkbox-styled"},React.createElement(Icon,{name:"icon-gui-check-micro",size:"1rem",additionalCSS:"ui-checkbox-styled-tick"})),React.createElement("label",{htmlFor:`checkbox-example-${index}`,className:"ui-checkbox-label-p1"},"Option ",index));export const RadioButton=({index,disabled})=>React.createElement("div",{className:"flex items-center gap-2"},React.createElement("input",{"data-ui-radio-native":"",type:"radio",id:`radio-example-${index}`,name:"radio-example",value:`option-${index}`,className:"ui-radio",disabled:disabled}),React.createElement("label",{className:"text-neutral-1300 dark:text-neutral-000",htmlFor:`radio-example-${index}`},"Option ",index));
1
+ import React from"react";import Icon from"../../Icon";export const Checkbox=({index,disabled})=>/*#__PURE__*/React.createElement("div",{className:"ui-checkbox-p1 flex items-center"},/*#__PURE__*/React.createElement("input",{"data-ui-checkbox-native":"",type:"checkbox",id:`checkbox-example-${index}`,name:`checkbox-example-${index}`,value:"yes",className:"ui-checkbox-input",disabled:disabled}),/*#__PURE__*/React.createElement("div",{"data-ui-checkbox-styled":"",className:"ui-checkbox-styled"},/*#__PURE__*/React.createElement(Icon,{name:"icon-gui-check-micro",size:"1rem",additionalCSS:"ui-checkbox-styled-tick"})),/*#__PURE__*/React.createElement("label",{htmlFor:`checkbox-example-${index}`,className:"ui-checkbox-label-p1"},"Option ",index));export const RadioButton=({index,disabled})=>/*#__PURE__*/React.createElement("div",{className:"flex items-center gap-2"},/*#__PURE__*/React.createElement("input",{"data-ui-radio-native":"",type:"radio",id:`radio-example-${index}`,name:"radio-example",value:`option-${index}`,className:"ui-radio",disabled:disabled}),/*#__PURE__*/React.createElement("label",{className:"text-neutral-1300 dark:text-neutral-000",htmlFor:`radio-example-${index}`},"Option ",index));
2
2
  //# sourceMappingURL=story-components.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/core/styles/forms/story-components.tsx"],"sourcesContent":["import React from \"react\";\nimport Icon from \"../../Icon\";\n\ntype FormElementProps = {\n index: number;\n disabled?: boolean;\n};\n\nexport const Checkbox = ({ index, disabled }: FormElementProps) => (\n <div className=\"ui-checkbox-p1 flex items-center\">\n <input\n data-ui-checkbox-native=\"\"\n type=\"checkbox\"\n id={`checkbox-example-${index}`}\n name={`checkbox-example-${index}`}\n value=\"yes\"\n className=\"ui-checkbox-input\"\n disabled={disabled}\n />\n <div data-ui-checkbox-styled=\"\" className=\"ui-checkbox-styled\">\n <Icon\n name=\"icon-gui-check-micro\"\n size=\"1rem\"\n additionalCSS=\"ui-checkbox-styled-tick\"\n />\n </div>\n <label\n htmlFor={`checkbox-example-${index}`}\n className=\"ui-checkbox-label-p1\"\n >\n Option {index}\n </label>\n </div>\n);\n\nexport const RadioButton = ({ index, disabled }: FormElementProps) => (\n <div className=\"flex items-center gap-2\">\n <input\n data-ui-radio-native=\"\"\n type=\"radio\"\n id={`radio-example-${index}`}\n name=\"radio-example\"\n value={`option-${index}`}\n className=\"ui-radio\"\n disabled={disabled}\n />\n <label\n className=\"text-neutral-1300 dark:text-neutral-000\"\n htmlFor={`radio-example-${index}`}\n >\n Option {index}\n </label>\n </div>\n);\n"],"names":["React","Icon","Checkbox","index","disabled","div","className","input","data-ui-checkbox-native","type","id","name","value","data-ui-checkbox-styled","size","additionalCSS","label","htmlFor","RadioButton","data-ui-radio-native"],"mappings":"AAAA,OAAOA,UAAW,OAAQ,AAC1B,QAAOC,SAAU,YAAa,AAO9B,QAAO,MAAMC,SAAW,CAAC,CAAEC,KAAK,CAAEC,QAAQ,CAAoB,GAC5D,oBAACC,OAAIC,UAAU,oCACb,oBAACC,SACCC,0BAAwB,GACxBC,KAAK,WACLC,GAAI,CAAC,iBAAiB,EAAEP,MAAM,CAAC,CAC/BQ,KAAM,CAAC,iBAAiB,EAAER,MAAM,CAAC,CACjCS,MAAM,MACNN,UAAU,oBACVF,SAAUA,WAEZ,oBAACC,OAAIQ,0BAAwB,GAAGP,UAAU,sBACxC,oBAACL,MACCU,KAAK,uBACLG,KAAK,OACLC,cAAc,6BAGlB,oBAACC,SACCC,QAAS,CAAC,iBAAiB,EAAEd,MAAM,CAAC,CACpCG,UAAU,wBACX,UACSH,OAGZ,AAEF,QAAO,MAAMe,YAAc,CAAC,CAAEf,KAAK,CAAEC,QAAQ,CAAoB,GAC/D,oBAACC,OAAIC,UAAU,2BACb,oBAACC,SACCY,uBAAqB,GACrBV,KAAK,QACLC,GAAI,CAAC,cAAc,EAAEP,MAAM,CAAC,CAC5BQ,KAAK,gBACLC,MAAO,CAAC,OAAO,EAAET,MAAM,CAAC,CACxBG,UAAU,WACVF,SAAUA,WAEZ,oBAACY,SACCV,UAAU,0CACVW,QAAS,CAAC,cAAc,EAAEd,MAAM,CAAC,EAClC,UACSA,OAGZ"}
1
+ {"version":3,"sources":["../../../../src/core/styles/forms/story-components.tsx"],"sourcesContent":["import React from \"react\";\nimport Icon from \"../../Icon\";\n\ntype FormElementProps = {\n index: number;\n disabled?: boolean;\n};\n\nexport const Checkbox = ({ index, disabled }: FormElementProps) => (\n <div className=\"ui-checkbox-p1 flex items-center\">\n <input\n data-ui-checkbox-native=\"\"\n type=\"checkbox\"\n id={`checkbox-example-${index}`}\n name={`checkbox-example-${index}`}\n value=\"yes\"\n className=\"ui-checkbox-input\"\n disabled={disabled}\n />\n <div data-ui-checkbox-styled=\"\" className=\"ui-checkbox-styled\">\n <Icon\n name=\"icon-gui-check-micro\"\n size=\"1rem\"\n additionalCSS=\"ui-checkbox-styled-tick\"\n />\n </div>\n <label\n htmlFor={`checkbox-example-${index}`}\n className=\"ui-checkbox-label-p1\"\n >\n Option {index}\n </label>\n </div>\n);\n\nexport const RadioButton = ({ index, disabled }: FormElementProps) => (\n <div className=\"flex items-center gap-2\">\n <input\n data-ui-radio-native=\"\"\n type=\"radio\"\n id={`radio-example-${index}`}\n name=\"radio-example\"\n value={`option-${index}`}\n className=\"ui-radio\"\n disabled={disabled}\n />\n <label\n className=\"text-neutral-1300 dark:text-neutral-000\"\n htmlFor={`radio-example-${index}`}\n >\n Option {index}\n </label>\n </div>\n);\n"],"names":["React","Icon","Checkbox","index","disabled","div","className","input","data-ui-checkbox-native","type","id","name","value","data-ui-checkbox-styled","size","additionalCSS","label","htmlFor","RadioButton","data-ui-radio-native"],"mappings":"AAAA,OAAOA,UAAW,OAAQ,AAC1B,QAAOC,SAAU,YAAa,AAO9B,QAAO,MAAMC,SAAW,CAAC,CAAEC,KAAK,CAAEC,QAAQ,CAAoB,gBAC5D,oBAACC,OAAIC,UAAU,iDACb,oBAACC,SACCC,0BAAwB,GACxBC,KAAK,WACLC,GAAI,CAAC,iBAAiB,EAAEP,MAAM,CAAC,CAC/BQ,KAAM,CAAC,iBAAiB,EAAER,MAAM,CAAC,CACjCS,MAAM,MACNN,UAAU,oBACVF,SAAUA,wBAEZ,oBAACC,OAAIQ,0BAAwB,GAAGP,UAAU,mCACxC,oBAACL,MACCU,KAAK,uBACLG,KAAK,OACLC,cAAc,0CAGlB,oBAACC,SACCC,QAAS,CAAC,iBAAiB,EAAEd,MAAM,CAAC,CACpCG,UAAU,wBACX,UACSH,OAGZ,AAEF,QAAO,MAAMe,YAAc,CAAC,CAAEf,KAAK,CAAEC,QAAQ,CAAoB,gBAC/D,oBAACC,OAAIC,UAAU,wCACb,oBAACC,SACCY,uBAAqB,GACrBV,KAAK,QACLC,GAAI,CAAC,cAAc,EAAEP,MAAM,CAAC,CAC5BQ,KAAK,gBACLC,MAAO,CAAC,OAAO,EAAET,MAAM,CAAC,CACxBG,UAAU,WACVF,SAAUA,wBAEZ,oBAACY,SACCV,UAAU,0CACVW,QAAS,CAAC,cAAc,EAAEd,MAAM,CAAC,EAClC,UACSA,OAGZ"}
package/index.d.ts CHANGED
@@ -615,8 +615,8 @@ const reducerFlashes: {
615
615
  items: FlashProps[];
616
616
  };
617
617
  };
618
- const Flashes: ({ flashes }: FlashesProps) => import("react/jsx-runtime").JSX.Element;
619
- const BackendFlashes: ({ flashes }: BackendFlashesProps) => import("react/jsx-runtime").JSX.Element;
618
+ const Flashes: ({ flashes }: FlashesProps) => import("react/jsx-runtime.js").JSX.Element;
619
+ const BackendFlashes: ({ flashes }: BackendFlashesProps) => import("react/jsx-runtime.js").JSX.Element;
620
620
  export { reducerFlashes, FLASH_DATA_ID, Flashes };
621
621
  export default BackendFlashes;
622
622
  //# sourceMappingURL=Flash.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ably/ui",
3
- "version": "17.4.2",
3
+ "version": "17.5.0-dev.01e191e7",
4
4
  "description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,6 +21,7 @@
21
21
  "devDependencies": {
22
22
  "@storybook/addon-essentials": "^8.6.14",
23
23
  "@storybook/addon-interactions": "^8.6.14",
24
+ "@storybook/react": "^8.6.14",
24
25
  "@storybook/react-vite": "^8.6.14",
25
26
  "@storybook/test": "^8.6.14",
26
27
  "@storybook/test-runner": "^0.23.0",
@@ -61,29 +62,8 @@
61
62
  "ts-node": "^10.9.2",
62
63
  "typescript": "5.8.3",
63
64
  "vite": "^6.2.0",
64
- "vitest": "^3.0.8"
65
- },
66
- "scripts": {
67
- "build:prebuild": "rm -rf core reset && mkdir -p dist/core",
68
- "build:swc": "ts-node swc.config.ts",
69
- "build:tsc": "tsc && node tsc.js && rm -r types",
70
- "build:cleanup": "mv dist/* . && rm -r dist",
71
- "build:icons": "ts-node scripts/generate-icons.ts",
72
- "build": "yarn build:prebuild && yarn build:icons && yarn build:swc && yarn build:tsc && yarn build:cleanup",
73
- "watch": "yarn build:swc -w",
74
- "format:check": "prettier -c *.{js,ts} src/**/*.{js,ts,tsx,stories.tsx}",
75
- "format:write": "prettier -w *.{js,ts} src/**/*.{js,ts,tsx,stories.tsx}",
76
- "lint": "eslint *.{js,ts} src/**/*.{js,ts,tsx,stories.tsx}",
77
- "update:all": "./scripts/update-dependents.sh",
78
- "pre-release": "./scripts/pre-release.sh",
79
- "release": "./scripts/release.sh",
80
- "start": "vite --port 5000",
81
- "storybook": "yarn build && storybook dev -p 6006",
82
- "build-storybook": "yarn build && storybook build --quiet -o preview",
83
- "test": "yarn test:storybook && yarn test:vitest run",
84
- "test:storybook": "npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook && yarn http-server preview --port 6007 --silent\" \"wait-on tcp:6007 && yarn test-storybook --url http://127.0.0.1:6007\"",
85
- "test:update-snapshots": "npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook && yarn http-server preview --port 6007 --silent\" \"wait-on tcp:6007 && yarn test-storybook -u --url http://127.0.0.1:6007\"",
86
- "test:vitest": "vitest --environment=jsdom --dir=src"
65
+ "vitest": "^3.0.8",
66
+ "wait-on": "^8.0.3"
87
67
  },
88
68
  "dependencies": {
89
69
  "@heroicons/react": "^2.2.0",
@@ -120,5 +100,27 @@
120
100
  "ably",
121
101
  "react"
122
102
  ],
123
- "author": "Ably Real-time Ltd <support@ably.com>"
124
- }
103
+ "author": "Ably Real-time Ltd <support@ably.com>",
104
+ "scripts": {
105
+ "build:prebuild": "rm -rf core reset && mkdir -p dist/core",
106
+ "build:swc": "ts-node swc.config.ts",
107
+ "build:tsc": "tsc && node tsc.js && rm -r types",
108
+ "build:cleanup": "mv dist/* . && rm -r dist",
109
+ "build:icons": "ts-node scripts/generate-icons.ts",
110
+ "build": "pnpm build:prebuild && pnpm build:icons && pnpm build:swc && pnpm build:tsc && pnpm build:cleanup",
111
+ "watch": "pnpm build:swc -w",
112
+ "format:check": "prettier -c *.{js,ts} src/**/*.{js,ts,tsx,stories.tsx}",
113
+ "format:write": "prettier -w *.{js,ts} src/**/*.{js,ts,tsx,stories.tsx}",
114
+ "lint": "eslint *.{js,ts} src/**/*.{js,ts,tsx,stories.tsx}",
115
+ "update:all": "./scripts/update-dependents.sh",
116
+ "pre-release": "./scripts/pre-release.sh",
117
+ "release": "./scripts/release.sh",
118
+ "start": "vite --port 5000",
119
+ "storybook": "pnpm build && storybook dev -p 6006",
120
+ "build-storybook": "pnpm build && storybook build --quiet -o preview",
121
+ "test": "pnpm test:storybook && pnpm test:vitest run",
122
+ "test:storybook": "npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"pnpm build-storybook && pnpm http-server preview --port 6007 --silent\" \"wait-on tcp:6007 && pnpm test-storybook --url http://127.0.0.1:6007\"",
123
+ "test:update-snapshots": "npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"pnpm build-storybook && pnpm http-server preview --port 6007 --silent\" \"wait-on tcp:6007 && pnpm test-storybook -u --url http://127.0.0.1:6007\"",
124
+ "test:vitest": "vitest --environment=jsdom --dir=src"
125
+ }
126
+ }