@intlayer/design-system 9.3.2 → 9.4.0-canary.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 (187) hide show
  1. package/README.md +1 -1
  2. package/dist/esm/api/hooks/analytics.mjs +6 -5
  3. package/dist/esm/api/hooks/analytics.mjs.map +1 -1
  4. package/dist/esm/api/hooks/auth.mjs +2 -0
  5. package/dist/esm/api/hooks/auth.mjs.map +1 -1
  6. package/dist/esm/api/index.mjs +2 -2
  7. package/dist/esm/api/useAuth/useOAuth2.mjs +1 -1
  8. package/dist/esm/api/useAuth/useSession.mjs +1 -1
  9. package/dist/esm/components/Accordion/Accordion.mjs +2 -2
  10. package/dist/esm/components/Accordion/Accordion.mjs.map +1 -1
  11. package/dist/esm/components/Browser/Browser.mjs +1 -1
  12. package/dist/esm/components/Browser/Browser.mjs.map +1 -1
  13. package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +1 -1
  14. package/dist/esm/components/CopyButton/index.mjs +2 -1
  15. package/dist/esm/components/CopyButton/index.mjs.map +1 -1
  16. package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs +4 -5
  17. package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs.map +1 -1
  18. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +6 -10
  19. package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
  20. package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +1 -1
  21. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +6 -6
  22. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
  23. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +3 -7
  24. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
  25. package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +1 -1
  26. package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +2 -2
  27. package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +1 -1
  28. package/dist/esm/components/ExpandCollapse/ExpandCollapse.mjs +19 -12
  29. package/dist/esm/components/ExpandCollapse/ExpandCollapse.mjs.map +1 -1
  30. package/dist/esm/components/Form/elements/OTPElement.mjs +4 -4
  31. package/dist/esm/components/Form/elements/OTPElement.mjs.map +1 -1
  32. package/dist/esm/components/HTMLRender/HTMLRender.mjs +2 -2
  33. package/dist/esm/components/HTMLRender/HTMLRender.mjs.map +1 -1
  34. package/dist/esm/components/IDE/Code.mjs +3 -3
  35. package/dist/esm/components/IDE/Code.mjs.map +1 -1
  36. package/dist/esm/components/IDE/CodeBlockClient.mjs +16 -4
  37. package/dist/esm/components/IDE/CodeBlockClient.mjs.map +1 -1
  38. package/dist/esm/components/IDE/CodeBlockHighlight.mjs +14 -5
  39. package/dist/esm/components/IDE/CodeBlockHighlight.mjs.map +1 -1
  40. package/dist/esm/components/IDE/CodeBlockServer.mjs +5 -3
  41. package/dist/esm/components/IDE/CodeBlockServer.mjs.map +1 -1
  42. package/dist/esm/components/IDE/CodeBlockShiki.mjs +18 -18
  43. package/dist/esm/components/IDE/CodeBlockShiki.mjs.map +1 -1
  44. package/dist/esm/components/IDE/IDE.mjs +2 -5
  45. package/dist/esm/components/IDE/IDE.mjs.map +1 -1
  46. package/dist/esm/components/IDE/MarkDownRender.mjs +1 -2
  47. package/dist/esm/components/IDE/MarkDownRender.mjs.map +1 -1
  48. package/dist/esm/components/IDE/index.mjs +2 -2
  49. package/dist/esm/components/IDE/shikiThemes.mjs +18 -0
  50. package/dist/esm/components/IDE/shikiThemes.mjs.map +1 -0
  51. package/dist/esm/components/Link/Link.mjs +10 -5
  52. package/dist/esm/components/Link/Link.mjs.map +1 -1
  53. package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +1 -1
  54. package/dist/esm/components/MarkDownRender/MarkDownIframe.mjs +105 -4
  55. package/dist/esm/components/MarkDownRender/MarkDownIframe.mjs.map +1 -1
  56. package/dist/esm/components/MarkDownRender/MarkDownRender.mjs +16 -16
  57. package/dist/esm/components/MarkDownRender/MarkDownRender.mjs.map +1 -1
  58. package/dist/esm/components/MaxHeightSmoother/index.mjs +1 -1
  59. package/dist/esm/components/MaxHeightSmoother/index.mjs.map +1 -1
  60. package/dist/esm/components/MaxWidthSmoother/index.mjs +1 -1
  61. package/dist/esm/components/MaxWidthSmoother/index.mjs.map +1 -1
  62. package/dist/esm/components/Modal/Modal.mjs +2 -2
  63. package/dist/esm/components/Navbar/MobileNavbar.mjs +1 -1
  64. package/dist/esm/components/Pagination/Pagination.mjs +4 -4
  65. package/dist/esm/components/Pagination/Pagination.mjs.map +1 -1
  66. package/dist/esm/components/Pattern/GridDistortionPattern.mjs +103 -17
  67. package/dist/esm/components/Pattern/GridDistortionPattern.mjs.map +1 -1
  68. package/dist/esm/components/Popover/dynamic.mjs +73 -28
  69. package/dist/esm/components/Popover/dynamic.mjs.map +1 -1
  70. package/dist/esm/components/Popover/index.mjs +2 -2
  71. package/dist/esm/components/Popover/static.mjs +47 -18
  72. package/dist/esm/components/Popover/static.mjs.map +1 -1
  73. package/dist/esm/components/RightDrawer/RightDrawer.mjs +5 -4
  74. package/dist/esm/components/RightDrawer/RightDrawer.mjs.map +1 -1
  75. package/dist/esm/components/SwitchSelector/useSwitchSelector.mjs +2 -2
  76. package/dist/esm/components/SwitchSelector/useSwitchSelector.mjs.map +1 -1
  77. package/dist/esm/components/Tab/Tab.mjs +38 -17
  78. package/dist/esm/components/Tab/Tab.mjs.map +1 -1
  79. package/dist/esm/components/TabSelector/TabSelector.mjs +2 -2
  80. package/dist/esm/components/TabSelector/TabSelector.mjs.map +1 -1
  81. package/dist/esm/components/TextArea/AutoSizeTextArea.mjs +3 -2
  82. package/dist/esm/components/TextArea/AutoSizeTextArea.mjs.map +1 -1
  83. package/dist/esm/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs +10 -18
  84. package/dist/esm/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs.map +1 -1
  85. package/dist/esm/components/ThemeSwitcherDropDown/MobileThemeSwitcher.mjs +14 -13
  86. package/dist/esm/components/ThemeSwitcherDropDown/MobileThemeSwitcher.mjs.map +1 -1
  87. package/dist/esm/components/index.mjs +3 -3
  88. package/dist/esm/hooks/index.mjs +9 -9
  89. package/dist/esm/hooks/useDevice.mjs +16 -6
  90. package/dist/esm/hooks/useDevice.mjs.map +1 -1
  91. package/dist/esm/hooks/useItemSelector.mjs +110 -112
  92. package/dist/esm/hooks/useItemSelector.mjs.map +1 -1
  93. package/dist/esm/hooks/useScrollY.mjs +64 -45
  94. package/dist/esm/hooks/useScrollY.mjs.map +1 -1
  95. package/dist/esm/hooks/useStickToBottom.mjs +69 -0
  96. package/dist/esm/hooks/useStickToBottom.mjs.map +1 -0
  97. package/dist/esm/libs/auth.mjs +16 -3
  98. package/dist/esm/libs/auth.mjs.map +1 -1
  99. package/dist/esm/providers/ThemeProvider.mjs +143 -0
  100. package/dist/esm/providers/ThemeProvider.mjs.map +1 -0
  101. package/dist/esm/providers/index.mjs +2 -1
  102. package/dist/esm/routes.mjs +2 -1
  103. package/dist/esm/routes.mjs.map +1 -1
  104. package/dist/esm/structured-data/buildCreativeWorkJsonLd.mjs +1 -1
  105. package/dist/esm/structured-data/buildCreativeWorkJsonLd.mjs.map +1 -1
  106. package/dist/esm/utils/index.mjs +3 -1
  107. package/dist/esm/utils/observeScrollExtent.mjs +39 -0
  108. package/dist/esm/utils/observeScrollExtent.mjs.map +1 -0
  109. package/dist/esm/utils/scheduleFrameTask.mjs +44 -0
  110. package/dist/esm/utils/scheduleFrameTask.mjs.map +1 -0
  111. package/dist/types/api/hooks/analytics.d.ts +5 -3
  112. package/dist/types/api/hooks/analytics.d.ts.map +1 -1
  113. package/dist/types/api/hooks/auth.d.ts.map +1 -1
  114. package/dist/types/components/Browser/Browser.d.ts +7 -1
  115. package/dist/types/components/Browser/Browser.d.ts.map +1 -1
  116. package/dist/types/components/CopyButton/index.d.ts +9 -3
  117. package/dist/types/components/CopyButton/index.d.ts.map +1 -1
  118. package/dist/types/components/DictionaryFieldEditor/ContentEditor.d.ts +0 -1
  119. package/dist/types/components/DictionaryFieldEditor/ContentEditor.d.ts.map +1 -1
  120. package/dist/types/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts +0 -1
  121. package/dist/types/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
  122. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts +0 -1
  123. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -1
  124. package/dist/types/components/ExpandCollapse/ExpandCollapse.d.ts.map +1 -1
  125. package/dist/types/components/HTMLRender/HTMLRender.d.ts +1 -2
  126. package/dist/types/components/HTMLRender/HTMLRender.d.ts.map +1 -1
  127. package/dist/types/components/IDE/Code.d.ts +6 -1
  128. package/dist/types/components/IDE/Code.d.ts.map +1 -1
  129. package/dist/types/components/IDE/CodeBlockClient.d.ts +18 -2
  130. package/dist/types/components/IDE/CodeBlockClient.d.ts.map +1 -1
  131. package/dist/types/components/IDE/CodeBlockHighlight.d.ts +3 -2
  132. package/dist/types/components/IDE/CodeBlockHighlight.d.ts.map +1 -1
  133. package/dist/types/components/IDE/CodeBlockServer.d.ts +0 -1
  134. package/dist/types/components/IDE/CodeBlockServer.d.ts.map +1 -1
  135. package/dist/types/components/IDE/CodeBlockShiki.d.ts +0 -1
  136. package/dist/types/components/IDE/CodeBlockShiki.d.ts.map +1 -1
  137. package/dist/types/components/IDE/IDE.d.ts +0 -1
  138. package/dist/types/components/IDE/IDE.d.ts.map +1 -1
  139. package/dist/types/components/IDE/MarkDownRender.d.ts +0 -1
  140. package/dist/types/components/IDE/MarkDownRender.d.ts.map +1 -1
  141. package/dist/types/components/IDE/index.d.ts +2 -2
  142. package/dist/types/components/IDE/shikiThemes.d.ts +18 -0
  143. package/dist/types/components/IDE/shikiThemes.d.ts.map +1 -0
  144. package/dist/types/components/MarkDownRender/MarkDownIframe.d.ts.map +1 -1
  145. package/dist/types/components/MarkDownRender/MarkDownRender.d.ts +1 -2
  146. package/dist/types/components/MarkDownRender/MarkDownRender.d.ts.map +1 -1
  147. package/dist/types/components/Pattern/GridDistortionPattern.d.ts.map +1 -1
  148. package/dist/types/components/Popover/dynamic.d.ts.map +1 -1
  149. package/dist/types/components/Popover/index.d.ts +2 -2
  150. package/dist/types/components/Popover/static.d.ts +6 -1
  151. package/dist/types/components/Popover/static.d.ts.map +1 -1
  152. package/dist/types/components/Tab/Tab.d.ts +2 -2
  153. package/dist/types/components/Tab/Tab.d.ts.map +1 -1
  154. package/dist/types/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.d.ts +1 -1
  155. package/dist/types/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.d.ts.map +1 -1
  156. package/dist/types/components/ThemeSwitcherDropDown/MobileThemeSwitcher.d.ts +1 -1
  157. package/dist/types/components/ThemeSwitcherDropDown/MobileThemeSwitcher.d.ts.map +1 -1
  158. package/dist/types/components/ThemeSwitcherDropDown/types.d.ts +3 -1
  159. package/dist/types/components/ThemeSwitcherDropDown/types.d.ts.map +1 -1
  160. package/dist/types/components/index.d.ts +3 -3
  161. package/dist/types/hooks/index.d.ts +2 -2
  162. package/dist/types/hooks/useItemSelector.d.ts +2 -0
  163. package/dist/types/hooks/useItemSelector.d.ts.map +1 -1
  164. package/dist/types/hooks/useScrollY.d.ts +10 -0
  165. package/dist/types/hooks/useScrollY.d.ts.map +1 -1
  166. package/dist/types/hooks/useStickToBottom.d.ts +41 -0
  167. package/dist/types/hooks/useStickToBottom.d.ts.map +1 -0
  168. package/dist/types/libs/auth.d.ts +3 -0
  169. package/dist/types/libs/auth.d.ts.map +1 -1
  170. package/dist/types/providers/ThemeProvider.d.ts +41 -0
  171. package/dist/types/providers/ThemeProvider.d.ts.map +1 -0
  172. package/dist/types/providers/index.d.ts +2 -1
  173. package/dist/types/routes.d.ts +2 -1
  174. package/dist/types/routes.d.ts.map +1 -1
  175. package/dist/types/structured-data/buildCreativeWorkJsonLd.d.ts +9 -3
  176. package/dist/types/structured-data/buildCreativeWorkJsonLd.d.ts.map +1 -1
  177. package/dist/types/utils/index.d.ts +3 -1
  178. package/dist/types/utils/observeScrollExtent.d.ts +22 -0
  179. package/dist/types/utils/observeScrollExtent.d.ts.map +1 -0
  180. package/dist/types/utils/scheduleFrameTask.d.ts +25 -0
  181. package/dist/types/utils/scheduleFrameTask.d.ts.map +1 -0
  182. package/package.json +46 -41
  183. package/tailwind.css +27 -1
  184. package/dist/esm/hooks/useIsDarkMode.mjs +0 -17
  185. package/dist/esm/hooks/useIsDarkMode.mjs.map +0 -1
  186. package/dist/types/hooks/useIsDarkMode.d.ts +0 -5
  187. package/dist/types/hooks/useIsDarkMode.d.ts.map +0 -1
@@ -7,6 +7,16 @@ type UseScrollYResult = {
7
7
  scrollPercentage: number;
8
8
  scrollYMax: number;
9
9
  };
10
+ /**
11
+ * Tracks the vertical scroll of an element — or of the page — as a position and
12
+ * a 0-to-1 progress.
13
+ *
14
+ * @param props.element - Scrollable element. Defaults to the document.
15
+ * @returns The current offset, its maximum, and the ratio between the two.
16
+ *
17
+ * @example
18
+ * const { scrollPercentage } = useScrollY({ element: contentElement });
19
+ */
10
20
  declare const useScrollY: (props?: UseScrollYProps) => UseScrollYResult;
11
21
  //#endregion
12
22
  export { useScrollY };
@@ -1 +1 @@
1
- {"version":3,"file":"useScrollY.d.ts","names":[],"sources":["../../../src/hooks/useScrollY.ts"],"mappings":";KAKK;EACH,UAAU;;KAGP;EACH;EACA;EACA;;cAWW,aAAU,QAAY,oBAAkB"}
1
+ {"version":3,"file":"useScrollY.d.ts","names":[],"sources":["../../../src/hooks/useScrollY.ts"],"mappings":";KAOK;EACH,UAAU;;KAGP;EACH;EACA;EACA;;;;;;;;;;;;cAmBW,aAAU,QAAY,oBAAkB"}
@@ -0,0 +1,41 @@
1
+ import { RefObject } from "react";
2
+ //#region src/hooks/useStickToBottom.d.ts
3
+ type StickToBottomRefs<ScrollElement extends HTMLElement, ContentElement extends HTMLElement> = {
4
+ /** Attach to the scrolling container. */
5
+ scrollRef: RefObject<ScrollElement | null>;
6
+ /** Attach to the element wrapping the items, whose growth triggers the follow. */
7
+ contentRef: RefObject<ContentElement | null>;
8
+ /**
9
+ * Releases the pin until the user scrolls back down to the bottom.
10
+ *
11
+ * Call it before growing the content upwards — prepending older items to a
12
+ * pinned list would otherwise scroll straight past what was just revealed.
13
+ */
14
+ unpin: () => void;
15
+ };
16
+ /**
17
+ * Keeps a scrolling container pinned to its bottom edge as its content grows,
18
+ * and releases the pin as soon as the user scrolls away from the bottom.
19
+ *
20
+ * Growth is detected with a `ResizeObserver` rather than from a render effect,
21
+ * so a message streaming in token by token follows without the component
22
+ * having to describe what changed. Both the read and the write happen inside
23
+ * the observer callback, which the browser runs once layout is already
24
+ * computed — neither forces a reflow, unlike measuring the same container from
25
+ * an effect that has just committed new nodes.
26
+ *
27
+ * @returns The refs to attach to the container and to its content wrapper.
28
+ *
29
+ * @example
30
+ * const { scrollRef, contentRef } = useStickToBottom<HTMLDivElement, HTMLUListElement>();
31
+ *
32
+ * return (
33
+ * <div ref={scrollRef} className="overflow-auto">
34
+ * <ul ref={contentRef}>{items}</ul>
35
+ * </div>
36
+ * );
37
+ */
38
+ declare const useStickToBottom: <ScrollElement extends HTMLElement, ContentElement extends HTMLElement>() => StickToBottomRefs<ScrollElement, ContentElement>;
39
+ //#endregion
40
+ export { StickToBottomRefs, useStickToBottom };
41
+ //# sourceMappingURL=useStickToBottom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStickToBottom.d.ts","names":[],"sources":["../../../src/hooks/useStickToBottom.ts"],"mappings":";;KAWY,kBACV,sBAAsB,aACtB,uBAAuB;;EAGvB,WAAW,UAAU;;EAErB,YAAY,UAAU;;;;;;;EAOtB;;;;;;;;;;;;;;;;;;;;;;;;cAyBW,mBACX,sBAAsB,aACtB,uBAAuB,kBACpB,kBAAkB,eAAe"}
@@ -46,6 +46,9 @@ interface AuthAPI {
46
46
  providerId: string;
47
47
  }) => Promise<any>;
48
48
  signInSSO: AuthClient['signIn']['sso'];
49
+ listDeviceSessions: AuthClient['multiSession']['listDeviceSessions'];
50
+ setActiveSession: AuthClient['multiSession']['setActive'];
51
+ revokeDeviceSession: AuthClient['multiSession']['revoke'];
49
52
  }
50
53
  declare const getAuthAPI: (intlayerConfig?: Pick<IntlayerConfig, 'editor'>) => AuthAPI;
51
54
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","names":[],"sources":["../../../src/libs/auth.ts"],"mappings":";;cAQM,gBAAa;KAsBd,aAAa,kBAAkB;UAEnB;EACf,qBAAqB;EACrB,aAAa;EACb,aAAa;EACb,SAAS;EACT,cAAc;EACd,YAAY;EACZ,uBAAuB;EACvB,6BAA6B;EAC7B,eAAe;EACf,oBAAoB;EACpB,YAAY;EACZ,gBAAgB;EAChB,uBAAuB;EACvB,aAAa;EACb,YAAY;EACZ,eAAe;EACf,gBAAgB;EAChB,qBAAqB;EACrB,cAAc;EACd,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,aAAa;EACb,YAAY;EACZ,cAAc;EACd,iBAAiB;EACjB,kBAAkB;EAClB,YAAY;EACZ,kBAAkB;EAClB,YAAY;EACZ,eAAe;EACf,eAAe;EACf,oBAAoB;EACpB,kBAEE;IAAS;IAAe;;EAE1B,aAAa;EACb,wBAAwB;EACxB,oBAAoB;IAAQ;QAAyB;EACrD,WAAW;;cAGA,aAAU,iBACJ,KAAK,8BACrB"}
1
+ {"version":3,"file":"auth.d.ts","names":[],"sources":["../../../src/libs/auth.ts"],"mappings":";;cAYM,gBAAa;KAuBd,aAAa,kBAAkB;UAEnB;EACf,qBAAqB;EACrB,aAAa;EACb,aAAa;EACb,SAAS;EACT,cAAc;EACd,YAAY;EACZ,uBAAuB;EACvB,6BAA6B;EAC7B,eAAe;EACf,oBAAoB;EACpB,YAAY;EACZ,gBAAgB;EAChB,uBAAuB;EACvB,aAAa;EACb,YAAY;EACZ,eAAe;EACf,gBAAgB;EAChB,qBAAqB;EACrB,cAAc;EACd,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,aAAa;EACb,YAAY;EACZ,cAAc;EACd,iBAAiB;EACjB,kBAAkB;EAClB,YAAY;EACZ,kBAAkB;EAClB,YAAY;EACZ,eAAe;EACf,eAAe;EACf,oBAAoB;EACpB,kBAEE;IAAS;IAAe;;EAE1B,aAAa;EACb,wBAAwB;EACxB,oBAAoB;IAAQ;QAAyB;EACrD,WAAW;EACX,oBAAoB;EACpB,kBAAkB;EAClB,qBAAqB;;cAGV,aAAU,iBACJ,KAAK,8BACrB"}
@@ -0,0 +1,41 @@
1
+ import { FC, PropsWithChildren } from "react";
2
+ //#region src/providers/ThemeProvider.d.ts
3
+ /** Theme actually painted — the OS preference once `system` is resolved. */
4
+ type ResolvedTheme = 'light' | 'dark';
5
+ /** Theme stored as the user preference. `system` follows the OS setting. */
6
+ type Theme = ResolvedTheme | 'system';
7
+ type ThemeContextValue = {
8
+ /** Persisted preference — `system` while following the OS. */
9
+ theme: Theme;
10
+ /** Theme applied to `<html>`. `undefined` until the client resolves it. */
11
+ resolvedTheme: ResolvedTheme | undefined;
12
+ /** Persists a preference and applies it. */
13
+ setTheme: (theme: Theme) => void;
14
+ };
15
+ /**
16
+ * Reads and updates the current theme.
17
+ *
18
+ * @example
19
+ * ```tsx
20
+ * const { resolvedTheme, setTheme } = useTheme();
21
+ * ```
22
+ */
23
+ declare const useTheme: () => ThemeContextValue;
24
+ type ThemeProviderProps = {
25
+ /** `localStorage` key holding the preference. Defaults to `theme`. */
26
+ storageKey?: string;
27
+ /** CSP nonce, required when the page forbids unsafe inline scripts. */
28
+ nonce?: string;
29
+ };
30
+ /**
31
+ * Applies the persisted theme to `<html>` before the first paint, keeps it in
32
+ * sync with the OS preference and with the other tabs, and exposes it through
33
+ * {@link useTheme}.
34
+ *
35
+ * Nested providers pass through, so a layout can mount one without fighting an
36
+ * outer provider over the `<html>` attribute.
37
+ */
38
+ declare const ThemeProvider: FC<PropsWithChildren<ThemeProviderProps>>;
39
+ //#endregion
40
+ export { ResolvedTheme, Theme, ThemeProvider, ThemeProviderProps, useTheme };
41
+ //# sourceMappingURL=ThemeProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeProvider.d.ts","names":[],"sources":["../../../src/providers/ThemeProvider.tsx"],"mappings":";;;KAeY;;KAGA,QAAQ;KA6Ff;;EAEH,OAAO;;EAEP,eAAe;;EAEf,WAAW,OAAO;;;;;;;;;;cAoBP,gBAAe;KAGhB;;EAEV;;EAEA;;;;;;;;;;cAoGW,eAAe,GAAG,kBAAkB"}
@@ -1,4 +1,5 @@
1
+ import { ResolvedTheme, Theme, ThemeProvider, ThemeProviderProps, useTheme } from "./ThemeProvider.js";
1
2
  import { DeferredAuthProvider, useIsAuthFetchEnabled } from "./DeferredAuthProvider.js";
2
3
  import { ReactQueryProvider, getQueryClient } from "./ReactQueryProvider.js";
3
4
  import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
4
- export { DeferredAuthProvider, ReactQueryDevtools, ReactQueryProvider, getQueryClient, useIsAuthFetchEnabled };
5
+ export { DeferredAuthProvider, ReactQueryDevtools, ReactQueryProvider, ResolvedTheme, Theme, ThemeProvider, ThemeProviderProps, getQueryClient, useIsAuthFetchEnabled, useTheme };
@@ -274,6 +274,7 @@ declare const Backend_OAuth2_Token: "https://back.intlayer.org/oauth2/token";
274
274
  declare const Mcp_Root: "https://mcp.intlayer.org";
275
275
  declare const Mcp_Sse: "https://mcp.intlayer.org/sse";
276
276
  declare const WellKnown_ApiCatalog_Path: '/.well-known/api-catalog';
277
+ declare const WellKnown_AiCatalog_Path: '/.well-known/ai-catalog.json';
277
278
  declare const WellKnown_OAuthProtectedResource_Path: '/.well-known/oauth-protected-resource';
278
279
  declare const WellKnown_OAuthAuthorizationServer_Path: '/.well-known/oauth-authorization-server';
279
280
  declare const WellKnown_McpServerCard_Path: '/.well-known/mcp/server-card.json';
@@ -299,5 +300,5 @@ declare const External_ExampleIntlayerWithViteAndPreact: 'https://github.com/aym
299
300
  declare const External_ExampleIntlayerWithReactNative: 'https://github.com/aymericzip/intlayer/tree/main/examples/react-native-app';
300
301
  declare const External_ExampleIntlayerWithExpress: 'https://github.com/aymericzip/intlayer/tree/main/examples/express-app';
301
302
  //#endregion
302
- export { App_Admin, App_Admin_Affiliate, App_Admin_Affiliate_Path, App_Admin_Dashboard, App_Admin_Dashboard_Path, App_Admin_Discussions, App_Admin_Discussions_Path, App_Admin_Management, App_Admin_Management_Path, App_Admin_Organizations, App_Admin_Organizations_Path, App_Admin_Path, App_Admin_Projects, App_Admin_Projects_Path, App_Admin_PromoCodes, App_Admin_PromoCodes_Path, App_Admin_Reviewers, App_Admin_Reviewers_Path, App_Admin_Users, App_Admin_Users_Path, App_Affiliation, App_Affiliation_Path, App_Auth_AskResetPassword, App_Auth_AskResetPassword_Path, App_Auth_ChangePassword, App_Auth_ChangePassword_Path, App_Auth_Demo_Path, App_Auth_ResetPassword, App_Auth_ResetPassword_Path, App_Auth_SignIn, App_Auth_SignIn_Path, App_Auth_SignUp, App_Auth_SignUp_Path, App_Auth_TwoFactor, App_Auth_TwoFactor_Path, App_Dashboard, App_Dashboard_Analytics, App_Dashboard_Analytics_Path, App_Dashboard_Assets_Path, App_Dashboard_Dictionaries, App_Dashboard_Dictionaries_Path, App_Dashboard_Editor, App_Dashboard_Editor_Path, App_Dashboard_IDE, App_Dashboard_IDE_Path, App_Dashboard_Organization, App_Dashboard_Organization_Path, App_Dashboard_Profile, App_Dashboard_Profile_Path, App_Dashboard_Projects, App_Dashboard_Projects_Path, App_Dashboard_Scanner, App_Dashboard_Scanner_Path, App_Dashboard_Tags, App_Dashboard_Tags_Path, App_Dashboard_Translate, App_Dashboard_Translate_Path, App_Demo, App_Demo_Path, App_Domain, App_Home_Path, App_Init_Path, App_NotFound_Path, App_Onboarding, App_Onboarding_Path, App_Pricing, App_Pricing_Path, App_ReviewerMarketplace, App_ReviewerMarketplace_Dashboard, App_ReviewerMarketplace_Dashboard_Mission_Path, App_ReviewerMarketplace_Dashboard_Path, App_ReviewerMarketplace_Path, App_ReviewerMarketplace_Reviewer_Path, AuthMd_Path, Backend_Domain, Backend_Health, Backend_OAuth2_Token, Backend_Root, Doc_Blog_Path, Doc_Blog_Root_Path, Doc_Blog_Search_Path, Doc_Blog_What_is_i18n_Path, Doc_CLI_Fill_Path, Doc_CLI_Review_Path, Doc_CLI_Translate_Path, Doc_Chat_Path, Doc_Contributors_Path, Doc_Environment_Adonis_Path, Doc_Environment_Angular_Path, Doc_Environment_Astro_Path, Doc_Environment_CRA_Path, Doc_Environment_Express_Path, Doc_Environment_Fastify_Path, Doc_Environment_Hono_Path, Doc_Environment_Lit_Path, Doc_Environment_Lynx_Path, Doc_Environment_NestJS_Path, Doc_Environment_NextJS_14_Path, Doc_Environment_NextJS_15_Path, Doc_Environment_NextJS_16_Path, Doc_Environment_NextJS_Path, Doc_Environment_Nodejs_Path, Doc_Environment_NuxtAndVue_Path, Doc_Environment_ReactNativeAndExpo_Path, Doc_Environment_Tanstack_Path, Doc_Environment_ViteAndPreact_Path, Doc_Environment_ViteAndReact_Path, Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path, Doc_Environment_ViteAndReact_ReactRouterV7_Path, Doc_Environment_ViteAndSolid_Path, Doc_Environment_ViteAndSvelte_Path, Doc_Environment_ViteAndVue_Path, Doc_FrequentQuestions_Path, Doc_IntlayerCMS_Path, Doc_IntlayerVisualEditor_Path, Doc_Intlayer_with_Lynx_and_React_Path, Doc_MCP_Path, Doc_Path, Doc_PrivacyPolicy_Path, Doc_ReleasesV6_Path, Doc_ReleasesV7_Path, Doc_ReleasesV8_Path, Doc_Root_Path, Doc_Search_Path, Doc_ShowcaseSubmit_Path, Doc_Showcase_Path, Doc_TermsOfService_Path, Doc_Why_Path, External_AI_Landing_Page, External_Discord, External_DockerHub_SelfHost, External_ExampleIntlayerWithExpress, External_ExampleIntlayerWithNextjs, External_ExampleIntlayerWithReactJS, External_ExampleIntlayerWithReactNative, External_ExampleIntlayerWithViteAndPreact, External_ExampleIntlayerWithViteAndReact, External_ExampleIntlayerWithViteAndSolid, External_ExampleIntlayerWithViteAndSvelte, External_ExampleIntlayerWithViteAndVue, External_Examples, External_Github, External_Github_i18n_benchmark, External_LinkedIn, External_ShowcaseApp, LlmsTxt_Path, Mcp_Domain, Mcp_Root, Mcp_Sse, Showcase_Domain, Showcase_Root, Showcase_Root_Path, Showcase_Submit, Showcase_Submit_Path, Website_Benchmark, Website_Benchmark_NextJS, Website_Benchmark_NextJS_Path, Website_Benchmark_Path, Website_Benchmark_Tanstack, Website_Benchmark_Tanstack_Path, Website_Blog, Website_Blog_Path, Website_Blog_Root, Website_Blog_Root_Path, Website_Blog_Search, Website_Blog_Search_Path, Website_Blog_What_is_i18n, Website_Blog_What_is_i18n_Path, Website_CMS, Website_CMS_Path, Website_Changelog, Website_Changelog_Path, Website_Contributors, Website_Contributors_Path, Website_Demo, Website_Demo_Path, Website_Doc, Website_Doc_CLI_Fill, Website_Doc_CLI_Fill_Path, Website_Doc_CLI_Review, Website_Doc_CLI_Review_Path, Website_Doc_CLI_Translate, Website_Doc_CLI_Translate_Path, Website_Doc_Chat, Website_Doc_Chat_Path, Website_Doc_Environment_Adonis, Website_Doc_Environment_Adonis_Path, Website_Doc_Environment_Angular, Website_Doc_Environment_Angular_Path, Website_Doc_Environment_Astro, Website_Doc_Environment_Astro_Path, Website_Doc_Environment_CRA, Website_Doc_Environment_CRA_Path, Website_Doc_Environment_Express, Website_Doc_Environment_Express_Path, Website_Doc_Environment_Fastify, Website_Doc_Environment_Fastify_Path, Website_Doc_Environment_Hono, Website_Doc_Environment_Hono_Path, Website_Doc_Environment_Lit, Website_Doc_Environment_Lit_Path, Website_Doc_Environment_Lynx, Website_Doc_Environment_Lynx_Path, Website_Doc_Environment_NestJS, Website_Doc_Environment_NestJS_Path, Website_Doc_Environment_NextJS, Website_Doc_Environment_NextJS_14, Website_Doc_Environment_NextJS_14_Path, Website_Doc_Environment_NextJS_15, Website_Doc_Environment_NextJS_15_Path, Website_Doc_Environment_NextJS_16, Website_Doc_Environment_NextJS_16_Path, Website_Doc_Environment_NextJS_Path, Website_Doc_Environment_Nodejs, Website_Doc_Environment_Nodejs_Path, Website_Doc_Environment_NuxtAndVue, Website_Doc_Environment_NuxtAndVue_Path, Website_Doc_Environment_ReactNativeAndExpo, Website_Doc_Environment_ReactNativeAndExpo_Path, Website_Doc_Environment_Tanstack, Website_Doc_Environment_Tanstack_Path, Website_Doc_Environment_ViteAndPreact, Website_Doc_Environment_ViteAndPreact_Path, Website_Doc_Environment_ViteAndReact, Website_Doc_Environment_ViteAndReact_Path, Website_Doc_Environment_ViteAndReact_ReactRouterV7, Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes, Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path, Website_Doc_Environment_ViteAndReact_ReactRouterV7_Path, Website_Doc_Environment_ViteAndSolid, Website_Doc_Environment_ViteAndSolid_Path, Website_Doc_Environment_ViteAndSvelte, Website_Doc_Environment_ViteAndSvelte_Path, Website_Doc_Environment_ViteAndVue, Website_Doc_Environment_ViteAndVue_Path, Website_Doc_IntlayerCMS, Website_Doc_IntlayerCMS_Path, Website_Doc_IntlayerVisualEditor, Website_Doc_IntlayerVisualEditor_Path, Website_Doc_Intlayer_with_Lynx_and_React, Website_Doc_Intlayer_with_Lynx_and_React_Path, Website_Doc_MCP, Website_Doc_MCP_Path, Website_Doc_Path, Website_Doc_Root, Website_Doc_Root_Path, Website_Doc_Search, Website_Doc_Search_Path, Website_Doc_SelfHosting, Website_Doc_SelfHosting_Path, Website_Doc_Why, Website_Doc_Why_Path, Website_Domain, Website_FrequentQuestions, Website_FrequentQuestions_Path, Website_Home, Website_Home_Path, Website_Markdown_Preview, Website_Markdown_Preview_Path, Website_NotFound, Website_NotFound_Path, Website_Playground, Website_Playground_Path, Website_PrivacyPolicy, Website_PrivacyPolicy_Path, Website_ReleasesV6, Website_ReleasesV6_Path, Website_ReleasesV7, Website_ReleasesV7_Path, Website_ReleasesV8, Website_ReleasesV8_Path, Website_ReleasesV9_Path, Website_Scanner, Website_Scanner_Path, Website_TMS, Website_TMS_Path, Website_TermsOfService, Website_TermsOfService_Path, Website_Translate, Website_Translate_Path, WellKnown_AgentSkillsIndex_Path, WellKnown_AgentSkills_Path, WellKnown_ApiCatalog_Path, WellKnown_McpServerCard_Path, WellKnown_OAuthAuthorizationServer_Path, WellKnown_OAuthProtectedResource_Path, getAppAdminAffiliateRoute, getAppAdminOrganizationAbsoluteRoute, getAppAdminOrganizationRoute, getAppAdminProjectAbsoluteRoute, getAppAdminProjectRoute, getAppAdminPromoCodeRoute, getAppAdminReviewerRoute, getAppAdminUserAbsoluteRoute, getAppAdminUserRoute, getAppOnboardingFlowAbsoluteRoute, getAppOnboardingFlowRoute, getAppReviewerMissionRoute, getAppReviewerProfileRoute };
303
+ export { App_Admin, App_Admin_Affiliate, App_Admin_Affiliate_Path, App_Admin_Dashboard, App_Admin_Dashboard_Path, App_Admin_Discussions, App_Admin_Discussions_Path, App_Admin_Management, App_Admin_Management_Path, App_Admin_Organizations, App_Admin_Organizations_Path, App_Admin_Path, App_Admin_Projects, App_Admin_Projects_Path, App_Admin_PromoCodes, App_Admin_PromoCodes_Path, App_Admin_Reviewers, App_Admin_Reviewers_Path, App_Admin_Users, App_Admin_Users_Path, App_Affiliation, App_Affiliation_Path, App_Auth_AskResetPassword, App_Auth_AskResetPassword_Path, App_Auth_ChangePassword, App_Auth_ChangePassword_Path, App_Auth_Demo_Path, App_Auth_ResetPassword, App_Auth_ResetPassword_Path, App_Auth_SignIn, App_Auth_SignIn_Path, App_Auth_SignUp, App_Auth_SignUp_Path, App_Auth_TwoFactor, App_Auth_TwoFactor_Path, App_Dashboard, App_Dashboard_Analytics, App_Dashboard_Analytics_Path, App_Dashboard_Assets_Path, App_Dashboard_Dictionaries, App_Dashboard_Dictionaries_Path, App_Dashboard_Editor, App_Dashboard_Editor_Path, App_Dashboard_IDE, App_Dashboard_IDE_Path, App_Dashboard_Organization, App_Dashboard_Organization_Path, App_Dashboard_Profile, App_Dashboard_Profile_Path, App_Dashboard_Projects, App_Dashboard_Projects_Path, App_Dashboard_Scanner, App_Dashboard_Scanner_Path, App_Dashboard_Tags, App_Dashboard_Tags_Path, App_Dashboard_Translate, App_Dashboard_Translate_Path, App_Demo, App_Demo_Path, App_Domain, App_Home_Path, App_Init_Path, App_NotFound_Path, App_Onboarding, App_Onboarding_Path, App_Pricing, App_Pricing_Path, App_ReviewerMarketplace, App_ReviewerMarketplace_Dashboard, App_ReviewerMarketplace_Dashboard_Mission_Path, App_ReviewerMarketplace_Dashboard_Path, App_ReviewerMarketplace_Path, App_ReviewerMarketplace_Reviewer_Path, AuthMd_Path, Backend_Domain, Backend_Health, Backend_OAuth2_Token, Backend_Root, Doc_Blog_Path, Doc_Blog_Root_Path, Doc_Blog_Search_Path, Doc_Blog_What_is_i18n_Path, Doc_CLI_Fill_Path, Doc_CLI_Review_Path, Doc_CLI_Translate_Path, Doc_Chat_Path, Doc_Contributors_Path, Doc_Environment_Adonis_Path, Doc_Environment_Angular_Path, Doc_Environment_Astro_Path, Doc_Environment_CRA_Path, Doc_Environment_Express_Path, Doc_Environment_Fastify_Path, Doc_Environment_Hono_Path, Doc_Environment_Lit_Path, Doc_Environment_Lynx_Path, Doc_Environment_NestJS_Path, Doc_Environment_NextJS_14_Path, Doc_Environment_NextJS_15_Path, Doc_Environment_NextJS_16_Path, Doc_Environment_NextJS_Path, Doc_Environment_Nodejs_Path, Doc_Environment_NuxtAndVue_Path, Doc_Environment_ReactNativeAndExpo_Path, Doc_Environment_Tanstack_Path, Doc_Environment_ViteAndPreact_Path, Doc_Environment_ViteAndReact_Path, Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path, Doc_Environment_ViteAndReact_ReactRouterV7_Path, Doc_Environment_ViteAndSolid_Path, Doc_Environment_ViteAndSvelte_Path, Doc_Environment_ViteAndVue_Path, Doc_FrequentQuestions_Path, Doc_IntlayerCMS_Path, Doc_IntlayerVisualEditor_Path, Doc_Intlayer_with_Lynx_and_React_Path, Doc_MCP_Path, Doc_Path, Doc_PrivacyPolicy_Path, Doc_ReleasesV6_Path, Doc_ReleasesV7_Path, Doc_ReleasesV8_Path, Doc_Root_Path, Doc_Search_Path, Doc_ShowcaseSubmit_Path, Doc_Showcase_Path, Doc_TermsOfService_Path, Doc_Why_Path, External_AI_Landing_Page, External_Discord, External_DockerHub_SelfHost, External_ExampleIntlayerWithExpress, External_ExampleIntlayerWithNextjs, External_ExampleIntlayerWithReactJS, External_ExampleIntlayerWithReactNative, External_ExampleIntlayerWithViteAndPreact, External_ExampleIntlayerWithViteAndReact, External_ExampleIntlayerWithViteAndSolid, External_ExampleIntlayerWithViteAndSvelte, External_ExampleIntlayerWithViteAndVue, External_Examples, External_Github, External_Github_i18n_benchmark, External_LinkedIn, External_ShowcaseApp, LlmsTxt_Path, Mcp_Domain, Mcp_Root, Mcp_Sse, Showcase_Domain, Showcase_Root, Showcase_Root_Path, Showcase_Submit, Showcase_Submit_Path, Website_Benchmark, Website_Benchmark_NextJS, Website_Benchmark_NextJS_Path, Website_Benchmark_Path, Website_Benchmark_Tanstack, Website_Benchmark_Tanstack_Path, Website_Blog, Website_Blog_Path, Website_Blog_Root, Website_Blog_Root_Path, Website_Blog_Search, Website_Blog_Search_Path, Website_Blog_What_is_i18n, Website_Blog_What_is_i18n_Path, Website_CMS, Website_CMS_Path, Website_Changelog, Website_Changelog_Path, Website_Contributors, Website_Contributors_Path, Website_Demo, Website_Demo_Path, Website_Doc, Website_Doc_CLI_Fill, Website_Doc_CLI_Fill_Path, Website_Doc_CLI_Review, Website_Doc_CLI_Review_Path, Website_Doc_CLI_Translate, Website_Doc_CLI_Translate_Path, Website_Doc_Chat, Website_Doc_Chat_Path, Website_Doc_Environment_Adonis, Website_Doc_Environment_Adonis_Path, Website_Doc_Environment_Angular, Website_Doc_Environment_Angular_Path, Website_Doc_Environment_Astro, Website_Doc_Environment_Astro_Path, Website_Doc_Environment_CRA, Website_Doc_Environment_CRA_Path, Website_Doc_Environment_Express, Website_Doc_Environment_Express_Path, Website_Doc_Environment_Fastify, Website_Doc_Environment_Fastify_Path, Website_Doc_Environment_Hono, Website_Doc_Environment_Hono_Path, Website_Doc_Environment_Lit, Website_Doc_Environment_Lit_Path, Website_Doc_Environment_Lynx, Website_Doc_Environment_Lynx_Path, Website_Doc_Environment_NestJS, Website_Doc_Environment_NestJS_Path, Website_Doc_Environment_NextJS, Website_Doc_Environment_NextJS_14, Website_Doc_Environment_NextJS_14_Path, Website_Doc_Environment_NextJS_15, Website_Doc_Environment_NextJS_15_Path, Website_Doc_Environment_NextJS_16, Website_Doc_Environment_NextJS_16_Path, Website_Doc_Environment_NextJS_Path, Website_Doc_Environment_Nodejs, Website_Doc_Environment_Nodejs_Path, Website_Doc_Environment_NuxtAndVue, Website_Doc_Environment_NuxtAndVue_Path, Website_Doc_Environment_ReactNativeAndExpo, Website_Doc_Environment_ReactNativeAndExpo_Path, Website_Doc_Environment_Tanstack, Website_Doc_Environment_Tanstack_Path, Website_Doc_Environment_ViteAndPreact, Website_Doc_Environment_ViteAndPreact_Path, Website_Doc_Environment_ViteAndReact, Website_Doc_Environment_ViteAndReact_Path, Website_Doc_Environment_ViteAndReact_ReactRouterV7, Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes, Website_Doc_Environment_ViteAndReact_ReactRouterV7_FSRoutes_Path, Website_Doc_Environment_ViteAndReact_ReactRouterV7_Path, Website_Doc_Environment_ViteAndSolid, Website_Doc_Environment_ViteAndSolid_Path, Website_Doc_Environment_ViteAndSvelte, Website_Doc_Environment_ViteAndSvelte_Path, Website_Doc_Environment_ViteAndVue, Website_Doc_Environment_ViteAndVue_Path, Website_Doc_IntlayerCMS, Website_Doc_IntlayerCMS_Path, Website_Doc_IntlayerVisualEditor, Website_Doc_IntlayerVisualEditor_Path, Website_Doc_Intlayer_with_Lynx_and_React, Website_Doc_Intlayer_with_Lynx_and_React_Path, Website_Doc_MCP, Website_Doc_MCP_Path, Website_Doc_Path, Website_Doc_Root, Website_Doc_Root_Path, Website_Doc_Search, Website_Doc_Search_Path, Website_Doc_SelfHosting, Website_Doc_SelfHosting_Path, Website_Doc_Why, Website_Doc_Why_Path, Website_Domain, Website_FrequentQuestions, Website_FrequentQuestions_Path, Website_Home, Website_Home_Path, Website_Markdown_Preview, Website_Markdown_Preview_Path, Website_NotFound, Website_NotFound_Path, Website_Playground, Website_Playground_Path, Website_PrivacyPolicy, Website_PrivacyPolicy_Path, Website_ReleasesV6, Website_ReleasesV6_Path, Website_ReleasesV7, Website_ReleasesV7_Path, Website_ReleasesV8, Website_ReleasesV8_Path, Website_ReleasesV9_Path, Website_Scanner, Website_Scanner_Path, Website_TMS, Website_TMS_Path, Website_TermsOfService, Website_TermsOfService_Path, Website_Translate, Website_Translate_Path, WellKnown_AgentSkillsIndex_Path, WellKnown_AgentSkills_Path, WellKnown_AiCatalog_Path, WellKnown_ApiCatalog_Path, WellKnown_McpServerCard_Path, WellKnown_OAuthAuthorizationServer_Path, WellKnown_OAuthProtectedResource_Path, getAppAdminAffiliateRoute, getAppAdminOrganizationAbsoluteRoute, getAppAdminOrganizationRoute, getAppAdminProjectAbsoluteRoute, getAppAdminProjectRoute, getAppAdminPromoCodeRoute, getAppAdminReviewerRoute, getAppAdminUserAbsoluteRoute, getAppAdminUserRoute, getAppOnboardingFlowAbsoluteRoute, getAppOnboardingFlowRoute, getAppReviewerMissionRoute, getAppReviewerProfileRoute };
303
304
  //# sourceMappingURL=routes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","names":[],"sources":["../../src/routes.ts"],"mappings":";cAGa;cACA;cACA;cACA;cACA;cAKA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cACA;cAEA;cACA;cAEA;cAEA;cAGA,6BAA0B;cAE1B,6BAA0B;cAG1B;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA,4BAAyB;cAEzB;cACA,4BAAyB;cAGzB;cACA,2BAAwB;cAGxB;cAEA,uBAAoB;cAEpB,+BAA4B;cAE5B,0BAAuB;cAEvB,4BAAyB;cAMzB;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cACA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAGA,+BAA4B;cAE5B,uCAAoC;cAEpC,kCAA+B;cAE/B,oCAAiC,cAChC,cACA;cAUD;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cACA;cACA;cACA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cACA;cAEA;cAGA;cACA;cACA;cAGA;cAEA;cACA;cACA;cACA;cAGA;cACA;cACA;cACA;cAKA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAGA;cAGA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAMA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cAEA;cAEA;cAEA;cACA;cACA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cACA;cAEA;cACA;cACA;cACA;cACA;cAEA;cACA;cACA;cAEA;cAEA;cACA;cACA;cACA;cAGA;cACA;cACA;cACA;cACA;cACA;cAKA;cACA;cAKA;cACA;cAMA;cACA;cACA;cAMA;cACA;cAQA;cACA;cAEA;cAEA;cAEA;cACA;cAEA;cACA;cAKA;cAGA;cAGA;cAGA;cACA;cAEA;cACA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA"}
1
+ {"version":3,"file":"routes.d.ts","names":[],"sources":["../../src/routes.ts"],"mappings":";cAGa;cACA;cACA;cACA;cACA;cAKA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cACA;cAEA;cACA;cAEA;cAEA;cAGA,6BAA0B;cAE1B,6BAA0B;cAG1B;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA,4BAAyB;cAEzB;cACA,4BAAyB;cAGzB;cACA,2BAAwB;cAGxB;cAEA,uBAAoB;cAEpB,+BAA4B;cAE5B,0BAAuB;cAEvB,4BAAyB;cAMzB;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cACA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAGA,+BAA4B;cAE5B,uCAAoC;cAEpC,kCAA+B;cAE/B,oCAAiC,cAChC,cACA;cAUD;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cACA;cACA;cACA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cACA;cAEA;cAGA;cACA;cACA;cAGA;cAEA;cACA;cACA;cACA;cAGA;cACA;cACA;cACA;cAKA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAGA;cAGA;cAEA;cAEA;cAEA;cAGA;cAEA;cAEA;cAEA;cAMA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cAEA;cACA;cAEA;cAEA;cAEA;cAEA;cACA;cACA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cACA;cAEA;cACA;cACA;cACA;cACA;cAEA;cACA;cACA;cAEA;cAEA;cACA;cACA;cACA;cAGA;cACA;cACA;cACA;cACA;cACA;cAKA;cACA;cAKA;cACA;cAMA;cACA;cACA;cAMA;cACA;cAQA;cACA;cACA;cAEA;cAEA;cAEA;cACA;cAEA;cACA;cAKA;cAGA;cAGA;cAGA;cACA;cAEA;cACA;cACA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA;cAEA"}
@@ -13,8 +13,14 @@ type BuildCreativeWorkJsonLdParams = {
13
13
  type?: CreativeWorkType;
14
14
  name: string;
15
15
  description: string;
16
- /** Full text / markdown body of the document. */
17
- content: string;
16
+ /**
17
+ * Full text / markdown body of the document, emitted as `text`.
18
+ *
19
+ * Omit it for long documents: `text` duplicates the whole page inside the
20
+ * `<head>`, which is bytes every reader downloads and parses before the
21
+ * article itself can paint.
22
+ */
23
+ content?: string;
18
24
  keywords: string;
19
25
  datePublished?: Date;
20
26
  dateModified?: Date;
@@ -54,7 +60,7 @@ declare const buildCreativeWorkJsonLd: ({ type, name, description, content, keyw
54
60
  name: string;
55
61
  headline: string;
56
62
  image?: string;
57
- text: string;
63
+ text?: string;
58
64
  description: string;
59
65
  url: string;
60
66
  datePublished: string;
@@ -1 +1 @@
1
- {"version":3,"file":"buildCreativeWorkJsonLd.d.ts","names":[],"sources":["../../../src/structured-data/buildCreativeWorkJsonLd.ts"],"mappings":";;KAuBY;;KAQA;EACV;EACA;EACA;EACA;GACC;;KAGS;EACV,OAAO;EACP;EACA;;EAEA;EACA;EACA,gBAAgB;EAChB,eAAe;EACf;;EAEA,SAAS;;EAET;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;cASW,4BAAuB,MAAA,MAAA,aAAA,SAAA,UAAA,eAAA,cAAA,KAAA,QAAA,SAAA,cAAA,eAAA,kBAAA,cAejC;EACW;;;;;IAOJ;IACA;IACA;MACE;MACA;;;;;;;;;;;;;;;IAkBC"}
1
+ {"version":3,"file":"buildCreativeWorkJsonLd.d.ts","names":[],"sources":["../../../src/structured-data/buildCreativeWorkJsonLd.ts"],"mappings":";;KAsBY;;KAQA;EACV;EACA;EACA;EACA;GACC;;KAGS;EACV,OAAO;EACP;EACA;;;;;;;;EAQA;EACA;EACA,gBAAgB;EAChB,eAAe;EACf;;EAEA,SAAS;;EAET;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;cASW,4BAAuB,MAAA,MAAA,aAAA,SAAA,UAAA,eAAA,cAAA,KAAA,QAAA,SAAA,cAAA,eAAA,kBAAA,cAejC;EACW;;;;;IAOJ;IACA;IACA;MACE;MACA;;;;;;;;;;;;;;;IAkBC"}
@@ -1,2 +1,4 @@
1
1
  import { cn } from "./cn.js";
2
- export { cn };
2
+ import { observeScrollExtent } from "./observeScrollExtent.js";
3
+ import { scheduleFrameTask } from "./scheduleFrameTask.js";
4
+ export { cn, observeScrollExtent, scheduleFrameTask };
@@ -0,0 +1,22 @@
1
+ //#region src/utils/observeScrollExtent.d.ts
2
+ /**
3
+ * Watches everything that changes how far an element can scroll: its own box,
4
+ * and the boxes of the content it scrolls over.
5
+ *
6
+ * A `ResizeObserver` on the scroll container alone stays silent while its
7
+ * content grows — a container with a capped height keeps that height whatever
8
+ * it contains. Observing its children covers the content side, which is the
9
+ * half that actually moves the scroll extent.
10
+ *
11
+ * @param container - The scrolling element.
12
+ * @param onResize - Called when the container or its content is resized, and
13
+ * when children are added to or removed from the container.
14
+ * @returns A function disconnecting the observers.
15
+ *
16
+ * @example
17
+ * const stopObserving = observeScrollExtent(contentElement, invalidateOffsets);
18
+ */
19
+ declare const observeScrollExtent: (container: HTMLElement, onResize: () => void) => (() => void);
20
+ //#endregion
21
+ export { observeScrollExtent };
22
+ //# sourceMappingURL=observeScrollExtent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"observeScrollExtent.d.ts","names":[],"sources":["../../../src/utils/observeScrollExtent.ts"],"mappings":";;;;;;;;;;;;;;;;;;cAiBa,sBAAmB,WACnB,aAAW"}
@@ -0,0 +1,25 @@
1
+ //#region src/utils/scheduleFrameTask.d.ts
2
+ type FrameTask = () => void;
3
+ /**
4
+ * Queues a layout-reading task, and runs every queued task inside a single
5
+ * animation frame callback.
6
+ *
7
+ * A component reading `offsetTop` or `getBoundingClientRect()` from its own
8
+ * `requestAnimationFrame` makes the browser recompute layout once per
9
+ * component: React flushes the state updates of one callback before the next
10
+ * callback runs, so every read after the first one is a forced reflow. Sharing
11
+ * one callback keeps all the reads in the same batch, and React commits once,
12
+ * after the last measurement.
13
+ *
14
+ * @param task - The measurement to run on the next frame. Queuing the same
15
+ * function twice before the frame runs schedules it once.
16
+ * @returns A function cancelling the task, and the frame itself once nothing
17
+ * else is queued.
18
+ *
19
+ * @example
20
+ * const cancelMeasurement = scheduleFrameTask(() => setWidth(el.offsetWidth));
21
+ */
22
+ declare const scheduleFrameTask: (task: FrameTask) => (() => void);
23
+ //#endregion
24
+ export { scheduleFrameTask };
25
+ //# sourceMappingURL=scheduleFrameTask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduleFrameTask.d.ts","names":[],"sources":["../../../src/utils/scheduleFrameTask.ts"],"mappings":";KAAK;;;;;;;;;;;;;;;;;;;;cAmCQ,oBAAiB,MAAU"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/design-system",
3
- "version": "9.3.2",
3
+ "version": "9.4.0-canary.0",
4
4
  "private": false,
5
5
  "description": "Intlayer design system, including UI components used in the Intlayer editor, website, and visual editor/CMS.",
6
6
  "keywords": [
@@ -222,6 +222,11 @@
222
222
  "import": "./dist/esm/components/IDE/index.mjs",
223
223
  "default": "./dist/esm/components/IDE/index.mjs"
224
224
  },
225
+ "./shiki-themes": {
226
+ "types": "./dist/types/components/IDE/shikiThemes.d.ts",
227
+ "import": "./dist/esm/components/IDE/shikiThemes.mjs",
228
+ "default": "./dist/esm/components/IDE/shikiThemes.mjs"
229
+ },
225
230
  "./information-tag": {
226
231
  "types": "./dist/types/components/InformationTag/index.d.ts",
227
232
  "import": "./dist/esm/components/InformationTag/index.mjs",
@@ -440,15 +445,15 @@
440
445
  "typecheck_": "tsc --noEmit --project tsconfig.types.json"
441
446
  },
442
447
  "dependencies": {
443
- "@better-auth/passkey": "1.6.27",
444
- "@better-auth/sso": "1.6.27",
445
- "@intlayer/api": "9.3.2",
446
- "@intlayer/config": "9.3.2",
447
- "@intlayer/core": "9.3.2",
448
- "@intlayer/dictionaries-entry": "9.3.2",
449
- "@intlayer/editor-react": "9.3.2",
450
- "@intlayer/engine": "9.3.2",
451
- "@intlayer/types": "9.3.2",
448
+ "@better-auth/passkey": "1.7.1",
449
+ "@better-auth/sso": "1.7.1",
450
+ "@intlayer/api": "9.4.0-canary.0",
451
+ "@intlayer/config": "9.4.0-canary.0",
452
+ "@intlayer/core": "9.4.0-canary.0",
453
+ "@intlayer/dictionaries-entry": "9.4.0-canary.0",
454
+ "@intlayer/editor-react": "9.4.0-canary.0",
455
+ "@intlayer/engine": "9.4.0-canary.0",
456
+ "@intlayer/types": "9.4.0-canary.0",
452
457
  "@radix-ui/react-dialog": "1.1.23",
453
458
  "@radix-ui/react-select": "2.3.7",
454
459
  "@radix-ui/react-slot": "1.3.3",
@@ -456,32 +461,32 @@
456
461
  "@tailwindcss/aspect-ratio": "0.4.2",
457
462
  "@tanstack/query-async-storage-persister": "5.101.4",
458
463
  "@tanstack/react-query-persist-client": "5.101.4",
459
- "@tanstack/react-virtual": "3.14.9",
460
- "@tiptap/core": "3.30.0",
461
- "@tiptap/extension-character-count": "3.30.0",
462
- "@tiptap/extension-color": "3.30.0",
463
- "@tiptap/extension-highlight": "3.30.0",
464
- "@tiptap/extension-horizontal-rule": "3.30.0",
465
- "@tiptap/extension-image": "3.30.0",
466
- "@tiptap/extension-link": "3.30.0",
467
- "@tiptap/extension-placeholder": "3.30.0",
468
- "@tiptap/extension-task-item": "3.30.0",
469
- "@tiptap/extension-task-list": "3.30.0",
470
- "@tiptap/extension-text-style": "3.30.0",
471
- "@tiptap/extension-underline": "3.30.0",
472
- "@tiptap/extension-youtube": "3.30.0",
473
- "@tiptap/pm": "3.30.0",
474
- "@tiptap/react": "3.30.0",
475
- "@tiptap/starter-kit": "3.30.0",
476
- "@tiptap/suggestion": "3.30.0",
477
- "better-auth": "1.6.27",
464
+ "@tanstack/react-virtual": "3.14.10",
465
+ "@tiptap/core": "3.30.1",
466
+ "@tiptap/extension-character-count": "3.30.1",
467
+ "@tiptap/extension-color": "3.30.1",
468
+ "@tiptap/extension-highlight": "3.30.1",
469
+ "@tiptap/extension-horizontal-rule": "3.30.1",
470
+ "@tiptap/extension-image": "3.30.1",
471
+ "@tiptap/extension-link": "3.30.1",
472
+ "@tiptap/extension-placeholder": "3.30.1",
473
+ "@tiptap/extension-task-item": "3.30.1",
474
+ "@tiptap/extension-task-list": "3.30.1",
475
+ "@tiptap/extension-text-style": "3.30.1",
476
+ "@tiptap/extension-underline": "3.30.1",
477
+ "@tiptap/extension-youtube": "3.30.1",
478
+ "@tiptap/pm": "3.30.1",
479
+ "@tiptap/react": "3.30.1",
480
+ "@tiptap/starter-kit": "3.30.1",
481
+ "@tiptap/suggestion": "3.30.1",
482
+ "better-auth": "1.7.1",
478
483
  "class-variance-authority": "0.7.1",
479
484
  "cmdk": "1.1.1",
480
485
  "cnfast": "^0.1.0",
481
486
  "defu": "6.1.7",
482
487
  "dompurify": "3.4.13",
483
488
  "isomorphic-dompurify": "3.22.0",
484
- "react-intlayer": "9.3.2",
489
+ "react-intlayer": "9.4.0-canary.0",
485
490
  "rollup-preserve-directives": "1.1.3",
486
491
  "tiptap-extension-code-block-shiki": "^1.2.0",
487
492
  "tiptap-extension-global-drag-handle": "^0.1.18",
@@ -490,7 +495,7 @@
490
495
  "zod": "4.4.3"
491
496
  },
492
497
  "devDependencies": {
493
- "@intlayer/backend": "9.3.2",
498
+ "@intlayer/backend": "9.4.0-canary.0",
494
499
  "@shikijs/transformers": "4.4.3",
495
500
  "@storybook/addon-a11y": "8.6.14",
496
501
  "@storybook/addon-essentials": "8.6.14",
@@ -520,33 +525,33 @@
520
525
  "@utils/ts-config": "1.0.4",
521
526
  "@utils/ts-config-types": "1.0.4",
522
527
  "fast-glob": "3.3.3",
523
- "intlayer": "9.3.2",
528
+ "intlayer": "9.4.0-canary.0",
524
529
  "rimraf": "6.1.3",
525
530
  "shiki": "4.4.3",
526
531
  "storybook": "8.6.14",
527
532
  "tsdown": "0.22.14",
528
533
  "typescript": "7.0.2",
529
- "vite": "8.2.1",
530
- "vite-intlayer": "9.3.2",
534
+ "vite": "8.2.2",
535
+ "vite-intlayer": "9.4.0-canary.0",
531
536
  "vite-plugin-dts": "5.0.3",
532
- "vitest": "4.1.10"
537
+ "vitest": "4.1.11"
533
538
  },
534
539
  "peerDependencies": {
535
540
  "@better-fetch/fetch": "1.3.1",
536
- "@hookform/resolvers": "5.7.1",
537
- "@intlayer/backend": "9.3.2",
541
+ "@hookform/resolvers": "5.9.1",
542
+ "@intlayer/backend": "9.4.0-canary.0",
538
543
  "@monaco-editor/react": "4.7.0",
539
544
  "@shikijs/transformers": "4.4.3",
540
545
  "@tanstack/react-query": "5.101.4",
541
546
  "@tanstack/react-query-devtools": "5.101.4",
542
- "framer-motion": "13.1.0",
547
+ "framer-motion": "13.1.1",
543
548
  "fuse.js": "7.5.0",
544
- "intlayer": "9.3.2",
545
- "lucide-react": "1.31.0",
549
+ "intlayer": "9.4.0-canary.0",
550
+ "lucide-react": "1.33.0",
546
551
  "react": ">=16.0.0",
547
552
  "react-dom": ">=16.0.0",
548
553
  "react-hook-form": "7.85.0",
549
- "react-intlayer": "9.3.2",
554
+ "react-intlayer": "9.4.0-canary.0",
550
555
  "shiki": "4.4.3",
551
556
  "tailwindcss": "4.3.3"
552
557
  },
package/tailwind.css CHANGED
@@ -5,7 +5,9 @@
5
5
  font-style: normal;
6
6
  font-weight: 100 900;
7
7
  font-display: swap;
8
- src: url("/Geist-VariableFont_wght.ttf") format("truetype");
8
+ src:
9
+ url("/Geist-VariableFont_wght.woff2") format("woff2"),
10
+ url("/Geist-VariableFont_wght.ttf") format("truetype");
9
11
  }
10
12
 
11
13
  @theme {
@@ -241,3 +243,27 @@
241
243
  @plugin "@tailwindcss/aspect-ratio";
242
244
 
243
245
  @source "./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}";
246
+
247
+ /**
248
+ * Dual-theme Shiki output.
249
+ *
250
+ * Code blocks are highlighted once with both `github-light` and `github-dark`,
251
+ * and every token carries its two colours as the `--shiki-light` /
252
+ * `--shiki-dark` custom properties instead of a resolved `color`. One markup
253
+ * therefore serves both themes, which is what allows the highlighting to be
254
+ * done ahead of time — at build, on the server — rather than re-run in the
255
+ * browser whenever the resolved theme changes.
256
+ *
257
+ * These rules live here, rather than in each app's `shiki.css`, because they
258
+ * are what makes the code block components render at all: without them every
259
+ * token resolves to an undefined variable.
260
+ */
261
+ .shiki,
262
+ .shiki span {
263
+ color: var(--shiki-light);
264
+ }
265
+
266
+ [data-theme="dark"] .shiki,
267
+ [data-theme="dark"] .shiki span {
268
+ color: var(--shiki-dark);
269
+ }
@@ -1,17 +0,0 @@
1
- 'use client';
2
-
3
- import { useEffect, useState } from "react";
4
-
5
- //#region src/hooks/useIsDarkMode.ts
6
- const useIsDarkMode = () => {
7
- const [isDarkMode, setIsDarkMode] = useState(false);
8
- useEffect(() => {
9
- const isDarkMode = document.querySelector("html")?.getAttribute("data-theme") === "dark";
10
- setIsDarkMode(isDarkMode);
11
- }, []);
12
- return isDarkMode;
13
- };
14
-
15
- //#endregion
16
- export { useIsDarkMode };
17
- //# sourceMappingURL=useIsDarkMode.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useIsDarkMode.mjs","names":[],"sources":["../../../src/hooks/useIsDarkMode.ts"],"sourcesContent":["'use client';\n\nimport { useEffect, useState } from 'react';\n\nexport const useIsDarkMode = () => {\n const [isDarkMode, setIsDarkMode] = useState(false);\n\n useEffect(() => {\n const htmlElement = document.querySelector('html');\n const isDarkMode = htmlElement?.getAttribute('data-theme') === 'dark';\n setIsDarkMode(isDarkMode);\n }, []);\n\n return isDarkMode;\n};\n"],"mappings":";;;;;AAIA,MAAa,sBAAsB;CACjC,MAAM,CAAC,YAAY,iBAAiB,SAAS,KAAK;CAElD,gBAAgB;EAEd,MAAM,aADc,SAAS,cAAc,MACd,CAAC,EAAE,aAAa,YAAY,MAAM;EAC/D,cAAc,UAAU;CAC1B,GAAG,CAAC,CAAC;CAEL,OAAO;AACT"}
@@ -1,5 +0,0 @@
1
- //#region src/hooks/useIsDarkMode.d.ts
2
- declare const useIsDarkMode: () => boolean;
3
- //#endregion
4
- export { useIsDarkMode };
5
- //# sourceMappingURL=useIsDarkMode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useIsDarkMode.d.ts","names":[],"sources":["../../../src/hooks/useIsDarkMode.ts"],"mappings":";cAIa"}