@ably/ui 14.4.0-dev.a9c66a4 → 14.5.0-dev.c1c587f

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/core/Icon/secondary-colors.js +1 -0
  2. package/core/Icon.js +1 -1
  3. package/core/ProductTile/data.js +1 -0
  4. package/core/ProductTile.js +1 -0
  5. package/core/hubspot-chat-toggle.js +1 -1
  6. package/core/icons/icon-gui-check-circled-fill.svg +1 -1
  7. package/core/icons/icon-product-asset-tracking-encapsulated.svg +15 -0
  8. package/core/icons/icon-product-asset-tracking.svg +5 -41
  9. package/core/icons/icon-product-chat-encapsulated.svg +20 -0
  10. package/core/icons/icon-product-chat.svg +8 -37
  11. package/core/icons/icon-product-livesync-encapsulated.svg +15 -0
  12. package/core/icons/icon-product-livesync.svg +4 -65
  13. package/core/icons/icon-product-pubsub-encapsulated.svg +21 -0
  14. package/core/icons/icon-product-pubsub.svg +9 -34
  15. package/core/icons/icon-product-spaces-encapsulated.svg +20 -0
  16. package/core/icons/icon-product-spaces.svg +9 -73
  17. package/core/sprites.svg +1 -1
  18. package/core/styles/layout.css +8 -0
  19. package/core/styles/properties.css +2 -2
  20. package/core/styles/shadows.css +136 -0
  21. package/core/styles.components.css +3 -2
  22. package/index.d.ts +817 -0
  23. package/package.json +5 -5
  24. package/types/core/Accordion.d.ts +0 -17
  25. package/types/core/Accordion.d.ts.map +0 -1
  26. package/types/core/Code.d.ts +0 -10
  27. package/types/core/Code.d.ts.map +0 -1
  28. package/types/core/ConnectStateWrapper.d.ts +0 -3
  29. package/types/core/ConnectStateWrapper.d.ts.map +0 -1
  30. package/types/core/ContactFooter.d.ts +0 -6
  31. package/types/core/ContactFooter.d.ts.map +0 -1
  32. package/types/core/CookieMessage.d.ts +0 -7
  33. package/types/core/CookieMessage.d.ts.map +0 -1
  34. package/types/core/CustomerLogos.d.ts +0 -11
  35. package/types/core/CustomerLogos.d.ts.map +0 -1
  36. package/types/core/DropdownMenu.d.ts +0 -28
  37. package/types/core/DropdownMenu.d.ts.map +0 -1
  38. package/types/core/Expander.d.ts +0 -12
  39. package/types/core/Expander.d.ts.map +0 -1
  40. package/types/core/FeaturedLink.d.ts +0 -15
  41. package/types/core/FeaturedLink.d.ts.map +0 -1
  42. package/types/core/Flash.d.ts +0 -32
  43. package/types/core/Flash.d.ts.map +0 -1
  44. package/types/core/Footer.d.ts +0 -14
  45. package/types/core/Footer.d.ts.map +0 -1
  46. package/types/core/Icon.d.ts +0 -9
  47. package/types/core/Icon.d.ts.map +0 -1
  48. package/types/core/Loader.d.ts +0 -8
  49. package/types/core/Loader.d.ts.map +0 -1
  50. package/types/core/Logo.d.ts +0 -11
  51. package/types/core/Logo.d.ts.map +0 -1
  52. package/types/core/Meganav/component.d.ts +0 -5
  53. package/types/core/Meganav/component.d.ts.map +0 -1
  54. package/types/core/Meganav.d.ts +0 -77
  55. package/types/core/Meganav.d.ts.map +0 -1
  56. package/types/core/MeganavBlogPostsList.d.ts +0 -12
  57. package/types/core/MeganavBlogPostsList.d.ts.map +0 -1
  58. package/types/core/MeganavContentCompany.d.ts +0 -8
  59. package/types/core/MeganavContentCompany.d.ts.map +0 -1
  60. package/types/core/MeganavContentDevelopers.d.ts +0 -7
  61. package/types/core/MeganavContentDevelopers.d.ts.map +0 -1
  62. package/types/core/MeganavContentProducts.d.ts +0 -8
  63. package/types/core/MeganavContentProducts.d.ts.map +0 -1
  64. package/types/core/MeganavContentUseCases.d.ts +0 -6
  65. package/types/core/MeganavContentUseCases.d.ts.map +0 -1
  66. package/types/core/MeganavControl/component.d.ts +0 -6
  67. package/types/core/MeganavControl/component.d.ts.map +0 -1
  68. package/types/core/MeganavControl.d.ts +0 -12
  69. package/types/core/MeganavControl.d.ts.map +0 -1
  70. package/types/core/MeganavControlMobileDropdown/component.d.ts +0 -8
  71. package/types/core/MeganavControlMobileDropdown/component.d.ts.map +0 -1
  72. package/types/core/MeganavControlMobileDropdown.d.ts +0 -6
  73. package/types/core/MeganavControlMobileDropdown.d.ts.map +0 -1
  74. package/types/core/MeganavControlMobilePanelClose/component.d.ts +0 -6
  75. package/types/core/MeganavControlMobilePanelClose/component.d.ts.map +0 -1
  76. package/types/core/MeganavControlMobilePanelClose.d.ts +0 -7
  77. package/types/core/MeganavControlMobilePanelClose.d.ts.map +0 -1
  78. package/types/core/MeganavControlMobilePanelOpen/component.d.ts +0 -6
  79. package/types/core/MeganavControlMobilePanelOpen/component.d.ts.map +0 -1
  80. package/types/core/MeganavControlMobilePanelOpen.d.ts +0 -8
  81. package/types/core/MeganavControlMobilePanelOpen.d.ts.map +0 -1
  82. package/types/core/MeganavItemsDesktop.d.ts +0 -13
  83. package/types/core/MeganavItemsDesktop.d.ts.map +0 -1
  84. package/types/core/MeganavItemsMobile.d.ts +0 -14
  85. package/types/core/MeganavItemsMobile.d.ts.map +0 -1
  86. package/types/core/MeganavItemsSignedIn.d.ts +0 -9
  87. package/types/core/MeganavItemsSignedIn.d.ts.map +0 -1
  88. package/types/core/MeganavSearch.d.ts +0 -6
  89. package/types/core/MeganavSearch.d.ts.map +0 -1
  90. package/types/core/MeganavSearchAutocomplete/component.d.ts +0 -6
  91. package/types/core/MeganavSearchAutocomplete/component.d.ts.map +0 -1
  92. package/types/core/MeganavSearchAutocomplete.d.ts +0 -3
  93. package/types/core/MeganavSearchAutocomplete.d.ts.map +0 -1
  94. package/types/core/MeganavSearchPanel.d.ts +0 -6
  95. package/types/core/MeganavSearchPanel.d.ts.map +0 -1
  96. package/types/core/MeganavSearchSuggestions/component.d.ts +0 -6
  97. package/types/core/MeganavSearchSuggestions/component.d.ts.map +0 -1
  98. package/types/core/MeganavSearchSuggestions.d.ts +0 -8
  99. package/types/core/MeganavSearchSuggestions.d.ts.map +0 -1
  100. package/types/core/Notice/component.d.ts +0 -8
  101. package/types/core/Notice/component.d.ts.map +0 -1
  102. package/types/core/Notice.d.ts +0 -23
  103. package/types/core/Notice.d.ts.map +0 -1
  104. package/types/core/SignOutLink.d.ts +0 -16
  105. package/types/core/SignOutLink.d.ts.map +0 -1
  106. package/types/core/Slider.d.ts +0 -12
  107. package/types/core/Slider.d.ts.map +0 -1
  108. package/types/core/Status.d.ts +0 -6
  109. package/types/core/Status.d.ts.map +0 -1
  110. package/types/core/Table/Table.d.ts +0 -10
  111. package/types/core/Table/Table.d.ts.map +0 -1
  112. package/types/core/Table/TableCell.d.ts +0 -10
  113. package/types/core/Table/TableCell.d.ts.map +0 -1
  114. package/types/core/Table/TableRow.d.ts +0 -8
  115. package/types/core/Table/TableRow.d.ts.map +0 -1
  116. package/types/core/Table/data.d.ts +0 -2
  117. package/types/core/Table/data.d.ts.map +0 -1
  118. package/types/core/Table.d.ts +0 -19
  119. package/types/core/Table.d.ts.map +0 -1
  120. package/types/core/Tooltip.d.ts +0 -8
  121. package/types/core/Tooltip.d.ts.map +0 -1
  122. package/types/core/css.d.ts +0 -2
  123. package/types/core/css.d.ts.map +0 -1
  124. package/types/core/dom-query.d.ts +0 -3
  125. package/types/core/dom-query.d.ts.map +0 -1
  126. package/types/core/hubspot-chat-toggle.d.ts +0 -2
  127. package/types/core/hubspot-chat-toggle.d.ts.map +0 -1
  128. package/types/core/remote-blogs-posts.d.ts +0 -10
  129. package/types/core/remote-blogs-posts.d.ts.map +0 -1
  130. package/types/core/remote-data-store.d.ts +0 -5
  131. package/types/core/remote-data-store.d.ts.map +0 -1
  132. package/types/core/remote-data-util.d.ts +0 -2
  133. package/types/core/remote-data-util.d.ts.map +0 -1
  134. package/types/core/remote-session-data.d.ts +0 -10
  135. package/types/core/remote-session-data.d.ts.map +0 -1
  136. package/types/core/url-base.d.ts +0 -3
  137. package/types/core/url-base.d.ts.map +0 -1
  138. package/types/core/utils/syntax-highlighter-registry.d.ts +0 -7
  139. package/types/core/utils/syntax-highlighter-registry.d.ts.map +0 -1
  140. package/types/core/utils/syntax-highlighter.d.ts +0 -4
  141. package/types/core/utils/syntax-highlighter.d.ts.map +0 -1
  142. package/types/index.d.ts +0 -59
package/index.d.ts ADDED
@@ -0,0 +1,817 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
+
3
+ declare module '@ably/ui/core/Accordion' {
4
+ import { ReactNode } from "react";
5
+ type AccordionData = {
6
+ name: string;
7
+ content: ReactNode;
8
+ };
9
+ export type AccordionProps = {
10
+ data: AccordionData[];
11
+ arrowIcon?: boolean;
12
+ topBorder?: boolean;
13
+ bottomBorder?: boolean;
14
+ id?: string;
15
+ autoClose?: boolean;
16
+ className?: string;
17
+ };
18
+ const Accordion: ({ data, id, topBorder, bottomBorder, arrowIcon, autoClose, className, }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
19
+ export default Accordion;
20
+ //# sourceMappingURL=Accordion.d.ts.map
21
+ }
22
+
23
+ declare module '@ably/ui/core/Code' {
24
+ type CodeProps = {
25
+ language: string;
26
+ snippet: string;
27
+ textSize?: string;
28
+ padding?: string;
29
+ additionalCSS?: string;
30
+ };
31
+ const Code: ({ language, snippet, textSize, padding, additionalCSS, }: CodeProps) => import("react/jsx-runtime").JSX.Element;
32
+ export default Code;
33
+ //# sourceMappingURL=Code.d.ts.map
34
+ }
35
+
36
+ declare module '@ably/ui/core/ConnectStateWrapper' {
37
+ const ConnectStateWrapper: (Component: any, selectors: any) => (props: any) => import("react/jsx-runtime").JSX.Element;
38
+ export default ConnectStateWrapper;
39
+ //# sourceMappingURL=ConnectStateWrapper.d.ts.map
40
+ }
41
+
42
+ declare module '@ably/ui/core/ContactFooter' {
43
+ type ContactFooterProps = {
44
+ urlBase: string;
45
+ };
46
+ const ContactFooter: ({ urlBase }: ContactFooterProps) => import("react/jsx-runtime").JSX.Element;
47
+ export default ContactFooter;
48
+ //# sourceMappingURL=ContactFooter.d.ts.map
49
+ }
50
+
51
+ declare module '@ably/ui/core/CookieMessage' {
52
+ type CookieMessageProps = {
53
+ cookieId: string;
54
+ urlBase: string;
55
+ };
56
+ const CookieMessage: ({ cookieId, urlBase }: CookieMessageProps) => import("react/jsx-runtime").JSX.Element | null;
57
+ export default CookieMessage;
58
+ //# sourceMappingURL=CookieMessage.d.ts.map
59
+ }
60
+
61
+ declare module '@ably/ui/core/CustomerLogos' {
62
+ type CompanyEntity = {
63
+ label: string;
64
+ logo: string;
65
+ };
66
+ type CustomerLogosProps = {
67
+ companies: CompanyEntity[];
68
+ additionalCss?: string;
69
+ };
70
+ const CustomerLogos: ({ companies, additionalCss, }: CustomerLogosProps) => import("react/jsx-runtime").JSX.Element;
71
+ export default CustomerLogos;
72
+ //# sourceMappingURL=CustomerLogos.d.ts.map
73
+ }
74
+
75
+ declare module '@ably/ui/core/DropdownMenu' {
76
+ import { ReactNode } from "react";
77
+ type DropdownMenuProps = {
78
+ children: ReactNode;
79
+ };
80
+ type TriggerProps = {
81
+ children: ReactNode;
82
+ additionalTriggerCSS?: string;
83
+ };
84
+ type ContentProps = {
85
+ children: ReactNode;
86
+ anchorPosition?: string;
87
+ additionalContentCSS?: string;
88
+ };
89
+ type LinkProps = {
90
+ url: string;
91
+ title: string;
92
+ subtitle: string;
93
+ iconName: string;
94
+ children: ReactNode;
95
+ };
96
+ const DropdownMenu: {
97
+ ({ children }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
98
+ Trigger: ({ children, additionalTriggerCSS }: TriggerProps) => import("react/jsx-runtime").JSX.Element;
99
+ Content: ({ children, anchorPosition, additionalContentCSS, }: ContentProps) => import("react/jsx-runtime").JSX.Element | null;
100
+ Link: ({ url, title, subtitle, iconName, children }: LinkProps) => import("react/jsx-runtime").JSX.Element;
101
+ };
102
+ export default DropdownMenu;
103
+ //# sourceMappingURL=DropdownMenu.d.ts.map
104
+ }
105
+
106
+ declare module '@ably/ui/core/Expander' {
107
+ import { PropsWithChildren } from "react";
108
+ type ExpanderProps = {
109
+ heightThreshold?: number;
110
+ className?: string;
111
+ fadeClassName?: string;
112
+ controlsClassName?: string;
113
+ controlsOpenedLabel?: string;
114
+ controlsClosedLabel?: string;
115
+ };
116
+ const Expander: ({ heightThreshold, className, fadeClassName, controlsClassName, controlsOpenedLabel, controlsClosedLabel, children, }: PropsWithChildren<ExpanderProps>) => import("react/jsx-runtime").JSX.Element;
117
+ export default Expander;
118
+ //# sourceMappingURL=Expander.d.ts.map
119
+ }
120
+
121
+ declare module '@ably/ui/core/FeaturedLink' {
122
+ import { ReactNode } from "react";
123
+ type FeaturedLinkProps = {
124
+ url: string;
125
+ children: ReactNode;
126
+ textSize?: string;
127
+ iconColor?: string;
128
+ flush?: boolean;
129
+ reverse?: boolean;
130
+ additionalCSS?: string;
131
+ newWindow?: boolean;
132
+ onClick?: () => void;
133
+ };
134
+ const FeaturedLink: ({ url, textSize, iconColor, flush, reverse, additionalCSS, newWindow, onClick, children, }: FeaturedLinkProps) => import("react/jsx-runtime").JSX.Element;
135
+ export default FeaturedLink;
136
+ //# sourceMappingURL=FeaturedLink.d.ts.map
137
+ }
138
+
139
+ declare module '@ably/ui/core/Flash' {
140
+ type FlashPropsType = "error" | "success" | "notice" | "info" | "alert";
141
+ type FlashProps = {
142
+ id: string;
143
+ removed: boolean;
144
+ type: FlashPropsType;
145
+ content: string;
146
+ removeFlash: (id: string) => void;
147
+ };
148
+ type FlashesProps = {
149
+ flashes: {
150
+ items: FlashProps[];
151
+ };
152
+ };
153
+ type BackendFlashesProps = {
154
+ flashes: string[][];
155
+ };
156
+ const FLASH_DATA_ID = "ui-flashes";
157
+ const reducerFlashes: {
158
+ flashes: (state: {
159
+ items: FlashProps[];
160
+ } | undefined, action: {
161
+ type: string;
162
+ payload: FlashProps | FlashProps[];
163
+ }) => {
164
+ items: FlashProps[];
165
+ };
166
+ };
167
+ const Flashes: ({ flashes }: FlashesProps) => import("react/jsx-runtime").JSX.Element;
168
+ const BackendFlashes: ({ flashes }: BackendFlashesProps) => import("react/jsx-runtime").JSX.Element;
169
+ export { reducerFlashes, FLASH_DATA_ID, Flashes };
170
+ export default BackendFlashes;
171
+ //# sourceMappingURL=Flash.d.ts.map
172
+ }
173
+
174
+ declare module '@ably/ui/core/Footer' {
175
+ type FooterProps = {
176
+ paths: {
177
+ ablyStack: string;
178
+ highestPerformer: string;
179
+ highestUserAdoption: string;
180
+ bestSupport: string;
181
+ fastestImplementation: string;
182
+ };
183
+ urlBase: string;
184
+ statusUrl: string;
185
+ };
186
+ const Footer: ({ paths, urlBase, statusUrl }: FooterProps) => import("react/jsx-runtime").JSX.Element;
187
+ export default Footer;
188
+ //# sourceMappingURL=Footer.d.ts.map
189
+ }
190
+
191
+ declare module '@ably/ui/core/Icon/secondary-colors' {
192
+ export const defaultIconSecondaryColor: (name: string) => string | undefined;
193
+ //# sourceMappingURL=secondary-colors.d.ts.map
194
+ }
195
+
196
+ declare module '@ably/ui/core/Icon' {
197
+ type IconProps = {
198
+ name: string;
199
+ size?: string;
200
+ color?: string;
201
+ secondaryColor?: string;
202
+ additionalCSS?: string;
203
+ };
204
+ const Icon: ({ name, size, color, secondaryColor, additionalCSS, ...additionalAttributes }: IconProps) => import("react/jsx-runtime").JSX.Element;
205
+ export default Icon;
206
+ //# sourceMappingURL=Icon.d.ts.map
207
+ }
208
+
209
+ declare module '@ably/ui/core/Loader' {
210
+ type LoaderProps = {
211
+ size?: string;
212
+ ringColor?: string;
213
+ additionalCSS?: string;
214
+ };
215
+ const Loader: ({ ringColor, size, additionalCSS, }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
216
+ export default Loader;
217
+ //# sourceMappingURL=Loader.d.ts.map
218
+ }
219
+
220
+ declare module '@ably/ui/core/Logo' {
221
+ import React from "react";
222
+ type LogoProps = {
223
+ dataId: string;
224
+ logoUrl: string;
225
+ href?: string;
226
+ additionalImgAttrs?: object;
227
+ additionalLinkAttrs?: object;
228
+ };
229
+ const _default: React.MemoExoticComponent<({ dataId, logoUrl, href, additionalImgAttrs, additionalLinkAttrs, }: LogoProps) => import("react/jsx-runtime").JSX.Element>;
230
+ export default _default;
231
+ //# sourceMappingURL=Logo.d.ts.map
232
+ }
233
+
234
+ declare module '@ably/ui/core/Meganav/component' {
235
+ export default function Meganav({ themeName, addSearchApiKey }: {
236
+ themeName: any;
237
+ addSearchApiKey: any;
238
+ }): () => void;
239
+ //# sourceMappingURL=component.d.ts.map
240
+ }
241
+
242
+ declare module '@ably/ui/core/Meganav' {
243
+ import { ReactNode } from "react";
244
+ export type MeganavTheme = {
245
+ backgroundColor?: string;
246
+ textColor?: string;
247
+ buttonBackgroundColor?: string;
248
+ buttonTextColor?: string;
249
+ mobileMenuColor?: string;
250
+ logoTextColor?: string;
251
+ barShadow?: string;
252
+ };
253
+ export type AbsUrl = (path: string) => string;
254
+ export type MeganavPaths = {
255
+ logo: string;
256
+ iconSprites: string;
257
+ ablyStack: string;
258
+ blogThumb1: string;
259
+ blogThumb2: string;
260
+ blogThumb3: string;
261
+ awsLogo?: string;
262
+ };
263
+ export type MeganavPanels = {
264
+ [index: string]: ({ paths, absUrl, statusUrl, }: {
265
+ paths?: MeganavPaths;
266
+ absUrl: (path: string) => string;
267
+ statusUrl: string;
268
+ }) => ReactNode;
269
+ };
270
+ export type MeganavSessionState = {
271
+ signedIn: boolean;
272
+ logOut: {
273
+ token: string;
274
+ href: string;
275
+ text: string;
276
+ };
277
+ accountName: string;
278
+ preferredEmail: string;
279
+ account: {
280
+ links: {
281
+ dashboard: {
282
+ href: string;
283
+ };
284
+ };
285
+ };
286
+ mySettings: {
287
+ text: string;
288
+ href: string;
289
+ };
290
+ myAccessTokens: {
291
+ text: string;
292
+ href: string;
293
+ };
294
+ };
295
+ type MeganavProps = {
296
+ paths?: MeganavPaths;
297
+ themeName: "white" | "black" | "transparentToWhite";
298
+ notice?: {
299
+ props: {
300
+ title: string;
301
+ bodyText: string;
302
+ buttonLink: string;
303
+ buttonLabel: string;
304
+ closeBtn: boolean;
305
+ };
306
+ config: {
307
+ cookieId: string;
308
+ noticeId: string;
309
+ collapse: boolean;
310
+ };
311
+ };
312
+ loginLink?: string;
313
+ urlBase?: string;
314
+ addSearchApiKey: string;
315
+ statusUrl: string;
316
+ };
317
+ const Meganav: ({ paths, themeName, notice, loginLink, urlBase, addSearchApiKey, statusUrl, }: MeganavProps) => import("react/jsx-runtime").JSX.Element;
318
+ export default Meganav;
319
+ //# sourceMappingURL=Meganav.d.ts.map
320
+ }
321
+
322
+ declare module '@ably/ui/core/MeganavBlogPostsList' {
323
+ import { AbsUrl } from "@ably/ui/core/Meganav";
324
+ type MeganavBlogPostsListProps = {
325
+ recentBlogPosts: {
326
+ link: string;
327
+ title: string;
328
+ pubDate: string;
329
+ }[];
330
+ absUrl: AbsUrl;
331
+ };
332
+ const MeganavBlogPostsList: ({ recentBlogPosts, absUrl, }: MeganavBlogPostsListProps) => import("react/jsx-runtime").JSX.Element | null;
333
+ export default MeganavBlogPostsList;
334
+ //# sourceMappingURL=MeganavBlogPostsList.d.ts.map
335
+ }
336
+
337
+ declare module '@ably/ui/core/MeganavContentCompany' {
338
+ import { AbsUrl, MeganavPaths } from "@ably/ui/core/Meganav";
339
+ type MeganavContentCompanyProps = {
340
+ absUrl: AbsUrl;
341
+ paths?: MeganavPaths;
342
+ };
343
+ const MeganavContentCompany: ({ paths, absUrl, }: MeganavContentCompanyProps) => import("react/jsx-runtime").JSX.Element;
344
+ export default MeganavContentCompany;
345
+ //# sourceMappingURL=MeganavContentCompany.d.ts.map
346
+ }
347
+
348
+ declare module '@ably/ui/core/MeganavContentDevelopers' {
349
+ import { AbsUrl } from "@ably/ui/core/Meganav";
350
+ const MeganavContentDevelopers: ({ absUrl, statusUrl, }: {
351
+ absUrl: AbsUrl;
352
+ statusUrl: string;
353
+ }) => import("react/jsx-runtime").JSX.Element;
354
+ export default MeganavContentDevelopers;
355
+ //# sourceMappingURL=MeganavContentDevelopers.d.ts.map
356
+ }
357
+
358
+ declare module '@ably/ui/core/MeganavContentProducts' {
359
+ import { AbsUrl, MeganavPaths } from "@ably/ui/core/Meganav";
360
+ type MeganavContentProductsProps = {
361
+ paths?: MeganavPaths;
362
+ absUrl: AbsUrl;
363
+ };
364
+ const MeganavContentProducts: ({ paths, absUrl, }: MeganavContentProductsProps) => import("react/jsx-runtime").JSX.Element;
365
+ export default MeganavContentProducts;
366
+ //# sourceMappingURL=MeganavContentProducts.d.ts.map
367
+ }
368
+
369
+ declare module '@ably/ui/core/MeganavContentUseCases' {
370
+ import { AbsUrl } from "@ably/ui/core/Meganav";
371
+ const MeganavContentUseCases: ({ absUrl }: {
372
+ absUrl: AbsUrl;
373
+ }) => import("react/jsx-runtime").JSX.Element;
374
+ export default MeganavContentUseCases;
375
+ //# sourceMappingURL=MeganavContentUseCases.d.ts.map
376
+ }
377
+
378
+ declare module '@ably/ui/core/MeganavControl/component' {
379
+ export default MeganavControl;
380
+ function MeganavControl(): {
381
+ teardown: () => void;
382
+ clear: () => void;
383
+ }[];
384
+ //# sourceMappingURL=component.d.ts.map
385
+ }
386
+
387
+ declare module '@ably/ui/core/MeganavControl' {
388
+ import { ReactNode } from "react";
389
+ import { MeganavTheme } from "@ably/ui/core/Meganav";
390
+ type MeganavControlProps = {
391
+ ariaControls: string;
392
+ ariaLabel: string;
393
+ children: ReactNode;
394
+ theme: MeganavTheme;
395
+ additionalCSS?: string;
396
+ };
397
+ const MeganavControl: ({ ariaControls, ariaLabel, children, theme, additionalCSS, }: MeganavControlProps) => import("react/jsx-runtime").JSX.Element;
398
+ export default MeganavControl;
399
+ //# sourceMappingURL=MeganavControl.d.ts.map
400
+ }
401
+
402
+ declare module '@ably/ui/core/MeganavControlMobileDropdown/component' {
403
+ export default MeganavControlMobileDropdown;
404
+ function MeganavControlMobileDropdown({ clearPanels }: {
405
+ clearPanels: any;
406
+ }): {
407
+ teardown: () => void;
408
+ clear: () => void;
409
+ };
410
+ //# sourceMappingURL=component.d.ts.map
411
+ }
412
+
413
+ declare module '@ably/ui/core/MeganavControlMobileDropdown' {
414
+ import { MeganavTheme } from "@ably/ui/core/Meganav";
415
+ const MeganavControlMobileDropdown: ({ theme }: {
416
+ theme: MeganavTheme;
417
+ }) => import("react/jsx-runtime").JSX.Element;
418
+ export default MeganavControlMobileDropdown;
419
+ //# sourceMappingURL=MeganavControlMobileDropdown.d.ts.map
420
+ }
421
+
422
+ declare module '@ably/ui/core/MeganavControlMobilePanelClose/component' {
423
+ function _default(): {
424
+ teardown: () => void;
425
+ clear: () => void;
426
+ }[];
427
+ export default _default;
428
+ //# sourceMappingURL=component.d.ts.map
429
+ }
430
+
431
+ declare module '@ably/ui/core/MeganavControlMobilePanelClose' {
432
+ type MeganavControlMobilePanelCloseProps = {
433
+ ariaControls: string;
434
+ displayHr?: boolean;
435
+ };
436
+ const MeganavControlMobilePanelClose: ({ ariaControls, displayHr, }: MeganavControlMobilePanelCloseProps) => import("react/jsx-runtime").JSX.Element;
437
+ export default MeganavControlMobilePanelClose;
438
+ //# sourceMappingURL=MeganavControlMobilePanelClose.d.ts.map
439
+ }
440
+
441
+ declare module '@ably/ui/core/MeganavControlMobilePanelOpen/component' {
442
+ function _default(): {
443
+ teardown: () => void;
444
+ clear: () => void;
445
+ }[];
446
+ export default _default;
447
+ //# sourceMappingURL=component.d.ts.map
448
+ }
449
+
450
+ declare module '@ably/ui/core/MeganavControlMobilePanelOpen' {
451
+ import { ReactNode } from "react";
452
+ type MeganavControlMobilePanelOpenProps = {
453
+ ariaControls: string;
454
+ children: ReactNode;
455
+ };
456
+ const MeganavControlMobilePanelOpen: ({ ariaControls, children, }: MeganavControlMobilePanelOpenProps) => import("react/jsx-runtime").JSX.Element;
457
+ export default MeganavControlMobilePanelOpen;
458
+ //# sourceMappingURL=MeganavControlMobilePanelOpen.d.ts.map
459
+ }
460
+
461
+ declare module '@ably/ui/core/MeganavItemsDesktop' {
462
+ import React from "react";
463
+ import { AbsUrl, MeganavPanels, MeganavPaths, MeganavTheme } from "@ably/ui/core/Meganav";
464
+ type MeganavDesktopItems = {
465
+ panels: MeganavPanels;
466
+ paths?: MeganavPaths;
467
+ theme: MeganavTheme;
468
+ absUrl: AbsUrl;
469
+ statusUrl: string;
470
+ };
471
+ const MeganavDesktopItems: ({ panels, paths, theme, absUrl, statusUrl, }: MeganavDesktopItems) => import("react/jsx-runtime").JSX.Element;
472
+ const _default: React.MemoExoticComponent<({ panels, paths, theme, absUrl, statusUrl, }: MeganavDesktopItems) => import("react/jsx-runtime").JSX.Element>;
473
+ export default _default;
474
+ //# sourceMappingURL=MeganavItemsDesktop.d.ts.map
475
+ }
476
+
477
+ declare module '@ably/ui/core/MeganavItemsMobile' {
478
+ import React from "react";
479
+ import { AbsUrl, MeganavPanels, MeganavPaths, MeganavSessionState, MeganavTheme } from "@ably/ui/core/Meganav";
480
+ type MeganavItemsMobileProps = {
481
+ panels: MeganavPanels;
482
+ paths?: MeganavPaths;
483
+ sessionState?: MeganavSessionState;
484
+ theme: MeganavTheme;
485
+ loginLink: string;
486
+ absUrl: AbsUrl;
487
+ statusUrl: string;
488
+ };
489
+ const _default: React.MemoExoticComponent<({ panels, paths, sessionState, theme, loginLink, absUrl, statusUrl, }: MeganavItemsMobileProps) => import("react/jsx-runtime").JSX.Element>;
490
+ export default _default;
491
+ //# sourceMappingURL=MeganavItemsMobile.d.ts.map
492
+ }
493
+
494
+ declare module '@ably/ui/core/MeganavItemsSignedIn' {
495
+ import { AbsUrl, MeganavSessionState, MeganavTheme } from "@ably/ui/core/Meganav";
496
+ type MeganavItemsSignedIn = {
497
+ sessionState: MeganavSessionState;
498
+ theme: MeganavTheme;
499
+ absUrl: AbsUrl;
500
+ };
501
+ const MeganavItemsSignedIn: ({ sessionState, absUrl, }: MeganavItemsSignedIn) => import("react/jsx-runtime").JSX.Element;
502
+ export default MeganavItemsSignedIn;
503
+ //# sourceMappingURL=MeganavItemsSignedIn.d.ts.map
504
+ }
505
+
506
+ declare module '@ably/ui/core/MeganavSearch' {
507
+ import { AbsUrl } from "@ably/ui/core/Meganav";
508
+ const MeganavSearch: ({ absUrl }: {
509
+ absUrl: AbsUrl;
510
+ }) => import("react/jsx-runtime").JSX.Element;
511
+ export default MeganavSearch;
512
+ //# sourceMappingURL=MeganavSearch.d.ts.map
513
+ }
514
+
515
+ declare module '@ably/ui/core/MeganavSearchAutocomplete/component' {
516
+ function _default(apiKey: any): {
517
+ teardown: () => void;
518
+ clear: () => void;
519
+ }[];
520
+ export default _default;
521
+ //# sourceMappingURL=component.d.ts.map
522
+ }
523
+
524
+ declare module '@ably/ui/core/MeganavSearchAutocomplete' {
525
+ const MeganavSearchAutocomplete: () => import("react/jsx-runtime").JSX.Element;
526
+ export default MeganavSearchAutocomplete;
527
+ //# sourceMappingURL=MeganavSearchAutocomplete.d.ts.map
528
+ }
529
+
530
+ declare module '@ably/ui/core/MeganavSearchPanel' {
531
+ import { AbsUrl } from "@ably/ui/core/Meganav";
532
+ const MeganavSearchPanel: ({ absUrl }: {
533
+ absUrl: AbsUrl;
534
+ }) => import("react/jsx-runtime").JSX.Element;
535
+ export default MeganavSearchPanel;
536
+ //# sourceMappingURL=MeganavSearchPanel.d.ts.map
537
+ }
538
+
539
+ declare module '@ably/ui/core/MeganavSearchSuggestions/component' {
540
+ export default MeganavSearchSuggestions;
541
+ function MeganavSearchSuggestions(): {
542
+ teardown: () => void;
543
+ clear: () => void;
544
+ };
545
+ //# sourceMappingURL=component.d.ts.map
546
+ }
547
+
548
+ declare module '@ably/ui/core/MeganavSearchSuggestions' {
549
+ import { AbsUrl } from "@ably/ui/core/Meganav";
550
+ type MeganavSearchSuggestionsProps = {
551
+ absUrl: AbsUrl;
552
+ displaySupportLink: boolean;
553
+ };
554
+ const MeganavSearchSuggestions: ({ absUrl, displaySupportLink, }: MeganavSearchSuggestionsProps) => import("react/jsx-runtime").JSX.Element;
555
+ export default MeganavSearchSuggestions;
556
+ //# sourceMappingURL=MeganavSearchSuggestions.d.ts.map
557
+ }
558
+
559
+ declare module '@ably/ui/core/Notice/component' {
560
+ export default Notice;
561
+ function Notice({ bannerContainer, cookieId, noticeId, options }: {
562
+ bannerContainer: any;
563
+ cookieId: any;
564
+ noticeId: any;
565
+ options: any;
566
+ }): () => void;
567
+ //# sourceMappingURL=component.d.ts.map
568
+ }
569
+
570
+ declare module '@ably/ui/core/Notice' {
571
+ type NoticeProps = {
572
+ buttonLink?: string;
573
+ buttonLabel?: string;
574
+ bodyText?: string;
575
+ title?: string;
576
+ closeBtn?: boolean;
577
+ config?: {
578
+ collapse: boolean;
579
+ noticeId: string;
580
+ cookieId: string;
581
+ };
582
+ bgColor?: string;
583
+ textColor?: string;
584
+ bannerContainer?: Element | null;
585
+ cookieId?: string;
586
+ noticeId?: string;
587
+ options?: {
588
+ collapse: boolean;
589
+ };
590
+ };
591
+ const Notice: ({ buttonLink, buttonLabel, bodyText, title, config, closeBtn, bgColor, textColor, }: NoticeProps) => import("react/jsx-runtime").JSX.Element;
592
+ export default Notice;
593
+ //# sourceMappingURL=Notice.d.ts.map
594
+ }
595
+
596
+ declare module '@ably/ui/core/ProductTile/data' {
597
+ export type ProductName = "pubsub" | "chat" | "spaces" | "liveSync" | "assetTracking" | "liveObjects";
598
+ type Products = Record<ProductName, {
599
+ label: string;
600
+ description: string;
601
+ link?: string;
602
+ icon?: string;
603
+ unavailable?: boolean;
604
+ }>;
605
+ export const products: Products;
606
+ export {};
607
+ //# sourceMappingURL=data.d.ts.map
608
+ }
609
+
610
+ declare module '@ably/ui/core/ProductTile' {
611
+ import { ProductName } from "@ably/ui/core/ProductTile/data";
612
+ type ProductTileProps = {
613
+ name: ProductName;
614
+ selected?: boolean;
615
+ currentPage?: boolean;
616
+ };
617
+ const ProductTile: ({ name, selected, currentPage }: ProductTileProps) => import("react/jsx-runtime").JSX.Element;
618
+ export default ProductTile;
619
+ //# sourceMappingURL=ProductTile.d.ts.map
620
+ }
621
+
622
+ declare module '@ably/ui/core/SignOutLink' {
623
+ import { MouseEventHandler, ReactNode } from "react";
624
+ import { AbsUrl } from "@ably/ui/core/Meganav";
625
+ type SignOutLinkProps = {
626
+ token: string;
627
+ href: string;
628
+ text: string;
629
+ children: ({ href, text, onClick, }: {
630
+ href: string;
631
+ text: string;
632
+ onClick: MouseEventHandler<HTMLAnchorElement>;
633
+ }) => ReactNode;
634
+ absUrl: AbsUrl;
635
+ };
636
+ const SignOutLink: ({ token, href, text, children, absUrl, }: SignOutLinkProps) => import("react/jsx-runtime").JSX.Element;
637
+ export default SignOutLink;
638
+ //# sourceMappingURL=SignOutLink.d.ts.map
639
+ }
640
+
641
+ declare module '@ably/ui/core/Slider' {
642
+ import { ReactNode } from "react";
643
+ interface SliderProps {
644
+ children: ReactNode[];
645
+ options?: {
646
+ interval?: number;
647
+ controlPosition?: "inline" | "floating";
648
+ intervalIndicator?: boolean;
649
+ };
650
+ }
651
+ const Slider: ({ children, options }: SliderProps) => import("react/jsx-runtime").JSX.Element;
652
+ export default Slider;
653
+ //# sourceMappingURL=Slider.d.ts.map
654
+ }
655
+
656
+ declare module '@ably/ui/core/Status' {
657
+ const Status: ({ statusUrl, additionalCSS, }: {
658
+ statusUrl: string;
659
+ additionalCSS?: string;
660
+ }) => import("react/jsx-runtime").JSX.Element;
661
+ export default Status;
662
+ //# sourceMappingURL=Status.d.ts.map
663
+ }
664
+
665
+ declare module '@ably/ui/core/Table/Table' {
666
+ import { PropsWithChildren, TableHTMLAttributes } from "react";
667
+ type TableProps = {
668
+ id?: string;
669
+ };
670
+ export const Table: ({ id, children, ...rest }: PropsWithChildren<TableProps & TableHTMLAttributes<HTMLTableElement>>) => import("react/jsx-runtime").JSX.Element;
671
+ export const TableBody: ({ children, ...rest }: PropsWithChildren<TableHTMLAttributes<HTMLTableSectionElement>>) => import("react/jsx-runtime").JSX.Element;
672
+ export const TableHeader: ({ children, ...rest }: PropsWithChildren<TableHTMLAttributes<HTMLTableSectionElement>>) => import("react/jsx-runtime").JSX.Element;
673
+ export const TableRowHeader: ({ children, ...rest }: PropsWithChildren<TableHTMLAttributes<HTMLTableRowElement>>) => import("react/jsx-runtime").JSX.Element;
674
+ export {};
675
+ //# sourceMappingURL=Table.d.ts.map
676
+ }
677
+
678
+ declare module '@ably/ui/core/Table/TableCell' {
679
+ import React, { PropsWithChildren } from "react";
680
+ type TableCellProps = {
681
+ isRowHeader?: boolean;
682
+ } & React.TdHTMLAttributes<HTMLTableCellElement>;
683
+ const LabelCell: ({ children, ...rest }: PropsWithChildren<React.TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
684
+ const TableCell: ({ children, isRowHeader, ...rest }: PropsWithChildren<TableCellProps>) => import("react/jsx-runtime").JSX.Element;
685
+ const HeaderCell: ({ children, ...rest }: PropsWithChildren<React.TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
686
+ const CtaCell: ({ children, ...rest }: PropsWithChildren<React.TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
687
+ export { TableCell, LabelCell, HeaderCell, CtaCell };
688
+ //# sourceMappingURL=TableCell.d.ts.map
689
+ }
690
+
691
+ declare module '@ably/ui/core/Table/TableRow' {
692
+ import React, { PropsWithChildren } from "react";
693
+ const CtaRow: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
694
+ type RowProps = {
695
+ isHeader?: boolean;
696
+ } & React.HTMLAttributes<HTMLTableRowElement>;
697
+ const TableRow: ({ children, isHeader, ...rest }: PropsWithChildren<RowProps>) => import("react/jsx-runtime").JSX.Element;
698
+ export { TableRow, CtaRow };
699
+ //# sourceMappingURL=TableRow.d.ts.map
700
+ }
701
+
702
+ declare module '@ably/ui/core/Table/data' {
703
+ export const PricingPageTable: () => import("react/jsx-runtime").JSX.Element;
704
+ //# sourceMappingURL=data.d.ts.map
705
+ }
706
+
707
+ declare module '@ably/ui/core/Table' {
708
+ const _default: {
709
+ Root: ({ id, children, ...rest }: import("react").PropsWithChildren<{
710
+ id?: string;
711
+ } & import("react").TableHTMLAttributes<HTMLTableElement>>) => import("react/jsx-runtime").JSX.Element;
712
+ Row: ({ children, isHeader, ...rest }: import("react").PropsWithChildren<{
713
+ isHeader?: boolean;
714
+ } & import("react").HTMLAttributes<HTMLTableRowElement>>) => import("react/jsx-runtime").JSX.Element;
715
+ Cell: ({ children, isRowHeader, ...rest }: import("react").PropsWithChildren<{
716
+ isRowHeader?: boolean;
717
+ } & import("react").TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
718
+ LabelCell: ({ children, ...rest }: import("react").PropsWithChildren<import("react").TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
719
+ HeaderCell: ({ children, ...rest }: import("react").PropsWithChildren<import("react").TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
720
+ CtaCell: ({ children, ...rest }: import("react").PropsWithChildren<import("react").TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
721
+ RowHeader: ({ children, ...rest }: import("react").PropsWithChildren<import("react").TableHTMLAttributes<HTMLTableRowElement>>) => import("react/jsx-runtime").JSX.Element;
722
+ Body: ({ children, ...rest }: import("react").PropsWithChildren<import("react").TableHTMLAttributes<HTMLTableSectionElement>>) => import("react/jsx-runtime").JSX.Element;
723
+ Header: ({ children, ...rest }: import("react").PropsWithChildren<import("react").TableHTMLAttributes<HTMLTableSectionElement>>) => import("react/jsx-runtime").JSX.Element;
724
+ };
725
+ export default _default;
726
+ //# sourceMappingURL=Table.d.ts.map
727
+ }
728
+
729
+ declare module '@ably/ui/core/Tooltip' {
730
+ import { ButtonHTMLAttributes, HTMLAttributes, PropsWithChildren } from "react";
731
+ type TooltipProps = {
732
+ triggerProps?: ButtonHTMLAttributes<HTMLButtonElement>;
733
+ tooltipProps?: HTMLAttributes<HTMLDivElement>;
734
+ } & HTMLAttributes<HTMLDivElement>;
735
+ const Tooltip: ({ children, triggerProps, tooltipProps, ...rest }: PropsWithChildren<TooltipProps>) => import("react/jsx-runtime").JSX.Element;
736
+ export default Tooltip;
737
+ //# sourceMappingURL=Tooltip.d.ts.map
738
+ }
739
+
740
+ declare module '@ably/ui/core/css' {
741
+ export function remsToPixelValue(remString: any): number;
742
+ //# sourceMappingURL=css.d.ts.map
743
+ }
744
+
745
+ declare module '@ably/ui/core/dom-query' {
746
+ export function queryId(val: any, root?: Document): Element | null;
747
+ export function queryIdAll(val: any, root?: Document): NodeListOf<Element>;
748
+ //# sourceMappingURL=dom-query.d.ts.map
749
+ }
750
+
751
+ declare module '@ably/ui/core/hubspot-chat-toggle' {
752
+ export default function toggleChatWidget(params: any): (() => void) | undefined;
753
+ //# sourceMappingURL=hubspot-chat-toggle.d.ts.map
754
+ }
755
+
756
+ declare module '@ably/ui/core/remote-blogs-posts' {
757
+ export function fetchBlogPosts(store: any, blogUrl: any): Promise<void>;
758
+ export namespace reducerBlogPosts {
759
+ function blogPosts(state: {
760
+ recent: null;
761
+ } | undefined, action: any): {
762
+ recent: any;
763
+ };
764
+ }
765
+ export function selectRecentBlogPosts(store: any): any;
766
+ //# sourceMappingURL=remote-blogs-posts.d.ts.map
767
+ }
768
+
769
+ declare module '@ably/ui/core/remote-data-store' {
770
+ export function attachStoreToWindow(store: any): void;
771
+ export function getRemoteDataStore(): any;
772
+ export function connectState(selector: any, setState: any): void;
773
+ export function createRemoteDataStore(reducers: any): any;
774
+ //# sourceMappingURL=remote-data-store.d.ts.map
775
+ }
776
+
777
+ declare module '@ably/ui/core/remote-data-util' {
778
+ export function isJsonResponse(contentType: any): any;
779
+ //# sourceMappingURL=remote-data-util.d.ts.map
780
+ }
781
+
782
+ declare module '@ably/ui/core/remote-session-data' {
783
+ export function fetchSessionData(store: any, sessionUrl: any): Promise<void>;
784
+ export namespace reducerSessionData {
785
+ function session(state: {
786
+ data: null;
787
+ } | undefined, action: any): {
788
+ data: any;
789
+ };
790
+ }
791
+ export function selectSessionData(store: any): any;
792
+ //# sourceMappingURL=remote-session-data.d.ts.map
793
+ }
794
+
795
+ declare module '@ably/ui/core/url-base' {
796
+ export default absUrl;
797
+ function absUrl(path: any, urlBase?: string): string;
798
+ //# sourceMappingURL=url-base.d.ts.map
799
+ }
800
+
801
+ declare module '@ably/ui/core/utils/syntax-highlighter-registry' {
802
+ export default registry;
803
+ const registry: {
804
+ label: string;
805
+ key: string;
806
+ module: any;
807
+ }[];
808
+ //# sourceMappingURL=syntax-highlighter-registry.d.ts.map
809
+ }
810
+
811
+ declare module '@ably/ui/core/utils/syntax-highlighter' {
812
+ export function highlightSnippet(languageKeyword: any, snippet: any): string | undefined;
813
+ export function languageToHighlightKey(lang: any): any;
814
+ export function registerDefaultLanguages(register: any): void;
815
+ //# sourceMappingURL=syntax-highlighter.d.ts.map
816
+ }
817
+