@yahoo/uds 3.4.8 → 3.5.0-beta.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.
Files changed (57) hide show
  1. package/cli/FullWidthClassToProp.mock.tsx +17 -0
  2. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  3. package/cli/bin/uds-linux-arm64 +0 -0
  4. package/cli/bin/uds-linux-x64-baseline +0 -0
  5. package/dist/{VStack-CWaR6qMk.d.ts → VStack-CmraVolm.d.ts} +3 -8
  6. package/dist/{VStack-VYrQbFmE.d.cts → VStack-dT3EJCu4.d.cts} +3 -8
  7. package/dist/chunk-EE3DM7SS.js +2 -0
  8. package/dist/chunk-IQ4HRDIM.cjs +3 -0
  9. package/dist/chunk-KSHOOD3K.js +3 -0
  10. package/dist/chunk-P4XGJJCM.cjs +2 -0
  11. package/dist/client/index.cjs +2 -2
  12. package/dist/client/index.d.cts +2 -2
  13. package/dist/client/index.d.ts +2 -2
  14. package/dist/client/index.js +3 -3
  15. package/dist/{index-5FbcDtke.d.ts → index-BOfq14yW.d.ts} +6 -39
  16. package/dist/{index-D9eJ0LWw.d.cts → index-D1poGuo1.d.cts} +6 -39
  17. package/dist/index.cjs +1 -1
  18. package/dist/index.d.cts +3 -3
  19. package/dist/index.d.ts +3 -3
  20. package/dist/index.js +1 -1
  21. package/dist/metafile-cjs.json +1 -1
  22. package/dist/metafile-esm.json +1 -1
  23. package/dist/tailwind/plugin.cjs +1 -1
  24. package/dist/tailwind/plugin.js +2 -2
  25. package/dist/tailwind/purger.cjs +1 -1
  26. package/dist/tailwind/purger.js +1 -1
  27. package/dist/tailwind/utils.cjs +1 -1
  28. package/dist/tailwind/utils.js +1 -1
  29. package/dist/tokens/automation/configs.cjs +1 -1
  30. package/dist/tokens/automation/configs.d.cts +1 -1
  31. package/dist/tokens/automation/configs.d.ts +1 -1
  32. package/dist/tokens/automation/configs.js +1 -1
  33. package/dist/tokens/automation/properties.cjs +1 -1
  34. package/dist/tokens/automation/properties.d.cts +1 -1
  35. package/dist/tokens/automation/properties.d.ts +1 -1
  36. package/dist/tokens/automation/properties.js +1 -1
  37. package/dist/tokens/index.cjs +1 -1
  38. package/dist/tokens/index.d.cts +2 -2
  39. package/dist/tokens/index.d.ts +2 -2
  40. package/dist/tokens/index.js +1 -1
  41. package/package.json +5 -3
  42. package/dist/VStack-BKDHQeTK.d.ts +0 -150
  43. package/dist/VStack-Dvrz0_7L.d.cts +0 -150
  44. package/dist/chunk-2MG2VZWQ.js +0 -3
  45. package/dist/chunk-4ZPWHOWH.js +0 -3
  46. package/dist/chunk-6GA7YVZ6.js +0 -2
  47. package/dist/chunk-B6TJHTZE.js +0 -2
  48. package/dist/chunk-HBZLHJEI.js +0 -2
  49. package/dist/chunk-JT7WMMLH.cjs +0 -3
  50. package/dist/chunk-NFM3LOGK.cjs +0 -2
  51. package/dist/chunk-TH6RUZ5W.cjs +0 -3
  52. package/dist/chunk-XF3ISQLE.cjs +0 -2
  53. package/dist/chunk-YTMZSL6D.cjs +0 -1
  54. package/dist/index-5tZk1dA6.d.cts +0 -241
  55. package/dist/index-Byllc0JJ.d.ts +0 -241
  56. package/dist/types-DE_O6y5z.d.cts +0 -10302
  57. package/dist/types-DE_O6y5z.d.ts +0 -10302
@@ -0,0 +1,17 @@
1
+ import { Box, Button, HStack } from '@yahoo/uds';
2
+ import { VStack } from 'another-package';
3
+
4
+ export const PageA = () => {
5
+ return (
6
+ <HStack height="screen" width="full" className="max-h-screen">
7
+ <Button width="full">Click me</Button>
8
+ <Box width="full">Click me</Button>
9
+ <Box className="dont_touch_me">Box</Box>
10
+ </HStack>
11
+ <Box>Empty</Box>
12
+ <div className="w-full h-full">shouldn't be touched</div>
13
+ <VStack className="w-full">shouldn't be touched</VStack>
14
+ <Box height="full" width="full" className="foo bar">Box</Box>
15
+ <Box height="full">Box</Box>
16
+ );
17
+ }
Binary file
Binary file
Binary file
@@ -32,20 +32,15 @@ interface BoxProps extends UniversalBoxProps, DivProps {
32
32
  */
33
33
  declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
34
34
 
35
- interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
35
+ type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
36
+ interface DividerProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
37
+ variant?: VariantWithInherit;
36
38
  layerClassNames?: {
37
39
  root?: string;
38
40
  text?: string;
39
41
  line?: string;
40
42
  };
41
43
  }
42
-
43
- type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
44
- interface DividerInternalProps extends DividerCoreProps {
45
- variant?: VariantWithInherit;
46
- }
47
-
48
- type DividerProps = Omit<DividerInternalProps, 'layerClassNames'>;
49
44
  /**
50
45
  * **📦 A divider component that can be used to visually separate components**
51
46
  *
@@ -32,20 +32,15 @@ interface BoxProps extends UniversalBoxProps, DivProps {
32
32
  */
33
33
  declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
34
34
 
35
- interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
35
+ type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
36
+ interface DividerProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
37
+ variant?: VariantWithInherit;
36
38
  layerClassNames?: {
37
39
  root?: string;
38
40
  text?: string;
39
41
  line?: string;
40
42
  };
41
43
  }
42
-
43
- type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
44
- interface DividerInternalProps extends DividerCoreProps {
45
- variant?: VariantWithInherit;
46
- }
47
-
48
- type DividerProps = Omit<DividerInternalProps, 'layerClassNames'>;
49
44
  /**
50
45
  * **📦 A divider component that can be used to visually separate components**
51
46
  *