@yahoo/uds 3.7.0 → 3.8.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-BGceeqLW.d.ts → Input-CVIrgHsH.d.ts} +1 -1
- package/dist/{Input-C99aN91x.d.ts → Input-CmkmuvrM.d.ts} +1 -1
- package/dist/{Input-BfPGysFx.d.cts → Input-CzZjGS_G.d.cts} +1 -1
- package/dist/{Input-CoUcOVH8.d.cts → Input-PVGFXtkx.d.cts} +1 -1
- package/dist/{Pressable-CxNtSwpK.d.cts → Pressable-BhcHtCvI.d.cts} +1 -1
- package/dist/{Pressable-BQkEnHzj.d.cts → Pressable-D3FJsB7_.d.cts} +1 -1
- package/dist/{Pressable-Dj2Ag1Y0.d.ts → Pressable-dGwwt9jV.d.ts} +1 -1
- package/dist/{Pressable-Cuwj0ogR.d.ts → Pressable-lNqsdSJU.d.ts} +1 -1
- package/dist/{VStack-CZCVfqEd.d.ts → VStack-5TEnNAP_.d.ts} +1 -1
- package/dist/{VStack-ClcIiF83.d.ts → VStack-BB8gaSzn.d.ts} +1 -1
- package/dist/{VStack-B7s1TIGk.d.cts → VStack-B_eklK1W.d.cts} +1 -1
- package/dist/{VStack-CWMr49LU.d.cts → VStack-Bue6YCyi.d.cts} +1 -1
- package/dist/{chunk-3VPI43PY.js → chunk-2DICFUUJ.js} +2 -2
- package/dist/chunk-2GIB3HPN.cjs +1 -0
- package/dist/{chunk-GSO3MC65.js → chunk-3YSGEWV3.js} +2 -2
- package/dist/chunk-46GNFG55.cjs +2 -0
- package/dist/{chunk-4AS6QR6M.cjs → chunk-4LBIEP7R.cjs} +2 -2
- package/dist/{chunk-AFPPCX7S.js → chunk-4MTULZYF.js} +1 -1
- package/dist/chunk-4NXBFKMZ.js +2 -0
- package/dist/chunk-6FIPOCHY.cjs +1 -0
- package/dist/chunk-AK6RCGU6.cjs +1 -0
- package/dist/{chunk-HBZLHJEI.js → chunk-E4RNAQCQ.js} +1 -1
- package/dist/{chunk-3WLIHKQU.js → chunk-EYGEUZT7.js} +3 -3
- package/dist/{chunk-SBZ7RVDC.js → chunk-FWCCRREG.js} +2 -2
- package/dist/{chunk-G6ZVHXS4.cjs → chunk-GKAVWQP5.cjs} +1 -1
- package/dist/chunk-J2KVLHS3.js +1 -0
- package/dist/chunk-KCTLKYOO.cjs +1 -0
- package/dist/{chunk-PDUDFUBF.cjs → chunk-M47X3QGG.cjs} +3 -3
- package/dist/chunk-M4DF5FTU.js +1 -0
- package/dist/chunk-P4YXS6AA.cjs +1 -0
- package/dist/chunk-PBAFGJ2T.js +2 -0
- package/dist/chunk-PMY6PJWM.cjs +2 -0
- package/dist/chunk-R3F7E5CJ.js +1 -0
- package/dist/{chunk-HVVEL54J.js → chunk-RR727YZK.js} +3 -3
- package/dist/{chunk-ATOJCFHS.js → chunk-SF7HJKP3.js} +2 -2
- package/dist/{chunk-IC335V3E.cjs → chunk-SIBOGMNP.cjs} +1 -1
- package/dist/{chunk-YH5T6DT6.cjs → chunk-W6OCS6YF.cjs} +1 -1
- package/dist/{chunk-BNLUH23E.cjs → chunk-WQW5COOJ.cjs} +1 -1
- package/dist/{chunk-YTMZSL6D.cjs → chunk-YQCS652P.cjs} +1 -1
- package/dist/chunk-ZAUAVTUR.js +1 -0
- 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/experimental/client/index.cjs +1 -1
- package/dist/experimental/client/index.d.cts +1 -1
- package/dist/experimental/client/index.d.ts +1 -1
- package/dist/experimental/client/index.js +1 -1
- package/dist/experimental/index.cjs +3 -2
- package/dist/experimental/index.d.cts +8 -2
- package/dist/experimental/index.d.ts +8 -2
- package/dist/experimental/index.js +2 -2
- package/dist/fixtures.cjs +28 -20
- package/dist/fixtures.d.cts +10 -3
- package/dist/fixtures.d.ts +10 -3
- package/dist/fixtures.js +27 -20
- package/dist/{index-DFMpUaM_.d.cts → index-Bszwf4ZY.d.cts} +2 -2
- package/dist/{index-COrTgv1K.d.ts → index-DD4YLbLO.d.ts} +2 -2
- package/dist/{index-MiKyutQL.d.ts → index-KEPvOXd5.d.cts} +2 -2
- package/dist/{index-DYKpV0hQ.d.cts → index-STbRau2s.d.ts} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +109 -109
- package/dist/index.d.ts +109 -109
- 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 +6 -1
- package/dist/tailwind/plugin.d.ts +6 -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/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +1 -1
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +4 -4
- package/dist/tailwind/utils.d.ts +4 -4
- 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 +300 -292
- package/dist/tokens/index.d.ts +300 -292
- 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-BjeRsXL8.d.ts → types-Blp45Jw1.d.cts} +1857 -1812
- package/dist/{types-DhYvP9pc.d.cts → types-Blp45Jw1.d.ts} +46 -1
- package/dist/{types-BjeRsXL8.d.cts → types-C3IoByX6.d.cts} +1849 -1804
- package/dist/{types-DhYvP9pc.d.ts → types-C3IoByX6.d.ts} +1939 -1894
- package/package.json +1 -1
- package/dist/chunk-2W4ER46N.js +0 -1
- package/dist/chunk-4G4TBHHL.js +0 -2
- package/dist/chunk-CS622C2O.cjs +0 -1
- package/dist/chunk-DCULPJ7L.cjs +0 -1
- package/dist/chunk-EULQG2SI.cjs +0 -2
- package/dist/chunk-F4J6WCAA.js +0 -1
- package/dist/chunk-HFZPYCV3.js +0 -2
- package/dist/chunk-HTL6WRXY.cjs +0 -1
- package/dist/chunk-L72D6DDM.cjs +0 -1
- package/dist/chunk-NCAWMJ7Y.cjs +0 -1
- package/dist/chunk-TKGMMX2M.js +0 -1
- package/dist/chunk-ZEK66WRR.cjs +0 -2
- package/dist/chunk-ZQHOCGRS.js +0 -1
- package/dist/{Text-DeEXr2WS.d.cts → Box-CcXdv2Rw.d.cts} +4 -4
- package/dist/{Text-DeEXr2WS.d.ts → Box-CcXdv2Rw.d.ts} +4 -4
@@ -8796,6 +8796,8 @@ declare const XXLARGE_SCALE_MODE_CLASSNAME = "uds-scale-mode-xxlarge";
|
|
8796
8796
|
declare const XXXLARGE_SCALE_MODE_CLASSNAME = "uds-scale-mode-xxxlarge";
|
8797
8797
|
declare const DEFAULT_COLOR_MODE_CLASSNAME = "uds-color-mode-light";
|
8798
8798
|
declare const DEFAULT_SCALE_MODE_CLASSNAME = "uds-scale-mode-large";
|
8799
|
+
declare const TEXT_RESPONSIVE_CLASSNAME = "uds-text-responsive";
|
8800
|
+
declare const TEXT_STATIC_CLASSNAME = "uds-text-static";
|
8799
8801
|
declare const BUTTON_CSS_VAR_MAP: {
|
8800
8802
|
readonly borderRadius: "--uds-button-border-radius";
|
8801
8803
|
readonly borderWidth: "--uds-button-border-width";
|
@@ -9442,6 +9444,14 @@ type ShadowConfig = {
|
|
9442
9444
|
drop: Record<ShadowVariant, ShadowVariantConfig>;
|
9443
9445
|
inset: Record<ShadowVariant | ShadowVariantInvert, ShadowVariantConfig>;
|
9444
9446
|
};
|
9447
|
+
type BreakpointsConfig = {
|
9448
|
+
sm: number;
|
9449
|
+
md: number;
|
9450
|
+
lg: number;
|
9451
|
+
xl: number;
|
9452
|
+
'2xl': number;
|
9453
|
+
};
|
9454
|
+
type Breakpoint = keyof BreakpointsConfig;
|
9445
9455
|
type TextVariant = 'display1' | 'display2' | 'display3' | 'title1' | 'title2' | 'title3' | 'title4' | 'headline1' | 'body1' | 'label1' | 'label2' | 'label3' | 'label4' | 'caption1' | 'caption2' | 'legal1';
|
9446
9456
|
type FontAlias = 'sans' | 'sans-alt' | 'serif' | 'serif-alt' | 'mono';
|
9447
9457
|
type FontType = 'sans' | 'serif' | 'mono';
|
@@ -9466,6 +9476,39 @@ type FontSlantConfig = Record<TextVariant, number>;
|
|
9466
9476
|
type FontWidthConfig = Record<TextVariant, number>;
|
9467
9477
|
type LineHeightConfig = Record<TextVariant, LineHeight>;
|
9468
9478
|
type TextProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform';
|
9479
|
+
/**
|
9480
|
+
* Defines a structured CSS value, separating the raw value from its unit type.
|
9481
|
+
* 'unitless' is for unitless values like line-height or font-weight.
|
9482
|
+
*/
|
9483
|
+
type TypographyUnitValue = {
|
9484
|
+
value: number;
|
9485
|
+
type: 'px';
|
9486
|
+
} | {
|
9487
|
+
value: number;
|
9488
|
+
type: 'unitless';
|
9489
|
+
};
|
9490
|
+
/**
|
9491
|
+
* Defines the structure for a single, responsive CSS property.
|
9492
|
+
* The value can now be a simple string (for properties like fontFamily)
|
9493
|
+
* or a structured CssValue object (for properties like fontSize).
|
9494
|
+
*/
|
9495
|
+
type TypographyResponsiveProperty<T> = {
|
9496
|
+
/**
|
9497
|
+
* The base value for the property, applying from 0px up to the 'sm' breakpoint.
|
9498
|
+
*/
|
9499
|
+
base: T;
|
9500
|
+
/**
|
9501
|
+
* Responsive overrides for each breakpoint. If this key is present, it must
|
9502
|
+
* contain a value for every defined breakpoint.
|
9503
|
+
*/
|
9504
|
+
breakpoints?: Record<Breakpoint, T>;
|
9505
|
+
};
|
9506
|
+
type TypographyStyleProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform' | 'fontSlant' | 'fontWidth';
|
9507
|
+
type StringBasedProperties = 'fontFamily' | 'textTransform';
|
9508
|
+
type TypographyStyle = {
|
9509
|
+
[Property in TypographyStyleProperty]?: TypographyResponsiveProperty<Property extends StringBasedProperties ? string : TypographyUnitValue>;
|
9510
|
+
};
|
9511
|
+
type TypographyConfig = Partial<Record<TextVariant, TypographyStyle>>;
|
9469
9512
|
type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
9470
9513
|
type TShirtSizeCommon = Extract<TShirtSize, 'sm' | 'md' | 'lg'>;
|
9471
9514
|
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
@@ -9669,6 +9712,8 @@ interface UniversalTokensConfig extends UniversalTokensConfigAuto {
|
|
9669
9712
|
iconButton: IconButtonConfig;
|
9670
9713
|
motion: MotionConfig;
|
9671
9714
|
shadow: ShadowConfig;
|
9715
|
+
breakpoints: BreakpointsConfig;
|
9716
|
+
typography: TypographyConfig;
|
9672
9717
|
}
|
9673
9718
|
type UdsCssVar = FontCssVar | ButtonCssVar | IconButtonCssVar;
|
9674
9719
|
type PlatformMode = 'web' | 'ios' | 'android';
|
@@ -10368,4 +10413,4 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
|
|
10368
10413
|
disabled?: boolean;
|
10369
10414
|
}
|
10370
10415
|
|
10371
|
-
export { XSMALL_SCALE_MODE_CLASSNAME as $, alwaysPalette as A, type ButtonConfig as B, type ColorMode as C, defaultUniversalTokensConfigAuto as D, UDS_PREFIX as E, type FontID as F, AVATAR_SIZE_PREFIX as G, type Hue as H, type IconButtonClassMap as I, BORDER_RADIUS_PREFIX as J, BORDER_WIDTH_PREFIX as K, FONT_FAMILY_PREFIX as L, type MotionVariant as M, FONT_SIZE_PREFIX as N, FONT_WEIGHT_PREFIX as O, type PaletteType as P, FONT_SLANT_PREFIX as Q, FONT_WIDTH_PREFIX as R, type ScaleMode as S, ICON_SIZE_PREFIX as T, type UniversalInputProps as U, LINE_HEIGHT_PREFIX as V, MOTION_PREFIX as W, SPECTRUM_COLOR_PREFIX as X, TEXT_TRANSFORM_PREFIX as Y, DARK_COLOR_MODE_CLASSNAME as Z, LIGHT_COLOR_MODE_CLASSNAME as _, type UniversalPressableProps as a, type
|
10416
|
+
export { XSMALL_SCALE_MODE_CLASSNAME as $, alwaysPalette as A, type ButtonConfig as B, type ColorMode as C, defaultUniversalTokensConfigAuto as D, UDS_PREFIX as E, type FontID as F, AVATAR_SIZE_PREFIX as G, type Hue as H, type IconButtonClassMap as I, BORDER_RADIUS_PREFIX as J, BORDER_WIDTH_PREFIX as K, FONT_FAMILY_PREFIX as L, type MotionVariant as M, FONT_SIZE_PREFIX as N, FONT_WEIGHT_PREFIX as O, type PaletteType as P, FONT_SLANT_PREFIX as Q, FONT_WIDTH_PREFIX as R, type ScaleMode as S, ICON_SIZE_PREFIX as T, type UniversalInputProps as U, LINE_HEIGHT_PREFIX as V, MOTION_PREFIX as W, SPECTRUM_COLOR_PREFIX as X, TEXT_TRANSFORM_PREFIX as Y, DARK_COLOR_MODE_CLASSNAME as Z, LIGHT_COLOR_MODE_CLASSNAME as _, type UniversalPressableProps as a, type CheckboxSize as a$, SMALL_SCALE_MODE_CLASSNAME as a0, MEDIUM_SCALE_MODE_CLASSNAME as a1, LARGE_SCALE_MODE_CLASSNAME as a2, XLARGE_SCALE_MODE_CLASSNAME as a3, XXLARGE_SCALE_MODE_CLASSNAME as a4, XXXLARGE_SCALE_MODE_CLASSNAME as a5, DEFAULT_COLOR_MODE_CLASSNAME as a6, DEFAULT_SCALE_MODE_CLASSNAME as a7, TEXT_RESPONSIVE_CLASSNAME as a8, TEXT_STATIC_CLASSNAME as a9, type BorderStyleProps as aA, type BorderWidth as aB, type BorderWidthConfig as aC, type Breakpoint as aD, type ButtonBaseConfig as aE, type ButtonClassName as aF, type ButtonColorConfig as aG, type ButtonColorEffect as aH, type ButtonColorEffectConfig as aI, type ButtonKind as aJ, type ButtonMotionEffect as aK, type ButtonMotionProperty as aL, type ButtonMotionPropertyConfig as aM, type ButtonPalette as aN, type ButtonPaletteColor as aO, type ButtonPaletteConfig as aP, type ButtonShadowPropertyConfig as aQ, type ButtonSize as aR, type ButtonSizeConfig as aS, type ButtonSizeProperty as aT, type ButtonSpectrumColor as aU, type ButtonState as aV, type ButtonStateConfig as aW, type ButtonStateEffectConfig as aX, type ButtonVariant as aY, type ButtonVariantConfig as aZ, type ButtonVariantFlat as a_, BUTTON_CSS_VAR_MAP as aa, ICON_BUTTON_CSS_VAR_MAP as ab, PSEUDO_STYLE_SELECTOR_MAP as ac, FONT_DECLARATIONS_MAP as ad, type FontAxisConfig as ae, type FontDeclarationConfig as af, type FontDeclarationMap as ag, type FontWeightForFont as ah, type AlwaysPalette as ai, type AlwaysPaletteAlias as aj, type AlwaysPaletteColor as ak, type Animation as al, type AriaAttribute as am, type AvatarAbbreviationStrategy as an, type AvatarShape as ao, type AvatarSize as ap, type AvatarSizeConfig as aq, type AvatarVariant as ar, type BackgroundColor as as, type BackgroundPalette as at, type BackgroundPaletteAlias as au, type BackgroundStyleProps as av, type BadgeSize as aw, type BadgeVariant as ax, type BorderRadius as ay, type BorderRadiusConfig as az, type UniversalTokensConfig as b, type PropertyToPaletteAliasMap as b$, type CheckboxValue as b0, type CheckboxVariant as b1, type ChipSize as b2, type ChipVariant as b3, type ColorModeConfig as b4, type ColorModeForApp as b5, type ConfigurableDropShadowValues as b6, type ConfigurableInsetShadowValues as b7, type CustomSizingStyleProps as b8, type DataAttribute as b9, type ForegroundPalette as bA, type ForegroundPaletteAlias as bB, type HighContrastMode as bC, type IconButtonClassName as bD, type IconButtonConfig as bE, type IconButtonDefaultsConfig as bF, type IconButtonSize as bG, type IconSizeConfig as bH, type ImageStyleProps as bI, type InputSize as bJ, type LayoutStyleProps as bK, type LetterSpacing as bL, type LineClampAlias as bM, type LineColor as bN, type LineHeight as bO, type LineHeightConfig as bP, type LinePalette as bQ, type LinePaletteAlias as bR, type Modes as bS, type MotionCssVar as bT, type MotionSpringConfig as bU, type MotionVariantValues as bV, type Overflow as bW, type Palette as bX, type PaletteValue as bY, type PlatformMode as bZ, type Position as b_, type Display as ba, type DividerVariant as bb, type Flex as bc, type FlexAlignContent as bd, type FlexAlignItems as be, type FlexAlignSelf as bf, type FlexBasis as bg, type FlexDirection as bh, type FlexGrow as bi, type FlexJustifyContent as bj, type FlexShrink as bk, type FlexStyleProps as bl, type FlexWrap as bm, type FontAlias as bn, type FontCssVar as bo, type FontFamilyCDNUrl as bp, type FontFamilyConfig as bq, type FontSize as br, type FontSizeConfig as bs, type FontSlantConfig as bt, type FontType as bu, type FontWeightConfig as bv, type FontWeightDescriptive as bw, type FontWeightNumeric as bx, type FontWidthConfig as by, type ForegroundColor as bz, type ColorsConfig as c, type UniversalRadioGroupProps as c$, type RadioSize as c0, type RadioValue as c1, type RadioVariant as c2, type RegionMode as c3, type ScaleConfig as c4, type ScaleEffectMap as c5, type ScaleModeConfig as c6, type ScaleModeForApp as c7, type ShadowColor as c8, type ShadowColorConfig as c9, type TransitionDelay as cA, type TransitionDuration as cB, type TransitionTiming as cC, type TShirtSize as cD, type TShirtSizeCommon as cE, type TypographyConfig as cF, type TypographyResponsiveProperty as cG, type TypographyStyle as cH, type TypographyStyleProperty as cI, type TypographyUnitValue as cJ, type UdsCssVar as cK, type UniversalAvatarIconProps as cL, type UniversalAvatarImageProps as cM, type UniversalAvatarProps as cN, type UniversalAvatarTextProps as cO, type UniversalBadgeProps as cP, type UniversalButtonProps as cQ, type UniversalCheckboxProps as cR, type UniversalChipBaseProps as cS, type UniversalChipButtonProps as cT, type UniversalChipDismissibleProps as cU, type UniversalChipLinkProps as cV, type UniversalChipProps as cW, type UniversalChipToggleProps as cX, type UniversalIconButtonProps as cY, type UniversalIconProps as cZ, type UniversalImageProps as c_, type ShadowConfig as ca, type ShadowOffset as cb, type ShadowOpacity as cc, type ShadowPalette as cd, type ShadowPaletteAlias as ce, type ShadowSpreadRadius as cf, type ShadowStyleProps as cg, type ShadowTypeConfig as ch, type ShadowVariant as ci, type ShadowVariantConfig as cj, type ShadowVariantInvert as ck, type ShadowVariantWithInvert as cl, type SharedPaletteAlias as cm, type SpacingConfig as cn, type SpacingStyleProps as co, type SpectrumColor as cp, type SpectrumConfig as cq, type StateStyleProps as cr, type StyleProps as cs, type SwitchSize as ct, type TextDecorationLine as cu, type TextProperty as cv, type TextStyleProps as cw, type TextTransform as cx, type TextTransformConfig as cy, type TextVariant as cz, type HueStep as d, type UniversalRadioProps as d0, type UniversalSwitchProps as d1, type UniversalTokensConfigAuto as d2, type PaletteConfig as e, type ShadowPreset as f, type UniversalBoxProps as g, type UniversalStackProps as h, type UniversalDividerProps as i, type SpacingAlias as j, type UniversalMenuItemProps as k, type ButtonClassMap as l, type ButtonColorProperty as m, type ButtonColorPropertyConfig as n, type FontDeclarationItemConfig as o, type FontConfig as p, type MotionVariantSpeed as q, type MotionSpringConfigOptions as r, type MotionConfig as s, type ShadowType as t, type UniversalFormLabelProps as u, type IconPropsWithSVGProps as v, type ImagePropsWithImgProps as w, type UniversalIconSlot as x, type UniversalLinkProps as y, type UniversalTextProps as z };
|