@ably/ui 16.0.0-dev.f34cb058 → 16.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/README.md +1 -1
  2. package/core/Accordion/types.js.map +1 -1
  3. package/core/Accordion.js +1 -1
  4. package/core/Accordion.js.map +1 -1
  5. package/core/FeaturedLink.js +1 -1
  6. package/core/FeaturedLink.js.map +1 -1
  7. package/core/Flyout.js +1 -1
  8. package/core/Flyout.js.map +1 -1
  9. package/core/Footer/data.js +2 -0
  10. package/core/Footer/data.js.map +1 -0
  11. package/core/Footer.js +1 -1
  12. package/core/Footer.js.map +1 -1
  13. package/core/Header/HeaderLinks.js +1 -1
  14. package/core/Header/HeaderLinks.js.map +1 -1
  15. package/core/Header.js +1 -1
  16. package/core/Header.js.map +1 -1
  17. package/core/LegacyFooter/LegacyFooter.js +2 -0
  18. package/core/LegacyFooter/LegacyFooter.js.map +1 -0
  19. package/core/LegacyMeganav/LegacyMeganav.js +2 -0
  20. package/core/LegacyMeganav/LegacyMeganav.js.map +1 -0
  21. package/core/LegacyMeganav/MeganavBlogPostsList.js +2 -0
  22. package/core/LegacyMeganav/MeganavBlogPostsList.js.map +1 -0
  23. package/core/LegacyMeganav/MeganavContentCompany.js +2 -0
  24. package/core/LegacyMeganav/MeganavContentCompany.js.map +1 -0
  25. package/core/LegacyMeganav/MeganavContentDevelopers.js +2 -0
  26. package/core/LegacyMeganav/MeganavContentDevelopers.js.map +1 -0
  27. package/core/LegacyMeganav/MeganavContentProducts.js +2 -0
  28. package/core/LegacyMeganav/MeganavContentProducts.js.map +1 -0
  29. package/core/LegacyMeganav/MeganavContentUseCases.js +2 -0
  30. package/core/LegacyMeganav/MeganavContentUseCases.js.map +1 -0
  31. package/core/LegacyMeganav/MeganavControl.js +2 -0
  32. package/core/LegacyMeganav/MeganavControl.js.map +1 -0
  33. package/core/LegacyMeganav/MeganavControlMobileDropdown.js +2 -0
  34. package/core/LegacyMeganav/MeganavControlMobileDropdown.js.map +1 -0
  35. package/core/LegacyMeganav/MeganavControlMobilePanelClose.js +2 -0
  36. package/core/LegacyMeganav/MeganavControlMobilePanelClose.js.map +1 -0
  37. package/core/LegacyMeganav/MeganavControlMobilePanelOpen.js +2 -0
  38. package/core/LegacyMeganav/MeganavControlMobilePanelOpen.js.map +1 -0
  39. package/core/LegacyMeganav/MeganavItemsDesktop.js +2 -0
  40. package/core/LegacyMeganav/MeganavItemsDesktop.js.map +1 -0
  41. package/core/LegacyMeganav/MeganavItemsMobile.js +2 -0
  42. package/core/LegacyMeganav/MeganavItemsMobile.js.map +1 -0
  43. package/core/LegacyMeganav/MeganavItemsSignedIn.js.map +1 -0
  44. package/core/LegacyMeganav/MeganavSearch.js +2 -0
  45. package/core/LegacyMeganav/MeganavSearch.js.map +1 -0
  46. package/core/LegacyMeganav/MeganavSearchAutocomplete.js.map +1 -0
  47. package/core/LegacyMeganav/MeganavSearchPanel.js +2 -0
  48. package/core/LegacyMeganav/MeganavSearchPanel.js.map +1 -0
  49. package/core/LegacyMeganav/MeganavSearchSuggestions.js +2 -0
  50. package/core/LegacyMeganav/MeganavSearchSuggestions.js.map +1 -0
  51. package/core/LegacyMeganav/SignOutLink.js.map +1 -0
  52. package/core/Meganav/MeganavMobile.js +1 -1
  53. package/core/Meganav/MeganavMobile.js.map +1 -1
  54. package/core/Meganav/MeganavPanel.js +1 -1
  55. package/core/Meganav/MeganavPanel.js.map +1 -1
  56. package/core/Meganav/data.js +1 -1
  57. package/core/Meganav/data.js.map +1 -1
  58. package/core/Meganav/images/fan-engagement-nav-image.png +0 -0
  59. package/core/Meganav/images/founders-nav-image.png +0 -0
  60. package/core/Meganav.js +2 -0
  61. package/core/Meganav.js.map +1 -0
  62. package/core/Notice.js +1 -1
  63. package/core/Notice.js.map +1 -1
  64. package/core/ProductTile/ProductDescription.js +1 -1
  65. package/core/ProductTile/ProductDescription.js.map +1 -1
  66. package/core/ProductTile/ProductLabel.js +1 -1
  67. package/core/ProductTile/ProductLabel.js.map +1 -1
  68. package/core/ProductTile/data.js +1 -1
  69. package/core/ProductTile/data.js.map +1 -1
  70. package/core/SegmentedControl.js +2 -0
  71. package/core/SegmentedControl.js.map +1 -0
  72. package/core/insights/command-queue.js +2 -0
  73. package/core/insights/command-queue.js.map +1 -0
  74. package/core/insights/datalayer.js +2 -0
  75. package/core/insights/datalayer.js.map +1 -0
  76. package/core/insights/index.js +1 -1
  77. package/core/insights/index.js.map +1 -1
  78. package/core/insights/index.test.js +2 -0
  79. package/core/insights/index.test.js.map +1 -0
  80. package/core/insights/logger.js +2 -0
  81. package/core/insights/logger.js.map +1 -0
  82. package/core/insights/mixpanel.js +1 -1
  83. package/core/insights/mixpanel.js.map +1 -1
  84. package/core/insights/posthog.js +1 -1
  85. package/core/insights/posthog.js.map +1 -1
  86. package/core/insights/service.js +2 -0
  87. package/core/insights/service.js.map +1 -0
  88. package/core/insights/types.js.map +1 -1
  89. package/core/scripts.js +1 -1
  90. package/core/scripts.js.map +1 -1
  91. package/core/utils/heights.js +1 -1
  92. package/core/utils/heights.js.map +1 -1
  93. package/index.d.ts +366 -256
  94. package/package.json +10 -6
  95. package/core/.DS_Store +0 -0
  96. package/core/ContactFooter/component.css +0 -11
  97. package/core/ContactFooter/component.js +0 -2
  98. package/core/ContactFooter/component.js.map +0 -1
  99. package/core/ContactFooter.js +0 -2
  100. package/core/ContactFooter.js.map +0 -1
  101. package/core/LegacyMeganav.js +0 -2
  102. package/core/LegacyMeganav.js.map +0 -1
  103. package/core/Meganav/.DS_Store +0 -0
  104. package/core/Meganav/Meganav.js +0 -2
  105. package/core/Meganav/Meganav.js.map +0 -1
  106. package/core/MeganavBlogPostsList.js +0 -2
  107. package/core/MeganavBlogPostsList.js.map +0 -1
  108. package/core/MeganavContentCompany.js +0 -2
  109. package/core/MeganavContentCompany.js.map +0 -1
  110. package/core/MeganavContentDevelopers.js +0 -2
  111. package/core/MeganavContentDevelopers.js.map +0 -1
  112. package/core/MeganavContentProducts.js +0 -2
  113. package/core/MeganavContentProducts.js.map +0 -1
  114. package/core/MeganavContentUseCases.js +0 -2
  115. package/core/MeganavContentUseCases.js.map +0 -1
  116. package/core/MeganavControl.js +0 -2
  117. package/core/MeganavControl.js.map +0 -1
  118. package/core/MeganavControlMobileDropdown.js +0 -2
  119. package/core/MeganavControlMobileDropdown.js.map +0 -1
  120. package/core/MeganavControlMobilePanelClose.js +0 -2
  121. package/core/MeganavControlMobilePanelClose.js.map +0 -1
  122. package/core/MeganavControlMobilePanelOpen.js +0 -2
  123. package/core/MeganavControlMobilePanelOpen.js.map +0 -1
  124. package/core/MeganavItemsDesktop.js +0 -2
  125. package/core/MeganavItemsDesktop.js.map +0 -1
  126. package/core/MeganavItemsMobile.js +0 -2
  127. package/core/MeganavItemsMobile.js.map +0 -1
  128. package/core/MeganavItemsSignedIn.js.map +0 -1
  129. package/core/MeganavSearch.js +0 -2
  130. package/core/MeganavSearch.js.map +0 -1
  131. package/core/MeganavSearchAutocomplete.js.map +0 -1
  132. package/core/MeganavSearchPanel.js +0 -2
  133. package/core/MeganavSearchPanel.js.map +0 -1
  134. package/core/MeganavSearchSuggestions.js +0 -2
  135. package/core/MeganavSearchSuggestions.js.map +0 -1
  136. package/core/SignOutLink.js.map +0 -1
  137. package/core/hubspot-chat-toggle.js +0 -2
  138. package/core/hubspot-chat-toggle.js.map +0 -1
  139. /package/core/{Footer → LegacyFooter}/component.css +0 -0
  140. /package/core/{MeganavItemsSignedIn.js → LegacyMeganav/MeganavItemsSignedIn.js} +0 -0
  141. /package/core/{MeganavSearchAutocomplete.js → LegacyMeganav/MeganavSearchAutocomplete.js} +0 -0
  142. /package/core/{SignOutLink.js → LegacyMeganav/SignOutLink.js} +0 -0
package/index.d.ts CHANGED
@@ -25,6 +25,12 @@ export type AccordionData = {
25
25
  * @param index - The index of the clicked accordion item.
26
26
  */
27
27
  onClick?: (index: number) => void;
28
+ /**
29
+ * Indicates whether the accordion item is interactive.
30
+ * When false, the item cannot be expanded or collapsed by user interaction.
31
+ * @default true
32
+ */
33
+ interactive?: boolean;
28
34
  };
29
35
  export type AccordionIcons = {
30
36
  closed: {
@@ -306,15 +312,6 @@ export default ConnectStateWrapper;
306
312
  //# sourceMappingURL=ConnectStateWrapper.d.ts.map
307
313
  }
308
314
 
309
- declare module '@ably/ui/core/ContactFooter' {
310
- type ContactFooterProps = {
311
- urlBase: string;
312
- };
313
- const ContactFooter: ({ urlBase }: ContactFooterProps) => import("react/jsx-runtime").JSX.Element;
314
- export default ContactFooter;
315
- //# sourceMappingURL=ContactFooter.d.ts.map
316
- }
317
-
318
315
  declare module '@ably/ui/core/CookieMessage' {
319
316
  type CookieMessageProps = {
320
317
  cookieId: string;
@@ -423,8 +420,12 @@ type FeaturedLinkProps = {
423
420
  newWindow?: boolean;
424
421
  onClick?: () => void;
425
422
  disabled?: boolean;
423
+ /**
424
+ * Optional class name for the icon.
425
+ */
426
+ iconClassName?: string;
426
427
  };
427
- const FeaturedLink: ({ url, textSize, iconColor, flush, reverse, additionalCSS, newWindow, onClick, children, disabled, }: FeaturedLinkProps) => import("react/jsx-runtime").JSX.Element;
428
+ const FeaturedLink: ({ url, textSize, iconColor, flush, reverse, additionalCSS, newWindow, onClick, children, disabled, iconClassName, }: FeaturedLinkProps) => import("react/jsx-runtime").JSX.Element;
428
429
  export default FeaturedLink;
429
430
  //# sourceMappingURL=FeaturedLink.d.ts.map
430
431
  }
@@ -507,29 +508,39 @@ type FlyoutProps = {
507
508
  * Optional class name for the viewport.
508
509
  */
509
510
  viewPortClassName?: string;
510
- /**
511
- * Flag to indicate if animation should be applied.
512
- */
513
- hasAnimation: boolean;
514
511
  };
515
- const Flyout: ({ menuItems, className, flyOutClassName, menuLinkClassName, viewPortClassName, hasAnimation, }: FlyoutProps) => import("react/jsx-runtime").JSX.Element;
512
+ const Flyout: ({ menuItems, className, flyOutClassName, menuLinkClassName, viewPortClassName, }: FlyoutProps) => import("react/jsx-runtime").JSX.Element;
516
513
  export default Flyout;
517
514
  //# sourceMappingURL=Flyout.d.ts.map
518
515
  }
519
516
 
520
- declare module '@ably/ui/core/Footer' {
521
- type FooterProps = {
522
- paths: {
523
- ablyStack: string;
524
- bestSupport: string;
525
- highPerformer: string;
526
- usersMostLikely: string;
527
- bestMeetsRequirements: string;
528
- };
529
- urlBase: string;
530
- statusUrl: string;
517
+ declare module '@ably/ui/core/Footer/data' {
518
+ import { IconName } from ".@ably/ui/core/Icon/types";
519
+ type FooterLinksProps = {
520
+ title: string;
521
+ links: {
522
+ label: string;
523
+ link: string;
524
+ badge?: string;
525
+ }[];
531
526
  };
532
- const Footer: ({ paths, urlBase, statusUrl }: FooterProps) => import("react/jsx-runtime").JSX.Element;
527
+ export const footerLinks: FooterLinksProps[];
528
+ export const bottomFooterLinks: {
529
+ label: string;
530
+ link: string;
531
+ }[];
532
+ export const socialLinks: {
533
+ key: string;
534
+ colorIcon: IconName;
535
+ monoIcon: IconName;
536
+ link: string;
537
+ }[];
538
+ export {};
539
+ //# sourceMappingURL=data.d.ts.map
540
+ }
541
+
542
+ declare module '@ably/ui/core/Footer' {
543
+ const Footer: () => import("react/jsx-runtime").JSX.Element;
533
544
  export default Footer;
534
545
  //# sourceMappingURL=Footer.d.ts.map
535
546
  }
@@ -581,6 +592,10 @@ export type HeaderProps = {
581
592
  * Optional classnames to add to the header
582
593
  */
583
594
  className?: string;
595
+ /**
596
+ * Indicates if the notice banner is visible.
597
+ */
598
+ isNoticeVisible?: boolean;
584
599
  /**
585
600
  * Optional search bar element.
586
601
  */
@@ -610,6 +625,10 @@ export type HeaderProps = {
610
625
  */
611
626
  external?: boolean;
612
627
  }[];
628
+ /**
629
+ * Optional classname for styling the header links container.
630
+ */
631
+ headerLinksClassName?: string;
613
632
  /**
614
633
  * Optional desktop navigation element.
615
634
  */
@@ -633,6 +652,10 @@ export type HeaderProps = {
633
652
  * - "mobile": Visible only on mobile devices.
634
653
  */
635
654
  searchButtonVisibility?: "all" | "desktop" | "mobile";
655
+ /**
656
+ * Optional location object to detect location changes.
657
+ */
658
+ location?: Location;
636
659
  };
637
660
  const Header: React.FC<HeaderProps>;
638
661
  export default Header;
@@ -685,73 +708,26 @@ export default Icon;
685
708
  //# sourceMappingURL=Icon.d.ts.map
686
709
  }
687
710
 
688
- declare module '@ably/ui/core/LegacyMeganav/MeganavControl/component' {
689
- export default MeganavControl;
690
- function MeganavControl(): {
691
- teardown: () => void;
692
- clear: () => void;
693
- }[];
694
- //# sourceMappingURL=component.d.ts.map
695
- }
696
-
697
- declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobileDropdown/component' {
698
- export default MeganavControlMobileDropdown;
699
- function MeganavControlMobileDropdown({ clearPanels }: {
700
- clearPanels: any;
701
- }): {
702
- teardown: () => void;
703
- clear: () => void;
704
- };
705
- //# sourceMappingURL=component.d.ts.map
706
- }
707
-
708
- declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobilePanelClose/component' {
709
- function _default(): {
710
- teardown: () => void;
711
- clear: () => void;
712
- }[];
713
- export default _default;
714
- //# sourceMappingURL=component.d.ts.map
715
- }
716
-
717
- declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobilePanelOpen/component' {
718
- function _default(): {
719
- teardown: () => void;
720
- clear: () => void;
721
- }[];
722
- export default _default;
723
- //# sourceMappingURL=component.d.ts.map
724
- }
725
-
726
- declare module '@ably/ui/core/LegacyMeganav/MeganavSearchAutocomplete/component' {
727
- function _default(apiKey: any): {
728
- teardown: () => void;
729
- clear: () => void;
730
- }[];
731
- export default _default;
732
- //# sourceMappingURL=component.d.ts.map
733
- }
734
-
735
- declare module '@ably/ui/core/LegacyMeganav/MeganavSearchSuggestions/component' {
736
- export default MeganavSearchSuggestions;
737
- function MeganavSearchSuggestions(): {
738
- teardown: () => void;
739
- clear: () => void;
711
+ declare module '@ably/ui/core/LegacyFooter/LegacyFooter' {
712
+ type LegacyFooterProps = {
713
+ paths: {
714
+ ablyStack: string;
715
+ bestSupport: string;
716
+ highPerformer: string;
717
+ usersMostLikely: string;
718
+ bestMeetsRequirements: string;
719
+ };
720
+ urlBase: string;
721
+ statusUrl: string;
740
722
  };
741
- //# sourceMappingURL=component.d.ts.map
723
+ const LegacyFooter: ({ paths, urlBase, statusUrl }: LegacyFooterProps) => import("react/jsx-runtime").JSX.Element;
724
+ export default LegacyFooter;
725
+ //# sourceMappingURL=LegacyFooter.d.ts.map
742
726
  }
743
727
 
744
- declare module '@ably/ui/core/LegacyMeganav/component' {
745
- export default function Meganav({ themeName, addSearchApiKey }: {
746
- themeName: any;
747
- addSearchApiKey: any;
748
- }): () => void;
749
- //# sourceMappingURL=component.d.ts.map
750
- }
751
-
752
- declare module '@ably/ui/core/LegacyMeganav' {
728
+ declare module '@ably/ui/core/LegacyMeganav/LegacyMeganav' {
753
729
  import { ReactNode } from "react";
754
- import { ColorClass } from "@ably/ui/core/styles/colors/types";
730
+ import { ColorClass } from ".@ably/ui/core/styles/colors/types";
755
731
  export type MeganavTheme = {
756
732
  backgroundColor?: ColorClass;
757
733
  textColor?: ColorClass;
@@ -829,137 +805,12 @@ type MeganavProps = {
829
805
  statusUrl: string;
830
806
  searchDataId?: string;
831
807
  };
832
- const Meganav: ({ paths, themeName, notice, loginLink, urlBase, addSearchApiKey, statusUrl, searchDataId, }: MeganavProps) => import("react/jsx-runtime").JSX.Element;
833
- export default Meganav;
808
+ const LegacyMeganav: ({ paths, themeName, notice, loginLink, urlBase, addSearchApiKey, statusUrl, searchDataId, }: MeganavProps) => import("react/jsx-runtime").JSX.Element;
809
+ export default LegacyMeganav;
834
810
  //# sourceMappingURL=LegacyMeganav.d.ts.map
835
811
  }
836
812
 
837
- declare module '@ably/ui/core/LinkButton' {
838
- import React from "react";
839
- import { ButtonPropsBase } from "@ably/ui/core/Button";
840
- import { ColorClass, ColorThemeSet } from "@ably/ui/core/styles/colors/types";
841
- export type LinkButtonProps = ButtonPropsBase & {
842
- disabled?: boolean;
843
- onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
844
- iconColor?: ColorClass | ColorThemeSet;
845
- } & React.AnchorHTMLAttributes<HTMLAnchorElement>;
846
- const LinkButton: React.FC<LinkButtonProps>;
847
- export default LinkButton;
848
- //# sourceMappingURL=LinkButton.d.ts.map
849
- }
850
-
851
- declare module '@ably/ui/core/Loader' {
852
- type LoaderProps = {
853
- size?: string;
854
- ringColor?: string;
855
- additionalCSS?: string;
856
- };
857
- const Loader: ({ ringColor, size, additionalCSS, }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
858
- export default Loader;
859
- //# sourceMappingURL=Loader.d.ts.map
860
- }
861
-
862
- declare module '@ably/ui/core/Logo' {
863
- import React from "react";
864
- type LogoProps = {
865
- dataId?: string;
866
- logoUrl?: string;
867
- logoAlt?: string;
868
- href?: string;
869
- additionalImgAttrs?: object;
870
- additionalLinkAttrs?: object;
871
- theme?: "light" | "dark";
872
- variant?: "default" | "mono";
873
- orientation?: "default" | "stacked";
874
- };
875
- const _default: React.MemoExoticComponent<({ dataId, href, additionalImgAttrs, additionalLinkAttrs, theme, variant, orientation, logoUrl, logoAlt, }: LogoProps) => import("react/jsx-runtime").JSX.Element>;
876
- export default _default;
877
- //# sourceMappingURL=Logo.d.ts.map
878
- }
879
-
880
- declare module '@ably/ui/core/Meganav/Meganav' {
881
- import { HeaderSessionState } from ".@ably/ui/core/Header";
882
- export type MeganavNoticeBannerProps = {
883
- props: {
884
- title: string;
885
- bodyText: string;
886
- buttonLink: string;
887
- buttonLabel: string;
888
- closeBtn: boolean;
889
- };
890
- config: {
891
- cookieId: string;
892
- noticeId: string | number;
893
- options: {
894
- collapse: boolean;
895
- };
896
- };
897
- };
898
- export type MeganavProps = {
899
- sessionState: HeaderSessionState;
900
- searchDataId: string;
901
- notice?: MeganavNoticeBannerProps;
902
- };
903
- const Meganav: ({ sessionState, searchDataId, notice }: MeganavProps) => import("react/jsx-runtime").JSX.Element;
904
- export default Meganav;
905
- //# sourceMappingURL=Meganav.d.ts.map
906
- }
907
-
908
- declare module '@ably/ui/core/Meganav/MeganavMobile' {
909
- import { AccordionData } from ".@ably/ui/core/Accordion/types";
910
- export const MeganavMobile: ({ mobileNavItems, }: {
911
- mobileNavItems: AccordionData[];
912
- }) => import("react/jsx-runtime").JSX.Element;
913
- //# sourceMappingURL=MeganavMobile.d.ts.map
914
- }
915
-
916
- declare module '@ably/ui/core/Meganav/MeganavPanel' {
917
- import React from "react";
918
- import { FlyoutPanelHighlight, FlyoutPanelList } from "@ably/ui/core/data";
919
- export const MeganavPanel: ({ displayProductTile, panelLeft, panelLeftClassName, panelRightHeading, panelRightItems, panelRightBottom, }: {
920
- displayProductTile?: boolean;
921
- panelLeft?: FlyoutPanelHighlight;
922
- panelLeftClassName?: string;
923
- panelRightHeading?: string;
924
- panelRightItems: FlyoutPanelList[];
925
- panelRightBottom?: React.ReactNode;
926
- }) => import("react/jsx-runtime").JSX.Element;
927
- //# sourceMappingURL=MeganavPanel.d.ts.map
928
- }
929
-
930
- declare module '@ably/ui/core/Meganav/data' {
931
- import React from "react";
932
- import { IconName } from ".@ably/ui/core/Icon/types";
933
- export type FlyoutPanelList = {
934
- label: string;
935
- icon: IconName;
936
- link: string;
937
- isMobile?: boolean;
938
- };
939
- export type FlyoutPanelHighlight = {
940
- heading: string;
941
- content: string;
942
- labelLink: string;
943
- url: string;
944
- image: string;
945
- };
946
- export type MenuItem = {
947
- name: string;
948
- link?: string;
949
- isHiddenMobile?: boolean;
950
- content?: React.ReactNode;
951
- panelClassName?: string;
952
- };
953
- export const menuItemLinks: {
954
- name: string;
955
- link: string;
956
- isHiddenMobile: boolean;
957
- }[];
958
- export const menuItemsForHeader: MenuItem[];
959
- //# sourceMappingURL=data.d.ts.map
960
- }
961
-
962
- declare module '@ably/ui/core/MeganavBlogPostsList' {
813
+ declare module '@ably/ui/core/LegacyMeganav/MeganavBlogPostsList' {
963
814
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
964
815
  type MeganavBlogPostsListProps = {
965
816
  recentBlogPosts: {
@@ -974,7 +825,7 @@ export default MeganavBlogPostsList;
974
825
  //# sourceMappingURL=MeganavBlogPostsList.d.ts.map
975
826
  }
976
827
 
977
- declare module '@ably/ui/core/MeganavContentCompany' {
828
+ declare module '@ably/ui/core/LegacyMeganav/MeganavContentCompany' {
978
829
  import { AbsUrl, MeganavPaths } from "@ably/ui/core/LegacyMeganav";
979
830
  type MeganavContentCompanyProps = {
980
831
  absUrl: AbsUrl;
@@ -985,7 +836,7 @@ export default MeganavContentCompany;
985
836
  //# sourceMappingURL=MeganavContentCompany.d.ts.map
986
837
  }
987
838
 
988
- declare module '@ably/ui/core/MeganavContentDevelopers' {
839
+ declare module '@ably/ui/core/LegacyMeganav/MeganavContentDevelopers' {
989
840
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
990
841
  const MeganavContentDevelopers: ({ absUrl, statusUrl, }: {
991
842
  absUrl: AbsUrl;
@@ -995,7 +846,7 @@ export default MeganavContentDevelopers;
995
846
  //# sourceMappingURL=MeganavContentDevelopers.d.ts.map
996
847
  }
997
848
 
998
- declare module '@ably/ui/core/MeganavContentProducts' {
849
+ declare module '@ably/ui/core/LegacyMeganav/MeganavContentProducts' {
999
850
  import { AbsUrl, MeganavPaths } from "@ably/ui/core/LegacyMeganav";
1000
851
  type MeganavContentProductsProps = {
1001
852
  paths?: MeganavPaths;
@@ -1006,7 +857,7 @@ export default MeganavContentProducts;
1006
857
  //# sourceMappingURL=MeganavContentProducts.d.ts.map
1007
858
  }
1008
859
 
1009
- declare module '@ably/ui/core/MeganavContentUseCases' {
860
+ declare module '@ably/ui/core/LegacyMeganav/MeganavContentUseCases' {
1010
861
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1011
862
  const MeganavContentUseCases: ({ absUrl }: {
1012
863
  absUrl: AbsUrl;
@@ -1015,7 +866,16 @@ export default MeganavContentUseCases;
1015
866
  //# sourceMappingURL=MeganavContentUseCases.d.ts.map
1016
867
  }
1017
868
 
1018
- declare module '@ably/ui/core/MeganavControl' {
869
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControl/component' {
870
+ export default MeganavControl;
871
+ function MeganavControl(): {
872
+ teardown: () => void;
873
+ clear: () => void;
874
+ }[];
875
+ //# sourceMappingURL=component.d.ts.map
876
+ }
877
+
878
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControl' {
1019
879
  import { ReactNode } from "react";
1020
880
  import { MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1021
881
  type MeganavControlProps = {
@@ -1030,7 +890,18 @@ export default MeganavControl;
1030
890
  //# sourceMappingURL=MeganavControl.d.ts.map
1031
891
  }
1032
892
 
1033
- declare module '@ably/ui/core/MeganavControlMobileDropdown' {
893
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobileDropdown/component' {
894
+ export default MeganavControlMobileDropdown;
895
+ function MeganavControlMobileDropdown({ clearPanels }: {
896
+ clearPanels: any;
897
+ }): {
898
+ teardown: () => void;
899
+ clear: () => void;
900
+ };
901
+ //# sourceMappingURL=component.d.ts.map
902
+ }
903
+
904
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobileDropdown' {
1034
905
  import { MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1035
906
  const MeganavControlMobileDropdown: ({ theme }: {
1036
907
  theme: MeganavTheme;
@@ -1039,7 +910,16 @@ export default MeganavControlMobileDropdown;
1039
910
  //# sourceMappingURL=MeganavControlMobileDropdown.d.ts.map
1040
911
  }
1041
912
 
1042
- declare module '@ably/ui/core/MeganavControlMobilePanelClose' {
913
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobilePanelClose/component' {
914
+ function _default(): {
915
+ teardown: () => void;
916
+ clear: () => void;
917
+ }[];
918
+ export default _default;
919
+ //# sourceMappingURL=component.d.ts.map
920
+ }
921
+
922
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobilePanelClose' {
1043
923
  type MeganavControlMobilePanelCloseProps = {
1044
924
  ariaControls: string;
1045
925
  displayHr?: boolean;
@@ -1049,7 +929,16 @@ export default MeganavControlMobilePanelClose;
1049
929
  //# sourceMappingURL=MeganavControlMobilePanelClose.d.ts.map
1050
930
  }
1051
931
 
1052
- declare module '@ably/ui/core/MeganavControlMobilePanelOpen' {
932
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobilePanelOpen/component' {
933
+ function _default(): {
934
+ teardown: () => void;
935
+ clear: () => void;
936
+ }[];
937
+ export default _default;
938
+ //# sourceMappingURL=component.d.ts.map
939
+ }
940
+
941
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobilePanelOpen' {
1053
942
  import { ReactNode } from "react";
1054
943
  type MeganavControlMobilePanelOpenProps = {
1055
944
  ariaControls: string;
@@ -1060,7 +949,7 @@ export default MeganavControlMobilePanelOpen;
1060
949
  //# sourceMappingURL=MeganavControlMobilePanelOpen.d.ts.map
1061
950
  }
1062
951
 
1063
- declare module '@ably/ui/core/MeganavItemsDesktop' {
952
+ declare module '@ably/ui/core/LegacyMeganav/MeganavItemsDesktop' {
1064
953
  import React from "react";
1065
954
  import { AbsUrl, MeganavPanels, MeganavPaths, MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1066
955
  type MeganavDesktopItems = {
@@ -1076,7 +965,7 @@ export default _default;
1076
965
  //# sourceMappingURL=MeganavItemsDesktop.d.ts.map
1077
966
  }
1078
967
 
1079
- declare module '@ably/ui/core/MeganavItemsMobile' {
968
+ declare module '@ably/ui/core/LegacyMeganav/MeganavItemsMobile' {
1080
969
  import React from "react";
1081
970
  import { AbsUrl, MeganavPanels, MeganavPaths, MeganavSessionState, MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1082
971
  type MeganavItemsMobileProps = {
@@ -1094,7 +983,7 @@ export default _default;
1094
983
  //# sourceMappingURL=MeganavItemsMobile.d.ts.map
1095
984
  }
1096
985
 
1097
- declare module '@ably/ui/core/MeganavItemsSignedIn' {
986
+ declare module '@ably/ui/core/LegacyMeganav/MeganavItemsSignedIn' {
1098
987
  import { AbsUrl, MeganavSessionState, MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1099
988
  type MeganavItemsSignedIn = {
1100
989
  sessionState: MeganavSessionState;
@@ -1107,7 +996,7 @@ export default MeganavItemsSignedIn;
1107
996
  //# sourceMappingURL=MeganavItemsSignedIn.d.ts.map
1108
997
  }
1109
998
 
1110
- declare module '@ably/ui/core/MeganavSearch' {
999
+ declare module '@ably/ui/core/LegacyMeganav/MeganavSearch' {
1111
1000
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1112
1001
  const MeganavSearch: ({ absUrl, dataId, }: {
1113
1002
  absUrl: AbsUrl;
@@ -1117,13 +1006,22 @@ export default MeganavSearch;
1117
1006
  //# sourceMappingURL=MeganavSearch.d.ts.map
1118
1007
  }
1119
1008
 
1120
- declare module '@ably/ui/core/MeganavSearchAutocomplete' {
1009
+ declare module '@ably/ui/core/LegacyMeganav/MeganavSearchAutocomplete/component' {
1010
+ function _default(apiKey: any): {
1011
+ teardown: () => void;
1012
+ clear: () => void;
1013
+ }[];
1014
+ export default _default;
1015
+ //# sourceMappingURL=component.d.ts.map
1016
+ }
1017
+
1018
+ declare module '@ably/ui/core/LegacyMeganav/MeganavSearchAutocomplete' {
1121
1019
  const MeganavSearchAutocomplete: () => import("react/jsx-runtime").JSX.Element;
1122
1020
  export default MeganavSearchAutocomplete;
1123
1021
  //# sourceMappingURL=MeganavSearchAutocomplete.d.ts.map
1124
1022
  }
1125
1023
 
1126
- declare module '@ably/ui/core/MeganavSearchPanel' {
1024
+ declare module '@ably/ui/core/LegacyMeganav/MeganavSearchPanel' {
1127
1025
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1128
1026
  const MeganavSearchPanel: ({ absUrl }: {
1129
1027
  absUrl: AbsUrl;
@@ -1132,7 +1030,16 @@ export default MeganavSearchPanel;
1132
1030
  //# sourceMappingURL=MeganavSearchPanel.d.ts.map
1133
1031
  }
1134
1032
 
1135
- declare module '@ably/ui/core/MeganavSearchSuggestions' {
1033
+ declare module '@ably/ui/core/LegacyMeganav/MeganavSearchSuggestions/component' {
1034
+ export default MeganavSearchSuggestions;
1035
+ function MeganavSearchSuggestions(): {
1036
+ teardown: () => void;
1037
+ clear: () => void;
1038
+ };
1039
+ //# sourceMappingURL=component.d.ts.map
1040
+ }
1041
+
1042
+ declare module '@ably/ui/core/LegacyMeganav/MeganavSearchSuggestions' {
1136
1043
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1137
1044
  type MeganavSearchSuggestionsProps = {
1138
1045
  absUrl: AbsUrl;
@@ -1143,6 +1050,212 @@ export default MeganavSearchSuggestions;
1143
1050
  //# sourceMappingURL=MeganavSearchSuggestions.d.ts.map
1144
1051
  }
1145
1052
 
1053
+ declare module '@ably/ui/core/LegacyMeganav/SignOutLink' {
1054
+ import { MouseEventHandler, ReactNode } from "react";
1055
+ import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1056
+ type SignOutLinkProps = {
1057
+ token: string;
1058
+ href: string;
1059
+ text: string;
1060
+ children: ({ href, text, onClick, }: {
1061
+ href: string;
1062
+ text: string;
1063
+ onClick: MouseEventHandler<HTMLAnchorElement>;
1064
+ }) => ReactNode;
1065
+ absUrl: AbsUrl;
1066
+ };
1067
+ const SignOutLink: ({ token, href, text, children, absUrl, }: SignOutLinkProps) => import("react/jsx-runtime").JSX.Element;
1068
+ export default SignOutLink;
1069
+ //# sourceMappingURL=SignOutLink.d.ts.map
1070
+ }
1071
+
1072
+ declare module '@ably/ui/core/LegacyMeganav/component' {
1073
+ export default function Meganav({ themeName, addSearchApiKey }: {
1074
+ themeName: any;
1075
+ addSearchApiKey: any;
1076
+ }): () => void;
1077
+ //# sourceMappingURL=component.d.ts.map
1078
+ }
1079
+
1080
+ declare module '@ably/ui/core/LinkButton' {
1081
+ import React from "react";
1082
+ import { ButtonPropsBase } from "@ably/ui/core/Button";
1083
+ import { ColorClass, ColorThemeSet } from "@ably/ui/core/styles/colors/types";
1084
+ export type LinkButtonProps = ButtonPropsBase & {
1085
+ disabled?: boolean;
1086
+ onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
1087
+ iconColor?: ColorClass | ColorThemeSet;
1088
+ } & React.AnchorHTMLAttributes<HTMLAnchorElement>;
1089
+ const LinkButton: React.FC<LinkButtonProps>;
1090
+ export default LinkButton;
1091
+ //# sourceMappingURL=LinkButton.d.ts.map
1092
+ }
1093
+
1094
+ declare module '@ably/ui/core/Loader' {
1095
+ type LoaderProps = {
1096
+ size?: string;
1097
+ ringColor?: string;
1098
+ additionalCSS?: string;
1099
+ };
1100
+ const Loader: ({ ringColor, size, additionalCSS, }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
1101
+ export default Loader;
1102
+ //# sourceMappingURL=Loader.d.ts.map
1103
+ }
1104
+
1105
+ declare module '@ably/ui/core/Logo' {
1106
+ import React from "react";
1107
+ type LogoProps = {
1108
+ dataId?: string;
1109
+ logoUrl?: string;
1110
+ logoAlt?: string;
1111
+ href?: string;
1112
+ additionalImgAttrs?: object;
1113
+ additionalLinkAttrs?: object;
1114
+ theme?: "light" | "dark";
1115
+ variant?: "default" | "mono";
1116
+ orientation?: "default" | "stacked";
1117
+ };
1118
+ const _default: React.MemoExoticComponent<({ dataId, href, additionalImgAttrs, additionalLinkAttrs, theme, variant, orientation, logoUrl, logoAlt, }: LogoProps) => import("react/jsx-runtime").JSX.Element>;
1119
+ export default _default;
1120
+ //# sourceMappingURL=Logo.d.ts.map
1121
+ }
1122
+
1123
+ declare module '@ably/ui/core/Meganav/MeganavMobile' {
1124
+ import { AccordionData } from ".@ably/ui/core/Accordion/types";
1125
+ export const MeganavMobile: ({ navItems }: {
1126
+ navItems: AccordionData[];
1127
+ }) => import("react/jsx-runtime").JSX.Element;
1128
+ //# sourceMappingURL=MeganavMobile.d.ts.map
1129
+ }
1130
+
1131
+ declare module '@ably/ui/core/Meganav/MeganavPanel' {
1132
+ import React from "react";
1133
+ import { FlyoutPanelHighlight, FlyoutPanelList } from "@ably/ui/core/data";
1134
+ export const MeganavPanel: ({ displayProductTile, panelLeft, panelLeftClassName, panelRightHeading, panelRightItems, panelRightBottom, }: {
1135
+ displayProductTile?: boolean;
1136
+ panelLeft?: FlyoutPanelHighlight;
1137
+ panelLeftClassName?: string;
1138
+ panelRightHeading?: string;
1139
+ panelRightItems: FlyoutPanelList[];
1140
+ panelRightBottom?: React.ReactNode;
1141
+ }) => import("react/jsx-runtime").JSX.Element;
1142
+ //# sourceMappingURL=MeganavPanel.d.ts.map
1143
+ }
1144
+
1145
+ declare module '@ably/ui/core/Meganav/data' {
1146
+ import React from "react";
1147
+ import { IconName } from ".@ably/ui/core/Icon/types";
1148
+ export type FlyoutPanelList = {
1149
+ label: string;
1150
+ icon: IconName;
1151
+ link: string;
1152
+ isMobile?: boolean;
1153
+ };
1154
+ export type FlyoutPanelHighlight = {
1155
+ heading: string;
1156
+ content: string;
1157
+ labelLink: string;
1158
+ url: string;
1159
+ image: string;
1160
+ };
1161
+ export type MenuItem = {
1162
+ name: string;
1163
+ link?: string;
1164
+ isHiddenMobile?: boolean;
1165
+ content?: React.ReactNode;
1166
+ panelClassName?: string;
1167
+ };
1168
+ export const ablyAwards: {
1169
+ image: string;
1170
+ desc: string;
1171
+ }[];
1172
+ export const menuItemLinks: {
1173
+ name: string;
1174
+ link: string;
1175
+ isHiddenMobile: boolean;
1176
+ }[];
1177
+ export const menuItemsForHeader: MenuItem[];
1178
+ export const productsForNav: {
1179
+ pubsub: {
1180
+ link: string;
1181
+ label: string;
1182
+ description: string;
1183
+ icon?: IconName;
1184
+ hoverIcon?: IconName;
1185
+ unavailable?: boolean;
1186
+ };
1187
+ liveSync: {
1188
+ link: string;
1189
+ label: string;
1190
+ description: string;
1191
+ icon?: IconName;
1192
+ hoverIcon?: IconName;
1193
+ unavailable?: boolean;
1194
+ };
1195
+ chat: {
1196
+ link: string;
1197
+ label: string;
1198
+ description: string;
1199
+ icon?: IconName;
1200
+ hoverIcon?: IconName;
1201
+ unavailable?: boolean;
1202
+ };
1203
+ spaces: {
1204
+ link: string;
1205
+ label: string;
1206
+ description: string;
1207
+ icon?: IconName;
1208
+ hoverIcon?: IconName;
1209
+ unavailable?: boolean;
1210
+ };
1211
+ assetTracking: {
1212
+ label: string;
1213
+ description: string;
1214
+ link?: string;
1215
+ icon?: IconName;
1216
+ hoverIcon?: IconName;
1217
+ unavailable?: boolean;
1218
+ };
1219
+ liveObjects: {
1220
+ label: string;
1221
+ description: string;
1222
+ link?: string;
1223
+ icon?: IconName;
1224
+ hoverIcon?: IconName;
1225
+ unavailable?: boolean;
1226
+ };
1227
+ };
1228
+ //# sourceMappingURL=data.d.ts.map
1229
+ }
1230
+
1231
+ declare module '@ably/ui/core/Meganav' {
1232
+ import { HeaderSessionState } from "@ably/ui/core/Header";
1233
+ export type MeganavNoticeBannerProps = {
1234
+ props: {
1235
+ title: string;
1236
+ bodyText: string;
1237
+ buttonLink: string;
1238
+ buttonLabel: string;
1239
+ closeBtn: boolean;
1240
+ };
1241
+ config: {
1242
+ cookieId: string;
1243
+ noticeId: string | number;
1244
+ options: {
1245
+ collapse: boolean;
1246
+ };
1247
+ };
1248
+ };
1249
+ export type MeganavProps = {
1250
+ sessionState: HeaderSessionState;
1251
+ notice?: MeganavNoticeBannerProps;
1252
+ theme?: string;
1253
+ };
1254
+ const Meganav: ({ sessionState, notice, theme }: MeganavProps) => import("react/jsx-runtime").JSX.Element;
1255
+ export default Meganav;
1256
+ //# sourceMappingURL=Meganav.d.ts.map
1257
+ }
1258
+
1146
1259
  declare module '@ably/ui/core/Notice/component' {
1147
1260
  export const COLLAPSE_TRIGGER_DISTANCE: 5;
1148
1261
  export default Notice;
@@ -1290,7 +1403,8 @@ export default ProductLabel;
1290
1403
 
1291
1404
  declare module '@ably/ui/core/ProductTile/data' {
1292
1405
  import { IconName } from ".@ably/ui/core/Icon/types";
1293
- export type ProductName = "pubsub" | "chat" | "spaces" | "liveSync" | "assetTracking" | "liveObjects";
1406
+ export const productNames: readonly ["pubsub", "chat", "spaces", "liveSync", "assetTracking", "liveObjects"];
1407
+ export type ProductName = (typeof productNames)[number];
1294
1408
  type Products = Record<ProductName, {
1295
1409
  label: string;
1296
1410
  description: string;
@@ -1359,23 +1473,24 @@ export default ProductTile;
1359
1473
  //# sourceMappingURL=ProductTile.d.ts.map
1360
1474
  }
1361
1475
 
1362
- declare module '@ably/ui/core/SignOutLink' {
1363
- import { MouseEventHandler, ReactNode } from "react";
1364
- import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1365
- type SignOutLinkProps = {
1366
- token: string;
1367
- href: string;
1368
- text: string;
1369
- children: ({ href, text, onClick, }: {
1370
- href: string;
1371
- text: string;
1372
- onClick: MouseEventHandler<HTMLAnchorElement>;
1373
- }) => ReactNode;
1374
- absUrl: AbsUrl;
1476
+ declare module '@ably/ui/core/SegmentedControl' {
1477
+ import React, { PropsWithChildren } from "react";
1478
+ import type { IconName } from "@ably/ui/core/Icon/types";
1479
+ export type SegmentedControlSize = "md" | "sm" | "xs";
1480
+ export type SegmentedControlProps = {
1481
+ className?: string;
1482
+ rounded?: boolean;
1483
+ leftIcon?: IconName;
1484
+ rightIcon?: IconName;
1485
+ active?: boolean;
1486
+ variant?: "default" | "subtle" | "strong";
1487
+ size?: SegmentedControlSize;
1488
+ onClick?: () => void;
1489
+ disabled?: boolean;
1375
1490
  };
1376
- const SignOutLink: ({ token, href, text, children, absUrl, }: SignOutLinkProps) => import("react/jsx-runtime").JSX.Element;
1377
- export default SignOutLink;
1378
- //# sourceMappingURL=SignOutLink.d.ts.map
1491
+ const SegmentedControl: React.FC<PropsWithChildren<SegmentedControlProps>>;
1492
+ export default SegmentedControl;
1493
+ //# sourceMappingURL=SegmentedControl.d.ts.map
1379
1494
  }
1380
1495
 
1381
1496
  declare module '@ably/ui/core/Slider' {
@@ -1575,11 +1690,6 @@ export function queryIdAll(val: any, root?: Document): NodeListOf<Element>;
1575
1690
  //# sourceMappingURL=dom-query.d.ts.map
1576
1691
  }
1577
1692
 
1578
- declare module '@ably/ui/core/hubspot-chat-toggle' {
1579
- export default function toggleChatWidget(params: any): (() => void) | undefined;
1580
- //# sourceMappingURL=hubspot-chat-toggle.d.ts.map
1581
- }
1582
-
1583
1693
  declare module '@ably/ui/core/remote-blogs-posts' {
1584
1694
  export function fetchBlogPosts(store: any, blogUrl: any): Promise<void>;
1585
1695
  export namespace reducerBlogPosts {
@@ -1694,7 +1804,7 @@ declare module '@ably/ui/core/utils/heights' {
1694
1804
  export const HEADER_HEIGHT = 64;
1695
1805
  export const HEADER_BOTTOM_MARGIN = 24;
1696
1806
  /**
1697
- * Calculates the maximum height for a component by subtracting the total of given heights from 100vh.
1807
+ * Calculates the maximum height for a component by subtracting the total of given heights from 100dvh.
1698
1808
  *
1699
1809
  * @param {...number} heights - An array of heights in pixels.
1700
1810
  * @returns {string} The CSS calc expression for the maximum height.