@ably/ui 16.0.0-dev.75c5e37e → 16.0.0-dev.807442ac

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 (150) 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/MeganavProductTile.js +2 -0
  59. package/core/Meganav/MeganavProductTile.js.map +1 -0
  60. package/core/Meganav/data.js +1 -1
  61. package/core/Meganav/data.js.map +1 -1
  62. package/core/Meganav/images/fan-engagement-nav-image.png +0 -0
  63. package/core/Meganav/images/founders-nav-image.png +0 -0
  64. package/core/Meganav.js +2 -0
  65. package/core/Meganav.js.map +1 -0
  66. package/core/Notice.js +1 -1
  67. package/core/Notice.js.map +1 -1
  68. package/core/ProductTile/ProductDescription.js +1 -1
  69. package/core/ProductTile/ProductDescription.js.map +1 -1
  70. package/core/ProductTile/ProductIcon.js +1 -1
  71. package/core/ProductTile/ProductIcon.js.map +1 -1
  72. package/core/ProductTile/ProductLabel.js +1 -1
  73. package/core/ProductTile/ProductLabel.js.map +1 -1
  74. package/core/ProductTile/data.js +1 -1
  75. package/core/ProductTile/data.js.map +1 -1
  76. package/core/SegmentedControl.js +2 -0
  77. package/core/SegmentedControl.js.map +1 -0
  78. package/core/insights/command-queue.js +2 -0
  79. package/core/insights/command-queue.js.map +1 -0
  80. package/core/insights/datalayer.js +2 -0
  81. package/core/insights/datalayer.js.map +1 -0
  82. package/core/insights/index.js +1 -1
  83. package/core/insights/index.js.map +1 -1
  84. package/core/insights/index.test.js +2 -0
  85. package/core/insights/index.test.js.map +1 -0
  86. package/core/insights/logger.js +2 -0
  87. package/core/insights/logger.js.map +1 -0
  88. package/core/insights/mixpanel.js +1 -1
  89. package/core/insights/mixpanel.js.map +1 -1
  90. package/core/insights/posthog.js +1 -1
  91. package/core/insights/posthog.js.map +1 -1
  92. package/core/insights/service.js +2 -0
  93. package/core/insights/service.js.map +1 -0
  94. package/core/insights/types.js.map +1 -1
  95. package/core/scripts.js +1 -1
  96. package/core/scripts.js.map +1 -1
  97. package/core/utils/heights.js +1 -1
  98. package/core/utils/heights.js.map +1 -1
  99. package/index.d.ts +417 -268
  100. package/package.json +10 -6
  101. package/core/ContactFooter/component.css +0 -11
  102. package/core/ContactFooter/component.js +0 -2
  103. package/core/ContactFooter/component.js.map +0 -1
  104. package/core/ContactFooter.js +0 -2
  105. package/core/ContactFooter.js.map +0 -1
  106. package/core/LegacyMeganav.js +0 -2
  107. package/core/LegacyMeganav.js.map +0 -1
  108. package/core/Meganav/Meganav.js +0 -2
  109. package/core/Meganav/Meganav.js.map +0 -1
  110. package/core/MeganavBlogPostsList.js +0 -2
  111. package/core/MeganavBlogPostsList.js.map +0 -1
  112. package/core/MeganavContentCompany.js +0 -2
  113. package/core/MeganavContentCompany.js.map +0 -1
  114. package/core/MeganavContentDevelopers.js +0 -2
  115. package/core/MeganavContentDevelopers.js.map +0 -1
  116. package/core/MeganavContentProducts.js +0 -2
  117. package/core/MeganavContentProducts.js.map +0 -1
  118. package/core/MeganavContentUseCases.js +0 -2
  119. package/core/MeganavContentUseCases.js.map +0 -1
  120. package/core/MeganavControl.js +0 -2
  121. package/core/MeganavControl.js.map +0 -1
  122. package/core/MeganavControlMobileDropdown.js +0 -2
  123. package/core/MeganavControlMobileDropdown.js.map +0 -1
  124. package/core/MeganavControlMobilePanelClose.js +0 -2
  125. package/core/MeganavControlMobilePanelClose.js.map +0 -1
  126. package/core/MeganavControlMobilePanelOpen.js +0 -2
  127. package/core/MeganavControlMobilePanelOpen.js.map +0 -1
  128. package/core/MeganavItemsDesktop.js +0 -2
  129. package/core/MeganavItemsDesktop.js.map +0 -1
  130. package/core/MeganavItemsMobile.js +0 -2
  131. package/core/MeganavItemsMobile.js.map +0 -1
  132. package/core/MeganavItemsSignedIn.js.map +0 -1
  133. package/core/MeganavSearch.js +0 -2
  134. package/core/MeganavSearch.js.map +0 -1
  135. package/core/MeganavSearchAutocomplete.js.map +0 -1
  136. package/core/MeganavSearchPanel.js +0 -2
  137. package/core/MeganavSearchPanel.js.map +0 -1
  138. package/core/MeganavSearchSuggestions.js +0 -2
  139. package/core/MeganavSearchSuggestions.js.map +0 -1
  140. package/core/SignOutLink.js.map +0 -1
  141. package/core/hubspot-chat-toggle.js +0 -2
  142. package/core/hubspot-chat-toggle.js.map +0 -1
  143. package/core/images/award/g2-best-meets-requirements-2025.png +0 -0
  144. package/core/images/award/g2-best-support-2025.png +0 -0
  145. package/core/images/award/g2-high-performer-2025.png +0 -0
  146. package/core/images/award/g2-users-most-likely-to-recommend-2025.png +0 -0
  147. /package/core/{Footer → LegacyFooter}/component.css +0 -0
  148. /package/core/{MeganavItemsSignedIn.js → LegacyMeganav/MeganavItemsSignedIn.js} +0 -0
  149. /package/core/{MeganavSearchAutocomplete.js → LegacyMeganav/MeganavSearchAutocomplete.js} +0 -0
  150. /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,14 @@ export type HeaderSessionState = {
579
588
  * Props for the Header component.
580
589
  */
581
590
  export type HeaderProps = {
582
- headerClassName?: string;
591
+ /**
592
+ * Optional classnames to add to the header
593
+ */
594
+ className?: string;
595
+ /**
596
+ * Indicates if the notice banner is visible.
597
+ */
598
+ isNoticeVisible?: boolean;
583
599
  /**
584
600
  * Optional search bar element.
585
601
  */
@@ -609,6 +625,10 @@ export type HeaderProps = {
609
625
  */
610
626
  external?: boolean;
611
627
  }[];
628
+ /**
629
+ * Optional classname for styling the header links container.
630
+ */
631
+ headerLinksClassName?: string;
612
632
  /**
613
633
  * Optional desktop navigation element.
614
634
  */
@@ -632,6 +652,10 @@ export type HeaderProps = {
632
652
  * - "mobile": Visible only on mobile devices.
633
653
  */
634
654
  searchButtonVisibility?: "all" | "desktop" | "mobile";
655
+ /**
656
+ * Optional location object to detect location changes.
657
+ */
658
+ location?: Location;
635
659
  };
636
660
  const Header: React.FC<HeaderProps>;
637
661
  export default Header;
@@ -684,73 +708,26 @@ export default Icon;
684
708
  //# sourceMappingURL=Icon.d.ts.map
685
709
  }
686
710
 
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;
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;
739
722
  };
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
723
+ const LegacyFooter: ({ paths, urlBase, statusUrl }: LegacyFooterProps) => import("react/jsx-runtime").JSX.Element;
724
+ export default LegacyFooter;
725
+ //# sourceMappingURL=LegacyFooter.d.ts.map
749
726
  }
750
727
 
751
- declare module '@ably/ui/core/LegacyMeganav' {
728
+ declare module '@ably/ui/core/LegacyMeganav/LegacyMeganav' {
752
729
  import { ReactNode } from "react";
753
- import { ColorClass } from "@ably/ui/core/styles/colors/types";
730
+ import { ColorClass } from ".@ably/ui/core/styles/colors/types";
754
731
  export type MeganavTheme = {
755
732
  backgroundColor?: ColorClass;
756
733
  textColor?: ColorClass;
@@ -828,137 +805,12 @@ type MeganavProps = {
828
805
  statusUrl: string;
829
806
  searchDataId?: string;
830
807
  };
831
- const Meganav: ({ paths, themeName, notice, loginLink, urlBase, addSearchApiKey, statusUrl, searchDataId, }: MeganavProps) => import("react/jsx-runtime").JSX.Element;
832
- 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;
833
810
  //# sourceMappingURL=LegacyMeganav.d.ts.map
834
811
  }
835
812
 
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' {
813
+ declare module '@ably/ui/core/LegacyMeganav/MeganavBlogPostsList' {
962
814
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
963
815
  type MeganavBlogPostsListProps = {
964
816
  recentBlogPosts: {
@@ -973,7 +825,7 @@ export default MeganavBlogPostsList;
973
825
  //# sourceMappingURL=MeganavBlogPostsList.d.ts.map
974
826
  }
975
827
 
976
- declare module '@ably/ui/core/MeganavContentCompany' {
828
+ declare module '@ably/ui/core/LegacyMeganav/MeganavContentCompany' {
977
829
  import { AbsUrl, MeganavPaths } from "@ably/ui/core/LegacyMeganav";
978
830
  type MeganavContentCompanyProps = {
979
831
  absUrl: AbsUrl;
@@ -984,7 +836,7 @@ export default MeganavContentCompany;
984
836
  //# sourceMappingURL=MeganavContentCompany.d.ts.map
985
837
  }
986
838
 
987
- declare module '@ably/ui/core/MeganavContentDevelopers' {
839
+ declare module '@ably/ui/core/LegacyMeganav/MeganavContentDevelopers' {
988
840
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
989
841
  const MeganavContentDevelopers: ({ absUrl, statusUrl, }: {
990
842
  absUrl: AbsUrl;
@@ -994,7 +846,7 @@ export default MeganavContentDevelopers;
994
846
  //# sourceMappingURL=MeganavContentDevelopers.d.ts.map
995
847
  }
996
848
 
997
- declare module '@ably/ui/core/MeganavContentProducts' {
849
+ declare module '@ably/ui/core/LegacyMeganav/MeganavContentProducts' {
998
850
  import { AbsUrl, MeganavPaths } from "@ably/ui/core/LegacyMeganav";
999
851
  type MeganavContentProductsProps = {
1000
852
  paths?: MeganavPaths;
@@ -1005,7 +857,7 @@ export default MeganavContentProducts;
1005
857
  //# sourceMappingURL=MeganavContentProducts.d.ts.map
1006
858
  }
1007
859
 
1008
- declare module '@ably/ui/core/MeganavContentUseCases' {
860
+ declare module '@ably/ui/core/LegacyMeganav/MeganavContentUseCases' {
1009
861
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1010
862
  const MeganavContentUseCases: ({ absUrl }: {
1011
863
  absUrl: AbsUrl;
@@ -1014,7 +866,16 @@ export default MeganavContentUseCases;
1014
866
  //# sourceMappingURL=MeganavContentUseCases.d.ts.map
1015
867
  }
1016
868
 
1017
- 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' {
1018
879
  import { ReactNode } from "react";
1019
880
  import { MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1020
881
  type MeganavControlProps = {
@@ -1029,16 +890,36 @@ export default MeganavControl;
1029
890
  //# sourceMappingURL=MeganavControl.d.ts.map
1030
891
  }
1031
892
 
1032
- declare module '@ably/ui/core/MeganavControlMobileDropdown' {
1033
- import { MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1034
- const MeganavControlMobileDropdown: ({ theme }: {
1035
- theme: MeganavTheme;
1036
- }) => import("react/jsx-runtime").JSX.Element;
893
+ declare module '@ably/ui/core/LegacyMeganav/MeganavControlMobileDropdown/component' {
1037
894
  export default MeganavControlMobileDropdown;
1038
- //# sourceMappingURL=MeganavControlMobileDropdown.d.ts.map
1039
- }
1040
-
1041
- declare module '@ably/ui/core/MeganavControlMobilePanelClose' {
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' {
905
+ import { MeganavTheme } from "@ably/ui/core/LegacyMeganav";
906
+ const MeganavControlMobileDropdown: ({ theme }: {
907
+ theme: MeganavTheme;
908
+ }) => import("react/jsx-runtime").JSX.Element;
909
+ export default MeganavControlMobileDropdown;
910
+ //# sourceMappingURL=MeganavControlMobileDropdown.d.ts.map
911
+ }
912
+
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' {
1042
923
  type MeganavControlMobilePanelCloseProps = {
1043
924
  ariaControls: string;
1044
925
  displayHr?: boolean;
@@ -1048,7 +929,16 @@ export default MeganavControlMobilePanelClose;
1048
929
  //# sourceMappingURL=MeganavControlMobilePanelClose.d.ts.map
1049
930
  }
1050
931
 
1051
- 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' {
1052
942
  import { ReactNode } from "react";
1053
943
  type MeganavControlMobilePanelOpenProps = {
1054
944
  ariaControls: string;
@@ -1059,7 +949,7 @@ export default MeganavControlMobilePanelOpen;
1059
949
  //# sourceMappingURL=MeganavControlMobilePanelOpen.d.ts.map
1060
950
  }
1061
951
 
1062
- declare module '@ably/ui/core/MeganavItemsDesktop' {
952
+ declare module '@ably/ui/core/LegacyMeganav/MeganavItemsDesktop' {
1063
953
  import React from "react";
1064
954
  import { AbsUrl, MeganavPanels, MeganavPaths, MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1065
955
  type MeganavDesktopItems = {
@@ -1075,7 +965,7 @@ export default _default;
1075
965
  //# sourceMappingURL=MeganavItemsDesktop.d.ts.map
1076
966
  }
1077
967
 
1078
- declare module '@ably/ui/core/MeganavItemsMobile' {
968
+ declare module '@ably/ui/core/LegacyMeganav/MeganavItemsMobile' {
1079
969
  import React from "react";
1080
970
  import { AbsUrl, MeganavPanels, MeganavPaths, MeganavSessionState, MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1081
971
  type MeganavItemsMobileProps = {
@@ -1093,7 +983,7 @@ export default _default;
1093
983
  //# sourceMappingURL=MeganavItemsMobile.d.ts.map
1094
984
  }
1095
985
 
1096
- declare module '@ably/ui/core/MeganavItemsSignedIn' {
986
+ declare module '@ably/ui/core/LegacyMeganav/MeganavItemsSignedIn' {
1097
987
  import { AbsUrl, MeganavSessionState, MeganavTheme } from "@ably/ui/core/LegacyMeganav";
1098
988
  type MeganavItemsSignedIn = {
1099
989
  sessionState: MeganavSessionState;
@@ -1106,7 +996,7 @@ export default MeganavItemsSignedIn;
1106
996
  //# sourceMappingURL=MeganavItemsSignedIn.d.ts.map
1107
997
  }
1108
998
 
1109
- declare module '@ably/ui/core/MeganavSearch' {
999
+ declare module '@ably/ui/core/LegacyMeganav/MeganavSearch' {
1110
1000
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1111
1001
  const MeganavSearch: ({ absUrl, dataId, }: {
1112
1002
  absUrl: AbsUrl;
@@ -1116,13 +1006,22 @@ export default MeganavSearch;
1116
1006
  //# sourceMappingURL=MeganavSearch.d.ts.map
1117
1007
  }
1118
1008
 
1119
- 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' {
1120
1019
  const MeganavSearchAutocomplete: () => import("react/jsx-runtime").JSX.Element;
1121
1020
  export default MeganavSearchAutocomplete;
1122
1021
  //# sourceMappingURL=MeganavSearchAutocomplete.d.ts.map
1123
1022
  }
1124
1023
 
1125
- declare module '@ably/ui/core/MeganavSearchPanel' {
1024
+ declare module '@ably/ui/core/LegacyMeganav/MeganavSearchPanel' {
1126
1025
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1127
1026
  const MeganavSearchPanel: ({ absUrl }: {
1128
1027
  absUrl: AbsUrl;
@@ -1131,7 +1030,16 @@ export default MeganavSearchPanel;
1131
1030
  //# sourceMappingURL=MeganavSearchPanel.d.ts.map
1132
1031
  }
1133
1032
 
1134
- 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' {
1135
1043
  import { AbsUrl } from "@ably/ui/core/LegacyMeganav";
1136
1044
  type MeganavSearchSuggestionsProps = {
1137
1045
  absUrl: AbsUrl;
@@ -1142,6 +1050,250 @@ export default MeganavSearchSuggestions;
1142
1050
  //# sourceMappingURL=MeganavSearchSuggestions.d.ts.map
1143
1051
  }
1144
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/MeganavProductTile' {
1146
+ import { IconSize } from ".@ably/ui/core/Icon/types";
1147
+ import { ProductName } from ".@ably/ui/core/ProductTile/data";
1148
+ /**
1149
+ * Props for the ProductTile component.
1150
+ */
1151
+ export type ProductTileProps = {
1152
+ /**
1153
+ * The name of the product.
1154
+ */
1155
+ name: ProductName;
1156
+ /**
1157
+ * Indicates if the product description should be shown.
1158
+ * @default true
1159
+ */
1160
+ showDescription?: boolean;
1161
+ /**
1162
+ * Indicates if the product label should be shown.
1163
+ * @default true
1164
+ */
1165
+ showLabel?: boolean;
1166
+ /**
1167
+ * The size of the product icon.
1168
+ * @default "40px"
1169
+ */
1170
+ size?: IconSize;
1171
+ /**
1172
+ * Indicates if the product icons should be animated.
1173
+ * @default false
1174
+ */
1175
+ animateIcons?: boolean;
1176
+ productLink?: string;
1177
+ };
1178
+ const MeganavProductTile: ({ name, productLink, showDescription, showLabel, size, animateIcons, }: ProductTileProps) => import("react/jsx-runtime").JSX.Element;
1179
+ export default MeganavProductTile;
1180
+ //# sourceMappingURL=MeganavProductTile.d.ts.map
1181
+ }
1182
+
1183
+ declare module '@ably/ui/core/Meganav/data' {
1184
+ import React from "react";
1185
+ import { IconName } from ".@ably/ui/core/Icon/types";
1186
+ export type FlyoutPanelList = {
1187
+ label: string;
1188
+ icon: IconName;
1189
+ link: string;
1190
+ isMobile?: boolean;
1191
+ };
1192
+ export type FlyoutPanelHighlight = {
1193
+ heading: string;
1194
+ content: string;
1195
+ labelLink: string;
1196
+ url: string;
1197
+ image: string;
1198
+ };
1199
+ export type MenuItem = {
1200
+ name: string;
1201
+ link?: string;
1202
+ isHiddenMobile?: boolean;
1203
+ content?: React.ReactNode;
1204
+ panelClassName?: string;
1205
+ };
1206
+ export const ablyAwards: {
1207
+ image: string;
1208
+ desc: string;
1209
+ }[];
1210
+ export const menuItemLinks: {
1211
+ name: string;
1212
+ link: string;
1213
+ isHiddenMobile: boolean;
1214
+ }[];
1215
+ export const menuItemsForHeader: MenuItem[];
1216
+ export const productsForNav: {
1217
+ pubsub: {
1218
+ link: string;
1219
+ label: string;
1220
+ description: string;
1221
+ icon?: IconName;
1222
+ hoverIcon?: IconName;
1223
+ unavailable?: boolean;
1224
+ };
1225
+ liveSync: {
1226
+ link: string;
1227
+ label: string;
1228
+ description: string;
1229
+ icon?: IconName;
1230
+ hoverIcon?: IconName;
1231
+ unavailable?: boolean;
1232
+ };
1233
+ chat: {
1234
+ link: string;
1235
+ label: string;
1236
+ description: string;
1237
+ icon?: IconName;
1238
+ hoverIcon?: IconName;
1239
+ unavailable?: boolean;
1240
+ };
1241
+ spaces: {
1242
+ link: string;
1243
+ label: string;
1244
+ description: string;
1245
+ icon?: IconName;
1246
+ hoverIcon?: IconName;
1247
+ unavailable?: boolean;
1248
+ };
1249
+ assetTracking: {
1250
+ label: string;
1251
+ description: string;
1252
+ link?: string;
1253
+ icon?: IconName;
1254
+ hoverIcon?: IconName;
1255
+ unavailable?: boolean;
1256
+ };
1257
+ liveObjects: {
1258
+ label: string;
1259
+ description: string;
1260
+ link?: string;
1261
+ icon?: IconName;
1262
+ hoverIcon?: IconName;
1263
+ unavailable?: boolean;
1264
+ };
1265
+ };
1266
+ //# sourceMappingURL=data.d.ts.map
1267
+ }
1268
+
1269
+ declare module '@ably/ui/core/Meganav' {
1270
+ import { HeaderSessionState } from "@ably/ui/core/Header";
1271
+ export type MeganavNoticeBannerProps = {
1272
+ props: {
1273
+ title: string;
1274
+ bodyText: string;
1275
+ buttonLink: string;
1276
+ buttonLabel: string;
1277
+ closeBtn: boolean;
1278
+ };
1279
+ config: {
1280
+ cookieId: string;
1281
+ noticeId: string | number;
1282
+ options: {
1283
+ collapse: boolean;
1284
+ };
1285
+ };
1286
+ };
1287
+ export type MeganavProps = {
1288
+ sessionState: HeaderSessionState;
1289
+ notice?: MeganavNoticeBannerProps;
1290
+ theme?: string;
1291
+ };
1292
+ const Meganav: ({ sessionState, notice, theme }: MeganavProps) => import("react/jsx-runtime").JSX.Element;
1293
+ export default Meganav;
1294
+ //# sourceMappingURL=Meganav.d.ts.map
1295
+ }
1296
+
1145
1297
  declare module '@ably/ui/core/Notice/component' {
1146
1298
  export const COLLAPSE_TRIGGER_DISTANCE: 5;
1147
1299
  export default Notice;
@@ -1289,7 +1441,8 @@ export default ProductLabel;
1289
1441
 
1290
1442
  declare module '@ably/ui/core/ProductTile/data' {
1291
1443
  import { IconName } from ".@ably/ui/core/Icon/types";
1292
- export type ProductName = "pubsub" | "chat" | "spaces" | "liveSync" | "assetTracking" | "liveObjects";
1444
+ export const productNames: readonly ["pubsub", "chat", "spaces", "liveSync", "assetTracking", "liveObjects"];
1445
+ export type ProductName = (typeof productNames)[number];
1293
1446
  type Products = Record<ProductName, {
1294
1447
  label: string;
1295
1448
  description: string;
@@ -1358,23 +1511,24 @@ export default ProductTile;
1358
1511
  //# sourceMappingURL=ProductTile.d.ts.map
1359
1512
  }
1360
1513
 
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;
1514
+ declare module '@ably/ui/core/SegmentedControl' {
1515
+ import React, { PropsWithChildren } from "react";
1516
+ import type { IconName } from "@ably/ui/core/Icon/types";
1517
+ export type SegmentedControlSize = "md" | "sm" | "xs";
1518
+ export type SegmentedControlProps = {
1519
+ className?: string;
1520
+ rounded?: boolean;
1521
+ leftIcon?: IconName;
1522
+ rightIcon?: IconName;
1523
+ active?: boolean;
1524
+ variant?: "default" | "subtle" | "strong";
1525
+ size?: SegmentedControlSize;
1526
+ onClick?: () => void;
1527
+ disabled?: boolean;
1374
1528
  };
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
1529
+ const SegmentedControl: React.FC<PropsWithChildren<SegmentedControlProps>>;
1530
+ export default SegmentedControl;
1531
+ //# sourceMappingURL=SegmentedControl.d.ts.map
1378
1532
  }
1379
1533
 
1380
1534
  declare module '@ably/ui/core/Slider' {
@@ -1574,11 +1728,6 @@ export function queryIdAll(val: any, root?: Document): NodeListOf<Element>;
1574
1728
  //# sourceMappingURL=dom-query.d.ts.map
1575
1729
  }
1576
1730
 
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
1731
  declare module '@ably/ui/core/remote-blogs-posts' {
1583
1732
  export function fetchBlogPosts(store: any, blogUrl: any): Promise<void>;
1584
1733
  export namespace reducerBlogPosts {
@@ -1693,7 +1842,7 @@ declare module '@ably/ui/core/utils/heights' {
1693
1842
  export const HEADER_HEIGHT = 64;
1694
1843
  export const HEADER_BOTTOM_MARGIN = 24;
1695
1844
  /**
1696
- * Calculates the maximum height for a component by subtracting the total of given heights from 100vh.
1845
+ * Calculates the maximum height for a component by subtracting the total of given heights from 100dvh.
1697
1846
  *
1698
1847
  * @param {...number} heights - An array of heights in pixels.
1699
1848
  * @returns {string} The CSS calc expression for the maximum height.