@yahoo/uds 3.38.0 → 3.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Box-DiAlMwFs.d.cts → Box-B2DvoAMD.d.cts} +1 -1
- package/dist/{Box-B5-iomov.d.ts → Box-C5GwvlME.d.ts} +1 -1
- package/dist/{Box-BM08iUR2.d.cts → Box-CJ3zIj4N.d.cts} +1 -1
- package/dist/{Box-D2_1_jHu.d.ts → Box-DggpNHav.d.ts} +1 -1
- package/dist/{Pressable-BtsR3Qz0.d.cts → Pressable-BbJdaJUo.d.cts} +1 -1
- package/dist/{Pressable-CZHF_iLZ.d.cts → Pressable-CE-tEoUc.d.cts} +1 -1
- package/dist/{Pressable-DvTJyjgZ.d.ts → Pressable-CogcHtMQ.d.ts} +1 -1
- package/dist/{Pressable-SmBC4IjK.d.ts → Pressable-DEuYwe7j.d.ts} +1 -1
- package/dist/Text-CgQcjNy7.d.cts +139 -0
- package/dist/Text-Cghi693U.d.ts +139 -0
- package/dist/Text-CoY1WLeq.d.ts +139 -0
- package/dist/Text-DDathn4e.d.cts +139 -0
- package/dist/{VStack-DQsyv2sb.d.cts → VStack-BrpD0qUH.d.cts} +2 -2
- package/dist/{VStack-mmwkcypy.d.cts → VStack-CIUJgL-7.d.cts} +2 -2
- package/dist/{VStack-D-3cxbIi.d.ts → VStack-Cpgnc5oS.d.ts} +2 -2
- package/dist/{VStack-r7oAc-8J.d.ts → VStack-_eM5ET03.d.ts} +2 -2
- package/dist/{chunk-5U4J6DA5.cjs → chunk-2FN7PYW3.cjs} +1 -1
- package/dist/{chunk-6SQQBVSA.js → chunk-3NOPVRK3.js} +1 -1
- package/dist/{chunk-6HG5KSL6.cjs → chunk-AX4IA6TK.cjs} +1 -1
- package/dist/{chunk-WRE54KQN.js → chunk-BCRZ2EQO.js} +1 -1
- package/dist/chunk-CWG6VECG.cjs +2 -0
- package/dist/{chunk-PNL4K4BQ.cjs → chunk-CZH6WYYG.cjs} +1 -1
- package/dist/{chunk-LWGAE6PD.cjs → chunk-ELVRZONR.cjs} +1 -1
- package/dist/{chunk-CTYIRZ5A.cjs → chunk-IVKGRXGB.cjs} +1 -1
- package/dist/{chunk-PVXOGAWH.js → chunk-JP3JNLAD.js} +1 -1
- package/dist/{chunk-4A2ZIK3D.cjs → chunk-KL36KHMK.cjs} +1 -1
- package/dist/{chunk-KPGAKQEP.js → chunk-KTN43MAD.js} +1 -1
- package/dist/{chunk-EXYFDTFM.js → chunk-LITEZHOE.js} +1 -1
- package/dist/{chunk-QQ7BRHDQ.js → chunk-NUOTAOOJ.js} +1 -1
- package/dist/{chunk-VQV2OVOZ.cjs → chunk-NVU2HHNL.cjs} +1 -1
- package/dist/{chunk-F7LPH2UL.cjs → chunk-OIDUOWWP.cjs} +1 -1
- package/dist/{chunk-WX4V6S4A.js → chunk-PQNUKUFA.js} +1 -1
- package/dist/{chunk-YBIQ3S5G.cjs → chunk-QFCUUITW.cjs} +1 -1
- package/dist/chunk-SPTEOB2R.cjs +2 -0
- package/dist/{chunk-QZIQVD63.js → chunk-UAN7HYYD.js} +1 -1
- package/dist/{chunk-RMRBUBTB.js → chunk-VDZOZV5O.js} +1 -1
- package/dist/{chunk-MATTX7AJ.js → chunk-VGS2HJDD.js} +1 -1
- package/dist/{chunk-UYLBFQ4P.js → chunk-WPPJ6CMJ.js} +1 -1
- package/dist/{chunk-I7ZFG4YT.js → chunk-ZEQ3QOPP.js} +1 -1
- package/dist/{chunk-H62QDZOV.cjs → chunk-ZJIWHNVT.cjs} +1 -1
- package/dist/client/Menu.cjs +2 -2
- package/dist/client/Menu.d.cts +4 -4
- package/dist/client/Menu.d.ts +4 -4
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +63 -38
- package/dist/client/index.d.ts +63 -38
- package/dist/client/index.js +1 -1
- package/dist/defaultTokensConfig.d.cts +2 -2
- package/dist/defaultTokensConfig.d.ts +2 -2
- package/dist/experimental/client/SwitchV2.cjs +1 -1
- package/dist/experimental/client/SwitchV2.d.cts +1 -1
- package/dist/experimental/client/SwitchV2.d.ts +1 -1
- package/dist/experimental/client/SwitchV2.js +1 -1
- package/dist/experimental/client/index.cjs +2 -2
- package/dist/experimental/client/index.js +1 -1
- package/dist/experimental/index.cjs +2 -2
- package/dist/experimental/index.js +1 -1
- package/dist/{index-CqizU-UO.d.cts → index-BNV_bpqb.d.cts} +1 -1
- package/dist/{index-CISBacKa.d.cts → index-DE7BJVEA.d.cts} +1 -1
- package/dist/{index-BiFYC5eM.d.ts → index-DviXR06Z.d.ts} +1 -1
- package/dist/{index-Dn2pubkn.d.ts → index-uVTfvIWD.d.ts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +10 -94
- package/dist/index.d.ts +10 -94
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +1 -1
- package/dist/tailwind/utils.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/index.d.cts +4 -4
- package/dist/tokens/index.d.ts +4 -4
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/{types-BRmrSr-u.d.cts → types-BEsEvo0F.d.cts} +4 -3
- package/dist/{types-BRmrSr-u.d.ts → types-BEsEvo0F.d.ts} +4 -3
- package/dist/{types-D0Rkj_1F.d.cts → types-rZt8SiS0.d.cts} +4 -3
- package/dist/{types-D0Rkj_1F.d.ts → types-rZt8SiS0.d.ts} +4 -3
- package/package.json +1 -1
- package/cli/FullWidthClassToProp.mock.tsx +0 -17
- package/dist/Input-C267CIVV.d.cts +0 -54
- package/dist/Input-C2JHbAnz.d.cts +0 -54
- package/dist/Input-CF4Kpe9f.d.ts +0 -54
- package/dist/Input-Drdk_VTx.d.ts +0 -54
- package/dist/chunk-4GUXQTU3.cjs +0 -3
- package/dist/chunk-JM4WTJDB.cjs +0 -3
@@ -10520,7 +10520,7 @@ interface UniversalBadgeProps extends PropsWithChildren {
|
|
10520
10520
|
maxWidth?: number | 'full';
|
10521
10521
|
}
|
10522
10522
|
type AvatarVariant = 'primary' | 'secondary';
|
10523
|
-
type AvatarAbbreviationStrategy = 'first' | 'last' | 'firstAndLast' | 'firstTwo' | 'firstThree' | 'firstOfEach' | ((
|
10523
|
+
type AvatarAbbreviationStrategy = 'first' | 'last' | 'firstAndLast' | 'firstTwo' | 'firstThree' | 'firstOfEach' | ((name: string) => string);
|
10524
10524
|
/** Props common to all Avatar variants */
|
10525
10525
|
interface UniversalAvatarBaseProps {
|
10526
10526
|
/** Avatar size key. @default "md" */
|
@@ -10545,6 +10545,7 @@ interface UniversalAvatarImageProps extends UniversalAvatarBaseProps {
|
|
10545
10545
|
/**
|
10546
10546
|
* Additional properties for the img element,
|
10547
10547
|
* excluding controlled attributes.
|
10548
|
+
* @deprecated Use slotProps.image instead
|
10548
10549
|
*/
|
10549
10550
|
imageProps?: Omit<ImagePropsWithImgProps, 'src' | 'srcSet' | 'alt' | 'className' | 'height' | 'width'>;
|
10550
10551
|
/** Fallback text if image fails to load */
|
@@ -10560,7 +10561,7 @@ interface UniversalAvatarTextProps extends UniversalAvatarBaseProps {
|
|
10560
10561
|
/** Props for Avatar icon variant */
|
10561
10562
|
interface UniversalAvatarIconProps extends Omit<UniversalAvatarBaseProps, 'abbreviationStrategy'> {
|
10562
10563
|
/** Optional icon override */
|
10563
|
-
icon?:
|
10564
|
+
icon?: UniversalIconSlot;
|
10564
10565
|
}
|
10565
10566
|
/** Combined Avatar component props */
|
10566
10567
|
type UniversalAvatarProps = UniversalAvatarImageProps;
|
@@ -10582,4 +10583,4 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
|
|
10582
10583
|
disabled?: boolean;
|
10583
10584
|
}
|
10584
10585
|
|
10585
|
-
export { MOTION_PREFIX as $, type
|
10586
|
+
export { MOTION_PREFIX as $, type UniversalFormLabelProps as A, type ButtonConfig as B, type ColorModeConfig as C, type ImagePropsWithImgProps as D, type UniversalIconSlot as E, type FontConfig as F, type GlobalDefaultsConfig as G, type Hue as H, type IconButtonConfig as I, type UniversalLinkProps as J, alwaysPalette as K, UDS_PREFIX as L, type MotionConfig as M, AVATAR_SIZE_PREFIX as N, BORDER_RADIUS_PREFIX as O, type PaletteType as P, BORDER_WIDTH_PREFIX as Q, FONT_FAMILY_PREFIX as R, type ScaleModeConfig as S, type TypographyConfig as T, type UniversalPressableProps as U, FONT_SIZE_PREFIX as V, FONT_WEIGHT_PREFIX as W, FONT_SLANT_PREFIX as X, FONT_WIDTH_PREFIX as Y, ICON_SIZE_PREFIX as Z, LINE_HEIGHT_PREFIX as _, type UniversalBoxProps as a, type ButtonState as a$, SPECTRUM_COLOR_PREFIX as a0, TEXT_TRANSFORM_PREFIX as a1, DARK_COLOR_MODE_CLASSNAME as a2, LIGHT_COLOR_MODE_CLASSNAME as a3, SYSTEM_COLOR_MODE_CLASSNAME as a4, INVERT_COLOR_MODE_CLASSNAME as a5, XSMALL_SCALE_MODE_CLASSNAME as a6, SMALL_SCALE_MODE_CLASSNAME as a7, MEDIUM_SCALE_MODE_CLASSNAME as a8, LARGE_SCALE_MODE_CLASSNAME as a9, type BackgroundPaletteAlias as aA, type BackgroundStyleProps as aB, type BadgeSize as aC, type BadgeVariant as aD, type BorderRadius as aE, type BorderRadiusConfig as aF, type BorderStyleProps as aG, type BorderWidth as aH, type BorderWidthConfig as aI, type Breakpoint as aJ, type ButtonBaseConfig as aK, type ButtonClassName as aL, type ButtonColorConfig as aM, type ButtonColorEffect as aN, type ButtonColorEffectConfig as aO, type ButtonKind as aP, type ButtonMotionEffect as aQ, type ButtonMotionProperty as aR, type ButtonMotionPropertyConfig as aS, type ButtonPalette as aT, type ButtonPaletteColor as aU, type ButtonPaletteConfig as aV, type ButtonShadowPropertyConfig as aW, type ButtonSize as aX, type ButtonSizeConfig as aY, type ButtonSizeProperty as aZ, type ButtonSpectrumColor as a_, XLARGE_SCALE_MODE_CLASSNAME as aa, XXLARGE_SCALE_MODE_CLASSNAME as ab, XXXLARGE_SCALE_MODE_CLASSNAME as ac, DEFAULT_COLOR_MODE_CLASSNAME as ad, DEFAULT_SCALE_MODE_CLASSNAME as ae, TEXT_RESPONSIVE_CLASSNAME as af, BUTTON_CSS_VAR_MAP as ag, ICON_BUTTON_CSS_VAR_MAP as ah, PSEUDO_STYLE_SELECTOR_MAP as ai, FONT_DECLARATIONS_MAP as aj, type FontAxisConfig as ak, type FontDeclarationConfig as al, type FontDeclarationMap as am, type FontWeightForFont as an, type AlwaysPalette as ao, type AlwaysPaletteAlias as ap, type AlwaysPaletteColor as aq, type Animation as ar, type AriaAttribute as as, type AvatarAbbreviationStrategy as at, type AvatarShape as au, type AvatarSize as av, type AvatarSizeConfig as aw, type AvatarVariant as ax, type BackgroundColor as ay, type BackgroundPalette as az, type UniversalSwitchProps as b, type MotionVariant as b$, type ButtonStateConfig as b0, type ButtonStateEffectConfig as b1, type ButtonVariant as b2, type ButtonVariantConfig as b3, type ButtonVariantFlat as b4, type CheckboxSize as b5, type CheckboxValue as b6, type CheckboxVariant as b7, type ChipSize as b8, type ChipVariant as b9, type FontWeightConfig as bA, type FontWeightDescriptive as bB, type FontWeightNumeric as bC, type FontWidthConfig as bD, type ForegroundColor as bE, type ForegroundPalette as bF, type ForegroundPaletteAlias as bG, type HighContrastMode as bH, type IconButtonClassName as bI, type IconButtonDefaultsConfig as bJ, type IconButtonSize as bK, type IconSizeConfig as bL, type IconSlotRenderProps as bM, type ImageStyleProps as bN, type InputSize as bO, type LayoutStyleProps as bP, type LetterSpacing as bQ, type LineClampAlias as bR, type LineColor as bS, type LineHeight as bT, type LineHeightConfig as bU, type LinePalette as bV, type LinePaletteAlias as bW, type Modes as bX, type MotionCssVar as bY, type MotionSpringConfig as bZ, type MotionSpringConfigOptions as b_, type ColorModeForApp as ba, type ConfigurableDropShadowValues as bb, type ConfigurableInsetShadowValues as bc, type CustomSizingStyleProps as bd, type DataAttribute as be, type Display as bf, type DividerVariant as bg, type Flex as bh, type FlexAlignContent as bi, type FlexAlignItems as bj, type FlexAlignSelf as bk, type FlexBasis as bl, type FlexDirection as bm, type FlexGrow as bn, type FlexJustifyContent as bo, type FlexShrink as bp, type FlexStyleProps as bq, type FlexWrap as br, type FontAlias as bs, type FontCssVar as bt, type FontFamilyCDNUrl as bu, type FontFamilyConfig as bv, type FontSize as bw, type FontSizeConfig as bx, type FontSlantConfig as by, type FontType as bz, type ShadowConfig as c, type UniversalChipButtonProps as c$, type MotionVariantSpeed as c0, type MotionVariantValues as c1, type Overflow as c2, type Palette as c3, type PaletteValue as c4, type Pixels as c5, type PlatformMode as c6, type Position as c7, type PropertyToPaletteAliasMap as c8, type RadioSize as c9, type StyleProps as cA, type SwitchSize as cB, type TextDecorationLine as cC, type TextProperty as cD, type TextStyleProps as cE, type TextTransform as cF, type TextTransformConfig as cG, type TextVariant as cH, type TransitionDelay as cI, type TransitionDuration as cJ, type TransitionTiming as cK, type TShirtSize as cL, type TShirtSizeCommon as cM, type TypographyResponsiveProperty as cN, type TypographyStyle as cO, type TypographyStyleProperty as cP, type TypographyUnitValue as cQ, type UdsCssVar as cR, type Unitless as cS, type UniversalAvatarIconProps as cT, type UniversalAvatarImageProps as cU, type UniversalAvatarProps as cV, type UniversalAvatarTextProps as cW, type UniversalBadgeProps as cX, type UniversalButtonProps as cY, type UniversalCheckboxProps as cZ, type UniversalChipBaseProps as c_, type RadioValue as ca, type RadioVariant as cb, type RegionMode as cc, type Rems as cd, type ScaleConfig as ce, type ScaleEffectMap as cf, type ScaleModeForApp as cg, type ShadowColor as ch, type ShadowColorConfig as ci, type ShadowOffset as cj, type ShadowOpacity as ck, type ShadowPalette as cl, type ShadowPaletteAlias as cm, type ShadowSpreadRadius as cn, type ShadowStyleProps as co, type ShadowTypeConfig as cp, type ShadowVariant as cq, type ShadowVariantConfig as cr, type ShadowVariantInvert as cs, type ShadowVariantWithInvert as ct, type SharedPaletteAlias as cu, type SpacingConfig as cv, type SpacingStyleProps as cw, type SpectrumColor as cx, type SpectrumConfig as cy, type StateStyleProps as cz, type BreakpointsConfig as d, type UniversalChipDismissibleProps as d0, type UniversalChipLinkProps as d1, type UniversalChipProps as d2, type UniversalChipToggleProps as d3, type UniversalIconButtonProps as d4, type UniversalIconProps as d5, type UniversalImageProps as d6, type UniversalRadioGroupProps as d7, type UniversalRadioProps as d8, type UniversalTokensConfigAuto as d9, defaultUniversalTokensConfigAuto as e, type UniversalTokensConfig as f, type ColorMode as g, type ColorsConfig as h, type HueStep as i, type PaletteConfig as j, type ScaleMode as k, type UniversalInputProps as l, type IconPropsWithSVGProps as m, type UniversalTextProps as n, type ShadowPreset as o, type UniversalStackProps as p, type UniversalDividerProps as q, type ButtonClassMap as r, type IconButtonClassMap as s, type ButtonColorProperty as t, type ButtonColorPropertyConfig as u, type SpacingAlias as v, type UniversalMenuItemProps as w, type FontID as x, type FontDeclarationItemConfig as y, type ShadowType as z };
|
@@ -10520,7 +10520,7 @@ interface UniversalBadgeProps extends PropsWithChildren {
|
|
10520
10520
|
maxWidth?: number | 'full';
|
10521
10521
|
}
|
10522
10522
|
type AvatarVariant = 'primary' | 'secondary';
|
10523
|
-
type AvatarAbbreviationStrategy = 'first' | 'last' | 'firstAndLast' | 'firstTwo' | 'firstThree' | 'firstOfEach' | ((
|
10523
|
+
type AvatarAbbreviationStrategy = 'first' | 'last' | 'firstAndLast' | 'firstTwo' | 'firstThree' | 'firstOfEach' | ((name: string) => string);
|
10524
10524
|
/** Props common to all Avatar variants */
|
10525
10525
|
interface UniversalAvatarBaseProps {
|
10526
10526
|
/** Avatar size key. @default "md" */
|
@@ -10545,6 +10545,7 @@ interface UniversalAvatarImageProps extends UniversalAvatarBaseProps {
|
|
10545
10545
|
/**
|
10546
10546
|
* Additional properties for the img element,
|
10547
10547
|
* excluding controlled attributes.
|
10548
|
+
* @deprecated Use slotProps.image instead
|
10548
10549
|
*/
|
10549
10550
|
imageProps?: Omit<ImagePropsWithImgProps, 'src' | 'srcSet' | 'alt' | 'className' | 'height' | 'width'>;
|
10550
10551
|
/** Fallback text if image fails to load */
|
@@ -10560,7 +10561,7 @@ interface UniversalAvatarTextProps extends UniversalAvatarBaseProps {
|
|
10560
10561
|
/** Props for Avatar icon variant */
|
10561
10562
|
interface UniversalAvatarIconProps extends Omit<UniversalAvatarBaseProps, 'abbreviationStrategy'> {
|
10562
10563
|
/** Optional icon override */
|
10563
|
-
icon?:
|
10564
|
+
icon?: UniversalIconSlot;
|
10564
10565
|
}
|
10565
10566
|
/** Combined Avatar component props */
|
10566
10567
|
type UniversalAvatarProps = UniversalAvatarImageProps;
|
@@ -10582,4 +10583,4 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
|
|
10582
10583
|
disabled?: boolean;
|
10583
10584
|
}
|
10584
10585
|
|
10585
|
-
export { MOTION_PREFIX as $, type
|
10586
|
+
export { MOTION_PREFIX as $, type UniversalFormLabelProps as A, type ButtonConfig as B, type ColorModeConfig as C, type ImagePropsWithImgProps as D, type UniversalIconSlot as E, type FontConfig as F, type GlobalDefaultsConfig as G, type Hue as H, type IconButtonConfig as I, type UniversalLinkProps as J, alwaysPalette as K, UDS_PREFIX as L, type MotionConfig as M, AVATAR_SIZE_PREFIX as N, BORDER_RADIUS_PREFIX as O, type PaletteType as P, BORDER_WIDTH_PREFIX as Q, FONT_FAMILY_PREFIX as R, type ScaleModeConfig as S, type TypographyConfig as T, type UniversalPressableProps as U, FONT_SIZE_PREFIX as V, FONT_WEIGHT_PREFIX as W, FONT_SLANT_PREFIX as X, FONT_WIDTH_PREFIX as Y, ICON_SIZE_PREFIX as Z, LINE_HEIGHT_PREFIX as _, type UniversalBoxProps as a, type ButtonState as a$, SPECTRUM_COLOR_PREFIX as a0, TEXT_TRANSFORM_PREFIX as a1, DARK_COLOR_MODE_CLASSNAME as a2, LIGHT_COLOR_MODE_CLASSNAME as a3, SYSTEM_COLOR_MODE_CLASSNAME as a4, INVERT_COLOR_MODE_CLASSNAME as a5, XSMALL_SCALE_MODE_CLASSNAME as a6, SMALL_SCALE_MODE_CLASSNAME as a7, MEDIUM_SCALE_MODE_CLASSNAME as a8, LARGE_SCALE_MODE_CLASSNAME as a9, type BackgroundPaletteAlias as aA, type BackgroundStyleProps as aB, type BadgeSize as aC, type BadgeVariant as aD, type BorderRadius as aE, type BorderRadiusConfig as aF, type BorderStyleProps as aG, type BorderWidth as aH, type BorderWidthConfig as aI, type Breakpoint as aJ, type ButtonBaseConfig as aK, type ButtonClassName as aL, type ButtonColorConfig as aM, type ButtonColorEffect as aN, type ButtonColorEffectConfig as aO, type ButtonKind as aP, type ButtonMotionEffect as aQ, type ButtonMotionProperty as aR, type ButtonMotionPropertyConfig as aS, type ButtonPalette as aT, type ButtonPaletteColor as aU, type ButtonPaletteConfig as aV, type ButtonShadowPropertyConfig as aW, type ButtonSize as aX, type ButtonSizeConfig as aY, type ButtonSizeProperty as aZ, type ButtonSpectrumColor as a_, XLARGE_SCALE_MODE_CLASSNAME as aa, XXLARGE_SCALE_MODE_CLASSNAME as ab, XXXLARGE_SCALE_MODE_CLASSNAME as ac, DEFAULT_COLOR_MODE_CLASSNAME as ad, DEFAULT_SCALE_MODE_CLASSNAME as ae, TEXT_RESPONSIVE_CLASSNAME as af, BUTTON_CSS_VAR_MAP as ag, ICON_BUTTON_CSS_VAR_MAP as ah, PSEUDO_STYLE_SELECTOR_MAP as ai, FONT_DECLARATIONS_MAP as aj, type FontAxisConfig as ak, type FontDeclarationConfig as al, type FontDeclarationMap as am, type FontWeightForFont as an, type AlwaysPalette as ao, type AlwaysPaletteAlias as ap, type AlwaysPaletteColor as aq, type Animation as ar, type AriaAttribute as as, type AvatarAbbreviationStrategy as at, type AvatarShape as au, type AvatarSize as av, type AvatarSizeConfig as aw, type AvatarVariant as ax, type BackgroundColor as ay, type BackgroundPalette as az, type UniversalSwitchProps as b, type MotionVariant as b$, type ButtonStateConfig as b0, type ButtonStateEffectConfig as b1, type ButtonVariant as b2, type ButtonVariantConfig as b3, type ButtonVariantFlat as b4, type CheckboxSize as b5, type CheckboxValue as b6, type CheckboxVariant as b7, type ChipSize as b8, type ChipVariant as b9, type FontWeightConfig as bA, type FontWeightDescriptive as bB, type FontWeightNumeric as bC, type FontWidthConfig as bD, type ForegroundColor as bE, type ForegroundPalette as bF, type ForegroundPaletteAlias as bG, type HighContrastMode as bH, type IconButtonClassName as bI, type IconButtonDefaultsConfig as bJ, type IconButtonSize as bK, type IconSizeConfig as bL, type IconSlotRenderProps as bM, type ImageStyleProps as bN, type InputSize as bO, type LayoutStyleProps as bP, type LetterSpacing as bQ, type LineClampAlias as bR, type LineColor as bS, type LineHeight as bT, type LineHeightConfig as bU, type LinePalette as bV, type LinePaletteAlias as bW, type Modes as bX, type MotionCssVar as bY, type MotionSpringConfig as bZ, type MotionSpringConfigOptions as b_, type ColorModeForApp as ba, type ConfigurableDropShadowValues as bb, type ConfigurableInsetShadowValues as bc, type CustomSizingStyleProps as bd, type DataAttribute as be, type Display as bf, type DividerVariant as bg, type Flex as bh, type FlexAlignContent as bi, type FlexAlignItems as bj, type FlexAlignSelf as bk, type FlexBasis as bl, type FlexDirection as bm, type FlexGrow as bn, type FlexJustifyContent as bo, type FlexShrink as bp, type FlexStyleProps as bq, type FlexWrap as br, type FontAlias as bs, type FontCssVar as bt, type FontFamilyCDNUrl as bu, type FontFamilyConfig as bv, type FontSize as bw, type FontSizeConfig as bx, type FontSlantConfig as by, type FontType as bz, type ShadowConfig as c, type UniversalChipButtonProps as c$, type MotionVariantSpeed as c0, type MotionVariantValues as c1, type Overflow as c2, type Palette as c3, type PaletteValue as c4, type Pixels as c5, type PlatformMode as c6, type Position as c7, type PropertyToPaletteAliasMap as c8, type RadioSize as c9, type StyleProps as cA, type SwitchSize as cB, type TextDecorationLine as cC, type TextProperty as cD, type TextStyleProps as cE, type TextTransform as cF, type TextTransformConfig as cG, type TextVariant as cH, type TransitionDelay as cI, type TransitionDuration as cJ, type TransitionTiming as cK, type TShirtSize as cL, type TShirtSizeCommon as cM, type TypographyResponsiveProperty as cN, type TypographyStyle as cO, type TypographyStyleProperty as cP, type TypographyUnitValue as cQ, type UdsCssVar as cR, type Unitless as cS, type UniversalAvatarIconProps as cT, type UniversalAvatarImageProps as cU, type UniversalAvatarProps as cV, type UniversalAvatarTextProps as cW, type UniversalBadgeProps as cX, type UniversalButtonProps as cY, type UniversalCheckboxProps as cZ, type UniversalChipBaseProps as c_, type RadioValue as ca, type RadioVariant as cb, type RegionMode as cc, type Rems as cd, type ScaleConfig as ce, type ScaleEffectMap as cf, type ScaleModeForApp as cg, type ShadowColor as ch, type ShadowColorConfig as ci, type ShadowOffset as cj, type ShadowOpacity as ck, type ShadowPalette as cl, type ShadowPaletteAlias as cm, type ShadowSpreadRadius as cn, type ShadowStyleProps as co, type ShadowTypeConfig as cp, type ShadowVariant as cq, type ShadowVariantConfig as cr, type ShadowVariantInvert as cs, type ShadowVariantWithInvert as ct, type SharedPaletteAlias as cu, type SpacingConfig as cv, type SpacingStyleProps as cw, type SpectrumColor as cx, type SpectrumConfig as cy, type StateStyleProps as cz, type BreakpointsConfig as d, type UniversalChipDismissibleProps as d0, type UniversalChipLinkProps as d1, type UniversalChipProps as d2, type UniversalChipToggleProps as d3, type UniversalIconButtonProps as d4, type UniversalIconProps as d5, type UniversalImageProps as d6, type UniversalRadioGroupProps as d7, type UniversalRadioProps as d8, type UniversalTokensConfigAuto as d9, defaultUniversalTokensConfigAuto as e, type UniversalTokensConfig as f, type ColorMode as g, type ColorsConfig as h, type HueStep as i, type PaletteConfig as j, type ScaleMode as k, type UniversalInputProps as l, type IconPropsWithSVGProps as m, type UniversalTextProps as n, type ShadowPreset as o, type UniversalStackProps as p, type UniversalDividerProps as q, type ButtonClassMap as r, type IconButtonClassMap as s, type ButtonColorProperty as t, type ButtonColorPropertyConfig as u, type SpacingAlias as v, type UniversalMenuItemProps as w, type FontID as x, type FontDeclarationItemConfig as y, type ShadowType as z };
|
@@ -10520,7 +10520,7 @@ interface UniversalBadgeProps extends PropsWithChildren {
|
|
10520
10520
|
maxWidth?: number | 'full';
|
10521
10521
|
}
|
10522
10522
|
type AvatarVariant = 'primary' | 'secondary';
|
10523
|
-
type AvatarAbbreviationStrategy = 'first' | 'last' | 'firstAndLast' | 'firstTwo' | 'firstThree' | 'firstOfEach' | ((
|
10523
|
+
type AvatarAbbreviationStrategy = 'first' | 'last' | 'firstAndLast' | 'firstTwo' | 'firstThree' | 'firstOfEach' | ((name: string) => string);
|
10524
10524
|
/** Props common to all Avatar variants */
|
10525
10525
|
interface UniversalAvatarBaseProps {
|
10526
10526
|
/** Avatar size key. @default "md" */
|
@@ -10545,6 +10545,7 @@ interface UniversalAvatarImageProps extends UniversalAvatarBaseProps {
|
|
10545
10545
|
/**
|
10546
10546
|
* Additional properties for the img element,
|
10547
10547
|
* excluding controlled attributes.
|
10548
|
+
* @deprecated Use slotProps.image instead
|
10548
10549
|
*/
|
10549
10550
|
imageProps?: Omit<ImagePropsWithImgProps, 'src' | 'srcSet' | 'alt' | 'className' | 'height' | 'width'>;
|
10550
10551
|
/** Fallback text if image fails to load */
|
@@ -10560,7 +10561,7 @@ interface UniversalAvatarTextProps extends UniversalAvatarBaseProps {
|
|
10560
10561
|
/** Props for Avatar icon variant */
|
10561
10562
|
interface UniversalAvatarIconProps extends Omit<UniversalAvatarBaseProps, 'abbreviationStrategy'> {
|
10562
10563
|
/** Optional icon override */
|
10563
|
-
icon?:
|
10564
|
+
icon?: UniversalIconSlot;
|
10564
10565
|
}
|
10565
10566
|
/** Combined Avatar component props */
|
10566
10567
|
type UniversalAvatarProps = UniversalAvatarImageProps;
|
@@ -10582,4 +10583,4 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
|
|
10582
10583
|
disabled?: boolean;
|
10583
10584
|
}
|
10584
10585
|
|
10585
|
-
export { MOTION_PREFIX as $, type
|
10586
|
+
export { MOTION_PREFIX as $, type UniversalFormLabelProps as A, type ButtonConfig as B, type ColorModeConfig as C, type ImagePropsWithImgProps as D, type UniversalIconSlot as E, type FontConfig as F, type GlobalDefaultsConfig as G, type Hue as H, type IconButtonConfig as I, type UniversalLinkProps as J, alwaysPalette as K, UDS_PREFIX as L, type MotionConfig as M, AVATAR_SIZE_PREFIX as N, BORDER_RADIUS_PREFIX as O, type PaletteType as P, BORDER_WIDTH_PREFIX as Q, FONT_FAMILY_PREFIX as R, type ScaleModeConfig as S, type TypographyConfig as T, type UniversalPressableProps as U, FONT_SIZE_PREFIX as V, FONT_WEIGHT_PREFIX as W, FONT_SLANT_PREFIX as X, FONT_WIDTH_PREFIX as Y, ICON_SIZE_PREFIX as Z, LINE_HEIGHT_PREFIX as _, type UniversalBoxProps as a, type ButtonState as a$, SPECTRUM_COLOR_PREFIX as a0, TEXT_TRANSFORM_PREFIX as a1, DARK_COLOR_MODE_CLASSNAME as a2, LIGHT_COLOR_MODE_CLASSNAME as a3, SYSTEM_COLOR_MODE_CLASSNAME as a4, INVERT_COLOR_MODE_CLASSNAME as a5, XSMALL_SCALE_MODE_CLASSNAME as a6, SMALL_SCALE_MODE_CLASSNAME as a7, MEDIUM_SCALE_MODE_CLASSNAME as a8, LARGE_SCALE_MODE_CLASSNAME as a9, type BackgroundPaletteAlias as aA, type BackgroundStyleProps as aB, type BadgeSize as aC, type BadgeVariant as aD, type BorderRadius as aE, type BorderRadiusConfig as aF, type BorderStyleProps as aG, type BorderWidth as aH, type BorderWidthConfig as aI, type Breakpoint as aJ, type ButtonBaseConfig as aK, type ButtonClassName as aL, type ButtonColorConfig as aM, type ButtonColorEffect as aN, type ButtonColorEffectConfig as aO, type ButtonKind as aP, type ButtonMotionEffect as aQ, type ButtonMotionProperty as aR, type ButtonMotionPropertyConfig as aS, type ButtonPalette as aT, type ButtonPaletteColor as aU, type ButtonPaletteConfig as aV, type ButtonShadowPropertyConfig as aW, type ButtonSize as aX, type ButtonSizeConfig as aY, type ButtonSizeProperty as aZ, type ButtonSpectrumColor as a_, XLARGE_SCALE_MODE_CLASSNAME as aa, XXLARGE_SCALE_MODE_CLASSNAME as ab, XXXLARGE_SCALE_MODE_CLASSNAME as ac, DEFAULT_COLOR_MODE_CLASSNAME as ad, DEFAULT_SCALE_MODE_CLASSNAME as ae, TEXT_RESPONSIVE_CLASSNAME as af, BUTTON_CSS_VAR_MAP as ag, ICON_BUTTON_CSS_VAR_MAP as ah, PSEUDO_STYLE_SELECTOR_MAP as ai, FONT_DECLARATIONS_MAP as aj, type FontAxisConfig as ak, type FontDeclarationConfig as al, type FontDeclarationMap as am, type FontWeightForFont as an, type AlwaysPalette as ao, type AlwaysPaletteAlias as ap, type AlwaysPaletteColor as aq, type Animation as ar, type AriaAttribute as as, type AvatarAbbreviationStrategy as at, type AvatarShape as au, type AvatarSize as av, type AvatarSizeConfig as aw, type AvatarVariant as ax, type BackgroundColor as ay, type BackgroundPalette as az, type UniversalSwitchProps as b, type MotionVariant as b$, type ButtonStateConfig as b0, type ButtonStateEffectConfig as b1, type ButtonVariant as b2, type ButtonVariantConfig as b3, type ButtonVariantFlat as b4, type CheckboxSize as b5, type CheckboxValue as b6, type CheckboxVariant as b7, type ChipSize as b8, type ChipVariant as b9, type FontWeightConfig as bA, type FontWeightDescriptive as bB, type FontWeightNumeric as bC, type FontWidthConfig as bD, type ForegroundColor as bE, type ForegroundPalette as bF, type ForegroundPaletteAlias as bG, type HighContrastMode as bH, type IconButtonClassName as bI, type IconButtonDefaultsConfig as bJ, type IconButtonSize as bK, type IconSizeConfig as bL, type IconSlotRenderProps as bM, type ImageStyleProps as bN, type InputSize as bO, type LayoutStyleProps as bP, type LetterSpacing as bQ, type LineClampAlias as bR, type LineColor as bS, type LineHeight as bT, type LineHeightConfig as bU, type LinePalette as bV, type LinePaletteAlias as bW, type Modes as bX, type MotionCssVar as bY, type MotionSpringConfig as bZ, type MotionSpringConfigOptions as b_, type ColorModeForApp as ba, type ConfigurableDropShadowValues as bb, type ConfigurableInsetShadowValues as bc, type CustomSizingStyleProps as bd, type DataAttribute as be, type Display as bf, type DividerVariant as bg, type Flex as bh, type FlexAlignContent as bi, type FlexAlignItems as bj, type FlexAlignSelf as bk, type FlexBasis as bl, type FlexDirection as bm, type FlexGrow as bn, type FlexJustifyContent as bo, type FlexShrink as bp, type FlexStyleProps as bq, type FlexWrap as br, type FontAlias as bs, type FontCssVar as bt, type FontFamilyCDNUrl as bu, type FontFamilyConfig as bv, type FontSize as bw, type FontSizeConfig as bx, type FontSlantConfig as by, type FontType as bz, type ShadowConfig as c, type UniversalChipButtonProps as c$, type MotionVariantSpeed as c0, type MotionVariantValues as c1, type Overflow as c2, type Palette as c3, type PaletteValue as c4, type Pixels as c5, type PlatformMode as c6, type Position as c7, type PropertyToPaletteAliasMap as c8, type RadioSize as c9, type StyleProps as cA, type SwitchSize as cB, type TextDecorationLine as cC, type TextProperty as cD, type TextStyleProps as cE, type TextTransform as cF, type TextTransformConfig as cG, type TextVariant as cH, type TransitionDelay as cI, type TransitionDuration as cJ, type TransitionTiming as cK, type TShirtSize as cL, type TShirtSizeCommon as cM, type TypographyResponsiveProperty as cN, type TypographyStyle as cO, type TypographyStyleProperty as cP, type TypographyUnitValue as cQ, type UdsCssVar as cR, type Unitless as cS, type UniversalAvatarIconProps as cT, type UniversalAvatarImageProps as cU, type UniversalAvatarProps as cV, type UniversalAvatarTextProps as cW, type UniversalBadgeProps as cX, type UniversalButtonProps as cY, type UniversalCheckboxProps as cZ, type UniversalChipBaseProps as c_, type RadioValue as ca, type RadioVariant as cb, type RegionMode as cc, type Rems as cd, type ScaleConfig as ce, type ScaleEffectMap as cf, type ScaleModeForApp as cg, type ShadowColor as ch, type ShadowColorConfig as ci, type ShadowOffset as cj, type ShadowOpacity as ck, type ShadowPalette as cl, type ShadowPaletteAlias as cm, type ShadowSpreadRadius as cn, type ShadowStyleProps as co, type ShadowTypeConfig as cp, type ShadowVariant as cq, type ShadowVariantConfig as cr, type ShadowVariantInvert as cs, type ShadowVariantWithInvert as ct, type SharedPaletteAlias as cu, type SpacingConfig as cv, type SpacingStyleProps as cw, type SpectrumColor as cx, type SpectrumConfig as cy, type StateStyleProps as cz, type BreakpointsConfig as d, type UniversalChipDismissibleProps as d0, type UniversalChipLinkProps as d1, type UniversalChipProps as d2, type UniversalChipToggleProps as d3, type UniversalIconButtonProps as d4, type UniversalIconProps as d5, type UniversalImageProps as d6, type UniversalRadioGroupProps as d7, type UniversalRadioProps as d8, type UniversalTokensConfigAuto as d9, defaultUniversalTokensConfigAuto as e, type UniversalTokensConfig as f, type ColorMode as g, type ColorsConfig as h, type HueStep as i, type PaletteConfig as j, type ScaleMode as k, type UniversalInputProps as l, type IconPropsWithSVGProps as m, type UniversalTextProps as n, type ShadowPreset as o, type UniversalStackProps as p, type UniversalDividerProps as q, type ButtonClassMap as r, type IconButtonClassMap as s, type ButtonColorProperty as t, type ButtonColorPropertyConfig as u, type SpacingAlias as v, type UniversalMenuItemProps as w, type FontID as x, type FontDeclarationItemConfig as y, type ShadowType as z };
|
@@ -10520,7 +10520,7 @@ interface UniversalBadgeProps extends PropsWithChildren {
|
|
10520
10520
|
maxWidth?: number | 'full';
|
10521
10521
|
}
|
10522
10522
|
type AvatarVariant = 'primary' | 'secondary';
|
10523
|
-
type AvatarAbbreviationStrategy = 'first' | 'last' | 'firstAndLast' | 'firstTwo' | 'firstThree' | 'firstOfEach' | ((
|
10523
|
+
type AvatarAbbreviationStrategy = 'first' | 'last' | 'firstAndLast' | 'firstTwo' | 'firstThree' | 'firstOfEach' | ((name: string) => string);
|
10524
10524
|
/** Props common to all Avatar variants */
|
10525
10525
|
interface UniversalAvatarBaseProps {
|
10526
10526
|
/** Avatar size key. @default "md" */
|
@@ -10545,6 +10545,7 @@ interface UniversalAvatarImageProps extends UniversalAvatarBaseProps {
|
|
10545
10545
|
/**
|
10546
10546
|
* Additional properties for the img element,
|
10547
10547
|
* excluding controlled attributes.
|
10548
|
+
* @deprecated Use slotProps.image instead
|
10548
10549
|
*/
|
10549
10550
|
imageProps?: Omit<ImagePropsWithImgProps, 'src' | 'srcSet' | 'alt' | 'className' | 'height' | 'width'>;
|
10550
10551
|
/** Fallback text if image fails to load */
|
@@ -10560,7 +10561,7 @@ interface UniversalAvatarTextProps extends UniversalAvatarBaseProps {
|
|
10560
10561
|
/** Props for Avatar icon variant */
|
10561
10562
|
interface UniversalAvatarIconProps extends Omit<UniversalAvatarBaseProps, 'abbreviationStrategy'> {
|
10562
10563
|
/** Optional icon override */
|
10563
|
-
icon?:
|
10564
|
+
icon?: UniversalIconSlot;
|
10564
10565
|
}
|
10565
10566
|
/** Combined Avatar component props */
|
10566
10567
|
type UniversalAvatarProps = UniversalAvatarImageProps;
|
@@ -10582,4 +10583,4 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
|
|
10582
10583
|
disabled?: boolean;
|
10583
10584
|
}
|
10584
10585
|
|
10585
|
-
export { MOTION_PREFIX as $, type
|
10586
|
+
export { MOTION_PREFIX as $, type UniversalFormLabelProps as A, type ButtonConfig as B, type ColorModeConfig as C, type ImagePropsWithImgProps as D, type UniversalIconSlot as E, type FontConfig as F, type GlobalDefaultsConfig as G, type Hue as H, type IconButtonConfig as I, type UniversalLinkProps as J, alwaysPalette as K, UDS_PREFIX as L, type MotionConfig as M, AVATAR_SIZE_PREFIX as N, BORDER_RADIUS_PREFIX as O, type PaletteType as P, BORDER_WIDTH_PREFIX as Q, FONT_FAMILY_PREFIX as R, type ScaleModeConfig as S, type TypographyConfig as T, type UniversalPressableProps as U, FONT_SIZE_PREFIX as V, FONT_WEIGHT_PREFIX as W, FONT_SLANT_PREFIX as X, FONT_WIDTH_PREFIX as Y, ICON_SIZE_PREFIX as Z, LINE_HEIGHT_PREFIX as _, type UniversalBoxProps as a, type ButtonState as a$, SPECTRUM_COLOR_PREFIX as a0, TEXT_TRANSFORM_PREFIX as a1, DARK_COLOR_MODE_CLASSNAME as a2, LIGHT_COLOR_MODE_CLASSNAME as a3, SYSTEM_COLOR_MODE_CLASSNAME as a4, INVERT_COLOR_MODE_CLASSNAME as a5, XSMALL_SCALE_MODE_CLASSNAME as a6, SMALL_SCALE_MODE_CLASSNAME as a7, MEDIUM_SCALE_MODE_CLASSNAME as a8, LARGE_SCALE_MODE_CLASSNAME as a9, type BackgroundPaletteAlias as aA, type BackgroundStyleProps as aB, type BadgeSize as aC, type BadgeVariant as aD, type BorderRadius as aE, type BorderRadiusConfig as aF, type BorderStyleProps as aG, type BorderWidth as aH, type BorderWidthConfig as aI, type Breakpoint as aJ, type ButtonBaseConfig as aK, type ButtonClassName as aL, type ButtonColorConfig as aM, type ButtonColorEffect as aN, type ButtonColorEffectConfig as aO, type ButtonKind as aP, type ButtonMotionEffect as aQ, type ButtonMotionProperty as aR, type ButtonMotionPropertyConfig as aS, type ButtonPalette as aT, type ButtonPaletteColor as aU, type ButtonPaletteConfig as aV, type ButtonShadowPropertyConfig as aW, type ButtonSize as aX, type ButtonSizeConfig as aY, type ButtonSizeProperty as aZ, type ButtonSpectrumColor as a_, XLARGE_SCALE_MODE_CLASSNAME as aa, XXLARGE_SCALE_MODE_CLASSNAME as ab, XXXLARGE_SCALE_MODE_CLASSNAME as ac, DEFAULT_COLOR_MODE_CLASSNAME as ad, DEFAULT_SCALE_MODE_CLASSNAME as ae, TEXT_RESPONSIVE_CLASSNAME as af, BUTTON_CSS_VAR_MAP as ag, ICON_BUTTON_CSS_VAR_MAP as ah, PSEUDO_STYLE_SELECTOR_MAP as ai, FONT_DECLARATIONS_MAP as aj, type FontAxisConfig as ak, type FontDeclarationConfig as al, type FontDeclarationMap as am, type FontWeightForFont as an, type AlwaysPalette as ao, type AlwaysPaletteAlias as ap, type AlwaysPaletteColor as aq, type Animation as ar, type AriaAttribute as as, type AvatarAbbreviationStrategy as at, type AvatarShape as au, type AvatarSize as av, type AvatarSizeConfig as aw, type AvatarVariant as ax, type BackgroundColor as ay, type BackgroundPalette as az, type UniversalSwitchProps as b, type MotionVariant as b$, type ButtonStateConfig as b0, type ButtonStateEffectConfig as b1, type ButtonVariant as b2, type ButtonVariantConfig as b3, type ButtonVariantFlat as b4, type CheckboxSize as b5, type CheckboxValue as b6, type CheckboxVariant as b7, type ChipSize as b8, type ChipVariant as b9, type FontWeightConfig as bA, type FontWeightDescriptive as bB, type FontWeightNumeric as bC, type FontWidthConfig as bD, type ForegroundColor as bE, type ForegroundPalette as bF, type ForegroundPaletteAlias as bG, type HighContrastMode as bH, type IconButtonClassName as bI, type IconButtonDefaultsConfig as bJ, type IconButtonSize as bK, type IconSizeConfig as bL, type IconSlotRenderProps as bM, type ImageStyleProps as bN, type InputSize as bO, type LayoutStyleProps as bP, type LetterSpacing as bQ, type LineClampAlias as bR, type LineColor as bS, type LineHeight as bT, type LineHeightConfig as bU, type LinePalette as bV, type LinePaletteAlias as bW, type Modes as bX, type MotionCssVar as bY, type MotionSpringConfig as bZ, type MotionSpringConfigOptions as b_, type ColorModeForApp as ba, type ConfigurableDropShadowValues as bb, type ConfigurableInsetShadowValues as bc, type CustomSizingStyleProps as bd, type DataAttribute as be, type Display as bf, type DividerVariant as bg, type Flex as bh, type FlexAlignContent as bi, type FlexAlignItems as bj, type FlexAlignSelf as bk, type FlexBasis as bl, type FlexDirection as bm, type FlexGrow as bn, type FlexJustifyContent as bo, type FlexShrink as bp, type FlexStyleProps as bq, type FlexWrap as br, type FontAlias as bs, type FontCssVar as bt, type FontFamilyCDNUrl as bu, type FontFamilyConfig as bv, type FontSize as bw, type FontSizeConfig as bx, type FontSlantConfig as by, type FontType as bz, type ShadowConfig as c, type UniversalChipButtonProps as c$, type MotionVariantSpeed as c0, type MotionVariantValues as c1, type Overflow as c2, type Palette as c3, type PaletteValue as c4, type Pixels as c5, type PlatformMode as c6, type Position as c7, type PropertyToPaletteAliasMap as c8, type RadioSize as c9, type StyleProps as cA, type SwitchSize as cB, type TextDecorationLine as cC, type TextProperty as cD, type TextStyleProps as cE, type TextTransform as cF, type TextTransformConfig as cG, type TextVariant as cH, type TransitionDelay as cI, type TransitionDuration as cJ, type TransitionTiming as cK, type TShirtSize as cL, type TShirtSizeCommon as cM, type TypographyResponsiveProperty as cN, type TypographyStyle as cO, type TypographyStyleProperty as cP, type TypographyUnitValue as cQ, type UdsCssVar as cR, type Unitless as cS, type UniversalAvatarIconProps as cT, type UniversalAvatarImageProps as cU, type UniversalAvatarProps as cV, type UniversalAvatarTextProps as cW, type UniversalBadgeProps as cX, type UniversalButtonProps as cY, type UniversalCheckboxProps as cZ, type UniversalChipBaseProps as c_, type RadioValue as ca, type RadioVariant as cb, type RegionMode as cc, type Rems as cd, type ScaleConfig as ce, type ScaleEffectMap as cf, type ScaleModeForApp as cg, type ShadowColor as ch, type ShadowColorConfig as ci, type ShadowOffset as cj, type ShadowOpacity as ck, type ShadowPalette as cl, type ShadowPaletteAlias as cm, type ShadowSpreadRadius as cn, type ShadowStyleProps as co, type ShadowTypeConfig as cp, type ShadowVariant as cq, type ShadowVariantConfig as cr, type ShadowVariantInvert as cs, type ShadowVariantWithInvert as ct, type SharedPaletteAlias as cu, type SpacingConfig as cv, type SpacingStyleProps as cw, type SpectrumColor as cx, type SpectrumConfig as cy, type StateStyleProps as cz, type BreakpointsConfig as d, type UniversalChipDismissibleProps as d0, type UniversalChipLinkProps as d1, type UniversalChipProps as d2, type UniversalChipToggleProps as d3, type UniversalIconButtonProps as d4, type UniversalIconProps as d5, type UniversalImageProps as d6, type UniversalRadioGroupProps as d7, type UniversalRadioProps as d8, type UniversalTokensConfigAuto as d9, defaultUniversalTokensConfigAuto as e, type UniversalTokensConfig as f, type ColorMode as g, type ColorsConfig as h, type HueStep as i, type PaletteConfig as j, type ScaleMode as k, type UniversalInputProps as l, type IconPropsWithSVGProps as m, type UniversalTextProps as n, type ShadowPreset as o, type UniversalStackProps as p, type UniversalDividerProps as q, type ButtonClassMap as r, type IconButtonClassMap as s, type ButtonColorProperty as t, type ButtonColorPropertyConfig as u, type SpacingAlias as v, type UniversalMenuItemProps as w, type FontID as x, type FontDeclarationItemConfig as y, type ShadowType as z };
|
package/package.json
CHANGED
@@ -1,17 +0,0 @@
|
|
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
|
-
}
|
@@ -1,54 +0,0 @@
|
|
1
|
-
import * as react from 'react';
|
2
|
-
import { InputHTMLAttributes } from 'react';
|
3
|
-
import { U as UniversalInputProps, I as IconPropsWithSVGProps } from './types-D0Rkj_1F.cjs';
|
4
|
-
import { HTMLMotionProps } from 'motion/react';
|
5
|
-
import { B as BoxProps } from './Box-BM08iUR2.cjs';
|
6
|
-
|
7
|
-
type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
|
8
|
-
type NativeInputProps = Omit<HtmlInputProps, 'height' | 'size' | 'width' | 'color' | 'required'>;
|
9
|
-
type DataAttributes = {
|
10
|
-
[name: `data-${string}`]: string;
|
11
|
-
};
|
12
|
-
interface InputProps extends NativeInputProps, UniversalInputProps {
|
13
|
-
/** The type of the input element. Reduced set of options from the HTML input type attribute.
|
14
|
-
* @default 'text'
|
15
|
-
*/
|
16
|
-
type?: Exclude<NativeInputProps['type'], 'button' | 'checkbox' | 'color' | 'file' | 'radio' | 'range' | 'reset' | 'submit' | 'search'>;
|
17
|
-
/** Props to be passed into various slots within the component. */
|
18
|
-
slotProps?: {
|
19
|
-
input?: Partial<InputHTMLAttributes<HTMLInputElement> & DataAttributes>;
|
20
|
-
inputWrapper?: Partial<BoxProps & DataAttributes>;
|
21
|
-
startIcon?: Partial<IconPropsWithSVGProps & DataAttributes>;
|
22
|
-
endIcon?: Partial<IconPropsWithSVGProps & DataAttributes>;
|
23
|
-
};
|
24
|
-
}
|
25
|
-
/**
|
26
|
-
* **📦 An input that allows users to enter text and collect data.**
|
27
|
-
*
|
28
|
-
* @componentType Client component
|
29
|
-
*
|
30
|
-
* @description
|
31
|
-
* An input field is a component that takes text typed into it. It can also serve as a way to display a selection and trigger a dropdown menu. Inputs are interactive elements that users can click, tap, or otherwise engage with to collect data and open dropdowns, or both.
|
32
|
-
*
|
33
|
-
* @see
|
34
|
-
* Check out the {@link https://uds.build/docs/components/input Input Docs} for more info
|
35
|
-
*
|
36
|
-
* @usage
|
37
|
-
* - Forms: For collecting data like names, emails, passwords, etc. (e.g., sign-up, login, or contact forms).
|
38
|
-
* - Search Bars: Allowing users to enter search queries to find content.
|
39
|
-
* - Filters/Settings: When users need to specify preferences, like selecting a date or adjusting a number value.
|
40
|
-
* - Feedback/Comments: Letting users leave reviews, comments, or feedback.
|
41
|
-
*
|
42
|
-
* @example
|
43
|
-
* ```tsx
|
44
|
-
* 'use client';
|
45
|
-
* import { Input } from "@yahoo/uds";
|
46
|
-
*
|
47
|
-
* <Input label="Name" placeholder="Enter your name" required />
|
48
|
-
*```
|
49
|
-
*
|
50
|
-
* @related [Checkbox](https://uds.build/docs/components/checkbox), [Radio](https://uds.build/docs/components/radio).
|
51
|
-
**/
|
52
|
-
declare const Input: react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
53
|
-
|
54
|
-
export { type InputProps as I, Input as a };
|
@@ -1,54 +0,0 @@
|
|
1
|
-
import * as react from 'react';
|
2
|
-
import { InputHTMLAttributes } from 'react';
|
3
|
-
import { U as UniversalInputProps, I as IconPropsWithSVGProps } from './types-BRmrSr-u.cjs';
|
4
|
-
import { HTMLMotionProps } from 'motion/react';
|
5
|
-
import { B as BoxProps } from './Box-DiAlMwFs.cjs';
|
6
|
-
|
7
|
-
type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
|
8
|
-
type NativeInputProps = Omit<HtmlInputProps, 'height' | 'size' | 'width' | 'color' | 'required'>;
|
9
|
-
type DataAttributes = {
|
10
|
-
[name: `data-${string}`]: string;
|
11
|
-
};
|
12
|
-
interface InputProps extends NativeInputProps, UniversalInputProps {
|
13
|
-
/** The type of the input element. Reduced set of options from the HTML input type attribute.
|
14
|
-
* @default 'text'
|
15
|
-
*/
|
16
|
-
type?: Exclude<NativeInputProps['type'], 'button' | 'checkbox' | 'color' | 'file' | 'radio' | 'range' | 'reset' | 'submit' | 'search'>;
|
17
|
-
/** Props to be passed into various slots within the component. */
|
18
|
-
slotProps?: {
|
19
|
-
input?: Partial<InputHTMLAttributes<HTMLInputElement> & DataAttributes>;
|
20
|
-
inputWrapper?: Partial<BoxProps & DataAttributes>;
|
21
|
-
startIcon?: Partial<IconPropsWithSVGProps & DataAttributes>;
|
22
|
-
endIcon?: Partial<IconPropsWithSVGProps & DataAttributes>;
|
23
|
-
};
|
24
|
-
}
|
25
|
-
/**
|
26
|
-
* **📦 An input that allows users to enter text and collect data.**
|
27
|
-
*
|
28
|
-
* @componentType Client component
|
29
|
-
*
|
30
|
-
* @description
|
31
|
-
* An input field is a component that takes text typed into it. It can also serve as a way to display a selection and trigger a dropdown menu. Inputs are interactive elements that users can click, tap, or otherwise engage with to collect data and open dropdowns, or both.
|
32
|
-
*
|
33
|
-
* @see
|
34
|
-
* Check out the {@link https://uds.build/docs/components/input Input Docs} for more info
|
35
|
-
*
|
36
|
-
* @usage
|
37
|
-
* - Forms: For collecting data like names, emails, passwords, etc. (e.g., sign-up, login, or contact forms).
|
38
|
-
* - Search Bars: Allowing users to enter search queries to find content.
|
39
|
-
* - Filters/Settings: When users need to specify preferences, like selecting a date or adjusting a number value.
|
40
|
-
* - Feedback/Comments: Letting users leave reviews, comments, or feedback.
|
41
|
-
*
|
42
|
-
* @example
|
43
|
-
* ```tsx
|
44
|
-
* 'use client';
|
45
|
-
* import { Input } from "@yahoo/uds";
|
46
|
-
*
|
47
|
-
* <Input label="Name" placeholder="Enter your name" required />
|
48
|
-
*```
|
49
|
-
*
|
50
|
-
* @related [Checkbox](https://uds.build/docs/components/checkbox), [Radio](https://uds.build/docs/components/radio).
|
51
|
-
**/
|
52
|
-
declare const Input: react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
53
|
-
|
54
|
-
export { type InputProps as I, Input as a };
|
package/dist/Input-CF4Kpe9f.d.ts
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
import * as react from 'react';
|
2
|
-
import { InputHTMLAttributes } from 'react';
|
3
|
-
import { U as UniversalInputProps, I as IconPropsWithSVGProps } from './types-D0Rkj_1F.js';
|
4
|
-
import { HTMLMotionProps } from 'motion/react';
|
5
|
-
import { B as BoxProps } from './Box-D2_1_jHu.js';
|
6
|
-
|
7
|
-
type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
|
8
|
-
type NativeInputProps = Omit<HtmlInputProps, 'height' | 'size' | 'width' | 'color' | 'required'>;
|
9
|
-
type DataAttributes = {
|
10
|
-
[name: `data-${string}`]: string;
|
11
|
-
};
|
12
|
-
interface InputProps extends NativeInputProps, UniversalInputProps {
|
13
|
-
/** The type of the input element. Reduced set of options from the HTML input type attribute.
|
14
|
-
* @default 'text'
|
15
|
-
*/
|
16
|
-
type?: Exclude<NativeInputProps['type'], 'button' | 'checkbox' | 'color' | 'file' | 'radio' | 'range' | 'reset' | 'submit' | 'search'>;
|
17
|
-
/** Props to be passed into various slots within the component. */
|
18
|
-
slotProps?: {
|
19
|
-
input?: Partial<InputHTMLAttributes<HTMLInputElement> & DataAttributes>;
|
20
|
-
inputWrapper?: Partial<BoxProps & DataAttributes>;
|
21
|
-
startIcon?: Partial<IconPropsWithSVGProps & DataAttributes>;
|
22
|
-
endIcon?: Partial<IconPropsWithSVGProps & DataAttributes>;
|
23
|
-
};
|
24
|
-
}
|
25
|
-
/**
|
26
|
-
* **📦 An input that allows users to enter text and collect data.**
|
27
|
-
*
|
28
|
-
* @componentType Client component
|
29
|
-
*
|
30
|
-
* @description
|
31
|
-
* An input field is a component that takes text typed into it. It can also serve as a way to display a selection and trigger a dropdown menu. Inputs are interactive elements that users can click, tap, or otherwise engage with to collect data and open dropdowns, or both.
|
32
|
-
*
|
33
|
-
* @see
|
34
|
-
* Check out the {@link https://uds.build/docs/components/input Input Docs} for more info
|
35
|
-
*
|
36
|
-
* @usage
|
37
|
-
* - Forms: For collecting data like names, emails, passwords, etc. (e.g., sign-up, login, or contact forms).
|
38
|
-
* - Search Bars: Allowing users to enter search queries to find content.
|
39
|
-
* - Filters/Settings: When users need to specify preferences, like selecting a date or adjusting a number value.
|
40
|
-
* - Feedback/Comments: Letting users leave reviews, comments, or feedback.
|
41
|
-
*
|
42
|
-
* @example
|
43
|
-
* ```tsx
|
44
|
-
* 'use client';
|
45
|
-
* import { Input } from "@yahoo/uds";
|
46
|
-
*
|
47
|
-
* <Input label="Name" placeholder="Enter your name" required />
|
48
|
-
*```
|
49
|
-
*
|
50
|
-
* @related [Checkbox](https://uds.build/docs/components/checkbox), [Radio](https://uds.build/docs/components/radio).
|
51
|
-
**/
|
52
|
-
declare const Input: react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
53
|
-
|
54
|
-
export { type InputProps as I, Input as a };
|
package/dist/Input-Drdk_VTx.d.ts
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
import * as react from 'react';
|
2
|
-
import { InputHTMLAttributes } from 'react';
|
3
|
-
import { U as UniversalInputProps, I as IconPropsWithSVGProps } from './types-BRmrSr-u.js';
|
4
|
-
import { HTMLMotionProps } from 'motion/react';
|
5
|
-
import { B as BoxProps } from './Box-B5-iomov.js';
|
6
|
-
|
7
|
-
type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
|
8
|
-
type NativeInputProps = Omit<HtmlInputProps, 'height' | 'size' | 'width' | 'color' | 'required'>;
|
9
|
-
type DataAttributes = {
|
10
|
-
[name: `data-${string}`]: string;
|
11
|
-
};
|
12
|
-
interface InputProps extends NativeInputProps, UniversalInputProps {
|
13
|
-
/** The type of the input element. Reduced set of options from the HTML input type attribute.
|
14
|
-
* @default 'text'
|
15
|
-
*/
|
16
|
-
type?: Exclude<NativeInputProps['type'], 'button' | 'checkbox' | 'color' | 'file' | 'radio' | 'range' | 'reset' | 'submit' | 'search'>;
|
17
|
-
/** Props to be passed into various slots within the component. */
|
18
|
-
slotProps?: {
|
19
|
-
input?: Partial<InputHTMLAttributes<HTMLInputElement> & DataAttributes>;
|
20
|
-
inputWrapper?: Partial<BoxProps & DataAttributes>;
|
21
|
-
startIcon?: Partial<IconPropsWithSVGProps & DataAttributes>;
|
22
|
-
endIcon?: Partial<IconPropsWithSVGProps & DataAttributes>;
|
23
|
-
};
|
24
|
-
}
|
25
|
-
/**
|
26
|
-
* **📦 An input that allows users to enter text and collect data.**
|
27
|
-
*
|
28
|
-
* @componentType Client component
|
29
|
-
*
|
30
|
-
* @description
|
31
|
-
* An input field is a component that takes text typed into it. It can also serve as a way to display a selection and trigger a dropdown menu. Inputs are interactive elements that users can click, tap, or otherwise engage with to collect data and open dropdowns, or both.
|
32
|
-
*
|
33
|
-
* @see
|
34
|
-
* Check out the {@link https://uds.build/docs/components/input Input Docs} for more info
|
35
|
-
*
|
36
|
-
* @usage
|
37
|
-
* - Forms: For collecting data like names, emails, passwords, etc. (e.g., sign-up, login, or contact forms).
|
38
|
-
* - Search Bars: Allowing users to enter search queries to find content.
|
39
|
-
* - Filters/Settings: When users need to specify preferences, like selecting a date or adjusting a number value.
|
40
|
-
* - Feedback/Comments: Letting users leave reviews, comments, or feedback.
|
41
|
-
*
|
42
|
-
* @example
|
43
|
-
* ```tsx
|
44
|
-
* 'use client';
|
45
|
-
* import { Input } from "@yahoo/uds";
|
46
|
-
*
|
47
|
-
* <Input label="Name" placeholder="Enter your name" required />
|
48
|
-
*```
|
49
|
-
*
|
50
|
-
* @related [Checkbox](https://uds.build/docs/components/checkbox), [Radio](https://uds.build/docs/components/radio).
|
51
|
-
**/
|
52
|
-
declare const Input: react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
53
|
-
|
54
|
-
export { type InputProps as I, Input as a };
|
package/dist/chunk-4GUXQTU3.cjs
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
"use strict";var o=require("./chunk-Y5HRSSOF.cjs"),r=require("./chunk-QLXJH36U.cjs"),e=require("@yahoo/uds/fixtures"),t=require("@yahoo/uds/flags"),n=require("clsx"),i=require("imurmurhash"),a=require("tailwind-merge"),s=require("react"),l=require("react/jsx-runtime");function d(o){return o&&o.__esModule?o:{default:o}}var c=d(n),f=d(i);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
-
function p(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function u(o){const r=Object.create(null),e=Object.keys(o);for(let t=0,n=e.length;t<n;t++){const n=e[t];void 0!==o[n]&&(r[n]=o[n])}return r}var b=a.extendTailwindMerge({extend:{theme:{borderColor:e.lineColors,borderWidth:e.borderWidths,borderRadius:e.borderRadii}},override:{classGroups:{"text-color":[{text:[...e.foregroundColors,...e.spectrumColors]}],"bg-color":[{bg:e.backgroundColors}],"font-family":[{font:["icons",...e.textVariants]}],leading:[{leading:e.textVariants}]},conflictingClassGroups:{}}}),h=(...o)=>{const r=c.default(o);return b(r)},m=o=>r=>{if(!o?.variants)return h(o?.base,r?.className);const{variants:e,defaultVariants:t}=o,n=Object.keys(e).map(o=>{const n=r?.[o],i=t?.[o],a=p(n)||p(i);return e[o][a]}),i={...t,...r&&u(r)},a=o?.compoundVariants?.reduce((o,{className:r,...e})=>Object.entries(e).every(([o,r])=>i[o]===r)?h(o,r):o,"");return h(o?.base,n,a,r?.className)},g=m({variants:o.variants}),x=new Map,S=o=>{const{useGetStylesCache:r}=t.getFeatureFlags();if(r){const r=function(o){const r=Object.create(null),e=Object.keys(o).sort();for(let t=0,n=e.length;t<n;t++){const n=e[t];r[n]=o[n]}return r}(u(o)),e=(new f.default).hash(JSON.stringify(r)).result();if(x.has(e))return x.get(e);const t=g(r);return x.set(e,t),t}return g(o)};function C(...o){return r=>o.forEach(o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r))}function w(){const o=s.forwardRef((o,e)=>{const{children:n,...i}=o,a=s.Children.toArray(n),d=a.find(t);if(d){const o=d.props.children,t=a.map(r=>r===d?s.Children.count(o)>1?s.Children.only(null):s.isValidElement(o)?o.props.children:null:r);return l.jsx(r,{...i,ref:e,children:s.isValidElement(o)?s.cloneElement(o,void 0,t):null})}return l.jsx(r,{...i,ref:e,children:n})});o.displayName="Slot";const r=s.forwardRef((o,r)=>{const{children:e,...t}=o;return s.isValidElement(e)?s.cloneElement(e,{...n(t,e.props),ref:r?C(r,e.ref):e.ref}):s.Children.count(e)>1?s.Children.only(null):null});r.displayName="SlotClone";const e=({children:o})=>o;function t(o){return s.isValidElement(o)&&o.type===e}function n(o,r){const e={...r};for(const t in r){const n=o[t],i=r[t];/^on[A-Z]/.test(t)?n&&i?e[t]=(...o)=>{i(...o),n(...o)}:n&&(e[t]=n):"style"===t&&(e[t]={...n,...i})}return{...o,...e}}return o}var y=w(),v=s.forwardRef(function({asChild:o,as:r="div",className:e,backgroundColor:t,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:d,borderColor:c,borderStartColor:f,borderEndColor:p,borderTopColor:u,borderBottomColor:b,borderWidth:h,borderVerticalWidth:m,borderHorizontalWidth:g,borderStartWidth:x,borderEndWidth:C,borderTopWidth:w,borderBottomWidth:v,alignContent:E,alignItems:W,alignSelf:B,flex:T,flexDirection:R,flexGrow:N,flexShrink:V,flexWrap:j,justifyContent:z,flexBasis:H,display:G="flex",overflow:k,overflowX:q,overflowY:I,position:O,spacing:F,spacingHorizontal:_,spacingVertical:X,spacingBottom:Y,spacingEnd:A,spacingStart:D,spacingTop:M,offset:$,offsetVertical:J,offsetHorizontal:L,offsetBottom:P,offsetEnd:Q,offsetStart:U,offsetTop:Z,columnGap:K,rowGap:oo,width:ro,height:eo,dropShadow:to,insetShadow:no,...io},ao){const so=S({backgroundColor:t,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:d,borderColor:c,borderStartColor:f,borderEndColor:p,borderTopColor:u,borderBottomColor:b,borderWidth:h,borderVerticalWidth:m,borderHorizontalWidth:g,borderStartWidth:x,borderEndWidth:C,borderTopWidth:w,borderBottomWidth:v,alignContent:E,alignItems:W,alignSelf:B,flex:T,flexDirection:R,flexGrow:N,flexShrink:V,flexWrap:j,justifyContent:z,flexBasis:H,display:G,overflow:k,overflowX:q,overflowY:I,position:O,spacing:F,spacingHorizontal:_,spacingVertical:X,spacingBottom:Y,spacingEnd:A,spacingStart:D,spacingTop:M,offset:$,offsetVertical:J,offsetHorizontal:L,offsetBottom:P,offsetEnd:Q,offsetStart:U,offsetTop:Z,columnGap:K,rowGap:oo,width:ro,height:eo,dropShadow:to,insetShadow:no,className:e}),lo=o?y:r;return l.jsx(lo,{className:so,ref:ao,...io})});v.displayName="Box";var E=w(),W={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",label3:"p",label4:"p",caption1:"p",caption2:"p",legal1:"p",ui1:"span",ui2:"span",ui3:"span",ui4:"span",ui5:"span",ui6:"span",inherit:"p"},B=s.forwardRef(function({className:o,asChild:r,color:e="primary",variant:t="body1",as:n=W[t],fontFamily:i,fontSize:a,fontWeight:s,lineHeight:d,textTransform:c,textAlign:f,backgroundColor:p,borderRadius:u,borderTopStartRadius:b,borderTopEndRadius:h,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:x,borderStartColor:C,borderEndColor:w,borderTopColor:y,borderBottomColor:v,borderWidth:B,borderVerticalWidth:T,borderHorizontalWidth:R,borderStartWidth:N,borderEndWidth:V,borderTopWidth:j,borderBottomWidth:z,alignContent:H,alignItems:G,alignSelf:k,flex:q,flexDirection:I,flexGrow:O,flexShrink:F,flexWrap:_,justifyContent:X,flexBasis:Y,display:A,overflow:D,overflowX:M,overflowY:$,position:J,spacing:L,spacingHorizontal:P,spacingVertical:Q,spacingBottom:U,spacingEnd:Z,spacingStart:K,spacingTop:oo,offset:ro,offsetVertical:eo,offsetHorizontal:to,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:co,...fo},po){const uo={...e&&"inherit"!==e?{color:e}:{},...t&&"inherit"!==t?{fontFamily:i??t,fontSize:a??t,fontWeight:s??t,lineHeight:d??t,textTransform:c??t}:{},textAlign:f},bo=S({className:o,...uo,backgroundColor:p,borderRadius:u,borderTopStartRadius:b,borderTopEndRadius:h,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:x,borderStartColor:C,borderEndColor:w,borderTopColor:y,borderBottomColor:v,borderWidth:B,borderVerticalWidth:T,borderHorizontalWidth:R,borderStartWidth:N,borderEndWidth:V,borderTopWidth:j,borderBottomWidth:z,alignContent:H,alignItems:G,alignSelf:k,flex:q,flexDirection:I,flexGrow:O,flexShrink:F,flexWrap:_,justifyContent:X,flexBasis:Y,display:A,overflow:D,overflowX:M,overflowY:$,position:J,spacing:L,spacingHorizontal:P,spacingVertical:Q,spacingBottom:U,spacingEnd:Z,spacingStart:K,spacingTop:oo,offset:ro,offsetVertical:eo,offsetHorizontal:to,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:co}),ho=r?E:n;return l.jsx(ho,{className:bo,ref:po,...fo})});B.displayName="Text";var T={xs:12,sm:16,md:24,lg:32},R=s.forwardRef(function({name:o,size:r="md",variant:e="outline",color:t="primary",className:n,...i},a){const s=o.metadata?.variants??[],d=s.includes(e)?e:s[0]??"fill",c="multicolor"===d,f=S({flex:"none",color:c?void 0:t,className:h(n,!c&&"[&_path]:fill-current")}),p=T[r];return l.jsx("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:p,height:p,viewBox:`0 0 ${p} ${p}`,"aria-hidden":"true",focusable:"false",className:f,...i,children:l.jsx(o,{size:r,variant:d})})});R.displayName="Icon";var N=r.__toESM(o.require_isFunction(),1),V=s.memo(function({icon:o,iconProps:r,className:e,...t}){if(!o)return null;const{className:n,...i}=r||{},a=h(e,n),d=o;if(d.metadata?.isSvgIcon)return l.jsx(R,{name:d,...i,...t,className:a});if((0,N.default)(o)){const e=o(r||{}),n=e?.props.className;return s.isValidElement(e)&&s.cloneElement(e,{...t,className:h(a,n)})}return s.isValidElement(o)&&s.cloneElement(o,{...i,...o.props,...t,className:h(a,o.props.className)})});V.displayName="IconSlot",
|
3
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Box=v,exports.Icon=R,exports.IconSlot=V,exports.Text=B,exports.createSlot=w,exports.cva=m,exports.cx=h,exports.getStyles=S;
|
package/dist/chunk-JM4WTJDB.cjs
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
"use strict";var o=require("./chunk-GJLQAO4M.cjs"),r=require("./chunk-QLXJH36U.cjs"),e=require("@yahoo/uds/fixtures"),t=require("@yahoo/uds/flags"),n=require("clsx"),i=require("imurmurhash"),a=require("tailwind-merge"),s=require("react"),l=require("react/jsx-runtime");function d(o){return o&&o.__esModule?o:{default:o}}var c=d(n),f=d(i);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
-
function p(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function u(o){const r=Object.create(null),e=Object.keys(o);for(let t=0,n=e.length;t<n;t++){const n=e[t];void 0!==o[n]&&(r[n]=o[n])}return r}var b=a.extendTailwindMerge({extend:{theme:{borderColor:e.lineColors,borderWidth:e.borderWidths,borderRadius:e.borderRadii}},override:{classGroups:{"text-color":[{text:[...e.foregroundColors,...e.spectrumColors]}],"bg-color":[{bg:e.backgroundColors}],"font-family":[{font:["icons",...e.textVariants]}],leading:[{leading:e.textVariants}]},conflictingClassGroups:{}}}),h=(...o)=>{const r=c.default(o);return b(r)},m=o=>r=>{if(!o?.variants)return h(o?.base,r?.className);const{variants:e,defaultVariants:t}=o,n=Object.keys(e).map(o=>{const n=r?.[o],i=t?.[o],a=p(n)||p(i);return e[o][a]}),i={...t,...r&&u(r)},a=o?.compoundVariants?.reduce((o,{className:r,...e})=>Object.entries(e).every(([o,r])=>i[o]===r)?h(o,r):o,"");return h(o?.base,n,a,r?.className)},g=m({variants:o.variants}),x=new Map,S=o=>{const{useGetStylesCache:r}=t.getFeatureFlags();if(r){const r=function(o){const r=Object.create(null),e=Object.keys(o).sort();for(let t=0,n=e.length;t<n;t++){const n=e[t];r[n]=o[n]}return r}(u(o)),e=(new f.default).hash(JSON.stringify(r)).result();if(x.has(e))return x.get(e);const t=g(r);return x.set(e,t),t}return g(o)};function C(...o){return r=>o.forEach(o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r))}function w(){const o=s.forwardRef((o,e)=>{const{children:n,...i}=o,a=s.Children.toArray(n),d=a.find(t);if(d){const o=d.props.children,t=a.map(r=>r===d?s.Children.count(o)>1?s.Children.only(null):s.isValidElement(o)?o.props.children:null:r);return l.jsx(r,{...i,ref:e,children:s.isValidElement(o)?s.cloneElement(o,void 0,t):null})}return l.jsx(r,{...i,ref:e,children:n})});o.displayName="Slot";const r=s.forwardRef((o,r)=>{const{children:e,...t}=o;return s.isValidElement(e)?s.cloneElement(e,{...n(t,e.props),ref:r?C(r,e.ref):e.ref}):s.Children.count(e)>1?s.Children.only(null):null});r.displayName="SlotClone";const e=({children:o})=>o;function t(o){return s.isValidElement(o)&&o.type===e}function n(o,r){const e={...r};for(const t in r){const n=o[t],i=r[t];/^on[A-Z]/.test(t)?n&&i?e[t]=(...o)=>{i(...o),n(...o)}:n&&(e[t]=n):"style"===t&&(e[t]={...n,...i})}return{...o,...e}}return o}var y=w(),v=s.forwardRef(function({asChild:o,as:r="div",className:e,backgroundColor:t,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:d,borderColor:c,borderStartColor:f,borderEndColor:p,borderTopColor:u,borderBottomColor:b,borderWidth:h,borderVerticalWidth:m,borderHorizontalWidth:g,borderStartWidth:x,borderEndWidth:C,borderTopWidth:w,borderBottomWidth:v,alignContent:E,alignItems:W,alignSelf:B,flex:T,flexDirection:R,flexGrow:N,flexShrink:V,flexWrap:j,justifyContent:z,flexBasis:G,display:H="flex",overflow:k,overflowX:q,overflowY:I,position:O,spacing:_,spacingHorizontal:A,spacingVertical:F,spacingBottom:M,spacingEnd:X,spacingStart:D,spacingTop:Y,offset:J,offsetVertical:$,offsetHorizontal:L,offsetBottom:Q,offsetEnd:P,offsetStart:U,offsetTop:Z,columnGap:K,rowGap:oo,width:ro,height:eo,dropShadow:to,insetShadow:no,...io},ao){const so=S({backgroundColor:t,borderRadius:n,borderTopStartRadius:i,borderTopEndRadius:a,borderBottomStartRadius:s,borderBottomEndRadius:d,borderColor:c,borderStartColor:f,borderEndColor:p,borderTopColor:u,borderBottomColor:b,borderWidth:h,borderVerticalWidth:m,borderHorizontalWidth:g,borderStartWidth:x,borderEndWidth:C,borderTopWidth:w,borderBottomWidth:v,alignContent:E,alignItems:W,alignSelf:B,flex:T,flexDirection:R,flexGrow:N,flexShrink:V,flexWrap:j,justifyContent:z,flexBasis:G,display:H,overflow:k,overflowX:q,overflowY:I,position:O,spacing:_,spacingHorizontal:A,spacingVertical:F,spacingBottom:M,spacingEnd:X,spacingStart:D,spacingTop:Y,offset:J,offsetVertical:$,offsetHorizontal:L,offsetBottom:Q,offsetEnd:P,offsetStart:U,offsetTop:Z,columnGap:K,rowGap:oo,width:ro,height:eo,dropShadow:to,insetShadow:no,className:e}),lo=o?y:r;return l.jsx(lo,{className:so,ref:ao,...io})});v.displayName="Box";var E=w(),W={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",label3:"p",label4:"p",caption1:"p",caption2:"p",legal1:"p",ui1:"span",ui2:"span",ui3:"span",ui4:"span",ui5:"span",ui6:"span",inherit:"p"},B=s.forwardRef(function({className:o,asChild:r,color:e="primary",variant:t="body1",as:n=W[t],fontFamily:i,fontSize:a,fontWeight:s,lineHeight:d,textTransform:c,textAlign:f,backgroundColor:p,borderRadius:u,borderTopStartRadius:b,borderTopEndRadius:h,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:x,borderStartColor:C,borderEndColor:w,borderTopColor:y,borderBottomColor:v,borderWidth:B,borderVerticalWidth:T,borderHorizontalWidth:R,borderStartWidth:N,borderEndWidth:V,borderTopWidth:j,borderBottomWidth:z,alignContent:G,alignItems:H,alignSelf:k,flex:q,flexDirection:I,flexGrow:O,flexShrink:_,flexWrap:A,justifyContent:F,flexBasis:M,display:X,overflow:D,overflowX:Y,overflowY:J,position:$,spacing:L,spacingHorizontal:Q,spacingVertical:P,spacingBottom:U,spacingEnd:Z,spacingStart:K,spacingTop:oo,offset:ro,offsetVertical:eo,offsetHorizontal:to,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:co,...fo},po){const uo={...e&&"inherit"!==e?{color:e}:{},...t&&"inherit"!==t?{fontFamily:i??t,fontSize:a??t,fontWeight:s??t,lineHeight:d??t,textTransform:c??t}:{},textAlign:f},bo=S({className:o,...uo,backgroundColor:p,borderRadius:u,borderTopStartRadius:b,borderTopEndRadius:h,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:x,borderStartColor:C,borderEndColor:w,borderTopColor:y,borderBottomColor:v,borderWidth:B,borderVerticalWidth:T,borderHorizontalWidth:R,borderStartWidth:N,borderEndWidth:V,borderTopWidth:j,borderBottomWidth:z,alignContent:G,alignItems:H,alignSelf:k,flex:q,flexDirection:I,flexGrow:O,flexShrink:_,flexWrap:A,justifyContent:F,flexBasis:M,display:X,overflow:D,overflowX:Y,overflowY:J,position:$,spacing:L,spacingHorizontal:Q,spacingVertical:P,spacingBottom:U,spacingEnd:Z,spacingStart:K,spacingTop:oo,offset:ro,offsetVertical:eo,offsetHorizontal:to,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:so,columnGap:lo,rowGap:co}),ho=r?E:n;return l.jsx(ho,{className:bo,ref:po,...fo})});B.displayName="Text";var T={xs:12,sm:16,md:24,lg:32},R=s.forwardRef(function({name:o,size:r="md",variant:e="outline",color:t="primary",className:n,...i},a){const s=o.metadata?.variants??[],d=s.includes(e)?e:s[0]??"fill",c="multicolor"===d,f=S({flex:"none",color:c?void 0:t,className:h(n,!c&&"[&_path]:fill-current")}),p=T[r];return l.jsx("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:p,height:p,viewBox:`0 0 ${p} ${p}`,"aria-hidden":"true",focusable:"false",className:f,...i,children:l.jsx(o,{size:r,variant:d})})});R.displayName="Icon";var N=r.__toESM(o.require_isFunction(),1),V=s.memo(function({icon:o,iconProps:r,className:e,...t}){if(!o)return null;const{className:n,...i}=r||{},a=h(e,n),d=o;if(d.metadata?.isSvgIcon)return l.jsx(R,{name:d,...i,...t,className:a});if((0,N.default)(o)){const e=o(r||{}),n=e?.props.className;return s.isValidElement(e)&&s.cloneElement(e,{...t,className:h(a,n)})}return s.isValidElement(o)&&s.cloneElement(o,{...i,...o.props,...t,className:h(a,o.props.className)})});V.displayName="IconSlot",
|
3
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Box=v,exports.Icon=R,exports.IconSlot=V,exports.Text=B,exports.createSlot=w,exports.cva=m,exports.cx=h,exports.getStyles=S;
|