@yahoo/uds 3.70.0 → 3.72.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/FlattenButtonVariant.mock.tsx +17 -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.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.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/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/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/fixtures.d.cts +1 -1
- package/dist/fixtures.d.ts +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.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.cts +2 -2
- package/dist/providers/ThemeProvider.d.ts +2 -2
- package/dist/styles/styler.d.cts +35 -35
- package/dist/styles/styler.d.ts +35 -35
- package/dist/tailwind/plugins/a11y.d.cts +3 -3
- package/dist/tailwind/plugins/borders.d.cts +3 -3
- package/dist/tailwind/plugins/colors.d.cts +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/plugins/typography.d.ts +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/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/tokens/index.d.cts +2 -2
- package/dist/tokens/index.d.ts +2 -2
- package/dist/tokens/parseTokens.cjs +7 -1
- package/dist/tokens/parseTokens.js +7 -1
- package/dist/tokens/types.d.cts +3 -2
- package/dist/tokens/types.d.ts +3 -2
- package/dist/utils/intersperse.d.cts +2 -2
- package/dist/utils/intersperse.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Button, HStack, IconButton } from '@yahoo/uds';
|
|
2
|
+
import { Cross } from '@yahoo/uds-icons';
|
|
3
|
+
|
|
4
|
+
export const PageA = () => {
|
|
5
|
+
return (
|
|
6
|
+
<HStack>
|
|
7
|
+
<Button variant="brand-secondary">Click me</Button><IconButton name={Cross} />
|
|
8
|
+
<Button variant="primary">Click me</Button><IconButton name={Cross} variant="primary" />
|
|
9
|
+
<Button variant="secondary">Click me</Button><IconButton name={Cross} variant="brand" />
|
|
10
|
+
<Button variant="warning-tertiary">Click me</Button><IconButton name={Cross} variant="brand-tertiary" />
|
|
11
|
+
<Button>Click me</Button><IconButton name={Cross} />
|
|
12
|
+
<Button variant="tertiary">Click me</Button><IconButton name={Cross} variant="brand-tertiary" />
|
|
13
|
+
<Button variant="secondary">Click me</Button><IconButton name={Cross} variant="secondary" />
|
|
14
|
+
<Button variant="tertiary">Click me</Button><IconButton name={Cross} variant="tertiary" />
|
|
15
|
+
</HStack>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UniversalBoxProps } from "../tokens/types.cjs";
|
|
2
2
|
import "../tokens/index.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react1 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Box.d.ts
|
|
6
6
|
type DivProps = React.HTMLAttributes<HTMLDivElement>;
|
|
@@ -30,6 +30,6 @@ interface BoxProps extends UniversalBoxProps, DivProps {}
|
|
|
30
30
|
*
|
|
31
31
|
* @related [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
|
32
32
|
*/
|
|
33
|
-
declare const Box:
|
|
33
|
+
declare const Box: react1.ForwardRefExoticComponent<BoxProps & react1.RefAttributes<HTMLDivElement>>;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { Box, type BoxProps, type DivProps };
|
package/dist/components/Box.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UniversalBoxProps } from "../tokens/types.js";
|
|
2
2
|
import "../tokens/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react2 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Box.d.ts
|
|
6
6
|
type DivProps = React.HTMLAttributes<HTMLDivElement>;
|
|
@@ -30,6 +30,6 @@ interface BoxProps extends UniversalBoxProps, DivProps {}
|
|
|
30
30
|
*
|
|
31
31
|
* @related [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
|
32
32
|
*/
|
|
33
|
-
declare const Box:
|
|
33
|
+
declare const Box: react2.ForwardRefExoticComponent<BoxProps & react2.RefAttributes<HTMLDivElement>>;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { Box, type BoxProps, type DivProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DividerInternalProps } from "./DividerInternal.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react48 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Divider/Divider.d.ts
|
|
5
5
|
type DividerProps = Omit<DividerInternalProps, 'layerClassNames'>;
|
|
@@ -33,6 +33,6 @@ type DividerProps = Omit<DividerInternalProps, 'layerClassNames'>;
|
|
|
33
33
|
*
|
|
34
34
|
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
|
35
35
|
*/
|
|
36
|
-
declare const Divider:
|
|
36
|
+
declare const Divider: react48.ForwardRefExoticComponent<DividerProps & react48.RefAttributes<HTMLDivElement>>;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Divider, type DividerProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DividerInternalProps } from "./DividerInternal.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react37 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Divider/Divider.d.ts
|
|
5
5
|
type DividerProps = Omit<DividerInternalProps, 'layerClassNames'>;
|
|
@@ -33,6 +33,6 @@ type DividerProps = Omit<DividerInternalProps, 'layerClassNames'>;
|
|
|
33
33
|
*
|
|
34
34
|
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
|
35
35
|
*/
|
|
36
|
-
declare const Divider:
|
|
36
|
+
declare const Divider: react37.ForwardRefExoticComponent<DividerProps & react37.RefAttributes<HTMLDivElement>>;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Divider, type DividerProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UniversalDividerProps, UniversalStackProps } from "../../tokens/types.cjs";
|
|
2
2
|
import { BoxProps } from "../Box.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react50 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Divider/DividerCore.d.ts
|
|
6
6
|
interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
|
|
@@ -10,6 +10,6 @@ interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'bor
|
|
|
10
10
|
line?: string;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
declare const DividerCore:
|
|
13
|
+
declare const DividerCore: react50.ForwardRefExoticComponent<DividerCoreProps & react50.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { DividerCore, type DividerCoreProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UniversalDividerProps, UniversalStackProps } from "../../tokens/types.js";
|
|
2
2
|
import { BoxProps } from "../Box.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react33 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Divider/DividerCore.d.ts
|
|
6
6
|
interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
|
|
@@ -10,6 +10,6 @@ interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'bor
|
|
|
10
10
|
line?: string;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
declare const DividerCore:
|
|
13
|
+
declare const DividerCore: react33.ForwardRefExoticComponent<DividerCoreProps & react33.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { DividerCore, type DividerCoreProps };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { UniversalDividerProps } from "../../tokens/types.cjs";
|
|
2
2
|
import { DividerCoreProps } from "./DividerCore.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react52 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Divider/DividerInternal.d.ts
|
|
6
6
|
type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
|
|
7
7
|
interface DividerInternalProps extends DividerCoreProps {
|
|
8
8
|
variant?: VariantWithInherit;
|
|
9
9
|
}
|
|
10
|
-
declare const DividerInternal:
|
|
10
|
+
declare const DividerInternal: react52.ForwardRefExoticComponent<DividerInternalProps & react52.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { DividerInternal, type DividerInternalProps };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { UniversalDividerProps } from "../../tokens/types.js";
|
|
2
2
|
import { DividerCoreProps } from "./DividerCore.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react35 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Divider/DividerInternal.d.ts
|
|
6
6
|
type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
|
|
7
7
|
interface DividerInternalProps extends DividerCoreProps {
|
|
8
8
|
variant?: VariantWithInherit;
|
|
9
9
|
}
|
|
10
|
-
declare const DividerInternal:
|
|
10
|
+
declare const DividerInternal: react35.ForwardRefExoticComponent<DividerInternalProps & react35.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { DividerInternal, type DividerInternalProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UniversalFormLabelProps } from "../tokens/types.cjs";
|
|
2
2
|
import "../tokens/index.cjs";
|
|
3
3
|
import { PropsWithChildren } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/FormLabel.d.ts
|
|
7
7
|
type HtmlLabelProps = Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'color'>;
|
|
@@ -19,7 +19,7 @@ declare const FormLabel: {
|
|
|
19
19
|
as,
|
|
20
20
|
className,
|
|
21
21
|
...rest
|
|
22
|
-
}: FormLabelProps):
|
|
22
|
+
}: FormLabelProps): react_jsx_runtime2.JSX.Element | null;
|
|
23
23
|
displayName: string;
|
|
24
24
|
};
|
|
25
25
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UniversalFormLabelProps } from "../tokens/types.js";
|
|
2
2
|
import "../tokens/index.js";
|
|
3
3
|
import { PropsWithChildren } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/FormLabel.d.ts
|
|
7
7
|
type HtmlLabelProps = Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'color'>;
|
|
@@ -19,7 +19,7 @@ declare const FormLabel: {
|
|
|
19
19
|
as,
|
|
20
20
|
className,
|
|
21
21
|
...rest
|
|
22
|
-
}: FormLabelProps):
|
|
22
|
+
}: FormLabelProps): react_jsx_runtime3.JSX.Element | null;
|
|
23
23
|
displayName: string;
|
|
24
24
|
};
|
|
25
25
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UniversalStackProps } from "../tokens/types.cjs";
|
|
2
2
|
import "../tokens/index.cjs";
|
|
3
3
|
import { DivProps } from "./Box.cjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react4 from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/HStack.d.ts
|
|
7
7
|
interface HStackProps extends UniversalStackProps, DivProps {}
|
|
@@ -34,6 +34,6 @@ interface HStackProps extends UniversalStackProps, DivProps {}
|
|
|
34
34
|
*
|
|
35
35
|
* @related [Box](https://uds.build/docs/components/box), [VStack](https://uds.build/docs/components/v-stack)
|
|
36
36
|
**/
|
|
37
|
-
declare const HStack:
|
|
37
|
+
declare const HStack: react4.ForwardRefExoticComponent<HStackProps & react4.RefAttributes<HTMLDivElement>>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { HStack, type HStackProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UniversalStackProps } from "../tokens/types.js";
|
|
2
2
|
import "../tokens/index.js";
|
|
3
3
|
import { DivProps } from "./Box.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react4 from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/HStack.d.ts
|
|
7
7
|
interface HStackProps extends UniversalStackProps, DivProps {}
|
|
@@ -34,6 +34,6 @@ interface HStackProps extends UniversalStackProps, DivProps {}
|
|
|
34
34
|
*
|
|
35
35
|
* @related [Box](https://uds.build/docs/components/box), [VStack](https://uds.build/docs/components/v-stack)
|
|
36
36
|
**/
|
|
37
|
-
declare const HStack:
|
|
37
|
+
declare const HStack: react4.ForwardRefExoticComponent<HStackProps & react4.RefAttributes<HTMLDivElement>>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { HStack, type HStackProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IconPropsWithSVGProps } from "../tokens/types.cjs";
|
|
2
2
|
import "../tokens/index.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react6 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Icon.d.ts
|
|
6
6
|
|
|
@@ -33,6 +33,6 @@ import * as react24 from "react";
|
|
|
33
33
|
*
|
|
34
34
|
* @related [IconButton](https://uds.build/docs/components/icon-button)
|
|
35
35
|
*/
|
|
36
|
-
declare const Icon:
|
|
36
|
+
declare const Icon: react6.ForwardRefExoticComponent<IconPropsWithSVGProps & react6.RefAttributes<SVGSVGElement>>;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Icon, type IconPropsWithSVGProps as IconProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IconPropsWithSVGProps } from "../tokens/types.js";
|
|
2
2
|
import "../tokens/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react6 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Icon.d.ts
|
|
6
6
|
|
|
@@ -33,6 +33,6 @@ import * as react13 from "react";
|
|
|
33
33
|
*
|
|
34
34
|
* @related [IconButton](https://uds.build/docs/components/icon-button)
|
|
35
35
|
*/
|
|
36
|
-
declare const Icon:
|
|
36
|
+
declare const Icon: react6.ForwardRefExoticComponent<IconPropsWithSVGProps & react6.RefAttributes<SVGSVGElement>>;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Icon, type IconPropsWithSVGProps as IconProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ImagePropsWithImgProps } from "../tokens/types.cjs";
|
|
2
2
|
import "../tokens/index.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Image.d.ts
|
|
6
6
|
|
|
@@ -83,7 +83,7 @@ declare function Image({
|
|
|
83
83
|
columnGap,
|
|
84
84
|
rowGap,
|
|
85
85
|
...props
|
|
86
|
-
}: ImagePropsWithImgProps):
|
|
86
|
+
}: ImagePropsWithImgProps): react_jsx_runtime3.JSX.Element;
|
|
87
87
|
declare namespace Image {
|
|
88
88
|
var displayName: string;
|
|
89
89
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ImagePropsWithImgProps } from "../tokens/types.js";
|
|
2
2
|
import "../tokens/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Image.d.ts
|
|
6
6
|
|
|
@@ -83,7 +83,7 @@ declare function Image({
|
|
|
83
83
|
columnGap,
|
|
84
84
|
rowGap,
|
|
85
85
|
...props
|
|
86
|
-
}: ImagePropsWithImgProps):
|
|
86
|
+
}: ImagePropsWithImgProps): react_jsx_runtime4.JSX.Element;
|
|
87
87
|
declare namespace Image {
|
|
88
88
|
var displayName: string;
|
|
89
89
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UniversalLinkProps } from "../tokens/types.cjs";
|
|
2
2
|
import "../tokens/index.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react0 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Link.d.ts
|
|
6
6
|
type HTMLAnchorProps = React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
@@ -40,6 +40,6 @@ interface LinkProps extends HTMLAnchorProps, UniversalLinkProps {
|
|
|
40
40
|
* <Link href="https://yahoo.com" target="_blank" endIcon={LinkIcon} />
|
|
41
41
|
*```
|
|
42
42
|
**/
|
|
43
|
-
declare const Link:
|
|
43
|
+
declare const Link: react0.ForwardRefExoticComponent<LinkProps & react0.RefAttributes<HTMLAnchorElement>>;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { Link, type LinkProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UniversalLinkProps } from "../tokens/types.js";
|
|
2
2
|
import "../tokens/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react8 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Link.d.ts
|
|
6
6
|
type HTMLAnchorProps = React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
@@ -40,6 +40,6 @@ interface LinkProps extends HTMLAnchorProps, UniversalLinkProps {
|
|
|
40
40
|
* <Link href="https://yahoo.com" target="_blank" endIcon={LinkIcon} />
|
|
41
41
|
*```
|
|
42
42
|
**/
|
|
43
|
-
declare const Link:
|
|
43
|
+
declare const Link: react8.ForwardRefExoticComponent<LinkProps & react8.RefAttributes<HTMLAnchorElement>>;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { Link, type LinkProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UniversalTextProps } from "../tokens/types.cjs";
|
|
2
2
|
import "../tokens/index.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react8 from "react";
|
|
4
4
|
import { Ref } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Text.d.ts
|
|
@@ -43,48 +43,48 @@ type TextProps<TagName extends TextElementTagName = TextElementTagName> = {
|
|
|
43
43
|
*
|
|
44
44
|
* @see The {@link https://uds.build/docs/components/text Text Docs} for more info
|
|
45
45
|
*/
|
|
46
|
-
declare const Text:
|
|
46
|
+
declare const Text: react8.ForwardRefExoticComponent<(Omit<{
|
|
47
47
|
/** Ref passed to the inner container. */
|
|
48
48
|
ref?: Ref<HTMLElement>;
|
|
49
49
|
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
50
50
|
as?: TextElementTagName | undefined;
|
|
51
51
|
variant?: VariantWithInherit;
|
|
52
52
|
color?: ColorWithInherit;
|
|
53
|
-
} &
|
|
53
|
+
} & react8.ClassAttributes<HTMLLabelElement> & react8.LabelHTMLAttributes<HTMLLabelElement> & Omit<UniversalTextProps, "color" | "variant">, "ref"> | Omit<{
|
|
54
54
|
/** Ref passed to the inner container. */
|
|
55
55
|
ref?: Ref<HTMLElement>;
|
|
56
56
|
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
57
57
|
as?: TextElementTagName | undefined;
|
|
58
58
|
variant?: VariantWithInherit;
|
|
59
59
|
color?: ColorWithInherit;
|
|
60
|
-
} &
|
|
60
|
+
} & react8.ClassAttributes<HTMLElement> & react8.HTMLAttributes<HTMLElement> & Omit<UniversalTextProps, "color" | "variant">, "ref"> | Omit<{
|
|
61
61
|
/** Ref passed to the inner container. */
|
|
62
62
|
ref?: Ref<HTMLElement>;
|
|
63
63
|
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
64
64
|
as?: TextElementTagName | undefined;
|
|
65
65
|
variant?: VariantWithInherit;
|
|
66
66
|
color?: ColorWithInherit;
|
|
67
|
-
} &
|
|
67
|
+
} & react8.ClassAttributes<HTMLHeadingElement> & react8.HTMLAttributes<HTMLHeadingElement> & Omit<UniversalTextProps, "color" | "variant">, "ref"> | Omit<{
|
|
68
68
|
/** Ref passed to the inner container. */
|
|
69
69
|
ref?: Ref<HTMLElement>;
|
|
70
70
|
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
71
71
|
as?: TextElementTagName | undefined;
|
|
72
72
|
variant?: VariantWithInherit;
|
|
73
73
|
color?: ColorWithInherit;
|
|
74
|
-
} &
|
|
74
|
+
} & react8.ClassAttributes<HTMLParagraphElement> & react8.HTMLAttributes<HTMLParagraphElement> & Omit<UniversalTextProps, "color" | "variant">, "ref"> | Omit<{
|
|
75
75
|
/** Ref passed to the inner container. */
|
|
76
76
|
ref?: Ref<HTMLElement>;
|
|
77
77
|
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
78
78
|
as?: TextElementTagName | undefined;
|
|
79
79
|
variant?: VariantWithInherit;
|
|
80
80
|
color?: ColorWithInherit;
|
|
81
|
-
} &
|
|
81
|
+
} & react8.ClassAttributes<HTMLSpanElement> & react8.HTMLAttributes<HTMLSpanElement> & Omit<UniversalTextProps, "color" | "variant">, "ref"> | Omit<{
|
|
82
82
|
/** Ref passed to the inner container. */
|
|
83
83
|
ref?: Ref<HTMLElement>;
|
|
84
84
|
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
85
85
|
as?: TextElementTagName | undefined;
|
|
86
86
|
variant?: VariantWithInherit;
|
|
87
87
|
color?: ColorWithInherit;
|
|
88
|
-
} &
|
|
88
|
+
} & react8.ClassAttributes<HTMLLIElement> & react8.LiHTMLAttributes<HTMLLIElement> & Omit<UniversalTextProps, "color" | "variant">, "ref">) & react8.RefAttributes<HTMLElement>>;
|
|
89
89
|
//#endregion
|
|
90
90
|
export { Text, type TextProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UniversalTextProps } from "../tokens/types.js";
|
|
2
2
|
import "../tokens/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react10 from "react";
|
|
4
4
|
import { Ref } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Text.d.ts
|
|
@@ -43,48 +43,48 @@ type TextProps<TagName extends TextElementTagName = TextElementTagName> = {
|
|
|
43
43
|
*
|
|
44
44
|
* @see The {@link https://uds.build/docs/components/text Text Docs} for more info
|
|
45
45
|
*/
|
|
46
|
-
declare const Text:
|
|
46
|
+
declare const Text: react10.ForwardRefExoticComponent<(Omit<{
|
|
47
47
|
/** Ref passed to the inner container. */
|
|
48
48
|
ref?: Ref<HTMLElement>;
|
|
49
49
|
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
50
50
|
as?: TextElementTagName | undefined;
|
|
51
51
|
variant?: VariantWithInherit;
|
|
52
52
|
color?: ColorWithInherit;
|
|
53
|
-
} &
|
|
53
|
+
} & react10.ClassAttributes<HTMLLabelElement> & react10.LabelHTMLAttributes<HTMLLabelElement> & Omit<UniversalTextProps, "color" | "variant">, "ref"> | Omit<{
|
|
54
54
|
/** Ref passed to the inner container. */
|
|
55
55
|
ref?: Ref<HTMLElement>;
|
|
56
56
|
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
57
57
|
as?: TextElementTagName | undefined;
|
|
58
58
|
variant?: VariantWithInherit;
|
|
59
59
|
color?: ColorWithInherit;
|
|
60
|
-
} &
|
|
60
|
+
} & react10.ClassAttributes<HTMLElement> & react10.HTMLAttributes<HTMLElement> & Omit<UniversalTextProps, "color" | "variant">, "ref"> | Omit<{
|
|
61
61
|
/** Ref passed to the inner container. */
|
|
62
62
|
ref?: Ref<HTMLElement>;
|
|
63
63
|
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
64
64
|
as?: TextElementTagName | undefined;
|
|
65
65
|
variant?: VariantWithInherit;
|
|
66
66
|
color?: ColorWithInherit;
|
|
67
|
-
} &
|
|
67
|
+
} & react10.ClassAttributes<HTMLHeadingElement> & react10.HTMLAttributes<HTMLHeadingElement> & Omit<UniversalTextProps, "color" | "variant">, "ref"> | Omit<{
|
|
68
68
|
/** Ref passed to the inner container. */
|
|
69
69
|
ref?: Ref<HTMLElement>;
|
|
70
70
|
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
71
71
|
as?: TextElementTagName | undefined;
|
|
72
72
|
variant?: VariantWithInherit;
|
|
73
73
|
color?: ColorWithInherit;
|
|
74
|
-
} &
|
|
74
|
+
} & react10.ClassAttributes<HTMLParagraphElement> & react10.HTMLAttributes<HTMLParagraphElement> & Omit<UniversalTextProps, "color" | "variant">, "ref"> | Omit<{
|
|
75
75
|
/** Ref passed to the inner container. */
|
|
76
76
|
ref?: Ref<HTMLElement>;
|
|
77
77
|
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
78
78
|
as?: TextElementTagName | undefined;
|
|
79
79
|
variant?: VariantWithInherit;
|
|
80
80
|
color?: ColorWithInherit;
|
|
81
|
-
} &
|
|
81
|
+
} & react10.ClassAttributes<HTMLSpanElement> & react10.HTMLAttributes<HTMLSpanElement> & Omit<UniversalTextProps, "color" | "variant">, "ref"> | Omit<{
|
|
82
82
|
/** Ref passed to the inner container. */
|
|
83
83
|
ref?: Ref<HTMLElement>;
|
|
84
84
|
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
85
85
|
as?: TextElementTagName | undefined;
|
|
86
86
|
variant?: VariantWithInherit;
|
|
87
87
|
color?: ColorWithInherit;
|
|
88
|
-
} &
|
|
88
|
+
} & react10.ClassAttributes<HTMLLIElement> & react10.LiHTMLAttributes<HTMLLIElement> & Omit<UniversalTextProps, "color" | "variant">, "ref">) & react10.RefAttributes<HTMLElement>>;
|
|
89
89
|
//#endregion
|
|
90
90
|
export { Text, type TextProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UniversalStackProps } from "../tokens/types.cjs";
|
|
2
2
|
import "../tokens/index.cjs";
|
|
3
3
|
import { DivProps } from "./Box.cjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react22 from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/VStack.d.ts
|
|
7
7
|
type VStackProps = UniversalStackProps & DivProps;
|
|
@@ -34,6 +34,6 @@ type VStackProps = UniversalStackProps & DivProps;
|
|
|
34
34
|
*
|
|
35
35
|
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack)
|
|
36
36
|
**/
|
|
37
|
-
declare const VStack:
|
|
37
|
+
declare const VStack: react22.ForwardRefExoticComponent<UniversalStackProps & DivProps & react22.RefAttributes<HTMLDivElement>>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { VStack, type VStackProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UniversalStackProps } from "../tokens/types.js";
|
|
2
2
|
import "../tokens/index.js";
|
|
3
3
|
import { DivProps } from "./Box.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react24 from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/VStack.d.ts
|
|
7
7
|
type VStackProps = UniversalStackProps & DivProps;
|
|
@@ -34,6 +34,6 @@ type VStackProps = UniversalStackProps & DivProps;
|
|
|
34
34
|
*
|
|
35
35
|
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack)
|
|
36
36
|
**/
|
|
37
|
-
declare const VStack:
|
|
37
|
+
declare const VStack: react24.ForwardRefExoticComponent<UniversalStackProps & DivProps & react24.RefAttributes<HTMLDivElement>>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { VStack, type VStackProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SpringMotionConfigProps } from "./SpringMotionConfig.cjs";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
3
|
import { MotionConfigProps } from "motion/react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/client/AnimateHeightChange.d.ts
|
|
7
7
|
interface AnimateHeightChangeProps extends PropsWithChildren {
|
|
@@ -13,7 +13,7 @@ declare const AnimateHeightChange: {
|
|
|
13
13
|
children,
|
|
14
14
|
reduceMotion,
|
|
15
15
|
layoutVariant
|
|
16
|
-
}: AnimateHeightChangeProps):
|
|
16
|
+
}: AnimateHeightChangeProps): react_jsx_runtime1.JSX.Element;
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
19
19
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpringMotionConfigProps } from "./SpringMotionConfig.js";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
4
4
|
import { MotionConfigProps } from "motion/react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/client/AnimateHeightChange.d.ts
|
|
@@ -13,7 +13,7 @@ declare const AnimateHeightChange: {
|
|
|
13
13
|
children,
|
|
14
14
|
reduceMotion,
|
|
15
15
|
layoutVariant
|
|
16
|
-
}: AnimateHeightChangeProps):
|
|
16
|
+
}: AnimateHeightChangeProps): react_jsx_runtime7.JSX.Element;
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
19
19
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarImageProps } from "./AvatarImage.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/client/Avatar/Avatar.d.ts
|
|
5
5
|
type AvatarProps = AvatarImageProps;
|
|
@@ -23,7 +23,7 @@ type AvatarProps = AvatarImageProps;
|
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
25
|
declare const Avatar: {
|
|
26
|
-
(props: AvatarProps):
|
|
26
|
+
(props: AvatarProps): react_jsx_runtime9.JSX.Element;
|
|
27
27
|
displayName: string;
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarImageProps } from "./AvatarImage.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/client/Avatar/Avatar.d.ts
|
|
5
5
|
type AvatarProps = AvatarImageProps;
|
|
@@ -23,7 +23,7 @@ type AvatarProps = AvatarImageProps;
|
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
25
|
declare const Avatar: {
|
|
26
|
-
(props: AvatarProps):
|
|
26
|
+
(props: AvatarProps): react_jsx_runtime13.JSX.Element;
|
|
27
27
|
displayName: string;
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IconPropsWithSVGProps, UniversalAvatarIconProps } from "../../../tokens/types.js";
|
|
2
2
|
import "../../../tokens/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/client/Avatar/AvatarIcon.d.ts
|
|
6
6
|
type DataAttributes = {
|
|
@@ -29,7 +29,7 @@ declare const AvatarIcon: {
|
|
|
29
29
|
slotProps,
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: AvatarIconProps):
|
|
32
|
+
}: AvatarIconProps): react_jsx_runtime14.JSX.Element;
|
|
33
33
|
displayName: string;
|
|
34
34
|
};
|
|
35
35
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { ImagePropsWithImgProps, UniversalAvatarImageProps } from "../../../toke
|
|
|
2
2
|
import "../../../tokens/index.cjs";
|
|
3
3
|
import { AvatarIconProps } from "./AvatarIcon.cjs";
|
|
4
4
|
import { AvatarTextProps } from "./AvatarText.cjs";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/client/Avatar/AvatarImage.d.ts
|
|
8
8
|
type DataAttributes = {
|
|
@@ -37,7 +37,7 @@ declare const AvatarImage: {
|
|
|
37
37
|
imageProps,
|
|
38
38
|
slotProps,
|
|
39
39
|
...props
|
|
40
|
-
}: AvatarImageProps):
|
|
40
|
+
}: AvatarImageProps): react_jsx_runtime10.JSX.Element;
|
|
41
41
|
displayName: string;
|
|
42
42
|
};
|
|
43
43
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { ImagePropsWithImgProps, UniversalAvatarImageProps } from "../../../toke
|
|
|
2
2
|
import "../../../tokens/index.js";
|
|
3
3
|
import { AvatarIconProps } from "./AvatarIcon.js";
|
|
4
4
|
import { AvatarTextProps } from "./AvatarText.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/client/Avatar/AvatarImage.d.ts
|
|
8
8
|
type DataAttributes = {
|
|
@@ -37,7 +37,7 @@ declare const AvatarImage: {
|
|
|
37
37
|
imageProps,
|
|
38
38
|
slotProps,
|
|
39
39
|
...props
|
|
40
|
-
}: AvatarImageProps):
|
|
40
|
+
}: AvatarImageProps): react_jsx_runtime16.JSX.Element;
|
|
41
41
|
displayName: string;
|
|
42
42
|
};
|
|
43
43
|
//#endregion
|