@yahoo/uds-mobile 1.3.0-beta.9 → 1.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/{rolldown_runtime.cjs → _rolldown/runtime.cjs} +1 -1
- package/dist/bin/fixtures/dist/index.mjs +25 -1
- package/dist/bin/generateTheme.mjs +5 -5
- package/dist/bin/uds-mobile.mjs +10 -10
- package/dist/components/Avatar.cjs +12 -3
- package/dist/components/Avatar.d.cts +11 -3
- package/dist/components/Avatar.d.cts.map +1 -1
- package/dist/components/Avatar.d.mts +11 -3
- package/dist/components/Avatar.d.mts.map +1 -1
- package/dist/components/Avatar.mjs +10 -2
- package/dist/components/Avatar.mjs.map +1 -1
- package/dist/components/Badge.cjs +14 -3
- package/dist/components/Badge.d.cts +24 -6
- package/dist/components/Badge.d.cts.map +1 -1
- package/dist/components/Badge.d.mts +24 -6
- package/dist/components/Badge.d.mts.map +1 -1
- package/dist/components/Badge.mjs +12 -2
- package/dist/components/Badge.mjs.map +1 -1
- package/dist/components/Box.cjs +14 -10
- package/dist/components/Box.d.cts +15 -10
- package/dist/components/Box.d.cts.map +1 -1
- package/dist/components/Box.d.mts +15 -10
- package/dist/components/Box.d.mts.map +1 -1
- package/dist/components/Box.mjs +12 -9
- package/dist/components/Box.mjs.map +1 -1
- package/dist/components/Button.cjs +14 -4
- package/dist/components/Button.d.cts +21 -6
- package/dist/components/Button.d.cts.map +1 -1
- package/dist/components/Button.d.mts +21 -6
- package/dist/components/Button.d.mts.map +1 -1
- package/dist/components/Button.mjs +11 -2
- package/dist/components/Button.mjs.map +1 -1
- package/dist/components/Checkbox.cjs +15 -6
- package/dist/components/Checkbox.d.cts +14 -5
- package/dist/components/Checkbox.d.cts.map +1 -1
- package/dist/components/Checkbox.d.mts +14 -5
- package/dist/components/Checkbox.d.mts.map +1 -1
- package/dist/components/Checkbox.mjs +12 -4
- package/dist/components/Checkbox.mjs.map +1 -1
- package/dist/components/Chip.cjs +20 -3
- package/dist/components/Chip.d.cts +28 -6
- package/dist/components/Chip.d.cts.map +1 -1
- package/dist/components/Chip.d.mts +28 -6
- package/dist/components/Chip.d.mts.map +1 -1
- package/dist/components/Chip.mjs +18 -2
- package/dist/components/Chip.mjs.map +1 -1
- package/dist/components/HStack.cjs +8 -5
- package/dist/components/HStack.d.cts +9 -5
- package/dist/components/HStack.d.cts.map +1 -1
- package/dist/components/HStack.d.mts +9 -5
- package/dist/components/HStack.d.mts.map +1 -1
- package/dist/components/HStack.mjs +6 -4
- package/dist/components/HStack.mjs.map +1 -1
- package/dist/components/Icon.cjs +16 -5
- package/dist/components/Icon.d.cts +14 -3
- package/dist/components/Icon.d.cts.map +1 -1
- package/dist/components/Icon.d.mts +14 -3
- package/dist/components/Icon.d.mts.map +1 -1
- package/dist/components/Icon.mjs +14 -4
- package/dist/components/Icon.mjs.map +1 -1
- package/dist/components/IconButton.cjs +23 -4
- package/dist/components/IconButton.d.cts +28 -8
- package/dist/components/IconButton.d.cts.map +1 -1
- package/dist/components/IconButton.d.mts +28 -8
- package/dist/components/IconButton.d.mts.map +1 -1
- package/dist/components/IconButton.mjs +21 -3
- package/dist/components/IconButton.mjs.map +1 -1
- package/dist/components/IconSlot.cjs +8 -2
- package/dist/components/IconSlot.d.cts +7 -2
- package/dist/components/IconSlot.d.cts.map +1 -1
- package/dist/components/IconSlot.d.mts +7 -2
- package/dist/components/IconSlot.d.mts.map +1 -1
- package/dist/components/IconSlot.mjs +6 -1
- package/dist/components/IconSlot.mjs.map +1 -1
- package/dist/components/Image.cjs +18 -3
- package/dist/components/Image.d.cts +18 -3
- package/dist/components/Image.d.cts.map +1 -1
- package/dist/components/Image.d.mts +18 -3
- package/dist/components/Image.d.mts.map +1 -1
- package/dist/components/Image.mjs +16 -2
- package/dist/components/Image.mjs.map +1 -1
- package/dist/components/Input.cjs +19 -6
- package/dist/components/Input.d.cts +19 -6
- package/dist/components/Input.d.cts.map +1 -1
- package/dist/components/Input.d.mts +19 -6
- package/dist/components/Input.d.mts.map +1 -1
- package/dist/components/Input.mjs +17 -5
- package/dist/components/Input.mjs.map +1 -1
- package/dist/components/Link.cjs +19 -4
- package/dist/components/Link.d.cts +21 -4
- package/dist/components/Link.d.cts.map +1 -1
- package/dist/components/Link.d.mts +21 -4
- package/dist/components/Link.d.mts.map +1 -1
- package/dist/components/Link.mjs +16 -2
- package/dist/components/Link.mjs.map +1 -1
- package/dist/components/Pressable.cjs +17 -5
- package/dist/components/Pressable.d.cts +18 -5
- package/dist/components/Pressable.d.cts.map +1 -1
- package/dist/components/Pressable.d.mts +18 -5
- package/dist/components/Pressable.d.mts.map +1 -1
- package/dist/components/Pressable.mjs +14 -3
- package/dist/components/Pressable.mjs.map +1 -1
- package/dist/components/Radio.cjs +15 -6
- package/dist/components/Radio.d.cts +14 -5
- package/dist/components/Radio.d.cts.map +1 -1
- package/dist/components/Radio.d.mts +14 -5
- package/dist/components/Radio.d.mts.map +1 -1
- package/dist/components/Radio.mjs +12 -4
- package/dist/components/Radio.mjs.map +1 -1
- package/dist/components/Screen.cjs +9 -3
- package/dist/components/Screen.d.cts +15 -3
- package/dist/components/Screen.d.cts.map +1 -1
- package/dist/components/Screen.d.mts +15 -3
- package/dist/components/Screen.d.mts.map +1 -1
- package/dist/components/Screen.mjs +7 -2
- package/dist/components/Screen.mjs.map +1 -1
- package/dist/components/Switch.cjs +20 -4
- package/dist/components/Switch.d.cts +18 -3
- package/dist/components/Switch.d.cts.map +1 -1
- package/dist/components/Switch.d.mts +18 -3
- package/dist/components/Switch.d.mts.map +1 -1
- package/dist/components/Switch.mjs +17 -2
- package/dist/components/Switch.mjs.map +1 -1
- package/dist/components/Text.cjs +16 -6
- package/dist/components/Text.d.cts +18 -6
- package/dist/components/Text.d.cts.map +1 -1
- package/dist/components/Text.d.mts +18 -6
- package/dist/components/Text.d.mts.map +1 -1
- package/dist/components/Text.mjs +14 -5
- package/dist/components/Text.mjs.map +1 -1
- package/dist/components/VStack.cjs +8 -5
- package/dist/components/VStack.d.cts +9 -5
- package/dist/components/VStack.d.cts.map +1 -1
- package/dist/components/VStack.d.mts +9 -5
- package/dist/components/VStack.d.mts.map +1 -1
- package/dist/components/VStack.mjs +6 -4
- package/dist/components/VStack.mjs.map +1 -1
- package/dist/icons/dist/glyphMap.d.cts +0 -1
- package/dist/icons/dist/glyphMap.d.cts.map +1 -1
- package/dist/icons/dist/glyphMap.d.mts +0 -1
- package/dist/icons/dist/glyphMap.d.mts.map +1 -1
- package/dist/icons/dist/svgMap.d.cts +0 -1
- package/dist/icons/dist/svgMap.d.cts.map +1 -1
- package/dist/icons/dist/svgMap.d.mts +0 -1
- package/dist/icons/dist/svgMap.d.mts.map +1 -1
- package/dist/motion-tokens/dist/index.d.cts +1 -3
- package/dist/motion-tokens/dist/index.d.cts.map +1 -1
- package/dist/motion-tokens/dist/index.d.mts +1 -3
- package/dist/motion-tokens/dist/index.d.mts.map +1 -1
- package/dist/motion.cjs +1 -0
- package/dist/motion.d.cts +0 -1
- package/dist/motion.d.cts.map +1 -1
- package/dist/motion.d.mts +0 -1
- package/dist/motion.d.mts.map +1 -1
- package/dist/types/dist/index.d.cts +1 -3
- package/dist/types/dist/index.d.cts.map +1 -1
- package/dist/types/dist/index.d.mts +1 -3
- package/dist/types/dist/index.d.mts.map +1 -1
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts.map +1 -1
- package/generated/styles.cjs +96 -0
- package/generated/styles.d.ts +47 -0
- package/generated/styles.mjs +96 -0
- package/generated/unistyles.d.ts +79 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":["ElementType","HTMLAttributes","PropsWithChildren","ReactElement","ReactNode","Ref","IntRange","IconPixelSize","IconSize","IconVariant","GenericIconComponent","React","ComponentType","MaxLengthArray","T","N","A","ExtractUrlFromFontFaceRule","Percentage","PixelsUnit","RemsUnit","UnitlessUnit","PercentageUnit","Hue","HueStep","SpectrumColor","SharedPrimaryPaletteAlias","SharedSecondaryPaletteAlias","SharedPaletteAlias","DeprecatedAccentAlias","OpacityStep","BackgroundPaletteAlias","BackgroundPalette","PaletteValue","Record","ForegroundPaletteAlias","ForegroundPalette","LinePaletteAlias","LinePalette","ShadowPaletteAlias","ShadowPalette","AlwaysPaletteAliasWithPrefix","DeprecatedAlwaysPaletteAlias","AlwaysPaletteAlias","PaletteType","PaletteConfig","Palette","key","ForegroundColor","LineColor","ElevationAlias","BackgroundColor","ShadowColor","PropertyToPaletteAliasMap","ShadowSpectrumColor","ShadowPaletteColor","ShadowAlwaysColor","ShadowColorConfig","ShadowOffset","SpacingAlias","Exclude","ShadowOpacity","ShadowSpreadRadius","ShadowPreset","ShadowVariant","ShadowVariantWithElevation","ShadowVariantInvert","ShadowVariantWithInvert","ShadowVariantConfig","ShadowType","ShadowTypeConfig","ShadowConfig","BreakpointValue","BreakpointsConfig","Breakpoint","BreakpointWithBase","TextVariantTypography","TextVariantUi","TextVariantWithoutEmphasized","TextVariant","FontAlias","FontType","FontID","FontWeightNumeric","FontWeightDescriptive","TextTransform","TextDecorationLine","LineClampAlias","LineHeight","FontSize","TextTransformConfig","FontSizeConfig","FontFamilyConfig","FontWeightConfig","FontSlantConfig","FontWidthConfig","LineHeightConfig","TextProperty","TypographyUnitValue","TypographyResponsiveProperty","TypographyStyleProperty","TypographyStyle","TypographyConfig","FontConfig","TShirtSize","TShirtSizeCommon","Extract","AvatarSize","AvatarSizeConfig","AvatarShape","BorderRadius","IconSizeConfig","SpacingConfig","AlwaysPaletteColor","ElevationSurfaceColor","ElevationBackgroundFillColor","ElevationBorderColor","RGBColorValue","RGBAUnit","ElevationCustomShadows","RGBUnit","ElevationPreset","BorderWidth","ElevationLevel","ElevationConfig","ColorMode","ElevationGlobalRampSettings","ElevationGlobalRampConfig","BorderRadiusConfig","BorderWidthWithElevation","BorderWidthConfig","ColorModeForApp","ColorModeConfig","ColorsConfig","SpectrumConfig","SpectrumValue","ScaleMode","ScaleModeForApp","ScaleConfig","ScaleModeConfig","ButtonSize","ButtonPalette","ButtonVariant","ScaleEffect","ButtonVariantFlat","ButtonSpectrumColor","ButtonPaletteColor","IconButtonSize","InputSize","PlatformMode","HighContrastMode","RegionMode","Modes","Animation","TransitionDelay","TransitionDuration","TransitionTiming","MotionVariant","MotionVariantSpeed","MotionSpringConfigOptions","MotionSpringConfig","MotionVariantValues","MotionConfig","FontCssVar","MotionCssVar","UdsCssVar","AriaAttribute","DataAttribute","Flex","FlexGrow","FlexShrink","FlexAlignContent","FlexAlignItems","FlexAlignSelf","FlexDirection","FlexWrap","FlexJustifyContent","FlexBasis","Display","Overflow","Position","ImageStyleProps","BorderStyleProps","NestedBorderRadiusStyleProps","ShadowStyleProps","LayoutStyleProps","SpacingStyleProps","FlexStyleProps","StateStyleProps","TextStyleProps","BackgroundStyleProps","CustomSizingStyleProps","SizeStyleProps","StyleProps","UniversalBoxProps","UniversalStackProps","Omit","UniversalTextProps","UniversalIconProps","Icon","SVGElementProps","SVGSVGElement","IconPropsWithSVGProps","IconSlotRenderProps","BackwardsCompatibleReactElement","UniversalIconSlot","UniversalPressableProps","UniversalIconButtonProps","UniversalButtonProps","IconSlotType","Pick","UniversalImageProps","ImgElementProps","HTMLImageElement","ImgHTMLAttributes","ImagePropsWithImgProps","UniversalFormLabelProps","UniversalInputProps","DividerVariant","UniversalDividerProps","LinkVariant","LinkTextVariant","UniversalLinkProps","CheckboxValue","CheckboxVariant","CheckboxSize","UniversalCheckboxProps","RadioValue","RadioVariant","RadioSize","UniversalRadioProps","UniversalRadioGroupProps","SwitchSize","UniversalSwitchProps","ChipVariant","ChipSize","UniversalChipBaseProps","UniversalChipDismissibleProps","UniversalChipToggleProps","UniversalChipButtonProps","UniversalChipLinkProps","UniversalChipProps","BadgeVariant","BadgeSize","UniversalBadgeProps","AvatarVariant","AvatarAbbreviationStrategy","UniversalAvatarBaseProps","UniversalAvatarImageProps","UniversalAvatarTextProps","UniversalAvatarIconProps","UniversalAvatarProps","UniversalMenuItemProps","ConfigurableComponentName","UniversalTokensConfigAutoBase","UniversalTokensConfigBase","GlobalDefaultsConfig","UniversalTokensConfig","ConfigAuto"],"sources":["../../../../types/dist/index.d.ts"],"sourcesContent":["\nimport { ElementType, HTMLAttributes, PropsWithChildren, ReactElement, ReactNode, Ref } from \"react\";\nimport { IntRange } from \"type-fest\";\n\n//#region src/index.d.ts\n/**\n * Icon pixel sizes\n */\ntype IconPixelSize = 12 | 16 | 24 | 32;\n/**\n * Icon size tokens\n */\ntype IconSize = 'xs' | 'sm' | 'md' | 'lg';\n/**\n * Icon variant (fill, outline, multicolor)\n */\ntype IconVariant = 'fill' | 'outline' | 'multicolor';\n/**\n * Generic icon component type. Platforms should provide their own concrete type.\n * - Web: SvgIcon from @yahoo/uds-icons\n * - Mobile: Component from @yahoo/uds-icons/svgMap\n */\ntype GenericIconComponent = React.ComponentType<any>;\n/** Ensure an array has a max length of N */\ntype MaxLengthArray<T, N extends number, A extends T[] = []> = A['length'] extends N ? A : T[] extends A ? T[] : A | MaxLengthArray<T, N, [...A, T]>;\ntype ExtractUrlFromFontFaceRule<T extends string> = T extends `url('${infer U}') format('woff2')` ? U : never;\ntype Percentage = IntRange<0, 101>;\ntype PixelsUnit = {\n value: number;\n type: 'px';\n};\ntype RemsUnit = {\n value: number;\n type: 'rem';\n};\ntype UnitlessUnit = {\n value: number;\n type: 'unitless';\n};\ntype PercentageUnit = {\n value: Percentage;\n type: 'percentage';\n};\ntype Hue = 'gray' | 'purple' | 'indigo' | 'blue' | 'cyan' | 'teal' | 'mint' | 'green' | 'lime' | 'citron' | 'yellow' | 'brown' | 'nude' | 'orange' | 'sunset' | 'red' | 'rose' | 'pink' | 'magenta' | 'carbon';\ntype HueStep = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '15';\ntype SpectrumColor = `${Hue}-${HueStep}`;\ntype SharedPrimaryPaletteAlias = 'brand' | 'alert' | 'positive' | 'warning' | 'info';\ntype SharedSecondaryPaletteAlias = `${SharedPrimaryPaletteAlias}-secondary`;\ntype SharedPaletteAlias = SharedPrimaryPaletteAlias | SharedSecondaryPaletteAlias;\ntype DeprecatedAccentAlias = 'accent';\ntype OpacityStep = `${Percentage}`;\ntype BackgroundPaletteAlias = 'primary' | 'secondary' | DeprecatedAccentAlias | SharedPaletteAlias;\ntype BackgroundPalette = Record<BackgroundPaletteAlias, PaletteValue>;\ntype ForegroundPaletteAlias = 'primary' | 'secondary' | 'tertiary' | 'muted' | 'on-color' | DeprecatedAccentAlias | SharedPaletteAlias;\ntype ForegroundPalette = Record<ForegroundPaletteAlias, PaletteValue>;\ntype LinePaletteAlias = 'primary' | 'secondary' | 'tertiary' | 'muted' | DeprecatedAccentAlias | SharedPaletteAlias;\ntype LinePalette = Record<LinePaletteAlias, PaletteValue>;\ntype ShadowPaletteAlias = 'primary' | 'secondary';\ntype ShadowPalette = Record<ShadowPaletteAlias, PaletteValue>;\n/** Always palette aliases with 'always/' prefix */\ntype AlwaysPaletteAliasWithPrefix = 'always/white' | 'always/black' | 'always/transparent' | 'always/current' | 'always/brand' | 'always/accent';\n/** Deprecated always palette aliases (without prefix) */\ntype DeprecatedAlwaysPaletteAlias = 'white' | 'black' | 'transparent' | 'current';\ntype AlwaysPaletteAlias = DeprecatedAlwaysPaletteAlias | AlwaysPaletteAliasWithPrefix;\ntype PaletteType = keyof PaletteConfig;\ntype PaletteValue = {\n hue: Hue;\n step: HueStep;\n opacity?: OpacityStep;\n};\ntype Palette = { [key in PaletteType]: keyof PaletteConfig[key] };\ntype PaletteConfig = {\n background: BackgroundPalette;\n foreground: ForegroundPalette;\n line: LinePalette;\n shadow: ShadowPalette;\n};\ntype ForegroundColor = ForegroundPaletteAlias | AlwaysPaletteAlias;\ntype LineColor = LinePaletteAlias | AlwaysPaletteAlias | ElevationAlias;\ntype BackgroundColor = BackgroundPaletteAlias | AlwaysPaletteAlias | ElevationAlias;\ntype ShadowColor = ShadowPaletteAlias | SpectrumColor | AlwaysPaletteAlias | ElevationAlias;\ntype PropertyToPaletteAliasMap = {\n backgroundColor: BackgroundColor;\n borderColor: LineColor;\n color: ForegroundColor;\n};\ntype ShadowSpectrumColor = {\n type: 'spectrum';\n value: SpectrumColor;\n};\ntype ShadowPaletteColor = {\n type: 'palette';\n value: ShadowColor;\n};\ntype ShadowAlwaysColor = {\n type: 'always';\n value: AlwaysPaletteAlias;\n};\ntype ShadowColorConfig = ShadowPaletteColor | ShadowSpectrumColor | ShadowAlwaysColor;\ntype ShadowOffset = `-${Exclude<SpacingAlias, '0'>}` | SpacingAlias;\ntype ShadowOpacity = OpacityStep;\ntype ShadowSpreadRadius = `-${Exclude<SpacingAlias, '0'>}` | SpacingAlias;\ntype ShadowPreset = {\n offsetX: ShadowOffset;\n offsetY: ShadowOffset;\n blur: SpacingAlias;\n spread: ShadowSpreadRadius;\n color: ShadowColorConfig;\n opacity: ShadowOpacity;\n};\ntype ShadowVariant = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\ntype ShadowVariantWithElevation = ShadowVariant | ElevationAlias;\ntype ShadowVariantInvert = `${Exclude<ShadowVariant, 'none'>}-invert`;\ntype ShadowVariantWithInvert = ShadowVariant | ShadowVariantInvert;\ntype ShadowVariantConfig = MaxLengthArray<ShadowPreset, 3>;\ntype ShadowType = 'drop' | 'inset';\ntype ShadowTypeConfig = Record<ShadowVariant, ShadowVariantConfig>;\ntype ShadowConfig = {\n drop: Record<ShadowVariant, ShadowVariantConfig>;\n inset: Record<ShadowVariant | ShadowVariantInvert, ShadowVariantConfig>;\n};\ntype BreakpointValue = PixelsUnit;\ntype BreakpointsConfig = {\n sm: BreakpointValue;\n md: BreakpointValue;\n lg: BreakpointValue;\n xl: BreakpointValue;\n '2xl': BreakpointValue;\n};\ntype Breakpoint = keyof BreakpointsConfig;\ntype BreakpointWithBase = Breakpoint | 'base';\ntype TextVariantTypography = 'display1' | 'display2' | 'display3' | 'title1' | 'title2' | 'title3' | 'title4' | 'headline1' | 'body1' | 'label1' | 'label2' | 'label3' | 'label4' | 'caption1' | 'caption2' | 'legal1';\ntype TextVariantUi = 'ui1' | 'ui2' | 'ui3' | 'ui4' | 'ui5' | 'ui6';\ntype TextVariantWithoutEmphasized = TextVariantTypography | TextVariantUi;\ntype TextVariant = TextVariantWithoutEmphasized | `${TextVariantWithoutEmphasized}/emphasized`;\ntype FontAlias = 'sans' | 'sans-alt' | 'serif' | 'serif-alt' | 'mono';\ntype FontType = 'sans' | 'serif' | 'mono';\n/**\n * Font ID - specific font family identifier.\n * Defined as string to avoid dependency on FONT_DECLARATIONS_MAP.\n * @yahoo/uds narrows this to specific font IDs.\n */\ntype FontID = string;\ntype FontWeightNumeric = `${IntRange<100, 901, 100>}`;\ntype FontWeightDescriptive = 'thin' | 'extralight' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';\ntype TextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';\ntype TextDecorationLine = 'none' | 'underline';\ntype LineClampAlias = `${IntRange<1, 7>}`;\ntype LineHeight = number;\ntype FontSize = number;\ntype TextTransformConfig = Record<TextVariantWithoutEmphasized, TextTransform>;\ntype FontSizeConfig = Record<TextVariantWithoutEmphasized, FontSize>;\ntype FontFamilyConfig = Record<TextVariantWithoutEmphasized, FontAlias>;\ntype FontWeightConfig = Record<TextVariantWithoutEmphasized, number>;\ntype FontSlantConfig = Record<TextVariantWithoutEmphasized, number>;\ntype FontWidthConfig = Record<TextVariantWithoutEmphasized, number>;\ntype LineHeightConfig = Record<TextVariantWithoutEmphasized, LineHeight>;\ntype TextProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform' | 'letterSpacing';\ntype TypographyUnitValue = PixelsUnit | UnitlessUnit;\ntype TypographyResponsiveProperty<T> = {\n base: T;\n breakpoints: Record<Breakpoint, T>;\n};\ntype TypographyStyleProperty = keyof TypographyStyle;\ntype TypographyStyle = {\n fontFamily: TypographyResponsiveProperty<FontAlias>;\n textTransform: TypographyResponsiveProperty<TextTransform>;\n fontSize: TypographyResponsiveProperty<TypographyUnitValue>;\n fontWeight: TypographyResponsiveProperty<TypographyUnitValue>;\n lineHeight: TypographyResponsiveProperty<TypographyUnitValue>;\n fontSlant: TypographyResponsiveProperty<TypographyUnitValue>;\n fontWidth: TypographyResponsiveProperty<TypographyUnitValue>;\n letterSpacing: TypographyResponsiveProperty<PixelsUnit>;\n};\ntype TypographyConfig = Record<TextVariant, TypographyStyle>;\ntype FontConfig = Record<FontAlias, FontID>;\ntype TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';\ntype TShirtSizeCommon = Extract<TShirtSize, 'sm' | 'md' | 'lg'>;\ntype AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';\ntype AvatarSizeConfig = Record<AvatarSize, number>;\ntype AvatarShape = BorderRadius;\ntype IconSizeConfig = Record<IconSize, number>;\ntype SpacingAlias = '0' | 'px' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '4.5' | '5' | '5.5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40' | '44' | '48' | '52' | '56' | '60' | '64' | '72' | '80' | '96';\ntype SpacingConfig = Record<SpacingAlias, number>;\ntype AlwaysPaletteColor<T> = {\n type: 'always';\n value: T;\n};\ntype ElevationSurfaceColor = AlwaysPaletteColor<AlwaysPaletteAlias> | {\n type: 'spectrum';\n value: {\n hue: Hue;\n step: HueStep;\n };\n};\ntype ElevationBackgroundFillColor = {\n type: 'background';\n value: BackgroundPaletteAlias;\n} | ElevationSurfaceColor;\ntype ElevationBorderColor = {\n type: 'line';\n value: LinePaletteAlias;\n} | ElevationSurfaceColor;\ntype RGBColorValue = `${IntRange<0, 256>}`;\ntype RGBAUnit = {\n type: 'rgba';\n r: RGBColorValue;\n g: RGBColorValue;\n b: RGBColorValue;\n a: OpacityStep;\n};\ntype ElevationCustomShadows = [ShadowPreset, ShadowPreset, ShadowPreset, ShadowPreset];\ntype RGBUnit = {\n type: 'rgb';\n r: RGBColorValue;\n g: RGBColorValue;\n b: RGBColorValue;\n};\ntype ElevationPreset = {\n surfaceColor: ElevationSurfaceColor & {\n opacity: OpacityStep;\n };\n layerWithBackgroundFill: boolean;\n backgroundFill: ElevationBackgroundFillColor;\n backgroundBlurRadius: number;\n finalBackgroundOpacity: OpacityStep;\n finalBackgroundValue: RGBAUnit;\n fallbackBlurredBackgroundValue: RGBUnit;\n borderColor: ElevationBorderColor;\n borderWidth: BorderWidth;\n dropShadow: ShadowVariant | ElevationCustomShadows;\n};\ntype ElevationLevel = '0' | '1' | '2' | '3' | '4' | '5';\ntype ElevationAlias = `elevation-${ElevationLevel}`;\ntype ElevationConfig = Record<ElevationLevel, Record<ColorMode, ElevationPreset>>;\ntype ElevationGlobalRampSettings = {\n progression: Percentage;\n ambientLight: Percentage;\n surfaceColor: ElevationSurfaceColor;\n borderColor: ElevationBorderColor;\n shadowDistance: Percentage;\n shadowOpacity: Percentage;\n shadowColor: ShadowColorConfig;\n backgroundOpacity: Percentage;\n backgroundBlurRadius: Percentage;\n};\ntype ElevationGlobalRampConfig = {\n isAdvancedModeEnabled: boolean;\n colorMode: Record<ColorMode, ElevationGlobalRampSettings>;\n};\ntype BorderRadius = TShirtSize;\ntype BorderRadiusConfig = Record<BorderRadius, number>;\ntype BorderWidth = 'none' | 'thin' | 'medium' | 'thick';\ntype BorderWidthWithElevation = BorderWidth | ElevationAlias;\ntype BorderWidthConfig = Record<BorderWidth, number>;\ntype ColorMode = 'light' | 'dark';\ntype ColorModeForApp = ColorMode | 'system';\ntype ColorModeConfig = Record<ColorMode, ColorsConfig>;\ntype ColorsConfig = {\n palette: PaletteConfig;\n spectrum: SpectrumConfig;\n};\ntype SpectrumValue = Record<HueStep, string>;\ntype SpectrumConfig = Record<Hue, SpectrumValue>;\ntype ScaleMode = 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge';\ntype ScaleModeForApp = ScaleMode | 'system';\ntype ScaleConfig = {\n avatarSizes: AvatarSizeConfig;\n iconSizes: IconSizeConfig;\n borderRadius: BorderRadiusConfig;\n borderWidth: BorderWidthConfig;\n};\ntype ScaleModeConfig = Record<ScaleMode, ScaleConfig>;\ntype ButtonSize = Extract<TShirtSize, 'xs' | 'sm' | 'md' | 'lg'>;\ntype ButtonPalette = 'brand' | 'accent' | 'alert' | 'positive' | 'warning' | 'info';\ntype ButtonVariant = 'primary' | 'secondary' | 'tertiary';\ntype ScaleEffect = 'none' | 'up' | 'down';\ntype ButtonVariantFlat = ButtonVariant | `${Exclude<ButtonPalette, 'accent'>}` | `${Exclude<ButtonPalette, 'accent'>}-${Exclude<ButtonVariant, 'primary'>}`;\ntype ButtonSpectrumColor = {\n type: 'spectrum';\n value: SpectrumColor;\n};\ntype ButtonPaletteColor<T> = {\n type: 'palette';\n value: T;\n};\ntype IconButtonSize = Extract<TShirtSize, 'xs' | TShirtSizeCommon | 'xl'>;\ntype InputSize = Extract<TShirtSizeCommon, 'md' | 'lg'>;\ntype PlatformMode = 'web' | 'ios' | 'android';\ntype HighContrastMode = boolean;\ntype RegionMode = '🇺🇸 US' | '🇩🇪 DE' | '🇫🇷 FR' | '🇨🇳 CN';\ninterface Modes {\n colorMode: ColorMode;\n scaleMode: ScaleMode;\n}\ntype Animation = 'none' | 'spin' | 'ping' | 'pulse' | 'bounce';\ntype TransitionDelay = '0' | '75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000';\ntype TransitionDuration = '0' | '75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000';\ntype TransitionTiming = 'linear' | 'in' | 'out' | 'in-out';\ntype MotionVariant = 'damped' | 'smooth' | 'subtle' | 'bouncy' | 'veryBouncy';\ntype MotionVariantSpeed = '1' | '2' | '3' | '4';\ntype MotionSpringConfigOptions = 'damping' | 'stiffness';\ntype MotionSpringConfig = {\n damping: number;\n stiffness: number;\n};\ntype MotionVariantValues = { [key in MotionVariantSpeed]: MotionSpringConfig };\ntype MotionConfig = Record<MotionVariant, MotionVariantValues>;\ntype FontCssVar = `--uds-font-${FontAlias}`;\ntype MotionCssVar = `--uds-motion-${MotionVariant}-${MotionVariantSpeed}-${keyof MotionSpringConfig}`;\ntype UdsCssVar = FontCssVar;\ntype AriaAttribute = 'busy' | 'checked' | 'disabled' | 'expanded' | 'hidden' | 'pressed' | 'readonly' | 'required' | 'selected' | 'invalid';\ntype DataAttribute = 'active' | 'active-item' | 'autofill' | 'backdrop' | 'enter' | 'leave' | 'focus-visible';\ntype Flex = '1' | 'auto' | 'initial' | 'none';\ntype FlexGrow = '0' | '1' | '2' | '3';\ntype FlexShrink = '0' | '1';\ntype FlexAlignContent = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'space-between' | 'space-around';\ntype FlexAlignItems = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';\ntype FlexAlignSelf = 'auto' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';\ntype FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';\ntype FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';\ntype FlexJustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';\ntype FlexBasis = 'min-content';\ntype Display = 'block' | 'inline-block' | 'inline' | 'flex' | 'inline-flex' | 'table' | 'inline-table' | 'table-caption' | 'table-cell' | 'table-column' | 'table-column-group' | 'table-footer-group' | 'table-header-group' | 'table-row-group' | 'table-row' | 'flow-root' | 'grid' | 'contents' | 'none';\ntype Overflow = 'auto' | 'hidden' | 'clip' | 'visible' | 'scroll';\ntype Position = 'static' | 'fixed' | 'absolute' | 'relative' | 'sticky';\ntype ImageStyleProps = {\n contentFit?: 'cover' | 'contain' | 'fill' | 'none' | 'scale-down';\n};\ninterface BorderStyleProps {\n borderRadius?: BorderRadius;\n borderTopStartRadius?: BorderRadius;\n borderTopEndRadius?: BorderRadius;\n borderBottomStartRadius?: BorderRadius;\n borderBottomEndRadius?: BorderRadius;\n borderColor?: LineColor;\n borderStartColor?: LineColor;\n borderEndColor?: LineColor;\n borderTopColor?: LineColor;\n borderBottomColor?: LineColor;\n borderWidth?: BorderWidthWithElevation;\n borderVerticalWidth?: BorderWidthWithElevation;\n borderHorizontalWidth?: BorderWidthWithElevation;\n borderStartWidth?: BorderWidthWithElevation;\n borderEndWidth?: BorderWidthWithElevation;\n borderTopWidth?: BorderWidthWithElevation;\n borderBottomWidth?: BorderWidthWithElevation;\n}\ninterface NestedBorderRadiusStyleProps {\n nestedBorderRadius?: boolean | 'first' | 'last';\n nestedBorderRadiusSize?: BorderRadius;\n nestedBorderRadiusSpacing?: SpacingAlias;\n nestedBorderRadiusWidth?: BorderWidthWithElevation;\n}\ninterface ShadowStyleProps {\n dropShadow?: ShadowVariantWithElevation;\n insetShadow?: Exclude<ShadowVariant, ElevationAlias> | ShadowVariantInvert;\n}\ninterface LayoutStyleProps {\n display?: Display;\n overflow?: Overflow;\n overflowX?: Overflow;\n overflowY?: Overflow;\n position?: Position;\n}\ninterface SpacingStyleProps {\n spacing?: SpacingAlias;\n spacingHorizontal?: SpacingAlias;\n spacingVertical?: SpacingAlias;\n spacingBottom?: SpacingAlias;\n spacingEnd?: SpacingAlias;\n spacingStart?: SpacingAlias;\n spacingTop?: SpacingAlias;\n offset?: SpacingAlias;\n offsetVertical?: SpacingAlias;\n offsetHorizontal?: SpacingAlias;\n offsetBottom?: SpacingAlias;\n offsetEnd?: SpacingAlias;\n offsetStart?: SpacingAlias;\n offsetTop?: SpacingAlias;\n columnGap?: SpacingAlias;\n rowGap?: SpacingAlias;\n}\ninterface FlexStyleProps {\n alignContent?: FlexAlignContent;\n alignItems?: FlexAlignItems;\n alignSelf?: FlexAlignSelf;\n flex?: Flex;\n flexDirection?: FlexDirection;\n flexGrow?: FlexGrow;\n flexShrink?: FlexShrink;\n flexWrap?: FlexWrap;\n justifyContent?: FlexJustifyContent;\n flexBasis?: FlexBasis;\n}\ninterface StateStyleProps {\n interactable?: boolean;\n focusable?: boolean;\n}\ninterface TextStyleProps {\n color?: ForegroundColor;\n placeholderColor?: ForegroundColor;\n fontFamily?: TextVariant | FontAlias;\n fontSize?: TextVariant;\n letterSpacing?: TextVariant;\n /** @deprecated Consider using an `emphasized` text variant instead. */\n fontWeight?: TextVariant | FontWeightDescriptive;\n lineHeight?: TextVariant;\n textAlign?: 'center' | 'justify' | 'start' | 'end';\n textTransform?: TextVariant | TextTransform;\n}\ninterface BackgroundStyleProps {\n backgroundColor?: BackgroundColor;\n}\ntype CustomSizingStyleProps = {\n iconSize?: IconSize;\n avatarSize?: AvatarSize;\n};\ninterface SizeStyleProps {\n width?: 'full' | 'fit' | 'screen';\n height?: 'full' | 'fit' | 'screen';\n}\ntype StyleProps = BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps & ImageStyleProps & CustomSizingStyleProps & ShadowStyleProps & SizeStyleProps & NestedBorderRadiusStyleProps;\ninterface UniversalBoxProps extends PropsWithChildren, BackgroundStyleProps, BorderStyleProps, FlexStyleProps, LayoutStyleProps, SpacingStyleProps, SizeStyleProps, ShadowStyleProps, NestedBorderRadiusStyleProps {\n asChild?: boolean;\n as?: ElementType;\n}\ninterface UniversalStackProps extends Omit<UniversalBoxProps, 'flexDirection'> {\n gap?: SpacingAlias;\n separator?: ReactNode | ((index: number) => ReactNode);\n}\ninterface UniversalTextProps extends PropsWithChildren, TextStyleProps, UniversalBoxProps {\n variant?: TextVariant;\n color?: ForegroundColor;\n}\n/**\n * Universal icon props with generic icon type.\n * @template Icon - The icon component type. Defaults to GenericIconComponent.\n */\ninterface UniversalIconProps<Icon = GenericIconComponent> {\n name: Icon;\n size?: IconSize;\n variant?: IconVariant;\n color?: ForegroundColor;\n}\ntype SVGElementProps = Omit<HTMLAttributes<SVGSVGElement>, 'color'>;\ninterface IconPropsWithSVGProps extends UniversalIconProps, SVGElementProps {}\ntype IconSlotRenderProps = Omit<IconPropsWithSVGProps, 'name'>;\ntype BackwardsCompatibleReactElement = null | undefined | ReactElement;\n/**\n * Universal icon slot type with generic icon type.\n * @template Icon - The icon component type.\n */\ntype UniversalIconSlot<Icon = GenericIconComponent> = Icon | BackwardsCompatibleReactElement | ((iconProps: IconSlotRenderProps) => BackwardsCompatibleReactElement);\ninterface UniversalPressableProps extends Omit<UniversalBoxProps, 'as'> {\n onPress?: () => void;\n}\ninterface UniversalIconButtonProps<Icon = GenericIconComponent> {\n variant?: ButtonVariantFlat;\n size?: IconButtonSize;\n iconVariant?: IconVariant;\n name: Icon;\n htmlName?: string;\n loading?: boolean;\n disableEffects?: boolean;\n}\ninterface UniversalButtonProps<IconSlotType = UniversalIconSlot> extends Pick<SizeStyleProps, 'width'> {\n variant?: ButtonVariantFlat;\n size?: ButtonSize;\n iconVariant?: IconVariant;\n startIcon?: IconSlotType;\n endIcon?: IconSlotType;\n loading?: boolean;\n disableEffects?: boolean;\n asChild?: boolean;\n}\ninterface UniversalImageProps extends Omit<UniversalBoxProps, 'width' | 'height'>, ImageStyleProps {\n src: string;\n alt?: string;\n width?: number;\n height?: number;\n}\ntype ImgElementProps = Omit<React.ImgHTMLAttributes<HTMLImageElement>, 'size' | 'color' | 'height' | 'width' | 'alt' | 'src'>;\ninterface ImagePropsWithImgProps extends UniversalImageProps, ImgElementProps {}\ninterface UniversalFormLabelProps extends Omit<UniversalTextProps, 'variant' | 'color'> {\n as?: ElementType;\n variant?: UniversalTextProps['variant'] | 'inherit';\n required?: boolean;\n color?: ForegroundColor | 'inherit';\n hasError?: boolean;\n showRequiredAsterisk?: boolean;\n label?: string | ReactNode | (() => ReactNode);\n}\ninterface UniversalInputProps<IconSlotType = UniversalIconSlot> {\n label?: string | ReactNode | (() => ReactNode);\n disabled?: boolean;\n required?: boolean;\n helpText?: string | ReactNode | (() => ReactNode);\n helperTextIcon?: IconSlotType;\n hasError?: boolean;\n size?: InputSize;\n startIcon?: IconSlotType;\n endIcon?: IconSlotType;\n reduceMotion?: boolean;\n readOnly?: boolean;\n width?: UniversalBoxProps['width'];\n}\ntype DividerVariant = 'primary' | 'secondary' | 'tertiary' | 'muted';\ninterface UniversalDividerProps {\n variant?: DividerVariant;\n vertical?: boolean;\n contentPosition?: 'start' | 'center' | 'end';\n}\ntype LinkVariant = 'primary' | 'secondary' | 'tertiary' | 'on-color';\ntype LinkTextVariant = TextVariantWithoutEmphasized;\ninterface UniversalLinkProps<IconSlotType = UniversalIconSlot> {\n textVariant?: LinkTextVariant;\n variant?: LinkVariant;\n startIcon?: IconSlotType;\n endIcon?: IconSlotType;\n alwaysUnderline?: boolean;\n}\ntype CheckboxValue = boolean | 'indeterminate';\ntype CheckboxVariant = 'primary' | 'secondary';\ntype CheckboxSize = 'sm' | 'md';\ninterface UniversalCheckboxProps {\n variant?: CheckboxVariant;\n size?: CheckboxSize;\n label?: string | ReactNode | (() => ReactNode);\n checked?: CheckboxValue;\n hasError?: boolean;\n reduceMotion?: boolean;\n labelPosition?: 'start' | 'end';\n}\ntype RadioValue = boolean;\ntype RadioVariant = 'primary' | 'secondary';\ntype RadioSize = 'sm' | 'md';\ninterface UniversalRadioProps {\n variant?: RadioVariant;\n size?: RadioSize;\n label?: string | ReactNode | (() => ReactNode);\n value?: string;\n checked?: boolean;\n hasError?: boolean;\n reduceMotion?: boolean;\n labelPosition?: 'start' | 'end';\n}\ninterface UniversalRadioGroupProps {\n name?: string;\n value?: string;\n defaultValue?: string;\n onChange?: (value: string | undefined) => void;\n asChild?: boolean;\n}\ntype SwitchSize = 'sm' | 'md';\ninterface UniversalSwitchProps<IconSlotType = UniversalIconSlot> {\n size?: SwitchSize;\n label?: string | ReactNode | (() => ReactNode);\n isOn?: boolean;\n defaultIsOn?: boolean;\n onIcon?: IconSlotType;\n offIcon?: IconSlotType;\n reduceMotion?: boolean;\n labelPosition?: 'start' | 'end';\n}\ntype ChipVariant = 'primary' | 'secondary' | 'brand' | 'brand-secondary';\ntype ChipSize = 'sm' | 'md';\ninterface UniversalChipBaseProps<IconSlotType = UniversalIconSlot> extends PropsWithChildren {\n variant?: ChipVariant;\n size?: ChipSize;\n startIcon?: IconSlotType;\n endIcon?: IconSlotType;\n minWidth?: number;\n maxWidth?: number;\n as?: ElementType;\n reduceMotion?: boolean;\n disabled?: boolean;\n}\ninterface UniversalChipDismissibleProps<IconSlotType = UniversalIconSlot> extends Omit<UniversalChipBaseProps, 'endIcon' | 'asChild' | 'layerClassNames'> {\n onDismiss?: () => void;\n dismissButtonAriaLabel?: string;\n dismissIcon?: IconSlotType;\n}\ninterface UniversalChipToggleProps extends Omit<UniversalChipBaseProps, 'asChild' | 'layerClassNames'> {\n isToggled?: boolean;\n onToggle?: (isToggled: boolean) => void;\n}\ntype UniversalChipButtonProps = Omit<UniversalChipToggleProps, 'isToggled' | 'onToggle' | 'asChild'>;\ninterface UniversalChipLinkProps extends Omit<UniversalChipBaseProps, 'layerClassNames'> {\n href?: string;\n}\ninterface UniversalChipProps extends UniversalChipToggleProps, UniversalChipLinkProps, UniversalChipButtonProps, UniversalChipDismissibleProps {}\ntype BadgeVariant = 'primary' | 'secondary' | 'brand' | 'brand-secondary' | 'alert' | 'alert-secondary' | 'positive' | 'positive-secondary' | 'warning' | 'warning-secondary' | 'info' | 'info-secondary';\ntype BadgeSize = 'xs' | 'sm' | 'md' | 'lg';\ninterface UniversalBadgeProps<IconSlotType = UniversalIconSlot> extends PropsWithChildren {\n as?: ElementType;\n variant?: BadgeVariant;\n size?: BadgeSize;\n backgroundColor?: string;\n color?: string;\n iconColor?: string;\n borderColor?: string;\n startIcon?: IconSlotType;\n endIcon?: IconSlotType;\n minWidth?: number;\n maxWidth?: number | 'full';\n}\ntype AvatarVariant = 'primary' | 'secondary';\ntype AvatarAbbreviationStrategy = 'first' | 'last' | 'firstAndLast' | 'firstTwo' | 'firstThree' | 'firstOfEach' | ((name: string) => string);\ninterface UniversalAvatarBaseProps {\n size?: AvatarSize;\n variant?: 'primary' | 'secondary';\n customSize?: number;\n abbreviationStrategy?: AvatarAbbreviationStrategy;\n alt?: string;\n className?: string;\n}\ninterface UniversalAvatarImageProps extends UniversalAvatarBaseProps {\n src: string;\n srcSet?: string;\n fallback?: string;\n}\ninterface UniversalAvatarTextProps extends UniversalAvatarBaseProps {\n name?: string;\n initials?: string;\n}\ninterface UniversalAvatarIconProps<IconSlotType = UniversalIconSlot> extends Omit<UniversalAvatarBaseProps, 'abbreviationStrategy'> {\n icon?: IconSlotType;\n}\ntype UniversalAvatarProps = UniversalAvatarImageProps;\ninterface UniversalMenuItemProps<IconSlotType = UniversalIconSlot> extends Omit<UniversalPressableProps, 'asChild'>, PropsWithChildren {\n endIcon?: IconSlotType;\n startIcon?: IconSlotType;\n textVariant?: TextVariant;\n name?: string;\n active?: boolean;\n disabled?: boolean;\n slots?: {\n root?: (props: HTMLAttributes<any> & {\n ref?: Ref<any>;\n }) => ReactNode;\n };\n}\n/**\n * Base interface for configurable component names.\n * The full list is: avatar, badge, button, checkbox, chip, divider, iconButton, input, link, menu, radio, switch\n */\ntype ConfigurableComponentName = 'avatar' | 'badge' | 'button' | 'checkbox' | 'chip' | 'divider' | 'iconButton' | 'input' | 'link' | 'menu' | 'radio' | 'switch';\n/**\n * Base interface for UniversalTokensConfigAuto.\n * This is extended by @yahoo/uds with the full generated config.\n */\ninterface UniversalTokensConfigAutoBase {\n [key: string]: unknown;\n}\n/**\n * Base universal tokens configuration interface.\n * This contains the core config properties that all platforms need.\n */\ninterface UniversalTokensConfigBase {\n version: string;\n colorMode: ColorModeConfig;\n scaleMode: ScaleModeConfig;\n font: FontConfig;\n motion: MotionConfig;\n shadow: ShadowConfig;\n breakpoints: BreakpointsConfig;\n typography: TypographyConfig;\n elevation: ElevationConfig;\n elevationGlobalRamp: ElevationGlobalRampConfig;\n globalDefaults: GlobalDefaultsConfig;\n}\n/**\n * Universal tokens configuration type.\n * Combines base config with auto-generated component config.\n * @template ConfigAuto - The auto-generated component config type. Defaults to UniversalTokensConfigAutoBase.\n */\ntype UniversalTokensConfig<ConfigAuto = UniversalTokensConfigAutoBase> = UniversalTokensConfigBase & ConfigAuto;\ntype GlobalDefaultsConfig = {\n breakpoint: Breakpoint | 'base';\n enableResponsiveType: boolean;\n};\n//#endregion\nexport { type AlwaysPaletteAlias, type AlwaysPaletteAliasWithPrefix, type AlwaysPaletteColor, type Animation, type AriaAttribute, type AvatarAbbreviationStrategy, type AvatarShape, type AvatarSize, type AvatarSizeConfig, type AvatarVariant, type BackgroundColor, type BackgroundPalette, type BackgroundPaletteAlias, type BackgroundStyleProps, type BackwardsCompatibleReactElement, type BadgeSize, type BadgeVariant, type BorderRadius, type BorderRadiusConfig, type BorderStyleProps, type BorderWidth, type BorderWidthConfig, type BorderWidthWithElevation, type Breakpoint, type BreakpointValue, type BreakpointWithBase, type BreakpointsConfig, type ButtonPalette, type ButtonPaletteColor, type ButtonSize, type ButtonSpectrumColor, type ButtonVariant, type ButtonVariantFlat, type CheckboxSize, type CheckboxValue, type CheckboxVariant, type ChipSize, type ChipVariant, type ColorMode, type ColorModeConfig, type ColorModeForApp, type ColorsConfig, type ConfigurableComponentName, type CustomSizingStyleProps, type DataAttribute, type DeprecatedAlwaysPaletteAlias, type Display, type DividerVariant, type ElevationAlias, type ElevationBackgroundFillColor, type ElevationBorderColor, type ElevationConfig, type ElevationCustomShadows, type ElevationGlobalRampConfig, type ElevationGlobalRampSettings, type ElevationLevel, type ElevationPreset, type ElevationSurfaceColor, type ExtractUrlFromFontFaceRule, type Flex, type FlexAlignContent, type FlexAlignItems, type FlexAlignSelf, type FlexBasis, type FlexDirection, type FlexGrow, type FlexJustifyContent, type FlexShrink, type FlexStyleProps, type FlexWrap, type FontAlias, type FontConfig, type FontCssVar, type FontFamilyConfig, type FontID, type FontSize, type FontSizeConfig, type FontSlantConfig, type FontType, type FontWeightConfig, type FontWeightDescriptive, type FontWeightNumeric, type FontWidthConfig, type ForegroundColor, type ForegroundPalette, type ForegroundPaletteAlias, type GenericIconComponent, type GlobalDefaultsConfig, type HighContrastMode, type Hue, type HueStep, type IconButtonSize, type IconPixelSize, type IconPropsWithSVGProps, type IconSize, type IconSizeConfig, type IconSlotRenderProps, type IconVariant, type ImagePropsWithImgProps, type ImageStyleProps, type ImgElementProps, type InputSize, type LayoutStyleProps, type LineClampAlias, type LineColor, type LineHeight, type LineHeightConfig, type LinePalette, type LinePaletteAlias, type LinkTextVariant, type LinkVariant, type MaxLengthArray, type Modes, type MotionConfig, type MotionCssVar, type MotionSpringConfig, type MotionSpringConfigOptions, type MotionVariant, type MotionVariantSpeed, type MotionVariantValues, type NestedBorderRadiusStyleProps, type OpacityStep, type Overflow, type Palette, type PaletteConfig, type PaletteType, type PaletteValue, type Percentage, type PercentageUnit, type PixelsUnit, type PlatformMode, type Position, type PropertyToPaletteAliasMap, type RGBAUnit, type RGBColorValue, type RGBUnit, type RadioSize, type RadioValue, type RadioVariant, type RegionMode, type RemsUnit, type SVGElementProps, type ScaleConfig, type ScaleEffect, type ScaleMode, type ScaleModeConfig, type ScaleModeForApp, type ShadowAlwaysColor, type ShadowColor, type ShadowColorConfig, type ShadowConfig, type ShadowOffset, type ShadowOpacity, type ShadowPalette, type ShadowPaletteAlias, type ShadowPaletteColor, type ShadowPreset, type ShadowSpectrumColor, type ShadowSpreadRadius, type ShadowStyleProps, type ShadowType, type ShadowTypeConfig, type ShadowVariant, type ShadowVariantConfig, type ShadowVariantInvert, type ShadowVariantWithElevation, type ShadowVariantWithInvert, type SharedPaletteAlias, type SizeStyleProps, type SpacingAlias, type SpacingConfig, type SpacingStyleProps, type SpectrumColor, type SpectrumConfig, type SpectrumValue, type StateStyleProps, type StyleProps, type SwitchSize, type TShirtSize, type TShirtSizeCommon, type TextDecorationLine, type TextProperty, type TextStyleProps, type TextTransform, type TextTransformConfig, type TextVariant, type TextVariantTypography, type TextVariantUi, type TextVariantWithoutEmphasized, type TransitionDelay, type TransitionDuration, type TransitionTiming, type TypographyConfig, type TypographyResponsiveProperty, type TypographyStyle, type TypographyStyleProperty, type TypographyUnitValue, type UdsCssVar, type UnitlessUnit, type UniversalAvatarBaseProps, type UniversalAvatarIconProps, type UniversalAvatarImageProps, type UniversalAvatarProps, type UniversalAvatarTextProps, type UniversalBadgeProps, type UniversalBoxProps, type UniversalButtonProps, type UniversalCheckboxProps, type UniversalChipBaseProps, type UniversalChipButtonProps, type UniversalChipDismissibleProps, type UniversalChipLinkProps, type UniversalChipProps, type UniversalChipToggleProps, type UniversalDividerProps, type UniversalFormLabelProps, type UniversalIconButtonProps, type UniversalIconProps, type UniversalIconSlot, type UniversalImageProps, type UniversalInputProps, type UniversalLinkProps, type UniversalMenuItemProps, type UniversalPressableProps, type UniversalRadioGroupProps, type UniversalRadioProps, type UniversalStackProps, type UniversalSwitchProps, type UniversalTextProps, type UniversalTokensConfig, type UniversalTokensConfigAutoBase, type UniversalTokensConfigBase };\n//# sourceMappingURL=index.d.ts.map"],"mappings":";;;;;AAgDiF;AAEjD;AAED;AAEA,KA1C1BQ,QAAAA,GA2CA6B,IAAAA,GAAgB,IAAA,GAAA,IAAA,GAAoDR,IAAAA;AAG9C;AAEM;AAEA;AAaV,KA3DlBpB,WAAAA,GA6DAuC,MAAe,GAAA,SAAGb,GAAAA,YAAAA;AAA2C;;;;;AACK,KAxDlEzB,oBAAAA,GAAuBC,KAAAA,CAAMC,aAyDd,CAAA,GAAA,CAAA;;;KAjCfc,yBAAAA,GAuO+CmH,OAAAA,GAAAA,OAAAA,GAAAA,UAAAA,GAAAA,SAAAA,GAAAA,MAAAA;KAtO/ClH,2BAAAA,GAsOuCiC,GAtONlC,yBAsOMkC,YAAAA;KArOvChC,kBAAAA,GAAqBF,yBAqOkEmH,GArOtClH,2BAqOsCkH;KApOvFhH,qBAAAA,GAoO+E+B,QAAAA;KAlO/E7B,sBAAAA,GAkOmH6B,SAAAA,GAAAA,WAAAA,GAlOhE/B,qBAkOgE+B,GAlOxChC,kBAkOwCgC;AAO9G,K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BAAAA,SAA8BJ,oBAAoBE;KACvDG,mBAAAA,GAAsBP,KAAKM;KAC3BE,+BAAAA,sBAAqDzM;;;;;KAKrD0M,yBAAyBnM,wBAAwB6L,OAAOK,+CAA+CD,wBAAwBC;UAuB1HO,mBAAAA,SAA4Bf,KAAKF,wCAAwCb;;;;;;UAiBzEoC,mCAAmCZ;mBAC1BzM,mBAAmBA;;;sBAGhBA,mBAAmBA;mBACtB6M;;SAEV7D;cACK6D;YACFA;;;UAGFf;;KAQL0B,WAAAA;KACAC,eAAAA,GAAkB/I;UACbgJ,kCAAkCjB;gBAC5BgB;YACJD;cACEX;YACFA;;;KAGPc,aAAAA;KACAC,eAAAA;KACAC,YAAAA;UACKC,sBAAAA;YACEF;SACHC;mBACU7N,mBAAmBA;YAC1B2N;;;;;KAMPK,YAAAA;KACAC,SAAAA;UACKC,mBAAAA;YACEF;SACHC;mBACUjO,mBAAmBA;;;;;;;KAcjCoO,UAAAA;UACKC,oCAAoC5B;SACrC2B;mBACUpO,mBAAmBA;;;WAG3B6M;YACCA;;;;KAIPyB,WAAAA;KACAC,QAAAA;KA0BAO,YAAAA;KACAC,SAAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":["ElementType","HTMLAttributes","PropsWithChildren","ReactElement","ReactNode","Ref","IntRange","IconPixelSize","IconSize","IconVariant","GenericIconComponent","React","ComponentType","MaxLengthArray","T","N","A","ExtractUrlFromFontFaceRule","U","Percentage","PixelsUnit","value","type","RemsUnit","UnitlessUnit","PercentageUnit","Hue","HueStep","SpectrumColor","SharedPrimaryPaletteAlias","SharedSecondaryPaletteAlias","SharedPaletteAlias","DeprecatedAccentAlias","OpacityStep","BackgroundPaletteAlias","BackgroundPalette","PaletteValue","Record","ForegroundPaletteAlias","ForegroundPalette","LinePaletteAlias","LinePalette","ShadowPaletteAlias","ShadowPalette","AlwaysPaletteAliasWithPrefix","DeprecatedAlwaysPaletteAlias","AlwaysPaletteAlias","PaletteType","PaletteConfig","hue","step","opacity","Palette","key","background","foreground","line","shadow","ForegroundColor","LineColor","ElevationAlias","BackgroundColor","ShadowColor","PropertyToPaletteAliasMap","backgroundColor","borderColor","color","ShadowSpectrumColor","ShadowPaletteColor","ShadowAlwaysColor","ShadowColorConfig","ShadowOffset","SpacingAlias","Exclude","ShadowOpacity","ShadowSpreadRadius","ShadowPreset","offsetX","offsetY","blur","spread","ShadowVariant","ShadowVariantWithElevation","ShadowVariantInvert","ShadowVariantWithInvert","ShadowVariantConfig","ShadowType","ShadowTypeConfig","ShadowConfig","drop","inset","BreakpointValue","BreakpointsConfig","sm","md","lg","xl","Breakpoint","BreakpointWithBase","TextVariantTypography","TextVariantUi","TextVariantWithoutEmphasized","TextVariant","FontAlias","FontType","FontWeightNumeric","FontWeightDescriptive","TextTransform","TextDecorationLine","LineClampAlias","LineHeight","FontSize","TextTransformConfig","FontSizeConfig","FontFamilyConfig","FontWeightConfig","FontSlantConfig","FontWidthConfig","LineHeightConfig","TextProperty","TypographyUnitValue","TypographyResponsiveProperty","base","breakpoints","TypographyStyleProperty","TypographyStyle","fontFamily","textTransform","fontSize","fontWeight","lineHeight","fontSlant","fontWidth","letterSpacing","TypographyConfig","FontConfig","TShirtSize","TShirtSizeCommon","Extract","AvatarSize","AvatarSizeConfig","AvatarShape","BorderRadius","IconSizeConfig","SpacingConfig","AlwaysPaletteColor","ElevationSurfaceColor","ElevationBackgroundFillColor","ElevationBorderColor","RGBColorValue","RGBAUnit","r","g","b","a","ElevationCustomShadows","RGBUnit","ElevationPreset","BorderWidth","surfaceColor","layerWithBackgroundFill","backgroundFill","backgroundBlurRadius","finalBackgroundOpacity","finalBackgroundValue","fallbackBlurredBackgroundValue","borderWidth","dropShadow","ElevationLevel","ElevationConfig","ColorMode","ElevationGlobalRampSettings","progression","ambientLight","shadowDistance","shadowOpacity","shadowColor","backgroundOpacity","ElevationGlobalRampConfig","isAdvancedModeEnabled","colorMode","BorderRadiusConfig","BorderWidthWithElevation","BorderWidthConfig","ColorModeForApp","ColorModeConfig","ColorsConfig","SpectrumConfig","palette","spectrum","SpectrumValue","ScaleMode","ScaleModeForApp","ScaleConfig","avatarSizes","iconSizes","borderRadius","ScaleModeConfig","ButtonSize","ButtonPalette","ButtonVariant","ScaleEffect","ButtonVariantFlat","ButtonSpectrumColor","ButtonPaletteColor","IconButtonSize","InputSize","PlatformMode","HighContrastMode","RegionMode","Modes","scaleMode","Animation","TransitionDelay","TransitionDuration","TransitionTiming","MotionVariant","MotionVariantSpeed","MotionSpringConfigOptions","MotionSpringConfig","damping","stiffness","MotionVariantValues","MotionConfig","FontCssVar","MotionCssVar","UdsCssVar","AriaAttribute","DataAttribute","Flex","FlexGrow","FlexShrink","FlexAlignContent","FlexAlignItems","FlexAlignSelf","FlexDirection","FlexWrap","FlexJustifyContent","FlexBasis","Display","Overflow","Position","ImageStyleProps","contentFit","BorderStyleProps","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderStartColor","borderEndColor","borderTopColor","borderBottomColor","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","NestedBorderRadiusStyleProps","nestedBorderRadius","nestedBorderRadiusSize","nestedBorderRadiusSpacing","nestedBorderRadiusWidth","ShadowStyleProps","insetShadow","LayoutStyleProps","display","overflow","overflowX","overflowY","position","SpacingStyleProps","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap","FlexStyleProps","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","StateStyleProps","interactable","focusable","TextStyleProps","placeholderColor","textAlign","BackgroundStyleProps","CustomSizingStyleProps","iconSize","avatarSize","SizeStyleProps","width","height","StyleProps","UniversalBoxProps","asChild","as","UniversalStackProps","Omit","gap","separator","index","UniversalTextProps","variant","UniversalIconProps","Icon","name","size","SVGElementProps","SVGSVGElement","IconPropsWithSVGProps","IconSlotRenderProps","BackwardsCompatibleReactElement","UniversalIconSlot","iconProps","UniversalPressableProps","onPress","UniversalIconButtonProps","iconVariant","htmlName","loading","disableEffects","UniversalButtonProps","IconSlotType","Pick","startIcon","endIcon","UniversalImageProps","src","alt","ImgElementProps","HTMLImageElement","ImgHTMLAttributes","ImagePropsWithImgProps","UniversalFormLabelProps","required","hasError","showRequiredAsterisk","label","UniversalInputProps","disabled","helpText","helperTextIcon","reduceMotion","readOnly","DividerVariant","UniversalDividerProps","vertical","contentPosition","LinkVariant","LinkTextVariant","UniversalLinkProps","textVariant","alwaysUnderline","CheckboxValue","CheckboxVariant","CheckboxSize","UniversalCheckboxProps","checked","labelPosition","RadioValue","RadioVariant","RadioSize","UniversalRadioProps","UniversalRadioGroupProps","defaultValue","onChange","SwitchSize","UniversalSwitchProps","isOn","defaultIsOn","onIcon","offIcon","ChipVariant","ChipSize","UniversalChipBaseProps","minWidth","maxWidth","UniversalChipDismissibleProps","onDismiss","dismissButtonAriaLabel","dismissIcon","UniversalChipToggleProps","isToggled","onToggle","UniversalChipButtonProps","UniversalChipLinkProps","href","UniversalChipProps","BadgeVariant","BadgeSize","UniversalBadgeProps","iconColor","AvatarVariant","AvatarAbbreviationStrategy","UniversalAvatarBaseProps","customSize","abbreviationStrategy","className","UniversalAvatarImageProps","srcSet","fallback","UniversalAvatarTextProps","initials","UniversalAvatarIconProps","icon","UniversalAvatarProps","UniversalMenuItemProps","active","slots","root","ref","props","ToastSize","ToastVariant","ToastPosition","UniversalToastProps","message","actionButton","onClickActionButton","closeIcon","onClickCloseButton","id","ConfigurableComponentName","UniversalTokensConfigAutoBase","UniversalTokensConfigBase","GlobalDefaultsConfig","version","font","motion","typography","elevation","elevationGlobalRamp","globalDefaults","UniversalTokensConfigGeneric","ConfigAuto","breakpoint","enableResponsiveType"],"sources":["../../../../types/dist/index.d.ts"],"mappings":";;;;;;;KAYKQ,QAAAA;AAIW;;;AAAA,KAAXC,WA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;AAAAA;AAAAA,KASGQ,UAAAA;AAAAA,UACKC,oBAAAA,gBAAoCvD,iBAAAA;EAC5CN,IAAAA,GAAO4D,UAAAA;EACP7B,KAAAA,YAAiBlW,SAAAA,UAAmBA,SAAAA;EACpCiY,IAAAA;EACAC,WAAAA;EACAC,MAAAA,GAAShD,YAAAA;EACTiD,OAAAA,GAAUjD,YAAAA;EACVoB,YAAAA;EACAgB,aAAAA;AAAAA;AAAAA,KAEGc,WAAAA;AAAAA,KACAC,QAAAA;AAAAA,KA0BAe,YAAAA;AAAAA,KACAC,SAAAA"}
|
package/dist/types.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../src/types.ts"],"
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../src/types.ts"],"mappings":";;UAAiB,SAAA;EACf,KAAA;EACA,MAAA;EACA,QAAA;EACA,QAAA;EACA,SAAA;EACA,SAAA;AAAA"}
|
package/dist/types.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","names":[],"sources":["../src/types.ts"],"
|
|
1
|
+
{"version":3,"file":"types.d.mts","names":[],"sources":["../src/types.ts"],"mappings":";;UAAiB,SAAA;EACf,KAAA;EACA,MAAA;EACA,QAAA;EACA,QAAA;EACA,SAAA;EACA,SAAA;AAAA"}
|
package/generated/styles.cjs
CHANGED
|
@@ -4008,6 +4008,30 @@ const linkStyles = StyleSheet.create((theme) => ({
|
|
|
4008
4008
|
},
|
|
4009
4009
|
}));
|
|
4010
4010
|
|
|
4011
|
+
/**
|
|
4012
|
+
* Layer-based styles for MenuContent.
|
|
4013
|
+
* Uses compound variants for state-specific (disabled/pressed) styles.
|
|
4014
|
+
*
|
|
4015
|
+
* Usage:
|
|
4016
|
+
* ```tsx
|
|
4017
|
+
* menuContentStyles.useVariants({
|
|
4018
|
+
* size,
|
|
4019
|
+
* variant,
|
|
4020
|
+
* disabled: isDisabled, // boolean
|
|
4021
|
+
* pressed: isPressed, // boolean
|
|
4022
|
+
* });
|
|
4023
|
+
* // Access: menuContentStyles.root, menuContentStyles.icon, etc.
|
|
4024
|
+
* ```
|
|
4025
|
+
*/
|
|
4026
|
+
const menuContentStyles = StyleSheet.create((theme) => ({
|
|
4027
|
+
root: {
|
|
4028
|
+
variants: {
|
|
4029
|
+
size: { default: theme.components['menuContent/size/default/root/rest'] },
|
|
4030
|
+
variant: { default: theme.components['menuContent/variant/default/root/rest'] },
|
|
4031
|
+
},
|
|
4032
|
+
},
|
|
4033
|
+
}));
|
|
4034
|
+
|
|
4011
4035
|
/**
|
|
4012
4036
|
* Layer-based styles for MenuItem.
|
|
4013
4037
|
* Uses compound variants for state-specific (disabled/pressed) styles.
|
|
@@ -4496,6 +4520,76 @@ const switchStyles = StyleSheet.create((theme) => ({
|
|
|
4496
4520
|
},
|
|
4497
4521
|
}));
|
|
4498
4522
|
|
|
4523
|
+
/**
|
|
4524
|
+
* Layer-based styles for Toast.
|
|
4525
|
+
* Uses compound variants for state-specific (disabled/pressed) styles.
|
|
4526
|
+
*
|
|
4527
|
+
* Usage:
|
|
4528
|
+
* ```tsx
|
|
4529
|
+
* toastStyles.useVariants({
|
|
4530
|
+
* size,
|
|
4531
|
+
* variant,
|
|
4532
|
+
* disabled: isDisabled, // boolean
|
|
4533
|
+
* pressed: isPressed, // boolean
|
|
4534
|
+
* });
|
|
4535
|
+
* // Access: toastStyles.root, toastStyles.icon, etc.
|
|
4536
|
+
* ```
|
|
4537
|
+
*/
|
|
4538
|
+
const toastStyles = StyleSheet.create((theme) => ({
|
|
4539
|
+
root: {
|
|
4540
|
+
variants: {
|
|
4541
|
+
size: { default: theme.components['toast/size/default/root/rest'] },
|
|
4542
|
+
variant: {
|
|
4543
|
+
error: theme.components['toast/variant/error/root/rest'],
|
|
4544
|
+
info: theme.components['toast/variant/info/root/rest'],
|
|
4545
|
+
loading: theme.components['toast/variant/loading/root/rest'],
|
|
4546
|
+
success: theme.components['toast/variant/success/root/rest'],
|
|
4547
|
+
warning: theme.components['toast/variant/warning/root/rest'],
|
|
4548
|
+
},
|
|
4549
|
+
},
|
|
4550
|
+
},
|
|
4551
|
+
text: {
|
|
4552
|
+
variants: {
|
|
4553
|
+
variant: {
|
|
4554
|
+
error: theme.components['toast/variant/error/rootText/rest'],
|
|
4555
|
+
info: theme.components['toast/variant/info/rootText/rest'],
|
|
4556
|
+
loading: theme.components['toast/variant/loading/rootText/rest'],
|
|
4557
|
+
success: theme.components['toast/variant/success/rootText/rest'],
|
|
4558
|
+
warning: theme.components['toast/variant/warning/rootText/rest'],
|
|
4559
|
+
},
|
|
4560
|
+
},
|
|
4561
|
+
},
|
|
4562
|
+
icon: {
|
|
4563
|
+
variants: {
|
|
4564
|
+
size: { default: theme.components['toast/size/default/icon/rest'] },
|
|
4565
|
+
variant: {
|
|
4566
|
+
error: theme.components['toast/variant/error/icon/rest'],
|
|
4567
|
+
info: theme.components['toast/variant/info/icon/rest'],
|
|
4568
|
+
loading: theme.components['toast/variant/loading/icon/rest'],
|
|
4569
|
+
success: theme.components['toast/variant/success/icon/rest'],
|
|
4570
|
+
warning: theme.components['toast/variant/warning/icon/rest'],
|
|
4571
|
+
},
|
|
4572
|
+
},
|
|
4573
|
+
},
|
|
4574
|
+
closeIcon: {
|
|
4575
|
+
variants: {
|
|
4576
|
+
size: { default: theme.components['toast/size/default/closeIcon/rest'] },
|
|
4577
|
+
variant: {
|
|
4578
|
+
error: theme.components['toast/variant/error/closeIcon/rest'],
|
|
4579
|
+
info: theme.components['toast/variant/info/closeIcon/rest'],
|
|
4580
|
+
loading: theme.components['toast/variant/loading/closeIcon/rest'],
|
|
4581
|
+
success: theme.components['toast/variant/success/closeIcon/rest'],
|
|
4582
|
+
warning: theme.components['toast/variant/warning/closeIcon/rest'],
|
|
4583
|
+
},
|
|
4584
|
+
},
|
|
4585
|
+
},
|
|
4586
|
+
label: {
|
|
4587
|
+
variants: {
|
|
4588
|
+
size: { default: theme.components['toast/size/default/label/rest'] },
|
|
4589
|
+
},
|
|
4590
|
+
},
|
|
4591
|
+
}));
|
|
4592
|
+
|
|
4499
4593
|
module.exports = {
|
|
4500
4594
|
styles,
|
|
4501
4595
|
avatarStyles,
|
|
@@ -4507,7 +4601,9 @@ module.exports = {
|
|
|
4507
4601
|
iconButtonStyles,
|
|
4508
4602
|
inputStyles,
|
|
4509
4603
|
linkStyles,
|
|
4604
|
+
menuContentStyles,
|
|
4510
4605
|
menuItemStyles,
|
|
4511
4606
|
radioStyles,
|
|
4512
4607
|
switchStyles,
|
|
4608
|
+
toastStyles,
|
|
4513
4609
|
};
|
package/generated/styles.d.ts
CHANGED
|
@@ -1434,6 +1434,7 @@ export declare const checkboxStyles: {
|
|
|
1434
1434
|
color: string;
|
|
1435
1435
|
};
|
|
1436
1436
|
checkbox: {
|
|
1437
|
+
borderRadius: number;
|
|
1437
1438
|
borderWidth: number;
|
|
1438
1439
|
height: number;
|
|
1439
1440
|
width: number;
|
|
@@ -1745,6 +1746,21 @@ export declare const linkStyles: {
|
|
|
1745
1746
|
) => void;
|
|
1746
1747
|
};
|
|
1747
1748
|
|
|
1749
|
+
export declare const menuContentStyles: {
|
|
1750
|
+
root: {
|
|
1751
|
+
borderRadius: number;
|
|
1752
|
+
borderWidth: number;
|
|
1753
|
+
boxShadow: string;
|
|
1754
|
+
gap: number;
|
|
1755
|
+
paddingHorizontal: number;
|
|
1756
|
+
paddingVertical: number;
|
|
1757
|
+
backgroundColor: string;
|
|
1758
|
+
borderColor: string;
|
|
1759
|
+
};
|
|
1760
|
+
} & {
|
|
1761
|
+
useVariants: (variants: { size?: undefined; variant?: undefined }) => void;
|
|
1762
|
+
};
|
|
1763
|
+
|
|
1748
1764
|
export declare const menuItemStyles: {
|
|
1749
1765
|
root: { backgroundColor: string };
|
|
1750
1766
|
icon: { color: string };
|
|
@@ -1838,6 +1854,37 @@ export declare const switchStyles: {
|
|
|
1838
1854
|
) => void;
|
|
1839
1855
|
};
|
|
1840
1856
|
|
|
1857
|
+
export declare const toastStyles: {
|
|
1858
|
+
root: { borderRadius: number; gap: number; paddingHorizontal: number; paddingVertical: number };
|
|
1859
|
+
text: { color: string };
|
|
1860
|
+
icon: { fontSize: number; lineHeight: number; color: string };
|
|
1861
|
+
closeIcon: { fontSize: number; lineHeight: number; color: string };
|
|
1862
|
+
label: {
|
|
1863
|
+
fontFamily: 'YahooProductSans-Medium';
|
|
1864
|
+
fontSize: number;
|
|
1865
|
+
letterSpacing: number;
|
|
1866
|
+
lineHeight: number;
|
|
1867
|
+
};
|
|
1868
|
+
} & {
|
|
1869
|
+
useVariants: (
|
|
1870
|
+
variants:
|
|
1871
|
+
| {
|
|
1872
|
+
size?: undefined;
|
|
1873
|
+
variant?: 'warning' | 'info' | 'error' | 'loading' | 'success' | undefined;
|
|
1874
|
+
}
|
|
1875
|
+
| { variant?: 'warning' | 'info' | 'error' | 'loading' | 'success' | undefined }
|
|
1876
|
+
| {
|
|
1877
|
+
size?: undefined;
|
|
1878
|
+
variant?: 'warning' | 'info' | 'error' | 'loading' | 'success' | undefined;
|
|
1879
|
+
}
|
|
1880
|
+
| {
|
|
1881
|
+
size?: undefined;
|
|
1882
|
+
variant?: 'warning' | 'info' | 'error' | 'loading' | 'success' | undefined;
|
|
1883
|
+
}
|
|
1884
|
+
| { size?: undefined },
|
|
1885
|
+
) => void;
|
|
1886
|
+
};
|
|
1887
|
+
|
|
1841
1888
|
export type StyleProps = {
|
|
1842
1889
|
backgroundColor?:
|
|
1843
1890
|
| 'primary'
|
package/generated/styles.mjs
CHANGED
|
@@ -4008,6 +4008,30 @@ const linkStyles = StyleSheet.create((theme) => ({
|
|
|
4008
4008
|
},
|
|
4009
4009
|
}));
|
|
4010
4010
|
|
|
4011
|
+
/**
|
|
4012
|
+
* Layer-based styles for MenuContent.
|
|
4013
|
+
* Uses compound variants for state-specific (disabled/pressed) styles.
|
|
4014
|
+
*
|
|
4015
|
+
* Usage:
|
|
4016
|
+
* ```tsx
|
|
4017
|
+
* menuContentStyles.useVariants({
|
|
4018
|
+
* size,
|
|
4019
|
+
* variant,
|
|
4020
|
+
* disabled: isDisabled, // boolean
|
|
4021
|
+
* pressed: isPressed, // boolean
|
|
4022
|
+
* });
|
|
4023
|
+
* // Access: menuContentStyles.root, menuContentStyles.icon, etc.
|
|
4024
|
+
* ```
|
|
4025
|
+
*/
|
|
4026
|
+
const menuContentStyles = StyleSheet.create((theme) => ({
|
|
4027
|
+
root: {
|
|
4028
|
+
variants: {
|
|
4029
|
+
size: { default: theme.components['menuContent/size/default/root/rest'] },
|
|
4030
|
+
variant: { default: theme.components['menuContent/variant/default/root/rest'] },
|
|
4031
|
+
},
|
|
4032
|
+
},
|
|
4033
|
+
}));
|
|
4034
|
+
|
|
4011
4035
|
/**
|
|
4012
4036
|
* Layer-based styles for MenuItem.
|
|
4013
4037
|
* Uses compound variants for state-specific (disabled/pressed) styles.
|
|
@@ -4496,6 +4520,76 @@ const switchStyles = StyleSheet.create((theme) => ({
|
|
|
4496
4520
|
},
|
|
4497
4521
|
}));
|
|
4498
4522
|
|
|
4523
|
+
/**
|
|
4524
|
+
* Layer-based styles for Toast.
|
|
4525
|
+
* Uses compound variants for state-specific (disabled/pressed) styles.
|
|
4526
|
+
*
|
|
4527
|
+
* Usage:
|
|
4528
|
+
* ```tsx
|
|
4529
|
+
* toastStyles.useVariants({
|
|
4530
|
+
* size,
|
|
4531
|
+
* variant,
|
|
4532
|
+
* disabled: isDisabled, // boolean
|
|
4533
|
+
* pressed: isPressed, // boolean
|
|
4534
|
+
* });
|
|
4535
|
+
* // Access: toastStyles.root, toastStyles.icon, etc.
|
|
4536
|
+
* ```
|
|
4537
|
+
*/
|
|
4538
|
+
const toastStyles = StyleSheet.create((theme) => ({
|
|
4539
|
+
root: {
|
|
4540
|
+
variants: {
|
|
4541
|
+
size: { default: theme.components['toast/size/default/root/rest'] },
|
|
4542
|
+
variant: {
|
|
4543
|
+
error: theme.components['toast/variant/error/root/rest'],
|
|
4544
|
+
info: theme.components['toast/variant/info/root/rest'],
|
|
4545
|
+
loading: theme.components['toast/variant/loading/root/rest'],
|
|
4546
|
+
success: theme.components['toast/variant/success/root/rest'],
|
|
4547
|
+
warning: theme.components['toast/variant/warning/root/rest'],
|
|
4548
|
+
},
|
|
4549
|
+
},
|
|
4550
|
+
},
|
|
4551
|
+
text: {
|
|
4552
|
+
variants: {
|
|
4553
|
+
variant: {
|
|
4554
|
+
error: theme.components['toast/variant/error/rootText/rest'],
|
|
4555
|
+
info: theme.components['toast/variant/info/rootText/rest'],
|
|
4556
|
+
loading: theme.components['toast/variant/loading/rootText/rest'],
|
|
4557
|
+
success: theme.components['toast/variant/success/rootText/rest'],
|
|
4558
|
+
warning: theme.components['toast/variant/warning/rootText/rest'],
|
|
4559
|
+
},
|
|
4560
|
+
},
|
|
4561
|
+
},
|
|
4562
|
+
icon: {
|
|
4563
|
+
variants: {
|
|
4564
|
+
size: { default: theme.components['toast/size/default/icon/rest'] },
|
|
4565
|
+
variant: {
|
|
4566
|
+
error: theme.components['toast/variant/error/icon/rest'],
|
|
4567
|
+
info: theme.components['toast/variant/info/icon/rest'],
|
|
4568
|
+
loading: theme.components['toast/variant/loading/icon/rest'],
|
|
4569
|
+
success: theme.components['toast/variant/success/icon/rest'],
|
|
4570
|
+
warning: theme.components['toast/variant/warning/icon/rest'],
|
|
4571
|
+
},
|
|
4572
|
+
},
|
|
4573
|
+
},
|
|
4574
|
+
closeIcon: {
|
|
4575
|
+
variants: {
|
|
4576
|
+
size: { default: theme.components['toast/size/default/closeIcon/rest'] },
|
|
4577
|
+
variant: {
|
|
4578
|
+
error: theme.components['toast/variant/error/closeIcon/rest'],
|
|
4579
|
+
info: theme.components['toast/variant/info/closeIcon/rest'],
|
|
4580
|
+
loading: theme.components['toast/variant/loading/closeIcon/rest'],
|
|
4581
|
+
success: theme.components['toast/variant/success/closeIcon/rest'],
|
|
4582
|
+
warning: theme.components['toast/variant/warning/closeIcon/rest'],
|
|
4583
|
+
},
|
|
4584
|
+
},
|
|
4585
|
+
},
|
|
4586
|
+
label: {
|
|
4587
|
+
variants: {
|
|
4588
|
+
size: { default: theme.components['toast/size/default/label/rest'] },
|
|
4589
|
+
},
|
|
4590
|
+
},
|
|
4591
|
+
}));
|
|
4592
|
+
|
|
4499
4593
|
export {
|
|
4500
4594
|
styles,
|
|
4501
4595
|
avatarStyles,
|
|
@@ -4507,7 +4601,9 @@ export {
|
|
|
4507
4601
|
iconButtonStyles,
|
|
4508
4602
|
inputStyles,
|
|
4509
4603
|
linkStyles,
|
|
4604
|
+
menuContentStyles,
|
|
4510
4605
|
menuItemStyles,
|
|
4511
4606
|
radioStyles,
|
|
4512
4607
|
switchStyles,
|
|
4608
|
+
toastStyles,
|
|
4513
4609
|
};
|
package/generated/unistyles.d.ts
CHANGED
|
@@ -1074,6 +1074,7 @@ interface ComponentTheme {
|
|
|
1074
1074
|
color: string;
|
|
1075
1075
|
};
|
|
1076
1076
|
'checkbox/size/md/checkbox/rest': {
|
|
1077
|
+
borderRadius: number;
|
|
1077
1078
|
borderWidth: number;
|
|
1078
1079
|
height: number;
|
|
1079
1080
|
width: number;
|
|
@@ -1088,6 +1089,7 @@ interface ComponentTheme {
|
|
|
1088
1089
|
lineHeight: number;
|
|
1089
1090
|
};
|
|
1090
1091
|
'checkbox/size/sm/checkbox/rest': {
|
|
1092
|
+
borderRadius: number;
|
|
1091
1093
|
borderWidth: number;
|
|
1092
1094
|
height: number;
|
|
1093
1095
|
width: number;
|
|
@@ -3419,6 +3421,18 @@ interface ComponentTheme {
|
|
|
3419
3421
|
color: string;
|
|
3420
3422
|
textDecorationLine: 'none' | 'underline';
|
|
3421
3423
|
};
|
|
3424
|
+
'menuContent/size/default/root/rest': {
|
|
3425
|
+
borderRadius: number;
|
|
3426
|
+
borderWidth: number;
|
|
3427
|
+
boxShadow: string;
|
|
3428
|
+
gap: number;
|
|
3429
|
+
paddingHorizontal: number;
|
|
3430
|
+
paddingVertical: number;
|
|
3431
|
+
};
|
|
3432
|
+
'menuContent/variant/default/root/rest': {
|
|
3433
|
+
backgroundColor: string;
|
|
3434
|
+
borderColor: string;
|
|
3435
|
+
};
|
|
3422
3436
|
'menuItem/divider/variant/default/line/rest': {
|
|
3423
3437
|
borderColor: string;
|
|
3424
3438
|
borderWidth: number;
|
|
@@ -3764,6 +3778,71 @@ interface ComponentTheme {
|
|
|
3764
3778
|
backgroundColor: string;
|
|
3765
3779
|
borderColor: string;
|
|
3766
3780
|
};
|
|
3781
|
+
'toast/size/default/closeIcon/rest': {
|
|
3782
|
+
fontSize: number;
|
|
3783
|
+
lineHeight: number;
|
|
3784
|
+
};
|
|
3785
|
+
'toast/size/default/icon/rest': {
|
|
3786
|
+
fontSize: number;
|
|
3787
|
+
lineHeight: number;
|
|
3788
|
+
};
|
|
3789
|
+
'toast/size/default/label/rest': {
|
|
3790
|
+
fontFamily: string;
|
|
3791
|
+
fontSize: number;
|
|
3792
|
+
letterSpacing: number;
|
|
3793
|
+
lineHeight: number;
|
|
3794
|
+
};
|
|
3795
|
+
'toast/size/default/root/rest': {
|
|
3796
|
+
borderRadius: number;
|
|
3797
|
+
gap: number;
|
|
3798
|
+
paddingHorizontal: number;
|
|
3799
|
+
paddingVertical: number;
|
|
3800
|
+
};
|
|
3801
|
+
'toast/variant/error/closeIcon/rest': {
|
|
3802
|
+
color: string;
|
|
3803
|
+
};
|
|
3804
|
+
'toast/variant/error/icon/rest': {
|
|
3805
|
+
color: string;
|
|
3806
|
+
};
|
|
3807
|
+
'toast/variant/error/rootText/rest': {
|
|
3808
|
+
color: string;
|
|
3809
|
+
};
|
|
3810
|
+
'toast/variant/info/closeIcon/rest': {
|
|
3811
|
+
color: string;
|
|
3812
|
+
};
|
|
3813
|
+
'toast/variant/info/icon/rest': {
|
|
3814
|
+
color: string;
|
|
3815
|
+
};
|
|
3816
|
+
'toast/variant/info/rootText/rest': {
|
|
3817
|
+
color: string;
|
|
3818
|
+
};
|
|
3819
|
+
'toast/variant/loading/closeIcon/rest': {
|
|
3820
|
+
color: string;
|
|
3821
|
+
};
|
|
3822
|
+
'toast/variant/loading/icon/rest': {
|
|
3823
|
+
color: string;
|
|
3824
|
+
};
|
|
3825
|
+
'toast/variant/loading/rootText/rest': {
|
|
3826
|
+
color: string;
|
|
3827
|
+
};
|
|
3828
|
+
'toast/variant/success/closeIcon/rest': {
|
|
3829
|
+
color: string;
|
|
3830
|
+
};
|
|
3831
|
+
'toast/variant/success/icon/rest': {
|
|
3832
|
+
color: string;
|
|
3833
|
+
};
|
|
3834
|
+
'toast/variant/success/rootText/rest': {
|
|
3835
|
+
color: string;
|
|
3836
|
+
};
|
|
3837
|
+
'toast/variant/warning/closeIcon/rest': {
|
|
3838
|
+
color: string;
|
|
3839
|
+
};
|
|
3840
|
+
'toast/variant/warning/icon/rest': {
|
|
3841
|
+
color: string;
|
|
3842
|
+
};
|
|
3843
|
+
'toast/variant/warning/rootText/rest': {
|
|
3844
|
+
color: string;
|
|
3845
|
+
};
|
|
3767
3846
|
}
|
|
3768
3847
|
|
|
3769
3848
|
export interface AppTheme {
|