@yahoo/uds 0.1.14 → 0.1.15
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/README.md +57 -5
- package/cli/commands/expo/_setup.ts +56 -13
- package/cli/commands/expo/dev.ts +14 -7
- package/cli/commands/purge.ts +15 -0
- package/cli/commands/{config/sync.ts → sync.ts} +2 -2
- package/cli/utils/configWorker.ts +21 -1
- package/cli/utils/purgeCSS.ts +139 -0
- package/cli/utils/setupConfigWorker.ts +12 -13
- package/dist/{chunk-P7GR6E3K.js → chunk-AHFH5E5L.js} +1 -1
- package/dist/{chunk-MBOOJIH7.js → chunk-FLBMVDKG.js} +1 -1
- package/dist/{chunk-AWTLI4D3.js → chunk-U3UPAQ7V.js} +1 -1
- package/dist/fixtures/index.cjs +1 -1
- package/dist/fixtures/index.d.cts +2 -2
- package/dist/fixtures/index.d.ts +2 -2
- package/dist/fixtures/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +40 -31
- package/dist/index.d.ts +40 -31
- package/dist/index.js +1 -1
- package/dist/{index.native-9kYJrUPa.d.ts → index.native-TvtXtTXg.d.ts} +2 -2
- package/dist/{index.native-3ww4C4UV.d.cts → index.native-dgGFONLf.d.cts} +2 -2
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +10 -24
- package/dist/index.native.d.ts +10 -24
- package/dist/index.native.js +1 -1
- package/dist/tailwindPlugin.cjs +1 -1
- package/dist/tailwindPlugin.d.cts +1 -1
- package/dist/tailwindPlugin.d.ts +1 -1
- package/dist/tailwindPlugin.js +1 -1
- package/dist/tailwindPurge.cjs +4 -0
- package/dist/tailwindPurge.d.cts +16 -0
- package/dist/tailwindPurge.d.ts +16 -0
- package/dist/tailwindPurge.js +4 -0
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +3 -3
- package/dist/tokens/index.d.ts +3 -3
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/index.native.cjs +1 -1
- package/dist/tokens/index.native.d.cts +2 -2
- package/dist/tokens/index.native.d.ts +2 -2
- package/dist/tokens/index.native.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +12 -12
- package/dist/tokens/parseTokens.d.ts +12 -12
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/tokens/parseTokens.native.d.cts +2 -2
- package/dist/tokens/parseTokens.native.d.ts +2 -2
- package/dist/{types-J4DLS6Xj.d.cts → types-3GXulqnG.d.cts} +1 -1
- package/dist/{types-J4DLS6Xj.d.ts → types-3GXulqnG.d.ts} +1 -1
- package/dist/{types-hirL9Qk5.d.cts → types-8OHfDki5.d.cts} +47 -54
- package/dist/{types-hirL9Qk5.d.ts → types-8OHfDki5.d.ts} +47 -54
- package/package.json +19 -4
- package/cli/commands/config/config.ts +0 -10
- package/cli/commands/nextjs/dev.ts +0 -17
- package/cli/commands/nextjs/nextjs.ts +0 -10
| @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            import { U as UniversalTokensConfig, C as ColorMode, S as ScaleMode, B as BorderWidthConfig, a as ColorsConfig, H as Hue, b as HueStep, P as PaletteValue, c as CorePalette, d as BackgroundPalette, e as BackgroundWashPalette, F as ForegroundPalette, L as LinePalette, f as FontWeightConfig, g as  | 
| 1 | 
            +
            import { U as UniversalTokensConfig, C as ColorMode, S as ScaleMode, B as BorderWidthConfig, a as ColorsConfig, H as Hue, b as HueStep, P as PaletteValue, c as CorePalette, d as BackgroundPalette, e as BackgroundWashPalette, F as ForegroundPalette, L as LinePalette, f as FontWeightConfig, g as FontWeightNumeric, E as ElevationConfig, h as Elevation, i as FontFamilyGlobalConfig } from '../types-8OHfDki5.js';
         | 
| 2 2 | 
             
            import 'react';
         | 
| 3 3 |  | 
| 4 4 | 
             
            declare function transformColors(colors: ColorsConfig): {
         | 
| @@ -26,15 +26,15 @@ declare function transformFontWeight(config: FontWeightConfig): { | |
| 26 26 | 
             
                _vars: Record<string, string>;
         | 
| 27 27 | 
             
                _raw: FontWeightConfig;
         | 
| 28 28 | 
             
                tailwindConfig: {
         | 
| 29 | 
            -
                    medium:  | 
| 30 | 
            -
                    light:  | 
| 31 | 
            -
                    black:  | 
| 32 | 
            -
                    thin:  | 
| 33 | 
            -
                    extralight:  | 
| 34 | 
            -
                    regular:  | 
| 35 | 
            -
                    semibold:  | 
| 36 | 
            -
                    bold:  | 
| 37 | 
            -
                    extrabold:  | 
| 29 | 
            +
                    medium: FontWeightNumeric;
         | 
| 30 | 
            +
                    light: FontWeightNumeric;
         | 
| 31 | 
            +
                    black: FontWeightNumeric;
         | 
| 32 | 
            +
                    thin: FontWeightNumeric;
         | 
| 33 | 
            +
                    extralight: FontWeightNumeric;
         | 
| 34 | 
            +
                    regular: FontWeightNumeric;
         | 
| 35 | 
            +
                    semibold: FontWeightNumeric;
         | 
| 36 | 
            +
                    bold: FontWeightNumeric;
         | 
| 37 | 
            +
                    extrabold: FontWeightNumeric;
         | 
| 38 38 | 
             
                };
         | 
| 39 39 | 
             
            };
         | 
| 40 40 | 
             
            declare function transformString<T extends Record<string, string>>(prefix: string, config: T, transformValue?: (value: string) => string): {
         | 
| @@ -47,7 +47,7 @@ declare function transformNumeric<T extends Record<string, number>>(prefix: stri | |
| 47 47 | 
             
                _raw: T;
         | 
| 48 48 | 
             
                tailwindConfig: Record<string, string>;
         | 
| 49 49 | 
             
            };
         | 
| 50 | 
            -
            declare function transformElevation(elevation: ElevationConfig): Record< | 
| 50 | 
            +
            declare function transformElevation(elevation: ElevationConfig): Record<Elevation, string>;
         | 
| 51 51 | 
             
            declare function transformFontFamilyGlobal(fontFamily: FontFamilyGlobalConfig): {
         | 
| 52 52 | 
             
                icons: string[];
         | 
| 53 53 | 
             
                sans: string[];
         | 
| @@ -74,10 +74,10 @@ type WebTokens = Omit<UniversalTokensConfig, 'colorMode' | 'scaleMode' | 'fontFa | |
| 74 74 | 
             
                }>;
         | 
| 75 75 | 
             
            };
         | 
| 76 76 | 
             
            declare const transformBorderWidth: (obj: BorderWidthConfig) => {
         | 
| 77 | 
            +
                '0': string;
         | 
| 77 78 | 
             
                '1': string;
         | 
| 78 79 | 
             
                '2': string;
         | 
| 79 80 | 
             
                '4': string;
         | 
| 80 | 
            -
                '0': string;
         | 
| 81 81 | 
             
                '8': string;
         | 
| 82 82 | 
             
            };
         | 
| 83 83 | 
             
            declare function parseTokens(config: UniversalTokensConfig): WebTokens;
         | 
| @@ -1 +1 @@ | |
| 1 | 
            -
            import{a}from"../chunk- | 
| 1 | 
            +
            import{a}from"../chunk-FLBMVDKG.js";import"../chunk-WYDHNV42.js";import"../chunk-3I3D5S54.js";import"../chunk-74YHFBTD.js";import"../chunk-AHFH5E5L.js";export{a as parseTokens};
         | 
| @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            import { U as UniversalTokensConfig, C as ColorMode, a as ColorsConfig, E as ElevationConfig, h as  | 
| 1 | 
            +
            import { U as UniversalTokensConfig, C as ColorMode, a as ColorsConfig, E as ElevationConfig, h as Elevation } from '../types-8OHfDki5.cjs';
         | 
| 2 2 | 
             
            import { ShadowStyleIOS } from 'react-native';
         | 
| 3 3 | 
             
            import 'react';
         | 
| 4 4 |  | 
| @@ -406,7 +406,7 @@ declare function transformColors({ spectrum, palette }: ColorsConfig): { | |
| 406 406 | 
             
                    };
         | 
| 407 407 | 
             
                };
         | 
| 408 408 | 
             
            };
         | 
| 409 | 
            -
            declare function transformElevation(elevation: ElevationConfig): Record< | 
| 409 | 
            +
            declare function transformElevation(elevation: ElevationConfig): Record<Elevation, ShadowStyleIOS>;
         | 
| 410 410 | 
             
            type MobileTokens = Omit<UniversalTokensConfig, 'colorMode' | 'elevation'> & {
         | 
| 411 411 | 
             
                elevation: ReturnType<typeof transformElevation>;
         | 
| 412 412 | 
             
                colorMode: Record<ColorMode, ReturnType<typeof transformColors>>;
         | 
| @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            import { U as UniversalTokensConfig, C as ColorMode, a as ColorsConfig, E as ElevationConfig, h as  | 
| 1 | 
            +
            import { U as UniversalTokensConfig, C as ColorMode, a as ColorsConfig, E as ElevationConfig, h as Elevation } from '../types-8OHfDki5.js';
         | 
| 2 2 | 
             
            import { ShadowStyleIOS } from 'react-native';
         | 
| 3 3 | 
             
            import 'react';
         | 
| 4 4 |  | 
| @@ -406,7 +406,7 @@ declare function transformColors({ spectrum, palette }: ColorsConfig): { | |
| 406 406 | 
             
                    };
         | 
| 407 407 | 
             
                };
         | 
| 408 408 | 
             
            };
         | 
| 409 | 
            -
            declare function transformElevation(elevation: ElevationConfig): Record< | 
| 409 | 
            +
            declare function transformElevation(elevation: ElevationConfig): Record<Elevation, ShadowStyleIOS>;
         | 
| 410 410 | 
             
            type MobileTokens = Omit<UniversalTokensConfig, 'colorMode' | 'elevation'> & {
         | 
| 411 411 | 
             
                elevation: ReturnType<typeof transformElevation>;
         | 
| 412 412 | 
             
                colorMode: Record<ColorMode, ReturnType<typeof transformColors>>;
         | 
| @@ -75,38 +75,33 @@ type FontFamilyGlobalConfig = Record<FontFamilyGlobalAlias, { | |
| 75 75 | 
             
                fallbacks: string[];
         | 
| 76 76 | 
             
                name: string;
         | 
| 77 77 | 
             
            }>;
         | 
| 78 | 
            -
            type  | 
| 79 | 
            -
            type  | 
| 80 | 
            -
            type  | 
| 81 | 
            -
            type  | 
| 78 | 
            +
            type FontWeightNumeric = '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
         | 
| 79 | 
            +
            type FontWeightDescriptive = 'thin' | 'extralight' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
         | 
| 80 | 
            +
            type TextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
         | 
| 81 | 
            +
            type LetterSpacing = 'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest';
         | 
| 82 82 | 
             
            type LineClampAlias = '1' | '2' | '3' | '4' | '5' | '6';
         | 
| 83 | 
            -
            type  | 
| 84 | 
            -
             | 
| 85 | 
            -
             | 
| 86 | 
            -
             | 
| 87 | 
            -
                lineHeight: LineHeightConfig;
         | 
| 88 | 
            -
                textTransform?: TextTransformAlias;
         | 
| 89 | 
            -
                letterSpacing?: LetterSpacingAlias;
         | 
| 90 | 
            -
            };
         | 
| 91 | 
            -
            type TextTransformConfig = Record<TextVariant, TextTransformAlias>;
         | 
| 92 | 
            -
            type FontSizeConfig = Record<TextVariant, number>;
         | 
| 83 | 
            +
            type LineHeight = 12 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48;
         | 
| 84 | 
            +
            type FontSize = 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 34 | 36 | 38 | 46 | 47 | 48 | 50 | 52 | 54;
         | 
| 85 | 
            +
            type TextTransformConfig = Record<TextVariant, TextTransform>;
         | 
| 86 | 
            +
            type FontSizeConfig = Record<TextVariant, FontSize>;
         | 
| 93 87 | 
             
            type FontFamilyConfig = Record<TextVariant, FontFamilyGlobalAlias>;
         | 
| 94 | 
            -
            type FontWeightConfig = Record<TextVariant,  | 
| 95 | 
            -
            type LineHeightConfig = Record<TextVariant,  | 
| 88 | 
            +
            type FontWeightConfig = Record<TextVariant, FontWeightDescriptive>;
         | 
| 89 | 
            +
            type LineHeightConfig = Record<TextVariant, LineHeight>;
         | 
| 90 | 
            +
            type ConfigurableTextProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform';
         | 
| 96 91 | 
             
            type AvatarSizeConfig = {
         | 
| 97 92 | 
             
                s: number;
         | 
| 98 93 | 
             
                m: number;
         | 
| 99 94 | 
             
                l: number;
         | 
| 100 95 | 
             
            };
         | 
| 101 | 
            -
            type  | 
| 96 | 
            +
            type AvatarSize = keyof AvatarSizeConfig;
         | 
| 102 97 | 
             
            type IconSizeConfig = {
         | 
| 103 98 | 
             
                s: number;
         | 
| 104 99 | 
             
                m: number;
         | 
| 105 100 | 
             
                l: number;
         | 
| 106 101 | 
             
            };
         | 
| 107 | 
            -
            type  | 
| 102 | 
            +
            type IconSize = keyof IconSizeConfig;
         | 
| 108 103 | 
             
            type AspectRatioConfig = Record<string, string>;
         | 
| 109 | 
            -
            type  | 
| 104 | 
            +
            type AspectRatio = keyof AspectRatioConfig;
         | 
| 110 105 | 
             
            type SpacingConfig = {
         | 
| 111 106 | 
             
                '0': number;
         | 
| 112 107 | 
             
                '1': number;
         | 
| @@ -125,8 +120,8 @@ type SpacingConfig = { | |
| 125 120 | 
             
                '14': number;
         | 
| 126 121 | 
             
            };
         | 
| 127 122 | 
             
            type SpacingAlias = keyof SpacingConfig;
         | 
| 128 | 
            -
            type  | 
| 129 | 
            -
            type ZIndexConfig = Record< | 
| 123 | 
            +
            type ZIndex = 'auto' | '0' | '10' | '20' | '30' | '40' | '50';
         | 
| 124 | 
            +
            type ZIndexConfig = Record<ZIndex, string>;
         | 
| 130 125 | 
             
            type ShapeConfig = {
         | 
| 131 126 | 
             
                square: number;
         | 
| 132 127 | 
             
                xs: number;
         | 
| @@ -137,17 +132,17 @@ type ShapeConfig = { | |
| 137 132 | 
             
                xxl: number;
         | 
| 138 133 | 
             
                circle: number;
         | 
| 139 134 | 
             
            };
         | 
| 140 | 
            -
            type  | 
| 141 | 
            -
            type  | 
| 142 | 
            -
            type ElevationConfig = Record< | 
| 135 | 
            +
            type Shape = keyof ShapeConfig;
         | 
| 136 | 
            +
            type Elevation = '1' | '2' | '3';
         | 
| 137 | 
            +
            type ElevationConfig = Record<Elevation, BoxShadowConfig>;
         | 
| 143 138 | 
             
            type BorderWidthConfig = {
         | 
| 139 | 
            +
                '0': number;
         | 
| 144 140 | 
             
                '1': number;
         | 
| 145 141 | 
             
                '2': number;
         | 
| 146 142 | 
             
                '4': number;
         | 
| 147 | 
            -
                '0': number;
         | 
| 148 143 | 
             
                '8': number;
         | 
| 149 144 | 
             
            };
         | 
| 150 | 
            -
            type  | 
| 145 | 
            +
            type BorderWidth = keyof BorderWidthConfig;
         | 
| 151 146 | 
             
            type BoxShadowConfig = {
         | 
| 152 147 | 
             
                color: string;
         | 
| 153 148 | 
             
                offsetX: number;
         | 
| @@ -155,7 +150,7 @@ type BoxShadowConfig = { | |
| 155 150 | 
             
                blurRadius: number;
         | 
| 156 151 | 
             
                spreadRadius: number;
         | 
| 157 152 | 
             
            }[];
         | 
| 158 | 
            -
            type  | 
| 153 | 
            +
            type Opacity = '0' | '5' | '10' | '20' | '25' | '30' | '40' | '50' | '60' | '70' | '75' | '80' | '90' | '95' | '100';
         | 
| 159 154 | 
             
            type ColorModeConfig = {
         | 
| 160 155 | 
             
                light: ColorsConfig;
         | 
| 161 156 | 
             
                dark: ColorsConfig;
         | 
| @@ -261,15 +256,15 @@ interface BorderStyleProps { | |
| 261 256 | 
             
                /** Add a border to the top and bottom sides of the box. */
         | 
| 262 257 | 
             
                borderedVertical?: boolean;
         | 
| 263 258 | 
             
                /** Add a border radius to all corners of the box. */
         | 
| 264 | 
            -
                borderRadius?:  | 
| 259 | 
            +
                borderRadius?: Shape;
         | 
| 265 260 | 
             
                /** Add a border radius to top left corner of the box. */
         | 
| 266 | 
            -
                borderTopStartRadius?:  | 
| 261 | 
            +
                borderTopStartRadius?: Shape;
         | 
| 267 262 | 
             
                /** Add a border radius to top right corner of the box. */
         | 
| 268 | 
            -
                borderTopEndRadius?:  | 
| 263 | 
            +
                borderTopEndRadius?: Shape;
         | 
| 269 264 | 
             
                /** Add a border radius to bottom left corner of the box. */
         | 
| 270 | 
            -
                borderBottomStartRadius?:  | 
| 265 | 
            +
                borderBottomStartRadius?: Shape;
         | 
| 271 266 | 
             
                /** Add a border radius to bottom right corner of the box. */
         | 
| 272 | 
            -
                borderBottomEndRadius?:  | 
| 267 | 
            +
                borderBottomEndRadius?: Shape;
         | 
| 273 268 | 
             
                /** Adds a custom border color from the palette */
         | 
| 274 269 | 
             
                borderColor?: LineColor;
         | 
| 275 270 | 
             
                /** Utility for controlling an element's border color on active. */
         | 
| @@ -289,25 +284,25 @@ interface BorderStyleProps { | |
| 289 284 | 
             
                /** Adds a custom border color from the palette */
         | 
| 290 285 | 
             
                borderBottomColor?: LineColor;
         | 
| 291 286 | 
             
                /** Shorthand property to the width of an element's border. */
         | 
| 292 | 
            -
                borderWidth?:  | 
| 287 | 
            +
                borderWidth?: BorderWidth;
         | 
| 293 288 | 
             
                /** Sets the width of the top and bottom border of an element. */
         | 
| 294 | 
            -
                borderVerticalWidth?:  | 
| 289 | 
            +
                borderVerticalWidth?: BorderWidth;
         | 
| 295 290 | 
             
                /** Sets the width of the start (left) and end (right) border of an element. */
         | 
| 296 | 
            -
                borderHorizontalWidth?:  | 
| 291 | 
            +
                borderHorizontalWidth?: BorderWidth;
         | 
| 297 292 | 
             
                /** Sets the width of the start (left) border of an element. */
         | 
| 298 | 
            -
                borderStartWidth?:  | 
| 293 | 
            +
                borderStartWidth?: BorderWidth;
         | 
| 299 294 | 
             
                /** Sets the width of the end (right) border of an element. */
         | 
| 300 | 
            -
                borderEndWidth?:  | 
| 295 | 
            +
                borderEndWidth?: BorderWidth;
         | 
| 301 296 | 
             
                /** Sets the width of the top border of an element. */
         | 
| 302 | 
            -
                borderTopWidth?:  | 
| 297 | 
            +
                borderTopWidth?: BorderWidth;
         | 
| 303 298 | 
             
                /** Sets the width of the bottom border of an element. */
         | 
| 304 | 
            -
                borderBottomWidth?:  | 
| 299 | 
            +
                borderBottomWidth?: BorderWidth;
         | 
| 305 300 | 
             
            }
         | 
| 306 301 | 
             
            interface LayoutStyleProps {
         | 
| 307 302 | 
             
                /** Sets whether an element is treated as a block or inline box and the layout used for its children, such as flow layout, grid or flex. */
         | 
| 308 303 | 
             
                display?: Display;
         | 
| 309 304 | 
             
                /** Sets the z-order of a positioned element and its descendants or flex and grid items. Overlapping elements with a larger z-index cover those with a smaller one. */
         | 
| 310 | 
            -
                zIndex?:  | 
| 305 | 
            +
                zIndex?: ZIndex;
         | 
| 311 306 | 
             
                /** Shorthand property which sets the desired behavior when content does not fit in the parent element box (overflows) in the horizontal and/or vertical direction. */
         | 
| 312 307 | 
             
                overflow?: Overflow;
         | 
| 313 308 | 
             
                /** Sets what shows when content overflows a block-level element's left and right edges. This may be nothing, a scroll bar, or the overflow content. This property may also be set by using the overflow shorthand property. */
         | 
| @@ -374,7 +369,7 @@ interface FlexStyleProps { | |
| 374 369 | 
             
                flexBasis?: FlexBasis;
         | 
| 375 370 | 
             
            }
         | 
| 376 371 | 
             
            interface OpacityStyleProps {
         | 
| 377 | 
            -
                opacity?:  | 
| 372 | 
            +
                opacity?: Opacity;
         | 
| 378 373 | 
             
            }
         | 
| 379 374 | 
             
            interface SizingStyleProps {
         | 
| 380 375 | 
             
                /** Sets the height of an element */
         | 
| @@ -404,17 +399,15 @@ interface TextStyleProps { | |
| 404 399 | 
             
                /** Utility for controlling the font size of a Text element */
         | 
| 405 400 | 
             
                fontSize?: TextVariant;
         | 
| 406 401 | 
             
                /** Utility for controlling the font weight of a Text element */
         | 
| 407 | 
            -
                fontWeight?: TextVariant |  | 
| 402 | 
            +
                fontWeight?: TextVariant | FontWeightDescriptive;
         | 
| 408 403 | 
             
                /** Utility for controlling the line height of a Text element */
         | 
| 409 404 | 
             
                lineHeight?: TextVariant;
         | 
| 410 405 | 
             
                /** Utility for controlling the text alignment of a Text element */
         | 
| 411 406 | 
             
                textAlign?: 'center' | 'justify' | 'start' | 'end';
         | 
| 412 407 | 
             
                /** Utility for controlling the text transformation of a Text element */
         | 
| 413 | 
            -
                textTransform?: TextVariant |  | 
| 408 | 
            +
                textTransform?: TextVariant | TextTransform;
         | 
| 414 409 | 
             
            }
         | 
| 415 410 | 
             
            interface BackgroundStyleProps {
         | 
| 416 | 
            -
                /** Utility for controlling the opacity of an element's background color. */
         | 
| 417 | 
            -
                backgroundColorOpacity?: OpacityAlias;
         | 
| 418 411 | 
             
                /** Utility for controlling an element's background color. */
         | 
| 419 412 | 
             
                backgroundColor?: BackgroundColor;
         | 
| 420 413 | 
             
                /** Utility for controlling an element's background color on active. */
         | 
| @@ -426,13 +419,11 @@ interface BackgroundStyleProps { | |
| 426 419 | 
             
                /** Utility for controlling an element's background color on hover. */
         | 
| 427 420 | 
             
                backgroundColorOnHover?: BackgroundColor;
         | 
| 428 421 | 
             
                /** Determines box shadow styles. Parent should have overflow set to visible to ensure styles are not clipped. */
         | 
| 429 | 
            -
                elevation?:  | 
| 422 | 
            +
                elevation?: Elevation;
         | 
| 430 423 | 
             
            }
         | 
| 431 424 | 
             
            type CustomSizingStyleProps = {
         | 
| 432 | 
            -
                iconSize?:  | 
| 433 | 
            -
                avatarSize?:  | 
| 434 | 
            -
                imageWidth?: number;
         | 
| 435 | 
            -
                imageHeight?: number;
         | 
| 425 | 
            +
                iconSize?: IconSize;
         | 
| 426 | 
            +
                avatarSize?: AvatarSize;
         | 
| 436 427 | 
             
            };
         | 
| 437 428 | 
             
            type StyleProps = BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps & OpacityStyleProps & SizingStyleProps & ImageStyleProps & CustomSizingStyleProps;
         | 
| 438 429 | 
             
            interface UniversalBoxProps extends PropsWithChildren, BackgroundStyleProps, BorderStyleProps, FlexStyleProps, LayoutStyleProps, OpacityStyleProps, SizingStyleProps, SpacingStyleProps {
         | 
| @@ -450,7 +441,7 @@ interface UniversalTextProps extends PropsWithChildren, TextStyleProps, Universa | |
| 450 441 | 
             
            }
         | 
| 451 442 | 
             
            type IconName = IconName$1;
         | 
| 452 443 | 
             
            interface UniversalIconProps extends Omit<UniversalTextProps, 'children' | 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight'>, UniversalBoxProps {
         | 
| 453 | 
            -
                size?:  | 
| 444 | 
            +
                size?: IconSize;
         | 
| 454 445 | 
             
                name: IconName;
         | 
| 455 446 | 
             
            }
         | 
| 456 447 | 
             
            interface UniversalPressableProps extends UniversalBoxProps {
         | 
| @@ -500,11 +491,13 @@ interface UniversalImageProps extends Omit<UniversalBoxProps, 'width' | 'height' | |
| 500 491 | 
             
            }
         | 
| 501 492 | 
             
            interface UniversalAvatarProps extends UniversalImageProps {
         | 
| 502 493 | 
             
                /** The size of the Avatar. */
         | 
| 503 | 
            -
                size?:  | 
| 494 | 
            +
                size?: AvatarSize;
         | 
| 504 495 | 
             
                /** The shape of the Avatar. */
         | 
| 505 | 
            -
                shape?:  | 
| 496 | 
            +
                shape?: Shape;
         | 
| 506 497 | 
             
            }
         | 
| 507 498 | 
             
            interface UniversalTextInputProps {
         | 
| 499 | 
            +
                disabled?: boolean;
         | 
| 500 | 
            +
                required?: boolean;
         | 
| 508 501 | 
             
            }
         | 
| 509 502 |  | 
| 510 | 
            -
            export { type  | 
| 503 | 
            +
            export { type AlwaysPaletteAlias as $, type SizingStyleProps as A, type BorderWidthConfig as B, type ColorMode as C, type CustomSizingStyleProps as D, type ElevationConfig as E, type ForegroundPalette as F, type AvatarSizeConfig as G, type Hue as H, type ImageStyleProps as I, type IconSizeConfig as J, type SpacingConfig as K, type LinePalette as L, type Modes as M, type ShapeConfig as N, type OpacityStyleProps as O, type PaletteValue as P, type FontFamilyConfig as Q, type FontSizeConfig as R, type ScaleMode as S, type TextStyleProps as T, type UniversalTokensConfig as U, type LineHeightConfig as V, type TextTransformConfig as W, type StyleProps as X, alwaysPalette as Y, type ZIndexConfig as Z, type AlwaysPalette as _, type ColorsConfig as a, type TransitionTiming as a$, type Animation as a0, type AriaAttribute as a1, type AspectRatio as a2, type AspectRatioConfig as a3, type AvatarSize as a4, type BackgroundColor as a5, type BackgroundPaletteAlias as a6, type BackgroundWashPaletteAlias as a7, type BorderWidth as a8, type BoxShadowConfig as a9, type LetterSpacing as aA, type LineClampAlias as aB, type LineColor as aC, type LineHeight as aD, type LinePaletteAlias as aE, type MaxHeight as aF, type MaxWidth as aG, type MinHeight as aH, type MinWidth as aI, type Opacity as aJ, type Overflow as aK, type Palette as aL, type PaletteConfig as aM, type PaletteType as aN, type PlatformMode as aO, type Position as aP, type RegionMode as aQ, type ScaleConfig as aR, type Shape as aS, type SpacingAlias as aT, type SpectrumColor as aU, type SpectrumConfig as aV, type StateStyleProps as aW, type TextTransform as aX, type TextVariant as aY, type TransitionDelay as aZ, type TransitionDuration as a_, type ButtonSize as aa, type ButtonVariant as ab, type ConfigurableTextProperty as ac, type CorePaletteAlias as ad, type DataAttribute as ae, type Display as af, type ElevationPaletteAlias as ag, type Flex as ah, type FlexAlignContent as ai, type FlexAlignItems as aj, type FlexAlignSelf as ak, type FlexBasis as al, type FlexDirection as am, type FlexGrow as an, type FlexJustifyContent as ao, type FlexShrink as ap, type FlexWrap as aq, type FontFamilyGlobalAlias as ar, type FontSize as as, type FontWeightDescriptive as at, type ForegroundColor as au, type ForegroundPaletteAlias as av, type Height as aw, type HighContrastMode as ax, type IconName as ay, type IconSize as az, type HueStep as b, type UniversalTextInputProps as b0, type Width as b1, type ZIndex as b2, type CorePalette as c, type BackgroundPalette as d, type BackgroundWashPalette as e, type FontWeightConfig as f, type FontWeightNumeric as g, type Elevation as h, type FontFamilyGlobalConfig as i, type UniversalImageProps as j, type UniversalAvatarProps as k, type UniversalBoxProps as l, type UniversalPressableProps as m, type UniversalButtonProps as n, type UniversalStackProps as o, type UniversalTextProps as p, type UniversalIconProps as q, type UniversalIconButtonProps as r, type ColorModeForApp as s, type ScaleModeForApp as t, type ScaleModeConfig as u, type BackgroundStyleProps as v, type BorderStyleProps as w, type LayoutStyleProps as x, type FlexStyleProps as y, type SpacingStyleProps as z };
         | 
| @@ -75,38 +75,33 @@ type FontFamilyGlobalConfig = Record<FontFamilyGlobalAlias, { | |
| 75 75 | 
             
                fallbacks: string[];
         | 
| 76 76 | 
             
                name: string;
         | 
| 77 77 | 
             
            }>;
         | 
| 78 | 
            -
            type  | 
| 79 | 
            -
            type  | 
| 80 | 
            -
            type  | 
| 81 | 
            -
            type  | 
| 78 | 
            +
            type FontWeightNumeric = '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
         | 
| 79 | 
            +
            type FontWeightDescriptive = 'thin' | 'extralight' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
         | 
| 80 | 
            +
            type TextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
         | 
| 81 | 
            +
            type LetterSpacing = 'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest';
         | 
| 82 82 | 
             
            type LineClampAlias = '1' | '2' | '3' | '4' | '5' | '6';
         | 
| 83 | 
            -
            type  | 
| 84 | 
            -
             | 
| 85 | 
            -
             | 
| 86 | 
            -
             | 
| 87 | 
            -
                lineHeight: LineHeightConfig;
         | 
| 88 | 
            -
                textTransform?: TextTransformAlias;
         | 
| 89 | 
            -
                letterSpacing?: LetterSpacingAlias;
         | 
| 90 | 
            -
            };
         | 
| 91 | 
            -
            type TextTransformConfig = Record<TextVariant, TextTransformAlias>;
         | 
| 92 | 
            -
            type FontSizeConfig = Record<TextVariant, number>;
         | 
| 83 | 
            +
            type LineHeight = 12 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48;
         | 
| 84 | 
            +
            type FontSize = 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 34 | 36 | 38 | 46 | 47 | 48 | 50 | 52 | 54;
         | 
| 85 | 
            +
            type TextTransformConfig = Record<TextVariant, TextTransform>;
         | 
| 86 | 
            +
            type FontSizeConfig = Record<TextVariant, FontSize>;
         | 
| 93 87 | 
             
            type FontFamilyConfig = Record<TextVariant, FontFamilyGlobalAlias>;
         | 
| 94 | 
            -
            type FontWeightConfig = Record<TextVariant,  | 
| 95 | 
            -
            type LineHeightConfig = Record<TextVariant,  | 
| 88 | 
            +
            type FontWeightConfig = Record<TextVariant, FontWeightDescriptive>;
         | 
| 89 | 
            +
            type LineHeightConfig = Record<TextVariant, LineHeight>;
         | 
| 90 | 
            +
            type ConfigurableTextProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform';
         | 
| 96 91 | 
             
            type AvatarSizeConfig = {
         | 
| 97 92 | 
             
                s: number;
         | 
| 98 93 | 
             
                m: number;
         | 
| 99 94 | 
             
                l: number;
         | 
| 100 95 | 
             
            };
         | 
| 101 | 
            -
            type  | 
| 96 | 
            +
            type AvatarSize = keyof AvatarSizeConfig;
         | 
| 102 97 | 
             
            type IconSizeConfig = {
         | 
| 103 98 | 
             
                s: number;
         | 
| 104 99 | 
             
                m: number;
         | 
| 105 100 | 
             
                l: number;
         | 
| 106 101 | 
             
            };
         | 
| 107 | 
            -
            type  | 
| 102 | 
            +
            type IconSize = keyof IconSizeConfig;
         | 
| 108 103 | 
             
            type AspectRatioConfig = Record<string, string>;
         | 
| 109 | 
            -
            type  | 
| 104 | 
            +
            type AspectRatio = keyof AspectRatioConfig;
         | 
| 110 105 | 
             
            type SpacingConfig = {
         | 
| 111 106 | 
             
                '0': number;
         | 
| 112 107 | 
             
                '1': number;
         | 
| @@ -125,8 +120,8 @@ type SpacingConfig = { | |
| 125 120 | 
             
                '14': number;
         | 
| 126 121 | 
             
            };
         | 
| 127 122 | 
             
            type SpacingAlias = keyof SpacingConfig;
         | 
| 128 | 
            -
            type  | 
| 129 | 
            -
            type ZIndexConfig = Record< | 
| 123 | 
            +
            type ZIndex = 'auto' | '0' | '10' | '20' | '30' | '40' | '50';
         | 
| 124 | 
            +
            type ZIndexConfig = Record<ZIndex, string>;
         | 
| 130 125 | 
             
            type ShapeConfig = {
         | 
| 131 126 | 
             
                square: number;
         | 
| 132 127 | 
             
                xs: number;
         | 
| @@ -137,17 +132,17 @@ type ShapeConfig = { | |
| 137 132 | 
             
                xxl: number;
         | 
| 138 133 | 
             
                circle: number;
         | 
| 139 134 | 
             
            };
         | 
| 140 | 
            -
            type  | 
| 141 | 
            -
            type  | 
| 142 | 
            -
            type ElevationConfig = Record< | 
| 135 | 
            +
            type Shape = keyof ShapeConfig;
         | 
| 136 | 
            +
            type Elevation = '1' | '2' | '3';
         | 
| 137 | 
            +
            type ElevationConfig = Record<Elevation, BoxShadowConfig>;
         | 
| 143 138 | 
             
            type BorderWidthConfig = {
         | 
| 139 | 
            +
                '0': number;
         | 
| 144 140 | 
             
                '1': number;
         | 
| 145 141 | 
             
                '2': number;
         | 
| 146 142 | 
             
                '4': number;
         | 
| 147 | 
            -
                '0': number;
         | 
| 148 143 | 
             
                '8': number;
         | 
| 149 144 | 
             
            };
         | 
| 150 | 
            -
            type  | 
| 145 | 
            +
            type BorderWidth = keyof BorderWidthConfig;
         | 
| 151 146 | 
             
            type BoxShadowConfig = {
         | 
| 152 147 | 
             
                color: string;
         | 
| 153 148 | 
             
                offsetX: number;
         | 
| @@ -155,7 +150,7 @@ type BoxShadowConfig = { | |
| 155 150 | 
             
                blurRadius: number;
         | 
| 156 151 | 
             
                spreadRadius: number;
         | 
| 157 152 | 
             
            }[];
         | 
| 158 | 
            -
            type  | 
| 153 | 
            +
            type Opacity = '0' | '5' | '10' | '20' | '25' | '30' | '40' | '50' | '60' | '70' | '75' | '80' | '90' | '95' | '100';
         | 
| 159 154 | 
             
            type ColorModeConfig = {
         | 
| 160 155 | 
             
                light: ColorsConfig;
         | 
| 161 156 | 
             
                dark: ColorsConfig;
         | 
| @@ -261,15 +256,15 @@ interface BorderStyleProps { | |
| 261 256 | 
             
                /** Add a border to the top and bottom sides of the box. */
         | 
| 262 257 | 
             
                borderedVertical?: boolean;
         | 
| 263 258 | 
             
                /** Add a border radius to all corners of the box. */
         | 
| 264 | 
            -
                borderRadius?:  | 
| 259 | 
            +
                borderRadius?: Shape;
         | 
| 265 260 | 
             
                /** Add a border radius to top left corner of the box. */
         | 
| 266 | 
            -
                borderTopStartRadius?:  | 
| 261 | 
            +
                borderTopStartRadius?: Shape;
         | 
| 267 262 | 
             
                /** Add a border radius to top right corner of the box. */
         | 
| 268 | 
            -
                borderTopEndRadius?:  | 
| 263 | 
            +
                borderTopEndRadius?: Shape;
         | 
| 269 264 | 
             
                /** Add a border radius to bottom left corner of the box. */
         | 
| 270 | 
            -
                borderBottomStartRadius?:  | 
| 265 | 
            +
                borderBottomStartRadius?: Shape;
         | 
| 271 266 | 
             
                /** Add a border radius to bottom right corner of the box. */
         | 
| 272 | 
            -
                borderBottomEndRadius?:  | 
| 267 | 
            +
                borderBottomEndRadius?: Shape;
         | 
| 273 268 | 
             
                /** Adds a custom border color from the palette */
         | 
| 274 269 | 
             
                borderColor?: LineColor;
         | 
| 275 270 | 
             
                /** Utility for controlling an element's border color on active. */
         | 
| @@ -289,25 +284,25 @@ interface BorderStyleProps { | |
| 289 284 | 
             
                /** Adds a custom border color from the palette */
         | 
| 290 285 | 
             
                borderBottomColor?: LineColor;
         | 
| 291 286 | 
             
                /** Shorthand property to the width of an element's border. */
         | 
| 292 | 
            -
                borderWidth?:  | 
| 287 | 
            +
                borderWidth?: BorderWidth;
         | 
| 293 288 | 
             
                /** Sets the width of the top and bottom border of an element. */
         | 
| 294 | 
            -
                borderVerticalWidth?:  | 
| 289 | 
            +
                borderVerticalWidth?: BorderWidth;
         | 
| 295 290 | 
             
                /** Sets the width of the start (left) and end (right) border of an element. */
         | 
| 296 | 
            -
                borderHorizontalWidth?:  | 
| 291 | 
            +
                borderHorizontalWidth?: BorderWidth;
         | 
| 297 292 | 
             
                /** Sets the width of the start (left) border of an element. */
         | 
| 298 | 
            -
                borderStartWidth?:  | 
| 293 | 
            +
                borderStartWidth?: BorderWidth;
         | 
| 299 294 | 
             
                /** Sets the width of the end (right) border of an element. */
         | 
| 300 | 
            -
                borderEndWidth?:  | 
| 295 | 
            +
                borderEndWidth?: BorderWidth;
         | 
| 301 296 | 
             
                /** Sets the width of the top border of an element. */
         | 
| 302 | 
            -
                borderTopWidth?:  | 
| 297 | 
            +
                borderTopWidth?: BorderWidth;
         | 
| 303 298 | 
             
                /** Sets the width of the bottom border of an element. */
         | 
| 304 | 
            -
                borderBottomWidth?:  | 
| 299 | 
            +
                borderBottomWidth?: BorderWidth;
         | 
| 305 300 | 
             
            }
         | 
| 306 301 | 
             
            interface LayoutStyleProps {
         | 
| 307 302 | 
             
                /** Sets whether an element is treated as a block or inline box and the layout used for its children, such as flow layout, grid or flex. */
         | 
| 308 303 | 
             
                display?: Display;
         | 
| 309 304 | 
             
                /** Sets the z-order of a positioned element and its descendants or flex and grid items. Overlapping elements with a larger z-index cover those with a smaller one. */
         | 
| 310 | 
            -
                zIndex?:  | 
| 305 | 
            +
                zIndex?: ZIndex;
         | 
| 311 306 | 
             
                /** Shorthand property which sets the desired behavior when content does not fit in the parent element box (overflows) in the horizontal and/or vertical direction. */
         | 
| 312 307 | 
             
                overflow?: Overflow;
         | 
| 313 308 | 
             
                /** Sets what shows when content overflows a block-level element's left and right edges. This may be nothing, a scroll bar, or the overflow content. This property may also be set by using the overflow shorthand property. */
         | 
| @@ -374,7 +369,7 @@ interface FlexStyleProps { | |
| 374 369 | 
             
                flexBasis?: FlexBasis;
         | 
| 375 370 | 
             
            }
         | 
| 376 371 | 
             
            interface OpacityStyleProps {
         | 
| 377 | 
            -
                opacity?:  | 
| 372 | 
            +
                opacity?: Opacity;
         | 
| 378 373 | 
             
            }
         | 
| 379 374 | 
             
            interface SizingStyleProps {
         | 
| 380 375 | 
             
                /** Sets the height of an element */
         | 
| @@ -404,17 +399,15 @@ interface TextStyleProps { | |
| 404 399 | 
             
                /** Utility for controlling the font size of a Text element */
         | 
| 405 400 | 
             
                fontSize?: TextVariant;
         | 
| 406 401 | 
             
                /** Utility for controlling the font weight of a Text element */
         | 
| 407 | 
            -
                fontWeight?: TextVariant |  | 
| 402 | 
            +
                fontWeight?: TextVariant | FontWeightDescriptive;
         | 
| 408 403 | 
             
                /** Utility for controlling the line height of a Text element */
         | 
| 409 404 | 
             
                lineHeight?: TextVariant;
         | 
| 410 405 | 
             
                /** Utility for controlling the text alignment of a Text element */
         | 
| 411 406 | 
             
                textAlign?: 'center' | 'justify' | 'start' | 'end';
         | 
| 412 407 | 
             
                /** Utility for controlling the text transformation of a Text element */
         | 
| 413 | 
            -
                textTransform?: TextVariant |  | 
| 408 | 
            +
                textTransform?: TextVariant | TextTransform;
         | 
| 414 409 | 
             
            }
         | 
| 415 410 | 
             
            interface BackgroundStyleProps {
         | 
| 416 | 
            -
                /** Utility for controlling the opacity of an element's background color. */
         | 
| 417 | 
            -
                backgroundColorOpacity?: OpacityAlias;
         | 
| 418 411 | 
             
                /** Utility for controlling an element's background color. */
         | 
| 419 412 | 
             
                backgroundColor?: BackgroundColor;
         | 
| 420 413 | 
             
                /** Utility for controlling an element's background color on active. */
         | 
| @@ -426,13 +419,11 @@ interface BackgroundStyleProps { | |
| 426 419 | 
             
                /** Utility for controlling an element's background color on hover. */
         | 
| 427 420 | 
             
                backgroundColorOnHover?: BackgroundColor;
         | 
| 428 421 | 
             
                /** Determines box shadow styles. Parent should have overflow set to visible to ensure styles are not clipped. */
         | 
| 429 | 
            -
                elevation?:  | 
| 422 | 
            +
                elevation?: Elevation;
         | 
| 430 423 | 
             
            }
         | 
| 431 424 | 
             
            type CustomSizingStyleProps = {
         | 
| 432 | 
            -
                iconSize?:  | 
| 433 | 
            -
                avatarSize?:  | 
| 434 | 
            -
                imageWidth?: number;
         | 
| 435 | 
            -
                imageHeight?: number;
         | 
| 425 | 
            +
                iconSize?: IconSize;
         | 
| 426 | 
            +
                avatarSize?: AvatarSize;
         | 
| 436 427 | 
             
            };
         | 
| 437 428 | 
             
            type StyleProps = BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps & OpacityStyleProps & SizingStyleProps & ImageStyleProps & CustomSizingStyleProps;
         | 
| 438 429 | 
             
            interface UniversalBoxProps extends PropsWithChildren, BackgroundStyleProps, BorderStyleProps, FlexStyleProps, LayoutStyleProps, OpacityStyleProps, SizingStyleProps, SpacingStyleProps {
         | 
| @@ -450,7 +441,7 @@ interface UniversalTextProps extends PropsWithChildren, TextStyleProps, Universa | |
| 450 441 | 
             
            }
         | 
| 451 442 | 
             
            type IconName = IconName$1;
         | 
| 452 443 | 
             
            interface UniversalIconProps extends Omit<UniversalTextProps, 'children' | 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight'>, UniversalBoxProps {
         | 
| 453 | 
            -
                size?:  | 
| 444 | 
            +
                size?: IconSize;
         | 
| 454 445 | 
             
                name: IconName;
         | 
| 455 446 | 
             
            }
         | 
| 456 447 | 
             
            interface UniversalPressableProps extends UniversalBoxProps {
         | 
| @@ -500,11 +491,13 @@ interface UniversalImageProps extends Omit<UniversalBoxProps, 'width' | 'height' | |
| 500 491 | 
             
            }
         | 
| 501 492 | 
             
            interface UniversalAvatarProps extends UniversalImageProps {
         | 
| 502 493 | 
             
                /** The size of the Avatar. */
         | 
| 503 | 
            -
                size?:  | 
| 494 | 
            +
                size?: AvatarSize;
         | 
| 504 495 | 
             
                /** The shape of the Avatar. */
         | 
| 505 | 
            -
                shape?:  | 
| 496 | 
            +
                shape?: Shape;
         | 
| 506 497 | 
             
            }
         | 
| 507 498 | 
             
            interface UniversalTextInputProps {
         | 
| 499 | 
            +
                disabled?: boolean;
         | 
| 500 | 
            +
                required?: boolean;
         | 
| 508 501 | 
             
            }
         | 
| 509 502 |  | 
| 510 | 
            -
            export { type  | 
| 503 | 
            +
            export { type AlwaysPaletteAlias as $, type SizingStyleProps as A, type BorderWidthConfig as B, type ColorMode as C, type CustomSizingStyleProps as D, type ElevationConfig as E, type ForegroundPalette as F, type AvatarSizeConfig as G, type Hue as H, type ImageStyleProps as I, type IconSizeConfig as J, type SpacingConfig as K, type LinePalette as L, type Modes as M, type ShapeConfig as N, type OpacityStyleProps as O, type PaletteValue as P, type FontFamilyConfig as Q, type FontSizeConfig as R, type ScaleMode as S, type TextStyleProps as T, type UniversalTokensConfig as U, type LineHeightConfig as V, type TextTransformConfig as W, type StyleProps as X, alwaysPalette as Y, type ZIndexConfig as Z, type AlwaysPalette as _, type ColorsConfig as a, type TransitionTiming as a$, type Animation as a0, type AriaAttribute as a1, type AspectRatio as a2, type AspectRatioConfig as a3, type AvatarSize as a4, type BackgroundColor as a5, type BackgroundPaletteAlias as a6, type BackgroundWashPaletteAlias as a7, type BorderWidth as a8, type BoxShadowConfig as a9, type LetterSpacing as aA, type LineClampAlias as aB, type LineColor as aC, type LineHeight as aD, type LinePaletteAlias as aE, type MaxHeight as aF, type MaxWidth as aG, type MinHeight as aH, type MinWidth as aI, type Opacity as aJ, type Overflow as aK, type Palette as aL, type PaletteConfig as aM, type PaletteType as aN, type PlatformMode as aO, type Position as aP, type RegionMode as aQ, type ScaleConfig as aR, type Shape as aS, type SpacingAlias as aT, type SpectrumColor as aU, type SpectrumConfig as aV, type StateStyleProps as aW, type TextTransform as aX, type TextVariant as aY, type TransitionDelay as aZ, type TransitionDuration as a_, type ButtonSize as aa, type ButtonVariant as ab, type ConfigurableTextProperty as ac, type CorePaletteAlias as ad, type DataAttribute as ae, type Display as af, type ElevationPaletteAlias as ag, type Flex as ah, type FlexAlignContent as ai, type FlexAlignItems as aj, type FlexAlignSelf as ak, type FlexBasis as al, type FlexDirection as am, type FlexGrow as an, type FlexJustifyContent as ao, type FlexShrink as ap, type FlexWrap as aq, type FontFamilyGlobalAlias as ar, type FontSize as as, type FontWeightDescriptive as at, type ForegroundColor as au, type ForegroundPaletteAlias as av, type Height as aw, type HighContrastMode as ax, type IconName as ay, type IconSize as az, type HueStep as b, type UniversalTextInputProps as b0, type Width as b1, type ZIndex as b2, type CorePalette as c, type BackgroundPalette as d, type BackgroundWashPalette as e, type FontWeightConfig as f, type FontWeightNumeric as g, type Elevation as h, type FontFamilyGlobalConfig as i, type UniversalImageProps as j, type UniversalAvatarProps as k, type UniversalBoxProps as l, type UniversalPressableProps as m, type UniversalButtonProps as n, type UniversalStackProps as o, type UniversalTextProps as p, type UniversalIconProps as q, type UniversalIconButtonProps as r, type ColorModeForApp as s, type ScaleModeForApp as t, type ScaleModeConfig as u, type BackgroundStyleProps as v, type BorderStyleProps as w, type LayoutStyleProps as x, type FlexStyleProps as y, type SpacingStyleProps 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.1. | 
| 4 | 
            +
              "version": "0.1.15",
         | 
| 5 5 | 
             
              "type": "module",
         | 
| 6 6 | 
             
              "bin": {
         | 
| 7 7 | 
             
                "uds": "./cli/uds-cli"
         | 
| @@ -39,13 +39,23 @@ | |
| 39 39 | 
             
                    "default": "./dist/tailwindPlugin.cjs"
         | 
| 40 40 | 
             
                  }
         | 
| 41 41 | 
             
                },
         | 
| 42 | 
            +
                "./tailwindPurge": {
         | 
| 43 | 
            +
                  "import": {
         | 
| 44 | 
            +
                    "types": "./dist/tailwindPurge.d.ts",
         | 
| 45 | 
            +
                    "default": "./dist/tailwindPurge.js"
         | 
| 46 | 
            +
                  },
         | 
| 47 | 
            +
                  "require": {
         | 
| 48 | 
            +
                    "types": "./dist/tailwindPurge.cjs",
         | 
| 49 | 
            +
                    "default": "./dist/tailwindPurge.cjs"
         | 
| 50 | 
            +
                  }
         | 
| 51 | 
            +
                },
         | 
| 42 52 | 
             
                "./fixtures": {
         | 
| 43 53 | 
             
                  "import": {
         | 
| 44 54 | 
             
                    "types": "./dist/fixtures/index.d.ts",
         | 
| 45 55 | 
             
                    "default": "./dist/fixtures/index.js"
         | 
| 46 56 | 
             
                  },
         | 
| 47 57 | 
             
                  "require": {
         | 
| 48 | 
            -
                    "types": "./dist/ | 
| 58 | 
            +
                    "types": "./dist/fixtures/index.cjs",
         | 
| 49 59 | 
             
                    "default": "./dist/fixtures/index.cjs"
         | 
| 50 60 | 
             
                  }
         | 
| 51 61 | 
             
                },
         | 
| @@ -85,13 +95,16 @@ | |
| 85 95 | 
             
                "./package.json": "./package.json"
         | 
| 86 96 | 
             
              },
         | 
| 87 97 | 
             
              "scripts": {
         | 
| 88 | 
            -
                "build": "bun run  | 
| 98 | 
            +
                "build": "bun run ./scripts/buildScripts.ts && tsup",
         | 
| 89 99 | 
             
                "build:css": "tailwindcss --input ./src/tailwind/uds.css --output ./generated/uds.css --config ./src/tailwind/tailwind.config.ts",
         | 
| 90 100 | 
             
                "build:fixtures": "bun run ./scripts/buildFixtures.ts",
         | 
| 91 101 | 
             
                "build:fontcss": "bun run ./scripts/generateFontCSS.ts --output ./generated/fonts.css",
         | 
| 102 | 
            +
                "build:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts",
         | 
| 92 103 | 
             
                "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
         | 
| 93 104 | 
             
                "dev": "concurrently bun:dev:*",
         | 
| 105 | 
            +
                "dev:fixtures": "bun run ./scripts/buildFixtures.ts --watch",
         | 
| 94 106 | 
             
                "dev:fontcss": "bun run --watch --clear-screen=false ./scripts/generateFontCSS.ts --output ./generated/fonts.css",
         | 
| 107 | 
            +
                "dev:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts --watch",
         | 
| 95 108 | 
             
                "dev:ts": "tsup --watch",
         | 
| 96 109 | 
             
                "lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c eslint.config.mjs .",
         | 
| 97 110 | 
             
                "lint:pkg": "bun publint",
         | 
| @@ -109,8 +122,10 @@ | |
| 109 122 | 
             
                "@expo/eas-json": "^7.1.0",
         | 
| 110 123 | 
             
                "bluebun": "0.0.34",
         | 
| 111 124 | 
             
                "clsx": "^2.1.0",
         | 
| 125 | 
            +
                "fast-glob": "^3.3.2",
         | 
| 112 126 | 
             
                "react-toastify": "^9.1.3",
         | 
| 113 | 
            -
                "tailwind-merge": "^2.2.1"
         | 
| 127 | 
            +
                "tailwind-merge": "^2.2.1",
         | 
| 128 | 
            +
                "ts-morph": "^21.0.1"
         | 
| 114 129 | 
             
              },
         | 
| 115 130 | 
             
              "devDependencies": {
         | 
| 116 131 | 
             
                "@types/react": "^18.2.48",
         |