@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.
- package/README.md +7 -7
- package/core/Accordion.js +1 -1
- package/core/Accordion.js.map +1 -1
- package/core/Badge.js +1 -1
- package/core/Badge.js.map +1 -1
- package/core/Button.js +1 -1
- package/core/Button.js.map +1 -1
- package/core/Code.js +1 -1
- package/core/Code.js.map +1 -1
- package/core/CodeSnippet/ApiKeySelector.js +1 -1
- package/core/CodeSnippet/ApiKeySelector.js.map +1 -1
- package/core/CodeSnippet/CopyButton.js +1 -1
- package/core/CodeSnippet/CopyButton.js.map +1 -1
- package/core/CodeSnippet/LanguageSelector.js +1 -1
- package/core/CodeSnippet/LanguageSelector.js.map +1 -1
- package/core/CodeSnippet/PlainCodeView.js +1 -1
- package/core/CodeSnippet/PlainCodeView.js.map +1 -1
- package/core/CodeSnippet/TooltipButton.js +1 -1
- package/core/CodeSnippet/TooltipButton.js.map +1 -1
- package/core/CodeSnippet.js +1 -1
- package/core/CodeSnippet.js.map +1 -1
- package/core/ConnectStateWrapper.js +1 -1
- package/core/ConnectStateWrapper.js.map +1 -1
- package/core/CookieMessage.js +1 -1
- package/core/CookieMessage.js.map +1 -1
- package/core/CustomerLogos.js +1 -1
- package/core/CustomerLogos.js.map +1 -1
- package/core/DropdownMenu.js +1 -1
- package/core/DropdownMenu.js.map +1 -1
- package/core/Expander.js +1 -1
- package/core/Expander.js.map +1 -1
- package/core/FeaturedLink.js +1 -1
- package/core/FeaturedLink.js.map +1 -1
- package/core/Flash.js +1 -1
- package/core/Flash.js.map +1 -1
- package/core/Flyout.js +1 -1
- package/core/Flyout.js.map +1 -1
- package/core/Footer.js +1 -1
- package/core/Footer.js.map +1 -1
- package/core/Header/HeaderLinks.js +1 -1
- package/core/Header/HeaderLinks.js.map +1 -1
- package/core/Header.js +1 -1
- package/core/Header.js.map +1 -1
- package/core/Icon/components/icon-display-48hrs.js +1 -1
- package/core/Icon/components/icon-display-48hrs.js.map +1 -1
- package/core/Icon/components/icon-display-ably-channels.js +1 -1
- package/core/Icon/components/icon-display-ably-channels.js.map +1 -1
- package/core/Icon/components/icon-display-about-ably-col.js +1 -1
- package/core/Icon/components/icon-display-about-ably-col.js.map +1 -1
- package/core/Icon/components/icon-display-api-keys.js +1 -1
- package/core/Icon/components/icon-display-api-keys.js.map +1 -1
- package/core/Icon/components/icon-display-api.js +1 -1
- package/core/Icon/components/icon-display-api.js.map +1 -1
- package/core/Icon/components/icon-display-architectural-guidance.js +1 -1
- package/core/Icon/components/icon-display-architectural-guidance.js.map +1 -1
- package/core/Icon/components/icon-display-asset-tracking-col.js +1 -1
- package/core/Icon/components/icon-display-asset-tracking-col.js.map +1 -1
- package/core/Icon/components/icon-display-authentication.js +1 -1
- package/core/Icon/components/icon-display-authentication.js.map +1 -1
- package/core/Icon/components/icon-display-avatar-stack.js +1 -1
- package/core/Icon/components/icon-display-avatar-stack.js.map +1 -1
- package/core/Icon/components/icon-display-browser.js +1 -1
- package/core/Icon/components/icon-display-browser.js.map +1 -1
- package/core/Icon/components/icon-display-calendar.js +1 -1
- package/core/Icon/components/icon-display-calendar.js.map +1 -1
- package/core/Icon/components/icon-display-call-mobile.js +1 -1
- package/core/Icon/components/icon-display-call-mobile.js.map +1 -1
- package/core/Icon/components/icon-display-careers-col.js +1 -1
- package/core/Icon/components/icon-display-careers-col.js.map +1 -1
- package/core/Icon/components/icon-display-case-studies-col.js +1 -1
- package/core/Icon/components/icon-display-case-studies-col.js.map +1 -1
- package/core/Icon/components/icon-display-chat-col.js +1 -1
- package/core/Icon/components/icon-display-chat-col.js.map +1 -1
- package/core/Icon/components/icon-display-chat-mono.js +1 -1
- package/core/Icon/components/icon-display-chat-mono.js.map +1 -1
- package/core/Icon/components/icon-display-chat-stack-col.js +1 -1
- package/core/Icon/components/icon-display-chat-stack-col.js.map +1 -1
- package/core/Icon/components/icon-display-chat-stack.js +1 -1
- package/core/Icon/components/icon-display-chat-stack.js.map +1 -1
- package/core/Icon/components/icon-display-cloud-servers.js +1 -1
- package/core/Icon/components/icon-display-cloud-servers.js.map +1 -1
- package/core/Icon/components/icon-display-compare-tech-col.js +1 -1
- package/core/Icon/components/icon-display-compare-tech-col.js.map +1 -1
- package/core/Icon/components/icon-display-connection-state-recovery.js +1 -1
- package/core/Icon/components/icon-display-connection-state-recovery.js.map +1 -1
- package/core/Icon/components/icon-display-consumer-groups.js +1 -1
- package/core/Icon/components/icon-display-consumer-groups.js.map +1 -1
- package/core/Icon/components/icon-display-custom-cname.js +1 -1
- package/core/Icon/components/icon-display-custom-cname.js.map +1 -1
- package/core/Icon/components/icon-display-custom.js +1 -1
- package/core/Icon/components/icon-display-custom.js.map +1 -1
- package/core/Icon/components/icon-display-customers-col.js +1 -1
- package/core/Icon/components/icon-display-customers-col.js.map +1 -1
- package/core/Icon/components/icon-display-data-broadcast-col.js +1 -1
- package/core/Icon/components/icon-display-data-broadcast-col.js.map +1 -1
- package/core/Icon/components/icon-display-data-broadcast-mono.js +1 -1
- package/core/Icon/components/icon-display-data-broadcast-mono.js.map +1 -1
- package/core/Icon/components/icon-display-data-synchronization-col.js +1 -1
- package/core/Icon/components/icon-display-data-synchronization-col.js.map +1 -1
- package/core/Icon/components/icon-display-dedicated-cluster.js +1 -1
- package/core/Icon/components/icon-display-dedicated-cluster.js.map +1 -1
- package/core/Icon/components/icon-display-deltas.js +1 -1
- package/core/Icon/components/icon-display-deltas.js.map +1 -1
- package/core/Icon/components/icon-display-docs-col.js +1 -1
- package/core/Icon/components/icon-display-docs-col.js.map +1 -1
- package/core/Icon/components/icon-display-documentation.js +1 -1
- package/core/Icon/components/icon-display-documentation.js.map +1 -1
- package/core/Icon/components/icon-display-dynamic-channel-groups.js +1 -1
- package/core/Icon/components/icon-display-dynamic-channel-groups.js.map +1 -1
- package/core/Icon/components/icon-display-edge-network.js +1 -1
- package/core/Icon/components/icon-display-edge-network.js.map +1 -1
- package/core/Icon/components/icon-display-elasticity.js +1 -1
- package/core/Icon/components/icon-display-elasticity.js.map +1 -1
- package/core/Icon/components/icon-display-equalisers-mono.js +1 -1
- package/core/Icon/components/icon-display-equalisers-mono.js.map +1 -1
- package/core/Icon/components/icon-display-events-col.js +1 -1
- package/core/Icon/components/icon-display-events-col.js.map +1 -1
- package/core/Icon/components/icon-display-exactly-once-delivery.js +1 -1
- package/core/Icon/components/icon-display-exactly-once-delivery.js.map +1 -1
- package/core/Icon/components/icon-display-examples-col.js +1 -1
- package/core/Icon/components/icon-display-examples-col.js.map +1 -1
- package/core/Icon/components/icon-display-fan-out.js +1 -1
- package/core/Icon/components/icon-display-fan-out.js.map +1 -1
- package/core/Icon/components/icon-display-firehose.js +1 -1
- package/core/Icon/components/icon-display-firehose.js.map +1 -1
- package/core/Icon/components/icon-display-gdpr.js +1 -1
- package/core/Icon/components/icon-display-gdpr.js.map +1 -1
- package/core/Icon/components/icon-display-general-comms.js +1 -1
- package/core/Icon/components/icon-display-general-comms.js.map +1 -1
- package/core/Icon/components/icon-display-granular-permissions.js +1 -1
- package/core/Icon/components/icon-display-granular-permissions.js.map +1 -1
- package/core/Icon/components/icon-display-hipaa-mono.js +1 -1
- package/core/Icon/components/icon-display-hipaa-mono.js.map +1 -1
- package/core/Icon/components/icon-display-hipaa.js +1 -1
- package/core/Icon/components/icon-display-hipaa.js.map +1 -1
- package/core/Icon/components/icon-display-history.js +1 -1
- package/core/Icon/components/icon-display-history.js.map +1 -1
- package/core/Icon/components/icon-display-integrations-col.js +1 -1
- package/core/Icon/components/icon-display-integrations-col.js.map +1 -1
- package/core/Icon/components/icon-display-integrations.js +1 -1
- package/core/Icon/components/icon-display-integrations.js.map +1 -1
- package/core/Icon/components/icon-display-it-support-access.js +1 -1
- package/core/Icon/components/icon-display-it-support-access.js.map +1 -1
- package/core/Icon/components/icon-display-it-support-helpdesk.js +1 -1
- package/core/Icon/components/icon-display-it-support-helpdesk.js.map +1 -1
- package/core/Icon/components/icon-display-kafka-at-the-edge-col.js +1 -1
- package/core/Icon/components/icon-display-kafka-at-the-edge-col.js.map +1 -1
- package/core/Icon/components/icon-display-laptop.js +1 -1
- package/core/Icon/components/icon-display-laptop.js.map +1 -1
- package/core/Icon/components/icon-display-last-seen.js +1 -1
- package/core/Icon/components/icon-display-last-seen.js.map +1 -1
- package/core/Icon/components/icon-display-lightbulb-col.js +1 -1
- package/core/Icon/components/icon-display-lightbulb-col.js.map +1 -1
- package/core/Icon/components/icon-display-live-chat.js +1 -1
- package/core/Icon/components/icon-display-live-chat.js.map +1 -1
- package/core/Icon/components/icon-display-live-updates-results-metrics-col.js +1 -1
- package/core/Icon/components/icon-display-live-updates-results-metrics-col.js.map +1 -1
- package/core/Icon/components/icon-display-map-pin.js +1 -1
- package/core/Icon/components/icon-display-map-pin.js.map +1 -1
- package/core/Icon/components/icon-display-message-batching.js +1 -1
- package/core/Icon/components/icon-display-message-batching.js.map +1 -1
- package/core/Icon/components/icon-display-message-persistence.js +1 -1
- package/core/Icon/components/icon-display-message-persistence.js.map +1 -1
- package/core/Icon/components/icon-display-message-queues.js +1 -1
- package/core/Icon/components/icon-display-message-queues.js.map +1 -1
- package/core/Icon/components/icon-display-message.js +1 -1
- package/core/Icon/components/icon-display-message.js.map +1 -1
- package/core/Icon/components/icon-display-multi-user-spaces-col.js +1 -1
- package/core/Icon/components/icon-display-multi-user-spaces-col.js.map +1 -1
- package/core/Icon/components/icon-display-observe-analytics.js +1 -1
- package/core/Icon/components/icon-display-observe-analytics.js.map +1 -1
- package/core/Icon/components/icon-display-padlock-closed.js +1 -1
- package/core/Icon/components/icon-display-padlock-closed.js.map +1 -1
- package/core/Icon/components/icon-display-platform.js +1 -1
- package/core/Icon/components/icon-display-platform.js.map +1 -1
- package/core/Icon/components/icon-display-play.js +1 -1
- package/core/Icon/components/icon-display-play.js.map +1 -1
- package/core/Icon/components/icon-display-premium-support.js +1 -1
- package/core/Icon/components/icon-display-premium-support.js.map +1 -1
- package/core/Icon/components/icon-display-privacy-shield-framework.js +1 -1
- package/core/Icon/components/icon-display-privacy-shield-framework.js.map +1 -1
- package/core/Icon/components/icon-display-private-link.js +1 -1
- package/core/Icon/components/icon-display-private-link.js.map +1 -1
- package/core/Icon/components/icon-display-push-notifications-col.js +1 -1
- package/core/Icon/components/icon-display-push-notifications-col.js.map +1 -1
- package/core/Icon/components/icon-display-push-notifications-mono.js +1 -1
- package/core/Icon/components/icon-display-push-notifications-mono.js.map +1 -1
- package/core/Icon/components/icon-display-push-notifications.js +1 -1
- package/core/Icon/components/icon-display-push-notifications.js.map +1 -1
- package/core/Icon/components/icon-display-quickstart-guides-col.js +1 -1
- package/core/Icon/components/icon-display-quickstart-guides-col.js.map +1 -1
- package/core/Icon/components/icon-display-reactions.js +1 -1
- package/core/Icon/components/icon-display-reactions.js.map +1 -1
- package/core/Icon/components/icon-display-read-receipts.js +1 -1
- package/core/Icon/components/icon-display-read-receipts.js.map +1 -1
- package/core/Icon/components/icon-display-resources-col.js +1 -1
- package/core/Icon/components/icon-display-resources-col.js.map +1 -1
- package/core/Icon/components/icon-display-rewind.js +1 -1
- package/core/Icon/components/icon-display-rewind.js.map +1 -1
- package/core/Icon/components/icon-display-sdks-col.js +1 -1
- package/core/Icon/components/icon-display-sdks-col.js.map +1 -1
- package/core/Icon/components/icon-display-send-received-messages.js +1 -1
- package/core/Icon/components/icon-display-send-received-messages.js.map +1 -1
- package/core/Icon/components/icon-display-servers.js +1 -1
- package/core/Icon/components/icon-display-servers.js.map +1 -1
- package/core/Icon/components/icon-display-shopping-cart.js +1 -1
- package/core/Icon/components/icon-display-shopping-cart.js.map +1 -1
- package/core/Icon/components/icon-display-sla.js +1 -1
- package/core/Icon/components/icon-display-sla.js.map +1 -1
- package/core/Icon/components/icon-display-soc2-type2-mono.js +1 -1
- package/core/Icon/components/icon-display-soc2-type2-mono.js.map +1 -1
- package/core/Icon/components/icon-display-soc2-type2.js +1 -1
- package/core/Icon/components/icon-display-soc2-type2.js.map +1 -1
- package/core/Icon/components/icon-display-subscription-filters.js +1 -1
- package/core/Icon/components/icon-display-subscription-filters.js.map +1 -1
- package/core/Icon/components/icon-display-support-chat-mono.js +1 -1
- package/core/Icon/components/icon-display-support-chat-mono.js.map +1 -1
- package/core/Icon/components/icon-display-system-metadata.js +1 -1
- package/core/Icon/components/icon-display-system-metadata.js.map +1 -1
- package/core/Icon/components/icon-display-tech-account-comms.js +1 -1
- package/core/Icon/components/icon-display-tech-account-comms.js.map +1 -1
- package/core/Icon/components/icon-display-tutorials-demos-col.js +1 -1
- package/core/Icon/components/icon-display-tutorials-demos-col.js.map +1 -1
- package/core/Icon/components/icon-display-virtual-events-col.js +1 -1
- package/core/Icon/components/icon-display-virtual-events-col.js.map +1 -1
- package/core/Icon/components/icon-display-virtual-events.js +1 -1
- package/core/Icon/components/icon-display-virtual-events.js.map +1 -1
- package/core/Icon/components/icon-gui-ably-badge.js +1 -1
- package/core/Icon/components/icon-gui-ably-badge.js.map +1 -1
- package/core/Icon/components/icon-gui-check-circled-fill.js +1 -1
- package/core/Icon/components/icon-gui-check-circled-fill.js.map +1 -1
- package/core/Icon/components/icon-gui-check-lotus-circled.js +1 -1
- package/core/Icon/components/icon-gui-check-lotus-circled.js.map +1 -1
- package/core/Icon/components/icon-gui-checklist-checked.js +1 -1
- package/core/Icon/components/icon-gui-checklist-checked.js.map +1 -1
- package/core/Icon/components/icon-gui-code-doc.js +1 -1
- package/core/Icon/components/icon-gui-code-doc.js.map +1 -1
- package/core/Icon/components/icon-gui-cursor.js +1 -1
- package/core/Icon/components/icon-gui-cursor.js.map +1 -1
- package/core/Icon/components/icon-gui-expand.js +1 -1
- package/core/Icon/components/icon-gui-expand.js.map +1 -1
- package/core/Icon/components/icon-gui-filter-flow-step-0.js +1 -1
- package/core/Icon/components/icon-gui-filter-flow-step-0.js.map +1 -1
- package/core/Icon/components/icon-gui-filter-flow-step-1.js +1 -1
- package/core/Icon/components/icon-gui-filter-flow-step-1.js.map +1 -1
- package/core/Icon/components/icon-gui-filter-flow-step-2.js +1 -1
- package/core/Icon/components/icon-gui-filter-flow-step-2.js.map +1 -1
- package/core/Icon/components/icon-gui-filter-flow-step-3.js +1 -1
- package/core/Icon/components/icon-gui-filter-flow-step-3.js.map +1 -1
- package/core/Icon/components/icon-gui-flower-growth.js +1 -1
- package/core/Icon/components/icon-gui-flower-growth.js.map +1 -1
- package/core/Icon/components/icon-gui-further-reading.js +1 -1
- package/core/Icon/components/icon-gui-further-reading.js.map +1 -1
- package/core/Icon/components/icon-gui-glasses.js +1 -1
- package/core/Icon/components/icon-gui-glasses.js.map +1 -1
- package/core/Icon/components/icon-gui-history.js +1 -1
- package/core/Icon/components/icon-gui-history.js.map +1 -1
- package/core/Icon/components/icon-gui-live-chat.js +1 -1
- package/core/Icon/components/icon-gui-live-chat.js.map +1 -1
- package/core/Icon/components/icon-gui-mouse.js +1 -1
- package/core/Icon/components/icon-gui-mouse.js.map +1 -1
- package/core/Icon/components/icon-gui-partial.js +1 -1
- package/core/Icon/components/icon-gui-partial.js.map +1 -1
- package/core/Icon/components/icon-gui-pitfall.js +1 -1
- package/core/Icon/components/icon-gui-pitfall.js.map +1 -1
- package/core/Icon/components/icon-gui-prod-asset-tracking-outline.js +1 -1
- package/core/Icon/components/icon-gui-prod-asset-tracking-outline.js.map +1 -1
- package/core/Icon/components/icon-gui-prod-asset-tracking-solid.js +1 -1
- package/core/Icon/components/icon-gui-prod-asset-tracking-solid.js.map +1 -1
- package/core/Icon/components/icon-gui-prod-chat-outline.js +1 -1
- package/core/Icon/components/icon-gui-prod-chat-outline.js.map +1 -1
- package/core/Icon/components/icon-gui-prod-chat-solid.js +1 -1
- package/core/Icon/components/icon-gui-prod-chat-solid.js.map +1 -1
- package/core/Icon/components/icon-gui-prod-liveobjects-outline.js +1 -1
- package/core/Icon/components/icon-gui-prod-liveobjects-outline.js.map +1 -1
- package/core/Icon/components/icon-gui-prod-liveobjects-solid.js +1 -1
- package/core/Icon/components/icon-gui-prod-liveobjects-solid.js.map +1 -1
- package/core/Icon/components/icon-gui-prod-livesync-outline.js +1 -1
- package/core/Icon/components/icon-gui-prod-livesync-outline.js.map +1 -1
- package/core/Icon/components/icon-gui-prod-livesync-solid.js +1 -1
- package/core/Icon/components/icon-gui-prod-livesync-solid.js.map +1 -1
- package/core/Icon/components/icon-gui-prod-pubsub-outline.js +1 -1
- package/core/Icon/components/icon-gui-prod-pubsub-outline.js.map +1 -1
- package/core/Icon/components/icon-gui-prod-pubsub-solid.js +1 -1
- package/core/Icon/components/icon-gui-prod-pubsub-solid.js.map +1 -1
- package/core/Icon/components/icon-gui-prod-spaces-outline.js +1 -1
- package/core/Icon/components/icon-gui-prod-spaces-outline.js.map +1 -1
- package/core/Icon/components/icon-gui-prod-spaces-solid.js +1 -1
- package/core/Icon/components/icon-gui-prod-spaces-solid.js.map +1 -1
- package/core/Icon/components/icon-gui-quote-marks-fill.js +1 -1
- package/core/Icon/components/icon-gui-quote-marks-fill.js.map +1 -1
- package/core/Icon/components/icon-gui-refresh.js +1 -1
- package/core/Icon/components/icon-gui-refresh.js.map +1 -1
- package/core/Icon/components/icon-gui-resources.js +1 -1
- package/core/Icon/components/icon-gui-resources.js.map +1 -1
- package/core/Icon/components/icon-gui-spinner-dark.js +1 -1
- package/core/Icon/components/icon-gui-spinner-dark.js.map +1 -1
- package/core/Icon/components/icon-gui-spinner-light.js +1 -1
- package/core/Icon/components/icon-gui-spinner-light.js.map +1 -1
- package/core/Icon/components/icon-product-asset-tracking-mono.js +1 -1
- package/core/Icon/components/icon-product-asset-tracking-mono.js.map +1 -1
- package/core/Icon/components/icon-product-asset-tracking.js +1 -1
- package/core/Icon/components/icon-product-asset-tracking.js.map +1 -1
- package/core/Icon/components/icon-product-chat-mono.js +1 -1
- package/core/Icon/components/icon-product-chat-mono.js.map +1 -1
- package/core/Icon/components/icon-product-chat.js +1 -1
- package/core/Icon/components/icon-product-chat.js.map +1 -1
- package/core/Icon/components/icon-product-liveobjects-dark.js +1 -1
- package/core/Icon/components/icon-product-liveobjects-dark.js.map +1 -1
- package/core/Icon/components/icon-product-liveobjects-mono.js +1 -1
- package/core/Icon/components/icon-product-liveobjects-mono.js.map +1 -1
- package/core/Icon/components/icon-product-liveobjects.js +1 -1
- package/core/Icon/components/icon-product-liveobjects.js.map +1 -1
- package/core/Icon/components/icon-product-livesync-mono.js +1 -1
- package/core/Icon/components/icon-product-livesync-mono.js.map +1 -1
- package/core/Icon/components/icon-product-livesync.js +1 -1
- package/core/Icon/components/icon-product-livesync.js.map +1 -1
- package/core/Icon/components/icon-product-platform-mono.js +1 -1
- package/core/Icon/components/icon-product-platform-mono.js.map +1 -1
- package/core/Icon/components/icon-product-platform.js +1 -1
- package/core/Icon/components/icon-product-platform.js.map +1 -1
- package/core/Icon/components/icon-product-pubsub-mono.js +1 -1
- package/core/Icon/components/icon-product-pubsub-mono.js.map +1 -1
- package/core/Icon/components/icon-product-pubsub.js +1 -1
- package/core/Icon/components/icon-product-pubsub.js.map +1 -1
- package/core/Icon/components/icon-product-spaces-mono.js +1 -1
- package/core/Icon/components/icon-product-spaces-mono.js.map +1 -1
- package/core/Icon/components/icon-product-spaces.js +1 -1
- package/core/Icon/components/icon-product-spaces.js.map +1 -1
- package/core/Icon/components/icon-social-discord-mono.js +1 -1
- package/core/Icon/components/icon-social-discord-mono.js.map +1 -1
- package/core/Icon/components/icon-social-discord.js +1 -1
- package/core/Icon/components/icon-social-discord.js.map +1 -1
- package/core/Icon/components/icon-social-facebook-mono.js +1 -1
- package/core/Icon/components/icon-social-facebook-mono.js.map +1 -1
- package/core/Icon/components/icon-social-facebook.js +1 -1
- package/core/Icon/components/icon-social-facebook.js.map +1 -1
- package/core/Icon/components/icon-social-github-mono.js +1 -1
- package/core/Icon/components/icon-social-github-mono.js.map +1 -1
- package/core/Icon/components/icon-social-github.js +1 -1
- package/core/Icon/components/icon-social-github.js.map +1 -1
- package/core/Icon/components/icon-social-glassdoor-mono.js +1 -1
- package/core/Icon/components/icon-social-glassdoor-mono.js.map +1 -1
- package/core/Icon/components/icon-social-glassdoor.js +1 -1
- package/core/Icon/components/icon-social-glassdoor.js.map +1 -1
- package/core/Icon/components/icon-social-google-mono.js +1 -1
- package/core/Icon/components/icon-social-google-mono.js.map +1 -1
- package/core/Icon/components/icon-social-google.js +1 -1
- package/core/Icon/components/icon-social-google.js.map +1 -1
- package/core/Icon/components/icon-social-linkedin-mono.js +1 -1
- package/core/Icon/components/icon-social-linkedin-mono.js.map +1 -1
- package/core/Icon/components/icon-social-linkedin.js +1 -1
- package/core/Icon/components/icon-social-linkedin.js.map +1 -1
- package/core/Icon/components/icon-social-slack-mono.js +1 -1
- package/core/Icon/components/icon-social-slack-mono.js.map +1 -1
- package/core/Icon/components/icon-social-slack.js +1 -1
- package/core/Icon/components/icon-social-slack.js.map +1 -1
- package/core/Icon/components/icon-social-stackoverflow-mono.js +1 -1
- package/core/Icon/components/icon-social-stackoverflow-mono.js.map +1 -1
- package/core/Icon/components/icon-social-stackoverflow.js +1 -1
- package/core/Icon/components/icon-social-stackoverflow.js.map +1 -1
- package/core/Icon/components/icon-social-twitter-mono.js +1 -1
- package/core/Icon/components/icon-social-twitter-mono.js.map +1 -1
- package/core/Icon/components/icon-social-twitter.js +1 -1
- package/core/Icon/components/icon-social-twitter.js.map +1 -1
- package/core/Icon/components/icon-social-x-mono.js +1 -1
- package/core/Icon/components/icon-social-x-mono.js.map +1 -1
- package/core/Icon/components/icon-social-x.js +1 -1
- package/core/Icon/components/icon-social-x.js.map +1 -1
- package/core/Icon/components/icon-social-youtube-mono.js +1 -1
- package/core/Icon/components/icon-social-youtube-mono.js.map +1 -1
- package/core/Icon/components/icon-social-youtube.js +1 -1
- package/core/Icon/components/icon-social-youtube.js.map +1 -1
- package/core/Icon/components/icon-tech-ably-api-streamer.js +1 -1
- package/core/Icon/components/icon-tech-ably-api-streamer.js.map +1 -1
- package/core/Icon/components/icon-tech-ably-firehose.js +1 -1
- package/core/Icon/components/icon-tech-ably-firehose.js.map +1 -1
- package/core/Icon/components/icon-tech-ably-native.js +1 -1
- package/core/Icon/components/icon-tech-ably-native.js.map +1 -1
- package/core/Icon/components/icon-tech-ably.js +1 -1
- package/core/Icon/components/icon-tech-ably.js.map +1 -1
- package/core/Icon/components/icon-tech-activemq.js +1 -1
- package/core/Icon/components/icon-tech-activemq.js.map +1 -1
- package/core/Icon/components/icon-tech-activitypub.js +1 -1
- package/core/Icon/components/icon-tech-activitypub.js.map +1 -1
- package/core/Icon/components/icon-tech-aerospike.js +1 -1
- package/core/Icon/components/icon-tech-aerospike.js.map +1 -1
- package/core/Icon/components/icon-tech-akka.js +1 -1
- package/core/Icon/components/icon-tech-akka.js.map +1 -1
- package/core/Icon/components/icon-tech-amazon-ec2.js +1 -1
- package/core/Icon/components/icon-tech-amazon-ec2.js.map +1 -1
- package/core/Icon/components/icon-tech-amazon-event-bridge.js +1 -1
- package/core/Icon/components/icon-tech-amazon-event-bridge.js.map +1 -1
- package/core/Icon/components/icon-tech-amqp091.js +1 -1
- package/core/Icon/components/icon-tech-amqp091.js.map +1 -1
- package/core/Icon/components/icon-tech-amqp10.js +1 -1
- package/core/Icon/components/icon-tech-amqp10.js.map +1 -1
- package/core/Icon/components/icon-tech-android-full.js +1 -1
- package/core/Icon/components/icon-tech-android-full.js.map +1 -1
- package/core/Icon/components/icon-tech-android-head.js +1 -1
- package/core/Icon/components/icon-tech-android-head.js.map +1 -1
- package/core/Icon/components/icon-tech-angular.js +1 -1
- package/core/Icon/components/icon-tech-angular.js.map +1 -1
- package/core/Icon/components/icon-tech-anycable.js +1 -1
- package/core/Icon/components/icon-tech-anycable.js.map +1 -1
- package/core/Icon/components/icon-tech-apache-cassandra.js +1 -1
- package/core/Icon/components/icon-tech-apache-cassandra.js.map +1 -1
- package/core/Icon/components/icon-tech-apache-cordova.js +1 -1
- package/core/Icon/components/icon-tech-apache-cordova.js.map +1 -1
- package/core/Icon/components/icon-tech-apache-kafka.js +1 -1
- package/core/Icon/components/icon-tech-apache-kafka.js.map +1 -1
- package/core/Icon/components/icon-tech-apache-spark.js +1 -1
- package/core/Icon/components/icon-tech-apache-spark.js.map +1 -1
- package/core/Icon/components/icon-tech-apachepulsar.js +1 -1
- package/core/Icon/components/icon-tech-apachepulsar.js.map +1 -1
- package/core/Icon/components/icon-tech-apachestorm.js +1 -1
- package/core/Icon/components/icon-tech-apachestorm.js.map +1 -1
- package/core/Icon/components/icon-tech-apns.js +1 -1
- package/core/Icon/components/icon-tech-apns.js.map +1 -1
- package/core/Icon/components/icon-tech-assemblyai.js +1 -1
- package/core/Icon/components/icon-tech-assemblyai.js.map +1 -1
- package/core/Icon/components/icon-tech-atmosphere.js +1 -1
- package/core/Icon/components/icon-tech-atmosphere.js.map +1 -1
- package/core/Icon/components/icon-tech-aws-app-sync.js +1 -1
- package/core/Icon/components/icon-tech-aws-app-sync.js.map +1 -1
- package/core/Icon/components/icon-tech-aws-aurora.js +1 -1
- package/core/Icon/components/icon-tech-aws-aurora.js.map +1 -1
- package/core/Icon/components/icon-tech-aws-gateway-websockets.js +1 -1
- package/core/Icon/components/icon-tech-aws-gateway-websockets.js.map +1 -1
- package/core/Icon/components/icon-tech-aws-sns.js +1 -1
- package/core/Icon/components/icon-tech-aws-sns.js.map +1 -1
- package/core/Icon/components/icon-tech-aws-sqs.js +1 -1
- package/core/Icon/components/icon-tech-aws-sqs.js.map +1 -1
- package/core/Icon/components/icon-tech-aws.js +1 -1
- package/core/Icon/components/icon-tech-aws.js.map +1 -1
- package/core/Icon/components/icon-tech-awsiot.js +1 -1
- package/core/Icon/components/icon-tech-awsiot.js.map +1 -1
- package/core/Icon/components/icon-tech-awskinesis.js +1 -1
- package/core/Icon/components/icon-tech-awskinesis.js.map +1 -1
- package/core/Icon/components/icon-tech-awslambda.js +1 -1
- package/core/Icon/components/icon-tech-awslambda.js.map +1 -1
- package/core/Icon/components/icon-tech-awssqs.js +1 -1
- package/core/Icon/components/icon-tech-awssqs.js.map +1 -1
- package/core/Icon/components/icon-tech-azure-api.js +1 -1
- package/core/Icon/components/icon-tech-azure-api.js.map +1 -1
- package/core/Icon/components/icon-tech-azure-archive-api.js +1 -1
- package/core/Icon/components/icon-tech-azure-archive-api.js.map +1 -1
- package/core/Icon/components/icon-tech-azure-bus.js +1 -1
- package/core/Icon/components/icon-tech-azure-bus.js.map +1 -1
- package/core/Icon/components/icon-tech-azure-cosmos.js +1 -1
- package/core/Icon/components/icon-tech-azure-cosmos.js.map +1 -1
- package/core/Icon/components/icon-tech-azure-event-hub.js +1 -1
- package/core/Icon/components/icon-tech-azure-event-hub.js.map +1 -1
- package/core/Icon/components/icon-tech-azure-functions.js +1 -1
- package/core/Icon/components/icon-tech-azure-functions.js.map +1 -1
- package/core/Icon/components/icon-tech-azure-search.js +1 -1
- package/core/Icon/components/icon-tech-azure-search.js.map +1 -1
- package/core/Icon/components/icon-tech-azure-static-web-app.js +1 -1
- package/core/Icon/components/icon-tech-azure-static-web-app.js.map +1 -1
- package/core/Icon/components/icon-tech-azure-static-web-apps.js +1 -1
- package/core/Icon/components/icon-tech-azure-static-web-apps.js.map +1 -1
- package/core/Icon/components/icon-tech-azure-storage.js +1 -1
- package/core/Icon/components/icon-tech-azure-storage.js.map +1 -1
- package/core/Icon/components/icon-tech-azure-web-pubsub.js +1 -1
- package/core/Icon/components/icon-tech-azure-web-pubsub.js.map +1 -1
- package/core/Icon/components/icon-tech-azurefunctions.js +1 -1
- package/core/Icon/components/icon-tech-azurefunctions.js.map +1 -1
- package/core/Icon/components/icon-tech-azureservicebus.js +1 -1
- package/core/Icon/components/icon-tech-azureservicebus.js.map +1 -1
- package/core/Icon/components/icon-tech-azuresignalR.js +1 -1
- package/core/Icon/components/icon-tech-azuresignalR.js.map +1 -1
- package/core/Icon/components/icon-tech-bayeux.js +1 -1
- package/core/Icon/components/icon-tech-bayeux.js.map +1 -1
- package/core/Icon/components/icon-tech-c.js +1 -1
- package/core/Icon/components/icon-tech-c.js.map +1 -1
- package/core/Icon/components/icon-tech-centrifugo.js +1 -1
- package/core/Icon/components/icon-tech-centrifugo.js.map +1 -1
- package/core/Icon/components/icon-tech-client-side-frameworks.js +1 -1
- package/core/Icon/components/icon-tech-client-side-frameworks.js.map +1 -1
- package/core/Icon/components/icon-tech-clojure.js +1 -1
- package/core/Icon/components/icon-tech-clojure.js.map +1 -1
- package/core/Icon/components/icon-tech-cloudflare-durable-objects.js +1 -1
- package/core/Icon/components/icon-tech-cloudflare-durable-objects.js.map +1 -1
- package/core/Icon/components/icon-tech-cloudflareworkers.js +1 -1
- package/core/Icon/components/icon-tech-cloudflareworkers.js.map +1 -1
- package/core/Icon/components/icon-tech-cocoa.js +1 -1
- package/core/Icon/components/icon-tech-cocoa.js.map +1 -1
- package/core/Icon/components/icon-tech-confluent.js +1 -1
- package/core/Icon/components/icon-tech-confluent.js.map +1 -1
- package/core/Icon/components/icon-tech-cord.js +1 -1
- package/core/Icon/components/icon-tech-cord.js.map +1 -1
- package/core/Icon/components/icon-tech-csharp.js +1 -1
- package/core/Icon/components/icon-tech-csharp.js.map +1 -1
- package/core/Icon/components/icon-tech-curl.js +1 -1
- package/core/Icon/components/icon-tech-curl.js.map +1 -1
- package/core/Icon/components/icon-tech-customwebhooks.js +1 -1
- package/core/Icon/components/icon-tech-customwebhooks.js.map +1 -1
- package/core/Icon/components/icon-tech-datadog.js +1 -1
- package/core/Icon/components/icon-tech-datadog.js.map +1 -1
- package/core/Icon/components/icon-tech-design-patterns.js +1 -1
- package/core/Icon/components/icon-tech-design-patterns.js.map +1 -1
- package/core/Icon/components/icon-tech-devplatforms.js +1 -1
- package/core/Icon/components/icon-tech-devplatforms.js.map +1 -1
- package/core/Icon/components/icon-tech-diffusion-data.js +1 -1
- package/core/Icon/components/icon-tech-diffusion-data.js.map +1 -1
- package/core/Icon/components/icon-tech-django.js +1 -1
- package/core/Icon/components/icon-tech-django.js.map +1 -1
- package/core/Icon/components/icon-tech-engineio.js +1 -1
- package/core/Icon/components/icon-tech-engineio.js.map +1 -1
- package/core/Icon/components/icon-tech-event-driven-servers.js +1 -1
- package/core/Icon/components/icon-tech-event-driven-servers.js.map +1 -1
- package/core/Icon/components/icon-tech-fanout-io.js +1 -1
- package/core/Icon/components/icon-tech-fanout-io.js.map +1 -1
- package/core/Icon/components/icon-tech-fast-api.js +1 -1
- package/core/Icon/components/icon-tech-fast-api.js.map +1 -1
- package/core/Icon/components/icon-tech-fauna.js +1 -1
- package/core/Icon/components/icon-tech-fauna.js.map +1 -1
- package/core/Icon/components/icon-tech-featherjs.js +1 -1
- package/core/Icon/components/icon-tech-featherjs.js.map +1 -1
- package/core/Icon/components/icon-tech-firebase-cloud-messaging.js +1 -1
- package/core/Icon/components/icon-tech-firebase-cloud-messaging.js.map +1 -1
- package/core/Icon/components/icon-tech-firebase.js +1 -1
- package/core/Icon/components/icon-tech-firebase.js.map +1 -1
- package/core/Icon/components/icon-tech-flutter.js +1 -1
- package/core/Icon/components/icon-tech-flutter.js.map +1 -1
- package/core/Icon/components/icon-tech-gcloudbigquery.js +1 -1
- package/core/Icon/components/icon-tech-gcloudbigquery.js.map +1 -1
- package/core/Icon/components/icon-tech-gclouddataflow.js +1 -1
- package/core/Icon/components/icon-tech-gclouddataflow.js.map +1 -1
- package/core/Icon/components/icon-tech-gcloudfunctions.js +1 -1
- package/core/Icon/components/icon-tech-gcloudfunctions.js.map +1 -1
- package/core/Icon/components/icon-tech-gcloudpubsub.js +1 -1
- package/core/Icon/components/icon-tech-gcloudpubsub.js.map +1 -1
- package/core/Icon/components/icon-tech-go.js +1 -1
- package/core/Icon/components/icon-tech-go.js.map +1 -1
- package/core/Icon/components/icon-tech-grpc.js +1 -1
- package/core/Icon/components/icon-tech-grpc.js.map +1 -1
- package/core/Icon/components/icon-tech-hivemq.js +1 -1
- package/core/Icon/components/icon-tech-hivemq.js.map +1 -1
- package/core/Icon/components/icon-tech-http2.js +1 -1
- package/core/Icon/components/icon-tech-http2.js.map +1 -1
- package/core/Icon/components/icon-tech-http3.js +1 -1
- package/core/Icon/components/icon-tech-http3.js.map +1 -1
- package/core/Icon/components/icon-tech-httprest.js +1 -1
- package/core/Icon/components/icon-tech-httprest.js.map +1 -1
- package/core/Icon/components/icon-tech-idempotency.js +1 -1
- package/core/Icon/components/icon-tech-idempotency.js.map +1 -1
- package/core/Icon/components/icon-tech-ifttt.js +1 -1
- package/core/Icon/components/icon-tech-ifttt.js.map +1 -1
- package/core/Icon/components/icon-tech-integrations.js +1 -1
- package/core/Icon/components/icon-tech-integrations.js.map +1 -1
- package/core/Icon/components/icon-tech-ios-generic.js +1 -1
- package/core/Icon/components/icon-tech-ios-generic.js.map +1 -1
- package/core/Icon/components/icon-tech-ios.js +1 -1
- package/core/Icon/components/icon-tech-ios.js.map +1 -1
- package/core/Icon/components/icon-tech-ipados.js +1 -1
- package/core/Icon/components/icon-tech-ipados.js.map +1 -1
- package/core/Icon/components/icon-tech-ipfs.js +1 -1
- package/core/Icon/components/icon-tech-ipfs.js.map +1 -1
- package/core/Icon/components/icon-tech-ironmq.js +1 -1
- package/core/Icon/components/icon-tech-ironmq.js.map +1 -1
- package/core/Icon/components/icon-tech-java.js +1 -1
- package/core/Icon/components/icon-tech-java.js.map +1 -1
- package/core/Icon/components/icon-tech-javascript.js +1 -1
- package/core/Icon/components/icon-tech-javascript.js.map +1 -1
- package/core/Icon/components/icon-tech-jms.js +1 -1
- package/core/Icon/components/icon-tech-jms.js.map +1 -1
- package/core/Icon/components/icon-tech-json-web-tokens.js +1 -1
- package/core/Icon/components/icon-tech-json-web-tokens.js.map +1 -1
- package/core/Icon/components/icon-tech-json.js +1 -1
- package/core/Icon/components/icon-tech-json.js.map +1 -1
- package/core/Icon/components/icon-tech-kaazing.js +1 -1
- package/core/Icon/components/icon-tech-kaazing.js.map +1 -1
- package/core/Icon/components/icon-tech-kotlin.js +1 -1
- package/core/Icon/components/icon-tech-kotlin.js.map +1 -1
- package/core/Icon/components/icon-tech-ksql-db.js +1 -1
- package/core/Icon/components/icon-tech-ksql-db.js.map +1 -1
- package/core/Icon/components/icon-tech-kubernetes.js +1 -1
- package/core/Icon/components/icon-tech-kubernetes.js.map +1 -1
- package/core/Icon/components/icon-tech-laravel-broadcast.js +1 -1
- package/core/Icon/components/icon-tech-laravel-broadcast.js.map +1 -1
- package/core/Icon/components/icon-tech-laravel-echo.js +1 -1
- package/core/Icon/components/icon-tech-laravel-echo.js.map +1 -1
- package/core/Icon/components/icon-tech-lightstreamer.js +1 -1
- package/core/Icon/components/icon-tech-lightstreamer.js.map +1 -1
- package/core/Icon/components/icon-tech-liveblocks.js +1 -1
- package/core/Icon/components/icon-tech-liveblocks.js.map +1 -1
- package/core/Icon/components/icon-tech-longpolling.js +1 -1
- package/core/Icon/components/icon-tech-longpolling.js.map +1 -1
- package/core/Icon/components/icon-tech-macos.js +1 -1
- package/core/Icon/components/icon-tech-macos.js.map +1 -1
- package/core/Icon/components/icon-tech-matrix.js +1 -1
- package/core/Icon/components/icon-tech-matrix.js.map +1 -1
- package/core/Icon/components/icon-tech-meteor.js +1 -1
- package/core/Icon/components/icon-tech-meteor.js.map +1 -1
- package/core/Icon/components/icon-tech-mongo-db.js +1 -1
- package/core/Icon/components/icon-tech-mongo-db.js.map +1 -1
- package/core/Icon/components/icon-tech-mono.js +1 -1
- package/core/Icon/components/icon-tech-mono.js.map +1 -1
- package/core/Icon/components/icon-tech-mqtt.js +1 -1
- package/core/Icon/components/icon-tech-mqtt.js.map +1 -1
- package/core/Icon/components/icon-tech-mysql.js +1 -1
- package/core/Icon/components/icon-tech-mysql.js.map +1 -1
- package/core/Icon/components/icon-tech-native-script.js +1 -1
- package/core/Icon/components/icon-tech-native-script.js.map +1 -1
- package/core/Icon/components/icon-tech-net.js +1 -1
- package/core/Icon/components/icon-tech-net.js.map +1 -1
- package/core/Icon/components/icon-tech-netlify.js +1 -1
- package/core/Icon/components/icon-tech-netlify.js.map +1 -1
- package/core/Icon/components/icon-tech-nextjs.js +1 -1
- package/core/Icon/components/icon-tech-nextjs.js.map +1 -1
- package/core/Icon/components/icon-tech-nkn.js +1 -1
- package/core/Icon/components/icon-tech-nkn.js.map +1 -1
- package/core/Icon/components/icon-tech-nodejs.js +1 -1
- package/core/Icon/components/icon-tech-nodejs.js.map +1 -1
- package/core/Icon/components/icon-tech-objectivec.js +1 -1
- package/core/Icon/components/icon-tech-objectivec.js.map +1 -1
- package/core/Icon/components/icon-tech-openai.js +1 -1
- package/core/Icon/components/icon-tech-openai.js.map +1 -1
- package/core/Icon/components/icon-tech-parse-server.js +1 -1
- package/core/Icon/components/icon-tech-parse-server.js.map +1 -1
- package/core/Icon/components/icon-tech-php.js +1 -1
- package/core/Icon/components/icon-tech-php.js.map +1 -1
- package/core/Icon/components/icon-tech-planetscale.js +1 -1
- package/core/Icon/components/icon-tech-planetscale.js.map +1 -1
- package/core/Icon/components/icon-tech-postgres.js +1 -1
- package/core/Icon/components/icon-tech-postgres.js.map +1 -1
- package/core/Icon/components/icon-tech-prisma.js +1 -1
- package/core/Icon/components/icon-tech-prisma.js.map +1 -1
- package/core/Icon/components/icon-tech-programminglanguages.js +1 -1
- package/core/Icon/components/icon-tech-programminglanguages.js.map +1 -1
- package/core/Icon/components/icon-tech-protcol-adaptors.js +1 -1
- package/core/Icon/components/icon-tech-protcol-adaptors.js.map +1 -1
- package/core/Icon/components/icon-tech-protocols.js +1 -1
- package/core/Icon/components/icon-tech-protocols.js.map +1 -1
- package/core/Icon/components/icon-tech-pub-sub.js +1 -1
- package/core/Icon/components/icon-tech-pub-sub.js.map +1 -1
- package/core/Icon/components/icon-tech-pubnub.js +1 -1
- package/core/Icon/components/icon-tech-pubnub.js.map +1 -1
- package/core/Icon/components/icon-tech-push-technology.js +1 -1
- package/core/Icon/components/icon-tech-push-technology.js.map +1 -1
- package/core/Icon/components/icon-tech-pusher.js +1 -1
- package/core/Icon/components/icon-tech-pusher.js.map +1 -1
- package/core/Icon/components/icon-tech-python.js +1 -1
- package/core/Icon/components/icon-tech-python.js.map +1 -1
- package/core/Icon/components/icon-tech-quic.js +1 -1
- package/core/Icon/components/icon-tech-quic.js.map +1 -1
- package/core/Icon/components/icon-tech-rabbitMQ.js +1 -1
- package/core/Icon/components/icon-tech-rabbitMQ.js.map +1 -1
- package/core/Icon/components/icon-tech-railsactioncable.js +1 -1
- package/core/Icon/components/icon-tech-railsactioncable.js.map +1 -1
- package/core/Icon/components/icon-tech-react-app.js +1 -1
- package/core/Icon/components/icon-tech-react-app.js.map +1 -1
- package/core/Icon/components/icon-tech-react.js +1 -1
- package/core/Icon/components/icon-tech-react.js.map +1 -1
- package/core/Icon/components/icon-tech-reactnative.js +1 -1
- package/core/Icon/components/icon-tech-reactnative.js.map +1 -1
- package/core/Icon/components/icon-tech-redis.js +1 -1
- package/core/Icon/components/icon-tech-redis.js.map +1 -1
- package/core/Icon/components/icon-tech-redpanda.js +1 -1
- package/core/Icon/components/icon-tech-redpanda.js.map +1 -1
- package/core/Icon/components/icon-tech-replicache.js +1 -1
- package/core/Icon/components/icon-tech-replicache.js.map +1 -1
- package/core/Icon/components/icon-tech-rethinkdb.js +1 -1
- package/core/Icon/components/icon-tech-rethinkdb.js.map +1 -1
- package/core/Icon/components/icon-tech-rocketmq.js +1 -1
- package/core/Icon/components/icon-tech-rocketmq.js.map +1 -1
- package/core/Icon/components/icon-tech-ruby.js +1 -1
- package/core/Icon/components/icon-tech-ruby.js.map +1 -1
- package/core/Icon/components/icon-tech-scala.js +1 -1
- package/core/Icon/components/icon-tech-scala.js.map +1 -1
- package/core/Icon/components/icon-tech-scaledrone.js +1 -1
- package/core/Icon/components/icon-tech-scaledrone.js.map +1 -1
- package/core/Icon/components/icon-tech-serversentevents.js +1 -1
- package/core/Icon/components/icon-tech-serversentevents.js.map +1 -1
- package/core/Icon/components/icon-tech-serversideframeworks.js +1 -1
- package/core/Icon/components/icon-tech-serversideframeworks.js.map +1 -1
- package/core/Icon/components/icon-tech-signalR.js +1 -1
- package/core/Icon/components/icon-tech-signalR.js.map +1 -1
- package/core/Icon/components/icon-tech-snowflake.js +1 -1
- package/core/Icon/components/icon-tech-snowflake.js.map +1 -1
- package/core/Icon/components/icon-tech-socketio.js +1 -1
- package/core/Icon/components/icon-tech-socketio.js.map +1 -1
- package/core/Icon/components/icon-tech-sockjs.js +1 -1
- package/core/Icon/components/icon-tech-sockjs.js.map +1 -1
- package/core/Icon/components/icon-tech-solace.js +1 -1
- package/core/Icon/components/icon-tech-solace.js.map +1 -1
- package/core/Icon/components/icon-tech-spring.js +1 -1
- package/core/Icon/components/icon-tech-spring.js.map +1 -1
- package/core/Icon/components/icon-tech-stomp.js +1 -1
- package/core/Icon/components/icon-tech-stomp.js.map +1 -1
- package/core/Icon/components/icon-tech-streamdata-io.js +1 -1
- package/core/Icon/components/icon-tech-streamdata-io.js.map +1 -1
- package/core/Icon/components/icon-tech-streamr.js +1 -1
- package/core/Icon/components/icon-tech-streamr.js.map +1 -1
- package/core/Icon/components/icon-tech-swift.js +1 -1
- package/core/Icon/components/icon-tech-swift.js.map +1 -1
- package/core/Icon/components/icon-tech-symfony-mercure.js +1 -1
- package/core/Icon/components/icon-tech-symfony-mercure.js.map +1 -1
- package/core/Icon/components/icon-tech-symfony.js +1 -1
- package/core/Icon/components/icon-tech-symfony.js.map +1 -1
- package/core/Icon/components/icon-tech-tcp-ip.js +1 -1
- package/core/Icon/components/icon-tech-tcp-ip.js.map +1 -1
- package/core/Icon/components/icon-tech-tenefit.js +1 -1
- package/core/Icon/components/icon-tech-tenefit.js.map +1 -1
- package/core/Icon/components/icon-tech-terraform.js +1 -1
- package/core/Icon/components/icon-tech-terraform.js.map +1 -1
- package/core/Icon/components/icon-tech-tvos.js +1 -1
- package/core/Icon/components/icon-tech-tvos.js.map +1 -1
- package/core/Icon/components/icon-tech-twilio.js +1 -1
- package/core/Icon/components/icon-tech-twilio.js.map +1 -1
- package/core/Icon/components/icon-tech-typescript.js +1 -1
- package/core/Icon/components/icon-tech-typescript.js.map +1 -1
- package/core/Icon/components/icon-tech-udp-protocol.js +1 -1
- package/core/Icon/components/icon-tech-udp-protocol.js.map +1 -1
- package/core/Icon/components/icon-tech-unity.js +1 -1
- package/core/Icon/components/icon-tech-unity.js.map +1 -1
- package/core/Icon/components/icon-tech-vercel.js +1 -1
- package/core/Icon/components/icon-tech-vercel.js.map +1 -1
- package/core/Icon/components/icon-tech-vscode.js +1 -1
- package/core/Icon/components/icon-tech-vscode.js.map +1 -1
- package/core/Icon/components/icon-tech-vuejs.js +1 -1
- package/core/Icon/components/icon-tech-vuejs.js.map +1 -1
- package/core/Icon/components/icon-tech-wamp.js +1 -1
- package/core/Icon/components/icon-tech-wamp.js.map +1 -1
- package/core/Icon/components/icon-tech-watchos.js +1 -1
- package/core/Icon/components/icon-tech-watchos.js.map +1 -1
- package/core/Icon/components/icon-tech-web-push.js +1 -1
- package/core/Icon/components/icon-tech-web-push.js.map +1 -1
- package/core/Icon/components/icon-tech-web.js +1 -1
- package/core/Icon/components/icon-tech-web.js.map +1 -1
- package/core/Icon/components/icon-tech-webhooks.js +1 -1
- package/core/Icon/components/icon-tech-webhooks.js.map +1 -1
- package/core/Icon/components/icon-tech-webrtc.js +1 -1
- package/core/Icon/components/icon-tech-webrtc.js.map +1 -1
- package/core/Icon/components/icon-tech-websockets.js +1 -1
- package/core/Icon/components/icon-tech-websockets.js.map +1 -1
- package/core/Icon/components/icon-tech-websub.js +1 -1
- package/core/Icon/components/icon-tech-websub.js.map +1 -1
- package/core/Icon/components/icon-tech-xamarin.js +1 -1
- package/core/Icon/components/icon-tech-xamarin.js.map +1 -1
- package/core/Icon/components/icon-tech-xhr-streaming.js +1 -1
- package/core/Icon/components/icon-tech-xhr-streaming.js.map +1 -1
- package/core/Icon/components/icon-tech-xmpp.js +1 -1
- package/core/Icon/components/icon-tech-xmpp.js.map +1 -1
- package/core/Icon/components/icon-tech-zapier.js +1 -1
- package/core/Icon/components/icon-tech-zapier.js.map +1 -1
- package/core/Icon/components/icon-tech-zeromq.js +1 -1
- package/core/Icon/components/icon-tech-zeromq.js.map +1 -1
- package/core/Icon.js +1 -1
- package/core/Icon.js.map +1 -1
- package/core/LinkButton.js +1 -1
- package/core/LinkButton.js.map +1 -1
- package/core/Loader.js +2 -2
- package/core/Loader.js.map +1 -1
- package/core/Logo.js +1 -1
- package/core/Logo.js.map +1 -1
- package/core/Meganav/MeganavMobile.js +1 -1
- package/core/Meganav/MeganavMobile.js.map +1 -1
- package/core/Meganav/MeganavPanel.js +1 -1
- package/core/Meganav/MeganavPanel.js.map +1 -1
- package/core/Meganav/MeganavProductTile.js +1 -1
- package/core/Meganav/MeganavProductTile.js.map +1 -1
- package/core/Meganav/data.js +1 -1
- package/core/Meganav/data.js.map +1 -1
- package/core/Meganav.js +1 -1
- package/core/Meganav.js.map +1 -1
- package/core/Notice.js +1 -1
- package/core/Notice.js.map +1 -1
- package/core/Pricing/PricingCards.js +1 -1
- package/core/Pricing/PricingCards.js.map +1 -1
- package/core/Pricing/data.js +1 -1
- package/core/Pricing/data.js.map +1 -1
- package/core/ProductTile/ProductDescription.js +1 -1
- package/core/ProductTile/ProductDescription.js.map +1 -1
- package/core/ProductTile/ProductIcon.js +1 -1
- package/core/ProductTile/ProductIcon.js.map +1 -1
- package/core/ProductTile/ProductLabel.js +1 -1
- package/core/ProductTile/ProductLabel.js.map +1 -1
- package/core/ProductTile.js +1 -1
- package/core/ProductTile.js.map +1 -1
- package/core/SegmentedControl.js +1 -1
- package/core/SegmentedControl.js.map +1 -1
- package/core/Slider.js +1 -1
- package/core/Slider.js.map +1 -1
- package/core/Status.js +1 -1
- package/core/Status.js.map +1 -1
- package/core/TabMenu.js +1 -1
- package/core/TabMenu.js.map +1 -1
- package/core/Table/Table.js +1 -1
- package/core/Table/Table.js.map +1 -1
- package/core/Table/TableCell.js +2 -2
- package/core/Table/TableCell.js.map +1 -1
- package/core/Table/TableRow.js +1 -1
- package/core/Table/TableRow.js.map +1 -1
- package/core/Table/data.js +1 -1
- package/core/Table/data.js.map +1 -1
- package/core/Toggle.js +1 -1
- package/core/Toggle.js.map +1 -1
- package/core/Tooltip.js +1 -1
- package/core/Tooltip.js.map +1 -1
- package/core/fonts/NEXT-Book-Light-Italic.eot +0 -0
- package/core/fonts/NEXT-Book-Light-Italic.otf +0 -0
- package/core/fonts/NEXT-Book-Light-Italic.woff +0 -0
- package/core/fonts/NEXT-Book-Light-Italic.woff2 +0 -0
- package/core/fonts/NEXT-Book-Light.eot +0 -0
- package/core/fonts/NEXT-Book-Light.otf +0 -0
- package/core/fonts/NEXT-Book-Light.woff +0 -0
- package/core/fonts/NEXT-Book-Light.woff2 +0 -0
- package/core/fonts/NEXT-Book-Medium-Italic.eot +0 -0
- package/core/fonts/NEXT-Book-Medium-Italic.otf +0 -0
- package/core/fonts/NEXT-Book-Medium-Italic.woff +0 -0
- package/core/fonts/NEXT-Book-Medium-Italic.woff2 +0 -0
- package/core/fonts/NEXT-Book-Medium.eot +0 -0
- package/core/fonts/NEXT-Book-Medium.otf +0 -0
- package/core/fonts/NEXT-Book-Medium.woff +0 -0
- package/core/fonts/NEXT-Book-Medium.woff2 +0 -0
- package/core/images/cust-logo-mentimeter-mono-pos.svg +0 -0
- package/core/insights/command-queue.js.map +1 -1
- package/core/react-renderer.js +1 -1
- package/core/react-renderer.js.map +1 -1
- package/core/remote-blogs-posts.js.map +1 -1
- package/core/remote-session-data.js.map +1 -1
- package/core/styles/forms/story-components.js +1 -1
- package/core/styles/forms/story-components.js.map +1 -1
- package/index.d.ts +2 -2
- package/package.json +28 -26
package/core/Tooltip.js.map
CHANGED
|
@@ -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":"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"}
|
|
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,EAAIW,cAAgBC,OAAOM,OAAO,CAAGX,aAAaU,KAAK,CAAGd,OAC1DD,YAAc,MAChB,CAGA,GAAIF,EAAIY,OAAOM,OAAO,CAAE,CACtBlB,EAAIY,OAAOM,OAAO,CAAGf,OACrBD,YAAc,OAChB,CAGA,GAAID,EAAIW,OAAOS,OAAO,CAAE,CACtBpB,EAAIS,cAAcY,MAAM,CAAGnB,OAASS,OAAOS,OAAO,CAClDnB,YAAc,QAChB,CAGA,GAAID,EAAIM,aAAaa,MAAM,CAAGN,eAAiBF,OAAOS,OAAO,CAAE,CAC7DpB,EAAIS,cAAcS,GAAG,CAAGZ,aAAaa,MAAM,CAAGjB,OAASS,OAAOS,OAAO,AACvE,CAEAtB,YAAY,CAAEC,EAAGC,EAAGC,WAAY,EAClC,CACF,KAAO,CACLH,YAAY,CAAEC,EAAG,EAAGC,EAAG,EAAGC,YAAa,KAAM,EAC/C,CAEA,MAAO,KACL,GAAII,kBAAkBE,OAAO,GAAK,KAAM,CACtCe,aAAajB,kBAAkBE,OAAO,CACxC,CACF,CACF,EAAG,CAACd,KAAK,EAET,MAAM8B,gBAAkB,KACtB3B,WAAW,KACXS,CAAAA,kBAAkBE,OAAO,CAAGiB,WAAW,KACrC9B,QAAQ,OACRE,WAAW,MACb,EAAG,IACL,EAEA,MAAM6B,qBAAuB,CAC3BC,MACAC,OAEA,GAAI,CAACA,IAAIpB,OAAO,CAAE,CAChB,OAAO,KACT,CAEA,KAAM,CAAEqB,OAAO,CAAEC,OAAO,CAAE,CAAGH,MAC7B,KAAM,CAAE3B,CAAC,CAAEC,CAAC,CAAEgB,KAAK,CAAEG,MAAM,CAAE,CAAGQ,IAAIpB,OAAO,CAACC,qBAAqB,GACjE,KAAM,CAAEP,WAAW,CAAE,CAAGJ,SAExB,OAAQI,aACN,IAAK,MACH,OAAO2B,SAAW7B,GAAK6B,SAAW7B,EAAIiB,OAASa,QAAU7B,CAC3D,KAAK,OACH,OAAO6B,SAAW7B,GAAK6B,SAAW7B,EAAImB,QAAUS,QAAU7B,CAC5D,KAAK,QACH,OAAO8B,SAAW7B,GAAK6B,SAAW7B,EAAImB,QAAUS,QAAU7B,EAAIiB,KAChE,KAAK,SACH,OAAOY,SAAW7B,GAAK6B,SAAW7B,EAAIiB,OAASa,QAAU7B,EAAImB,MAC/D,SACE,OAAO,KACX,CACF,EAEA,MAAMW,0BAA4B,AAACJ,QACjC,GAAI,CAACvB,UAAUI,OAAO,CAAE,OAExB,KAAM,CAAEqB,OAAO,CAAEC,OAAO,CAAE,CAAGH,MAC7B,KAAM,CAAE3B,CAAC,CAAEC,CAAC,CAAEgB,KAAK,CAAEG,MAAM,CAAE,CAAGhB,UAAUI,OAAO,CAACC,qBAAqB,GACvE,MAAMuB,aACJH,SAAW7B,GACX6B,SAAW7B,EAAIiB,OACfa,SAAW7B,GACX6B,SAAW7B,EAAImB,OAEjB,GAAI,CAACY,aAAc,CACjBR,iBACF,CACF,EAEA,oBACE,oBAACS,OAAK,GAAGxC,IAAI,CAAEyC,UAAWhD,GAAG,mBAAoBO,MAAMyC,yBACrD,oBAACC,UACCC,aAAc,IAAMzC,QAAQ,MAC5B0C,aAAc,AAACV,QACb,GAAI,CAACnC,aAAe,CAACkC,qBAAqBC,MAAOvB,WAAY,CAC3DoB,iBACF,CACF,EACAc,KAAK,SACLV,IAAKxB,UACLmC,mBAAiB,UAChB,GAAGjD,YAAY,CAChB4C,UAAW,CAAC,yCAAyC,EACnD5C,cAAc4C,WAAa,GAC5B,CAAC,EAED7C,6BACC,oBAACJ,MACCuD,KAAK,oCACLC,MAAM,yCACNC,KAAK,UAKVhD,kBACGV,0BACE,oBAACiD,OACCU,KAAK,UACLf,IAAKvB,SACLgC,aAAc,AAACV,OACbF,WAAW,IAAMM,0BAA0BJ,OAAQ,KAErDiB,MAAO,CACLzB,IAAKrB,SAASG,CAAC,CACfe,KAAMlB,SAASE,CAAC,CAChB6C,OAAQ,IACRC,UAAW,iCACb,EACC,GAAGvD,YAAY,CAChB2C,UAAWhD,GACT,yGACA,CAAE,sBAAuB,CAACM,WAAY,EACtC,sBACAD,cAAc2C,UACd,CAAE,0CAA2CtC,OAAQ,EACrD,CAAE,2CAA4C,CAACA,OAAQ,iBAGzD,oBAACqC,OAAIC,UAAU,mBAAmB9C,WAEpC2D,SAASC,IAAI,EAEf,KAGV,CAEA,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,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,CAC5C,CAAE,MAAOG,EAAG,CACV,GAAI,IAAI,CAACd,SAAS,CAAE,CAClBJ,OAAOmB,KAAK,CACV,CAAC,gCAAgC,EAAEP,IAAIE,UAAU,CAAC,CAAC,CACnDI,EAEJ,CACF,CACF,CACF,CACF,CAIAX,aAAaa,OAAuB,CAAQ,CAAC,CAC7CC,iBAAwB,CAAC,CACzBC,kBAAyB,CAAC,CAC1BC,SAASC,SAA2B,CAAQ,CAAC,CAC7CC,eAAsB,CAAC,CACvBC,MAAMC,MAAc,CAAEC,WAAqC,CAAQ,CAAC,CACpEC,uBAA8B,CAAC,CAC/BC,sBAA6B,CAAC,CAC9BC,eAA4B,CAC1B,MAAO,KAAO,CAChB,
|
|
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,CAC5C,CAAE,MAAOG,EAAG,CACV,GAAI,IAAI,CAACd,SAAS,CAAE,CAClBJ,OAAOmB,KAAK,CACV,CAAC,gCAAgC,EAAEP,IAAIE,UAAU,CAAC,CAAC,CACnDI,EAEJ,CACF,CACF,CACF,CACF,CAIAX,aAAaa,OAAuB,CAAQ,CAAC,CAC7CC,iBAAwB,CAAC,CACzBC,kBAAyB,CAAC,CAC1BC,SAASC,SAA2B,CAAQ,CAAC,CAC7CC,eAAsB,CAAC,CACvBC,MAAMC,MAAc,CAAEC,WAAqC,CAAQ,CAAC,CACpEC,uBAA8B,CAAC,CAC/BC,sBAA6B,CAAC,CAC9BC,eAA4B,CAC1B,MAAO,KAAO,CAChB,CA7GAC,aAAc,CALd,sBAAQxB,gBAAyB,OACjC,sBAAQE,QAAmB,EAAE,EAC7B,sBAAQN,YAAqB,OAC7B,sBAAQE,qBAA6C,MAInD,OAAO,IAAI2B,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,GAAGrB,QACT,GAAI,CAACoB,OAAO3B,aAAa,EAAI,CAAC2B,OAAO7B,kBAAkB,CAAE,CAEvD,GAAI8B,OAAS,eAAgB,CAE3BD,OAAOjC,mBAAmB,CAACa,IAAI,CAAC,EAAE,EAClC,MACF,CAGA,GAAIoB,OAAO/B,SAAS,CAAE,CACpBJ,OAAOK,KAAK,CAAC,CAAC,qBAAqB,EAAEgC,OAAOD,MAAM,CAAC,CAAErB,KACvD,CAEAoB,OAAOzB,KAAK,CAAC4B,IAAI,CAAC,CAChBxB,WAAYsB,KACZrB,IACF,GAEA,MACF,CAGA,GAAI,OAAOoB,OAAO7B,kBAAkB,CAAC8B,KAAK,GAAK,WAAY,CACzD,OAAOD,OAAO7B,kBAAkB,CAAC8B,KAAK,IAAIrB,KAC5C,CACF,CACF,CACF,EACF,CAuEF"}
|
package/core/react-renderer.js
CHANGED
|
@@ -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,
|
|
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,
|
|
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,
|
|
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})
|
|
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,
|
|
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.
|
|
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
|
+
}
|