@yahoo/uds 3.3.3 → 3.4.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/PropsToClass.mock.tsx +14 -0
- package/dist/{VStack-Bh7ftAOg.d.ts → VStack-D01lhpy-.d.ts} +1 -1
- package/dist/{VStack-BwpcIbVt.d.cts → VStack-D4Meu5hQ.d.cts} +1 -1
- package/dist/chunk-2TV7YHJM.js +2 -0
- package/dist/{chunk-ZXWBFBET.cjs → chunk-CFUZ4XFX.cjs} +1 -1
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +11 -3
- package/dist/client/index.d.ts +11 -3
- package/dist/client/index.js +3 -3
- package/dist/experimental/client/index.cjs +1 -1
- package/dist/experimental/client/index.js +1 -1
- package/dist/{index-nHs3qZik.d.ts → index-C0qfnFCa.d.ts} +1 -1
- package/dist/{index-DDOlujNi.d.cts → index-DDlRCX51.d.cts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- 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 +2 -2
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +5 -1
- package/dist/tailwind/utils.d.ts +5 -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.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/{types-Dbgbylmg.d.cts → types-Dul9W1L-.d.cts} +1783 -1766
- package/dist/{types-BudqjfL9.d.ts → types-Dul9W1L-.d.ts} +18 -1
- package/package.json +1 -1
- package/dist/VStack-nWg63Lkd.d.ts +0 -145
- package/dist/VStack-nhxCYGiT.d.cts +0 -145
- package/dist/chunk-2QYCYBXH.cjs +0 -2
- package/dist/chunk-3HJAKD7X.cjs +0 -3
- package/dist/chunk-ADXQI4EF.js +0 -2
- package/dist/chunk-HBZLHJEI.js +0 -2
- package/dist/chunk-MMCNHKJJ.js +0 -2
- package/dist/chunk-PLGFYRZJ.js +0 -3
- package/dist/chunk-YTMZSL6D.cjs +0 -1
- package/dist/index-DNEw8o0u.d.cts +0 -208
- package/dist/index-DNM2tLv-.d.ts +0 -208
- package/dist/types-BudqjfL9.d.cts +0 -10245
- package/dist/types-Dbgbylmg.d.ts +0 -10245
@@ -0,0 +1,14 @@
|
|
1
|
+
import { Button, cx, HStack, Text } from '@yahoo/uds';
|
2
|
+
const textClassName = cx('text-primary');
|
3
|
+
const otherProps = { height: 'fit' };
|
4
|
+
|
5
|
+
export const PageA = () => {
|
6
|
+
return (
|
7
|
+
<HStack className="w-full max-h-screen">
|
8
|
+
<Button className="min-w-full">Click me</Button>
|
9
|
+
{/* 🙏 TODO: Add w-10/12 to your className attribute */}
|
10
|
+
<Text className={textClassName}>Some text</Text>
|
11
|
+
<Text {...otherProps}>Some text</Text>
|
12
|
+
</HStack>
|
13
|
+
);
|
14
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { e as UniversalBoxProps, f as UniversalStackProps, g as UniversalDividerProps, h as UniversalInputProps } from './types-
|
2
|
+
import { e as UniversalBoxProps, f as UniversalStackProps, g as UniversalDividerProps, h as UniversalInputProps } from './types-Dul9W1L-.js';
|
3
3
|
import { HTMLMotionProps } from 'motion/react';
|
4
4
|
|
5
5
|
type DivProps = React.HTMLAttributes<HTMLDivElement>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { e as UniversalBoxProps, f as UniversalStackProps, g as UniversalDividerProps, h as UniversalInputProps } from './types-
|
2
|
+
import { e as UniversalBoxProps, f as UniversalStackProps, g as UniversalDividerProps, h as UniversalInputProps } from './types-Dul9W1L-.cjs';
|
3
3
|
import { HTMLMotionProps } from 'motion/react';
|
4
4
|
|
5
5
|
type DivProps = React.HTMLAttributes<HTMLDivElement>;
|