@intlayer/design-system 9.3.3 → 9.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.
- package/README.md +3 -3
- package/dist/esm/api/hooks/analytics.mjs +6 -5
- package/dist/esm/api/hooks/analytics.mjs.map +1 -1
- package/dist/esm/api/index.mjs +2 -2
- package/dist/esm/api/useAuth/useOAuth2.mjs.map +1 -1
- package/dist/esm/api/useIntlayerAPI.mjs +1 -3
- package/dist/esm/api/useIntlayerAPI.mjs.map +1 -1
- package/dist/esm/api/useUser/index.mjs +1 -1
- package/dist/esm/components/Accordion/Accordion.mjs +2 -2
- package/dist/esm/components/Accordion/Accordion.mjs.map +1 -1
- package/dist/esm/components/Carousel/index.mjs +48 -30
- package/dist/esm/components/Carousel/index.mjs.map +1 -1
- package/dist/esm/components/ExpandCollapse/ExpandCollapse.mjs +1 -1
- package/dist/esm/components/ExpandCollapse/ExpandCollapse.mjs.map +1 -1
- package/dist/esm/components/Form/elements/OTPElement.mjs +4 -4
- package/dist/esm/components/Form/elements/OTPElement.mjs.map +1 -1
- package/dist/esm/components/Link/Link.mjs +10 -5
- package/dist/esm/components/Link/Link.mjs.map +1 -1
- package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +1 -1
- package/dist/esm/components/Modal/Modal.mjs +2 -2
- package/dist/esm/components/Navbar/MobileNavbar.mjs +25 -3
- package/dist/esm/components/Navbar/MobileNavbar.mjs.map +1 -1
- package/dist/esm/components/Pagination/Pagination.mjs +4 -4
- package/dist/esm/components/Pagination/Pagination.mjs.map +1 -1
- package/dist/esm/components/Pattern/GridDistortionPattern.mjs +3 -2
- package/dist/esm/components/Pattern/GridDistortionPattern.mjs.map +1 -1
- package/dist/esm/components/Popover/dynamic.mjs +68 -24
- package/dist/esm/components/Popover/dynamic.mjs.map +1 -1
- package/dist/esm/components/RightDrawer/RightDrawer.mjs +34 -10
- package/dist/esm/components/RightDrawer/RightDrawer.mjs.map +1 -1
- package/dist/esm/components/RightDrawer/index.mjs +2 -2
- package/dist/esm/components/RightDrawer/useRightDrawer.mjs +37 -5
- package/dist/esm/components/RightDrawer/useRightDrawer.mjs.map +1 -1
- package/dist/esm/components/SwitchSelector/useSwitchSelector.mjs +2 -2
- package/dist/esm/components/SwitchSelector/useSwitchSelector.mjs.map +1 -1
- package/dist/esm/components/Tab/Tab.mjs +21 -4
- package/dist/esm/components/Tab/Tab.mjs.map +1 -1
- package/dist/esm/components/TabSelector/TabSelector.mjs +2 -2
- package/dist/esm/components/TabSelector/TabSelector.mjs.map +1 -1
- package/dist/esm/components/TechLogo/TechLogo.mjs +1 -0
- package/dist/esm/components/TechLogo/TechLogo.mjs.map +1 -1
- package/dist/esm/components/TechLogo/logos/Elysia.mjs +62 -0
- package/dist/esm/components/TechLogo/logos/Elysia.mjs.map +1 -0
- package/dist/esm/components/TechLogo/techLogos.mjs +3 -1
- package/dist/esm/components/TechLogo/techLogos.mjs.map +1 -1
- package/dist/esm/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs +10 -18
- package/dist/esm/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs.map +1 -1
- package/dist/esm/components/ThemeSwitcherDropDown/MobileThemeSwitcher.mjs +14 -13
- package/dist/esm/components/ThemeSwitcherDropDown/MobileThemeSwitcher.mjs.map +1 -1
- package/dist/esm/components/index.mjs +2 -2
- package/dist/esm/hooks/index.mjs +9 -9
- package/dist/esm/hooks/useItemSelector.mjs +12 -9
- package/dist/esm/hooks/useItemSelector.mjs.map +1 -1
- package/dist/esm/hooks/useScrollBlockage/index.mjs +9 -10
- package/dist/esm/hooks/useScrollBlockage/index.mjs.map +1 -1
- package/dist/esm/hooks/useScrollDetection.mjs +15 -2
- package/dist/esm/hooks/useScrollDetection.mjs.map +1 -1
- package/dist/esm/hooks/useScrollY.mjs +64 -45
- package/dist/esm/hooks/useScrollY.mjs.map +1 -1
- package/dist/esm/hooks/useStickToBottom.mjs +69 -0
- package/dist/esm/hooks/useStickToBottom.mjs.map +1 -0
- package/dist/esm/providers/ThemeProvider.mjs +143 -0
- package/dist/esm/providers/ThemeProvider.mjs.map +1 -0
- package/dist/esm/providers/index.mjs +2 -1
- package/dist/esm/routes.mjs +4 -1
- package/dist/esm/routes.mjs.map +1 -1
- package/dist/esm/utils/index.mjs +3 -1
- package/dist/esm/utils/observeScrollExtent.mjs +39 -0
- package/dist/esm/utils/observeScrollExtent.mjs.map +1 -0
- package/dist/esm/utils/scheduleFrameTask.mjs +44 -0
- package/dist/esm/utils/scheduleFrameTask.mjs.map +1 -0
- package/dist/types/api/hooks/analytics.d.ts +5 -3
- package/dist/types/api/hooks/analytics.d.ts.map +1 -1
- package/dist/types/api/useIntlayerAPI.d.ts +12 -0
- package/dist/types/api/useIntlayerAPI.d.ts.map +1 -1
- package/dist/types/components/Carousel/index.d.ts.map +1 -1
- package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
- package/dist/types/components/Popover/dynamic.d.ts.map +1 -1
- package/dist/types/components/RightDrawer/RightDrawer.d.ts.map +1 -1
- package/dist/types/components/RightDrawer/index.d.ts +2 -2
- package/dist/types/components/RightDrawer/useRightDrawer.d.ts +34 -1
- package/dist/types/components/RightDrawer/useRightDrawer.d.ts.map +1 -1
- package/dist/types/components/Tab/Tab.d.ts.map +1 -1
- package/dist/types/components/TechLogo/TechLogo.d.ts.map +1 -1
- package/dist/types/components/TechLogo/logos/Elysia.d.ts +6 -0
- package/dist/types/components/TechLogo/logos/Elysia.d.ts.map +1 -0
- package/dist/types/components/TechLogo/techLogos.d.ts +3 -2
- package/dist/types/components/TechLogo/types.d.ts +1 -1
- package/dist/types/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.d.ts +1 -1
- package/dist/types/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.d.ts.map +1 -1
- package/dist/types/components/ThemeSwitcherDropDown/MobileThemeSwitcher.d.ts +1 -1
- package/dist/types/components/ThemeSwitcherDropDown/MobileThemeSwitcher.d.ts.map +1 -1
- package/dist/types/components/ThemeSwitcherDropDown/types.d.ts +3 -1
- package/dist/types/components/ThemeSwitcherDropDown/types.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/hooks/index.d.ts +2 -2
- package/dist/types/hooks/useItemSelector.d.ts +2 -0
- package/dist/types/hooks/useItemSelector.d.ts.map +1 -1
- package/dist/types/hooks/useScrollBlockage/index.d.ts.map +1 -1
- package/dist/types/hooks/useScrollDetection.d.ts.map +1 -1
- package/dist/types/hooks/useScrollY.d.ts +10 -0
- package/dist/types/hooks/useScrollY.d.ts.map +1 -1
- package/dist/types/hooks/useStickToBottom.d.ts +41 -0
- package/dist/types/hooks/useStickToBottom.d.ts.map +1 -0
- package/dist/types/providers/ThemeProvider.d.ts +41 -0
- package/dist/types/providers/ThemeProvider.d.ts.map +1 -0
- package/dist/types/providers/index.d.ts +2 -1
- package/dist/types/routes.d.ts +4 -1
- package/dist/types/routes.d.ts.map +1 -1
- package/dist/types/utils/index.d.ts +3 -1
- package/dist/types/utils/observeScrollExtent.d.ts +22 -0
- package/dist/types/utils/observeScrollExtent.d.ts.map +1 -0
- package/dist/types/utils/scheduleFrameTask.d.ts +25 -0
- package/dist/types/utils/scheduleFrameTask.d.ts.map +1 -0
- package/package.json +24 -24
- package/dist/esm/hooks/useIsDarkMode.mjs +0 -17
- package/dist/esm/hooks/useIsDarkMode.mjs.map +0 -1
- package/dist/types/hooks/useIsDarkMode.d.ts +0 -5
- package/dist/types/hooks/useIsDarkMode.d.ts.map +0 -1
|
@@ -3,7 +3,6 @@ import { SizeType, calculateIsMobile, checkIsIOS, checkIsIphoneOrSafariDevice, c
|
|
|
3
3
|
import { useGetElementById } from "./useGetElementById.js";
|
|
4
4
|
import { useGetElementOrWindow } from "./useGetElementOrWindow.js";
|
|
5
5
|
import { HorizontalSwipeConfig, HorizontalSwipeHook, useHorizontalSwipe } from "./useHorizontalSwipe.js";
|
|
6
|
-
import { useIsDarkMode } from "./useIsDarkMode.js";
|
|
7
6
|
import { useIsMounted } from "./useIsMounted.js";
|
|
8
7
|
import { useKeyboardDetector } from "./useKeyboardDetector.js";
|
|
9
8
|
import { usePersistedStore } from "./usePersistedStore.js";
|
|
@@ -12,4 +11,5 @@ import { useScrollBlockage } from "./useScrollBlockage/index.js";
|
|
|
12
11
|
import { useScrollDetection } from "./useScrollDetection.js";
|
|
13
12
|
import { useScrollY } from "./useScrollY.js";
|
|
14
13
|
import { useSearch } from "./useSearch.js";
|
|
15
|
-
|
|
14
|
+
import { StickToBottomRefs, useStickToBottom } from "./useStickToBottom.js";
|
|
15
|
+
export { HorizontalSwipeConfig, HorizontalSwipeHook, ItemSelectorOrientation, SizeType, StickToBottomRefs, calculateIsMobile, checkIsIOS, checkIsIphoneOrSafariDevice, checkIsMac, checkIsMobileScreen, checkIsMobileUserAgent, getBreakpointFromSize, useDevice, useGetElementById, useGetElementOrWindow, useHorizontalSwipe, useIsMounted, useItemSelector, useKeyboardDetector, usePersistedStore, useScreenWidth, useScrollBlockage, useScrollDetection, useScrollY, useSearch, useStickToBottom };
|
|
@@ -19,7 +19,9 @@ type Options = {
|
|
|
19
19
|
};
|
|
20
20
|
declare const useItemSelector: (optionsRefs: RefObject<HTMLElement[]>, { selector, isHoverable, orientation }?: Options) => {
|
|
21
21
|
choiceIndicatorPosition: StyleState;
|
|
22
|
+
/** Measures immediately. Prefer `scheduleMeasurement`, which does not force a reflow. */
|
|
22
23
|
calculatePosition: () => void;
|
|
24
|
+
scheduleMeasurement: () => void;
|
|
23
25
|
orientation: ItemSelectorOrientation;
|
|
24
26
|
};
|
|
25
27
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useItemSelector.d.ts","names":[],"sources":["../../../src/hooks/useItemSelector.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"useItemSelector.d.ts","names":[],"sources":["../../../src/hooks/useItemSelector.ts"],"mappings":";;KAWY;KAEP;EACH;EACA;EACA;;KAGG;EACH;EACA;EACA;;KAGG,aAAa,uBAAuB;KAWpC;EACH,YAAY,QAAQ,aAAa;EACjC;EACA,cAAc;;cAGH,kBAAe,aACb,UAAU,kBAAc,UAAA,aAAA,gBAKlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/hooks/useScrollBlockage/index.tsx"],"mappings":";KAOK;EACH;EACA;EACA,UAAU;;KAGP;EACH;EACA;EACA,UAAU;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/hooks/useScrollBlockage/index.tsx"],"mappings":";KAOK;EACH;EACA;EACA,UAAU;;KAGP;EACH;EACA;EACA,UAAU;;cAKC,oBAAiB,QACpB,yBAAyB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScrollDetection.d.ts","names":[],"sources":["../../../src/hooks/useScrollDetection.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useScrollDetection.d.ts","names":[],"sources":["../../../src/hooks/useScrollDetection.ts"],"mappings":";KAQK;EACH;EACA;EACA;EACA,gBAAgB,GAAG;EACnB,cAAc,GAAG;EACjB,UAAU;;cAGC,qBAAkB,QAAY"}
|
|
@@ -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":";
|
|
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"}
|
|
@@ -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 };
|
package/dist/types/routes.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ declare const App_ReviewerMarketplace_Reviewer_Path: '/find-reviewer/$reviewerId
|
|
|
27
27
|
declare const App_ReviewerMarketplace_Dashboard_Mission_Path: '/find-reviewer/dashboard/mission/$missionId';
|
|
28
28
|
declare const getAppReviewerProfileRoute: (reviewerId: string) => `/find-reviewer/${string}`;
|
|
29
29
|
declare const getAppReviewerMissionRoute: (missionId: string) => `/find-reviewer/dashboard/mission/${string}`;
|
|
30
|
+
/** Root of the authentication section, usable as a `Disallow` prefix. */
|
|
31
|
+
declare const App_Auth_Path: '/auth';
|
|
30
32
|
declare const App_Auth_SignIn_Path: '/auth/login';
|
|
31
33
|
declare const App_Auth_SignUp_Path: '/auth/register';
|
|
32
34
|
declare const App_Auth_TwoFactor_Path: '/auth/2fa';
|
|
@@ -274,6 +276,7 @@ declare const Backend_OAuth2_Token: "https://back.intlayer.org/oauth2/token";
|
|
|
274
276
|
declare const Mcp_Root: "https://mcp.intlayer.org";
|
|
275
277
|
declare const Mcp_Sse: "https://mcp.intlayer.org/sse";
|
|
276
278
|
declare const WellKnown_ApiCatalog_Path: '/.well-known/api-catalog';
|
|
279
|
+
declare const WellKnown_AiCatalog_Path: '/.well-known/ai-catalog.json';
|
|
277
280
|
declare const WellKnown_OAuthProtectedResource_Path: '/.well-known/oauth-protected-resource';
|
|
278
281
|
declare const WellKnown_OAuthAuthorizationServer_Path: '/.well-known/oauth-authorization-server';
|
|
279
282
|
declare const WellKnown_McpServerCard_Path: '/.well-known/mcp/server-card.json';
|
|
@@ -299,5 +302,5 @@ declare const External_ExampleIntlayerWithViteAndPreact: 'https://github.com/aym
|
|
|
299
302
|
declare const External_ExampleIntlayerWithReactNative: 'https://github.com/aymericzip/intlayer/tree/main/examples/react-native-app';
|
|
300
303
|
declare const External_ExampleIntlayerWithExpress: 'https://github.com/aymericzip/intlayer/tree/main/examples/express-app';
|
|
301
304
|
//#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 };
|
|
305
|
+
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_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
306
|
//# 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;
|
|
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;;cAI1B;cACA;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"}
|
|
@@ -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
|
+
"version": "9.4.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": [
|
|
@@ -447,13 +447,13 @@
|
|
|
447
447
|
"dependencies": {
|
|
448
448
|
"@better-auth/passkey": "1.7.1",
|
|
449
449
|
"@better-auth/sso": "1.7.1",
|
|
450
|
-
"@intlayer/api": "9.
|
|
451
|
-
"@intlayer/config": "9.
|
|
452
|
-
"@intlayer/core": "9.
|
|
453
|
-
"@intlayer/dictionaries-entry": "9.
|
|
454
|
-
"@intlayer/editor-react": "9.
|
|
455
|
-
"@intlayer/engine": "9.
|
|
456
|
-
"@intlayer/types": "9.
|
|
450
|
+
"@intlayer/api": "9.4.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",
|
|
455
|
+
"@intlayer/engine": "9.4.0",
|
|
456
|
+
"@intlayer/types": "9.4.0",
|
|
457
457
|
"@radix-ui/react-dialog": "1.1.23",
|
|
458
458
|
"@radix-ui/react-select": "2.3.7",
|
|
459
459
|
"@radix-ui/react-slot": "1.3.3",
|
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
"@tailwindcss/aspect-ratio": "0.4.2",
|
|
462
462
|
"@tanstack/query-async-storage-persister": "5.101.4",
|
|
463
463
|
"@tanstack/react-query-persist-client": "5.101.4",
|
|
464
|
-
"@tanstack/react-virtual": "3.14.
|
|
464
|
+
"@tanstack/react-virtual": "3.14.10",
|
|
465
465
|
"@tiptap/core": "3.30.1",
|
|
466
466
|
"@tiptap/extension-character-count": "3.30.1",
|
|
467
467
|
"@tiptap/extension-color": "3.30.1",
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
"defu": "6.1.7",
|
|
487
487
|
"dompurify": "3.4.13",
|
|
488
488
|
"isomorphic-dompurify": "3.22.0",
|
|
489
|
-
"react-intlayer": "9.
|
|
489
|
+
"react-intlayer": "9.4.0",
|
|
490
490
|
"rollup-preserve-directives": "1.1.3",
|
|
491
491
|
"tiptap-extension-code-block-shiki": "^1.2.0",
|
|
492
492
|
"tiptap-extension-global-drag-handle": "^0.1.18",
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
"zod": "4.4.3"
|
|
496
496
|
},
|
|
497
497
|
"devDependencies": {
|
|
498
|
-
"@intlayer/backend": "9.
|
|
498
|
+
"@intlayer/backend": "9.4.0-canary.0",
|
|
499
499
|
"@shikijs/transformers": "4.4.3",
|
|
500
500
|
"@storybook/addon-a11y": "8.6.14",
|
|
501
501
|
"@storybook/addon-essentials": "8.6.14",
|
|
@@ -519,39 +519,39 @@
|
|
|
519
519
|
"@testing-library/user-event": "14.6.4",
|
|
520
520
|
"@types/dompurify": "3.2.0",
|
|
521
521
|
"@types/espree": "11.1.0",
|
|
522
|
-
"@types/node": "26.
|
|
522
|
+
"@types/node": "26.3.0",
|
|
523
523
|
"@types/react": "19.2.18",
|
|
524
|
-
"@types/react-dom": "19.2.
|
|
524
|
+
"@types/react-dom": "19.2.5",
|
|
525
525
|
"@utils/ts-config": "1.0.4",
|
|
526
526
|
"@utils/ts-config-types": "1.0.4",
|
|
527
527
|
"fast-glob": "3.3.3",
|
|
528
|
-
"intlayer": "9.
|
|
528
|
+
"intlayer": "9.4.0-canary.0",
|
|
529
529
|
"rimraf": "6.1.3",
|
|
530
530
|
"shiki": "4.4.3",
|
|
531
531
|
"storybook": "8.6.14",
|
|
532
532
|
"tsdown": "0.22.14",
|
|
533
533
|
"typescript": "7.0.2",
|
|
534
|
-
"vite": "8.2.
|
|
535
|
-
"vite-intlayer": "9.
|
|
534
|
+
"vite": "8.2.2",
|
|
535
|
+
"vite-intlayer": "9.4.0-canary.0",
|
|
536
536
|
"vite-plugin-dts": "5.0.3",
|
|
537
537
|
"vitest": "4.1.11"
|
|
538
538
|
},
|
|
539
539
|
"peerDependencies": {
|
|
540
540
|
"@better-fetch/fetch": "1.3.1",
|
|
541
541
|
"@hookform/resolvers": "5.9.1",
|
|
542
|
-
"@intlayer/backend": "9.
|
|
542
|
+
"@intlayer/backend": "9.4.0-canary.0",
|
|
543
543
|
"@monaco-editor/react": "4.7.0",
|
|
544
544
|
"@shikijs/transformers": "4.4.3",
|
|
545
|
-
"@tanstack/react-query": "5.
|
|
546
|
-
"@tanstack/react-query-devtools": "5.
|
|
547
|
-
"framer-motion": "13.1.
|
|
545
|
+
"@tanstack/react-query": "5.102.4",
|
|
546
|
+
"@tanstack/react-query-devtools": "5.102.4",
|
|
547
|
+
"framer-motion": "13.1.1",
|
|
548
548
|
"fuse.js": "7.5.0",
|
|
549
|
-
"intlayer": "9.
|
|
550
|
-
"lucide-react": "1.
|
|
549
|
+
"intlayer": "9.4.0-canary.0",
|
|
550
|
+
"lucide-react": "1.34.0",
|
|
551
551
|
"react": ">=16.0.0",
|
|
552
552
|
"react-dom": ">=16.0.0",
|
|
553
|
-
"react-hook-form": "7.
|
|
554
|
-
"react-intlayer": "9.
|
|
553
|
+
"react-hook-form": "7.86.0",
|
|
554
|
+
"react-intlayer": "9.4.0",
|
|
555
555
|
"shiki": "4.4.3",
|
|
556
556
|
"tailwindcss": "4.3.3"
|
|
557
557
|
},
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useIsDarkMode.d.ts","names":[],"sources":["../../../src/hooks/useIsDarkMode.ts"],"mappings":";cAIa"}
|