@yahoo/uds 3.70.0-beta.1 → 3.70.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/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/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/FormLabel.d.cts +2 -2
- package/dist/components/FormLabel.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.cts +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/Checkbox.d.cts +1 -1
- package/dist/components/client/Checkbox.d.ts +1 -1
- 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.cts +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.cts +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/Tabs.d.cts +6 -6
- package/dist/components/experimental/client/Toast.d.cts +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.cts +2 -2
- package/dist/providers/ThemeProvider.d.ts +2 -2
- package/dist/styles/styler.d.cts +78 -78
- package/dist/styles/styler.d.ts +78 -78
- 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.ts +3 -3
- package/dist/tailwind/plugins/elevation.d.cts +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.ts +3 -3
- package/dist/tailwind/plugins/shadows.d.ts +3 -3
- package/dist/tailwind/plugins/sizing.d.ts +3 -3
- package/dist/tailwind/plugins/spacing.d.ts +3 -3
- package/dist/tailwind/plugins/typography.d.cts +3 -3
- package/dist/tailwind/tailwind.config.d.cts +3 -3
- package/dist/tailwind/tailwind.config.d.ts +3 -3
- package/dist/tailwind/tailwindPlugin.d.cts +3 -3
- package/dist/tailwind/tailwindPlugin.d.ts +3 -3
- package/dist/tailwind/utils/addFontsPlugin.d.cts +3 -3
- package/dist/tailwind/utils/addFontsPlugin.d.ts +3 -3
- package/dist/tailwind/utils/composeTailwindPlugins.d.cts +3 -3
- package/dist/tailwind/utils/composeTailwindPlugins.d.ts +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/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 +2 -2
- package/cli/FlattenButtonVariant.mock.tsx +0 -17
|
@@ -4,7 +4,7 @@ import { BoxProps } from "../Box.js";
|
|
|
4
4
|
import { TextProps } from "../Text.js";
|
|
5
5
|
import "../index.js";
|
|
6
6
|
import React, { HTMLAttributes, TableHTMLAttributes, TdHTMLAttributes } from "react";
|
|
7
|
-
import * as
|
|
7
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
8
8
|
|
|
9
9
|
//#region src/components/experimental/Table.d.ts
|
|
10
10
|
/**
|
|
@@ -55,7 +55,7 @@ declare function Table<T>({
|
|
|
55
55
|
data,
|
|
56
56
|
columns,
|
|
57
57
|
...props
|
|
58
|
-
}: TableProps<T>):
|
|
58
|
+
}: TableProps<T>): react_jsx_runtime14.JSX.Element;
|
|
59
59
|
declare namespace Table {
|
|
60
60
|
var Root: React.ForwardRefExoticComponent<TableHTMLAttributes<HTMLTableElement> & BoxProps & {
|
|
61
61
|
/** Sets whether an element is treated as a block or inline box and the
|
|
@@ -2,7 +2,7 @@ import { TextProps } from "../../Text.cjs";
|
|
|
2
2
|
import { VStackProps } from "../../VStack.cjs";
|
|
3
3
|
import { PressableProps } from "../../client/Pressable.cjs";
|
|
4
4
|
import "../../index.cjs";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/experimental/client/Accordion.d.ts
|
|
8
8
|
interface AccordionProps extends PressableProps {
|
|
@@ -22,7 +22,7 @@ declare function Accordion({
|
|
|
22
22
|
className,
|
|
23
23
|
textProps,
|
|
24
24
|
...props
|
|
25
|
-
}: AccordionProps):
|
|
25
|
+
}: AccordionProps): react_jsx_runtime6.JSX.Element;
|
|
26
26
|
declare namespace Accordion {
|
|
27
27
|
var displayName: string;
|
|
28
28
|
}
|
|
@@ -2,7 +2,7 @@ import { TextProps } from "../../Text.js";
|
|
|
2
2
|
import { VStackProps } from "../../VStack.js";
|
|
3
3
|
import { PressableProps } from "../../client/Pressable.js";
|
|
4
4
|
import "../../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/experimental/client/Accordion.d.ts
|
|
8
8
|
interface AccordionProps extends PressableProps {
|
|
@@ -22,7 +22,7 @@ declare function Accordion({
|
|
|
22
22
|
className,
|
|
23
23
|
textProps,
|
|
24
24
|
...props
|
|
25
|
-
}: AccordionProps):
|
|
25
|
+
}: AccordionProps): react_jsx_runtime17.JSX.Element;
|
|
26
26
|
declare namespace Accordion {
|
|
27
27
|
var displayName: string;
|
|
28
28
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react17 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/experimental/client/AvoidMotionLibraryProvider.d.ts
|
|
4
|
-
declare const AvoidMotionLibraryProvider:
|
|
4
|
+
declare const AvoidMotionLibraryProvider: react17.Provider<boolean>;
|
|
5
5
|
declare const useAvoidMotionLibrary: () => boolean;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { AvoidMotionLibraryProvider, useAvoidMotionLibrary };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react46 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/experimental/client/AvoidMotionLibraryProvider.d.ts
|
|
4
|
-
declare const AvoidMotionLibraryProvider:
|
|
4
|
+
declare const AvoidMotionLibraryProvider: react46.Provider<boolean>;
|
|
5
5
|
declare const useAvoidMotionLibrary: () => boolean;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { AvoidMotionLibraryProvider, useAvoidMotionLibrary };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime7 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_runtime7.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_runtime7.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_runtime12 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_runtime12.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_runtime12.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_runtime9 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_runtime9.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_runtime9.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 react18 from "react";
|
|
4
|
+
import * as react_jsx_runtime11 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_runtime11.JSX.Element;
|
|
15
15
|
declare namespace Tabs {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|
|
18
|
-
declare const TabList:
|
|
18
|
+
declare const TabList: react18.ForwardRefExoticComponent<Omit<TabListProps, "ref"> & react18.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_runtime11.JSX.Element;
|
|
26
26
|
displayName: string;
|
|
27
27
|
};
|
|
28
|
-
declare const TabPanel:
|
|
28
|
+
declare const TabPanel: react18.ForwardRefExoticComponent<Omit<TabPanelProps, "ref"> & react18.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_runtime13 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_runtime13.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 react44 from "react";
|
|
4
|
+
import * as react_jsx_runtime16 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: react44.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_runtime16.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 react38 from "react";
|
|
4
|
+
import * as react_jsx_runtime8 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: react38.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_runtime8.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 react45 from "react";
|
|
4
|
+
import * as react_jsx_runtime17 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: react45.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_runtime17.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 react39 from "react";
|
|
4
|
+
import * as react_jsx_runtime9 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: react39.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_runtime9.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.cjs";
|
|
2
2
|
import "../tokens/index.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime18 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_runtime18.JSX.Element;
|
|
15
15
|
declare namespace ThemeProvider {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|
|
@@ -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_runtime10 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_runtime10.JSX.Element;
|
|
15
15
|
declare namespace ThemeProvider {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|