@yahoo/uds 3.5.0-beta.4 → 3.5.0-beta.5
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-linux-arm64 +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/dist/Input-BVxQanVj.d.ts +42 -0
- package/dist/Input-f6w-BO8R.d.cts +42 -0
- package/dist/Pressable-CVD9gKQN.d.cts +44 -0
- package/dist/Pressable-Dgla1UtH.d.ts +44 -0
- package/dist/VStack-CysztmBl.d.ts +107 -0
- package/dist/VStack-g_bLKhRq.d.cts +107 -0
- package/dist/analytics/server.cjs +1 -1
- package/dist/analytics/server.js +1 -1
- package/dist/chunk-44NCGEJE.js +3 -0
- package/dist/chunk-4T35WHJL.js +1 -0
- package/dist/chunk-55DNKMWV.cjs +2 -0
- package/dist/chunk-CNAKHAWF.cjs +2 -0
- package/dist/chunk-DCULPJ7L.cjs +1 -0
- package/dist/chunk-F4J6WCAA.js +1 -0
- package/dist/chunk-HBZLHJEI.js +2 -0
- package/dist/chunk-HVVEL54J.js +3 -0
- package/dist/chunk-IRHJ7DWJ.js +2 -0
- package/dist/chunk-NKYMXTPB.cjs +1 -0
- package/dist/chunk-PDUDFUBF.cjs +3 -0
- package/dist/chunk-YTMZSL6D.cjs +1 -0
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.js +1 -1
- package/dist/experimental/client/index.js +2 -1
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.js +2 -1
- package/dist/flags.cjs +1 -2
- package/dist/flags.js +2 -2
- package/dist/index-Dz60THFc.d.ts +208 -0
- package/dist/index-YiVgsgZC.d.cts +208 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/motionFeatures-6LIGGXPL.cjs +1 -1
- package/dist/motionFeatures-SJISLQ4M.js +1 -1
- package/dist/styles/toast.d.cts +2 -0
- package/dist/styles/toast.d.ts +2 -0
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.js +2 -2
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +1 -1
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +1 -1
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/types-BEDOs3BD.d.cts +10302 -0
- package/dist/types-BEDOs3BD.d.ts +10302 -0
- package/package.json +1 -4
- package/cli/FullWidthClassToProp.mock.tsx +0 -17
- package/dist/chunk-EDYPTXZP.js +0 -2
Binary file
|
package/cli/bin/uds-linux-arm64
CHANGED
Binary file
|
Binary file
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { U as UniversalInputProps } from './types-BEDOs3BD.js';
|
3
|
+
import { HTMLMotionProps } from 'motion/react';
|
4
|
+
|
5
|
+
type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
|
6
|
+
type NativeInputProps = Omit<HtmlInputProps, 'height' | 'size' | 'width' | 'color' | 'required'>;
|
7
|
+
interface InputProps extends NativeInputProps, UniversalInputProps {
|
8
|
+
/** The type of the input element. Reduced set of options from the HTML input type attribute.
|
9
|
+
* @default 'text'
|
10
|
+
*/
|
11
|
+
type?: Exclude<NativeInputProps['type'], 'button' | 'checkbox' | 'color' | 'file' | 'radio' | 'range' | 'reset' | 'submit' | 'search'>;
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* **📦 An input that allows users to enter text and collect data.**
|
15
|
+
*
|
16
|
+
* @componentType Client component
|
17
|
+
*
|
18
|
+
* @description
|
19
|
+
* An input field is a component that takes text typed into it. It can also serve as a way to display a selection and trigger a dropdown menu. Inputs are interactive elements that users can click, tap, or otherwise engage with to collect data and open dropdowns, or both.
|
20
|
+
*
|
21
|
+
* @see
|
22
|
+
* Check out the {@link https://uds.build/docs/components/input Input Docs} for more info
|
23
|
+
*
|
24
|
+
* @usage
|
25
|
+
* - Forms: For collecting data like names, emails, passwords, etc. (e.g., sign-up, login, or contact forms).
|
26
|
+
* - Search Bars: Allowing users to enter search queries to find content.
|
27
|
+
* - Filters/Settings: When users need to specify preferences, like selecting a date or adjusting a number value.
|
28
|
+
* - Feedback/Comments: Letting users leave reviews, comments, or feedback.
|
29
|
+
*
|
30
|
+
* @example
|
31
|
+
* ```tsx
|
32
|
+
* 'use client';
|
33
|
+
* import { Input } from "@yahoo/uds";
|
34
|
+
*
|
35
|
+
* <Input label="Name" placeholder="Enter your name" required />
|
36
|
+
*```
|
37
|
+
*
|
38
|
+
* @related [Checkbox](https://uds.build/docs/components/checkbox), [Radio](https://uds.build/docs/components/radio).
|
39
|
+
**/
|
40
|
+
declare const Input: react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
41
|
+
|
42
|
+
export { type InputProps as I, Input as a };
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { U as UniversalInputProps } from './types-BEDOs3BD.cjs';
|
3
|
+
import { HTMLMotionProps } from 'motion/react';
|
4
|
+
|
5
|
+
type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
|
6
|
+
type NativeInputProps = Omit<HtmlInputProps, 'height' | 'size' | 'width' | 'color' | 'required'>;
|
7
|
+
interface InputProps extends NativeInputProps, UniversalInputProps {
|
8
|
+
/** The type of the input element. Reduced set of options from the HTML input type attribute.
|
9
|
+
* @default 'text'
|
10
|
+
*/
|
11
|
+
type?: Exclude<NativeInputProps['type'], 'button' | 'checkbox' | 'color' | 'file' | 'radio' | 'range' | 'reset' | 'submit' | 'search'>;
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* **📦 An input that allows users to enter text and collect data.**
|
15
|
+
*
|
16
|
+
* @componentType Client component
|
17
|
+
*
|
18
|
+
* @description
|
19
|
+
* An input field is a component that takes text typed into it. It can also serve as a way to display a selection and trigger a dropdown menu. Inputs are interactive elements that users can click, tap, or otherwise engage with to collect data and open dropdowns, or both.
|
20
|
+
*
|
21
|
+
* @see
|
22
|
+
* Check out the {@link https://uds.build/docs/components/input Input Docs} for more info
|
23
|
+
*
|
24
|
+
* @usage
|
25
|
+
* - Forms: For collecting data like names, emails, passwords, etc. (e.g., sign-up, login, or contact forms).
|
26
|
+
* - Search Bars: Allowing users to enter search queries to find content.
|
27
|
+
* - Filters/Settings: When users need to specify preferences, like selecting a date or adjusting a number value.
|
28
|
+
* - Feedback/Comments: Letting users leave reviews, comments, or feedback.
|
29
|
+
*
|
30
|
+
* @example
|
31
|
+
* ```tsx
|
32
|
+
* 'use client';
|
33
|
+
* import { Input } from "@yahoo/uds";
|
34
|
+
*
|
35
|
+
* <Input label="Name" placeholder="Enter your name" required />
|
36
|
+
*```
|
37
|
+
*
|
38
|
+
* @related [Checkbox](https://uds.build/docs/components/checkbox), [Radio](https://uds.build/docs/components/radio).
|
39
|
+
**/
|
40
|
+
declare const Input: react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
41
|
+
|
42
|
+
export { type InputProps as I, Input as a };
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { a as UniversalPressableProps } from './types-BEDOs3BD.cjs';
|
3
|
+
|
4
|
+
type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
|
5
|
+
interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
|
6
|
+
}
|
7
|
+
/**
|
8
|
+
* **🖲️ A primitive component for creating button interactions with accessibility support**
|
9
|
+
*
|
10
|
+
* @componentType Client component
|
11
|
+
*
|
12
|
+
* @description
|
13
|
+
* The Pressable component is a primitive component that can be used
|
14
|
+
* to create button interactions with accessibility support. It can be used
|
15
|
+
* to trigger an action, such as submitting a form, navigating to a new page,
|
16
|
+
* or adding interactivity to a section or card.
|
17
|
+
*
|
18
|
+
* @example
|
19
|
+
* ```tsx
|
20
|
+
* import { Pressable } from '@yahoo/uds';
|
21
|
+
*
|
22
|
+
* <Pressable
|
23
|
+
* backgroundColor="secondary"
|
24
|
+
* borderWidth="thin"
|
25
|
+
* borderColor="primary"
|
26
|
+
* borderRadius="lg"
|
27
|
+
* onPress={() => console.log('Pressed!')}
|
28
|
+
* >
|
29
|
+
* <Text variant="body1" color="primary" spacingHorizontal="7" spacingVertical="5">Click me...</Text>
|
30
|
+
* </Pressable>
|
31
|
+
* ```
|
32
|
+
*
|
33
|
+
* @usage
|
34
|
+
* - If you need to add interactivity to a section or card.
|
35
|
+
* - If you need a highly customized version of [Button](./button)
|
36
|
+
*
|
37
|
+
* @see The {@link https://uds.build/docs/components/pressable Pressable Docs} for more info
|
38
|
+
*
|
39
|
+
* @related [Button](https://uds.build/docs/components/button), [IconButton](https://uds.build/docs/components/icon-button)
|
40
|
+
*
|
41
|
+
*/
|
42
|
+
declare const Pressable: react.ForwardRefExoticComponent<PressableProps & react.RefAttributes<HTMLButtonElement>>;
|
43
|
+
|
44
|
+
export { type PressableProps as P, Pressable as a };
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { a as UniversalPressableProps } from './types-BEDOs3BD.js';
|
3
|
+
|
4
|
+
type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
|
5
|
+
interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
|
6
|
+
}
|
7
|
+
/**
|
8
|
+
* **🖲️ A primitive component for creating button interactions with accessibility support**
|
9
|
+
*
|
10
|
+
* @componentType Client component
|
11
|
+
*
|
12
|
+
* @description
|
13
|
+
* The Pressable component is a primitive component that can be used
|
14
|
+
* to create button interactions with accessibility support. It can be used
|
15
|
+
* to trigger an action, such as submitting a form, navigating to a new page,
|
16
|
+
* or adding interactivity to a section or card.
|
17
|
+
*
|
18
|
+
* @example
|
19
|
+
* ```tsx
|
20
|
+
* import { Pressable } from '@yahoo/uds';
|
21
|
+
*
|
22
|
+
* <Pressable
|
23
|
+
* backgroundColor="secondary"
|
24
|
+
* borderWidth="thin"
|
25
|
+
* borderColor="primary"
|
26
|
+
* borderRadius="lg"
|
27
|
+
* onPress={() => console.log('Pressed!')}
|
28
|
+
* >
|
29
|
+
* <Text variant="body1" color="primary" spacingHorizontal="7" spacingVertical="5">Click me...</Text>
|
30
|
+
* </Pressable>
|
31
|
+
* ```
|
32
|
+
*
|
33
|
+
* @usage
|
34
|
+
* - If you need to add interactivity to a section or card.
|
35
|
+
* - If you need a highly customized version of [Button](./button)
|
36
|
+
*
|
37
|
+
* @see The {@link https://uds.build/docs/components/pressable Pressable Docs} for more info
|
38
|
+
*
|
39
|
+
* @related [Button](https://uds.build/docs/components/button), [IconButton](https://uds.build/docs/components/icon-button)
|
40
|
+
*
|
41
|
+
*/
|
42
|
+
declare const Pressable: react.ForwardRefExoticComponent<PressableProps & react.RefAttributes<HTMLButtonElement>>;
|
43
|
+
|
44
|
+
export { type PressableProps as P, Pressable as a };
|
@@ -0,0 +1,107 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { f as UniversalBoxProps, g as UniversalStackProps, h as UniversalDividerProps } from './types-BEDOs3BD.js';
|
3
|
+
|
4
|
+
type DivProps = React.HTMLAttributes<HTMLDivElement>;
|
5
|
+
interface BoxProps extends UniversalBoxProps, DivProps {
|
6
|
+
}
|
7
|
+
/**
|
8
|
+
* **📦 A layout component that can be used to compose other components**
|
9
|
+
*
|
10
|
+
* @description
|
11
|
+
* The most simple component we ship - a div. But with all the power of the UDS design system.
|
12
|
+
* By default, `Box` is a flexbox container. When working with vertical or horizontal layouts,
|
13
|
+
* consider using [VStack](./v-stack) or [HStack](./h-stack) respectively.
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* ```tsx
|
17
|
+
* import { Box } from '@yahoo/uds';
|
18
|
+
*
|
19
|
+
* <Box backgroundColor="primary" spacing="6">
|
20
|
+
* Any kind of content can go here!
|
21
|
+
* </Box>
|
22
|
+
* ```
|
23
|
+
*
|
24
|
+
* @usage
|
25
|
+
* - If you need to div-like container to apply padding, shapes, or other styling.
|
26
|
+
* - If you're creating card components.
|
27
|
+
*
|
28
|
+
* @see The {@link https://uds.build/docs/components/box Box Docs} for more info
|
29
|
+
*
|
30
|
+
* @related [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
31
|
+
*/
|
32
|
+
declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
|
33
|
+
|
34
|
+
type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
|
35
|
+
interface DividerProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
|
36
|
+
variant?: VariantWithInherit;
|
37
|
+
layerClassNames?: {
|
38
|
+
root?: string;
|
39
|
+
text?: string;
|
40
|
+
line?: string;
|
41
|
+
};
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* **📦 A divider component that can be used to visually separate components**
|
45
|
+
*
|
46
|
+
* @description
|
47
|
+
* The Divider component is a visual element used to separate content and create clear groupings within a layout. It helps establish hierarchy, improve readability, and guide users through sections of an interface. Dividers can appear as horizontal or vertical lines and are commonly used between related content blocks, within menus, or in dense UI areas to reduce visual clutter.
|
48
|
+
*
|
49
|
+
* @example
|
50
|
+
* ```tsx
|
51
|
+
* import { Divider } from '@yahoo/uds';
|
52
|
+
*
|
53
|
+
* // Default primary horizontal divider. Similar to <hr />
|
54
|
+
* <Divider />
|
55
|
+
*
|
56
|
+
* // A vertical divider.
|
57
|
+
* <Divider vertical />
|
58
|
+
*
|
59
|
+
* // A horizontal divider with the secondary styling.
|
60
|
+
* <Divider variant="secondary" />
|
61
|
+
*
|
62
|
+
* // A vertical divider with the tertiary styling.
|
63
|
+
* <Divider vertical variant="tertiary" />
|
64
|
+
* ```
|
65
|
+
*
|
66
|
+
* @usage
|
67
|
+
* - Visually separating parts of a page. Usually used in conjuction with [HStack](./h-stack) or [VStack](./v-stack).
|
68
|
+
*
|
69
|
+
* @see The {@link https://uds.build/docs/components/divider Divider Docs} for more info
|
70
|
+
*
|
71
|
+
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
72
|
+
*/
|
73
|
+
declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
|
74
|
+
|
75
|
+
type VStackProps = UniversalStackProps & DivProps;
|
76
|
+
/**
|
77
|
+
* **🥞 A layout component that arranges its children in rows using flexbox**
|
78
|
+
*
|
79
|
+
* @description
|
80
|
+
* VStack is a layout component that arranges its children in rows using [flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox)
|
81
|
+
* and can be used to compose larger layouts. VStack is similar to [Box](./box) but provides additional features like a `gap` property to
|
82
|
+
* add spacing between children.
|
83
|
+
*
|
84
|
+
* @example
|
85
|
+
* ```tsx
|
86
|
+
* import { VStack, Text } from '@yahoo/uds';
|
87
|
+
*
|
88
|
+
* <VStack gap="6">
|
89
|
+
* <Text variant="body1" color="primary">First</Text>
|
90
|
+
* <Text variant="body1" color="primary">Second</Text>
|
91
|
+
* <Text variant="body1" color="primary">Third</Text>
|
92
|
+
* </VStack>
|
93
|
+
* ```
|
94
|
+
*
|
95
|
+
* @usage
|
96
|
+
* - Create a column of items, optionally with gaps between.
|
97
|
+
* - Create rows that are sized to their content (height only). By default each child will fill the width of the VStack.
|
98
|
+
* - Create rows that fill the available space within the parent container.
|
99
|
+
* - Create rows of proportionate size to each other (also known as a ratio-based layout).
|
100
|
+
*
|
101
|
+
* @see The {@link https://uds.build/docs/components/v-stack VStack Docs} for more info
|
102
|
+
*
|
103
|
+
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack)
|
104
|
+
**/
|
105
|
+
declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps & react.RefAttributes<HTMLDivElement>>;
|
106
|
+
|
107
|
+
export { type BoxProps as B, type DividerProps as D, type VStackProps as V, type DivProps as a, Box as b, Divider as c, VStack as d };
|
@@ -0,0 +1,107 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { f as UniversalBoxProps, g as UniversalStackProps, h as UniversalDividerProps } from './types-BEDOs3BD.cjs';
|
3
|
+
|
4
|
+
type DivProps = React.HTMLAttributes<HTMLDivElement>;
|
5
|
+
interface BoxProps extends UniversalBoxProps, DivProps {
|
6
|
+
}
|
7
|
+
/**
|
8
|
+
* **📦 A layout component that can be used to compose other components**
|
9
|
+
*
|
10
|
+
* @description
|
11
|
+
* The most simple component we ship - a div. But with all the power of the UDS design system.
|
12
|
+
* By default, `Box` is a flexbox container. When working with vertical or horizontal layouts,
|
13
|
+
* consider using [VStack](./v-stack) or [HStack](./h-stack) respectively.
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* ```tsx
|
17
|
+
* import { Box } from '@yahoo/uds';
|
18
|
+
*
|
19
|
+
* <Box backgroundColor="primary" spacing="6">
|
20
|
+
* Any kind of content can go here!
|
21
|
+
* </Box>
|
22
|
+
* ```
|
23
|
+
*
|
24
|
+
* @usage
|
25
|
+
* - If you need to div-like container to apply padding, shapes, or other styling.
|
26
|
+
* - If you're creating card components.
|
27
|
+
*
|
28
|
+
* @see The {@link https://uds.build/docs/components/box Box Docs} for more info
|
29
|
+
*
|
30
|
+
* @related [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
31
|
+
*/
|
32
|
+
declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
|
33
|
+
|
34
|
+
type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
|
35
|
+
interface DividerProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
|
36
|
+
variant?: VariantWithInherit;
|
37
|
+
layerClassNames?: {
|
38
|
+
root?: string;
|
39
|
+
text?: string;
|
40
|
+
line?: string;
|
41
|
+
};
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* **📦 A divider component that can be used to visually separate components**
|
45
|
+
*
|
46
|
+
* @description
|
47
|
+
* The Divider component is a visual element used to separate content and create clear groupings within a layout. It helps establish hierarchy, improve readability, and guide users through sections of an interface. Dividers can appear as horizontal or vertical lines and are commonly used between related content blocks, within menus, or in dense UI areas to reduce visual clutter.
|
48
|
+
*
|
49
|
+
* @example
|
50
|
+
* ```tsx
|
51
|
+
* import { Divider } from '@yahoo/uds';
|
52
|
+
*
|
53
|
+
* // Default primary horizontal divider. Similar to <hr />
|
54
|
+
* <Divider />
|
55
|
+
*
|
56
|
+
* // A vertical divider.
|
57
|
+
* <Divider vertical />
|
58
|
+
*
|
59
|
+
* // A horizontal divider with the secondary styling.
|
60
|
+
* <Divider variant="secondary" />
|
61
|
+
*
|
62
|
+
* // A vertical divider with the tertiary styling.
|
63
|
+
* <Divider vertical variant="tertiary" />
|
64
|
+
* ```
|
65
|
+
*
|
66
|
+
* @usage
|
67
|
+
* - Visually separating parts of a page. Usually used in conjuction with [HStack](./h-stack) or [VStack](./v-stack).
|
68
|
+
*
|
69
|
+
* @see The {@link https://uds.build/docs/components/divider Divider Docs} for more info
|
70
|
+
*
|
71
|
+
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
72
|
+
*/
|
73
|
+
declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
|
74
|
+
|
75
|
+
type VStackProps = UniversalStackProps & DivProps;
|
76
|
+
/**
|
77
|
+
* **🥞 A layout component that arranges its children in rows using flexbox**
|
78
|
+
*
|
79
|
+
* @description
|
80
|
+
* VStack is a layout component that arranges its children in rows using [flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox)
|
81
|
+
* and can be used to compose larger layouts. VStack is similar to [Box](./box) but provides additional features like a `gap` property to
|
82
|
+
* add spacing between children.
|
83
|
+
*
|
84
|
+
* @example
|
85
|
+
* ```tsx
|
86
|
+
* import { VStack, Text } from '@yahoo/uds';
|
87
|
+
*
|
88
|
+
* <VStack gap="6">
|
89
|
+
* <Text variant="body1" color="primary">First</Text>
|
90
|
+
* <Text variant="body1" color="primary">Second</Text>
|
91
|
+
* <Text variant="body1" color="primary">Third</Text>
|
92
|
+
* </VStack>
|
93
|
+
* ```
|
94
|
+
*
|
95
|
+
* @usage
|
96
|
+
* - Create a column of items, optionally with gaps between.
|
97
|
+
* - Create rows that are sized to their content (height only). By default each child will fill the width of the VStack.
|
98
|
+
* - Create rows that fill the available space within the parent container.
|
99
|
+
* - Create rows of proportionate size to each other (also known as a ratio-based layout).
|
100
|
+
*
|
101
|
+
* @see The {@link https://uds.build/docs/components/v-stack VStack Docs} for more info
|
102
|
+
*
|
103
|
+
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack)
|
104
|
+
**/
|
105
|
+
declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps & react.RefAttributes<HTMLDivElement>>;
|
106
|
+
|
107
|
+
export { type BoxProps as B, type DividerProps as D, type VStackProps as V, type DivProps as a, Box as b, Divider as c, VStack as d };
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";var e=require("os"),t=require("child_process"),i=require("uuid");function r(e){return e&&e.__esModule?e:{default:e}}var n=r(e),s=r(t),a=/^(\w+)\:\s+flags=/,o=/^(\w+)\s{2,}link encap:\w+/i,c=/(?:ether|HWaddr)\s+((?:[a-z0-9]{2}\:){5}[a-z0-9]{2})/i,l=/inet\s(?:addr\:)?(\d+\.\d+\.\d+\.\d+)/;function u(){let e="eth";const t=n.default.platform();return"darwin"===t?e="en":"win32"===t&&(e=void 0),e}function d(e,t){return"IPv4"===t?"IPv4"===e||4===e:"IPv6"===t?"IPv6"===e||6===e:e===t}function f(e,t,i=!1){let r;for(const n of e)if(d(n.family,t)){if(i&&n.address.startsWith("127."))continue;if("IPv6"!==t)return n;if(0===n.scopeid)return n;r||(r=n)}return r}function m(e,t){let i;i=e,i=i||u();const r=function(e,t){const i=n.default.networkInterfaces(),r=!t;if(e=e||"IPv4",t=t||u())for(let r=-1;r<8;r++){const n=i[t+(r>=0?r:"")];if(n){const t=f(n,e);if(t)return t}}if(r)for(const t in i){const r=i[t];if(r){const t=f(r,e,!0);if(t)return t}}}("IPv4",i);return r?(process.env.CI||"ff:00:00:00:00:00"!==r.mac&&"00:00:00:00:00:00"!==r.mac||(r.mac=""),r.mac?t(null,r.mac):void s.default.exec("win32"===n.default.platform()?"ipconfig/all":"/sbin/ifconfig",{timeout:5e3},((e,n)=>{if(e||!n)return t(e);if(!i)return t();const s=function(e,t,i){const r=e.split("\n");for(let e=0;e<r.length;e++){let n=r[e].trimEnd();const s=a.exec(n)||o.exec(n);if(!s)continue;if(0!==s[1].indexOf(t))continue;let u=null,d=null,f=c.exec(n);for(f&&(d=f[1]),e++;;){if(n=r[e],!n||a.exec(n)||o.exec(n)){e--;break}d||(f=c.exec(n),f&&(d=f[1])),u||(f=l.exec(n),f&&(u=f[1])),e++}if(u===i)return d}return null}(n||"",i,r.address);t(null,s)}))):t()}async function h(){const e=await new Promise(((e,t)=>{m("",((i,r)=>{if(i)return t(i);e(r||null)}))}))??n.default.hostname();return i.v5(e,"6ba7b810-9dad-11d1-80b4-00c04fd430c8")}var p={all:"G-0C2FBF3K5Y",docs:"G-6HSWE4WFFV",cli:"G-4N1G785K8W","figma-plugin":"G-Q1PFL2R17E","figma-dev-mode":"G-ZD8YHG3NWV",metrics:"G-1JW6B5D3JH",configurator:"G-JEHT4QPKB0"},w={all:"GwoNoIVUQwy-AP5hKnoskw",cli:"lrds1CjyTGimkKEA9hvmmQ","figma-plugin":"CgJ4b2ISS8KArcJHihE9og","figma-dev-mode":"Ns1whhmxTE-QIpDdbZr45Q"},g=["development","test"].includes(process.env.NODE_ENV??""),v=new class{#e;#t;#i;#r=!1;appName;user;debugMode;async init({appName:e,measurementId:t,apiSecret:i,debugMode:r,user:n}){if(!this.#r)return this.#e=t,this.#t=i,this.user=n,this.appName=e,this.debugMode=r??g,h().then((e=>{this.#i=e,this.#r=!0,this.#n()}));console.info("UDS analytics: already initialized.")}getClientId(){return this.#i}#n(){if(!this.#r)throw new Error("UDS analytics: not been initialized. Have you called init()?");if(!this.#e)throw new Error("UDS analytics: measurement property ID has not been set.");if(!this.#i)throw new Error("UDS analytics - client ID has not been set.");if(!this.user)throw new Error("UDS analytics: user has not been set.");if(!this.user.analyticsContext)throw new Error("UDS analytics: user is missing analyticsContext.")}pageview(e={}){return this.event("page_view",e)}event(e,t={}){return this.#s(e,t)}error(e={}){return this.#s("error",e)}async#s(e,t={}){this.#n();const{role:i,team:r}=this.user.analyticsContext??{},n=i&&r?{role:{value:i},team:{value:r}}:void 0,s={client_id:this.#i,user_id:this.user.id,user_properties:n,events:[{name:e,params:{app_name:this.appName,engagement_time_msec:"0",...this.debugMode&&{debug_mode:!0},...t}}]},a=[{id:this.#e,apiSecret:this.#t},{id:p.all,apiSecret:w.all}].map((async({id:t,apiSecret:i})=>{try{const r=new URL("https://www.google-analytics.com/mp/collect");r.searchParams.set("measurement_id",t),r.searchParams.set("api_secret",i);const n=await fetch(r.toString(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!n.ok)throw new Error(`HTTP error status: ${n.status}`);g&&console.log(`UDS analytics: event "${e}" sent successfully to ${t}.`)}catch(e){console.error(`UDS analytics: error sending event to ${t}:`,e)}}));return Promise.allSettled(a)}};exports.GA_MEASUREMENT_IDS=p,exports.GA_MEASUREMENT_SECRETS=w,exports.track=v;
|
package/dist/analytics/server.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import
|
1
|
+
import e from"os";import t from"child_process";import{v5 as i}from"uuid";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var n=/^(\w+)\:\s+flags=/,r=/^(\w+)\s{2,}link encap:\w+/i,s=/(?:ether|HWaddr)\s+((?:[a-z0-9]{2}\:){5}[a-z0-9]{2})/i,a=/inet\s(?:addr\:)?(\d+\.\d+\.\d+\.\d+)/;function o(){let t="eth";const i=e.platform();return"darwin"===i?t="en":"win32"===i&&(t=void 0),t}function c(e,t){return"IPv4"===t?"IPv4"===e||4===e:"IPv6"===t?"IPv6"===e||6===e:e===t}function l(e,t,i=!1){let n;for(const r of e)if(c(r.family,t)){if(i&&r.address.startsWith("127."))continue;if("IPv6"!==t)return r;if(0===r.scopeid)return r;n||(n=r)}return n}function d(i,c){let d;d=i,d=d||o();const u=function(t,i){const n=e.networkInterfaces(),r=!i;if(t=t||"IPv4",i=i||o())for(let e=-1;e<8;e++){const r=n[i+(e>=0?e:"")];if(r){const e=l(r,t);if(e)return e}}if(r)for(const e in n){const i=n[e];if(i){const e=l(i,t,!0);if(e)return e}}}("IPv4",d);return u?(process.env.CI||"ff:00:00:00:00:00"!==u.mac&&"00:00:00:00:00:00"!==u.mac||(u.mac=""),u.mac?c(null,u.mac):void t.exec("win32"===e.platform()?"ipconfig/all":"/sbin/ifconfig",{timeout:5e3},((e,t)=>{if(e||!t)return c(e);if(!d)return c();const i=function(e,t,i){const o=e.split("\n");for(let e=0;e<o.length;e++){let c=o[e].trimEnd();const l=n.exec(c)||r.exec(c);if(!l)continue;if(0!==l[1].indexOf(t))continue;let d=null,u=null,m=s.exec(c);for(m&&(u=m[1]),e++;;){if(c=o[e],!c||n.exec(c)||r.exec(c)){e--;break}u||(m=s.exec(c),m&&(u=m[1])),d||(m=a.exec(c),m&&(d=m[1])),e++}if(d===i)return u}return null}(t||"",d,u.address);c(null,i)}))):c()}async function u(){const t=await new Promise(((e,t)=>{d("",((i,n)=>{if(i)return t(i);e(n||null)}))}))??e.hostname();return i(t,"6ba7b810-9dad-11d1-80b4-00c04fd430c8")}var m={all:"G-0C2FBF3K5Y",docs:"G-6HSWE4WFFV",cli:"G-4N1G785K8W","figma-plugin":"G-Q1PFL2R17E","figma-dev-mode":"G-ZD8YHG3NWV",metrics:"G-1JW6B5D3JH",configurator:"G-JEHT4QPKB0"},f={all:"GwoNoIVUQwy-AP5hKnoskw",cli:"lrds1CjyTGimkKEA9hvmmQ","figma-plugin":"CgJ4b2ISS8KArcJHihE9og","figma-dev-mode":"Ns1whhmxTE-QIpDdbZr45Q"},h=["development","test"].includes(process.env.NODE_ENV??""),p=new class{#e;#t;#i;#n=!1;appName;user;debugMode;async init({appName:e,measurementId:t,apiSecret:i,debugMode:n,user:r}){if(!this.#n)return this.#e=t,this.#t=i,this.user=r,this.appName=e,this.debugMode=n??h,u().then((e=>{this.#i=e,this.#n=!0,this.#r()}));console.info("UDS analytics: already initialized.")}getClientId(){return this.#i}#r(){if(!this.#n)throw new Error("UDS analytics: not been initialized. Have you called init()?");if(!this.#e)throw new Error("UDS analytics: measurement property ID has not been set.");if(!this.#i)throw new Error("UDS analytics - client ID has not been set.");if(!this.user)throw new Error("UDS analytics: user has not been set.");if(!this.user.analyticsContext)throw new Error("UDS analytics: user is missing analyticsContext.")}pageview(e={}){return this.event("page_view",e)}event(e,t={}){return this.#s(e,t)}error(e={}){return this.#s("error",e)}async#s(e,t={}){this.#r();const{role:i,team:n}=this.user.analyticsContext??{},r=i&&n?{role:{value:i},team:{value:n}}:void 0,s={client_id:this.#i,user_id:this.user.id,user_properties:r,events:[{name:e,params:{app_name:this.appName,engagement_time_msec:"0",...this.debugMode&&{debug_mode:!0},...t}}]},a=[{id:this.#e,apiSecret:this.#t},{id:m.all,apiSecret:f.all}].map((async({id:t,apiSecret:i})=>{try{const n=new URL("https://www.google-analytics.com/mp/collect");n.searchParams.set("measurement_id",t),n.searchParams.set("api_secret",i);const r=await fetch(n.toString(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!r.ok)throw new Error(`HTTP error status: ${r.status}`);h&&console.log(`UDS analytics: event "${e}" sent successfully to ${t}.`)}catch(e){console.error(`UDS analytics: error sending event to ${t}:`,e)}}));return Promise.allSettled(a)}};export{m as GA_MEASUREMENT_IDS,f as GA_MEASUREMENT_SECRETS,p as track};
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import{createSlot as r,getStyles as t}from"./chunk-HVVEL54J.js";import{getMotionVar as e}from"./chunk-IRHJ7DWJ.js";import{LazyMotion as o,MotionConfig as l}from"motion/react";import{forwardRef as n,useState as i,useEffect as a,useMemo as s}from"react";import{jsx as d,Fragment as c}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
+
var h={damped:{1:{damping:20.585796264350424,stiffness:62.37968115365702},2:{damping:29.312551281312288,stiffness:126.47801753759964},3:{damping:48.92799401356162,stiffness:352.3892336537332},4:{damping:123.42690994256348,stiffness:2242.474548821137}},smooth:{1:{damping:16.46863701148034,stiffness:67.80400125397502},2:{damping:23.45004102504983,stiffness:137.47610601913004},3:{damping:39.1423952108493,stiffness:383.03177571057955},4:{damping:98.7415279540508,stiffness:2437.4723356751488}},subtle:{1:{damping:13.04316051309243,stiffness:67.80400125397502},2:{damping:18.572432491839468,stiffness:137.47610601913004},3:{damping:31.000777006992646,stiffness:383.03177571057955},4:{damping:78.20329013960823,stiffness:2437.4723356751488}},bouncy:{1:{damping:9.229712940600143,stiffness:48.880672622541795},2:{damping:12.634144343496553,stiffness:91.59092691366399},3:{damping:19.40217701790486,stiffness:216.00395877230474},4:{damping:37.541723184430275,stiffness:808.7032559422912}},veryBouncy:{1:{damping:6.902290754946187,stiffness:38.92152745126911},2:{damping:9.155550514215523,stiffness:68.48134828711234},3:{damping:13.244464908166709,stiffness:143.30858570843873},4:{damping:22.17862652876726,stiffness:401.85804919502965}}},f=()=>import("./motionFeatures-SJISLQ4M.js").then((({domAnimation:r})=>r));function m({reducedMotion:r="user",children:t,layoutVariant:n="subtle",layoutSpeed:c="3",colorVariant:m="smooth",colorSpeed:u="3"}){const p=h[n][c],v=h[m][u],[g,z]=i(p),[C,M]=i(v),b={variant:m,speed:u},V=e({...b,control:"stiffness"}),S=e({...b,control:"damping"}),H={variant:n,speed:c},w=e({...H,control:"stiffness"}),L=e({...H,control:"damping"});a((()=>{const r=getComputedStyle(document.documentElement),t={damping:Number(r.getPropertyValue(L)),stiffness:Number(r.getPropertyValue(w))},e={damping:Number(r.getPropertyValue(S)),stiffness:Number(r.getPropertyValue(V))};z(t),M(e)}),[S,V,L,w]);const y=s((()=>({type:"spring",mass:1,...g,layout:g,opacity:C,color:C,borderColor:C,backgroundColor:C})),[C,g]);return d(o,{features:f,strict:!0,children:d(l,{transition:y,reducedMotion:r,children:t})})}var u=r(),p=n((function({className:r,asChild:e,onPress:o,onClick:l=o,backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:s,borderBottomStartRadius:c,borderBottomEndRadius:h,borderColor:f,borderStartColor:m,borderEndColor:p,borderTopColor:v,borderBottomColor:g,borderWidth:z,borderVerticalWidth:C,borderHorizontalWidth:M,borderStartWidth:b,borderEndWidth:V,borderTopWidth:S,borderBottomWidth:H,alignContent:w,alignItems:L,alignSelf:y,flex:W,flexDirection:B,flexGrow:x,flexShrink:A,flexWrap:E,justifyContent:T,flexBasis:R,display:k,overflow:I,overflowX:N,overflowY:P,position:j,spacing:G,spacingHorizontal:J,spacingVertical:D,spacingBottom:X,spacingEnd:Y,spacingStart:q,spacingTop:F,offset:Q,offsetVertical:K,offsetHorizontal:O,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:rr,rowGap:tr,dropShadow:er,insetShadow:or,...lr},nr){const ir=t({backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:s,borderBottomStartRadius:c,borderBottomEndRadius:h,borderColor:f,borderStartColor:m,borderEndColor:p,borderTopColor:v,borderBottomColor:g,borderWidth:z,borderVerticalWidth:C,borderHorizontalWidth:M,borderStartWidth:b,borderEndWidth:V,borderTopWidth:S,borderBottomWidth:H,alignContent:w,alignItems:L,alignSelf:y,flex:W,flexDirection:B,flexGrow:x,flexShrink:A,flexWrap:E,justifyContent:T,flexBasis:R,display:k,overflow:I,overflowX:N,overflowY:P,position:j,spacing:G,spacingHorizontal:J,spacingVertical:D,spacingBottom:X,spacingEnd:Y,spacingStart:q,spacingTop:F,offset:Q,offsetVertical:K,offsetHorizontal:O,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:rr,rowGap:tr,dropShadow:er,insetShadow:or,className:r});return d(e?u:"button",{className:ir,ref:nr,onClick:l,...lr})})),v=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===t)switch(r){case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return d(c,{})};v.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var g=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===t)switch(r){case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return d(c,{})};g.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var z=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===t)switch(r){case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return d(c,{})};z.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var C=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===t)switch(r){case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return d(c,{})};C.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var M=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===t)switch(r){case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return d(c,{})};M.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var b=({size:r,variant:t})=>{if("outline"===t)switch(r){case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===t)switch(r){case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return d(c,{})};b.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]};
|
3
|
+
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{p as Pressable,m as SpringMotionConfig,g as a,z as a2,M as e,b as e2,C as l,v as t};
|
@@ -0,0 +1 @@
|
|
1
|
+
import{cx as r,getStyles as e,VStack as i,HStack as t,Box as a,Text as n}from"./chunk-HVVEL54J.js";import{forwardRef as o,useMemo as l}from"react";import{jsxs as d,jsx as c}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var s={horizontal:"w-full",vertical:""},h=o((function({vertical:o=!1,variant:h="primary",contentPosition:m="center",className:f,children:v,layerClassNames:p,...x},b){const N=o?"vertical":"horizontal",W=o?i:t,u=l((()=>r(s[N],"inherit"!==h&&e({dividerVariantRoot:h}),f,p?.root)),[h,f,N,p]),y=l((()=>r("inherit"!==h?e({dividerVariantLabel:h}):void 0,p?.text)),[h,p]),V=l((()=>r("inherit"!==h&&e({dividerVariantLine:h}),p?.line)),[h,p]),L=l((()=>"vertical"===N?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0}),[N]),g=()=>c(a,{flex:"1",className:V,style:L});return v?d(W,{flex:"1",alignItems:"center",className:u,ref:b,...x,children:["start"!==m&&c(g,{}),c(a,{flex:"none",children:c(n,{color:"inherit",variant:"inherit",className:y,children:v})}),"end"!==m&&c(g,{})]}):c(a,{display:"flex",flex:"none",className:u,ref:b,...x,children:c(g,{})})}));h.displayName="Divider";export{h as Divider};
|
@@ -0,0 +1,2 @@
|
|
1
|
+
"use strict";var r=require("./chunk-PDUDFUBF.cjs"),e=require("./chunk-CNAKHAWF.cjs"),t=require("motion/react"),n=require("react"),a=require("react/jsx-runtime"),s={damped:{1:{damping:20.585796264350424,stiffness:62.37968115365702},2:{damping:29.312551281312288,stiffness:126.47801753759964},3:{damping:48.92799401356162,stiffness:352.3892336537332},4:{damping:123.42690994256348,stiffness:2242.474548821137}},smooth:{1:{damping:16.46863701148034,stiffness:67.80400125397502},2:{damping:23.45004102504983,stiffness:137.47610601913004},3:{damping:39.1423952108493,stiffness:383.03177571057955},4:{damping:98.7415279540508,stiffness:2437.4723356751488}},subtle:{1:{damping:13.04316051309243,stiffness:67.80400125397502},2:{damping:18.572432491839468,stiffness:137.47610601913004},3:{damping:31.000777006992646,stiffness:383.03177571057955},4:{damping:78.20329013960823,stiffness:2437.4723356751488}},bouncy:{1:{damping:9.229712940600143,stiffness:48.880672622541795},2:{damping:12.634144343496553,stiffness:91.59092691366399},3:{damping:19.40217701790486,stiffness:216.00395877230474},4:{damping:37.541723184430275,stiffness:808.7032559422912}},veryBouncy:{1:{damping:6.902290754946187,stiffness:38.92152745126911},2:{damping:9.155550514215523,stiffness:68.48134828711234},3:{damping:13.244464908166709,stiffness:143.30858570843873},4:{damping:22.17862652876726,stiffness:401.85804919502965}}},o=()=>import("./motionFeatures-6LIGGXPL.cjs").then((({domAnimation:r})=>r));/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var i=r.createSlot(),l=n.forwardRef((function({className:e,asChild:t,onPress:n,onClick:s=n,backgroundColor:o,borderRadius:l,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:h,borderBottomEndRadius:m,borderColor:f,borderStartColor:u,borderEndColor:g,borderTopColor:p,borderBottomColor:x,borderWidth:v,borderVerticalWidth:j,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:b,borderBottomWidth:F,alignContent:S,alignItems:V,alignSelf:H,flex:w,flexDirection:L,flexGrow:y,flexShrink:B,flexWrap:W,justifyContent:A,flexBasis:E,display:T,overflow:R,overflowX:k,overflowY:P,position:I,spacing:G,spacingHorizontal:N,spacingVertical:q,spacingBottom:D,spacingEnd:X,spacingStart:U,spacingTop:Y,offset:K,offsetVertical:J,offsetHorizontal:O,offsetBottom:Q,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:nr,...ar},sr){const or=r.getStyles({backgroundColor:o,borderRadius:l,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:h,borderBottomEndRadius:m,borderColor:f,borderStartColor:u,borderEndColor:g,borderTopColor:p,borderBottomColor:x,borderWidth:v,borderVerticalWidth:j,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:b,borderBottomWidth:F,alignContent:S,alignItems:V,alignSelf:H,flex:w,flexDirection:L,flexGrow:y,flexShrink:B,flexWrap:W,justifyContent:A,flexBasis:E,display:T,overflow:R,overflowX:k,overflowY:P,position:I,spacing:G,spacingHorizontal:N,spacingVertical:q,spacingBottom:D,spacingEnd:X,spacingStart:U,spacingTop:Y,offset:K,offsetVertical:J,offsetHorizontal:O,offsetBottom:Q,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:nr,className:e}),ir=t?i:"button";return a.jsx(ir,{className:or,ref:sr,onClick:s,...ar})})),d=({size:r,variant:e})=>{if("outline"===e)switch(r){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===e)switch(r){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return a.jsx(a.Fragment,{})};d.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var c=({size:r,variant:e})=>{if("outline"===e)switch(r){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===e)switch(r){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return a.jsx(a.Fragment,{})};c.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var h=({size:r,variant:e})=>{if("outline"===e)switch(r){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===e)switch(r){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return a.jsx(a.Fragment,{})};h.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var m=({size:r,variant:e})=>{if("outline"===e)switch(r){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===e)switch(r){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return a.jsx(a.Fragment,{})};m.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var f=({size:r,variant:e})=>{if("outline"===e)switch(r){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===e)switch(r){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return a.jsx(a.Fragment,{})};f.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var u=({size:r,variant:e})=>{if("outline"===e)switch(r){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===e)switch(r){case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return a.jsx(a.Fragment,{})};u.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]},
|
2
|
+
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Pressable=l,exports.SpringMotionConfig=function({reducedMotion:r="user",children:i,layoutVariant:l="subtle",layoutSpeed:d="3",colorVariant:c="smooth",colorSpeed:h="3"}){const m=s[l][d],f=s[c][h],[u,g]=n.useState(m),[p,x]=n.useState(f),v={variant:c,speed:h},j=e.getMotionVar({...v,control:"stiffness"}),z=e.getMotionVar({...v,control:"damping"}),C={variant:l,speed:d},M=e.getMotionVar({...C,control:"stiffness"}),b=e.getMotionVar({...C,control:"damping"});n.useEffect((()=>{const r=getComputedStyle(document.documentElement),e={damping:Number(r.getPropertyValue(b)),stiffness:Number(r.getPropertyValue(M))},t={damping:Number(r.getPropertyValue(z)),stiffness:Number(r.getPropertyValue(j))};g(e),x(t)}),[z,j,b,M]);const F=n.useMemo((()=>({type:"spring",mass:1,...u,layout:u,opacity:p,color:p,borderColor:p,backgroundColor:p})),[p,u]);return a.jsx(t.LazyMotion,{features:o,strict:!0,children:a.jsx(t.MotionConfig,{transition:F,reducedMotion:r,children:i})})},exports.a=c,exports.a2=h,exports.e=f,exports.e2=u,exports.l=m,exports.t=d;
|