@yahoo/uds 0.4.3 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. package/cli/utils/purgeCSS.test.ts +2 -9
  2. package/cli/utils/purgeCSS.ts +17 -19
  3. package/dist/{Image.native-CyJCMvgr.d.cts → Image.native-CfDCpWe_.d.cts} +1 -1
  4. package/dist/{Image.native-M50LC-q7.d.ts → Image.native-nwk5tr_f.d.ts} +1 -1
  5. package/dist/{VStack-fSE_ityd.d.ts → VStack-Bj6PfbK5.d.ts} +1 -1
  6. package/dist/{VStack-R8SACz7K.d.cts → VStack-D-py89Ge.d.cts} +1 -1
  7. package/dist/experimental/index.cjs +1 -1
  8. package/dist/experimental/index.d.cts +2 -2
  9. package/dist/experimental/index.d.ts +2 -2
  10. package/dist/experimental/index.js +1 -1
  11. package/dist/experimental/index.native.cjs +1 -1
  12. package/dist/experimental/index.native.d.cts +3 -3
  13. package/dist/experimental/index.native.d.ts +3 -3
  14. package/dist/experimental/index.native.js +1 -1
  15. package/dist/fixtures.cjs +60 -124
  16. package/dist/fixtures.d.ts +3 -10
  17. package/dist/fixtures.js +59 -123
  18. package/dist/index.cjs +1 -1
  19. package/dist/index.d.cts +21 -21
  20. package/dist/index.d.ts +21 -21
  21. package/dist/index.js +1 -1
  22. package/dist/{index.native-BstClKbg.d.cts → index.native-A2gCijBH.d.cts} +1 -1
  23. package/dist/{index.native-DtdUtCNu.d.ts → index.native-BLJdXZHY.d.ts} +1 -1
  24. package/dist/index.native.cjs +1 -1
  25. package/dist/index.native.d.cts +5 -9
  26. package/dist/index.native.d.ts +5 -9
  27. package/dist/index.native.js +1 -1
  28. package/dist/tailwind/plugin.cjs +1 -1
  29. package/dist/tailwind/plugin.d.cts +15 -2
  30. package/dist/tailwind/plugin.d.ts +15 -2
  31. package/dist/tailwind/plugin.js +1 -1
  32. package/dist/tailwind/purger.cjs +4 -0
  33. package/dist/tailwind/purger.d.cts +20 -0
  34. package/dist/tailwind/purger.d.ts +20 -0
  35. package/dist/tailwind/purger.js +4 -0
  36. package/dist/tailwind/tsMorph.cjs +1 -0
  37. package/dist/tailwind/tsMorph.d.cts +25 -0
  38. package/dist/tailwind/tsMorph.d.ts +25 -0
  39. package/dist/tailwind/tsMorph.js +1 -0
  40. package/dist/tokens/index.cjs +1 -1
  41. package/dist/tokens/index.d.cts +3 -4
  42. package/dist/tokens/index.d.ts +3 -4
  43. package/dist/tokens/index.js +1 -1
  44. package/dist/tokens/index.native.cjs +1 -1
  45. package/dist/tokens/index.native.d.cts +2 -2
  46. package/dist/tokens/index.native.d.ts +2 -2
  47. package/dist/tokens/index.native.js +1 -1
  48. package/dist/tokens/parseTokens.cjs +1 -1
  49. package/dist/tokens/parseTokens.d.cts +2 -3
  50. package/dist/tokens/parseTokens.d.ts +2 -3
  51. package/dist/tokens/parseTokens.js +1 -1
  52. package/dist/{types-BN1X8QcB.d.cts → types-Diou6f1Q.d.cts} +1 -2
  53. package/dist/{types-BN1X8QcB.d.ts → types-Diou6f1Q.d.ts} +1 -2
  54. package/dist/{types-DRP5tWZG.d.cts → types-Dk8fLx7L.d.cts} +2 -3
  55. package/dist/{types-DRP5tWZG.d.ts → types-Dk8fLx7L.d.ts} +2 -3
  56. package/package.json +1 -1
@@ -57,7 +57,7 @@ type AvatarSizeConfig = Record<AvatarSize, number>;
57
57
  type AvatarShape = BorderRadius;
58
58
  type IconSize = 'sm' | 'md' | 'lg';
59
59
  type IconSizeConfig = Record<IconSize, number>;
60
- type SpacingAlias = 'none' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14';
60
+ type SpacingAlias = '0' | 'px' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40' | '44' | '48' | '52' | '56' | '60' | '64' | '72' | '80' | '96';
61
61
  type SpacingConfig = Record<SpacingAlias, number>;
62
62
  type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
63
63
  type BorderRadiusConfig = Record<BorderRadius, number>;
@@ -86,7 +86,6 @@ type PaletteConfig = {
86
86
  type ScaleConfig = {
87
87
  avatarSizes: AvatarSizeConfig;
88
88
  iconSizes: IconSizeConfig;
89
- spacing: SpacingConfig;
90
89
  borderRadius: BorderRadiusConfig;
91
90
  borderWidth: BorderWidthConfig;
92
91
  fontFamily: FontFamilyConfig;
@@ -372,4 +371,4 @@ interface UniversalTextInputProps {
372
371
  spacingHorizontal?: SpacingAlias;
373
372
  }
374
373
 
375
- export { type CorePalette as $, type AvatarSizeConfig as A, type BackgroundStyleProps as B, type ColorModeForApp as C, type AlwaysPalette as D, type AlwaysPaletteAlias as E, type FlexStyleProps as F, type Animation as G, type AriaAttribute as H, type ImageStyleProps as I, type AvatarShape as J, type AvatarSize as K, type LayoutStyleProps as L, type Modes as M, type BackgroundColor as N, type BackgroundPalette as O, type BackgroundPaletteAlias as P, type BorderRadius as Q, type BorderWidth as R, type ScaleModeForApp as S, type TextStyleProps as T, type UniversalAvatarProps as U, type BoxShadowConfig as V, type ButtonSize as W, type ButtonVariant as X, type ColorModeConfig as Y, type ColorsConfig as Z, type ConfigurableTextProperty as _, type UniversalButtonProps as a, type CorePaletteAlias as a0, type DataAttribute as a1, type Display as a2, type Flex as a3, type FlexAlignContent as a4, type FlexAlignItems as a5, type FlexAlignSelf as a6, type FlexBasis as a7, type FlexDirection as a8, type FlexGrow as a9, type PlatformMode as aA, type Position as aB, type RegionMode as aC, type ScaleConfig as aD, type ScaleModeConfig as aE, type SpacingAlias as aF, type SpectrumColor as aG, type SpectrumConfig as aH, type StateStyleProps as aI, type TextTransform as aJ, type TextVariant as aK, type TransitionDelay as aL, type TransitionDuration as aM, type TransitionTiming as aN, type UniversalTextInputProps as aO, type FlexJustifyContent as aa, type FlexShrink as ab, type FlexWrap as ac, type FontFamilyGlobalAlias as ad, type FontSize as ae, type FontWeightDescriptive as af, type FontWeightNumeric as ag, type ForegroundColor as ah, type ForegroundPalette as ai, type ForegroundPaletteAlias as aj, type HighContrastMode as ak, type Hue as al, type HueStep as am, type IconName as an, type IconSize as ao, type LetterSpacing as ap, type LineClampAlias as aq, type LineColor as ar, type LineHeight as as, type LinePalette as at, type LinePaletteAlias as au, type Overflow as av, type Palette as aw, type PaletteConfig as ax, type PaletteType as ay, type PaletteValue as az, type UniversalPressableProps as b, type UniversalIconButtonProps as c, type UniversalImageProps as d, type UniversalBoxProps as e, type UniversalStackProps as f, type UniversalTextProps as g, type UniversalIconProps as h, type ColorMode as i, type ScaleMode as j, type UniversalTokensConfig as k, type BorderStyleProps as l, type SpacingStyleProps as m, type CustomSizingStyleProps as n, type IconSizeConfig as o, type SpacingConfig as p, type BorderRadiusConfig as q, type BorderWidthConfig as r, type FontFamilyConfig as s, type FontSizeConfig as t, type FontWeightConfig as u, type LineHeightConfig as v, type TextTransformConfig as w, type FontFamilyGlobalConfig as x, type StyleProps as y, alwaysPalette as z };
374
+ export { type CorePaletteAlias as $, type AvatarSizeConfig as A, type BackgroundStyleProps as B, type ColorModeForApp as C, type AlwaysPaletteAlias as D, type Animation as E, type FlexStyleProps as F, type AriaAttribute as G, type AvatarShape as H, type ImageStyleProps as I, type AvatarSize as J, type BackgroundColor as K, type LayoutStyleProps as L, type Modes as M, type BackgroundPalette as N, type BackgroundPaletteAlias as O, type BorderRadius as P, type BorderWidth as Q, type BoxShadowConfig as R, type ScaleModeForApp as S, type TextStyleProps as T, type UniversalAvatarProps as U, type ButtonSize as V, type ButtonVariant as W, type ColorModeConfig as X, type ColorsConfig as Y, type ConfigurableTextProperty as Z, type CorePalette as _, type UniversalButtonProps as a, type DataAttribute as a0, type Display as a1, type Flex as a2, type FlexAlignContent as a3, type FlexAlignItems as a4, type FlexAlignSelf as a5, type FlexBasis as a6, type FlexDirection as a7, type FlexGrow as a8, type FlexJustifyContent as a9, type Position as aA, type RegionMode as aB, type ScaleConfig as aC, type ScaleModeConfig as aD, type SpacingAlias as aE, type SpacingConfig as aF, type SpectrumColor as aG, type SpectrumConfig as aH, type StateStyleProps as aI, type TextTransform as aJ, type TextVariant as aK, type TransitionDelay as aL, type TransitionDuration as aM, type TransitionTiming as aN, type UniversalTextInputProps as aO, type FlexShrink as aa, type FlexWrap as ab, type FontFamilyGlobalAlias as ac, type FontSize as ad, type FontWeightDescriptive as ae, type FontWeightNumeric as af, type ForegroundColor as ag, type ForegroundPalette as ah, type ForegroundPaletteAlias as ai, type HighContrastMode as aj, type Hue as ak, type HueStep as al, type IconName as am, type IconSize as an, type LetterSpacing as ao, type LineClampAlias as ap, type LineColor as aq, type LineHeight as ar, type LinePalette as as, type LinePaletteAlias as at, type Overflow as au, type Palette as av, type PaletteConfig as aw, type PaletteType as ax, type PaletteValue as ay, type PlatformMode as az, type UniversalPressableProps as b, type UniversalIconButtonProps as c, type UniversalImageProps as d, type UniversalBoxProps as e, type UniversalStackProps as f, type UniversalTextProps as g, type UniversalIconProps as h, type ColorMode as i, type ScaleMode as j, type UniversalTokensConfig as k, type BorderStyleProps as l, type SpacingStyleProps as m, type CustomSizingStyleProps as n, type IconSizeConfig as o, type BorderRadiusConfig as p, type BorderWidthConfig as q, type FontFamilyConfig as r, type FontSizeConfig as s, type FontWeightConfig as t, type LineHeightConfig as u, type TextTransformConfig as v, type FontFamilyGlobalConfig as w, type StyleProps as x, alwaysPalette as y, type AlwaysPalette as z };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yahoo/uds",
3
3
  "description": "Yahoo Universal System",
4
- "version": "0.4.3",
4
+ "version": "0.4.5",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "uds": "./cli/uds-cli"