@yahoo/uds 3.67.0-beta.1 → 3.67.0-beta.2
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/cli/bin/uds-darwin-arm64-baseline +0 -0
- package/cli/bin/uds-darwin-x64 +0 -0
- package/cli/bin/uds-linux-arm64 +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/cli/utils/purgeCSS.ts +4 -5
- package/dist/components/Box.d.cts +2 -2
- package/dist/components/Box.d.ts +2 -2
- package/dist/components/Divider/Divider.d.cts +2 -2
- package/dist/components/Divider/Divider.d.ts +2 -2
- package/dist/components/Divider/DividerCore.d.cts +2 -2
- package/dist/components/Divider/DividerCore.d.ts +2 -2
- package/dist/components/Divider/DividerInternal.d.cts +2 -2
- package/dist/components/Divider/DividerInternal.d.ts +2 -2
- package/dist/components/HStack.d.cts +2 -2
- package/dist/components/HStack.d.ts +2 -2
- package/dist/components/Icon.d.cts +2 -2
- package/dist/components/Icon.d.ts +2 -2
- package/dist/components/Image.d.cts +2 -2
- package/dist/components/Image.d.ts +2 -2
- package/dist/components/Link.d.cts +2 -2
- package/dist/components/Link.d.ts +2 -2
- package/dist/components/Text.d.cts +8 -8
- package/dist/components/Text.d.ts +8 -8
- package/dist/components/VStack.d.cts +2 -2
- package/dist/components/VStack.d.ts +2 -2
- package/dist/components/client/AnimateHeightChange.d.ts +2 -2
- package/dist/components/client/Avatar/Avatar.d.cts +2 -2
- package/dist/components/client/Avatar/Avatar.d.ts +2 -2
- package/dist/components/client/Avatar/AvatarIcon.d.cts +2 -2
- package/dist/components/client/Avatar/AvatarIcon.d.ts +2 -2
- package/dist/components/client/Avatar/AvatarImage.d.cts +2 -2
- package/dist/components/client/Avatar/AvatarImage.d.ts +2 -2
- package/dist/components/client/Avatar/AvatarText.d.cts +2 -2
- package/dist/components/client/Avatar/AvatarText.d.ts +2 -2
- package/dist/components/client/IconButton.d.cts +2 -2
- package/dist/components/client/IconButton.d.ts +2 -2
- package/dist/components/client/Input/Input.d.cts +2 -2
- package/dist/components/client/Input/Input.d.ts +2 -2
- package/dist/components/client/Input/InputHelpText.d.cts +2 -2
- package/dist/components/client/Input/InputHelpText.d.ts +2 -2
- package/dist/components/client/Input/InputHelpTextInternal.d.cts +4 -4
- package/dist/components/client/Input/InputHelpTextInternal.d.ts +4 -4
- package/dist/components/client/Menu/Menu.Content.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Content.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Divider.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Divider.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Item.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Item.d.ts +2 -2
- package/dist/components/client/Menu/Menu.ItemBase.d.cts +2 -2
- package/dist/components/client/Menu/Menu.ItemBase.d.ts +2 -2
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +2 -2
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Provider.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Trigger.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Trigger.d.ts +2 -2
- package/dist/components/client/Pressable.d.cts +2 -2
- package/dist/components/client/Pressable.d.ts +2 -2
- package/dist/components/client/Radio/RadioGroupStore.d.cts +2 -2
- package/dist/components/client/Radio/RadioGroupStore.d.ts +2 -2
- package/dist/components/client/SpringMotionConfig.d.cts +3 -3
- package/dist/components/client/SpringMotionConfig.d.ts +3 -3
- package/dist/components/experimental/Spinner.d.cts +2 -2
- package/dist/components/experimental/Spinner.d.ts +2 -2
- package/dist/components/experimental/Table.d.cts +2 -2
- package/dist/components/experimental/Table.d.ts +2 -2
- package/dist/components/experimental/client/Accordion.d.ts +2 -2
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.cts +2 -2
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.ts +2 -2
- package/dist/components/experimental/client/Modal.d.cts +3 -3
- package/dist/components/experimental/client/Modal.d.ts +3 -3
- package/dist/components/experimental/client/Popover.d.cts +3 -3
- package/dist/components/experimental/client/Popover.d.ts +3 -3
- package/dist/components/experimental/client/Tabs.d.cts +6 -6
- package/dist/components/experimental/client/Tabs.d.ts +6 -6
- package/dist/components/experimental/client/Toast.d.cts +2 -2
- package/dist/components/experimental/client/Toast.d.ts +2 -2
- package/dist/providers/ColorModeProvider.d.cts +4 -4
- package/dist/providers/ColorModeProvider.d.ts +4 -4
- package/dist/providers/ScaleModeProvider.d.cts +4 -4
- package/dist/providers/ScaleModeProvider.d.ts +4 -4
- package/dist/providers/ThemeProvider.d.ts +2 -2
- package/dist/styles/styler.d.cts +81 -81
- package/dist/styles/styler.d.ts +81 -81
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.cts +4 -4
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.ts +4 -4
- package/dist/tailwind/plugins/a11y.d.cts +3 -3
- package/dist/tailwind/plugins/a11y.d.ts +3 -3
- package/dist/tailwind/plugins/borders.d.cts +3 -3
- package/dist/tailwind/plugins/borders.d.ts +3 -3
- package/dist/tailwind/plugins/colors.d.cts +3 -3
- package/dist/tailwind/plugins/colors.d.ts +3 -3
- package/dist/tailwind/plugins/components.d.cts +3 -3
- package/dist/tailwind/plugins/components.d.ts +3 -3
- package/dist/tailwind/plugins/elevation.d.ts +3 -3
- package/dist/tailwind/plugins/icons.d.cts +3 -3
- package/dist/tailwind/plugins/icons.d.ts +3 -3
- package/dist/tailwind/plugins/input.d.cts +3 -3
- package/dist/tailwind/plugins/input.d.ts +3 -3
- package/dist/tailwind/plugins/motion.d.cts +3 -3
- package/dist/tailwind/plugins/motion.d.ts +3 -3
- package/dist/tailwind/plugins/nestedBorderRadius.d.cts +3 -3
- package/dist/tailwind/plugins/nestedBorderRadius.d.ts +3 -3
- package/dist/tailwind/plugins/scaleMode.d.cts +3 -3
- package/dist/tailwind/plugins/scaleMode.d.ts +3 -3
- package/dist/tailwind/plugins/shadows.d.cts +3 -3
- package/dist/tailwind/plugins/shadows.d.ts +3 -3
- package/dist/tailwind/plugins/sizing.d.cts +3 -3
- package/dist/tailwind/plugins/sizing.d.ts +3 -3
- package/dist/tailwind/plugins/spacing.d.cts +3 -3
- package/dist/tailwind/plugins/typography.d.cts +3 -3
- package/dist/tailwind/plugins/typography.d.ts +3 -3
- package/dist/tailwind/tailwind.config.d.ts +3 -3
- package/dist/tailwind/tailwindPlugin.d.ts +3 -3
- package/dist/tailwind/utils/addFontsPlugin.d.cts +3 -3
- package/dist/tailwind/utils/getElevationStyles.d.cts +2 -2
- package/dist/tailwind/utils/getElevationStyles.d.ts +2 -2
- package/dist/tailwind/utils/getMotionStyles.d.cts +1 -1
- package/dist/tailwind/utils/getMotionStyles.d.ts +1 -1
- package/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
- package/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
- package/dist/tokens/automation/index.d.cts +0 -1
- package/dist/tokens/automation/utils/getConfigVariantProperties.d.cts +2 -2
- package/dist/tokens/automation/utils/getConfigVariantProperties.d.ts +2 -2
- package/dist/utils/intersperse.d.cts +2 -2
- package/dist/utils/intersperse.d.ts +2 -2
- package/package.json +15 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
2
2
|
import { DialogDismiss, DialogProps, DialogStore as ModalStore, useDialogStore } from "@ariakit/react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/experimental/client/Modal.d.ts
|
|
@@ -10,14 +10,14 @@ interface ModalHeaderProps extends React.PropsWithChildren {
|
|
|
10
10
|
declare function ModalHeader({
|
|
11
11
|
children,
|
|
12
12
|
handleClose
|
|
13
|
-
}: ModalHeaderProps):
|
|
13
|
+
}: ModalHeaderProps): react_jsx_runtime14.JSX.Element;
|
|
14
14
|
declare namespace ModalHeader {
|
|
15
15
|
var displayName: string;
|
|
16
16
|
}
|
|
17
17
|
declare function Modal({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: ModalProps):
|
|
20
|
+
}: ModalProps): react_jsx_runtime14.JSX.Element;
|
|
21
21
|
declare namespace Modal {
|
|
22
22
|
var displayName: string;
|
|
23
23
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
2
2
|
import { DialogDismiss, DialogProps, DialogStore as ModalStore, useDialogStore } from "@ariakit/react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/experimental/client/Modal.d.ts
|
|
@@ -10,14 +10,14 @@ interface ModalHeaderProps extends React.PropsWithChildren {
|
|
|
10
10
|
declare function ModalHeader({
|
|
11
11
|
children,
|
|
12
12
|
handleClose
|
|
13
|
-
}: ModalHeaderProps):
|
|
13
|
+
}: ModalHeaderProps): react_jsx_runtime15.JSX.Element;
|
|
14
14
|
declare namespace ModalHeader {
|
|
15
15
|
var displayName: string;
|
|
16
16
|
}
|
|
17
17
|
declare function Modal({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: ModalProps):
|
|
20
|
+
}: ModalProps): react_jsx_runtime15.JSX.Element;
|
|
21
21
|
declare namespace Modal {
|
|
22
22
|
var displayName: string;
|
|
23
23
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
import { PopoverAnchor as PopoverAnchor$1, PopoverArrow as PopoverArrow$1, PopoverDescription as PopoverDescription$1, PopoverDisclosure as PopoverDisclosure$1, PopoverDisclosureArrow as PopoverDisclosureArrow$1, PopoverDismiss as PopoverDismiss$1, PopoverProps as PopoverProps$1, PopoverProvider as PopoverProvider$1, usePopoverStore } from "@ariakit/react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/experimental/client/Popover.d.ts
|
|
@@ -11,12 +11,12 @@ declare function PopoverHeading({
|
|
|
11
11
|
children,
|
|
12
12
|
leading,
|
|
13
13
|
trailing
|
|
14
|
-
}: PopoverHeadingProps):
|
|
14
|
+
}: PopoverHeadingProps): react_jsx_runtime16.JSX.Element;
|
|
15
15
|
declare namespace PopoverHeading {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|
|
18
18
|
type PopoverProps = Omit<PopoverProps$1, 'key'>;
|
|
19
|
-
declare const Popover: (props: PopoverProps$1<"div">) =>
|
|
19
|
+
declare const Popover: (props: PopoverProps$1<"div">) => react_jsx_runtime16.JSX.Element | null;
|
|
20
20
|
declare const PopoverArrow: typeof PopoverArrow$1;
|
|
21
21
|
declare const PopoverAnchor: typeof PopoverAnchor$1;
|
|
22
22
|
declare const PopoverDescription: typeof PopoverDescription$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
3
3
|
import { PopoverAnchor as PopoverAnchor$1, PopoverArrow as PopoverArrow$1, PopoverDescription as PopoverDescription$1, PopoverDisclosure as PopoverDisclosure$1, PopoverDisclosureArrow as PopoverDisclosureArrow$1, PopoverDismiss as PopoverDismiss$1, PopoverProps as PopoverProps$1, PopoverProvider as PopoverProvider$1, usePopoverStore } from "@ariakit/react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/experimental/client/Popover.d.ts
|
|
@@ -11,12 +11,12 @@ declare function PopoverHeading({
|
|
|
11
11
|
children,
|
|
12
12
|
leading,
|
|
13
13
|
trailing
|
|
14
|
-
}: PopoverHeadingProps):
|
|
14
|
+
}: PopoverHeadingProps): react_jsx_runtime17.JSX.Element;
|
|
15
15
|
declare namespace PopoverHeading {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|
|
18
18
|
type PopoverProps = Omit<PopoverProps$1, 'key'>;
|
|
19
|
-
declare const Popover: (props: PopoverProps$1<"div">) =>
|
|
19
|
+
declare const Popover: (props: PopoverProps$1<"div">) => react_jsx_runtime17.JSX.Element | null;
|
|
20
20
|
declare const PopoverArrow: typeof PopoverArrow$1;
|
|
21
21
|
declare const PopoverAnchor: typeof PopoverAnchor$1;
|
|
22
22
|
declare const PopoverDescription: typeof PopoverDescription$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconPropsWithSVGProps } from "../../../tokens/types.cjs";
|
|
2
2
|
import "../../index.cjs";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react50 from "react";
|
|
4
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
5
5
|
import { TabListProps, TabPanelProps, TabProviderProps as TabsProps } from "@ariakit/react";
|
|
6
6
|
|
|
7
7
|
//#region src/components/experimental/client/Tabs.d.ts
|
|
@@ -11,20 +11,20 @@ interface TabProps extends React.PropsWithChildren {
|
|
|
11
11
|
label: string;
|
|
12
12
|
startIcon?: IconPropsWithSVGProps['name'];
|
|
13
13
|
}
|
|
14
|
-
declare function Tabs(props: TabsProps):
|
|
14
|
+
declare function Tabs(props: TabsProps): react_jsx_runtime20.JSX.Element;
|
|
15
15
|
declare namespace Tabs {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|
|
18
|
-
declare const TabList:
|
|
18
|
+
declare const TabList: react50.ForwardRefExoticComponent<Omit<TabListProps, "ref"> & react50.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
declare const Tab: {
|
|
20
20
|
({
|
|
21
21
|
asChild,
|
|
22
22
|
label,
|
|
23
23
|
value,
|
|
24
24
|
startIcon
|
|
25
|
-
}: TabProps):
|
|
25
|
+
}: TabProps): react_jsx_runtime20.JSX.Element;
|
|
26
26
|
displayName: string;
|
|
27
27
|
};
|
|
28
|
-
declare const TabPanel:
|
|
28
|
+
declare const TabPanel: react50.ForwardRefExoticComponent<Omit<TabPanelProps, "ref"> & react50.RefAttributes<HTMLDivElement>>;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Tabs, type TabsProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconPropsWithSVGProps } from "../../../tokens/types.js";
|
|
2
2
|
import "../../index.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react55 from "react";
|
|
4
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
5
5
|
import { TabListProps, TabPanelProps, TabProviderProps as TabsProps } from "@ariakit/react";
|
|
6
6
|
|
|
7
7
|
//#region src/components/experimental/client/Tabs.d.ts
|
|
@@ -11,20 +11,20 @@ interface TabProps extends React.PropsWithChildren {
|
|
|
11
11
|
label: string;
|
|
12
12
|
startIcon?: IconPropsWithSVGProps['name'];
|
|
13
13
|
}
|
|
14
|
-
declare function Tabs(props: TabsProps):
|
|
14
|
+
declare function Tabs(props: TabsProps): react_jsx_runtime19.JSX.Element;
|
|
15
15
|
declare namespace Tabs {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|
|
18
|
-
declare const TabList:
|
|
18
|
+
declare const TabList: react55.ForwardRefExoticComponent<Omit<TabListProps, "ref"> & react55.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
declare const Tab: {
|
|
20
20
|
({
|
|
21
21
|
asChild,
|
|
22
22
|
label,
|
|
23
23
|
value,
|
|
24
24
|
startIcon
|
|
25
|
-
}: TabProps):
|
|
25
|
+
}: TabProps): react_jsx_runtime19.JSX.Element;
|
|
26
26
|
displayName: string;
|
|
27
27
|
};
|
|
28
|
-
declare const TabPanel:
|
|
28
|
+
declare const TabPanel: react55.ForwardRefExoticComponent<Omit<TabPanelProps, "ref"> & react55.RefAttributes<HTMLDivElement>>;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Tabs, type TabsProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
3
3
|
import { ToastClassName, ToastContainerProps, ToastOptions, ToastPosition, TypeOptions } from "react-toastify";
|
|
4
4
|
|
|
5
5
|
//#region src/components/experimental/client/Toast.d.ts
|
|
@@ -13,7 +13,7 @@ declare const getToastClassName: (toastClassName?: ToastClassName) => (context?:
|
|
|
13
13
|
declare function ToastContainer({
|
|
14
14
|
toastClassName,
|
|
15
15
|
...props
|
|
16
|
-
}: ToastProps):
|
|
16
|
+
}: ToastProps): react_jsx_runtime22.JSX.Element;
|
|
17
17
|
declare namespace ToastContainer {
|
|
18
18
|
var displayName: string;
|
|
19
19
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
3
3
|
import { ToastClassName, ToastContainerProps, ToastOptions, ToastPosition, TypeOptions } from "react-toastify";
|
|
4
4
|
|
|
5
5
|
//#region src/components/experimental/client/Toast.d.ts
|
|
@@ -13,7 +13,7 @@ declare const getToastClassName: (toastClassName?: ToastClassName) => (context?:
|
|
|
13
13
|
declare function ToastContainer({
|
|
14
14
|
toastClassName,
|
|
15
15
|
...props
|
|
16
|
-
}: ToastProps):
|
|
16
|
+
}: ToastProps): react_jsx_runtime21.JSX.Element;
|
|
17
17
|
declare namespace ToastContainer {
|
|
18
18
|
var displayName: string;
|
|
19
19
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ColorMode } from "../tokens/types.cjs";
|
|
2
2
|
import "../tokens/index.cjs";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react30 from "react";
|
|
4
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/providers/ColorModeProvider.d.ts
|
|
7
7
|
interface ColorModeProviderProps extends React.PropsWithChildren {
|
|
8
8
|
value?: ColorMode;
|
|
9
9
|
}
|
|
10
|
-
declare const ColorModeContext:
|
|
10
|
+
declare const ColorModeContext: react30.Context<ColorMode>;
|
|
11
11
|
declare function useColorMode(): ColorMode;
|
|
12
12
|
declare function ColorModeProvider({
|
|
13
13
|
value,
|
|
14
14
|
children
|
|
15
|
-
}: ColorModeProviderProps):
|
|
15
|
+
}: ColorModeProviderProps): react_jsx_runtime2.JSX.Element;
|
|
16
16
|
declare namespace ColorModeProvider {
|
|
17
17
|
var displayName: string;
|
|
18
18
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ColorMode } from "../tokens/types.js";
|
|
2
2
|
import "../tokens/index.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react23 from "react";
|
|
4
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/providers/ColorModeProvider.d.ts
|
|
7
7
|
interface ColorModeProviderProps extends React.PropsWithChildren {
|
|
8
8
|
value?: ColorMode;
|
|
9
9
|
}
|
|
10
|
-
declare const ColorModeContext:
|
|
10
|
+
declare const ColorModeContext: react23.Context<ColorMode>;
|
|
11
11
|
declare function useColorMode(): ColorMode;
|
|
12
12
|
declare function ColorModeProvider({
|
|
13
13
|
value,
|
|
14
14
|
children
|
|
15
|
-
}: ColorModeProviderProps):
|
|
15
|
+
}: ColorModeProviderProps): react_jsx_runtime1.JSX.Element;
|
|
16
16
|
declare namespace ColorModeProvider {
|
|
17
17
|
var displayName: string;
|
|
18
18
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ScaleMode } from "../tokens/types.cjs";
|
|
2
2
|
import "../tokens/index.cjs";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react0 from "react";
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/providers/ScaleModeProvider.d.ts
|
|
7
7
|
interface ScaleModeProviderProps extends React.PropsWithChildren {
|
|
8
8
|
value?: ScaleMode;
|
|
9
9
|
}
|
|
10
|
-
declare const ScaleModeContext:
|
|
10
|
+
declare const ScaleModeContext: react0.Context<ScaleMode>;
|
|
11
11
|
declare function useScaleMode(): ScaleMode;
|
|
12
12
|
declare function ScaleModeProvider({
|
|
13
13
|
value,
|
|
14
14
|
children
|
|
15
|
-
}: ScaleModeProviderProps):
|
|
15
|
+
}: ScaleModeProviderProps): react_jsx_runtime0.JSX.Element;
|
|
16
16
|
declare namespace ScaleModeProvider {
|
|
17
17
|
var displayName: string;
|
|
18
18
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ScaleMode } from "../tokens/types.js";
|
|
2
2
|
import "../tokens/index.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react24 from "react";
|
|
4
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/providers/ScaleModeProvider.d.ts
|
|
7
7
|
interface ScaleModeProviderProps extends React.PropsWithChildren {
|
|
8
8
|
value?: ScaleMode;
|
|
9
9
|
}
|
|
10
|
-
declare const ScaleModeContext:
|
|
10
|
+
declare const ScaleModeContext: react24.Context<ScaleMode>;
|
|
11
11
|
declare function useScaleMode(): ScaleMode;
|
|
12
12
|
declare function ScaleModeProvider({
|
|
13
13
|
value,
|
|
14
14
|
children
|
|
15
|
-
}: ScaleModeProviderProps):
|
|
15
|
+
}: ScaleModeProviderProps): react_jsx_runtime2.JSX.Element;
|
|
16
16
|
declare namespace ScaleModeProvider {
|
|
17
17
|
var displayName: string;
|
|
18
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ColorMode, ScaleMode } from "../tokens/types.js";
|
|
2
2
|
import "../tokens/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/providers/ThemeProvider.d.ts
|
|
6
6
|
interface ThemeProviderProps extends React.PropsWithChildren {
|
|
@@ -11,7 +11,7 @@ declare function ThemeProvider({
|
|
|
11
11
|
children,
|
|
12
12
|
colorMode,
|
|
13
13
|
scaleMode
|
|
14
|
-
}: ThemeProviderProps):
|
|
14
|
+
}: ThemeProviderProps): react_jsx_runtime3.JSX.Element;
|
|
15
15
|
declare namespace ThemeProvider {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|