@yahoo/uds 3.15.1 → 3.16.0-beta.2
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/FlattenButtonVariant.mock.tsx +17 -0
- package/cli/bin/uds-darwin-arm64-baseline +0 -0
- package/cli/bin/uds-linux-arm64 +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/dist/{Box-CcXdv2Rw.d.cts → Box-D40ThLwg.d.cts} +37 -1
- package/dist/{Box-CcXdv2Rw.d.ts → Box-D40ThLwg.d.ts} +37 -1
- package/dist/{Input-9mqqHyM_.d.ts → Input-BMRGSU5y.d.ts} +1 -1
- package/dist/{Input-CqWvnTE2.d.ts → Input-Bodf4GHN.d.ts} +1 -1
- package/dist/{Input-CsnKIM7r.d.cts → Input-CMSWyzqv.d.cts} +1 -1
- package/dist/{Input-zEU4biDe.d.cts → Input-Dy8st3t9.d.cts} +1 -1
- package/dist/{Pressable-DG4fPi9g.d.cts → Pressable-6OGAsf5K.d.cts} +1 -1
- package/dist/{Pressable-DJiKOTnV.d.cts → Pressable-BWXRpiJE.d.cts} +1 -1
- package/dist/{Pressable-Ujv71dpY.d.ts → Pressable-Bu5pYD6Z.d.ts} +1 -1
- package/dist/{Pressable-pKA6lolm.d.ts → Pressable-CIIFtTng.d.ts} +1 -1
- package/dist/SpringMotionConfig-CDjfwVEF.d.cts +45 -0
- package/dist/SpringMotionConfig-CGcal4P2.d.cts +45 -0
- package/dist/SpringMotionConfig-DVN_tZUq.d.ts +45 -0
- package/dist/SpringMotionConfig-G-5m8zYg.d.ts +45 -0
- package/dist/{VStack-CL70cH04.d.ts → VStack-BD2tZc5A.d.ts} +1 -1
- package/dist/{VStack-C-52-Shi.d.cts → VStack-BeVwzpH2.d.cts} +1 -1
- package/dist/{VStack-PqVPCp0y.d.ts → VStack-QdWDAiK_.d.ts} +1 -1
- package/dist/{VStack-P1-kL67Z.d.cts → VStack-neVNcyVv.d.cts} +1 -1
- package/dist/chunk-24HEQ4PT.js +1 -0
- package/dist/chunk-2ZZHX2EJ.cjs +1 -0
- package/dist/chunk-35PHZJZG.cjs +1 -0
- package/dist/chunk-3T5IX3JE.cjs +1 -0
- package/dist/chunk-4OQKZKM5.js +1 -0
- package/dist/chunk-6ZCIS462.cjs +2 -0
- package/dist/chunk-72JXN7EE.js +1 -0
- package/dist/chunk-A3B3VYP6.cjs +1 -0
- package/dist/chunk-A4MU7ARJ.cjs +1 -0
- package/dist/chunk-AIZ2OTKW.cjs +2 -0
- package/dist/chunk-EF6FLPTH.cjs +1 -0
- package/dist/chunk-FOQRYH73.js +1 -0
- package/dist/chunk-GP7XCURZ.js +1 -0
- package/dist/chunk-HN3QQ5PU.js +2 -0
- package/dist/chunk-HUFHYJ5T.cjs +1 -0
- package/dist/chunk-HYCGETLK.js +2 -0
- package/dist/chunk-LUIZSLSJ.cjs +1 -0
- package/dist/chunk-MWF3T6YY.cjs +3 -0
- package/dist/chunk-OGIKGD5Z.js +2 -0
- package/dist/chunk-OJB3FVN6.js +3 -0
- package/dist/chunk-ON6FCSMM.js +1 -0
- package/dist/chunk-PN3UA6WB.cjs +1 -0
- package/dist/chunk-Q3GQNZOI.js +1 -0
- package/dist/chunk-QFJTN7H3.js +2 -0
- package/dist/chunk-SQCEFYU5.cjs +3 -0
- package/dist/chunk-TPSHAL7U.js +3 -0
- package/dist/chunk-XMZZKQMQ.js +1 -0
- package/dist/chunk-XVD3PMQ7.cjs +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 +6 -38
- package/dist/client/index.d.ts +6 -38
- package/dist/client/index.js +1 -1
- package/dist/domMax-OBCHPQP3.js +1 -0
- package/dist/domMax-ZTC57OAI.cjs +1 -0
- package/dist/experimental/client/SwitchV2.cjs +2 -0
- package/dist/experimental/client/SwitchV2.d.cts +44 -0
- package/dist/experimental/client/SwitchV2.d.ts +44 -0
- package/dist/experimental/client/SwitchV2.js +2 -0
- package/dist/experimental/client/index.cjs +2 -2
- package/dist/experimental/client/index.d.cts +39 -2
- package/dist/experimental/client/index.d.ts +39 -2
- package/dist/experimental/client/index.js +2 -2
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.d.cts +2 -2
- package/dist/experimental/index.d.ts +2 -2
- package/dist/experimental/index.js +1 -1
- package/dist/{index-DuXo_Lq2.d.cts → index-B3nKT69I.d.cts} +1 -1
- package/dist/{index-Dffuri1m.d.cts → index-B7kmT6BF.d.cts} +1 -1
- package/dist/{index-ChofTMM1.d.ts → index-Cp0yW36O.d.ts} +1 -1
- package/dist/{index-CAFGK7nu.d.ts → index-Dv3eaEEg.d.ts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- 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-CN9tOfEO.d.cts → types-BPg1GqRW.d.cts} +1 -1
- package/dist/{types-CN9tOfEO.d.ts → types-BPg1GqRW.d.ts} +1 -1
- package/dist/{types-kxTkQgcG.d.cts → types-DYEQXQnF.d.cts} +1 -1
- package/dist/{types-kxTkQgcG.d.ts → types-DYEQXQnF.d.ts} +1 -1
- package/package.json +12 -2
- package/dist/chunk-2M47C3AI.cjs +0 -2
- package/dist/chunk-37LEXEW4.js +0 -3
- package/dist/chunk-5ZMNC32B.js +0 -1
- package/dist/chunk-6BNYCBB5.cjs +0 -1
- package/dist/chunk-JFLE7LSO.cjs +0 -3
- package/dist/chunk-M5SXYW4O.js +0 -1
- package/dist/chunk-OMJ3BDEX.cjs +0 -1
- package/dist/chunk-PFR7GTUT.cjs +0 -2
- package/dist/chunk-RDF2NPZV.cjs +0 -1
- package/dist/chunk-RR45EHLK.js +0 -3
- package/dist/chunk-SEY2DW3I.js +0 -3
- package/dist/chunk-TJZ4HVAG.cjs +0 -3
- package/dist/chunk-V6XWDWEY.js +0 -3
- package/dist/chunk-W4KK6R6C.js +0 -1
- package/dist/chunk-YR633T75.cjs +0 -1
- package/dist/chunk-YVEYAMML.js +0 -1
- /package/dist/{motionFeatures-6LIGGXPL.cjs → domAnimation-ESPUKI4G.cjs} +0 -0
- /package/dist/{motionFeatures-SJISLQ4M.js → domAnimation-MWKTMI4P.js} +0 -0
@@ -10462,4 +10462,4 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
|
|
10462
10462
|
disabled?: boolean;
|
10463
10463
|
}
|
10464
10464
|
|
10465
|
-
export {
|
10465
|
+
export { LIGHT_COLOR_MODE_CLASSNAME as $, type UniversalTextProps as A, type ButtonConfig as B, type ColorMode as C, alwaysPalette as D, defaultUniversalTokensConfigAuto as E, type FontID as F, UDS_PREFIX as G, type Hue as H, type IconButtonClassMap as I, AVATAR_SIZE_PREFIX as J, BORDER_RADIUS_PREFIX as K, BORDER_WIDTH_PREFIX as L, type MotionVariant as M, FONT_FAMILY_PREFIX as N, FONT_SIZE_PREFIX as O, type PaletteType as P, FONT_WEIGHT_PREFIX as Q, FONT_SLANT_PREFIX as R, type ScaleMode as S, FONT_WIDTH_PREFIX as T, type UniversalInputProps as U, ICON_SIZE_PREFIX as V, LINE_HEIGHT_PREFIX as W, MOTION_PREFIX as X, SPECTRUM_COLOR_PREFIX as Y, TEXT_TRANSFORM_PREFIX as Z, DARK_COLOR_MODE_CLASSNAME as _, type UniversalPressableProps as a, type ButtonVariantFlat as a$, XSMALL_SCALE_MODE_CLASSNAME as a0, SMALL_SCALE_MODE_CLASSNAME as a1, MEDIUM_SCALE_MODE_CLASSNAME as a2, LARGE_SCALE_MODE_CLASSNAME as a3, XLARGE_SCALE_MODE_CLASSNAME as a4, XXLARGE_SCALE_MODE_CLASSNAME as a5, XXXLARGE_SCALE_MODE_CLASSNAME as a6, DEFAULT_COLOR_MODE_CLASSNAME as a7, DEFAULT_SCALE_MODE_CLASSNAME as a8, TEXT_RESPONSIVE_CLASSNAME as a9, type BorderStyleProps as aA, type BorderWidth as aB, type BorderWidthConfig as aC, type Breakpoint as aD, type BreakpointsConfig as aE, type ButtonBaseConfig as aF, type ButtonClassName as aG, type ButtonColorConfig as aH, type ButtonColorEffect as aI, type ButtonColorEffectConfig as aJ, type ButtonKind as aK, type ButtonMotionEffect as aL, type ButtonMotionProperty as aM, type ButtonMotionPropertyConfig as aN, type ButtonPalette as aO, type ButtonPaletteColor as aP, type ButtonPaletteConfig as aQ, type ButtonShadowPropertyConfig as aR, type ButtonSize as aS, type ButtonSizeConfig as aT, type ButtonSizeProperty as aU, type ButtonSpectrumColor as aV, type ButtonState as aW, type ButtonStateConfig as aX, type ButtonStateEffectConfig as aY, type ButtonVariant as aZ, type ButtonVariantConfig 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 UniversalSwitchProps as b, type Pixels as b$, type CheckboxSize as b0, type CheckboxValue as b1, type CheckboxVariant as b2, type ChipSize as b3, type ChipVariant as b4, type ColorModeConfig as b5, type ColorModeForApp as b6, type ConfigurableDropShadowValues as b7, type ConfigurableInsetShadowValues as b8, type CustomSizingStyleProps as b9, type ForegroundColor as bA, type ForegroundPalette as bB, type ForegroundPaletteAlias as bC, type GlobalDefaultsConfig as bD, type HighContrastMode as bE, type IconButtonClassName as bF, type IconButtonConfig as bG, type IconButtonDefaultsConfig as bH, type IconButtonSize as bI, type IconSizeConfig as bJ, type ImageStyleProps as bK, type InputSize as bL, type LayoutStyleProps as bM, type LetterSpacing as bN, type LineClampAlias as bO, type LineColor as bP, type LineHeight as bQ, type LineHeightConfig as bR, type LinePalette as bS, type LinePaletteAlias as bT, type Modes as bU, type MotionCssVar as bV, type MotionSpringConfig as bW, type MotionVariantValues as bX, type Overflow as bY, type Palette as bZ, type PaletteValue as b_, type DataAttribute as ba, type Display as bb, type DividerVariant as bc, type Flex as bd, type FlexAlignContent as be, type FlexAlignItems as bf, type FlexAlignSelf as bg, type FlexBasis as bh, type FlexDirection as bi, type FlexGrow as bj, type FlexJustifyContent as bk, type FlexShrink as bl, type FlexStyleProps as bm, type FlexWrap as bn, type FontAlias as bo, type FontCssVar as bp, type FontFamilyCDNUrl as bq, type FontFamilyConfig as br, type FontSize as bs, type FontSizeConfig as bt, type FontSlantConfig as bu, type FontType as bv, type FontWeightConfig as bw, type FontWeightDescriptive as bx, type FontWeightNumeric as by, type FontWidthConfig as bz, type MotionVariantSpeed as c, type UniversalChipProps as c$, type PlatformMode as c0, type Position as c1, type PropertyToPaletteAliasMap as c2, type RadioSize as c3, type RadioValue as c4, type RadioVariant as c5, type RegionMode as c6, type Rems as c7, type ScaleConfig as c8, type ScaleEffectMap as c9, type TextStyleProps as cA, type TextTransform as cB, type TextTransformConfig as cC, type TextVariant as cD, type TransitionDelay as cE, type TransitionDuration as cF, type TransitionTiming as cG, type TShirtSize as cH, type TShirtSizeCommon as cI, type TypographyConfig as cJ, type TypographyResponsiveProperty as cK, type TypographyStyle as cL, type TypographyStyleProperty as cM, type TypographyUnitValue as cN, type UdsCssVar as cO, type Unitless as cP, type UniversalAvatarIconProps as cQ, type UniversalAvatarImageProps as cR, type UniversalAvatarProps as cS, type UniversalAvatarTextProps as cT, type UniversalBadgeProps as cU, type UniversalButtonProps as cV, type UniversalCheckboxProps as cW, type UniversalChipBaseProps as cX, type UniversalChipButtonProps as cY, type UniversalChipDismissibleProps as cZ, type UniversalChipLinkProps as c_, type ScaleModeConfig as ca, type ScaleModeForApp as cb, type ShadowColor as cc, type ShadowColorConfig as cd, type ShadowConfig as ce, type ShadowOffset as cf, type ShadowOpacity as cg, type ShadowPalette as ch, type ShadowPaletteAlias as ci, type ShadowSpreadRadius as cj, type ShadowStyleProps as ck, type ShadowTypeConfig as cl, type ShadowVariant as cm, type ShadowVariantConfig as cn, type ShadowVariantInvert as co, type ShadowVariantWithInvert as cp, type SharedPaletteAlias as cq, type SpacingConfig as cr, type SpacingStyleProps as cs, type SpectrumColor as ct, type SpectrumConfig as cu, type StateStyleProps as cv, type StyleProps as cw, type SwitchSize as cx, type TextDecorationLine as cy, type TextProperty as cz, type UniversalTokensConfig as d, type UniversalChipToggleProps as d0, type UniversalIconButtonProps as d1, type UniversalIconProps as d2, type UniversalImageProps as d3, type UniversalRadioGroupProps as d4, type UniversalRadioProps as d5, type UniversalTokensConfigAuto as d6, type ColorsConfig as e, type HueStep as f, type PaletteConfig as g, type ShadowPreset as h, type UniversalBoxProps as i, type UniversalStackProps as j, type UniversalDividerProps as k, type ButtonClassMap as l, type ButtonColorProperty as m, type ButtonColorPropertyConfig as n, type SpacingAlias as o, type UniversalMenuItemProps as p, type FontDeclarationItemConfig as q, type FontConfig as r, type MotionSpringConfigOptions as s, type MotionConfig as t, type ShadowType as u, type UniversalFormLabelProps as v, type IconPropsWithSVGProps as w, type ImagePropsWithImgProps as x, type UniversalIconSlot as y, type UniversalLinkProps as z };
|
@@ -10462,4 +10462,4 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
|
|
10462
10462
|
disabled?: boolean;
|
10463
10463
|
}
|
10464
10464
|
|
10465
|
-
export {
|
10465
|
+
export { LIGHT_COLOR_MODE_CLASSNAME as $, type UniversalTextProps as A, type ButtonConfig as B, type ColorMode as C, alwaysPalette as D, defaultUniversalTokensConfigAuto as E, type FontID as F, UDS_PREFIX as G, type Hue as H, type IconButtonClassMap as I, AVATAR_SIZE_PREFIX as J, BORDER_RADIUS_PREFIX as K, BORDER_WIDTH_PREFIX as L, type MotionVariant as M, FONT_FAMILY_PREFIX as N, FONT_SIZE_PREFIX as O, type PaletteType as P, FONT_WEIGHT_PREFIX as Q, FONT_SLANT_PREFIX as R, type ScaleMode as S, FONT_WIDTH_PREFIX as T, type UniversalInputProps as U, ICON_SIZE_PREFIX as V, LINE_HEIGHT_PREFIX as W, MOTION_PREFIX as X, SPECTRUM_COLOR_PREFIX as Y, TEXT_TRANSFORM_PREFIX as Z, DARK_COLOR_MODE_CLASSNAME as _, type UniversalPressableProps as a, type ButtonVariantFlat as a$, XSMALL_SCALE_MODE_CLASSNAME as a0, SMALL_SCALE_MODE_CLASSNAME as a1, MEDIUM_SCALE_MODE_CLASSNAME as a2, LARGE_SCALE_MODE_CLASSNAME as a3, XLARGE_SCALE_MODE_CLASSNAME as a4, XXLARGE_SCALE_MODE_CLASSNAME as a5, XXXLARGE_SCALE_MODE_CLASSNAME as a6, DEFAULT_COLOR_MODE_CLASSNAME as a7, DEFAULT_SCALE_MODE_CLASSNAME as a8, TEXT_RESPONSIVE_CLASSNAME as a9, type BorderStyleProps as aA, type BorderWidth as aB, type BorderWidthConfig as aC, type Breakpoint as aD, type BreakpointsConfig as aE, type ButtonBaseConfig as aF, type ButtonClassName as aG, type ButtonColorConfig as aH, type ButtonColorEffect as aI, type ButtonColorEffectConfig as aJ, type ButtonKind as aK, type ButtonMotionEffect as aL, type ButtonMotionProperty as aM, type ButtonMotionPropertyConfig as aN, type ButtonPalette as aO, type ButtonPaletteColor as aP, type ButtonPaletteConfig as aQ, type ButtonShadowPropertyConfig as aR, type ButtonSize as aS, type ButtonSizeConfig as aT, type ButtonSizeProperty as aU, type ButtonSpectrumColor as aV, type ButtonState as aW, type ButtonStateConfig as aX, type ButtonStateEffectConfig as aY, type ButtonVariant as aZ, type ButtonVariantConfig 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 UniversalSwitchProps as b, type Pixels as b$, type CheckboxSize as b0, type CheckboxValue as b1, type CheckboxVariant as b2, type ChipSize as b3, type ChipVariant as b4, type ColorModeConfig as b5, type ColorModeForApp as b6, type ConfigurableDropShadowValues as b7, type ConfigurableInsetShadowValues as b8, type CustomSizingStyleProps as b9, type ForegroundColor as bA, type ForegroundPalette as bB, type ForegroundPaletteAlias as bC, type GlobalDefaultsConfig as bD, type HighContrastMode as bE, type IconButtonClassName as bF, type IconButtonConfig as bG, type IconButtonDefaultsConfig as bH, type IconButtonSize as bI, type IconSizeConfig as bJ, type ImageStyleProps as bK, type InputSize as bL, type LayoutStyleProps as bM, type LetterSpacing as bN, type LineClampAlias as bO, type LineColor as bP, type LineHeight as bQ, type LineHeightConfig as bR, type LinePalette as bS, type LinePaletteAlias as bT, type Modes as bU, type MotionCssVar as bV, type MotionSpringConfig as bW, type MotionVariantValues as bX, type Overflow as bY, type Palette as bZ, type PaletteValue as b_, type DataAttribute as ba, type Display as bb, type DividerVariant as bc, type Flex as bd, type FlexAlignContent as be, type FlexAlignItems as bf, type FlexAlignSelf as bg, type FlexBasis as bh, type FlexDirection as bi, type FlexGrow as bj, type FlexJustifyContent as bk, type FlexShrink as bl, type FlexStyleProps as bm, type FlexWrap as bn, type FontAlias as bo, type FontCssVar as bp, type FontFamilyCDNUrl as bq, type FontFamilyConfig as br, type FontSize as bs, type FontSizeConfig as bt, type FontSlantConfig as bu, type FontType as bv, type FontWeightConfig as bw, type FontWeightDescriptive as bx, type FontWeightNumeric as by, type FontWidthConfig as bz, type MotionVariantSpeed as c, type UniversalChipProps as c$, type PlatformMode as c0, type Position as c1, type PropertyToPaletteAliasMap as c2, type RadioSize as c3, type RadioValue as c4, type RadioVariant as c5, type RegionMode as c6, type Rems as c7, type ScaleConfig as c8, type ScaleEffectMap as c9, type TextStyleProps as cA, type TextTransform as cB, type TextTransformConfig as cC, type TextVariant as cD, type TransitionDelay as cE, type TransitionDuration as cF, type TransitionTiming as cG, type TShirtSize as cH, type TShirtSizeCommon as cI, type TypographyConfig as cJ, type TypographyResponsiveProperty as cK, type TypographyStyle as cL, type TypographyStyleProperty as cM, type TypographyUnitValue as cN, type UdsCssVar as cO, type Unitless as cP, type UniversalAvatarIconProps as cQ, type UniversalAvatarImageProps as cR, type UniversalAvatarProps as cS, type UniversalAvatarTextProps as cT, type UniversalBadgeProps as cU, type UniversalButtonProps as cV, type UniversalCheckboxProps as cW, type UniversalChipBaseProps as cX, type UniversalChipButtonProps as cY, type UniversalChipDismissibleProps as cZ, type UniversalChipLinkProps as c_, type ScaleModeConfig as ca, type ScaleModeForApp as cb, type ShadowColor as cc, type ShadowColorConfig as cd, type ShadowConfig as ce, type ShadowOffset as cf, type ShadowOpacity as cg, type ShadowPalette as ch, type ShadowPaletteAlias as ci, type ShadowSpreadRadius as cj, type ShadowStyleProps as ck, type ShadowTypeConfig as cl, type ShadowVariant as cm, type ShadowVariantConfig as cn, type ShadowVariantInvert as co, type ShadowVariantWithInvert as cp, type SharedPaletteAlias as cq, type SpacingConfig as cr, type SpacingStyleProps as cs, type SpectrumColor as ct, type SpectrumConfig as cu, type StateStyleProps as cv, type StyleProps as cw, type SwitchSize as cx, type TextDecorationLine as cy, type TextProperty as cz, type UniversalTokensConfig as d, type UniversalChipToggleProps as d0, type UniversalIconButtonProps as d1, type UniversalIconProps as d2, type UniversalImageProps as d3, type UniversalRadioGroupProps as d4, type UniversalRadioProps as d5, type UniversalTokensConfigAuto as d6, type ColorsConfig as e, type HueStep as f, type PaletteConfig as g, type ShadowPreset as h, type UniversalBoxProps as i, type UniversalStackProps as j, type UniversalDividerProps as k, type ButtonClassMap as l, type ButtonColorProperty as m, type ButtonColorPropertyConfig as n, type SpacingAlias as o, type UniversalMenuItemProps as p, type FontDeclarationItemConfig as q, type FontConfig as r, type MotionSpringConfigOptions as s, type MotionConfig as t, type ShadowType as u, type UniversalFormLabelProps as v, type IconPropsWithSVGProps as w, type ImagePropsWithImgProps as x, type UniversalIconSlot as y, type UniversalLinkProps as z };
|
@@ -10462,4 +10462,4 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
|
|
10462
10462
|
disabled?: boolean;
|
10463
10463
|
}
|
10464
10464
|
|
10465
|
-
export {
|
10465
|
+
export { LIGHT_COLOR_MODE_CLASSNAME as $, type UniversalTextProps as A, type ButtonConfig as B, type ColorMode as C, alwaysPalette as D, defaultUniversalTokensConfigAuto as E, type FontID as F, UDS_PREFIX as G, type Hue as H, type IconButtonClassMap as I, AVATAR_SIZE_PREFIX as J, BORDER_RADIUS_PREFIX as K, BORDER_WIDTH_PREFIX as L, type MotionVariant as M, FONT_FAMILY_PREFIX as N, FONT_SIZE_PREFIX as O, type PaletteType as P, FONT_WEIGHT_PREFIX as Q, FONT_SLANT_PREFIX as R, type ScaleMode as S, FONT_WIDTH_PREFIX as T, type UniversalInputProps as U, ICON_SIZE_PREFIX as V, LINE_HEIGHT_PREFIX as W, MOTION_PREFIX as X, SPECTRUM_COLOR_PREFIX as Y, TEXT_TRANSFORM_PREFIX as Z, DARK_COLOR_MODE_CLASSNAME as _, type UniversalPressableProps as a, type ButtonVariantFlat as a$, XSMALL_SCALE_MODE_CLASSNAME as a0, SMALL_SCALE_MODE_CLASSNAME as a1, MEDIUM_SCALE_MODE_CLASSNAME as a2, LARGE_SCALE_MODE_CLASSNAME as a3, XLARGE_SCALE_MODE_CLASSNAME as a4, XXLARGE_SCALE_MODE_CLASSNAME as a5, XXXLARGE_SCALE_MODE_CLASSNAME as a6, DEFAULT_COLOR_MODE_CLASSNAME as a7, DEFAULT_SCALE_MODE_CLASSNAME as a8, TEXT_RESPONSIVE_CLASSNAME as a9, type BorderStyleProps as aA, type BorderWidth as aB, type BorderWidthConfig as aC, type Breakpoint as aD, type BreakpointsConfig as aE, type ButtonBaseConfig as aF, type ButtonClassName as aG, type ButtonColorConfig as aH, type ButtonColorEffect as aI, type ButtonColorEffectConfig as aJ, type ButtonKind as aK, type ButtonMotionEffect as aL, type ButtonMotionProperty as aM, type ButtonMotionPropertyConfig as aN, type ButtonPalette as aO, type ButtonPaletteColor as aP, type ButtonPaletteConfig as aQ, type ButtonShadowPropertyConfig as aR, type ButtonSize as aS, type ButtonSizeConfig as aT, type ButtonSizeProperty as aU, type ButtonSpectrumColor as aV, type ButtonState as aW, type ButtonStateConfig as aX, type ButtonStateEffectConfig as aY, type ButtonVariant as aZ, type ButtonVariantConfig 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 UniversalSwitchProps as b, type Pixels as b$, type CheckboxSize as b0, type CheckboxValue as b1, type CheckboxVariant as b2, type ChipSize as b3, type ChipVariant as b4, type ColorModeConfig as b5, type ColorModeForApp as b6, type ConfigurableDropShadowValues as b7, type ConfigurableInsetShadowValues as b8, type CustomSizingStyleProps as b9, type ForegroundColor as bA, type ForegroundPalette as bB, type ForegroundPaletteAlias as bC, type GlobalDefaultsConfig as bD, type HighContrastMode as bE, type IconButtonClassName as bF, type IconButtonConfig as bG, type IconButtonDefaultsConfig as bH, type IconButtonSize as bI, type IconSizeConfig as bJ, type ImageStyleProps as bK, type InputSize as bL, type LayoutStyleProps as bM, type LetterSpacing as bN, type LineClampAlias as bO, type LineColor as bP, type LineHeight as bQ, type LineHeightConfig as bR, type LinePalette as bS, type LinePaletteAlias as bT, type Modes as bU, type MotionCssVar as bV, type MotionSpringConfig as bW, type MotionVariantValues as bX, type Overflow as bY, type Palette as bZ, type PaletteValue as b_, type DataAttribute as ba, type Display as bb, type DividerVariant as bc, type Flex as bd, type FlexAlignContent as be, type FlexAlignItems as bf, type FlexAlignSelf as bg, type FlexBasis as bh, type FlexDirection as bi, type FlexGrow as bj, type FlexJustifyContent as bk, type FlexShrink as bl, type FlexStyleProps as bm, type FlexWrap as bn, type FontAlias as bo, type FontCssVar as bp, type FontFamilyCDNUrl as bq, type FontFamilyConfig as br, type FontSize as bs, type FontSizeConfig as bt, type FontSlantConfig as bu, type FontType as bv, type FontWeightConfig as bw, type FontWeightDescriptive as bx, type FontWeightNumeric as by, type FontWidthConfig as bz, type MotionVariantSpeed as c, type UniversalChipProps as c$, type PlatformMode as c0, type Position as c1, type PropertyToPaletteAliasMap as c2, type RadioSize as c3, type RadioValue as c4, type RadioVariant as c5, type RegionMode as c6, type Rems as c7, type ScaleConfig as c8, type ScaleEffectMap as c9, type TextStyleProps as cA, type TextTransform as cB, type TextTransformConfig as cC, type TextVariant as cD, type TransitionDelay as cE, type TransitionDuration as cF, type TransitionTiming as cG, type TShirtSize as cH, type TShirtSizeCommon as cI, type TypographyConfig as cJ, type TypographyResponsiveProperty as cK, type TypographyStyle as cL, type TypographyStyleProperty as cM, type TypographyUnitValue as cN, type UdsCssVar as cO, type Unitless as cP, type UniversalAvatarIconProps as cQ, type UniversalAvatarImageProps as cR, type UniversalAvatarProps as cS, type UniversalAvatarTextProps as cT, type UniversalBadgeProps as cU, type UniversalButtonProps as cV, type UniversalCheckboxProps as cW, type UniversalChipBaseProps as cX, type UniversalChipButtonProps as cY, type UniversalChipDismissibleProps as cZ, type UniversalChipLinkProps as c_, type ScaleModeConfig as ca, type ScaleModeForApp as cb, type ShadowColor as cc, type ShadowColorConfig as cd, type ShadowConfig as ce, type ShadowOffset as cf, type ShadowOpacity as cg, type ShadowPalette as ch, type ShadowPaletteAlias as ci, type ShadowSpreadRadius as cj, type ShadowStyleProps as ck, type ShadowTypeConfig as cl, type ShadowVariant as cm, type ShadowVariantConfig as cn, type ShadowVariantInvert as co, type ShadowVariantWithInvert as cp, type SharedPaletteAlias as cq, type SpacingConfig as cr, type SpacingStyleProps as cs, type SpectrumColor as ct, type SpectrumConfig as cu, type StateStyleProps as cv, type StyleProps as cw, type SwitchSize as cx, type TextDecorationLine as cy, type TextProperty as cz, type UniversalTokensConfig as d, type UniversalChipToggleProps as d0, type UniversalIconButtonProps as d1, type UniversalIconProps as d2, type UniversalImageProps as d3, type UniversalRadioGroupProps as d4, type UniversalRadioProps as d5, type UniversalTokensConfigAuto as d6, type ColorsConfig as e, type HueStep as f, type PaletteConfig as g, type ShadowPreset as h, type UniversalBoxProps as i, type UniversalStackProps as j, type UniversalDividerProps as k, type ButtonClassMap as l, type ButtonColorProperty as m, type ButtonColorPropertyConfig as n, type SpacingAlias as o, type UniversalMenuItemProps as p, type FontDeclarationItemConfig as q, type FontConfig as r, type MotionSpringConfigOptions as s, type MotionConfig as t, type ShadowType as u, type UniversalFormLabelProps as v, type IconPropsWithSVGProps as w, type ImagePropsWithImgProps as x, type UniversalIconSlot as y, type UniversalLinkProps 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": "3.
|
4
|
+
"version": "3.16.0-beta.2",
|
5
5
|
"type": "module",
|
6
6
|
"bin": {
|
7
7
|
"uds": "./cli/uds-cli"
|
@@ -85,6 +85,16 @@
|
|
85
85
|
"default": "./dist/experimental/client/index.cjs"
|
86
86
|
}
|
87
87
|
},
|
88
|
+
"./experimental/client/SwitchV2": {
|
89
|
+
"import": {
|
90
|
+
"types": "./dist/experimental/client/SwitchV2.d.ts",
|
91
|
+
"default": "./dist/experimental/client/SwitchV2.js"
|
92
|
+
},
|
93
|
+
"require": {
|
94
|
+
"types": "./dist/experimental/client/SwitchV2.d.cts",
|
95
|
+
"default": "./dist/experimental/client/SwitchV2.cjs"
|
96
|
+
}
|
97
|
+
},
|
88
98
|
"./fixtures": {
|
89
99
|
"import": {
|
90
100
|
"types": "./dist/fixtures.d.ts",
|
@@ -148,7 +158,7 @@
|
|
148
158
|
}
|
149
159
|
},
|
150
160
|
"scripts": {
|
151
|
-
"build": "bun run ./scripts/build.ts",
|
161
|
+
"build": "NODE_OPTIONS=\"--max-old-space-size=8192\" bun run ./scripts/build.ts",
|
152
162
|
"build:cli": "bun ./cli/compile.ts",
|
153
163
|
"build:config:auto": "bun ./scripts/automation/generateUniversalTokensConfigsAuto.ts && bun ./scripts/automation/generateAutoVariants.ts && bun ./scripts/automation/generateConfigs.ts",
|
154
164
|
"ci:publish": "bun semantic-release -e semantic-release-monorepo",
|
package/dist/chunk-2M47C3AI.cjs
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";var r=require("./chunk-TJZ4HVAG.cjs"),e=require("./chunk-Q6L5YDK4.cjs"),t=require("motion/react"),n=require("react"),a=require("react/jsx-runtime"),s={damped:{1:{damping:20.585796264350424,stiffness:62.37968115365702},2:{damping:29.312551281312288,stiffness:126.47801753759964},3:{damping:48.92799401356162,stiffness:352.3892336537332},4:{damping:123.42690994256348,stiffness:2242.474548821137}},smooth:{1:{damping:16.46863701148034,stiffness:67.80400125397502},2:{damping:23.45004102504983,stiffness:137.47610601913004},3:{damping:39.1423952108493,stiffness:383.03177571057955},4:{damping:98.7415279540508,stiffness:2437.4723356751488}},subtle:{1:{damping:13.04316051309243,stiffness:67.80400125397502},2:{damping:18.572432491839468,stiffness:137.47610601913004},3:{damping:31.000777006992646,stiffness:383.03177571057955},4:{damping:78.20329013960823,stiffness:2437.4723356751488}},bouncy:{1:{damping:9.229712940600143,stiffness:48.880672622541795},2:{damping:12.634144343496553,stiffness:91.59092691366399},3:{damping:19.40217701790486,stiffness:216.00395877230474},4:{damping:37.541723184430275,stiffness:808.7032559422912}},veryBouncy:{1:{damping:6.902290754946187,stiffness:38.92152745126911},2:{damping:9.155550514215523,stiffness:68.48134828711234},3:{damping:13.244464908166709,stiffness:143.30858570843873},4:{damping:22.17862652876726,stiffness:401.85804919502965}}},l=()=>import("./motionFeatures-6LIGGXPL.cjs").then((({domAnimation:r})=>r));/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var o=r.createSlot(),i=n.forwardRef((function({className:e,asChild:t,onPress:n,onClick:s=n,backgroundColor:l,borderRadius:i,borderTopStartRadius:c,borderTopEndRadius:d,borderBottomStartRadius:h,borderBottomEndRadius:m,borderColor:f,borderStartColor:u,borderEndColor:g,borderTopColor:x,borderBottomColor:p,borderWidth:j,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:V,alignContent:b,alignItems:H,alignSelf:S,flex:L,flexDirection:w,flexGrow:y,flexShrink:A,flexWrap:B,justifyContent:W,flexBasis:P,display:E,overflow:T,overflowX:_,overflowY:R,position:k,spacing:G,spacingHorizontal:I,spacingVertical:N,spacingBottom:q,spacingEnd:D,spacingStart:X,spacingTop:Y,offset:J,offsetVertical:K,offsetHorizontal:Q,offsetBottom:Z,offsetEnd:O,offsetStart:U,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:nr,...ar},sr){const lr=r.getStyles({backgroundColor:l,borderRadius:i,borderTopStartRadius:c,borderTopEndRadius:d,borderBottomStartRadius:h,borderBottomEndRadius:m,borderColor:f,borderStartColor:u,borderEndColor:g,borderTopColor:x,borderBottomColor:p,borderWidth:j,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:V,alignContent:b,alignItems:H,alignSelf:S,flex:L,flexDirection:w,flexGrow:y,flexShrink:A,flexWrap:B,justifyContent:W,flexBasis:P,display:E,overflow:T,overflowX:_,overflowY:R,position:k,spacing:G,spacingHorizontal:I,spacingVertical:N,spacingBottom:q,spacingEnd:D,spacingStart:X,spacingTop:Y,offset:J,offsetVertical:K,offsetHorizontal:Q,offsetBottom:Z,offsetEnd:O,offsetStart:U,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:nr,className:e}),or=t?o:"button";return a.jsx(or,{className:lr,ref:sr,onClick:s,...ar})})),c=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsxs("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[a.jsx("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),a.jsx("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:a.jsx("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return a.jsx(a.Fragment,{})};c.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var d=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return a.jsx(a.Fragment,{})};d.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var h=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return a.jsx(a.Fragment,{})};h.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var m=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return a.jsx(a.Fragment,{})};m.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var f=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return a.jsx(a.Fragment,{})};f.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var u=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:a.jsx("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:a.jsx("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return a.jsx(a.Fragment,{})};u.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]},
|
2
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Pressable=i,exports.SpringMotionConfig=function({reducedMotion:r="user",children:o,layoutVariant:i="subtle",layoutSpeed:c="3",colorVariant:d="smooth",colorSpeed:h="3"}){const m=s[i][c],f=s[d][h],[u,g]=n.useState(m),[x,p]=n.useState(f),j={variant:d,speed:h},v=e.getMotionVar({...j,control:"stiffness"}),z=e.getMotionVar({...j,control:"damping"}),C={variant:i,speed:c},M=e.getMotionVar({...C,control:"stiffness"}),F=e.getMotionVar({...C,control:"damping"});n.useEffect((()=>{const r=getComputedStyle(document.documentElement),e={damping:Number(r.getPropertyValue(F)),stiffness:Number(r.getPropertyValue(M))},t={damping:Number(r.getPropertyValue(z)),stiffness:Number(r.getPropertyValue(v))};g(e),p(t)}),[z,v,F,M]);const V=n.useMemo((()=>({type:"spring",mass:1,...u,layout:u,opacity:x,color:x,borderColor:x,backgroundColor:x})),[x,u]);return a.jsx(t.LazyMotion,{features:l,strict:!0,children:a.jsx(t.MotionConfig,{transition:V,reducedMotion:r,children:o})})},exports.a=h,exports.e=d,exports.e2=f,exports.o=m,exports.o2=u,exports.t=c;
|
package/dist/chunk-37LEXEW4.js
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
import{variants as o}from"./chunk-NYAQO47N.js";import{textVariants as r,backgroundColors as t,foregroundColors as e,spectrumColors as n,borderRadii as i,borderWidths as a,lineColors as l}from"@yahoo/uds/fixtures";import{getFeatureFlags as s}from"@yahoo/uds/flags";import d from"clsx";import f from"imurmurhash";import{extendTailwindMerge as c}from"tailwind-merge";import{forwardRef as p,memo as u,isValidElement as m,cloneElement as b,Children as h}from"react";import{jsx as g}from"react/jsx-runtime";import{isFunction as S}from"lodash-es";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
-
function x(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function y(o){const r=Object.create(null),t=Object.keys(o);for(let e=0,n=t.length;e<n;e++){const n=t[e];void 0!==o[n]&&(r[n]=o[n])}return r}var w=c({extend:{theme:{borderColor:l,borderWidth:a,borderRadius:i}},override:{classGroups:{"text-color":[{text:[...e,...n]}],"bg-color":[{bg:t}],"font-family":[{font:["icons",...r]}],leading:[{leading:r}]},conflictingClassGroups:{}}}),C=(...o)=>{const r=d(o);return w(r)},v=o=>r=>{if(!o?.variants)return C(o?.base,r?.className);const{variants:t,defaultVariants:e}=o,n=Object.keys(t).map((o=>{const n=r?.[o],i=e?.[o],a=x(n)||x(i);return t[o][a]})),i={...e,...r&&y(r)},a=o?.compoundVariants?.reduce(((o,{className:r,...t})=>Object.entries(t).every((([o,r])=>i[o]===r))?C(o,r):o),"");return C(o?.base,n,a,r?.className)},W=v({variants:o}),B=new Map,T=o=>{const{useGetStylesCache:r}=s();if(r){const r=function(o){const r=Object.create(null),t=Object.keys(o).sort();for(let e=0,n=t.length;e<n;e++){const n=t[e];r[n]=o[n]}return r}(y(o)),t=(new f).hash(JSON.stringify(r)).result();if(B.has(t))return B.get(t);const e=W(r);return B.set(t,e),e}return W(o)};function E(...o){return r=>o.forEach((o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r)))}function N(){const o=p(((o,t)=>{const{children:n,...i}=o,a=h.toArray(n),l=a.find(e);if(l){const o=l.props.children,e=a.map((r=>r===l?h.count(o)>1?h.only(null):m(o)?o.props.children:null:r));return g(r,{...i,ref:t,children:m(o)?b(o,void 0,e):null})}return g(r,{...i,ref:t,children:n})}));o.displayName="Slot";const r=p(((o,r)=>{const{children:t,...e}=o;return m(t)?b(t,{...n(e,t.props),ref:r?E(r,t.ref):t.ref}):h.count(t)>1?h.only(null):null}));r.displayName="SlotClone";const t=({children:o})=>o;function e(o){return m(o)&&o.type===t}function n(o,r){const t={...r};for(const e in r){const n=o[e],i=r[e];/^on[A-Z]/.test(e)?n&&i?t[e]=(...o)=>{i(...o),n(...o)}:n&&(t[e]=n):"style"===e&&(t[e]={...n,...i})}return{...o,...t}}return o}var R=N(),G=p((function({asChild:o,className:r,backgroundColor:t,borderRadius:e,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:a,borderBottomEndRadius:l,borderColor:s,borderStartColor:d,borderEndColor:f,borderTopColor:c,borderBottomColor:p,borderWidth:u,borderVerticalWidth:m,borderHorizontalWidth:b,borderStartWidth:h,borderEndWidth:S,borderTopWidth:x,borderBottomWidth:y,alignContent:w,alignItems:C,alignSelf:v,flex:W,flexDirection:B,flexGrow:E,flexShrink:N,flexWrap:G,justifyContent:k,flexBasis:z,display:H="flex",overflow:V,overflowX:j,overflowY:O,position:A,spacing:D,spacingHorizontal:I,spacingVertical:Y,spacingBottom:X,spacingEnd:$,spacingStart:F,spacingTop:M,offset:J,offsetVertical:P,offsetHorizontal:Q,offsetBottom:Z,offsetEnd:_,offsetStart:q,offsetTop:K,columnGap:L,rowGap:U,width:oo,height:ro,dropShadow:to,insetShadow:eo,...no},io){const ao=T({backgroundColor:t,borderRadius:e,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:a,borderBottomEndRadius:l,borderColor:s,borderStartColor:d,borderEndColor:f,borderTopColor:c,borderBottomColor:p,borderWidth:u,borderVerticalWidth:m,borderHorizontalWidth:b,borderStartWidth:h,borderEndWidth:S,borderTopWidth:x,borderBottomWidth:y,alignContent:w,alignItems:C,alignSelf:v,flex:W,flexDirection:B,flexGrow:E,flexShrink:N,flexWrap:G,justifyContent:k,flexBasis:z,display:H,overflow:V,overflowX:j,overflowY:O,position:A,spacing:D,spacingHorizontal:I,spacingVertical:Y,spacingBottom:X,spacingEnd:$,spacingStart:F,spacingTop:M,offset:J,offsetVertical:P,offsetHorizontal:Q,offsetBottom:Z,offsetEnd:_,offsetStart:q,offsetTop:K,columnGap:L,rowGap:U,width:oo,height:ro,dropShadow:to,insetShadow:eo,className:r});return g(o?R:"div",{className:ao,ref:io,...no})}));G.displayName="Box";var k=(o,r)=>((o,r)=>{const t=S(r)?r:()=>r;return o.flatMap(((o,r)=>0!==r?[t(r),o]:[o]))})(h.toArray(o),(o=>{const t=S(r)?r(o):r;return m(t)?b(t,{...t.props,key:t.key??`interspersed-${o}`}):null})),z=p((function({gap:o,children:r,separator:t,...e},n){return g(G,{ref:n,flexDirection:"row",rowGap:o,columnGap:o,...e,children:t?k(r,t):r})}));z.displayName="HStack";var H=N(),V={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",inherit:"p"},j=p((function({className:o,asChild:r,color:t="primary",variant:e="body1",as:n=V[e],fontFamily:i,fontSize:a,fontWeight:l,lineHeight:s,textTransform:d,textAlign:f,backgroundColor:c,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:h,borderColor:S,borderStartColor:x,borderEndColor:y,borderTopColor:w,borderBottomColor:C,borderWidth:v,borderVerticalWidth:W,borderHorizontalWidth:B,borderStartWidth:E,borderEndWidth:N,borderTopWidth:R,borderBottomWidth:G,alignContent:k,alignItems:z,alignSelf:j,flex:O,flexDirection:A,flexGrow:D,flexShrink:I,flexWrap:Y,justifyContent:X,flexBasis:$,display:F,overflow:M,overflowX:J,overflowY:P,position:Q,spacing:Z,spacingHorizontal:_,spacingVertical:q,spacingBottom:K,spacingEnd:L,spacingStart:U,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:lo,columnGap:so,rowGap:fo,...co},po){const uo={...t&&"inherit"!==t?{color:t}:{},...e&&"inherit"!==e?{fontFamily:i??e,fontSize:a??e,fontWeight:l??e,lineHeight:s??e,textTransform:d??e}:{},textAlign:f},mo=T({className:o,...uo,backgroundColor:c,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:h,borderColor:S,borderStartColor:x,borderEndColor:y,borderTopColor:w,borderBottomColor:C,borderWidth:v,borderVerticalWidth:W,borderHorizontalWidth:B,borderStartWidth:E,borderEndWidth:N,borderTopWidth:R,borderBottomWidth:G,alignContent:k,alignItems:z,alignSelf:j,flex:O,flexDirection:A,flexGrow:D,flexShrink:I,flexWrap:Y,justifyContent:X,flexBasis:$,display:F,overflow:M,overflowX:J,overflowY:P,position:Q,spacing:Z,spacingHorizontal:_,spacingVertical:q,spacingBottom:K,spacingEnd:L,spacingStart:U,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:lo,columnGap:so,rowGap:fo});return g(r?H:n,{className:mo,ref:po,...co})}));j.displayName="Text";var O=p((function({gap:o,children:r,separator:t,...e},n){return g(G,{ref:n,flexDirection:"column",columnGap:o,rowGap:o,...e,children:t?k(r,t):r})}));O.displayName="VStack";var A={xs:12,sm:16,md:24,lg:32},D=p((function({name:o,size:r="md",variant:t="outline",color:e="primary",className:n,...i},a){const l=o.metadata?.variants??[],s=l.includes(t)?t:l[0]??"fill",d="multicolor"===s,f=T({flex:"none",color:d?void 0:e,className:C(n,!d&&"[&_path]:fill-current")}),c=A[r];return g("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",focusable:"false",className:f,...i,children:g(o,{size:r,variant:s})})}));D.displayName="Icon";var I=u((function({icon:o,iconProps:r,...t}){if(!o)return null;const e=r??{},n=o;if(n.metadata?.isSvgIcon)return g(D,{name:n,...e,...t});if(S(o)){const r=o(e);return m(r)&&b(r,t)}return m(o)&&b(o,{...e,...o.props,...t})}));
|
3
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{G as Box,z as HStack,D as Icon,I as IconSlot,j as Text,O as VStack,N as createSlot,v as cva,C as cx,T as getStyles};
|
package/dist/chunk-5ZMNC32B.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import{cx as e,VStack as r,HStack as t,Box as i,Text as o,getStyles as a}from"./chunk-RR45EHLK.js";import{forwardRef as l,useMemo as n}from"react";import{jsxs as d,jsx as s}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var c={horizontal:"w-full",vertical:""},h=l((function({vertical:a=!1,contentPosition:l="center",className:h,layerClassNames:m,children:f,...v},x){const N=a?"vertical":"horizontal",b=a?r:t,p=n((()=>({root:e(c[N],h,m?.root),label:e(m?.text),line:m?.line})),[h,N,m?.root,m?.text,m?.line]),y=n((()=>"vertical"===N?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0}),[N]),u=()=>s(i,{flex:"1",className:p.line,style:y});return f?d(b,{flex:"1",alignItems:"center",className:p.root,ref:x,...v,children:["start"!==l&&s(u,{}),s(i,{flex:"none",children:s(o,{color:"inherit",variant:"inherit",className:p.label,children:f})}),"end"!==l&&s(u,{})]}):s(i,{display:"flex",flex:"none",className:p.root,ref:x,...v,children:s(u,{})})}));h.displayName="DividerCore";var m=l((function({variant:r="primary",layerClassNames:t,...i},o){const l=n((()=>({root:e("inherit"!==r&&a({dividerVariantRoot:r}),t?.root),text:e("inherit"!==r?a({dividerVariantLabel:r}):void 0,t?.text),line:e("inherit"!==r&&a({dividerVariantLine:r}),t?.line)})),[t?.line,t?.root,t?.text,r]);return s(h,{ref:o,layerClassNames:l,...i})}));m.displayName="DividerInternal";export{m as DividerInternal};
|
package/dist/chunk-6BNYCBB5.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var r=require("./chunk-TJZ4HVAG.cjs"),o=require("lodash-es"),e=require("react/jsx-runtime");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var t=require("react").memo((function({startIcon:o,endIcon:t,iconProps:i,children:a,size:n,isFilled:l,...s}){const d={helperText:r.cx(r.getStyles({inputSizeHelperText:n,inputVariantHelperText:"default",inputVariantValueHelperText:l?"filled":"empty"})),helperIcon:r.getStyles({inputSizeHelperIcon:n,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:l?"filled":"empty"})},c={variant:"outline",...i};return e.jsxs(r.HStack,{gap:"1",alignItems:"center",...s,children:[o&&e.jsx(r.IconSlot,{icon:o,...c,iconProps:i,className:d.helperIcon}),e.jsx("span",{className:d.helperText,children:a}),t&&e.jsx(r.IconSlot,{icon:t,...c,iconProps:i,className:d.helperIcon})]})}));exports.FormLabel=({htmlFor:t,required:i,label:a,children:n,color:l="muted",variant:s="label3",hasError:d=!1,showRequiredAsterisk:c=!1,as:p="label",className:f,...u})=>{const h=a?o.isFunction(a)?a():a:n;return h?e.jsxs(r.Text,{variant:s,color:l,as:p,htmlFor:t,className:r.cx("cursor-[inherit]",f),...u,children:[h,i&&c&&e.jsx(r.Text,{as:"sup",color:d?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null},exports.Image=function({width:o,height:t,src:i,alt:a,contentFit:n,backgroundColor:l,borderRadius:s,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:u,borderStartColor:h,borderEndColor:b,borderTopColor:m,borderBottomColor:x,borderWidth:g,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:H,borderBottomWidth:I,alignContent:B,alignItems:w,alignSelf:E,flex:V,flexDirection:v,flexGrow:j,flexShrink:R,flexWrap:y,justifyContent:z,flexBasis:k,display:F,overflow:G,overflowX:q,overflowY:N,position:P,spacing:A,spacingHorizontal:D,spacingVertical:X,spacingBottom:Y,spacingEnd:J,spacingStart:L,spacingTop:M,offset:Z,offsetVertical:K,offsetHorizontal:O,offsetBottom:Q,offsetEnd:U,offsetStart:$,offsetTop:_,columnGap:rr,rowGap:or,...er}){const tr=r.getStyles({contentFit:n,backgroundColor:l,borderRadius:s,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:u,borderStartColor:h,borderEndColor:b,borderTopColor:m,borderBottomColor:x,borderWidth:g,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:H,borderBottomWidth:I,alignContent:B,alignItems:w,alignSelf:E,flex:V,flexDirection:v,flexGrow:j,flexShrink:R,flexWrap:y,justifyContent:z,flexBasis:k,display:F,overflow:G,overflowX:q,overflowY:N,position:P,spacing:A,spacingHorizontal:D,spacingVertical:X,spacingBottom:Y,spacingEnd:J,spacingStart:L,spacingTop:M,offset:Z,offsetVertical:K,offsetHorizontal:O,offsetBottom:Q,offsetEnd:U,offsetStart:$,offsetTop:_,columnGap:rr,rowGap:or});return e.jsx("img",{src:i,alt:a,className:tr,style:{width:o,height:t},...er})},exports.InputHelpTextMemo=t;
|
package/dist/chunk-JFLE7LSO.cjs
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
"use strict";var r=require("./chunk-FSOKVNOU.cjs"),o=require("@yahoo/uds/fixtures"),e=require("@yahoo/uds/flags"),t=require("clsx"),n=require("imurmurhash"),i=require("tailwind-merge"),a=require("react"),l=require("react/jsx-runtime"),s=require("lodash-es");function d(r){return r&&r.__esModule?r:{default:r}}var c=d(t),f=d(n);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
-
function p(r){return"boolean"==typeof r?`${r}`:0===r?"0":r}function u(r){const o=Object.create(null),e=Object.keys(r);for(let t=0,n=e.length;t<n;t++){const n=e[t];void 0!==r[n]&&(o[n]=r[n])}return o}var h=i.extendTailwindMerge({extend:{theme:{borderColor:o.lineColors,borderWidth:o.borderWidths,borderRadius:o.borderRadii}},override:{classGroups:{"text-color":[{text:[...o.foregroundColors,...o.spectrumColors]}],"bg-color":[{bg:o.backgroundColors}],"font-family":[{font:["icons",...o.textVariants]}],leading:[{leading:o.textVariants}]},conflictingClassGroups:{}}}),b=(...r)=>{const o=c.default(r);return h(o)},m=r=>o=>{if(!r?.variants)return b(r?.base,o?.className);const{variants:e,defaultVariants:t}=r,n=Object.keys(e).map((r=>{const n=o?.[r],i=t?.[r],a=p(n)||p(i);return e[r][a]})),i={...t,...o&&u(o)},a=r?.compoundVariants?.reduce(((r,{className:o,...e})=>Object.entries(e).every((([r,o])=>i[r]===o))?b(r,o):r),"");return b(r?.base,n,a,o?.className)},g=m({variants:r.variants}),x=new Map,S=r=>{const{useGetStylesCache:o}=e.getFeatureFlags();if(o){const o=function(r){const o=Object.create(null),e=Object.keys(r).sort();for(let t=0,n=e.length;t<n;t++){const n=e[t];o[n]=r[n]}return o}(u(r)),e=(new f.default).hash(JSON.stringify(o)).result();if(x.has(e))return x.get(e);const t=g(o);return x.set(e,t),t}return g(r)};function C(...r){return o=>r.forEach((r=>function(r,o){"function"==typeof r?r(o):null!=r&&(r.current=o)}(r,o)))}function w(){const r=a.forwardRef(((r,e)=>{const{children:n,...i}=r,s=a.Children.toArray(n),d=s.find(t);if(d){const r=d.props.children,t=s.map((o=>o===d?a.Children.count(r)>1?a.Children.only(null):a.isValidElement(r)?r.props.children:null:o));return l.jsx(o,{...i,ref:e,children:a.isValidElement(r)?a.cloneElement(r,void 0,t):null})}return l.jsx(o,{...i,ref:e,children:n})}));r.displayName="Slot";const o=a.forwardRef(((r,o)=>{const{children:e,...t}=r;return a.isValidElement(e)?a.cloneElement(e,{...n(t,e.props),ref:o?C(o,e.ref):e.ref}):a.Children.count(e)>1?a.Children.only(null):null}));o.displayName="SlotClone";const e=({children:r})=>r;function t(r){return a.isValidElement(r)&&r.type===e}function n(r,o){const e={...o};for(const t in o){const n=r[t],i=o[t];/^on[A-Z]/.test(t)?n&&i?e[t]=(...r)=>{i(...r),n(...r)}:n&&(e[t]=n):"style"===t&&(e[t]={...n,...i})}return{...r,...e}}return r}var y=w(),v=a.forwardRef((function({asChild:r,className:o,backgroundColor:e,borderRadius:t,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:a,borderBottomEndRadius:s,borderColor:d,borderStartColor:c,borderEndColor:f,borderTopColor:p,borderBottomColor:u,borderWidth:h,borderVerticalWidth:b,borderHorizontalWidth:m,borderStartWidth:g,borderEndWidth:x,borderTopWidth:C,borderBottomWidth:w,alignContent:v,alignItems:E,alignSelf:W,flex:B,flexDirection:R,flexGrow:T,flexShrink:V,flexWrap:j,justifyContent:N,flexBasis:k,display:G="flex",overflow:z,overflowX:H,overflowY:q,position:O,spacing:F,spacingHorizontal:I,spacingVertical:D,spacingBottom:A,spacingEnd:M,spacingStart:X,spacingTop:Y,offset:$,offsetVertical:_,offsetHorizontal:J,offsetBottom:K,offsetEnd:P,offsetStart:U,offsetTop:Z,columnGap:L,rowGap:Q,width:rr,height:or,dropShadow:er,insetShadow:tr,...nr},ir){const ar=S({backgroundColor:e,borderRadius:t,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:a,borderBottomEndRadius:s,borderColor:d,borderStartColor:c,borderEndColor:f,borderTopColor:p,borderBottomColor:u,borderWidth:h,borderVerticalWidth:b,borderHorizontalWidth:m,borderStartWidth:g,borderEndWidth:x,borderTopWidth:C,borderBottomWidth:w,alignContent:v,alignItems:E,alignSelf:W,flex:B,flexDirection:R,flexGrow:T,flexShrink:V,flexWrap:j,justifyContent:N,flexBasis:k,display:G,overflow:z,overflowX:H,overflowY:q,position:O,spacing:F,spacingHorizontal:I,spacingVertical:D,spacingBottom:A,spacingEnd:M,spacingStart:X,spacingTop:Y,offset:$,offsetVertical:_,offsetHorizontal:J,offsetBottom:K,offsetEnd:P,offsetStart:U,offsetTop:Z,columnGap:L,rowGap:Q,width:rr,height:or,dropShadow:er,insetShadow:tr,className:o}),lr=r?y:"div";return l.jsx(lr,{className:ar,ref:ir,...nr})}));v.displayName="Box";var E=(r,o)=>((r,o)=>{const e=s.isFunction(o)?o:()=>o;return r.flatMap(((r,o)=>0!==o?[e(o),r]:[r]))})(a.Children.toArray(r),(r=>{const e=s.isFunction(o)?o(r):o;return a.isValidElement(e)?a.cloneElement(e,{...e.props,key:e.key??`interspersed-${r}`}):null})),W=a.forwardRef((function({gap:r,children:o,separator:e,...t},n){return l.jsx(v,{ref:n,flexDirection:"row",rowGap:r,columnGap:r,...t,children:e?E(o,e):o})}));W.displayName="HStack";var B=w(),R={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",inherit:"p"},T=a.forwardRef((function({className:r,asChild:o,color:e="primary",variant:t="body1",as:n=R[t],fontFamily:i,fontSize:a,fontWeight:s,lineHeight:d,textTransform:c,textAlign:f,backgroundColor:p,borderRadius:u,borderTopStartRadius:h,borderTopEndRadius:b,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:x,borderStartColor:C,borderEndColor:w,borderTopColor:y,borderBottomColor:v,borderWidth:E,borderVerticalWidth:W,borderHorizontalWidth:T,borderStartWidth:V,borderEndWidth:j,borderTopWidth:N,borderBottomWidth:k,alignContent:G,alignItems:z,alignSelf:H,flex:q,flexDirection:O,flexGrow:F,flexShrink:I,flexWrap:D,justifyContent:A,flexBasis:M,display:X,overflow:Y,overflowX:$,overflowY:_,position:J,spacing:K,spacingHorizontal:P,spacingVertical:U,spacingBottom:Z,spacingEnd:L,spacingStart:Q,spacingTop:rr,offset:or,offsetVertical:er,offsetHorizontal:tr,offsetBottom:nr,offsetEnd:ir,offsetStart:ar,offsetTop:lr,columnGap:sr,rowGap:dr,...cr},fr){const pr={...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},ur=S({className:r,...pr,backgroundColor:p,borderRadius:u,borderTopStartRadius:h,borderTopEndRadius:b,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:x,borderStartColor:C,borderEndColor:w,borderTopColor:y,borderBottomColor:v,borderWidth:E,borderVerticalWidth:W,borderHorizontalWidth:T,borderStartWidth:V,borderEndWidth:j,borderTopWidth:N,borderBottomWidth:k,alignContent:G,alignItems:z,alignSelf:H,flex:q,flexDirection:O,flexGrow:F,flexShrink:I,flexWrap:D,justifyContent:A,flexBasis:M,display:X,overflow:Y,overflowX:$,overflowY:_,position:J,spacing:K,spacingHorizontal:P,spacingVertical:U,spacingBottom:Z,spacingEnd:L,spacingStart:Q,spacingTop:rr,offset:or,offsetVertical:er,offsetHorizontal:tr,offsetBottom:nr,offsetEnd:ir,offsetStart:ar,offsetTop:lr,columnGap:sr,rowGap:dr}),hr=o?B:n;return l.jsx(hr,{className:ur,ref:fr,...cr})}));T.displayName="Text";var V=a.forwardRef((function({gap:r,children:o,separator:e,...t},n){return l.jsx(v,{ref:n,flexDirection:"column",columnGap:r,rowGap:r,...t,children:e?E(o,e):o})}));V.displayName="VStack";var j={xs:12,sm:16,md:24,lg:32},N=a.forwardRef((function({name:r,size:o="md",variant:e="outline",color:t="primary",className:n,...i},a){const s=r.metadata?.variants??[],d=s.includes(e)?e:s[0]??"fill",c="multicolor"===d,f=S({flex:"none",color:c?void 0:t,className:b(n,!c&&"[&_path]:fill-current")}),p=j[o];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(r,{size:o,variant:d})})}));N.displayName="Icon";var k=a.memo((function({icon:r,iconProps:o,...e}){if(!r)return null;const t=o??{},n=r;if(n.metadata?.isSvgIcon)return l.jsx(N,{name:n,...t,...e});if(s.isFunction(r)){const o=r(t);return a.isValidElement(o)&&a.cloneElement(o,e)}return a.isValidElement(r)&&a.cloneElement(r,{...t,...r.props,...e})}));
|
3
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Box=v,exports.HStack=W,exports.Icon=N,exports.IconSlot=k,exports.Text=T,exports.VStack=V,exports.createSlot=w,exports.cva=m,exports.cx=b,exports.getStyles=S;
|
package/dist/chunk-M5SXYW4O.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import{cx as e,VStack as r,HStack as t,Box as i,Text as o,getStyles as a}from"./chunk-37LEXEW4.js";import{forwardRef as l,useMemo as n}from"react";import{jsxs as d,jsx as s}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var c={horizontal:"w-full",vertical:""},h=l((function({vertical:a=!1,contentPosition:l="center",className:h,layerClassNames:m,children:f,...v},x){const N=a?"vertical":"horizontal",b=a?r:t,p=n((()=>({root:e(c[N],h,m?.root),label:e(m?.text),line:m?.line})),[h,N,m?.root,m?.text,m?.line]),y=n((()=>"vertical"===N?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0}),[N]),u=()=>s(i,{flex:"1",className:p.line,style:y});return f?d(b,{flex:"1",alignItems:"center",className:p.root,ref:x,...v,children:["start"!==l&&s(u,{}),s(i,{flex:"none",children:s(o,{color:"inherit",variant:"inherit",className:p.label,children:f})}),"end"!==l&&s(u,{})]}):s(i,{display:"flex",flex:"none",className:p.root,ref:x,...v,children:s(u,{})})}));h.displayName="DividerCore";var m=l((function({variant:r="primary",layerClassNames:t,...i},o){const l=n((()=>({root:e("inherit"!==r&&a({dividerVariantRoot:r}),t?.root),text:e("inherit"!==r?a({dividerVariantLabel:r}):void 0,t?.text),line:e("inherit"!==r&&a({dividerVariantLine:r}),t?.line)})),[t?.line,t?.root,t?.text,r]);return s(h,{ref:o,layerClassNames:l,...i})}));m.displayName="DividerInternal";export{m as DividerInternal};
|
package/dist/chunk-OMJ3BDEX.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var r=require("./chunk-JFLE7LSO.cjs"),o=require("lodash-es"),e=require("react/jsx-runtime");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var t=require("react").memo((function({startIcon:o,endIcon:t,iconProps:i,children:a,size:n,isFilled:l,...s}){const d={helperText:r.cx(r.getStyles({inputSizeHelperText:n,inputVariantHelperText:"default",inputVariantValueHelperText:l?"filled":"empty"})),helperIcon:r.getStyles({inputSizeHelperIcon:n,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:l?"filled":"empty"})},c={variant:"outline",...i};return e.jsxs(r.HStack,{gap:"1",alignItems:"center",...s,children:[o&&e.jsx(r.IconSlot,{icon:o,...c,iconProps:i,className:d.helperIcon}),e.jsx("span",{className:d.helperText,children:a}),t&&e.jsx(r.IconSlot,{icon:t,...c,iconProps:i,className:d.helperIcon})]})}));exports.FormLabel=({htmlFor:t,required:i,label:a,children:n,color:l="muted",variant:s="label3",hasError:d=!1,showRequiredAsterisk:c=!1,as:p="label",className:f,...u})=>{const h=a?o.isFunction(a)?a():a:n;return h?e.jsxs(r.Text,{variant:s,color:l,as:p,htmlFor:t,className:r.cx("cursor-[inherit]",f),...u,children:[h,i&&c&&e.jsx(r.Text,{as:"sup",color:d?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null},exports.Image=function({width:o,height:t,src:i,alt:a,contentFit:n,backgroundColor:l,borderRadius:s,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:u,borderStartColor:h,borderEndColor:b,borderTopColor:m,borderBottomColor:x,borderWidth:g,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:I,borderBottomWidth:B,alignContent:E,alignItems:H,alignSelf:w,flex:v,flexDirection:V,flexGrow:j,flexShrink:R,flexWrap:y,justifyContent:z,flexBasis:F,display:k,overflow:q,overflowX:G,overflowY:N,position:L,spacing:P,spacingHorizontal:D,spacingVertical:X,spacingBottom:Y,spacingEnd:A,spacingStart:J,spacingTop:M,offset:O,offsetVertical:K,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:rr,rowGap:or,...er}){const tr=r.getStyles({contentFit:n,backgroundColor:l,borderRadius:s,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:u,borderStartColor:h,borderEndColor:b,borderTopColor:m,borderBottomColor:x,borderWidth:g,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:I,borderBottomWidth:B,alignContent:E,alignItems:H,alignSelf:w,flex:v,flexDirection:V,flexGrow:j,flexShrink:R,flexWrap:y,justifyContent:z,flexBasis:F,display:k,overflow:q,overflowX:G,overflowY:N,position:L,spacing:P,spacingHorizontal:D,spacingVertical:X,spacingBottom:Y,spacingEnd:A,spacingStart:J,spacingTop:M,offset:O,offsetVertical:K,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:rr,rowGap:or});return e.jsx("img",{src:i,alt:a,className:tr,style:{width:o,height:t},...er})},exports.InputHelpTextMemo=t;
|
package/dist/chunk-PFR7GTUT.cjs
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";var r=require("./chunk-JFLE7LSO.cjs"),e=require("./chunk-BIT4ZYYL.cjs"),t=require("motion/react"),n=require("react"),a=require("react/jsx-runtime"),s={damped:{1:{damping:20.585796264350424,stiffness:62.37968115365702},2:{damping:29.312551281312288,stiffness:126.47801753759964},3:{damping:48.92799401356162,stiffness:352.3892336537332},4:{damping:123.42690994256348,stiffness:2242.474548821137}},smooth:{1:{damping:16.46863701148034,stiffness:67.80400125397502},2:{damping:23.45004102504983,stiffness:137.47610601913004},3:{damping:39.1423952108493,stiffness:383.03177571057955},4:{damping:98.7415279540508,stiffness:2437.4723356751488}},subtle:{1:{damping:13.04316051309243,stiffness:67.80400125397502},2:{damping:18.572432491839468,stiffness:137.47610601913004},3:{damping:31.000777006992646,stiffness:383.03177571057955},4:{damping:78.20329013960823,stiffness:2437.4723356751488}},bouncy:{1:{damping:9.229712940600143,stiffness:48.880672622541795},2:{damping:12.634144343496553,stiffness:91.59092691366399},3:{damping:19.40217701790486,stiffness:216.00395877230474},4:{damping:37.541723184430275,stiffness:808.7032559422912}},veryBouncy:{1:{damping:6.902290754946187,stiffness:38.92152745126911},2:{damping:9.155550514215523,stiffness:68.48134828711234},3:{damping:13.244464908166709,stiffness:143.30858570843873},4:{damping:22.17862652876726,stiffness:401.85804919502965}}},l=()=>import("./motionFeatures-6LIGGXPL.cjs").then((({domAnimation:r})=>r));/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var o=r.createSlot(),i=n.forwardRef((function({className:e,asChild:t,onPress:n,onClick:s=n,backgroundColor:l,borderRadius:i,borderTopStartRadius:c,borderTopEndRadius:d,borderBottomStartRadius:h,borderBottomEndRadius:m,borderColor:f,borderStartColor:u,borderEndColor:g,borderTopColor:x,borderBottomColor:p,borderWidth:j,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:b,alignContent:V,alignItems:H,alignSelf:S,flex:L,flexDirection:w,flexGrow:y,flexShrink:B,flexWrap:A,justifyContent:W,flexBasis:E,display:P,overflow:T,overflowX:_,overflowY:R,position:k,spacing:I,spacingHorizontal:G,spacingVertical:N,spacingBottom:q,spacingEnd:Y,spacingStart:X,spacingTop:D,offset:J,offsetVertical:O,offsetHorizontal:Z,offsetBottom:K,offsetEnd:Q,offsetStart:U,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:nr,...ar},sr){const lr=r.getStyles({backgroundColor:l,borderRadius:i,borderTopStartRadius:c,borderTopEndRadius:d,borderBottomStartRadius:h,borderBottomEndRadius:m,borderColor:f,borderStartColor:u,borderEndColor:g,borderTopColor:x,borderBottomColor:p,borderWidth:j,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:b,alignContent:V,alignItems:H,alignSelf:S,flex:L,flexDirection:w,flexGrow:y,flexShrink:B,flexWrap:A,justifyContent:W,flexBasis:E,display:P,overflow:T,overflowX:_,overflowY:R,position:k,spacing:I,spacingHorizontal:G,spacingVertical:N,spacingBottom:q,spacingEnd:Y,spacingStart:X,spacingTop:D,offset:J,offsetVertical:O,offsetHorizontal:Z,offsetBottom:K,offsetEnd:Q,offsetStart:U,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:nr,className:e}),or=t?o:"button";return a.jsx(or,{className:lr,ref:sr,onClick:s,...ar})})),c=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsxs("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[a.jsx("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),a.jsx("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:a.jsx("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return a.jsx(a.Fragment,{})};c.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var d=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return a.jsx(a.Fragment,{})};d.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var h=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return a.jsx(a.Fragment,{})};h.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var m=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return a.jsx(a.Fragment,{})};m.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var f=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return a.jsx(a.Fragment,{})};f.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var u=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:a.jsx("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===e)switch(r){case"xs":return a.jsx(a.Fragment,{children:a.jsx("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:a.jsx("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return a.jsx(a.Fragment,{children:a.jsx("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return a.jsx(a.Fragment,{})};u.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]},
|
2
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Pressable=i,exports.SpringMotionConfig=function({reducedMotion:r="user",children:o,layoutVariant:i="subtle",layoutSpeed:c="3",colorVariant:d="smooth",colorSpeed:h="3"}){const m=s[i][c],f=s[d][h],[u,g]=n.useState(m),[x,p]=n.useState(f),j={variant:d,speed:h},v=e.getMotionVar({...j,control:"stiffness"}),z=e.getMotionVar({...j,control:"damping"}),C={variant:i,speed:c},M=e.getMotionVar({...C,control:"stiffness"}),F=e.getMotionVar({...C,control:"damping"});n.useEffect((()=>{const r=getComputedStyle(document.documentElement),e={damping:Number(r.getPropertyValue(F)),stiffness:Number(r.getPropertyValue(M))},t={damping:Number(r.getPropertyValue(z)),stiffness:Number(r.getPropertyValue(v))};g(e),p(t)}),[z,v,F,M]);const b=n.useMemo((()=>({type:"spring",mass:1,...u,layout:u,opacity:x,color:x,borderColor:x,backgroundColor:x})),[x,u]);return a.jsx(t.LazyMotion,{features:l,strict:!0,children:a.jsx(t.MotionConfig,{transition:b,reducedMotion:r,children:o})})},exports.a=h,exports.e=d,exports.e2=f,exports.o=m,exports.o2=u,exports.t=c;
|
package/dist/chunk-RDF2NPZV.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var e=require("./chunk-TJZ4HVAG.cjs"),r=require("react"),t=require("react/jsx-runtime"),i={horizontal:"w-full",vertical:""},a=r.forwardRef((function({vertical:a=!1,contentPosition:o="center",className:l,layerClassNames:n,children:s,...c},d){const x=a?"vertical":"horizontal",h=a?e.VStack:e.HStack,m=r.useMemo((()=>({root:e.cx(i[x],l,n?.root),label:e.cx(n?.text),line:n?.line})),[l,x,n?.root,n?.text,n?.line]),f=r.useMemo((()=>"vertical"===x?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0}),[x]),v=()=>t.jsx(e.Box,{flex:"1",className:m.line,style:f});return s?t.jsxs(h,{flex:"1",alignItems:"center",className:m.root,ref:d,...c,children:["start"!==o&&t.jsx(v,{}),t.jsx(e.Box,{flex:"none",children:t.jsx(e.Text,{color:"inherit",variant:"inherit",className:m.label,children:s})}),"end"!==o&&t.jsx(v,{})]}):t.jsx(e.Box,{display:"flex",flex:"none",className:m.root,ref:d,...c,children:t.jsx(v,{})})}));/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */a.displayName="DividerCore";var o=r.forwardRef((function({variant:i="primary",layerClassNames:o,...l},n){const s=r.useMemo((()=>({root:e.cx("inherit"!==i&&e.getStyles({dividerVariantRoot:i}),o?.root),text:e.cx("inherit"!==i?e.getStyles({dividerVariantLabel:i}):void 0,o?.text),line:e.cx("inherit"!==i&&e.getStyles({dividerVariantLine:i}),o?.line)})),[o?.line,o?.root,o?.text,i]);return t.jsx(a,{ref:n,layerClassNames:s,...l})}));o.displayName="DividerInternal",exports.DividerInternal=o;
|
package/dist/chunk-RR45EHLK.js
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
import{variants as o}from"./chunk-Z2ZVRADJ.js";import{textVariants as r,backgroundColors as t,foregroundColors as e,spectrumColors as n,borderRadii as i,borderWidths as a,lineColors as l}from"@yahoo/uds/fixtures";import{getFeatureFlags as s}from"@yahoo/uds/flags";import d from"clsx";import f from"imurmurhash";import{extendTailwindMerge as c}from"tailwind-merge";import{forwardRef as p,memo as u,isValidElement as m,cloneElement as b,Children as h}from"react";import{jsx as g}from"react/jsx-runtime";import{isFunction as S}from"lodash-es";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
-
function x(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function y(o){const r=Object.create(null),t=Object.keys(o);for(let e=0,n=t.length;e<n;e++){const n=t[e];void 0!==o[n]&&(r[n]=o[n])}return r}var w=c({extend:{theme:{borderColor:l,borderWidth:a,borderRadius:i}},override:{classGroups:{"text-color":[{text:[...e,...n]}],"bg-color":[{bg:t}],"font-family":[{font:["icons",...r]}],leading:[{leading:r}]},conflictingClassGroups:{}}}),C=(...o)=>{const r=d(o);return w(r)},v=o=>r=>{if(!o?.variants)return C(o?.base,r?.className);const{variants:t,defaultVariants:e}=o,n=Object.keys(t).map((o=>{const n=r?.[o],i=e?.[o],a=x(n)||x(i);return t[o][a]})),i={...e,...r&&y(r)},a=o?.compoundVariants?.reduce(((o,{className:r,...t})=>Object.entries(t).every((([o,r])=>i[o]===r))?C(o,r):o),"");return C(o?.base,n,a,r?.className)},W=v({variants:o}),B=new Map,T=o=>{const{useGetStylesCache:r}=s();if(r){const r=function(o){const r=Object.create(null),t=Object.keys(o).sort();for(let e=0,n=t.length;e<n;e++){const n=t[e];r[n]=o[n]}return r}(y(o)),t=(new f).hash(JSON.stringify(r)).result();if(B.has(t))return B.get(t);const e=W(r);return B.set(t,e),e}return W(o)};function E(...o){return r=>o.forEach((o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r)))}function R(){const o=p(((o,t)=>{const{children:n,...i}=o,a=h.toArray(n),l=a.find(e);if(l){const o=l.props.children,e=a.map((r=>r===l?h.count(o)>1?h.only(null):m(o)?o.props.children:null:r));return g(r,{...i,ref:t,children:m(o)?b(o,void 0,e):null})}return g(r,{...i,ref:t,children:n})}));o.displayName="Slot";const r=p(((o,r)=>{const{children:t,...e}=o;return m(t)?b(t,{...n(e,t.props),ref:r?E(r,t.ref):t.ref}):h.count(t)>1?h.only(null):null}));r.displayName="SlotClone";const t=({children:o})=>o;function e(o){return m(o)&&o.type===t}function n(o,r){const t={...r};for(const e in r){const n=o[e],i=r[e];/^on[A-Z]/.test(e)?n&&i?t[e]=(...o)=>{i(...o),n(...o)}:n&&(t[e]=n):"style"===e&&(t[e]={...n,...i})}return{...o,...t}}return o}var N=R(),G=p((function({asChild:o,className:r,backgroundColor:t,borderRadius:e,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:a,borderBottomEndRadius:l,borderColor:s,borderStartColor:d,borderEndColor:f,borderTopColor:c,borderBottomColor:p,borderWidth:u,borderVerticalWidth:m,borderHorizontalWidth:b,borderStartWidth:h,borderEndWidth:S,borderTopWidth:x,borderBottomWidth:y,alignContent:w,alignItems:C,alignSelf:v,flex:W,flexDirection:B,flexGrow:E,flexShrink:R,flexWrap:G,justifyContent:k,flexBasis:z,display:V="flex",overflow:H,overflowX:j,overflowY:D,position:O,spacing:A,spacingHorizontal:I,spacingVertical:X,spacingBottom:Y,spacingEnd:$,spacingStart:Z,spacingTop:F,offset:J,offsetVertical:M,offsetHorizontal:P,offsetBottom:_,offsetEnd:q,offsetStart:K,offsetTop:L,columnGap:Q,rowGap:U,width:oo,height:ro,dropShadow:to,insetShadow:eo,...no},io){const ao=T({backgroundColor:t,borderRadius:e,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:a,borderBottomEndRadius:l,borderColor:s,borderStartColor:d,borderEndColor:f,borderTopColor:c,borderBottomColor:p,borderWidth:u,borderVerticalWidth:m,borderHorizontalWidth:b,borderStartWidth:h,borderEndWidth:S,borderTopWidth:x,borderBottomWidth:y,alignContent:w,alignItems:C,alignSelf:v,flex:W,flexDirection:B,flexGrow:E,flexShrink:R,flexWrap:G,justifyContent:k,flexBasis:z,display:V,overflow:H,overflowX:j,overflowY:D,position:O,spacing:A,spacingHorizontal:I,spacingVertical:X,spacingBottom:Y,spacingEnd:$,spacingStart:Z,spacingTop:F,offset:J,offsetVertical:M,offsetHorizontal:P,offsetBottom:_,offsetEnd:q,offsetStart:K,offsetTop:L,columnGap:Q,rowGap:U,width:oo,height:ro,dropShadow:to,insetShadow:eo,className:r});return g(o?N:"div",{className:ao,ref:io,...no})}));G.displayName="Box";var k=(o,r)=>((o,r)=>{const t=S(r)?r:()=>r;return o.flatMap(((o,r)=>0!==r?[t(r),o]:[o]))})(h.toArray(o),(o=>{const t=S(r)?r(o):r;return m(t)?b(t,{...t.props,key:t.key??`interspersed-${o}`}):null})),z=p((function({gap:o,children:r,separator:t,...e},n){return g(G,{ref:n,flexDirection:"row",rowGap:o,columnGap:o,...e,children:t?k(r,t):r})}));z.displayName="HStack";var V=R(),H={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",inherit:"p"},j=p((function({className:o,asChild:r,color:t="primary",variant:e="body1",as:n=H[e],fontFamily:i,fontSize:a,fontWeight:l,lineHeight:s,textTransform:d,textAlign:f,backgroundColor:c,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:h,borderColor:S,borderStartColor:x,borderEndColor:y,borderTopColor:w,borderBottomColor:C,borderWidth:v,borderVerticalWidth:W,borderHorizontalWidth:B,borderStartWidth:E,borderEndWidth:R,borderTopWidth:N,borderBottomWidth:G,alignContent:k,alignItems:z,alignSelf:j,flex:D,flexDirection:O,flexGrow:A,flexShrink:I,flexWrap:X,justifyContent:Y,flexBasis:$,display:Z,overflow:F,overflowX:J,overflowY:M,position:P,spacing:_,spacingHorizontal:q,spacingVertical:K,spacingBottom:L,spacingEnd:Q,spacingStart:U,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:lo,columnGap:so,rowGap:fo,...co},po){const uo={...t&&"inherit"!==t?{color:t}:{},...e&&"inherit"!==e?{fontFamily:i??e,fontSize:a??e,fontWeight:l??e,lineHeight:s??e,textTransform:d??e}:{},textAlign:f},mo=T({className:o,...uo,backgroundColor:c,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:h,borderColor:S,borderStartColor:x,borderEndColor:y,borderTopColor:w,borderBottomColor:C,borderWidth:v,borderVerticalWidth:W,borderHorizontalWidth:B,borderStartWidth:E,borderEndWidth:R,borderTopWidth:N,borderBottomWidth:G,alignContent:k,alignItems:z,alignSelf:j,flex:D,flexDirection:O,flexGrow:A,flexShrink:I,flexWrap:X,justifyContent:Y,flexBasis:$,display:Z,overflow:F,overflowX:J,overflowY:M,position:P,spacing:_,spacingHorizontal:q,spacingVertical:K,spacingBottom:L,spacingEnd:Q,spacingStart:U,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:lo,columnGap:so,rowGap:fo});return g(r?V:n,{className:mo,ref:po,...co})}));j.displayName="Text";var D=p((function({gap:o,children:r,separator:t,...e},n){return g(G,{ref:n,flexDirection:"column",columnGap:o,rowGap:o,...e,children:t?k(r,t):r})}));D.displayName="VStack";var O={xs:12,sm:16,md:24,lg:32},A=p((function({name:o,size:r="md",variant:t="outline",color:e="primary",className:n,...i},a){const l=o.metadata?.variants??[],s=l.includes(t)?t:l[0]??"fill",d="multicolor"===s,f=T({flex:"none",color:d?void 0:e,className:C(n,!d&&"[&_path]:fill-current")}),c=O[r];return g("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",focusable:"false",className:f,...i,children:g(o,{size:r,variant:s})})}));A.displayName="Icon";var I=u((function({icon:o,iconProps:r,...t}){if(!o)return null;const e=r??{},n=o;if(n.metadata?.isSvgIcon)return g(A,{name:n,...e,...t});if(S(o)){const r=o(e);return m(r)&&b(r,t)}return m(o)&&b(o,{...e,...o.props,...t})}));
|
3
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{G as Box,z as HStack,A as Icon,I as IconSlot,j as Text,D as VStack,R as createSlot,v as cva,C as cx,T as getStyles};
|
package/dist/chunk-SEY2DW3I.js
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
import{createSlot as r,getStyles as e}from"./chunk-RR45EHLK.js";import{getMotionVar as t}from"./chunk-OCQZCUT3.js";import{LazyMotion as l,MotionConfig as n}from"motion/react";import{forwardRef as o,useState as i,useEffect as a,useMemo as s}from"react";import{jsx as d,Fragment as c,jsxs as h}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
-
var f={damped:{1:{damping:20.585796264350424,stiffness:62.37968115365702},2:{damping:29.312551281312288,stiffness:126.47801753759964},3:{damping:48.92799401356162,stiffness:352.3892336537332},4:{damping:123.42690994256348,stiffness:2242.474548821137}},smooth:{1:{damping:16.46863701148034,stiffness:67.80400125397502},2:{damping:23.45004102504983,stiffness:137.47610601913004},3:{damping:39.1423952108493,stiffness:383.03177571057955},4:{damping:98.7415279540508,stiffness:2437.4723356751488}},subtle:{1:{damping:13.04316051309243,stiffness:67.80400125397502},2:{damping:18.572432491839468,stiffness:137.47610601913004},3:{damping:31.000777006992646,stiffness:383.03177571057955},4:{damping:78.20329013960823,stiffness:2437.4723356751488}},bouncy:{1:{damping:9.229712940600143,stiffness:48.880672622541795},2:{damping:12.634144343496553,stiffness:91.59092691366399},3:{damping:19.40217701790486,stiffness:216.00395877230474},4:{damping:37.541723184430275,stiffness:808.7032559422912}},veryBouncy:{1:{damping:6.902290754946187,stiffness:38.92152745126911},2:{damping:9.155550514215523,stiffness:68.48134828711234},3:{damping:13.244464908166709,stiffness:143.30858570843873},4:{damping:22.17862652876726,stiffness:401.85804919502965}}},u=()=>import("./motionFeatures-SJISLQ4M.js").then((({domAnimation:r})=>r));function m({reducedMotion:r="user",children:e,layoutVariant:o="subtle",layoutSpeed:c="3",colorVariant:h="smooth",colorSpeed:m="3"}){const p=f[o][c],v=f[h][m],[z,g]=i(p),[C,M]=i(v),b={variant:h,speed:m},H=t({...b,control:"stiffness"}),V=t({...b,control:"damping"}),S={variant:o,speed:c},L=t({...S,control:"stiffness"}),w=t({...S,control:"damping"});a((()=>{const r=getComputedStyle(document.documentElement),e={damping:Number(r.getPropertyValue(w)),stiffness:Number(r.getPropertyValue(L))},t={damping:Number(r.getPropertyValue(V)),stiffness:Number(r.getPropertyValue(H))};g(e),M(t)}),[V,H,w,L]);const x=s((()=>({type:"spring",mass:1,...z,layout:z,opacity:C,color:C,borderColor:C,backgroundColor:C})),[C,z]);return d(l,{features:u,strict:!0,children:d(n,{transition:x,reducedMotion:r,children:e})})}var p=r(),v=o((function({className:r,asChild:t,onPress:l,onClick:n=l,backgroundColor:o,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:s,borderBottomStartRadius:c,borderBottomEndRadius:h,borderColor:f,borderStartColor:u,borderEndColor:m,borderTopColor:v,borderBottomColor:z,borderWidth:g,borderVerticalWidth:C,borderHorizontalWidth:M,borderStartWidth:b,borderEndWidth:H,borderTopWidth:V,borderBottomWidth:S,alignContent:L,alignItems:w,alignSelf:x,flex:A,flexDirection:B,flexGrow:y,flexShrink:W,flexWrap:E,justifyContent:P,flexBasis:T,display:R,overflow:_,overflowX:k,overflowY:I,position:N,spacing:j,spacingHorizontal:G,spacingVertical:D,spacingBottom:Q,spacingEnd:X,spacingStart:Y,spacingTop:q,offset:F,offsetVertical:J,offsetHorizontal:K,offsetBottom:O,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,...nr},or){const ir=e({backgroundColor:o,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:s,borderBottomStartRadius:c,borderBottomEndRadius:h,borderColor:f,borderStartColor:u,borderEndColor:m,borderTopColor:v,borderBottomColor:z,borderWidth:g,borderVerticalWidth:C,borderHorizontalWidth:M,borderStartWidth:b,borderEndWidth:H,borderTopWidth:V,borderBottomWidth:S,alignContent:L,alignItems:w,alignSelf:x,flex:A,flexDirection:B,flexGrow:y,flexShrink:W,flexWrap:E,justifyContent:P,flexBasis:T,display:R,overflow:_,overflowX:k,overflowY:I,position:N,spacing:j,spacingHorizontal:G,spacingVertical:D,spacingBottom:Q,spacingEnd:X,spacingStart:Y,spacingTop:q,offset:F,offsetVertical:J,offsetHorizontal:K,offsetBottom:O,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,className:r});return d(t?p:"button",{className:ir,ref:or,onClick:n,...nr})})),z=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return d(c,{children:h("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[d("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),d("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===e)switch(r){case"xs":return d(c,{children:d("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:d("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return d(c,{})};z.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var g=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return d(c,{})};g.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var C=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return d(c,{})};C.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var M=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return d(c,{})};M.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var b=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return d(c,{})};b.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var H=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return d(c,{children:d("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:d("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===e)switch(r){case"xs":return d(c,{children:d("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:d("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return d(c,{})};H.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]};
|
3
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{v as Pressable,m as SpringMotionConfig,C as a,g as e,b as e2,M as o,H as o2,z as t};
|
package/dist/chunk-TJZ4HVAG.cjs
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
"use strict";var r=require("./chunk-A6QBZQH4.cjs"),o=require("@yahoo/uds/fixtures"),e=require("@yahoo/uds/flags"),t=require("clsx"),n=require("imurmurhash"),i=require("tailwind-merge"),a=require("react"),l=require("react/jsx-runtime"),s=require("lodash-es");function d(r){return r&&r.__esModule?r:{default:r}}var c=d(t),f=d(n);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
-
function p(r){return"boolean"==typeof r?`${r}`:0===r?"0":r}function u(r){const o=Object.create(null),e=Object.keys(r);for(let t=0,n=e.length;t<n;t++){const n=e[t];void 0!==r[n]&&(o[n]=r[n])}return o}var h=i.extendTailwindMerge({extend:{theme:{borderColor:o.lineColors,borderWidth:o.borderWidths,borderRadius:o.borderRadii}},override:{classGroups:{"text-color":[{text:[...o.foregroundColors,...o.spectrumColors]}],"bg-color":[{bg:o.backgroundColors}],"font-family":[{font:["icons",...o.textVariants]}],leading:[{leading:o.textVariants}]},conflictingClassGroups:{}}}),b=(...r)=>{const o=c.default(r);return h(o)},m=r=>o=>{if(!r?.variants)return b(r?.base,o?.className);const{variants:e,defaultVariants:t}=r,n=Object.keys(e).map((r=>{const n=o?.[r],i=t?.[r],a=p(n)||p(i);return e[r][a]})),i={...t,...o&&u(o)},a=r?.compoundVariants?.reduce(((r,{className:o,...e})=>Object.entries(e).every((([r,o])=>i[r]===o))?b(r,o):r),"");return b(r?.base,n,a,o?.className)},g=m({variants:r.variants}),x=new Map,S=r=>{const{useGetStylesCache:o}=e.getFeatureFlags();if(o){const o=function(r){const o=Object.create(null),e=Object.keys(r).sort();for(let t=0,n=e.length;t<n;t++){const n=e[t];o[n]=r[n]}return o}(u(r)),e=(new f.default).hash(JSON.stringify(o)).result();if(x.has(e))return x.get(e);const t=g(o);return x.set(e,t),t}return g(r)};function C(...r){return o=>r.forEach((r=>function(r,o){"function"==typeof r?r(o):null!=r&&(r.current=o)}(r,o)))}function w(){const r=a.forwardRef(((r,e)=>{const{children:n,...i}=r,s=a.Children.toArray(n),d=s.find(t);if(d){const r=d.props.children,t=s.map((o=>o===d?a.Children.count(r)>1?a.Children.only(null):a.isValidElement(r)?r.props.children:null:o));return l.jsx(o,{...i,ref:e,children:a.isValidElement(r)?a.cloneElement(r,void 0,t):null})}return l.jsx(o,{...i,ref:e,children:n})}));r.displayName="Slot";const o=a.forwardRef(((r,o)=>{const{children:e,...t}=r;return a.isValidElement(e)?a.cloneElement(e,{...n(t,e.props),ref:o?C(o,e.ref):e.ref}):a.Children.count(e)>1?a.Children.only(null):null}));o.displayName="SlotClone";const e=({children:r})=>r;function t(r){return a.isValidElement(r)&&r.type===e}function n(r,o){const e={...o};for(const t in o){const n=r[t],i=o[t];/^on[A-Z]/.test(t)?n&&i?e[t]=(...r)=>{i(...r),n(...r)}:n&&(e[t]=n):"style"===t&&(e[t]={...n,...i})}return{...r,...e}}return r}var y=w(),v=a.forwardRef((function({asChild:r,className:o,backgroundColor:e,borderRadius:t,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:a,borderBottomEndRadius:s,borderColor:d,borderStartColor:c,borderEndColor:f,borderTopColor:p,borderBottomColor:u,borderWidth:h,borderVerticalWidth:b,borderHorizontalWidth:m,borderStartWidth:g,borderEndWidth:x,borderTopWidth:C,borderBottomWidth:w,alignContent:v,alignItems:E,alignSelf:W,flex:B,flexDirection:R,flexGrow:T,flexShrink:V,flexWrap:j,justifyContent:N,flexBasis:k,display:G="flex",overflow:H,overflowX:z,overflowY:q,position:I,spacing:F,spacingHorizontal:O,spacingVertical:A,spacingBottom:D,spacingEnd:M,spacingStart:X,spacingTop:Y,offset:$,offsetVertical:_,offsetHorizontal:Q,offsetBottom:Z,offsetEnd:J,offsetStart:P,offsetTop:K,columnGap:L,rowGap:U,width:rr,height:or,dropShadow:er,insetShadow:tr,...nr},ir){const ar=S({backgroundColor:e,borderRadius:t,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:a,borderBottomEndRadius:s,borderColor:d,borderStartColor:c,borderEndColor:f,borderTopColor:p,borderBottomColor:u,borderWidth:h,borderVerticalWidth:b,borderHorizontalWidth:m,borderStartWidth:g,borderEndWidth:x,borderTopWidth:C,borderBottomWidth:w,alignContent:v,alignItems:E,alignSelf:W,flex:B,flexDirection:R,flexGrow:T,flexShrink:V,flexWrap:j,justifyContent:N,flexBasis:k,display:G,overflow:H,overflowX:z,overflowY:q,position:I,spacing:F,spacingHorizontal:O,spacingVertical:A,spacingBottom:D,spacingEnd:M,spacingStart:X,spacingTop:Y,offset:$,offsetVertical:_,offsetHorizontal:Q,offsetBottom:Z,offsetEnd:J,offsetStart:P,offsetTop:K,columnGap:L,rowGap:U,width:rr,height:or,dropShadow:er,insetShadow:tr,className:o}),lr=r?y:"div";return l.jsx(lr,{className:ar,ref:ir,...nr})}));v.displayName="Box";var E=(r,o)=>((r,o)=>{const e=s.isFunction(o)?o:()=>o;return r.flatMap(((r,o)=>0!==o?[e(o),r]:[r]))})(a.Children.toArray(r),(r=>{const e=s.isFunction(o)?o(r):o;return a.isValidElement(e)?a.cloneElement(e,{...e.props,key:e.key??`interspersed-${r}`}):null})),W=a.forwardRef((function({gap:r,children:o,separator:e,...t},n){return l.jsx(v,{ref:n,flexDirection:"row",rowGap:r,columnGap:r,...t,children:e?E(o,e):o})}));W.displayName="HStack";var B=w(),R={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",inherit:"p"},T=a.forwardRef((function({className:r,asChild:o,color:e="primary",variant:t="body1",as:n=R[t],fontFamily:i,fontSize:a,fontWeight:s,lineHeight:d,textTransform:c,textAlign:f,backgroundColor:p,borderRadius:u,borderTopStartRadius:h,borderTopEndRadius:b,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:x,borderStartColor:C,borderEndColor:w,borderTopColor:y,borderBottomColor:v,borderWidth:E,borderVerticalWidth:W,borderHorizontalWidth:T,borderStartWidth:V,borderEndWidth:j,borderTopWidth:N,borderBottomWidth:k,alignContent:G,alignItems:H,alignSelf:z,flex:q,flexDirection:I,flexGrow:F,flexShrink:O,flexWrap:A,justifyContent:D,flexBasis:M,display:X,overflow:Y,overflowX:$,overflowY:_,position:Q,spacing:Z,spacingHorizontal:J,spacingVertical:P,spacingBottom:K,spacingEnd:L,spacingStart:U,spacingTop:rr,offset:or,offsetVertical:er,offsetHorizontal:tr,offsetBottom:nr,offsetEnd:ir,offsetStart:ar,offsetTop:lr,columnGap:sr,rowGap:dr,...cr},fr){const pr={...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},ur=S({className:r,...pr,backgroundColor:p,borderRadius:u,borderTopStartRadius:h,borderTopEndRadius:b,borderBottomStartRadius:m,borderBottomEndRadius:g,borderColor:x,borderStartColor:C,borderEndColor:w,borderTopColor:y,borderBottomColor:v,borderWidth:E,borderVerticalWidth:W,borderHorizontalWidth:T,borderStartWidth:V,borderEndWidth:j,borderTopWidth:N,borderBottomWidth:k,alignContent:G,alignItems:H,alignSelf:z,flex:q,flexDirection:I,flexGrow:F,flexShrink:O,flexWrap:A,justifyContent:D,flexBasis:M,display:X,overflow:Y,overflowX:$,overflowY:_,position:Q,spacing:Z,spacingHorizontal:J,spacingVertical:P,spacingBottom:K,spacingEnd:L,spacingStart:U,spacingTop:rr,offset:or,offsetVertical:er,offsetHorizontal:tr,offsetBottom:nr,offsetEnd:ir,offsetStart:ar,offsetTop:lr,columnGap:sr,rowGap:dr}),hr=o?B:n;return l.jsx(hr,{className:ur,ref:fr,...cr})}));T.displayName="Text";var V=a.forwardRef((function({gap:r,children:o,separator:e,...t},n){return l.jsx(v,{ref:n,flexDirection:"column",columnGap:r,rowGap:r,...t,children:e?E(o,e):o})}));V.displayName="VStack";var j={xs:12,sm:16,md:24,lg:32},N=a.forwardRef((function({name:r,size:o="md",variant:e="outline",color:t="primary",className:n,...i},a){const s=r.metadata?.variants??[],d=s.includes(e)?e:s[0]??"fill",c="multicolor"===d,f=S({flex:"none",color:c?void 0:t,className:b(n,!c&&"[&_path]:fill-current")}),p=j[o];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(r,{size:o,variant:d})})}));N.displayName="Icon";var k=a.memo((function({icon:r,iconProps:o,...e}){if(!r)return null;const t=o??{},n=r;if(n.metadata?.isSvgIcon)return l.jsx(N,{name:n,...t,...e});if(s.isFunction(r)){const o=r(t);return a.isValidElement(o)&&a.cloneElement(o,e)}return a.isValidElement(r)&&a.cloneElement(r,{...t,...r.props,...e})}));
|
3
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Box=v,exports.HStack=W,exports.Icon=N,exports.IconSlot=k,exports.Text=T,exports.VStack=V,exports.createSlot=w,exports.cva=m,exports.cx=b,exports.getStyles=S;
|
package/dist/chunk-V6XWDWEY.js
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
import{createSlot as r,getStyles as e}from"./chunk-37LEXEW4.js";import{getMotionVar as t}from"./chunk-MSCQUXK7.js";import{LazyMotion as l,MotionConfig as n}from"motion/react";import{forwardRef as o,useState as i,useEffect as a,useMemo as s}from"react";import{jsx as d,Fragment as c,jsxs as h}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
2
|
-
var f={damped:{1:{damping:20.585796264350424,stiffness:62.37968115365702},2:{damping:29.312551281312288,stiffness:126.47801753759964},3:{damping:48.92799401356162,stiffness:352.3892336537332},4:{damping:123.42690994256348,stiffness:2242.474548821137}},smooth:{1:{damping:16.46863701148034,stiffness:67.80400125397502},2:{damping:23.45004102504983,stiffness:137.47610601913004},3:{damping:39.1423952108493,stiffness:383.03177571057955},4:{damping:98.7415279540508,stiffness:2437.4723356751488}},subtle:{1:{damping:13.04316051309243,stiffness:67.80400125397502},2:{damping:18.572432491839468,stiffness:137.47610601913004},3:{damping:31.000777006992646,stiffness:383.03177571057955},4:{damping:78.20329013960823,stiffness:2437.4723356751488}},bouncy:{1:{damping:9.229712940600143,stiffness:48.880672622541795},2:{damping:12.634144343496553,stiffness:91.59092691366399},3:{damping:19.40217701790486,stiffness:216.00395877230474},4:{damping:37.541723184430275,stiffness:808.7032559422912}},veryBouncy:{1:{damping:6.902290754946187,stiffness:38.92152745126911},2:{damping:9.155550514215523,stiffness:68.48134828711234},3:{damping:13.244464908166709,stiffness:143.30858570843873},4:{damping:22.17862652876726,stiffness:401.85804919502965}}},u=()=>import("./motionFeatures-SJISLQ4M.js").then((({domAnimation:r})=>r));function m({reducedMotion:r="user",children:e,layoutVariant:o="subtle",layoutSpeed:c="3",colorVariant:h="smooth",colorSpeed:m="3"}){const p=f[o][c],v=f[h][m],[z,g]=i(p),[C,M]=i(v),b={variant:h,speed:m},H=t({...b,control:"stiffness"}),V=t({...b,control:"damping"}),S={variant:o,speed:c},L=t({...S,control:"stiffness"}),w=t({...S,control:"damping"});a((()=>{const r=getComputedStyle(document.documentElement),e={damping:Number(r.getPropertyValue(w)),stiffness:Number(r.getPropertyValue(L))},t={damping:Number(r.getPropertyValue(V)),stiffness:Number(r.getPropertyValue(H))};g(e),M(t)}),[V,H,w,L]);const x=s((()=>({type:"spring",mass:1,...z,layout:z,opacity:C,color:C,borderColor:C,backgroundColor:C})),[C,z]);return d(l,{features:u,strict:!0,children:d(n,{transition:x,reducedMotion:r,children:e})})}var p=r(),v=o((function({className:r,asChild:t,onPress:l,onClick:n=l,backgroundColor:o,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:s,borderBottomStartRadius:c,borderBottomEndRadius:h,borderColor:f,borderStartColor:u,borderEndColor:m,borderTopColor:v,borderBottomColor:z,borderWidth:g,borderVerticalWidth:C,borderHorizontalWidth:M,borderStartWidth:b,borderEndWidth:H,borderTopWidth:V,borderBottomWidth:S,alignContent:L,alignItems:w,alignSelf:x,flex:A,flexDirection:B,flexGrow:y,flexShrink:W,flexWrap:E,justifyContent:P,flexBasis:T,display:_,overflow:k,overflowX:R,overflowY:I,position:N,spacing:j,spacingHorizontal:G,spacingVertical:X,spacingBottom:D,spacingEnd:Q,spacingStart:Y,spacingTop:q,offset:F,offsetVertical:J,offsetHorizontal:K,offsetBottom:U,offsetEnd:O,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,...nr},or){const ir=e({backgroundColor:o,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:s,borderBottomStartRadius:c,borderBottomEndRadius:h,borderColor:f,borderStartColor:u,borderEndColor:m,borderTopColor:v,borderBottomColor:z,borderWidth:g,borderVerticalWidth:C,borderHorizontalWidth:M,borderStartWidth:b,borderEndWidth:H,borderTopWidth:V,borderBottomWidth:S,alignContent:L,alignItems:w,alignSelf:x,flex:A,flexDirection:B,flexGrow:y,flexShrink:W,flexWrap:E,justifyContent:P,flexBasis:T,display:_,overflow:k,overflowX:R,overflowY:I,position:N,spacing:j,spacingHorizontal:G,spacingVertical:X,spacingBottom:D,spacingEnd:Q,spacingStart:Y,spacingTop:q,offset:F,offsetVertical:J,offsetHorizontal:K,offsetBottom:U,offsetEnd:O,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,className:r});return d(t?p:"button",{className:ir,ref:or,onClick:n,...nr})})),z=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return d(c,{children:h("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[d("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),d("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===e)switch(r){case"xs":return d(c,{children:d("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:d("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return d(c,{})};z.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var g=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return d(c,{})};g.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var C=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return d(c,{})};C.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var M=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return d(c,{})};M.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var b=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===e)switch(r){case"xs":return d(c,{children:d("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return d(c,{})};b.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var H=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return d(c,{children:d("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:d("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===e)switch(r){case"xs":return d(c,{children:d("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:d("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return d(c,{children:d("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return d(c,{children:d("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return d(c,{children:d("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return d(c,{})};H.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]};
|
3
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{v as Pressable,m as SpringMotionConfig,C as a,g as e,b as e2,M as o,H as o2,z as t};
|
package/dist/chunk-W4KK6R6C.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import{getStyles as o,cx as r,HStack as t,IconSlot as e,Text as i}from"./chunk-37LEXEW4.js";import{isFunction as a}from"lodash-es";import{jsxs as n,jsx as l}from"react/jsx-runtime";import{memo as d}from"react";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var s=({htmlFor:o,required:t,label:e,children:d,color:s="muted",variant:c="label3",hasError:p=!1,showRequiredAsterisk:f=!1,as:h="label",className:u,...b})=>{const m=e?a(e)?e():e:d;return m?n(i,{variant:c,color:s,as:h,htmlFor:o,className:r("cursor-[inherit]",u),...b,children:[m,t&&f&&l(i,{as:"sup",color:p?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null};function c({width:r,height:t,src:e,alt:i,contentFit:a,backgroundColor:n,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:h,borderStartColor:u,borderEndColor:b,borderTopColor:m,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:W,borderEndWidth:C,borderTopWidth:E,borderBottomWidth:B,alignContent:w,alignItems:v,alignSelf:H,flex:V,flexDirection:I,flexGrow:R,flexShrink:z,flexWrap:y,justifyContent:k,flexBasis:G,display:N,overflow:F,overflowX:j,overflowY:P,position:X,spacing:q,spacingHorizontal:D,spacingVertical:Y,spacingBottom:A,spacingEnd:L,spacingStart:J,spacingTop:K,offset:M,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=o({contentFit:a,backgroundColor:n,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:h,borderStartColor:u,borderEndColor:b,borderTopColor:m,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:W,borderEndWidth:C,borderTopWidth:E,borderBottomWidth:B,alignContent:w,alignItems:v,alignSelf:H,flex:V,flexDirection:I,flexGrow:R,flexShrink:z,flexWrap:y,justifyContent:k,flexBasis:G,display:N,overflow:F,overflowX:j,overflowY:P,position:X,spacing:q,spacingHorizontal:D,spacingVertical:Y,spacingBottom:A,spacingEnd:L,spacingStart:J,spacingTop:K,offset:M,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return l("img",{src:e,alt:i,className:eo,style:{width:r,height:t},...to})}var p=d((function({startIcon:i,endIcon:a,iconProps:d,children:s,size:c,isFilled:p,...f}){const h={helperText:r(o({inputSizeHelperText:c,inputVariantHelperText:"default",inputVariantValueHelperText:p?"filled":"empty"})),helperIcon:o({inputSizeHelperIcon:c,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:p?"filled":"empty"})},u={variant:"outline",...d};return n(t,{gap:"1",alignItems:"center",...f,children:[i&&l(e,{icon:i,...u,iconProps:d,className:h.helperIcon}),l("span",{className:h.helperText,children:s}),a&&l(e,{icon:a,...u,iconProps:d,className:h.helperIcon})]})}));export{s as FormLabel,c as Image,p as InputHelpTextMemo};
|
package/dist/chunk-YR633T75.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var e=require("./chunk-JFLE7LSO.cjs"),r=require("react"),t=require("react/jsx-runtime"),i={horizontal:"w-full",vertical:""},a=r.forwardRef((function({vertical:a=!1,contentPosition:o="center",className:l,layerClassNames:n,children:s,...c},d){const x=a?"vertical":"horizontal",h=a?e.VStack:e.HStack,m=r.useMemo((()=>({root:e.cx(i[x],l,n?.root),label:e.cx(n?.text),line:n?.line})),[l,x,n?.root,n?.text,n?.line]),f=r.useMemo((()=>"vertical"===x?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0}),[x]),v=()=>t.jsx(e.Box,{flex:"1",className:m.line,style:f});return s?t.jsxs(h,{flex:"1",alignItems:"center",className:m.root,ref:d,...c,children:["start"!==o&&t.jsx(v,{}),t.jsx(e.Box,{flex:"none",children:t.jsx(e.Text,{color:"inherit",variant:"inherit",className:m.label,children:s})}),"end"!==o&&t.jsx(v,{})]}):t.jsx(e.Box,{display:"flex",flex:"none",className:m.root,ref:d,...c,children:t.jsx(v,{})})}));/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */a.displayName="DividerCore";var o=r.forwardRef((function({variant:i="primary",layerClassNames:o,...l},n){const s=r.useMemo((()=>({root:e.cx("inherit"!==i&&e.getStyles({dividerVariantRoot:i}),o?.root),text:e.cx("inherit"!==i?e.getStyles({dividerVariantLabel:i}):void 0,o?.text),line:e.cx("inherit"!==i&&e.getStyles({dividerVariantLine:i}),o?.line)})),[o?.line,o?.root,o?.text,i]);return t.jsx(a,{ref:n,layerClassNames:s,...l})}));o.displayName="DividerInternal",exports.DividerInternal=o;
|
package/dist/chunk-YVEYAMML.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import{getStyles as o,cx as r,HStack as t,IconSlot as e,Text as i}from"./chunk-RR45EHLK.js";import{isFunction as a}from"lodash-es";import{jsxs as n,jsx as l}from"react/jsx-runtime";import{memo as d}from"react";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var s=({htmlFor:o,required:t,label:e,children:d,color:s="muted",variant:c="label3",hasError:p=!1,showRequiredAsterisk:f=!1,as:h="label",className:u,...b})=>{const m=e?a(e)?e():e:d;return m?n(i,{variant:c,color:s,as:h,htmlFor:o,className:r("cursor-[inherit]",u),...b,children:[m,t&&f&&l(i,{as:"sup",color:p?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null};function c({width:r,height:t,src:e,alt:i,contentFit:a,backgroundColor:n,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:h,borderStartColor:u,borderEndColor:b,borderTopColor:m,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:B,borderBottomWidth:E,alignContent:w,alignItems:H,alignSelf:R,flex:v,flexDirection:V,flexGrow:I,flexShrink:z,flexWrap:y,justifyContent:k,flexBasis:G,display:N,overflow:F,overflowX:j,overflowY:P,position:q,spacing:D,spacingHorizontal:X,spacingVertical:Y,spacingBottom:A,spacingEnd:K,spacingStart:L,spacingTop:J,offset:M,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=o({contentFit:a,backgroundColor:n,borderRadius:d,borderTopStartRadius:s,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:h,borderStartColor:u,borderEndColor:b,borderTopColor:m,borderBottomColor:g,borderWidth:x,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:B,borderBottomWidth:E,alignContent:w,alignItems:H,alignSelf:R,flex:v,flexDirection:V,flexGrow:I,flexShrink:z,flexWrap:y,justifyContent:k,flexBasis:G,display:N,overflow:F,overflowX:j,overflowY:P,position:q,spacing:D,spacingHorizontal:X,spacingVertical:Y,spacingBottom:A,spacingEnd:K,spacingStart:L,spacingTop:J,offset:M,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return l("img",{src:e,alt:i,className:eo,style:{width:r,height:t},...to})}var p=d((function({startIcon:i,endIcon:a,iconProps:d,children:s,size:c,isFilled:p,...f}){const h={helperText:r(o({inputSizeHelperText:c,inputVariantHelperText:"default",inputVariantValueHelperText:p?"filled":"empty"})),helperIcon:o({inputSizeHelperIcon:c,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:p?"filled":"empty"})},u={variant:"outline",...d};return n(t,{gap:"1",alignItems:"center",...f,children:[i&&l(e,{icon:i,...u,iconProps:d,className:h.helperIcon}),l("span",{className:h.helperText,children:s}),a&&l(e,{icon:a,...u,iconProps:d,className:h.helperIcon})]})}));export{s as FormLabel,c as Image,p as InputHelpTextMemo};
|
File without changes
|
File without changes
|