@yahoo/uds 3.71.0 → 3.72.1
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/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/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/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 +3 -3
- package/dist/components/experimental/client/Toast.d.cts +2 -2
- package/dist/components/experimental/client/Toast.d.ts +2 -2
- package/dist/fixtures.cjs +4 -20
- package/dist/fixtures.d.cts +4 -4
- package/dist/fixtures.d.ts +4 -4
- package/dist/fixtures.js +4 -20
- package/dist/generated/generatedConfigs.cjs +77 -77
- package/dist/generated/generatedConfigs.js +77 -77
- 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 +86 -86
- package/dist/styles/styler.d.ts +86 -86
- 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.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.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/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/tokens/configs/yosConfig.cjs +23 -23
- package/dist/tokens/configs/yosConfig.js +23 -23
- package/dist/utils/intersperse.d.cts +2 -2
- package/dist/utils/intersperse.d.ts +2 -2
- package/package.json +1 -1
- package/cli/FlattenButtonVariant.mock.tsx +0 -17
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime9 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_runtime9.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_runtime9.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_runtime21 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_runtime21.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_runtime21.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_runtime11 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_runtime11.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_runtime11.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_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,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 react36 from "react";
|
|
4
|
+
import * as react_jsx_runtime13 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_runtime13.JSX.Element;
|
|
15
15
|
declare namespace Tabs {
|
|
16
16
|
var displayName: string;
|
|
17
17
|
}
|
|
18
|
-
declare const TabList:
|
|
18
|
+
declare const TabList: react36.ForwardRefExoticComponent<Omit<TabListProps, "ref"> & react36.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_runtime13.JSX.Element;
|
|
26
26
|
displayName: string;
|
|
27
27
|
};
|
|
28
|
-
declare const TabPanel:
|
|
28
|
+
declare const TabPanel: react36.ForwardRefExoticComponent<Omit<TabPanelProps, "ref"> & react36.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
3
|
import * as react55 from "react";
|
|
4
|
-
import * as
|
|
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,7 +11,7 @@ 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
|
}
|
|
@@ -22,7 +22,7 @@ declare const Tab: {
|
|
|
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
28
|
declare const TabPanel: react55.ForwardRefExoticComponent<Omit<TabPanelProps, "ref"> & react55.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime15 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_runtime15.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_runtime18 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_runtime18.JSX.Element;
|
|
17
17
|
declare namespace ToastContainer {
|
|
18
18
|
var displayName: string;
|
|
19
19
|
}
|
package/dist/fixtures.cjs
CHANGED
|
@@ -1484,15 +1484,7 @@ var avatarShapes = [
|
|
|
1484
1484
|
"full"
|
|
1485
1485
|
];
|
|
1486
1486
|
exports.avatarShapes = avatarShapes;
|
|
1487
|
-
var borderRadii = [
|
|
1488
|
-
"sm",
|
|
1489
|
-
"md",
|
|
1490
|
-
"lg",
|
|
1491
|
-
"xl",
|
|
1492
|
-
"none",
|
|
1493
|
-
"xs",
|
|
1494
|
-
"full"
|
|
1495
|
-
];
|
|
1487
|
+
var borderRadii = ["none", "xs", "sm", "md", "lg", "xl", "full"];
|
|
1496
1488
|
exports.borderRadii = borderRadii;
|
|
1497
1489
|
var borderRadiusRamp = {
|
|
1498
1490
|
xSmall: {
|
|
@@ -2244,23 +2236,15 @@ var motionSpringConfigOptions = [
|
|
|
2244
2236
|
"stiffness"
|
|
2245
2237
|
];
|
|
2246
2238
|
exports.motionSpringConfigOptions = motionSpringConfigOptions;
|
|
2247
|
-
var shadowVariants = [
|
|
2248
|
-
"sm",
|
|
2249
|
-
"md",
|
|
2250
|
-
"lg",
|
|
2251
|
-
"xl",
|
|
2252
|
-
"2xl",
|
|
2253
|
-
"none",
|
|
2254
|
-
"xs"
|
|
2255
|
-
];
|
|
2239
|
+
var shadowVariants = ["none", "xs", "sm", "md", "lg", "xl", "2xl"];
|
|
2256
2240
|
exports.shadowVariants = shadowVariants;
|
|
2257
2241
|
var shadowVariantsInvert = [
|
|
2242
|
+
"xs-invert",
|
|
2258
2243
|
"sm-invert",
|
|
2259
2244
|
"md-invert",
|
|
2260
2245
|
"lg-invert",
|
|
2261
2246
|
"xl-invert",
|
|
2262
|
-
"2xl-invert"
|
|
2263
|
-
"xs-invert"
|
|
2247
|
+
"2xl-invert"
|
|
2264
2248
|
];
|
|
2265
2249
|
exports.shadowVariantsInvert = shadowVariantsInvert;
|
|
2266
2250
|
var shadowVariantsWithInvert = [...shadowVariants, ...shadowVariantsInvert];
|
package/dist/fixtures.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AvatarSize, BackgroundPaletteAlias, BadgeSize, BadgeVariant, BorderWidth, ButtonPalette, ButtonSize, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ElevationLevel, FontAlias, FontFamilyCDNUrl, FontWeightDescriptive, ForegroundPaletteAlias, Hue, HueStep, IconButtonSize, IconSize, IconVariant, InputSize, LinePaletteAlias, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, PaletteValue, RegionMode, ScaleEffect, ScaleMode, ShadowColor, ShadowOffset, ShadowPaletteAlias, ShadowSpreadRadius, ShadowVariant, SpacingAlias, SwitchSize, TextDecorationLine, TextProperty, TextTransform, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TShirtSize } from '@yahoo/uds/tokens';
|
|
1
|
+
import type { AvatarSize, BackgroundPaletteAlias, BadgeSize, BadgeVariant, BorderRadius, BorderWidth, ButtonPalette, ButtonSize, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ElevationLevel, FontAlias, FontFamilyCDNUrl, FontWeightDescriptive, ForegroundPaletteAlias, Hue, HueStep, IconButtonSize, IconSize, IconVariant, InputSize, LinePaletteAlias, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, PaletteValue, RegionMode, ScaleEffect, ScaleMode, ShadowColor, ShadowOffset, ShadowPaletteAlias, ShadowSpreadRadius, ShadowVariant, ShadowVariantInvert, SpacingAlias, SwitchSize, TextDecorationLine, TextProperty, TextTransform, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TShirtSize } from '@yahoo/uds/tokens';
|
|
2
2
|
declare const breakpoints: (keyof import("@yahoo/uds/tokens").BreakpointsConfig)[];
|
|
3
3
|
declare const colorModes: ColorMode[];
|
|
4
4
|
declare const scaleModes: ScaleMode[];
|
|
@@ -41,7 +41,7 @@ declare const fontWeights: FontWeightDescriptive[];
|
|
|
41
41
|
declare const textTransforms: TextTransform[];
|
|
42
42
|
declare const avatarSizes: AvatarSize[];
|
|
43
43
|
declare const avatarShapes: TShirtSize[];
|
|
44
|
-
declare const borderRadii:
|
|
44
|
+
declare const borderRadii: BorderRadius[];
|
|
45
45
|
declare const borderRadiusRamp: {
|
|
46
46
|
xSmall: Record<TShirtSize, number>;
|
|
47
47
|
small: Record<TShirtSize, number>;
|
|
@@ -90,8 +90,8 @@ declare const motionVariantSpeeds: MotionVariantSpeed[];
|
|
|
90
90
|
declare const motionSpringConfig: Required<Pick<import("motion/react").Spring, MotionSpringConfigOptions>>[];
|
|
91
91
|
declare const motionSpringConfigOptions: MotionSpringConfigOptions[];
|
|
92
92
|
declare const shadowVariants: ShadowVariant[];
|
|
93
|
-
declare const shadowVariantsInvert:
|
|
94
|
-
declare const shadowVariantsWithInvert: ("
|
|
93
|
+
declare const shadowVariantsInvert: ShadowVariantInvert[];
|
|
94
|
+
declare const shadowVariantsWithInvert: ("xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | ShadowVariant)[];
|
|
95
95
|
declare const checkboxVariants: CheckboxVariant[];
|
|
96
96
|
declare const checkboxSizes: CheckboxSize[];
|
|
97
97
|
declare const switchSizes: SwitchSize[];
|
package/dist/fixtures.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AvatarSize, BackgroundPaletteAlias, BadgeSize, BadgeVariant, BorderWidth, ButtonPalette, ButtonSize, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ElevationLevel, FontAlias, FontFamilyCDNUrl, FontWeightDescriptive, ForegroundPaletteAlias, Hue, HueStep, IconButtonSize, IconSize, IconVariant, InputSize, LinePaletteAlias, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, PaletteValue, RegionMode, ScaleEffect, ScaleMode, ShadowColor, ShadowOffset, ShadowPaletteAlias, ShadowSpreadRadius, ShadowVariant, SpacingAlias, SwitchSize, TextDecorationLine, TextProperty, TextTransform, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TShirtSize } from '@yahoo/uds/tokens';
|
|
1
|
+
import type { AvatarSize, BackgroundPaletteAlias, BadgeSize, BadgeVariant, BorderRadius, BorderWidth, ButtonPalette, ButtonSize, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ElevationLevel, FontAlias, FontFamilyCDNUrl, FontWeightDescriptive, ForegroundPaletteAlias, Hue, HueStep, IconButtonSize, IconSize, IconVariant, InputSize, LinePaletteAlias, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, PaletteValue, RegionMode, ScaleEffect, ScaleMode, ShadowColor, ShadowOffset, ShadowPaletteAlias, ShadowSpreadRadius, ShadowVariant, ShadowVariantInvert, SpacingAlias, SwitchSize, TextDecorationLine, TextProperty, TextTransform, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TShirtSize } from '@yahoo/uds/tokens';
|
|
2
2
|
declare const breakpoints: (keyof import("@yahoo/uds/tokens").BreakpointsConfig)[];
|
|
3
3
|
declare const colorModes: ColorMode[];
|
|
4
4
|
declare const scaleModes: ScaleMode[];
|
|
@@ -41,7 +41,7 @@ declare const fontWeights: FontWeightDescriptive[];
|
|
|
41
41
|
declare const textTransforms: TextTransform[];
|
|
42
42
|
declare const avatarSizes: AvatarSize[];
|
|
43
43
|
declare const avatarShapes: TShirtSize[];
|
|
44
|
-
declare const borderRadii:
|
|
44
|
+
declare const borderRadii: BorderRadius[];
|
|
45
45
|
declare const borderRadiusRamp: {
|
|
46
46
|
xSmall: Record<TShirtSize, number>;
|
|
47
47
|
small: Record<TShirtSize, number>;
|
|
@@ -90,8 +90,8 @@ declare const motionVariantSpeeds: MotionVariantSpeed[];
|
|
|
90
90
|
declare const motionSpringConfig: Required<Pick<import("motion/react").Spring, MotionSpringConfigOptions>>[];
|
|
91
91
|
declare const motionSpringConfigOptions: MotionSpringConfigOptions[];
|
|
92
92
|
declare const shadowVariants: ShadowVariant[];
|
|
93
|
-
declare const shadowVariantsInvert:
|
|
94
|
-
declare const shadowVariantsWithInvert: ("
|
|
93
|
+
declare const shadowVariantsInvert: ShadowVariantInvert[];
|
|
94
|
+
declare const shadowVariantsWithInvert: ("xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | ShadowVariant)[];
|
|
95
95
|
declare const checkboxVariants: CheckboxVariant[];
|
|
96
96
|
declare const checkboxSizes: CheckboxSize[];
|
|
97
97
|
declare const switchSizes: SwitchSize[];
|
package/dist/fixtures.js
CHANGED
|
@@ -1443,15 +1443,7 @@ var avatarShapes = [
|
|
|
1443
1443
|
"xs",
|
|
1444
1444
|
"full"
|
|
1445
1445
|
];
|
|
1446
|
-
var borderRadii = [
|
|
1447
|
-
"sm",
|
|
1448
|
-
"md",
|
|
1449
|
-
"lg",
|
|
1450
|
-
"xl",
|
|
1451
|
-
"none",
|
|
1452
|
-
"xs",
|
|
1453
|
-
"full"
|
|
1454
|
-
];
|
|
1446
|
+
var borderRadii = ["none", "xs", "sm", "md", "lg", "xl", "full"];
|
|
1455
1447
|
var borderRadiusRamp = {
|
|
1456
1448
|
xSmall: {
|
|
1457
1449
|
none: 0,
|
|
@@ -2172,22 +2164,14 @@ var motionSpringConfigOptions = [
|
|
|
2172
2164
|
"damping",
|
|
2173
2165
|
"stiffness"
|
|
2174
2166
|
];
|
|
2175
|
-
var shadowVariants = [
|
|
2176
|
-
"sm",
|
|
2177
|
-
"md",
|
|
2178
|
-
"lg",
|
|
2179
|
-
"xl",
|
|
2180
|
-
"2xl",
|
|
2181
|
-
"none",
|
|
2182
|
-
"xs"
|
|
2183
|
-
];
|
|
2167
|
+
var shadowVariants = ["none", "xs", "sm", "md", "lg", "xl", "2xl"];
|
|
2184
2168
|
var shadowVariantsInvert = [
|
|
2169
|
+
"xs-invert",
|
|
2185
2170
|
"sm-invert",
|
|
2186
2171
|
"md-invert",
|
|
2187
2172
|
"lg-invert",
|
|
2188
2173
|
"xl-invert",
|
|
2189
|
-
"2xl-invert"
|
|
2190
|
-
"xs-invert"
|
|
2174
|
+
"2xl-invert"
|
|
2191
2175
|
];
|
|
2192
2176
|
var shadowVariantsWithInvert = [...shadowVariants, ...shadowVariantsInvert];
|
|
2193
2177
|
var checkboxVariants = [
|