@ably/ui 14.4.0-dev.49f3533 → 14.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/{types/index.d.ts → index.d.ts} +60 -59
  2. package/package.json +8 -8
  3. package/core/.DS_Store +0 -0
  4. package/core/Accordion/.DS_Store +0 -0
  5. package/core/Code/.DS_Store +0 -0
  6. package/core/ContactFooter/.DS_Store +0 -0
  7. package/core/CookieMessage/.DS_Store +0 -0
  8. package/core/CustomerLogos/.DS_Store +0 -0
  9. package/core/DropdownMenu/.DS_Store +0 -0
  10. package/core/FeaturedLink/.DS_Store +0 -0
  11. package/core/Flash/.DS_Store +0 -0
  12. package/core/Footer/.DS_Store +0 -0
  13. package/core/Icon/.DS_Store +0 -0
  14. package/core/Loader/.DS_Store +0 -0
  15. package/core/Logo/.DS_Store +0 -0
  16. package/core/Meganav/.DS_Store +0 -0
  17. package/core/MeganavBlogPostsList/.DS_Store +0 -0
  18. package/core/MeganavControl/.DS_Store +0 -0
  19. package/core/MeganavControlMobileDropdown/.DS_Store +0 -0
  20. package/core/MeganavControlMobilePanelClose/.DS_Store +0 -0
  21. package/core/MeganavControlMobilePanelOpen/.DS_Store +0 -0
  22. package/core/MeganavSearchAutocomplete/.DS_Store +0 -0
  23. package/core/MeganavSearchSuggestions/.DS_Store +0 -0
  24. package/core/Notice/.DS_Store +0 -0
  25. package/core/Slider/.DS_Store +0 -0
  26. package/core/Table/.DS_Store +0 -0
  27. package/core/Tooltip/.DS_Store +0 -0
  28. package/core/icons/.DS_Store +0 -0
  29. package/types/core/Accordion.d.ts +0 -17
  30. package/types/core/Accordion.d.ts.map +0 -1
  31. package/types/core/Code.d.ts +0 -10
  32. package/types/core/Code.d.ts.map +0 -1
  33. package/types/core/ConnectStateWrapper.d.ts +0 -3
  34. package/types/core/ConnectStateWrapper.d.ts.map +0 -1
  35. package/types/core/ContactFooter.d.ts +0 -6
  36. package/types/core/ContactFooter.d.ts.map +0 -1
  37. package/types/core/CookieMessage.d.ts +0 -7
  38. package/types/core/CookieMessage.d.ts.map +0 -1
  39. package/types/core/CustomerLogos.d.ts +0 -11
  40. package/types/core/CustomerLogos.d.ts.map +0 -1
  41. package/types/core/DropdownMenu.d.ts +0 -28
  42. package/types/core/DropdownMenu.d.ts.map +0 -1
  43. package/types/core/Expander.d.ts +0 -12
  44. package/types/core/Expander.d.ts.map +0 -1
  45. package/types/core/FeaturedLink.d.ts +0 -15
  46. package/types/core/FeaturedLink.d.ts.map +0 -1
  47. package/types/core/Flash.d.ts +0 -32
  48. package/types/core/Flash.d.ts.map +0 -1
  49. package/types/core/Footer.d.ts +0 -14
  50. package/types/core/Footer.d.ts.map +0 -1
  51. package/types/core/Icon.d.ts +0 -9
  52. package/types/core/Icon.d.ts.map +0 -1
  53. package/types/core/Loader.d.ts +0 -8
  54. package/types/core/Loader.d.ts.map +0 -1
  55. package/types/core/Logo.d.ts +0 -11
  56. package/types/core/Logo.d.ts.map +0 -1
  57. package/types/core/Meganav/component.d.ts +0 -5
  58. package/types/core/Meganav/component.d.ts.map +0 -1
  59. package/types/core/Meganav.d.ts +0 -77
  60. package/types/core/Meganav.d.ts.map +0 -1
  61. package/types/core/MeganavBlogPostsList.d.ts +0 -12
  62. package/types/core/MeganavBlogPostsList.d.ts.map +0 -1
  63. package/types/core/MeganavContentCompany.d.ts +0 -8
  64. package/types/core/MeganavContentCompany.d.ts.map +0 -1
  65. package/types/core/MeganavContentDevelopers.d.ts +0 -7
  66. package/types/core/MeganavContentDevelopers.d.ts.map +0 -1
  67. package/types/core/MeganavContentProducts.d.ts +0 -8
  68. package/types/core/MeganavContentProducts.d.ts.map +0 -1
  69. package/types/core/MeganavContentUseCases.d.ts +0 -6
  70. package/types/core/MeganavContentUseCases.d.ts.map +0 -1
  71. package/types/core/MeganavControl/component.d.ts +0 -6
  72. package/types/core/MeganavControl/component.d.ts.map +0 -1
  73. package/types/core/MeganavControl.d.ts +0 -12
  74. package/types/core/MeganavControl.d.ts.map +0 -1
  75. package/types/core/MeganavControlMobileDropdown/component.d.ts +0 -8
  76. package/types/core/MeganavControlMobileDropdown/component.d.ts.map +0 -1
  77. package/types/core/MeganavControlMobileDropdown.d.ts +0 -6
  78. package/types/core/MeganavControlMobileDropdown.d.ts.map +0 -1
  79. package/types/core/MeganavControlMobilePanelClose/component.d.ts +0 -6
  80. package/types/core/MeganavControlMobilePanelClose/component.d.ts.map +0 -1
  81. package/types/core/MeganavControlMobilePanelClose.d.ts +0 -7
  82. package/types/core/MeganavControlMobilePanelClose.d.ts.map +0 -1
  83. package/types/core/MeganavControlMobilePanelOpen/component.d.ts +0 -6
  84. package/types/core/MeganavControlMobilePanelOpen/component.d.ts.map +0 -1
  85. package/types/core/MeganavControlMobilePanelOpen.d.ts +0 -8
  86. package/types/core/MeganavControlMobilePanelOpen.d.ts.map +0 -1
  87. package/types/core/MeganavItemsDesktop.d.ts +0 -13
  88. package/types/core/MeganavItemsDesktop.d.ts.map +0 -1
  89. package/types/core/MeganavItemsMobile.d.ts +0 -14
  90. package/types/core/MeganavItemsMobile.d.ts.map +0 -1
  91. package/types/core/MeganavItemsSignedIn.d.ts +0 -9
  92. package/types/core/MeganavItemsSignedIn.d.ts.map +0 -1
  93. package/types/core/MeganavSearch.d.ts +0 -6
  94. package/types/core/MeganavSearch.d.ts.map +0 -1
  95. package/types/core/MeganavSearchAutocomplete/component.d.ts +0 -6
  96. package/types/core/MeganavSearchAutocomplete/component.d.ts.map +0 -1
  97. package/types/core/MeganavSearchAutocomplete.d.ts +0 -3
  98. package/types/core/MeganavSearchAutocomplete.d.ts.map +0 -1
  99. package/types/core/MeganavSearchPanel.d.ts +0 -6
  100. package/types/core/MeganavSearchPanel.d.ts.map +0 -1
  101. package/types/core/MeganavSearchSuggestions/component.d.ts +0 -6
  102. package/types/core/MeganavSearchSuggestions/component.d.ts.map +0 -1
  103. package/types/core/MeganavSearchSuggestions.d.ts +0 -8
  104. package/types/core/MeganavSearchSuggestions.d.ts.map +0 -1
  105. package/types/core/Notice/component.d.ts +0 -8
  106. package/types/core/Notice/component.d.ts.map +0 -1
  107. package/types/core/Notice.d.ts +0 -23
  108. package/types/core/Notice.d.ts.map +0 -1
  109. package/types/core/SignOutLink.d.ts +0 -16
  110. package/types/core/SignOutLink.d.ts.map +0 -1
  111. package/types/core/Slider.d.ts +0 -12
  112. package/types/core/Slider.d.ts.map +0 -1
  113. package/types/core/Status.d.ts +0 -6
  114. package/types/core/Status.d.ts.map +0 -1
  115. package/types/core/Table/Table.d.ts +0 -10
  116. package/types/core/Table/Table.d.ts.map +0 -1
  117. package/types/core/Table/TableCell.d.ts +0 -10
  118. package/types/core/Table/TableCell.d.ts.map +0 -1
  119. package/types/core/Table/TableRow.d.ts +0 -8
  120. package/types/core/Table/TableRow.d.ts.map +0 -1
  121. package/types/core/Table/data.d.ts +0 -2
  122. package/types/core/Table/data.d.ts.map +0 -1
  123. package/types/core/Table.d.ts +0 -19
  124. package/types/core/Table.d.ts.map +0 -1
  125. package/types/core/Tooltip.d.ts +0 -8
  126. package/types/core/Tooltip.d.ts.map +0 -1
  127. package/types/core/css.d.ts +0 -2
  128. package/types/core/css.d.ts.map +0 -1
  129. package/types/core/dom-query.d.ts +0 -3
  130. package/types/core/dom-query.d.ts.map +0 -1
  131. package/types/core/hubspot-chat-toggle.d.ts +0 -2
  132. package/types/core/hubspot-chat-toggle.d.ts.map +0 -1
  133. package/types/core/remote-blogs-posts.d.ts +0 -10
  134. package/types/core/remote-blogs-posts.d.ts.map +0 -1
  135. package/types/core/remote-data-store.d.ts +0 -5
  136. package/types/core/remote-data-store.d.ts.map +0 -1
  137. package/types/core/remote-data-util.d.ts +0 -2
  138. package/types/core/remote-data-util.d.ts.map +0 -1
  139. package/types/core/remote-session-data.d.ts +0 -10
  140. package/types/core/remote-session-data.d.ts.map +0 -1
  141. package/types/core/url-base.d.ts +0 -3
  142. package/types/core/url-base.d.ts.map +0 -1
  143. package/types/core/utils/syntax-highlighter-registry.d.ts +0 -7
  144. package/types/core/utils/syntax-highlighter-registry.d.ts.map +0 -1
  145. package/types/core/utils/syntax-highlighter.d.ts +0 -4
  146. package/types/core/utils/syntax-highlighter.d.ts.map +0 -1
@@ -1,4 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
+
2
3
  declare module '@ably/ui/core/Accordion' {
3
4
  import { ReactNode } from "react";
4
5
  type AccordionData = {
@@ -17,7 +18,7 @@ export type AccordionProps = {
17
18
  const Accordion: ({ data, id, topBorder, bottomBorder, arrowIcon, autoClose, className, }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
18
19
  export default Accordion;
19
20
  //# sourceMappingURL=Accordion.d.ts.map
20
- };
21
+ }
21
22
 
22
23
  declare module '@ably/ui/core/Code' {
23
24
  type CodeProps = {
@@ -30,13 +31,13 @@ type CodeProps = {
30
31
  const Code: ({ language, snippet, textSize, padding, additionalCSS, }: CodeProps) => import("react/jsx-runtime").JSX.Element;
31
32
  export default Code;
32
33
  //# sourceMappingURL=Code.d.ts.map
33
- };
34
+ }
34
35
 
35
36
  declare module '@ably/ui/core/ConnectStateWrapper' {
36
37
  const ConnectStateWrapper: (Component: any, selectors: any) => (props: any) => import("react/jsx-runtime").JSX.Element;
37
38
  export default ConnectStateWrapper;
38
39
  //# sourceMappingURL=ConnectStateWrapper.d.ts.map
39
- };
40
+ }
40
41
 
41
42
  declare module '@ably/ui/core/ContactFooter' {
42
43
  type ContactFooterProps = {
@@ -45,7 +46,7 @@ type ContactFooterProps = {
45
46
  const ContactFooter: ({ urlBase }: ContactFooterProps) => import("react/jsx-runtime").JSX.Element;
46
47
  export default ContactFooter;
47
48
  //# sourceMappingURL=ContactFooter.d.ts.map
48
- };
49
+ }
49
50
 
50
51
  declare module '@ably/ui/core/CookieMessage' {
51
52
  type CookieMessageProps = {
@@ -55,7 +56,7 @@ type CookieMessageProps = {
55
56
  const CookieMessage: ({ cookieId, urlBase }: CookieMessageProps) => import("react/jsx-runtime").JSX.Element | null;
56
57
  export default CookieMessage;
57
58
  //# sourceMappingURL=CookieMessage.d.ts.map
58
- };
59
+ }
59
60
 
60
61
  declare module '@ably/ui/core/CustomerLogos' {
61
62
  type CompanyEntity = {
@@ -69,7 +70,7 @@ type CustomerLogosProps = {
69
70
  const CustomerLogos: ({ companies, additionalCss, }: CustomerLogosProps) => import("react/jsx-runtime").JSX.Element;
70
71
  export default CustomerLogos;
71
72
  //# sourceMappingURL=CustomerLogos.d.ts.map
72
- };
73
+ }
73
74
 
74
75
  declare module '@ably/ui/core/DropdownMenu' {
75
76
  import { ReactNode } from "react";
@@ -100,7 +101,7 @@ const DropdownMenu: {
100
101
  };
101
102
  export default DropdownMenu;
102
103
  //# sourceMappingURL=DropdownMenu.d.ts.map
103
- };
104
+ }
104
105
 
105
106
  declare module '@ably/ui/core/Expander' {
106
107
  import { PropsWithChildren } from "react";
@@ -115,7 +116,7 @@ type ExpanderProps = {
115
116
  const Expander: ({ heightThreshold, className, fadeClassName, controlsClassName, controlsOpenedLabel, controlsClosedLabel, children, }: PropsWithChildren<ExpanderProps>) => import("react/jsx-runtime").JSX.Element;
116
117
  export default Expander;
117
118
  //# sourceMappingURL=Expander.d.ts.map
118
- };
119
+ }
119
120
 
120
121
  declare module '@ably/ui/core/FeaturedLink' {
121
122
  import { ReactNode } from "react";
@@ -133,7 +134,7 @@ type FeaturedLinkProps = {
133
134
  const FeaturedLink: ({ url, textSize, iconColor, flush, reverse, additionalCSS, newWindow, onClick, children, }: FeaturedLinkProps) => import("react/jsx-runtime").JSX.Element;
134
135
  export default FeaturedLink;
135
136
  //# sourceMappingURL=FeaturedLink.d.ts.map
136
- };
137
+ }
137
138
 
138
139
  declare module '@ably/ui/core/Flash' {
139
140
  type FlashPropsType = "error" | "success" | "notice" | "info" | "alert";
@@ -168,7 +169,7 @@ const BackendFlashes: ({ flashes }: BackendFlashesProps) => import("react/jsx-ru
168
169
  export { reducerFlashes, FLASH_DATA_ID, Flashes };
169
170
  export default BackendFlashes;
170
171
  //# sourceMappingURL=Flash.d.ts.map
171
- };
172
+ }
172
173
 
173
174
  declare module '@ably/ui/core/Footer' {
174
175
  type FooterProps = {
@@ -185,7 +186,7 @@ type FooterProps = {
185
186
  const Footer: ({ paths, urlBase, statusUrl }: FooterProps) => import("react/jsx-runtime").JSX.Element;
186
187
  export default Footer;
187
188
  //# sourceMappingURL=Footer.d.ts.map
188
- };
189
+ }
189
190
 
190
191
  declare module '@ably/ui/core/Icon' {
191
192
  type IconProps = {
@@ -197,7 +198,7 @@ type IconProps = {
197
198
  const Icon: ({ name, size, color, additionalCSS, ...additionalAttributes }: IconProps) => import("react/jsx-runtime").JSX.Element;
198
199
  export default Icon;
199
200
  //# sourceMappingURL=Icon.d.ts.map
200
- };
201
+ }
201
202
 
202
203
  declare module '@ably/ui/core/Loader' {
203
204
  type LoaderProps = {
@@ -208,7 +209,7 @@ type LoaderProps = {
208
209
  const Loader: ({ ringColor, size, additionalCSS, }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
209
210
  export default Loader;
210
211
  //# sourceMappingURL=Loader.d.ts.map
211
- };
212
+ }
212
213
 
213
214
  declare module '@ably/ui/core/Logo' {
214
215
  import React from "react";
@@ -222,7 +223,7 @@ type LogoProps = {
222
223
  const _default: React.MemoExoticComponent<({ dataId, logoUrl, href, additionalImgAttrs, additionalLinkAttrs, }: LogoProps) => import("react/jsx-runtime").JSX.Element>;
223
224
  export default _default;
224
225
  //# sourceMappingURL=Logo.d.ts.map
225
- };
226
+ }
226
227
 
227
228
  declare module '@ably/ui/core/Meganav/component' {
228
229
  export default function Meganav({ themeName, addSearchApiKey }: {
@@ -230,7 +231,7 @@ export default function Meganav({ themeName, addSearchApiKey }: {
230
231
  addSearchApiKey: any;
231
232
  }): () => void;
232
233
  //# sourceMappingURL=component.d.ts.map
233
- };
234
+ }
234
235
 
235
236
  declare module '@ably/ui/core/Meganav' {
236
237
  import { ReactNode } from "react";
@@ -310,7 +311,7 @@ type MeganavProps = {
310
311
  const Meganav: ({ paths, themeName, notice, loginLink, urlBase, addSearchApiKey, statusUrl, }: MeganavProps) => import("react/jsx-runtime").JSX.Element;
311
312
  export default Meganav;
312
313
  //# sourceMappingURL=Meganav.d.ts.map
313
- };
314
+ }
314
315
 
315
316
  declare module '@ably/ui/core/MeganavBlogPostsList' {
316
317
  import { AbsUrl } from "@ably/ui/core/Meganav";
@@ -325,7 +326,7 @@ type MeganavBlogPostsListProps = {
325
326
  const MeganavBlogPostsList: ({ recentBlogPosts, absUrl, }: MeganavBlogPostsListProps) => import("react/jsx-runtime").JSX.Element | null;
326
327
  export default MeganavBlogPostsList;
327
328
  //# sourceMappingURL=MeganavBlogPostsList.d.ts.map
328
- };
329
+ }
329
330
 
330
331
  declare module '@ably/ui/core/MeganavContentCompany' {
331
332
  import { AbsUrl, MeganavPaths } from "@ably/ui/core/Meganav";
@@ -336,7 +337,7 @@ type MeganavContentCompanyProps = {
336
337
  const MeganavContentCompany: ({ paths, absUrl, }: MeganavContentCompanyProps) => import("react/jsx-runtime").JSX.Element;
337
338
  export default MeganavContentCompany;
338
339
  //# sourceMappingURL=MeganavContentCompany.d.ts.map
339
- };
340
+ }
340
341
 
341
342
  declare module '@ably/ui/core/MeganavContentDevelopers' {
342
343
  import { AbsUrl } from "@ably/ui/core/Meganav";
@@ -346,7 +347,7 @@ const MeganavContentDevelopers: ({ absUrl, statusUrl, }: {
346
347
  }) => import("react/jsx-runtime").JSX.Element;
347
348
  export default MeganavContentDevelopers;
348
349
  //# sourceMappingURL=MeganavContentDevelopers.d.ts.map
349
- };
350
+ }
350
351
 
351
352
  declare module '@ably/ui/core/MeganavContentProducts' {
352
353
  import { AbsUrl, MeganavPaths } from "@ably/ui/core/Meganav";
@@ -357,7 +358,7 @@ type MeganavContentProductsProps = {
357
358
  const MeganavContentProducts: ({ paths, absUrl, }: MeganavContentProductsProps) => import("react/jsx-runtime").JSX.Element;
358
359
  export default MeganavContentProducts;
359
360
  //# sourceMappingURL=MeganavContentProducts.d.ts.map
360
- };
361
+ }
361
362
 
362
363
  declare module '@ably/ui/core/MeganavContentUseCases' {
363
364
  import { AbsUrl } from "@ably/ui/core/Meganav";
@@ -366,7 +367,7 @@ const MeganavContentUseCases: ({ absUrl }: {
366
367
  }) => import("react/jsx-runtime").JSX.Element;
367
368
  export default MeganavContentUseCases;
368
369
  //# sourceMappingURL=MeganavContentUseCases.d.ts.map
369
- };
370
+ }
370
371
 
371
372
  declare module '@ably/ui/core/MeganavControl/component' {
372
373
  export default MeganavControl;
@@ -375,7 +376,7 @@ function MeganavControl(): {
375
376
  clear: () => void;
376
377
  }[];
377
378
  //# sourceMappingURL=component.d.ts.map
378
- };
379
+ }
379
380
 
380
381
  declare module '@ably/ui/core/MeganavControl' {
381
382
  import { ReactNode } from "react";
@@ -390,7 +391,7 @@ type MeganavControlProps = {
390
391
  const MeganavControl: ({ ariaControls, ariaLabel, children, theme, additionalCSS, }: MeganavControlProps) => import("react/jsx-runtime").JSX.Element;
391
392
  export default MeganavControl;
392
393
  //# sourceMappingURL=MeganavControl.d.ts.map
393
- };
394
+ }
394
395
 
395
396
  declare module '@ably/ui/core/MeganavControlMobileDropdown/component' {
396
397
  export default MeganavControlMobileDropdown;
@@ -401,7 +402,7 @@ function MeganavControlMobileDropdown({ clearPanels }: {
401
402
  clear: () => void;
402
403
  };
403
404
  //# sourceMappingURL=component.d.ts.map
404
- };
405
+ }
405
406
 
406
407
  declare module '@ably/ui/core/MeganavControlMobileDropdown' {
407
408
  import { MeganavTheme } from "@ably/ui/core/Meganav";
@@ -410,7 +411,7 @@ const MeganavControlMobileDropdown: ({ theme }: {
410
411
  }) => import("react/jsx-runtime").JSX.Element;
411
412
  export default MeganavControlMobileDropdown;
412
413
  //# sourceMappingURL=MeganavControlMobileDropdown.d.ts.map
413
- };
414
+ }
414
415
 
415
416
  declare module '@ably/ui/core/MeganavControlMobilePanelClose/component' {
416
417
  function _default(): {
@@ -419,7 +420,7 @@ function _default(): {
419
420
  }[];
420
421
  export default _default;
421
422
  //# sourceMappingURL=component.d.ts.map
422
- };
423
+ }
423
424
 
424
425
  declare module '@ably/ui/core/MeganavControlMobilePanelClose' {
425
426
  type MeganavControlMobilePanelCloseProps = {
@@ -429,7 +430,7 @@ type MeganavControlMobilePanelCloseProps = {
429
430
  const MeganavControlMobilePanelClose: ({ ariaControls, displayHr, }: MeganavControlMobilePanelCloseProps) => import("react/jsx-runtime").JSX.Element;
430
431
  export default MeganavControlMobilePanelClose;
431
432
  //# sourceMappingURL=MeganavControlMobilePanelClose.d.ts.map
432
- };
433
+ }
433
434
 
434
435
  declare module '@ably/ui/core/MeganavControlMobilePanelOpen/component' {
435
436
  function _default(): {
@@ -438,7 +439,7 @@ function _default(): {
438
439
  }[];
439
440
  export default _default;
440
441
  //# sourceMappingURL=component.d.ts.map
441
- };
442
+ }
442
443
 
443
444
  declare module '@ably/ui/core/MeganavControlMobilePanelOpen' {
444
445
  import { ReactNode } from "react";
@@ -449,7 +450,7 @@ type MeganavControlMobilePanelOpenProps = {
449
450
  const MeganavControlMobilePanelOpen: ({ ariaControls, children, }: MeganavControlMobilePanelOpenProps) => import("react/jsx-runtime").JSX.Element;
450
451
  export default MeganavControlMobilePanelOpen;
451
452
  //# sourceMappingURL=MeganavControlMobilePanelOpen.d.ts.map
452
- };
453
+ }
453
454
 
454
455
  declare module '@ably/ui/core/MeganavItemsDesktop' {
455
456
  import React from "react";
@@ -465,7 +466,7 @@ const MeganavDesktopItems: ({ panels, paths, theme, absUrl, statusUrl, }: Megana
465
466
  const _default: React.MemoExoticComponent<({ panels, paths, theme, absUrl, statusUrl, }: MeganavDesktopItems) => import("react/jsx-runtime").JSX.Element>;
466
467
  export default _default;
467
468
  //# sourceMappingURL=MeganavItemsDesktop.d.ts.map
468
- };
469
+ }
469
470
 
470
471
  declare module '@ably/ui/core/MeganavItemsMobile' {
471
472
  import React from "react";
@@ -482,7 +483,7 @@ type MeganavItemsMobileProps = {
482
483
  const _default: React.MemoExoticComponent<({ panels, paths, sessionState, theme, loginLink, absUrl, statusUrl, }: MeganavItemsMobileProps) => import("react/jsx-runtime").JSX.Element>;
483
484
  export default _default;
484
485
  //# sourceMappingURL=MeganavItemsMobile.d.ts.map
485
- };
486
+ }
486
487
 
487
488
  declare module '@ably/ui/core/MeganavItemsSignedIn' {
488
489
  import { AbsUrl, MeganavSessionState, MeganavTheme } from "@ably/ui/core/Meganav";
@@ -494,7 +495,7 @@ type MeganavItemsSignedIn = {
494
495
  const MeganavItemsSignedIn: ({ sessionState, absUrl, }: MeganavItemsSignedIn) => import("react/jsx-runtime").JSX.Element;
495
496
  export default MeganavItemsSignedIn;
496
497
  //# sourceMappingURL=MeganavItemsSignedIn.d.ts.map
497
- };
498
+ }
498
499
 
499
500
  declare module '@ably/ui/core/MeganavSearch' {
500
501
  import { AbsUrl } from "@ably/ui/core/Meganav";
@@ -503,7 +504,7 @@ const MeganavSearch: ({ absUrl }: {
503
504
  }) => import("react/jsx-runtime").JSX.Element;
504
505
  export default MeganavSearch;
505
506
  //# sourceMappingURL=MeganavSearch.d.ts.map
506
- };
507
+ }
507
508
 
508
509
  declare module '@ably/ui/core/MeganavSearchAutocomplete/component' {
509
510
  function _default(apiKey: any): {
@@ -512,13 +513,13 @@ function _default(apiKey: any): {
512
513
  }[];
513
514
  export default _default;
514
515
  //# sourceMappingURL=component.d.ts.map
515
- };
516
+ }
516
517
 
517
518
  declare module '@ably/ui/core/MeganavSearchAutocomplete' {
518
519
  const MeganavSearchAutocomplete: () => import("react/jsx-runtime").JSX.Element;
519
520
  export default MeganavSearchAutocomplete;
520
521
  //# sourceMappingURL=MeganavSearchAutocomplete.d.ts.map
521
- };
522
+ }
522
523
 
523
524
  declare module '@ably/ui/core/MeganavSearchPanel' {
524
525
  import { AbsUrl } from "@ably/ui/core/Meganav";
@@ -527,7 +528,7 @@ const MeganavSearchPanel: ({ absUrl }: {
527
528
  }) => import("react/jsx-runtime").JSX.Element;
528
529
  export default MeganavSearchPanel;
529
530
  //# sourceMappingURL=MeganavSearchPanel.d.ts.map
530
- };
531
+ }
531
532
 
532
533
  declare module '@ably/ui/core/MeganavSearchSuggestions/component' {
533
534
  export default MeganavSearchSuggestions;
@@ -536,7 +537,7 @@ function MeganavSearchSuggestions(): {
536
537
  clear: () => void;
537
538
  };
538
539
  //# sourceMappingURL=component.d.ts.map
539
- };
540
+ }
540
541
 
541
542
  declare module '@ably/ui/core/MeganavSearchSuggestions' {
542
543
  import { AbsUrl } from "@ably/ui/core/Meganav";
@@ -547,7 +548,7 @@ type MeganavSearchSuggestionsProps = {
547
548
  const MeganavSearchSuggestions: ({ absUrl, displaySupportLink, }: MeganavSearchSuggestionsProps) => import("react/jsx-runtime").JSX.Element;
548
549
  export default MeganavSearchSuggestions;
549
550
  //# sourceMappingURL=MeganavSearchSuggestions.d.ts.map
550
- };
551
+ }
551
552
 
552
553
  declare module '@ably/ui/core/Notice/component' {
553
554
  export default Notice;
@@ -558,7 +559,7 @@ function Notice({ bannerContainer, cookieId, noticeId, options }: {
558
559
  options: any;
559
560
  }): () => void;
560
561
  //# sourceMappingURL=component.d.ts.map
561
- };
562
+ }
562
563
 
563
564
  declare module '@ably/ui/core/Notice' {
564
565
  type NoticeProps = {
@@ -584,7 +585,7 @@ type NoticeProps = {
584
585
  const Notice: ({ buttonLink, buttonLabel, bodyText, title, config, closeBtn, bgColor, textColor, }: NoticeProps) => import("react/jsx-runtime").JSX.Element;
585
586
  export default Notice;
586
587
  //# sourceMappingURL=Notice.d.ts.map
587
- };
588
+ }
588
589
 
589
590
  declare module '@ably/ui/core/SignOutLink' {
590
591
  import { MouseEventHandler, ReactNode } from "react";
@@ -603,7 +604,7 @@ type SignOutLinkProps = {
603
604
  const SignOutLink: ({ token, href, text, children, absUrl, }: SignOutLinkProps) => import("react/jsx-runtime").JSX.Element;
604
605
  export default SignOutLink;
605
606
  //# sourceMappingURL=SignOutLink.d.ts.map
606
- };
607
+ }
607
608
 
608
609
  declare module '@ably/ui/core/Slider' {
609
610
  import { ReactNode } from "react";
@@ -618,7 +619,7 @@ interface SliderProps {
618
619
  const Slider: ({ children, options }: SliderProps) => import("react/jsx-runtime").JSX.Element;
619
620
  export default Slider;
620
621
  //# sourceMappingURL=Slider.d.ts.map
621
- };
622
+ }
622
623
 
623
624
  declare module '@ably/ui/core/Status' {
624
625
  const Status: ({ statusUrl, additionalCSS, }: {
@@ -627,7 +628,7 @@ const Status: ({ statusUrl, additionalCSS, }: {
627
628
  }) => import("react/jsx-runtime").JSX.Element;
628
629
  export default Status;
629
630
  //# sourceMappingURL=Status.d.ts.map
630
- };
631
+ }
631
632
 
632
633
  declare module '@ably/ui/core/Table/Table' {
633
634
  import { PropsWithChildren, TableHTMLAttributes } from "react";
@@ -640,7 +641,7 @@ export const TableHeader: ({ children, ...rest }: PropsWithChildren<TableHTMLAtt
640
641
  export const TableRowHeader: ({ children, ...rest }: PropsWithChildren<TableHTMLAttributes<HTMLTableRowElement>>) => import("react/jsx-runtime").JSX.Element;
641
642
  export {};
642
643
  //# sourceMappingURL=Table.d.ts.map
643
- };
644
+ }
644
645
 
645
646
  declare module '@ably/ui/core/Table/TableCell' {
646
647
  import React, { PropsWithChildren } from "react";
@@ -653,7 +654,7 @@ const HeaderCell: ({ children, ...rest }: PropsWithChildren<React.TdHTMLAttribut
653
654
  const CtaCell: ({ children, ...rest }: PropsWithChildren<React.TdHTMLAttributes<HTMLTableCellElement>>) => import("react/jsx-runtime").JSX.Element;
654
655
  export { TableCell, LabelCell, HeaderCell, CtaCell };
655
656
  //# sourceMappingURL=TableCell.d.ts.map
656
- };
657
+ }
657
658
 
658
659
  declare module '@ably/ui/core/Table/TableRow' {
659
660
  import React, { PropsWithChildren } from "react";
@@ -664,12 +665,12 @@ type RowProps = {
664
665
  const TableRow: ({ children, isHeader, ...rest }: PropsWithChildren<RowProps>) => import("react/jsx-runtime").JSX.Element;
665
666
  export { TableRow, CtaRow };
666
667
  //# sourceMappingURL=TableRow.d.ts.map
667
- };
668
+ }
668
669
 
669
670
  declare module '@ably/ui/core/Table/data' {
670
671
  export const PricingPageTable: () => import("react/jsx-runtime").JSX.Element;
671
672
  //# sourceMappingURL=data.d.ts.map
672
- };
673
+ }
673
674
 
674
675
  declare module '@ably/ui/core/Table' {
675
676
  const _default: {
@@ -691,7 +692,7 @@ const _default: {
691
692
  };
692
693
  export default _default;
693
694
  //# sourceMappingURL=Table.d.ts.map
694
- };
695
+ }
695
696
 
696
697
  declare module '@ably/ui/core/Tooltip' {
697
698
  import { ButtonHTMLAttributes, HTMLAttributes, PropsWithChildren } from "react";
@@ -702,23 +703,23 @@ type TooltipProps = {
702
703
  const Tooltip: ({ children, triggerProps, tooltipProps, ...rest }: PropsWithChildren<TooltipProps>) => import("react/jsx-runtime").JSX.Element;
703
704
  export default Tooltip;
704
705
  //# sourceMappingURL=Tooltip.d.ts.map
705
- };
706
+ }
706
707
 
707
708
  declare module '@ably/ui/core/css' {
708
709
  export function remsToPixelValue(remString: any): number;
709
710
  //# sourceMappingURL=css.d.ts.map
710
- };
711
+ }
711
712
 
712
713
  declare module '@ably/ui/core/dom-query' {
713
714
  export function queryId(val: any, root?: Document): Element | null;
714
715
  export function queryIdAll(val: any, root?: Document): NodeListOf<Element>;
715
716
  //# sourceMappingURL=dom-query.d.ts.map
716
- };
717
+ }
717
718
 
718
719
  declare module '@ably/ui/core/hubspot-chat-toggle' {
719
720
  export default function toggleChatWidget(params: any): (() => void) | undefined;
720
721
  //# sourceMappingURL=hubspot-chat-toggle.d.ts.map
721
- };
722
+ }
722
723
 
723
724
  declare module '@ably/ui/core/remote-blogs-posts' {
724
725
  export function fetchBlogPosts(store: any, blogUrl: any): Promise<void>;
@@ -731,7 +732,7 @@ export namespace reducerBlogPosts {
731
732
  }
732
733
  export function selectRecentBlogPosts(store: any): any;
733
734
  //# sourceMappingURL=remote-blogs-posts.d.ts.map
734
- };
735
+ }
735
736
 
736
737
  declare module '@ably/ui/core/remote-data-store' {
737
738
  export function attachStoreToWindow(store: any): void;
@@ -739,12 +740,12 @@ export function getRemoteDataStore(): any;
739
740
  export function connectState(selector: any, setState: any): void;
740
741
  export function createRemoteDataStore(reducers: any): any;
741
742
  //# sourceMappingURL=remote-data-store.d.ts.map
742
- };
743
+ }
743
744
 
744
745
  declare module '@ably/ui/core/remote-data-util' {
745
746
  export function isJsonResponse(contentType: any): any;
746
747
  //# sourceMappingURL=remote-data-util.d.ts.map
747
- };
748
+ }
748
749
 
749
750
  declare module '@ably/ui/core/remote-session-data' {
750
751
  export function fetchSessionData(store: any, sessionUrl: any): Promise<void>;
@@ -757,13 +758,13 @@ export namespace reducerSessionData {
757
758
  }
758
759
  export function selectSessionData(store: any): any;
759
760
  //# sourceMappingURL=remote-session-data.d.ts.map
760
- };
761
+ }
761
762
 
762
763
  declare module '@ably/ui/core/url-base' {
763
764
  export default absUrl;
764
765
  function absUrl(path: any, urlBase?: string): string;
765
766
  //# sourceMappingURL=url-base.d.ts.map
766
- };
767
+ }
767
768
 
768
769
  declare module '@ably/ui/core/utils/syntax-highlighter-registry' {
769
770
  export default registry;
@@ -773,12 +774,12 @@ const registry: {
773
774
  module: any;
774
775
  }[];
775
776
  //# sourceMappingURL=syntax-highlighter-registry.d.ts.map
776
- };
777
+ }
777
778
 
778
779
  declare module '@ably/ui/core/utils/syntax-highlighter' {
779
780
  export function highlightSnippet(languageKeyword: any, snippet: any): string | undefined;
780
781
  export function languageToHighlightKey(lang: any): any;
781
782
  export function registerDefaultLanguages(register: any): void;
782
783
  //# sourceMappingURL=syntax-highlighter.d.ts.map
783
- };
784
+ }
784
785
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ably/ui",
3
- "version": "14.4.0-dev.49f3533",
3
+ "version": "14.4.0",
4
4
  "description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,19 +12,19 @@
12
12
  "reset",
13
13
  "tailwind.config.js",
14
14
  "tailwind.extend.js",
15
- "types"
15
+ "index.d.ts"
16
16
  ],
17
- "types": "types/index.d.ts",
17
+ "types": "index.d.ts",
18
18
  "devDependencies": {
19
19
  "@storybook/addon-a11y": "^8.2.9",
20
20
  "@storybook/addon-essentials": "^8.2.9",
21
21
  "@storybook/addon-interactions": "^8.2.9",
22
22
  "@storybook/addon-links": "^8.2.9",
23
23
  "@storybook/blocks": "^8.2.9",
24
- "@storybook/react": "^8.2.9",
25
24
  "@storybook/react-vite": "^8.2.9",
26
- "@storybook/test": "^8.2.9",
25
+ "@storybook/react": "^8.2.9",
27
26
  "@storybook/test-runner": "^0.19.1",
27
+ "@storybook/test": "^8.2.9",
28
28
  "@swc/cli": "^0.4.0",
29
29
  "@swc/core": "^1.4.11",
30
30
  "@types/dompurify": "^3.0.5",
@@ -34,13 +34,13 @@
34
34
  "@typescript-eslint/parser": "^6.21.0",
35
35
  "@vitejs/plugin-react": "^4.2.1",
36
36
  "autoprefixer": "^10.0.2",
37
- "eslint": "^8.57.0",
38
37
  "eslint-config-prettier": "^9.1.0",
39
38
  "eslint-plugin-react": "^7.34.3",
40
39
  "eslint-plugin-storybook": "^0.8.0",
40
+ "eslint": "^8.57.0",
41
41
  "http-server": "14.1.1",
42
- "msw": "2.3.5",
43
42
  "msw-storybook-addon": "^2.0.2",
43
+ "msw": "2.3.5",
44
44
  "prettier": "^3.2.5",
45
45
  "storybook": "^8.2.9",
46
46
  "svg-sprite": "^2.0.4",
@@ -51,7 +51,7 @@
51
51
  "scripts": {
52
52
  "build:prebuild": "rm -rf core reset",
53
53
  "build:swc": "swc src/core src/reset -d dist --copy-files --include-dotfiles --strip-leading-paths --config-file .swc --ignore **/*.stories.tsx,**/*.snap",
54
- "build:tsc": "rm -rf types && tsc && node tsc.js",
54
+ "build:tsc": "tsc && node tsc.js && rm -r types",
55
55
  "build:cleanup": "mv dist/* . && rm -r dist",
56
56
  "build": "yarn build:prebuild && yarn build:swc && node sprites.js && yarn build:tsc && yarn build:cleanup",
57
57
  "watch": "yarn build:swc -w",
package/core/.DS_Store DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,17 +0,0 @@
1
- import { ReactNode } from "react";
2
- type AccordionData = {
3
- name: string;
4
- content: ReactNode;
5
- };
6
- export type AccordionProps = {
7
- data: AccordionData[];
8
- arrowIcon?: boolean;
9
- topBorder?: boolean;
10
- bottomBorder?: boolean;
11
- id?: string;
12
- autoClose?: boolean;
13
- className?: string;
14
- };
15
- declare const Accordion: ({ data, id, topBorder, bottomBorder, arrowIcon, autoClose, className, }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
16
- export default Accordion;
17
- //# sourceMappingURL=Accordion.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../src/core/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAY,SAAS,EAAO,MAAM,OAAO,CAAC;AAGxD,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,SAAS,CAAC;CACpB,CAAC;AAcF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,aAAa,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAwEF,QAAA,MAAM,SAAS,4EAQZ,cAAc,4CAsChB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,10 +0,0 @@
1
- type CodeProps = {
2
- language: string;
3
- snippet: string;
4
- textSize?: string;
5
- padding?: string;
6
- additionalCSS?: string;
7
- };
8
- declare const Code: ({ language, snippet, textSize, padding, additionalCSS, }: CodeProps) => import("react/jsx-runtime").JSX.Element;
9
- export default Code;
10
- //# sourceMappingURL=Code.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Code.d.ts","sourceRoot":"","sources":["../../src/core/Code.tsx"],"names":[],"mappings":"AAUA,KAAK,SAAS,GAAG;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,QAAA,MAAM,IAAI,6DAMP,SAAS,4CAiBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,3 +0,0 @@
1
- declare const ConnectStateWrapper: (Component: any, selectors: any) => (props: any) => import("react/jsx-runtime").JSX.Element;
2
- export default ConnectStateWrapper;
3
- //# sourceMappingURL=ConnectStateWrapper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConnectStateWrapper.d.ts","sourceRoot":"","sources":["../../src/core/ConnectStateWrapper.tsx"],"names":[],"mappings":"AAeA,QAAA,MAAM,mBAAmB,cAAe,GAAG,aAAa,GAAG,aAyBxB,GAAG,4CAGrC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}