@ably/ui 16.0.0-dev.937d7376 → 16.0.0-dev.b3abf28a

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 (146) hide show
  1. package/README.md +1 -1
  2. package/core/.DS_Store +0 -0
  3. package/core/Accordion/types.js.map +1 -1
  4. package/core/Accordion.js +1 -1
  5. package/core/Accordion.js.map +1 -1
  6. package/core/FeaturedLink.js +1 -1
  7. package/core/FeaturedLink.js.map +1 -1
  8. package/core/Flyout.js +1 -1
  9. package/core/Flyout.js.map +1 -1
  10. package/core/Footer/data.js +2 -0
  11. package/core/Footer/data.js.map +1 -0
  12. package/core/Footer.js +1 -1
  13. package/core/Footer.js.map +1 -1
  14. package/core/Header/HeaderLinks.js +1 -1
  15. package/core/Header/HeaderLinks.js.map +1 -1
  16. package/core/Header.js +1 -1
  17. package/core/Header.js.map +1 -1
  18. package/core/LegacyFooter/LegacyFooter.js +2 -0
  19. package/core/LegacyFooter/LegacyFooter.js.map +1 -0
  20. package/core/LegacyMeganav/LegacyMeganav.js +2 -0
  21. package/core/LegacyMeganav/LegacyMeganav.js.map +1 -0
  22. package/core/LegacyMeganav/MeganavBlogPostsList.js +2 -0
  23. package/core/LegacyMeganav/MeganavBlogPostsList.js.map +1 -0
  24. package/core/LegacyMeganav/MeganavContentCompany.js +2 -0
  25. package/core/LegacyMeganav/MeganavContentCompany.js.map +1 -0
  26. package/core/LegacyMeganav/MeganavContentDevelopers.js +2 -0
  27. package/core/LegacyMeganav/MeganavContentDevelopers.js.map +1 -0
  28. package/core/LegacyMeganav/MeganavContentProducts.js +2 -0
  29. package/core/LegacyMeganav/MeganavContentProducts.js.map +1 -0
  30. package/core/LegacyMeganav/MeganavContentUseCases.js +2 -0
  31. package/core/LegacyMeganav/MeganavContentUseCases.js.map +1 -0
  32. package/core/LegacyMeganav/MeganavControl.js +2 -0
  33. package/core/LegacyMeganav/MeganavControl.js.map +1 -0
  34. package/core/LegacyMeganav/MeganavControlMobileDropdown.js +2 -0
  35. package/core/LegacyMeganav/MeganavControlMobileDropdown.js.map +1 -0
  36. package/core/LegacyMeganav/MeganavControlMobilePanelClose.js +2 -0
  37. package/core/LegacyMeganav/MeganavControlMobilePanelClose.js.map +1 -0
  38. package/core/LegacyMeganav/MeganavControlMobilePanelOpen.js +2 -0
  39. package/core/LegacyMeganav/MeganavControlMobilePanelOpen.js.map +1 -0
  40. package/core/LegacyMeganav/MeganavItemsDesktop.js +2 -0
  41. package/core/LegacyMeganav/MeganavItemsDesktop.js.map +1 -0
  42. package/core/LegacyMeganav/MeganavItemsMobile.js +2 -0
  43. package/core/LegacyMeganav/MeganavItemsMobile.js.map +1 -0
  44. package/core/LegacyMeganav/MeganavItemsSignedIn.js.map +1 -0
  45. package/core/LegacyMeganav/MeganavSearch.js +2 -0
  46. package/core/LegacyMeganav/MeganavSearch.js.map +1 -0
  47. package/core/LegacyMeganav/MeganavSearchAutocomplete.js.map +1 -0
  48. package/core/LegacyMeganav/MeganavSearchPanel.js +2 -0
  49. package/core/LegacyMeganav/MeganavSearchPanel.js.map +1 -0
  50. package/core/LegacyMeganav/MeganavSearchSuggestions.js +2 -0
  51. package/core/LegacyMeganav/MeganavSearchSuggestions.js.map +1 -0
  52. package/core/LegacyMeganav/SignOutLink.js.map +1 -0
  53. package/core/Meganav/.DS_Store +0 -0
  54. package/core/Meganav/MeganavMobile.js +1 -1
  55. package/core/Meganav/MeganavMobile.js.map +1 -1
  56. package/core/Meganav/MeganavPanel.js +1 -1
  57. package/core/Meganav/MeganavPanel.js.map +1 -1
  58. package/core/Meganav/data.js +1 -1
  59. package/core/Meganav/data.js.map +1 -1
  60. package/core/Meganav/images/fan-engagement-nav-image.png +0 -0
  61. package/core/Meganav/images/founders-nav-image.png +0 -0
  62. package/core/Meganav.js +2 -0
  63. package/core/Meganav.js.map +1 -0
  64. package/core/Notice.js +1 -1
  65. package/core/Notice.js.map +1 -1
  66. package/core/ProductTile/ProductDescription.js +1 -1
  67. package/core/ProductTile/ProductDescription.js.map +1 -1
  68. package/core/ProductTile/ProductLabel.js +1 -1
  69. package/core/ProductTile/ProductLabel.js.map +1 -1
  70. package/core/ProductTile/data.js +1 -1
  71. package/core/ProductTile/data.js.map +1 -1
  72. package/core/SegmentedControl.js +2 -0
  73. package/core/SegmentedControl.js.map +1 -0
  74. package/core/insights/command-queue.js +2 -0
  75. package/core/insights/command-queue.js.map +1 -0
  76. package/core/insights/datalayer.js +2 -0
  77. package/core/insights/datalayer.js.map +1 -0
  78. package/core/insights/index.js +1 -1
  79. package/core/insights/index.js.map +1 -1
  80. package/core/insights/index.test.js +2 -0
  81. package/core/insights/index.test.js.map +1 -0
  82. package/core/insights/logger.js +2 -0
  83. package/core/insights/logger.js.map +1 -0
  84. package/core/insights/mixpanel.js +1 -1
  85. package/core/insights/mixpanel.js.map +1 -1
  86. package/core/insights/posthog.js +1 -1
  87. package/core/insights/posthog.js.map +1 -1
  88. package/core/insights/service.js +2 -0
  89. package/core/insights/service.js.map +1 -0
  90. package/core/insights/types.js.map +1 -1
  91. package/core/scripts.js +1 -1
  92. package/core/scripts.js.map +1 -1
  93. package/core/utils/heights.js +1 -1
  94. package/core/utils/heights.js.map +1 -1
  95. package/index.d.ts +325 -260
  96. package/package.json +10 -6
  97. package/core/ContactFooter/component.css +0 -11
  98. package/core/ContactFooter/component.js +0 -2
  99. package/core/ContactFooter/component.js.map +0 -1
  100. package/core/ContactFooter.js +0 -2
  101. package/core/ContactFooter.js.map +0 -1
  102. package/core/LegacyMeganav.js +0 -2
  103. package/core/LegacyMeganav.js.map +0 -1
  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/images/award/g2-best-meets-requirements-2025.png +0 -0
  140. package/core/images/award/g2-best-support-2025.png +0 -0
  141. package/core/images/award/g2-high-performer-2025.png +0 -0
  142. package/core/images/award/g2-users-most-likely-to-recommend-2025.png +0 -0
  143. /package/core/{Footer → LegacyFooter}/component.css +0 -0
  144. /package/core/{MeganavItemsSignedIn.js → LegacyMeganav/MeganavItemsSignedIn.js} +0 -0
  145. /package/core/{MeganavSearchAutocomplete.js → LegacyMeganav/MeganavSearchAutocomplete.js} +0 -0
  146. /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
  }
@@ -475,7 +476,7 @@ type FlyoutProps = {
475
476
  */
476
477
  menuItems: {
477
478
  /**
478
- * name for the menu item.
479
+ * Name for the menu item.
479
480
  */
480
481
  name: string;
481
482
  /**
@@ -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
  }
@@ -537,9 +548,7 @@ export default Footer;
537
548
  declare module '@ably/ui/core/Header/HeaderLinks' {
538
549
  import React from "react";
539
550
  import { HeaderProps } from ".@ably/ui/core/Header";
540
- export const HeaderLinks: React.FC<Pick<HeaderProps, "sessionState" | "headerLinks" | "searchButtonVisibility" | "searchButton"> & {
541
- className?: string;
542
- }>;
551
+ export const HeaderLinks: React.FC<Pick<HeaderProps, "sessionState" | "headerLinks" | "searchButtonVisibility" | "searchButton" | "className">>;
543
552
  //# sourceMappingURL=HeaderLinks.d.ts.map
544
553
  }
545
554
 
@@ -579,7 +588,18 @@ export type HeaderSessionState = {
579
588
  * Props for the Header component.
580
589
  */
581
590
  export type HeaderProps = {
591
+ /**
592
+ * Optional classname for styling the header.
593
+ */
582
594
  headerClassName?: string;
595
+ /**
596
+ * Optional classnames to add to the header
597
+ */
598
+ className?: string;
599
+ /**
600
+ * Indicates if the notice banner is visible.
601
+ */
602
+ isNoticeVisible?: boolean;
583
603
  /**
584
604
  * Optional search bar element.
585
605
  */
@@ -609,6 +629,10 @@ export type HeaderProps = {
609
629
  */
610
630
  external?: boolean;
611
631
  }[];
632
+ /**
633
+ * Optional classname for styling the header links container.
634
+ */
635
+ headerLinksClassName?: string;
612
636
  /**
613
637
  * Optional desktop navigation element.
614
638
  */
@@ -632,6 +656,10 @@ export type HeaderProps = {
632
656
  * - "mobile": Visible only on mobile devices.
633
657
  */
634
658
  searchButtonVisibility?: "all" | "desktop" | "mobile";
659
+ /**
660
+ * Optional location object to detect location changes.
661
+ */
662
+ location?: Location;
635
663
  };
636
664
  const Header: React.FC<HeaderProps>;
637
665
  export default Header;
@@ -684,73 +712,26 @@ export default Icon;
684
712
  //# sourceMappingURL=Icon.d.ts.map
685
713
  }
686
714
 
687
- declare module '@ably/ui/core/LegacyMeganav/MeganavControl/component' {
688
- export default MeganavControl;
689
- function MeganavControl(): {
690
- teardown: () => void;
691
- clear: () => void;
692
- }[];
693
- //# sourceMappingURL=component.d.ts.map
694
- }
695
-
696
- declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobileDropdown/component' {
697
- export default MeganavControlMobileDropdown;
698
- function MeganavControlMobileDropdown({ clearPanels }: {
699
- clearPanels: any;
700
- }): {
701
- teardown: () => void;
702
- clear: () => void;
703
- };
704
- //# sourceMappingURL=component.d.ts.map
705
- }
706
-
707
- declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobilePanelClose/component' {
708
- function _default(): {
709
- teardown: () => void;
710
- clear: () => void;
711
- }[];
712
- export default _default;
713
- //# sourceMappingURL=component.d.ts.map
714
- }
715
-
716
- declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobilePanelOpen/component' {
717
- function _default(): {
718
- teardown: () => void;
719
- clear: () => void;
720
- }[];
721
- export default _default;
722
- //# sourceMappingURL=component.d.ts.map
723
- }
724
-
725
- declare module '@ably/ui/core/LegacyMeganav/MeganavSearchAutocomplete/component' {
726
- function _default(apiKey: any): {
727
- teardown: () => void;
728
- clear: () => void;
729
- }[];
730
- export default _default;
731
- //# sourceMappingURL=component.d.ts.map
732
- }
733
-
734
- declare module '@ably/ui/core/LegacyMeganav/MeganavSearchSuggestions/component' {
735
- export default MeganavSearchSuggestions;
736
- function MeganavSearchSuggestions(): {
737
- teardown: () => void;
738
- clear: () => void;
715
+ declare module '@ably/ui/core/LegacyFooter/LegacyFooter' {
716
+ type LegacyFooterProps = {
717
+ paths: {
718
+ ablyStack: string;
719
+ bestSupport: string;
720
+ highPerformer: string;
721
+ usersMostLikely: string;
722
+ bestMeetsRequirements: string;
723
+ };
724
+ urlBase: string;
725
+ statusUrl: string;
739
726
  };
740
- //# sourceMappingURL=component.d.ts.map
741
- }
742
-
743
- declare module '@ably/ui/core/LegacyMeganav/component' {
744
- export default function Meganav({ themeName, addSearchApiKey }: {
745
- themeName: any;
746
- addSearchApiKey: any;
747
- }): () => void;
748
- //# sourceMappingURL=component.d.ts.map
727
+ const LegacyFooter: ({ paths, urlBase, statusUrl }: LegacyFooterProps) => import("react/jsx-runtime").JSX.Element;
728
+ export default LegacyFooter;
729
+ //# sourceMappingURL=LegacyFooter.d.ts.map
749
730
  }
750
731
 
751
- declare module '@ably/ui/core/LegacyMeganav' {
732
+ declare module '@ably/ui/core/LegacyMeganav/LegacyMeganav' {
752
733
  import { ReactNode } from "react";
753
- import { ColorClass } from "@ably/ui/core/styles/colors/types";
734
+ import { ColorClass } from ".@ably/ui/core/styles/colors/types";
754
735
  export type MeganavTheme = {
755
736
  backgroundColor?: ColorClass;
756
737
  textColor?: ColorClass;
@@ -828,137 +809,12 @@ type MeganavProps = {
828
809
  statusUrl: string;
829
810
  searchDataId?: string;
830
811
  };
831
- const Meganav: ({ paths, themeName, notice, loginLink, urlBase, addSearchApiKey, statusUrl, searchDataId, }: MeganavProps) => import("react/jsx-runtime").JSX.Element;
832
- export default Meganav;
812
+ const LegacyMeganav: ({ paths, themeName, notice, loginLink, urlBase, addSearchApiKey, statusUrl, searchDataId, }: MeganavProps) => import("react/jsx-runtime").JSX.Element;
813
+ export default LegacyMeganav;
833
814
  //# sourceMappingURL=LegacyMeganav.d.ts.map
834
815
  }
835
816
 
836
- declare module '@ably/ui/core/LinkButton' {
837
- import React from "react";
838
- import { ButtonPropsBase } from "@ably/ui/core/Button";
839
- import { ColorClass, ColorThemeSet } from "@ably/ui/core/styles/colors/types";
840
- export type LinkButtonProps = ButtonPropsBase & {
841
- disabled?: boolean;
842
- onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
843
- iconColor?: ColorClass | ColorThemeSet;
844
- } & React.AnchorHTMLAttributes<HTMLAnchorElement>;
845
- const LinkButton: React.FC<LinkButtonProps>;
846
- export default LinkButton;
847
- //# sourceMappingURL=LinkButton.d.ts.map
848
- }
849
-
850
- declare module '@ably/ui/core/Loader' {
851
- type LoaderProps = {
852
- size?: string;
853
- ringColor?: string;
854
- additionalCSS?: string;
855
- };
856
- const Loader: ({ ringColor, size, additionalCSS, }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
857
- export default Loader;
858
- //# sourceMappingURL=Loader.d.ts.map
859
- }
860
-
861
- declare module '@ably/ui/core/Logo' {
862
- import React from "react";
863
- type LogoProps = {
864
- dataId?: string;
865
- logoUrl?: string;
866
- logoAlt?: string;
867
- href?: string;
868
- additionalImgAttrs?: object;
869
- additionalLinkAttrs?: object;
870
- theme?: "light" | "dark";
871
- variant?: "default" | "mono";
872
- orientation?: "default" | "stacked";
873
- };
874
- const _default: React.MemoExoticComponent<({ dataId, href, additionalImgAttrs, additionalLinkAttrs, theme, variant, orientation, logoUrl, logoAlt, }: LogoProps) => import("react/jsx-runtime").JSX.Element>;
875
- export default _default;
876
- //# sourceMappingURL=Logo.d.ts.map
877
- }
878
-
879
- declare module '@ably/ui/core/Meganav/Meganav' {
880
- import { HeaderSessionState } from ".@ably/ui/core/Header";
881
- export type MeganavNoticeBannerProps = {
882
- props: {
883
- title: string;
884
- bodyText: string;
885
- buttonLink: string;
886
- buttonLabel: string;
887
- closeBtn: boolean;
888
- };
889
- config: {
890
- cookieId: string;
891
- noticeId: string | number;
892
- options: {
893
- collapse: boolean;
894
- };
895
- };
896
- };
897
- export type MeganavProps = {
898
- sessionState: HeaderSessionState;
899
- searchDataId: string;
900
- notice?: MeganavNoticeBannerProps;
901
- };
902
- const Meganav: ({ sessionState, searchDataId, notice }: MeganavProps) => import("react/jsx-runtime").JSX.Element;
903
- export default Meganav;
904
- //# sourceMappingURL=Meganav.d.ts.map
905
- }
906
-
907
- declare module '@ably/ui/core/Meganav/MeganavMobile' {
908
- import { AccordionData } from ".@ably/ui/core/Accordion/types";
909
- export const MeganavMobile: ({ mobileNavItems, }: {
910
- mobileNavItems: AccordionData[];
911
- }) => import("react/jsx-runtime").JSX.Element;
912
- //# sourceMappingURL=MeganavMobile.d.ts.map
913
- }
914
-
915
- declare module '@ably/ui/core/Meganav/MeganavPanel' {
916
- import React from "react";
917
- import { FlyoutPanelHighlight, FlyoutPanelList } from "@ably/ui/core/data";
918
- export const MeganavPanel: ({ displayProductTile, panelLeft, panelLeftClassName, panelRightHeading, panelRightItems, panelRightBottom, }: {
919
- displayProductTile?: boolean;
920
- panelLeft?: FlyoutPanelHighlight;
921
- panelLeftClassName?: string;
922
- panelRightHeading?: string;
923
- panelRightItems: FlyoutPanelList[];
924
- panelRightBottom?: React.ReactNode;
925
- }) => import("react/jsx-runtime").JSX.Element;
926
- //# sourceMappingURL=MeganavPanel.d.ts.map
927
- }
928
-
929
- declare module '@ably/ui/core/Meganav/data' {
930
- import React from "react";
931
- import { IconName } from ".@ably/ui/core/Icon/types";
932
- export type FlyoutPanelList = {
933
- label: string;
934
- icon: IconName;
935
- link: string;
936
- isMobile?: boolean;
937
- };
938
- export type FlyoutPanelHighlight = {
939
- heading: string;
940
- content: string;
941
- labelLink: string;
942
- url: string;
943
- image: string;
944
- };
945
- export type MenuItem = {
946
- name: string;
947
- link?: string;
948
- isHiddenMobile?: boolean;
949
- content?: React.ReactNode;
950
- panelClassName?: string;
951
- };
952
- export const menuItemLinks: {
953
- name: string;
954
- link: string;
955
- isHiddenMobile: boolean;
956
- }[];
957
- export const menuItemsForHeader: MenuItem[];
958
- //# sourceMappingURL=data.d.ts.map
959
- }
960
-
961
- declare module '@ably/ui/core/MeganavBlogPostsList' {
817
+ declare module '@ably/ui/core/LegacyMeganav/MeganavBlogPostsList' {
962
818
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
963
819
  type MeganavBlogPostsListProps = {
964
820
  recentBlogPosts: {
@@ -973,7 +829,7 @@ export default MeganavBlogPostsList;
973
829
  //# sourceMappingURL=MeganavBlogPostsList.d.ts.map
974
830
  }
975
831
 
976
- declare module '@ably/ui/core/MeganavContentCompany' {
832
+ declare module '@ably/ui/core/LegacyMeganav/MeganavContentCompany' {
977
833
  import { AbsUrl, MeganavPaths } from "@ably/ui/core/LegacyMeganav";
978
834
  type MeganavContentCompanyProps = {
979
835
  absUrl: AbsUrl;
@@ -984,7 +840,7 @@ export default MeganavContentCompany;
984
840
  //# sourceMappingURL=MeganavContentCompany.d.ts.map
985
841
  }
986
842
 
987
- declare module '@ably/ui/core/MeganavContentDevelopers' {
843
+ declare module '@ably/ui/core/LegacyMeganav/MeganavContentDevelopers' {
988
844
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
989
845
  const MeganavContentDevelopers: ({ absUrl, statusUrl, }: {
990
846
  absUrl: AbsUrl;
@@ -994,7 +850,7 @@ export default MeganavContentDevelopers;
994
850
  //# sourceMappingURL=MeganavContentDevelopers.d.ts.map
995
851
  }
996
852
 
997
- declare module '@ably/ui/core/MeganavContentProducts' {
853
+ declare module '@ably/ui/core/LegacyMeganav/MeganavContentProducts' {
998
854
  import { AbsUrl, MeganavPaths } from "@ably/ui/core/LegacyMeganav";
999
855
  type MeganavContentProductsProps = {
1000
856
  paths?: MeganavPaths;
@@ -1005,7 +861,7 @@ export default MeganavContentProducts;
1005
861
  //# sourceMappingURL=MeganavContentProducts.d.ts.map
1006
862
  }
1007
863
 
1008
- declare module '@ably/ui/core/MeganavContentUseCases' {
864
+ declare module '@ably/ui/core/LegacyMeganav/MeganavContentUseCases' {
1009
865
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1010
866
  const MeganavContentUseCases: ({ absUrl }: {
1011
867
  absUrl: AbsUrl;
@@ -1014,7 +870,16 @@ export default MeganavContentUseCases;
1014
870
  //# sourceMappingURL=MeganavContentUseCases.d.ts.map
1015
871
  }
1016
872
 
1017
- declare module '@ably/ui/core/MeganavControl' {
873
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControl/component' {
874
+ export default MeganavControl;
875
+ function MeganavControl(): {
876
+ teardown: () => void;
877
+ clear: () => void;
878
+ }[];
879
+ //# sourceMappingURL=component.d.ts.map
880
+ }
881
+
882
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControl' {
1018
883
  import { ReactNode } from "react";
1019
884
  import { MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1020
885
  type MeganavControlProps = {
@@ -1029,7 +894,18 @@ export default MeganavControl;
1029
894
  //# sourceMappingURL=MeganavControl.d.ts.map
1030
895
  }
1031
896
 
1032
- declare module '@ably/ui/core/MeganavControlMobileDropdown' {
897
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobileDropdown/component' {
898
+ export default MeganavControlMobileDropdown;
899
+ function MeganavControlMobileDropdown({ clearPanels }: {
900
+ clearPanels: any;
901
+ }): {
902
+ teardown: () => void;
903
+ clear: () => void;
904
+ };
905
+ //# sourceMappingURL=component.d.ts.map
906
+ }
907
+
908
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobileDropdown' {
1033
909
  import { MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1034
910
  const MeganavControlMobileDropdown: ({ theme }: {
1035
911
  theme: MeganavTheme;
@@ -1038,7 +914,16 @@ export default MeganavControlMobileDropdown;
1038
914
  //# sourceMappingURL=MeganavControlMobileDropdown.d.ts.map
1039
915
  }
1040
916
 
1041
- declare module '@ably/ui/core/MeganavControlMobilePanelClose' {
917
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobilePanelClose/component' {
918
+ function _default(): {
919
+ teardown: () => void;
920
+ clear: () => void;
921
+ }[];
922
+ export default _default;
923
+ //# sourceMappingURL=component.d.ts.map
924
+ }
925
+
926
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobilePanelClose' {
1042
927
  type MeganavControlMobilePanelCloseProps = {
1043
928
  ariaControls: string;
1044
929
  displayHr?: boolean;
@@ -1048,7 +933,16 @@ export default MeganavControlMobilePanelClose;
1048
933
  //# sourceMappingURL=MeganavControlMobilePanelClose.d.ts.map
1049
934
  }
1050
935
 
1051
- declare module '@ably/ui/core/MeganavControlMobilePanelOpen' {
936
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobilePanelOpen/component' {
937
+ function _default(): {
938
+ teardown: () => void;
939
+ clear: () => void;
940
+ }[];
941
+ export default _default;
942
+ //# sourceMappingURL=component.d.ts.map
943
+ }
944
+
945
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobilePanelOpen' {
1052
946
  import { ReactNode } from "react";
1053
947
  type MeganavControlMobilePanelOpenProps = {
1054
948
  ariaControls: string;
@@ -1059,7 +953,7 @@ export default MeganavControlMobilePanelOpen;
1059
953
  //# sourceMappingURL=MeganavControlMobilePanelOpen.d.ts.map
1060
954
  }
1061
955
 
1062
- declare module '@ably/ui/core/MeganavItemsDesktop' {
956
+ declare module '@ably/ui/core/LegacyMeganav/MeganavItemsDesktop' {
1063
957
  import React from "react";
1064
958
  import { AbsUrl, MeganavPanels, MeganavPaths, MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1065
959
  type MeganavDesktopItems = {
@@ -1075,7 +969,7 @@ export default _default;
1075
969
  //# sourceMappingURL=MeganavItemsDesktop.d.ts.map
1076
970
  }
1077
971
 
1078
- declare module '@ably/ui/core/MeganavItemsMobile' {
972
+ declare module '@ably/ui/core/LegacyMeganav/MeganavItemsMobile' {
1079
973
  import React from "react";
1080
974
  import { AbsUrl, MeganavPanels, MeganavPaths, MeganavSessionState, MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1081
975
  type MeganavItemsMobileProps = {
@@ -1093,7 +987,7 @@ export default _default;
1093
987
  //# sourceMappingURL=MeganavItemsMobile.d.ts.map
1094
988
  }
1095
989
 
1096
- declare module '@ably/ui/core/MeganavItemsSignedIn' {
990
+ declare module '@ably/ui/core/LegacyMeganav/MeganavItemsSignedIn' {
1097
991
  import { AbsUrl, MeganavSessionState, MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1098
992
  type MeganavItemsSignedIn = {
1099
993
  sessionState: MeganavSessionState;
@@ -1106,7 +1000,7 @@ export default MeganavItemsSignedIn;
1106
1000
  //# sourceMappingURL=MeganavItemsSignedIn.d.ts.map
1107
1001
  }
1108
1002
 
1109
- declare module '@ably/ui/core/MeganavSearch' {
1003
+ declare module '@ably/ui/core/LegacyMeganav/MeganavSearch' {
1110
1004
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1111
1005
  const MeganavSearch: ({ absUrl, dataId, }: {
1112
1006
  absUrl: AbsUrl;
@@ -1116,13 +1010,22 @@ export default MeganavSearch;
1116
1010
  //# sourceMappingURL=MeganavSearch.d.ts.map
1117
1011
  }
1118
1012
 
1119
- declare module '@ably/ui/core/MeganavSearchAutocomplete' {
1013
+ declare module '@ably/ui/core/LegacyMeganav/MeganavSearchAutocomplete/component' {
1014
+ function _default(apiKey: any): {
1015
+ teardown: () => void;
1016
+ clear: () => void;
1017
+ }[];
1018
+ export default _default;
1019
+ //# sourceMappingURL=component.d.ts.map
1020
+ }
1021
+
1022
+ declare module '@ably/ui/core/LegacyMeganav/MeganavSearchAutocomplete' {
1120
1023
  const MeganavSearchAutocomplete: () => import("react/jsx-runtime").JSX.Element;
1121
1024
  export default MeganavSearchAutocomplete;
1122
1025
  //# sourceMappingURL=MeganavSearchAutocomplete.d.ts.map
1123
1026
  }
1124
1027
 
1125
- declare module '@ably/ui/core/MeganavSearchPanel' {
1028
+ declare module '@ably/ui/core/LegacyMeganav/MeganavSearchPanel' {
1126
1029
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1127
1030
  const MeganavSearchPanel: ({ absUrl }: {
1128
1031
  absUrl: AbsUrl;
@@ -1131,7 +1034,16 @@ export default MeganavSearchPanel;
1131
1034
  //# sourceMappingURL=MeganavSearchPanel.d.ts.map
1132
1035
  }
1133
1036
 
1134
- declare module '@ably/ui/core/MeganavSearchSuggestions' {
1037
+ declare module '@ably/ui/core/LegacyMeganav/MeganavSearchSuggestions/component' {
1038
+ export default MeganavSearchSuggestions;
1039
+ function MeganavSearchSuggestions(): {
1040
+ teardown: () => void;
1041
+ clear: () => void;
1042
+ };
1043
+ //# sourceMappingURL=component.d.ts.map
1044
+ }
1045
+
1046
+ declare module '@ably/ui/core/LegacyMeganav/MeganavSearchSuggestions' {
1135
1047
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1136
1048
  type MeganavSearchSuggestionsProps = {
1137
1049
  absUrl: AbsUrl;
@@ -1142,6 +1054,162 @@ export default MeganavSearchSuggestions;
1142
1054
  //# sourceMappingURL=MeganavSearchSuggestions.d.ts.map
1143
1055
  }
1144
1056
 
1057
+ declare module '@ably/ui/core/LegacyMeganav/SignOutLink' {
1058
+ import { MouseEventHandler, ReactNode } from "react";
1059
+ import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1060
+ type SignOutLinkProps = {
1061
+ token: string;
1062
+ href: string;
1063
+ text: string;
1064
+ children: ({ href, text, onClick, }: {
1065
+ href: string;
1066
+ text: string;
1067
+ onClick: MouseEventHandler<HTMLAnchorElement>;
1068
+ }) => ReactNode;
1069
+ absUrl: AbsUrl;
1070
+ };
1071
+ const SignOutLink: ({ token, href, text, children, absUrl, }: SignOutLinkProps) => import("react/jsx-runtime").JSX.Element;
1072
+ export default SignOutLink;
1073
+ //# sourceMappingURL=SignOutLink.d.ts.map
1074
+ }
1075
+
1076
+ declare module '@ably/ui/core/LegacyMeganav/component' {
1077
+ export default function Meganav({ themeName, addSearchApiKey }: {
1078
+ themeName: any;
1079
+ addSearchApiKey: any;
1080
+ }): () => void;
1081
+ //# sourceMappingURL=component.d.ts.map
1082
+ }
1083
+
1084
+ declare module '@ably/ui/core/LinkButton' {
1085
+ import React from "react";
1086
+ import { ButtonPropsBase } from "@ably/ui/core/Button";
1087
+ import { ColorClass, ColorThemeSet } from "@ably/ui/core/styles/colors/types";
1088
+ export type LinkButtonProps = ButtonPropsBase & {
1089
+ disabled?: boolean;
1090
+ onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
1091
+ iconColor?: ColorClass | ColorThemeSet;
1092
+ } & React.AnchorHTMLAttributes<HTMLAnchorElement>;
1093
+ const LinkButton: React.FC<LinkButtonProps>;
1094
+ export default LinkButton;
1095
+ //# sourceMappingURL=LinkButton.d.ts.map
1096
+ }
1097
+
1098
+ declare module '@ably/ui/core/Loader' {
1099
+ type LoaderProps = {
1100
+ size?: string;
1101
+ ringColor?: string;
1102
+ additionalCSS?: string;
1103
+ };
1104
+ const Loader: ({ ringColor, size, additionalCSS, }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
1105
+ export default Loader;
1106
+ //# sourceMappingURL=Loader.d.ts.map
1107
+ }
1108
+
1109
+ declare module '@ably/ui/core/Logo' {
1110
+ import React from "react";
1111
+ type LogoProps = {
1112
+ dataId?: string;
1113
+ logoUrl?: string;
1114
+ logoAlt?: string;
1115
+ href?: string;
1116
+ additionalImgAttrs?: object;
1117
+ additionalLinkAttrs?: object;
1118
+ theme?: "light" | "dark";
1119
+ variant?: "default" | "mono";
1120
+ orientation?: "default" | "stacked";
1121
+ };
1122
+ const _default: React.MemoExoticComponent<({ dataId, href, additionalImgAttrs, additionalLinkAttrs, theme, variant, orientation, logoUrl, logoAlt, }: LogoProps) => import("react/jsx-runtime").JSX.Element>;
1123
+ export default _default;
1124
+ //# sourceMappingURL=Logo.d.ts.map
1125
+ }
1126
+
1127
+ declare module '@ably/ui/core/Meganav/MeganavMobile' {
1128
+ import { AccordionData } from ".@ably/ui/core/Accordion/types";
1129
+ export const MeganavMobile: ({ navItems }: {
1130
+ navItems: AccordionData[];
1131
+ }) => import("react/jsx-runtime").JSX.Element;
1132
+ //# sourceMappingURL=MeganavMobile.d.ts.map
1133
+ }
1134
+
1135
+ declare module '@ably/ui/core/Meganav/MeganavPanel' {
1136
+ import React from "react";
1137
+ import { FlyoutPanelHighlight, FlyoutPanelList } from "@ably/ui/core/data";
1138
+ export const MeganavPanel: ({ displayProductTile, panelLeft, panelLeftClassName, panelRightHeading, panelRightItems, panelRightBottom, }: {
1139
+ displayProductTile?: boolean;
1140
+ panelLeft?: FlyoutPanelHighlight;
1141
+ panelLeftClassName?: string;
1142
+ panelRightHeading?: string;
1143
+ panelRightItems: FlyoutPanelList[];
1144
+ panelRightBottom?: React.ReactNode;
1145
+ }) => import("react/jsx-runtime").JSX.Element;
1146
+ //# sourceMappingURL=MeganavPanel.d.ts.map
1147
+ }
1148
+
1149
+ declare module '@ably/ui/core/Meganav/data' {
1150
+ import React from "react";
1151
+ import { IconName } from ".@ably/ui/core/Icon/types";
1152
+ export type FlyoutPanelList = {
1153
+ label: string;
1154
+ icon: IconName;
1155
+ link: string;
1156
+ isMobile?: boolean;
1157
+ };
1158
+ export type FlyoutPanelHighlight = {
1159
+ heading: string;
1160
+ content: string;
1161
+ labelLink: string;
1162
+ url: string;
1163
+ image: string;
1164
+ };
1165
+ export type MenuItem = {
1166
+ name: string;
1167
+ link?: string;
1168
+ isHiddenMobile?: boolean;
1169
+ content?: React.ReactNode;
1170
+ panelClassName?: string;
1171
+ };
1172
+ export const ablyAwards: {
1173
+ image: string;
1174
+ desc: string;
1175
+ }[];
1176
+ export const menuItemLinks: {
1177
+ name: string;
1178
+ link: string;
1179
+ isHiddenMobile: boolean;
1180
+ }[];
1181
+ export const menuItemsForHeader: MenuItem[];
1182
+ //# sourceMappingURL=data.d.ts.map
1183
+ }
1184
+
1185
+ declare module '@ably/ui/core/Meganav' {
1186
+ import { HeaderSessionState } from "@ably/ui/core/Header";
1187
+ export type MeganavNoticeBannerProps = {
1188
+ props: {
1189
+ title: string;
1190
+ bodyText: string;
1191
+ buttonLink: string;
1192
+ buttonLabel: string;
1193
+ closeBtn: boolean;
1194
+ };
1195
+ config: {
1196
+ cookieId: string;
1197
+ noticeId: string | number;
1198
+ options: {
1199
+ collapse: boolean;
1200
+ };
1201
+ };
1202
+ };
1203
+ export type MeganavProps = {
1204
+ sessionState: HeaderSessionState;
1205
+ notice?: MeganavNoticeBannerProps;
1206
+ theme?: string;
1207
+ };
1208
+ const Meganav: ({ sessionState, notice, theme }: MeganavProps) => import("react/jsx-runtime").JSX.Element;
1209
+ export default Meganav;
1210
+ //# sourceMappingURL=Meganav.d.ts.map
1211
+ }
1212
+
1145
1213
  declare module '@ably/ui/core/Notice/component' {
1146
1214
  export const COLLAPSE_TRIGGER_DISTANCE: 5;
1147
1215
  export default Notice;
@@ -1289,7 +1357,8 @@ export default ProductLabel;
1289
1357
 
1290
1358
  declare module '@ably/ui/core/ProductTile/data' {
1291
1359
  import { IconName } from ".@ably/ui/core/Icon/types";
1292
- export type ProductName = "pubsub" | "chat" | "spaces" | "liveSync" | "assetTracking" | "liveObjects";
1360
+ export const productNames: readonly ["pubsub", "chat", "spaces", "liveSync", "assetTracking", "liveObjects"];
1361
+ export type ProductName = (typeof productNames)[number];
1293
1362
  type Products = Record<ProductName, {
1294
1363
  label: string;
1295
1364
  description: string;
@@ -1358,23 +1427,24 @@ export default ProductTile;
1358
1427
  //# sourceMappingURL=ProductTile.d.ts.map
1359
1428
  }
1360
1429
 
1361
- declare module '@ably/ui/core/SignOutLink' {
1362
- import { MouseEventHandler, ReactNode } from "react";
1363
- import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1364
- type SignOutLinkProps = {
1365
- token: string;
1366
- href: string;
1367
- text: string;
1368
- children: ({ href, text, onClick, }: {
1369
- href: string;
1370
- text: string;
1371
- onClick: MouseEventHandler<HTMLAnchorElement>;
1372
- }) => ReactNode;
1373
- absUrl: AbsUrl;
1430
+ declare module '@ably/ui/core/SegmentedControl' {
1431
+ import React, { PropsWithChildren } from "react";
1432
+ import type { IconName } from "@ably/ui/core/Icon/types";
1433
+ export type SegmentedControlSize = "md" | "sm" | "xs";
1434
+ export type SegmentedControlProps = {
1435
+ className?: string;
1436
+ rounded?: boolean;
1437
+ leftIcon?: IconName;
1438
+ rightIcon?: IconName;
1439
+ active?: boolean;
1440
+ variant?: "default" | "subtle" | "strong";
1441
+ size?: SegmentedControlSize;
1442
+ onClick?: () => void;
1443
+ disabled?: boolean;
1374
1444
  };
1375
- const SignOutLink: ({ token, href, text, children, absUrl, }: SignOutLinkProps) => import("react/jsx-runtime").JSX.Element;
1376
- export default SignOutLink;
1377
- //# sourceMappingURL=SignOutLink.d.ts.map
1445
+ const SegmentedControl: React.FC<PropsWithChildren<SegmentedControlProps>>;
1446
+ export default SegmentedControl;
1447
+ //# sourceMappingURL=SegmentedControl.d.ts.map
1378
1448
  }
1379
1449
 
1380
1450
  declare module '@ably/ui/core/Slider' {
@@ -1574,11 +1644,6 @@ export function queryIdAll(val: any, root?: Document): NodeListOf<Element>;
1574
1644
  //# sourceMappingURL=dom-query.d.ts.map
1575
1645
  }
1576
1646
 
1577
- declare module '@ably/ui/core/hubspot-chat-toggle' {
1578
- export default function toggleChatWidget(params: any): (() => void) | undefined;
1579
- //# sourceMappingURL=hubspot-chat-toggle.d.ts.map
1580
- }
1581
-
1582
1647
  declare module '@ably/ui/core/remote-blogs-posts' {
1583
1648
  export function fetchBlogPosts(store: any, blogUrl: any): Promise<void>;
1584
1649
  export namespace reducerBlogPosts {
@@ -1693,7 +1758,7 @@ declare module '@ably/ui/core/utils/heights' {
1693
1758
  export const HEADER_HEIGHT = 64;
1694
1759
  export const HEADER_BOTTOM_MARGIN = 24;
1695
1760
  /**
1696
- * Calculates the maximum height for a component by subtracting the total of given heights from 100vh.
1761
+ * Calculates the maximum height for a component by subtracting the total of given heights from 100dvh.
1697
1762
  *
1698
1763
  * @param {...number} heights - An array of heights in pixels.
1699
1764
  * @returns {string} The CSS calc expression for the maximum height.