@yahoo/uds 3.13.0 → 3.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Input-D8BREuel.d.ts → Input-Dl4MH4QA.d.ts} +1 -1
- package/dist/{Input-CVeeUxNU.d.cts → Input-aOibmfef.d.cts} +1 -1
- package/dist/{Pressable-CyPTAGE2.d.ts → Pressable-SbKe8rDQ.d.ts} +1 -1
- package/dist/{Pressable-BVo-S6Zr.d.cts → Pressable-mC6RJscK.d.cts} +1 -1
- package/dist/{VStack-FrGTqacI.d.ts → VStack-CntCBGfp.d.ts} +1 -1
- package/dist/{VStack-BuZuyzJQ.d.cts → VStack-z0qYJqIc.d.cts} +1 -1
- package/dist/{chunk-OU46NWOC.cjs → chunk-4NZKRK55.cjs} +1 -1
- package/dist/chunk-5BYL7WNH.cjs +1 -0
- package/dist/chunk-5QLKLUZU.js +2 -0
- package/dist/{chunk-B73VFZGJ.js → chunk-AWSJDBQH.js} +1 -1
- package/dist/{chunk-3N4JOIUF.cjs → chunk-BCFYKKRU.cjs} +3 -3
- package/dist/{chunk-O7EFQP7P.cjs → chunk-BYASTYEI.cjs} +1 -1
- package/dist/{chunk-UKRZ6DPJ.js → chunk-DJUNEWZ7.js} +1 -1
- package/dist/{chunk-2II4ZFQI.js → chunk-MQI5GFGF.js} +2 -2
- package/dist/{chunk-WLUJBM5E.js → chunk-N4FHPR6Q.js} +1 -1
- package/dist/{chunk-ZSIYWIN2.cjs → chunk-NYQHJWTA.cjs} +1 -1
- package/dist/{chunk-DKEBQF5G.cjs → chunk-OVXGAHLE.cjs} +1 -1
- package/dist/{chunk-VWZ3EXJ3.cjs → chunk-PP2Z6HI3.cjs} +1 -1
- package/dist/{chunk-UZXPZDSS.js → chunk-S2FXUKQX.js} +3 -3
- package/dist/{chunk-MABGUDH4.js → chunk-WMOJ5WXH.js} +1 -1
- package/dist/{chunk-BJCZ62IT.js → chunk-XYUF3GPH.js} +1 -1
- package/dist/{chunk-ZPZAKENT.cjs → chunk-YV2EYDJK.cjs} +1 -1
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.d.cts +3 -3
- package/dist/client/Menu.d.ts +3 -3
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +1 -1
- package/dist/{index-Dk7Qj5gp.d.cts → index-DSqYDAbI.d.cts} +1 -1
- package/dist/{index-PeX4hWLQ.d.ts → index-Dwb73uSE.d.ts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +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.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +4 -4
- package/dist/tokens/index.d.ts +4 -4
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-Che4YX3v.d.ts → types-B4Hts0Xm.d.cts} +4 -4
- package/dist/{types-Che4YX3v.d.cts → types-B4Hts0Xm.d.ts} +4 -4
- package/package.json +1 -1
- package/dist/Input-DpPT9FEx.d.cts +0 -42
- package/dist/Input-Dsf_gO9A.d.ts +0 -42
- package/dist/Pressable-C8YAmTgO.d.ts +0 -44
- package/dist/Pressable-DJs75dFs.d.cts +0 -44
- package/dist/VStack-Cwnc0X7i.d.cts +0 -112
- package/dist/VStack-pKyyirAP.d.ts +0 -112
- package/dist/chunk-2J7CK77Y.cjs +0 -1
- package/dist/chunk-C3Q7Z6UA.js +0 -3
- package/dist/chunk-CW2GDS2H.cjs +0 -1
- package/dist/chunk-DEQ37TRE.js +0 -1
- package/dist/chunk-EGRAYQGZ.js +0 -2
- package/dist/chunk-FIK5E5XF.cjs +0 -1
- package/dist/chunk-FIY4G5A4.cjs +0 -1
- package/dist/chunk-IVLA3HPE.js +0 -1
- package/dist/chunk-PYXGHSQQ.cjs +0 -2
- package/dist/chunk-RYT7E6ME.js +0 -3
- package/dist/chunk-SYYG6CQE.js +0 -2
- package/dist/chunk-UONN6ZKS.cjs +0 -1
- package/dist/chunk-VAUJIRSN.js +0 -2
- package/dist/chunk-WNGG5RTE.cjs +0 -3
- package/dist/index-BXnKaQUl.d.ts +0 -243
- package/dist/index-C3N2muhC.d.cts +0 -243
- package/dist/types-BUzQ4GYD.d.cts +0 -10449
- package/dist/types-BUzQ4GYD.d.ts +0 -10449
@@ -1,112 +0,0 @@
|
|
1
|
-
import * as react from 'react';
|
2
|
-
import { g as UniversalBoxProps, h as UniversalStackProps, i as UniversalDividerProps } from './types-BUzQ4GYD.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
|
-
interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
|
35
|
-
layerClassNames?: {
|
36
|
-
root?: string;
|
37
|
-
text?: string;
|
38
|
-
line?: string;
|
39
|
-
};
|
40
|
-
}
|
41
|
-
|
42
|
-
type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
|
43
|
-
interface DividerInternalProps extends DividerCoreProps {
|
44
|
-
variant?: VariantWithInherit;
|
45
|
-
}
|
46
|
-
|
47
|
-
type DividerProps = Omit<DividerInternalProps, 'layerClassNames'>;
|
48
|
-
/**
|
49
|
-
* **📦 A divider component that can be used to visually separate components**
|
50
|
-
*
|
51
|
-
* @description
|
52
|
-
* 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.
|
53
|
-
*
|
54
|
-
* @example
|
55
|
-
* ```tsx
|
56
|
-
* import { Divider } from '@yahoo/uds';
|
57
|
-
*
|
58
|
-
* // Default primary horizontal divider. Similar to <hr />
|
59
|
-
* <Divider />
|
60
|
-
*
|
61
|
-
* // A vertical divider.
|
62
|
-
* <Divider vertical />
|
63
|
-
*
|
64
|
-
* // A horizontal divider with the secondary styling.
|
65
|
-
* <Divider variant="secondary" />
|
66
|
-
*
|
67
|
-
* // A vertical divider with the tertiary styling.
|
68
|
-
* <Divider vertical variant="tertiary" />
|
69
|
-
* ```
|
70
|
-
*
|
71
|
-
* @usage
|
72
|
-
* - Visually separating parts of a page. Usually used in conjuction with [HStack](./h-stack) or [VStack](./v-stack).
|
73
|
-
*
|
74
|
-
* @see The {@link https://uds.build/docs/components/divider Divider Docs} for more info
|
75
|
-
*
|
76
|
-
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
77
|
-
*/
|
78
|
-
declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
|
79
|
-
|
80
|
-
type VStackProps = UniversalStackProps & DivProps;
|
81
|
-
/**
|
82
|
-
* **🥞 A layout component that arranges its children in rows using flexbox**
|
83
|
-
*
|
84
|
-
* @description
|
85
|
-
* 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)
|
86
|
-
* and can be used to compose larger layouts. VStack is similar to [Box](./box) but provides additional features like a `gap` property to
|
87
|
-
* add spacing between children.
|
88
|
-
*
|
89
|
-
* @example
|
90
|
-
* ```tsx
|
91
|
-
* import { VStack, Text } from '@yahoo/uds';
|
92
|
-
*
|
93
|
-
* <VStack gap="6">
|
94
|
-
* <Text variant="body1" color="primary">First</Text>
|
95
|
-
* <Text variant="body1" color="primary">Second</Text>
|
96
|
-
* <Text variant="body1" color="primary">Third</Text>
|
97
|
-
* </VStack>
|
98
|
-
* ```
|
99
|
-
*
|
100
|
-
* @usage
|
101
|
-
* - Create a column of items, optionally with gaps between.
|
102
|
-
* - Create rows that are sized to their content (height only). By default each child will fill the width of the VStack.
|
103
|
-
* - Create rows that fill the available space within the parent container.
|
104
|
-
* - Create rows of proportionate size to each other (also known as a ratio-based layout).
|
105
|
-
*
|
106
|
-
* @see The {@link https://uds.build/docs/components/v-stack VStack Docs} for more info
|
107
|
-
*
|
108
|
-
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack)
|
109
|
-
**/
|
110
|
-
declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps & react.RefAttributes<HTMLDivElement>>;
|
111
|
-
|
112
|
-
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 };
|