@yahoo/uds 3.101.0 → 3.103.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/automated-config/dist/generated/autoVariants.cjs +11 -1
- package/dist/automated-config/dist/generated/autoVariants.d.cts +10 -0
- package/dist/automated-config/dist/generated/autoVariants.d.ts +10 -0
- package/dist/automated-config/dist/generated/autoVariants.js +11 -1
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +1695 -1
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +419 -189
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +419 -189
- package/dist/automated-config/dist/generated/generatedConfigs.js +1694 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +99 -0
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +2 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.ts +2 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +99 -0
- package/dist/automated-config/dist/properties.cjs +152 -89
- package/dist/automated-config/dist/properties.d.cts +25 -4
- package/dist/automated-config/dist/properties.d.ts +25 -4
- package/dist/automated-config/dist/properties.js +153 -90
- package/dist/automated-config/dist/utils/buildConfigSchema.cjs +5 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +2 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +2 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.js +5 -1
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +2 -2
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +2 -2
- package/dist/automated-config/dist/utils/index.cjs +4 -4
- package/dist/automated-config/dist/utils/index.d.cts +6 -1
- package/dist/automated-config/dist/utils/index.d.ts +6 -1
- package/dist/automated-config/dist/utils/index.js +4 -4
- package/dist/cli/commands/sync.cjs +5 -1
- package/dist/cli/commands/sync.js +5 -1
- package/dist/components/client/Button.js +2 -2
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +1 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +1 -1
- package/dist/components/client/Toast/Toast.cjs +1 -1
- package/dist/components/client/Toast/Toast.d.cts +1 -1
- package/dist/components/client/Toast/Toast.d.ts +1 -1
- package/dist/components/client/Toast/Toast.js +1 -1
- package/dist/components/client/Tooltip/Tooltip.cjs +65 -0
- package/dist/components/client/Tooltip/Tooltip.d.cts +45 -0
- package/dist/components/client/Tooltip/Tooltip.d.ts +45 -0
- package/dist/components/client/Tooltip/Tooltip.js +63 -0
- package/dist/components/client/Tooltip/TooltipContent.cjs +188 -0
- package/dist/components/client/Tooltip/TooltipContent.d.cts +8 -0
- package/dist/components/client/Tooltip/TooltipContent.d.ts +8 -0
- package/dist/components/client/Tooltip/TooltipContent.js +186 -0
- package/dist/components/client/Tooltip/TooltipTrigger.cjs +20 -0
- package/dist/components/client/Tooltip/TooltipTrigger.d.cts +14 -0
- package/dist/components/client/Tooltip/TooltipTrigger.d.ts +14 -0
- package/dist/components/client/Tooltip/TooltipTrigger.js +18 -0
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.cjs +40 -0
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.cts +28 -0
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.ts +28 -0
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.js +37 -0
- package/dist/components/client/Tooltip/index.cjs +12 -0
- package/dist/components/client/Tooltip/index.d.cts +7 -0
- package/dist/components/client/Tooltip/index.d.ts +7 -0
- package/dist/components/client/Tooltip/index.js +8 -0
- package/dist/components/client/Tooltip/tooltipContext.cjs +12 -0
- package/dist/components/client/Tooltip/tooltipContext.d.cts +12 -0
- package/dist/components/client/Tooltip/tooltipContext.d.ts +12 -0
- package/dist/components/client/Tooltip/tooltipContext.js +10 -0
- package/dist/components/client/Tooltip/useTooltipContent.cjs +186 -0
- package/dist/components/client/Tooltip/useTooltipContent.d.cts +66 -0
- package/dist/components/client/Tooltip/useTooltipContent.d.ts +66 -0
- package/dist/components/client/Tooltip/useTooltipContent.js +184 -0
- package/dist/components/client/Tooltip/util.cjs +248 -0
- package/dist/components/client/Tooltip/util.d.cts +118 -0
- package/dist/components/client/Tooltip/util.d.ts +118 -0
- package/dist/components/client/Tooltip/util.js +240 -0
- package/dist/components/client/index.cjs +8 -0
- package/dist/components/client/index.d.cts +7 -1
- package/dist/components/client/index.d.ts +7 -1
- package/dist/components/client/index.js +5 -1
- package/dist/components/client/providers/UDSConfigProvider.cjs +6 -2
- package/dist/components/client/providers/UDSConfigProvider.d.cts +2 -1
- package/dist/components/client/providers/UDSConfigProvider.d.ts +2 -1
- package/dist/components/client/providers/UDSConfigProvider.js +6 -2
- package/dist/components/index.cjs +12 -0
- package/dist/components/index.d.cts +6 -1
- package/dist/components/index.d.ts +6 -1
- package/dist/components/index.js +9 -1
- package/dist/config/dist/index.cjs +16165 -15619
- package/dist/config/dist/index.d.cts +8 -23797
- package/dist/config/dist/index.d.ts +8 -23797
- package/dist/config/dist/index.js +16165 -15618
- package/dist/css-tokens/dist/index.cjs +2 -0
- package/dist/css-tokens/dist/index.d.cts +2 -1
- package/dist/css-tokens/dist/index.d.ts +2 -1
- package/dist/css-tokens/dist/index.js +2 -1
- package/dist/fixtures/dist/arbitrary.d.cts +11 -0
- package/dist/fixtures/dist/arbitrary.d.ts +11 -0
- package/dist/fixtures/dist/index.cjs +27 -1
- package/dist/fixtures/dist/index.d.cts +17 -3
- package/dist/fixtures/dist/index.d.ts +17 -3
- package/dist/fixtures/dist/index.js +26 -2
- package/dist/fixtures/index.cjs +6 -1
- package/dist/fixtures/index.d.cts +4 -2
- package/dist/fixtures/index.d.ts +4 -2
- package/dist/fixtures/index.js +3 -2
- package/dist/fixtures/src/arbitrary.cjs +23 -0
- package/dist/fixtures/src/arbitrary.d.cts +15 -0
- package/dist/fixtures/src/arbitrary.d.ts +15 -0
- package/dist/fixtures/src/arbitrary.js +18 -0
- package/dist/fixtures/src/util.cjs +26 -0
- package/dist/fixtures/src/util.d.cts +9 -0
- package/dist/fixtures/src/util.d.ts +9 -0
- package/dist/fixtures/src/util.js +25 -0
- package/dist/index.cjs +15 -3
- package/dist/index.d.cts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +11 -6
- package/dist/runtime/index.cjs +2 -0
- package/dist/runtime/index.d.cts +2 -1
- package/dist/runtime/index.d.ts +2 -1
- package/dist/runtime/index.js +2 -1
- package/dist/runtime/tooltipConfig.cjs +33 -0
- package/dist/runtime/tooltipConfig.d.cts +20 -0
- package/dist/runtime/tooltipConfig.d.ts +20 -0
- package/dist/runtime/tooltipConfig.js +32 -0
- package/dist/runtime/udsConfig.cjs +3 -1
- package/dist/runtime/udsConfig.d.cts +2 -0
- package/dist/runtime/udsConfig.d.ts +2 -0
- package/dist/runtime/udsConfig.js +3 -1
- package/dist/styles/styler.d.cts +42 -32
- package/dist/styles/styler.d.ts +42 -32
- package/dist/styles/variants.d.cts +30 -0
- package/dist/styles/variants.d.ts +30 -0
- package/dist/tailwind/dist/plugin.cjs +2 -1
- package/dist/tailwind/dist/plugin.js +2 -1
- package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.cjs +30 -0
- package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.js +28 -0
- package/dist/tailwind/dist/tailwind/plugins/components.cjs +1 -0
- package/dist/tailwind/dist/tailwind/plugins/components.js +2 -1
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.cts +1 -1
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.ts +1 -1
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
- package/dist/tokens/automation/configs/index.cjs +2 -1
- package/dist/tokens/automation/configs/index.d.cts +2 -2
- package/dist/tokens/automation/configs/index.d.ts +2 -2
- package/dist/tokens/automation/configs/index.js +2 -2
- package/dist/tokens/automation/index.cjs +1 -0
- package/dist/tokens/automation/index.d.cts +2 -2
- package/dist/tokens/automation/index.d.ts +2 -2
- package/dist/tokens/automation/index.js +2 -2
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/consts/cssTokens.cjs +1 -0
- package/dist/tokens/consts/cssTokens.d.cts +2 -2
- package/dist/tokens/consts/cssTokens.d.ts +2 -2
- package/dist/tokens/consts/cssTokens.js +2 -2
- package/dist/tokens/index.cjs +2 -0
- package/dist/tokens/index.d.cts +4 -4
- package/dist/tokens/index.d.ts +4 -4
- package/dist/tokens/index.js +3 -3
- package/dist/tokens/types.d.cts +2 -2
- package/dist/tokens/types.d.ts +2 -2
- package/dist/types/dist/index.d.cts +37 -2
- package/dist/types/dist/index.d.ts +37 -2
- package/dist/uds/generated/tailwindPurge.cjs +32 -2
- package/dist/uds/generated/tailwindPurge.js +32 -2
- package/dist/uds/package.cjs +1 -0
- package/dist/uds/package.js +1 -0
- package/package.json +2 -1
- package/dist/tokens/configs/yosConfig.cjs +0 -5
- package/dist/tokens/configs/yosConfig.d.cts +0 -3
- package/dist/tokens/configs/yosConfig.d.ts +0 -3
- package/dist/tokens/configs/yosConfig.js +0 -4
package/dist/tokens/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps as UniversalAvatarImageProps$1, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps as UniversalChipProps$1, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps as UniversalIconButtonProps$1, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric } from "../types/dist/index.cjs";
|
|
2
|
+
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TooltipPlacement, TooltipSize, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps as UniversalAvatarImageProps$1, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps as UniversalChipProps$1, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps as UniversalIconButtonProps$1, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps } from "../types/dist/index.cjs";
|
|
3
3
|
import { AllPossibleProperties, ComponentConfig, ComponentStateConfig, LayerConfig, PossibleStates, PossibleStatesWithRest, SubComponentConfig, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties } from "../automated-config/dist/types/ComponentConfig.cjs";
|
|
4
4
|
import { ConfigurablePropertiesName, SelectedConfigurableProperty } from "../automated-config/dist/properties.cjs";
|
|
5
5
|
import { UniversalTokensConfigAuto } from "../automated-config/dist/generated/universalTokensConfigAuto.cjs";
|
|
@@ -41,4 +41,4 @@ interface UniversalChipProps extends UniversalChipProps$1 {
|
|
|
41
41
|
*/
|
|
42
42
|
type ConfigurableComponentName = keyof UniversalTokensConfigAuto;
|
|
43
43
|
//#endregion
|
|
44
|
-
export { AllPossibleProperties, AllSelectors, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentStateConfig, ConfigurableComponentName, type ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, type FontFamilyCDNUrl, FontFamilyConfig, type FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PossibleStates, PossibleStatesWithRest, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, type SelectedConfigurableProperty, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SubComponentConfig, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, type UniversalTokensConfig, type UniversalTokensConfigAuto, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties };
|
|
44
|
+
export { AllPossibleProperties, AllSelectors, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentStateConfig, ConfigurableComponentName, type ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, type FontFamilyCDNUrl, FontFamilyConfig, type FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PossibleStates, PossibleStatesWithRest, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, type SelectedConfigurableProperty, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SubComponentConfig, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TooltipPlacement, TooltipSize, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, type UniversalTokensConfig, type UniversalTokensConfigAuto, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties };
|
package/dist/tokens/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps as UniversalAvatarImageProps$1, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps as UniversalChipProps$1, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps as UniversalIconButtonProps$1, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric } from "../types/dist/index.js";
|
|
2
|
+
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TooltipPlacement, TooltipSize, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps as UniversalAvatarImageProps$1, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps as UniversalChipProps$1, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps as UniversalIconButtonProps$1, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps } from "../types/dist/index.js";
|
|
3
3
|
import { AllPossibleProperties, ComponentConfig, ComponentStateConfig, LayerConfig, PossibleStates, PossibleStatesWithRest, SubComponentConfig, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties } from "../automated-config/dist/types/ComponentConfig.js";
|
|
4
4
|
import { ConfigurablePropertiesName, SelectedConfigurableProperty } from "../automated-config/dist/properties.js";
|
|
5
5
|
import { UniversalTokensConfigAuto } from "../automated-config/dist/generated/universalTokensConfigAuto.js";
|
|
@@ -41,4 +41,4 @@ interface UniversalChipProps extends UniversalChipProps$1 {
|
|
|
41
41
|
*/
|
|
42
42
|
type ConfigurableComponentName = keyof UniversalTokensConfigAuto;
|
|
43
43
|
//#endregion
|
|
44
|
-
export { AllPossibleProperties, AllSelectors, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentStateConfig, ConfigurableComponentName, type ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, type FontFamilyCDNUrl, FontFamilyConfig, type FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PossibleStates, PossibleStatesWithRest, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, type SelectedConfigurableProperty, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SubComponentConfig, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, type UniversalTokensConfig, type UniversalTokensConfigAuto, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties };
|
|
44
|
+
export { AllPossibleProperties, AllSelectors, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentStateConfig, ConfigurableComponentName, type ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, type FontFamilyCDNUrl, FontFamilyConfig, type FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PossibleStates, PossibleStatesWithRest, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, type SelectedConfigurableProperty, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SubComponentConfig, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TooltipPlacement, TooltipSize, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, type UniversalTokensConfig, type UniversalTokensConfigAuto, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties };
|
|
@@ -811,11 +811,46 @@ interface UniversalToastProps {
|
|
|
811
811
|
*/
|
|
812
812
|
reduceMotion?: boolean;
|
|
813
813
|
}
|
|
814
|
+
type VerticalPlacement = 'top' | 'bottom';
|
|
815
|
+
type HorizontalPlacement = 'start' | 'end';
|
|
816
|
+
type TooltipPlacement = VerticalPlacement | HorizontalPlacement | `${VerticalPlacement}-${HorizontalPlacement}` | `${HorizontalPlacement}-${VerticalPlacement}`;
|
|
817
|
+
type TooltipSize = 'default';
|
|
818
|
+
type TooltipVariant = 'default';
|
|
819
|
+
interface UniversalTooltipProps {
|
|
820
|
+
/** The TooltipTrigger and TooltipContent elements */
|
|
821
|
+
children: ReactNode;
|
|
822
|
+
/** The preferred placement of the tooltip relative to the trigger element @default 'top' */
|
|
823
|
+
placement?: TooltipPlacement;
|
|
824
|
+
/** Hiding and showing should usually be controlled internally by the component, but this prop is here for special use cases. */
|
|
825
|
+
open?: boolean;
|
|
826
|
+
/** Whether to render the tooltip content in a portal @default true */
|
|
827
|
+
portal?: boolean;
|
|
828
|
+
}
|
|
829
|
+
interface UniversalTooltipTriggerProps {
|
|
830
|
+
/** The content to display inside the tooltip trigger. This is what the tooltip will be anchored to. */
|
|
831
|
+
children: ReactNode;
|
|
832
|
+
}
|
|
833
|
+
interface UniversalTooltipContentProps {
|
|
834
|
+
/** The body content of the tooltip. */
|
|
835
|
+
children: ReactNode;
|
|
836
|
+
/** The maximum width of the tooltip content. Accepts a number in pixels or a string in CSS units. */
|
|
837
|
+
maxWidth?: string | number;
|
|
838
|
+
/** An icon displayed at the start of the tooltip title. */
|
|
839
|
+
startTitleIcon?: UniversalIconSlot;
|
|
840
|
+
/** An optional title rendered above the body content. */
|
|
841
|
+
title?: ReactNode;
|
|
842
|
+
/** Additional content rendered at the end of the tooltip (e.g. a keyboard shortcut). */
|
|
843
|
+
endContent?: ReactNode;
|
|
844
|
+
/** A custom CSS class name applied to the tooltip content container. */
|
|
845
|
+
className?: string;
|
|
846
|
+
/** A custom `id` attribute for the tooltip content element, useful for accessibility linking. */
|
|
847
|
+
id?: string;
|
|
848
|
+
}
|
|
814
849
|
/**
|
|
815
850
|
* Base interface for configurable component names.
|
|
816
851
|
* The full list is: avatar, badge, button, checkbox, chip, divider, iconButton, input, link, menu, radio, switch
|
|
817
852
|
*/
|
|
818
|
-
type ConfigurableComponentName = 'avatar' | 'badge' | 'button' | 'checkbox' | 'chip' | 'divider' | 'iconButton' | 'input' | 'link' | 'menu' | 'radio' | 'switch' | 'toast';
|
|
853
|
+
type ConfigurableComponentName = 'avatar' | 'badge' | 'button' | 'checkbox' | 'chip' | 'divider' | 'iconButton' | 'input' | 'link' | 'menu' | 'radio' | 'switch' | 'toast' | 'tooltip';
|
|
819
854
|
/**
|
|
820
855
|
* Base interface for UniversalTokensConfigAuto.
|
|
821
856
|
* This is extended by @yahoo/uds with the full generated config.
|
|
@@ -851,4 +886,4 @@ type GlobalDefaultsConfig = {
|
|
|
851
886
|
enableResponsiveType: boolean;
|
|
852
887
|
}; //#endregion
|
|
853
888
|
//#endregion
|
|
854
|
-
export { 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 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 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 ToastPosition, type ToastSize, type ToastVariant, 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 UniversalToastProps, type UniversalTokensConfigAutoBase, type UniversalTokensConfigBase, type UniversalTokensConfigGeneric };
|
|
889
|
+
export { 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 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 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 ToastPosition, type ToastSize, type ToastVariant, type TooltipPlacement, type TooltipSize, type TooltipVariant, 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 UniversalToastProps, type UniversalTokensConfigAutoBase, type UniversalTokensConfigBase, type UniversalTokensConfigGeneric, type UniversalTooltipContentProps, type UniversalTooltipProps, type UniversalTooltipTriggerProps };
|
|
@@ -811,11 +811,46 @@ interface UniversalToastProps {
|
|
|
811
811
|
*/
|
|
812
812
|
reduceMotion?: boolean;
|
|
813
813
|
}
|
|
814
|
+
type VerticalPlacement = 'top' | 'bottom';
|
|
815
|
+
type HorizontalPlacement = 'start' | 'end';
|
|
816
|
+
type TooltipPlacement = VerticalPlacement | HorizontalPlacement | `${VerticalPlacement}-${HorizontalPlacement}` | `${HorizontalPlacement}-${VerticalPlacement}`;
|
|
817
|
+
type TooltipSize = 'default';
|
|
818
|
+
type TooltipVariant = 'default';
|
|
819
|
+
interface UniversalTooltipProps {
|
|
820
|
+
/** The TooltipTrigger and TooltipContent elements */
|
|
821
|
+
children: ReactNode;
|
|
822
|
+
/** The preferred placement of the tooltip relative to the trigger element @default 'top' */
|
|
823
|
+
placement?: TooltipPlacement;
|
|
824
|
+
/** Hiding and showing should usually be controlled internally by the component, but this prop is here for special use cases. */
|
|
825
|
+
open?: boolean;
|
|
826
|
+
/** Whether to render the tooltip content in a portal @default true */
|
|
827
|
+
portal?: boolean;
|
|
828
|
+
}
|
|
829
|
+
interface UniversalTooltipTriggerProps {
|
|
830
|
+
/** The content to display inside the tooltip trigger. This is what the tooltip will be anchored to. */
|
|
831
|
+
children: ReactNode;
|
|
832
|
+
}
|
|
833
|
+
interface UniversalTooltipContentProps {
|
|
834
|
+
/** The body content of the tooltip. */
|
|
835
|
+
children: ReactNode;
|
|
836
|
+
/** The maximum width of the tooltip content. Accepts a number in pixels or a string in CSS units. */
|
|
837
|
+
maxWidth?: string | number;
|
|
838
|
+
/** An icon displayed at the start of the tooltip title. */
|
|
839
|
+
startTitleIcon?: UniversalIconSlot;
|
|
840
|
+
/** An optional title rendered above the body content. */
|
|
841
|
+
title?: ReactNode;
|
|
842
|
+
/** Additional content rendered at the end of the tooltip (e.g. a keyboard shortcut). */
|
|
843
|
+
endContent?: ReactNode;
|
|
844
|
+
/** A custom CSS class name applied to the tooltip content container. */
|
|
845
|
+
className?: string;
|
|
846
|
+
/** A custom `id` attribute for the tooltip content element, useful for accessibility linking. */
|
|
847
|
+
id?: string;
|
|
848
|
+
}
|
|
814
849
|
/**
|
|
815
850
|
* Base interface for configurable component names.
|
|
816
851
|
* The full list is: avatar, badge, button, checkbox, chip, divider, iconButton, input, link, menu, radio, switch
|
|
817
852
|
*/
|
|
818
|
-
type ConfigurableComponentName = 'avatar' | 'badge' | 'button' | 'checkbox' | 'chip' | 'divider' | 'iconButton' | 'input' | 'link' | 'menu' | 'radio' | 'switch' | 'toast';
|
|
853
|
+
type ConfigurableComponentName = 'avatar' | 'badge' | 'button' | 'checkbox' | 'chip' | 'divider' | 'iconButton' | 'input' | 'link' | 'menu' | 'radio' | 'switch' | 'toast' | 'tooltip';
|
|
819
854
|
/**
|
|
820
855
|
* Base interface for UniversalTokensConfigAuto.
|
|
821
856
|
* This is extended by @yahoo/uds with the full generated config.
|
|
@@ -851,4 +886,4 @@ type GlobalDefaultsConfig = {
|
|
|
851
886
|
enableResponsiveType: boolean;
|
|
852
887
|
}; //#endregion
|
|
853
888
|
//#endregion
|
|
854
|
-
export { 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 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 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 ToastPosition, type ToastSize, type ToastVariant, 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 UniversalToastProps, type UniversalTokensConfigAutoBase, type UniversalTokensConfigBase, type UniversalTokensConfigGeneric };
|
|
889
|
+
export { 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 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 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 ToastPosition, type ToastSize, type ToastVariant, type TooltipPlacement, type TooltipSize, type TooltipVariant, 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 UniversalToastProps, type UniversalTokensConfigAutoBase, type UniversalTokensConfigBase, type UniversalTokensConfigGeneric, type UniversalTooltipContentProps, type UniversalTooltipProps, type UniversalTooltipTriggerProps };
|
|
@@ -192,7 +192,17 @@ const variantsList = [
|
|
|
192
192
|
"toastVariantActionButton",
|
|
193
193
|
"toastVariantCloseIcon",
|
|
194
194
|
"toastVariantIcon",
|
|
195
|
-
"toastVariantRoot"
|
|
195
|
+
"toastVariantRoot",
|
|
196
|
+
"tooltipSizeBody",
|
|
197
|
+
"tooltipSizeEndContent",
|
|
198
|
+
"tooltipSizeIcon",
|
|
199
|
+
"tooltipSizeRoot",
|
|
200
|
+
"tooltipSizeSvg",
|
|
201
|
+
"tooltipSizeTitle",
|
|
202
|
+
"tooltipVariantBlur",
|
|
203
|
+
"tooltipVariantIcon",
|
|
204
|
+
"tooltipVariantRoot",
|
|
205
|
+
"tooltipVariantSvg"
|
|
196
206
|
];
|
|
197
207
|
const componentToVariants = {
|
|
198
208
|
Avatar: [],
|
|
@@ -4167,9 +4177,13 @@ const componentToVariants = {
|
|
|
4167
4177
|
Toast: [],
|
|
4168
4178
|
ToastContainer: [],
|
|
4169
4179
|
ToastPortal: [],
|
|
4180
|
+
Tooltip: [],
|
|
4181
|
+
TooltipContent: [],
|
|
4182
|
+
TooltipTrigger: [],
|
|
4170
4183
|
UDSBreakpointsConfigProvider: [],
|
|
4171
4184
|
UDSConfigProvider: [],
|
|
4172
4185
|
UDSToastConfigProvider: [],
|
|
4186
|
+
UDSTooltipConfigProvider: [],
|
|
4173
4187
|
VStack: [
|
|
4174
4188
|
["width", [
|
|
4175
4189
|
"full",
|
|
@@ -4278,9 +4292,13 @@ const componentToTwClasses = {
|
|
|
4278
4292
|
Toast: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator w-full flex-none animate-spin bg-carbon-15\\/0 transition-\\[background-color\\] duration-0 hover\\:bg-carbon-15\\/10:hover active\\:bg-carbon-15\\/15:active uds-toast-size-default-actionbutton uds-toast-size-default-closeicon uds-toast-size-default-icon uds-toast-size-default-label uds-toast-size-default-root uds-toast-variant-error-actionbutton uds-toast-variant-info-actionbutton uds-toast-variant-loading-actionbutton uds-toast-variant-success-actionbutton uds-toast-variant-warning-actionbutton uds-toast-variant-error-closeicon uds-toast-variant-info-closeicon uds-toast-variant-loading-closeicon uds-toast-variant-success-closeicon uds-toast-variant-warning-closeicon uds-toast-variant-error-icon uds-toast-variant-info-icon uds-toast-variant-loading-icon uds-toast-variant-success-icon uds-toast-variant-warning-icon uds-toast-variant-error-root uds-toast-variant-info-root uds-toast-variant-loading-root uds-toast-variant-success-root uds-toast-variant-warning-root",
|
|
4279
4293
|
ToastContainer: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator relative z-0 mb-2 box-border flex hidden w-full touch-none break-words last\\:mb-0:last-child uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator w-full flex-none animate-spin bg-carbon-15\\/0 transition-\\[background-color\\] duration-0 hover\\:bg-carbon-15\\/10:hover active\\:bg-carbon-15\\/15:active uds-toast-size-default-actionbutton uds-toast-size-default-closeicon uds-toast-size-default-icon uds-toast-size-default-label uds-toast-size-default-root uds-toast-variant-error-actionbutton uds-toast-variant-info-actionbutton uds-toast-variant-loading-actionbutton uds-toast-variant-success-actionbutton uds-toast-variant-warning-actionbutton uds-toast-variant-error-closeicon uds-toast-variant-info-closeicon uds-toast-variant-loading-closeicon uds-toast-variant-success-closeicon uds-toast-variant-warning-closeicon uds-toast-variant-error-icon uds-toast-variant-info-icon uds-toast-variant-loading-icon uds-toast-variant-success-icon uds-toast-variant-warning-icon uds-toast-variant-error-root uds-toast-variant-info-root uds-toast-variant-loading-root uds-toast-variant-success-root uds-toast-variant-warning-root",
|
|
4280
4294
|
ToastPortal: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator transition uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator w-full flex-none animate-spin bg-carbon-15\\/0 transition-\\[background-color\\] duration-0 hover\\:bg-carbon-15\\/10:hover active\\:bg-carbon-15\\/15:active uds-toast-size-default-actionbutton uds-toast-size-default-closeicon uds-toast-size-default-icon uds-toast-size-default-label uds-toast-size-default-root uds-toast-variant-error-actionbutton uds-toast-variant-info-actionbutton uds-toast-variant-loading-actionbutton uds-toast-variant-success-actionbutton uds-toast-variant-warning-actionbutton uds-toast-variant-error-closeicon uds-toast-variant-info-closeicon uds-toast-variant-loading-closeicon uds-toast-variant-success-closeicon uds-toast-variant-warning-closeicon uds-toast-variant-error-icon uds-toast-variant-info-icon uds-toast-variant-loading-icon uds-toast-variant-success-icon uds-toast-variant-warning-icon uds-toast-variant-error-root uds-toast-variant-info-root uds-toast-variant-loading-root uds-toast-variant-success-root uds-toast-variant-warning-root",
|
|
4295
|
+
Tooltip: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator visible uds-tooltip-size-default-body uds-tooltip-size-default-endcontent uds-tooltip-size-default-icon uds-tooltip-size-default-root uds-tooltip-size-default-svg uds-tooltip-size-default-title uds-tooltip-variant-default-blur uds-tooltip-variant-default-icon uds-tooltip-variant-default-root uds-tooltip-variant-default-svg",
|
|
4296
|
+
TooltipContent: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator pointer-events-none absolute relative left-0 top-0 z-\\[1\\] z-\\[2\\] z-\\[3\\] z-\\[9999\\] flex h-full w-full transform gap-\\[inherit\\] overflow-visible stroke-1 shadow blur filter transition-opacity ease-in-out uds-bgBlurFillFallback uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator visible uds-tooltip-size-default-body uds-tooltip-size-default-endcontent uds-tooltip-size-default-icon uds-tooltip-size-default-root uds-tooltip-size-default-svg uds-tooltip-size-default-title uds-tooltip-variant-default-blur uds-tooltip-variant-default-icon uds-tooltip-variant-default-root uds-tooltip-variant-default-svg",
|
|
4297
|
+
TooltipTrigger: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator inline uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator visible uds-tooltip-size-default-body uds-tooltip-size-default-endcontent uds-tooltip-size-default-icon uds-tooltip-size-default-root uds-tooltip-size-default-svg uds-tooltip-size-default-title uds-tooltip-variant-default-blur uds-tooltip-variant-default-icon uds-tooltip-variant-default-root uds-tooltip-variant-default-svg",
|
|
4281
4298
|
UDSBreakpointsConfigProvider: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator",
|
|
4282
4299
|
UDSConfigProvider: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator",
|
|
4283
4300
|
UDSToastConfigProvider: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator",
|
|
4301
|
+
UDSTooltipConfigProvider: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator",
|
|
4284
4302
|
VStack: "container uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator",
|
|
4285
4303
|
Accordion: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator flex hidden w-full hover\\:bg-secondary\\/80:hover",
|
|
4286
4304
|
AvoidMotionLibraryProvider: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator",
|
|
@@ -4372,9 +4390,21 @@ const componentsDependencies = {
|
|
|
4372
4390
|
],
|
|
4373
4391
|
ToastContainer: ["HStack"],
|
|
4374
4392
|
ToastPortal: ["ToastContainer"],
|
|
4393
|
+
Tooltip: [],
|
|
4394
|
+
TooltipContent: [
|
|
4395
|
+
"Tooltip",
|
|
4396
|
+
"Box",
|
|
4397
|
+
"Text"
|
|
4398
|
+
],
|
|
4399
|
+
TooltipTrigger: [],
|
|
4375
4400
|
UDSBreakpointsConfigProvider: [],
|
|
4376
|
-
UDSConfigProvider: [
|
|
4401
|
+
UDSConfigProvider: [
|
|
4402
|
+
"UDSToastConfigProvider",
|
|
4403
|
+
"UDSTooltipConfigProvider",
|
|
4404
|
+
"UDSBreakpointsConfigProvider"
|
|
4405
|
+
],
|
|
4377
4406
|
UDSToastConfigProvider: [],
|
|
4407
|
+
UDSTooltipConfigProvider: [],
|
|
4378
4408
|
VStack: ["Box"],
|
|
4379
4409
|
Accordion: [
|
|
4380
4410
|
"Icon",
|
|
@@ -191,7 +191,17 @@ const variantsList = [
|
|
|
191
191
|
"toastVariantActionButton",
|
|
192
192
|
"toastVariantCloseIcon",
|
|
193
193
|
"toastVariantIcon",
|
|
194
|
-
"toastVariantRoot"
|
|
194
|
+
"toastVariantRoot",
|
|
195
|
+
"tooltipSizeBody",
|
|
196
|
+
"tooltipSizeEndContent",
|
|
197
|
+
"tooltipSizeIcon",
|
|
198
|
+
"tooltipSizeRoot",
|
|
199
|
+
"tooltipSizeSvg",
|
|
200
|
+
"tooltipSizeTitle",
|
|
201
|
+
"tooltipVariantBlur",
|
|
202
|
+
"tooltipVariantIcon",
|
|
203
|
+
"tooltipVariantRoot",
|
|
204
|
+
"tooltipVariantSvg"
|
|
195
205
|
];
|
|
196
206
|
const componentToVariants = {
|
|
197
207
|
Avatar: [],
|
|
@@ -4166,9 +4176,13 @@ const componentToVariants = {
|
|
|
4166
4176
|
Toast: [],
|
|
4167
4177
|
ToastContainer: [],
|
|
4168
4178
|
ToastPortal: [],
|
|
4179
|
+
Tooltip: [],
|
|
4180
|
+
TooltipContent: [],
|
|
4181
|
+
TooltipTrigger: [],
|
|
4169
4182
|
UDSBreakpointsConfigProvider: [],
|
|
4170
4183
|
UDSConfigProvider: [],
|
|
4171
4184
|
UDSToastConfigProvider: [],
|
|
4185
|
+
UDSTooltipConfigProvider: [],
|
|
4172
4186
|
VStack: [
|
|
4173
4187
|
["width", [
|
|
4174
4188
|
"full",
|
|
@@ -4277,9 +4291,13 @@ const componentToTwClasses = {
|
|
|
4277
4291
|
Toast: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator w-full flex-none animate-spin bg-carbon-15\\/0 transition-\\[background-color\\] duration-0 hover\\:bg-carbon-15\\/10:hover active\\:bg-carbon-15\\/15:active uds-toast-size-default-actionbutton uds-toast-size-default-closeicon uds-toast-size-default-icon uds-toast-size-default-label uds-toast-size-default-root uds-toast-variant-error-actionbutton uds-toast-variant-info-actionbutton uds-toast-variant-loading-actionbutton uds-toast-variant-success-actionbutton uds-toast-variant-warning-actionbutton uds-toast-variant-error-closeicon uds-toast-variant-info-closeicon uds-toast-variant-loading-closeicon uds-toast-variant-success-closeicon uds-toast-variant-warning-closeicon uds-toast-variant-error-icon uds-toast-variant-info-icon uds-toast-variant-loading-icon uds-toast-variant-success-icon uds-toast-variant-warning-icon uds-toast-variant-error-root uds-toast-variant-info-root uds-toast-variant-loading-root uds-toast-variant-success-root uds-toast-variant-warning-root",
|
|
4278
4292
|
ToastContainer: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator relative z-0 mb-2 box-border flex hidden w-full touch-none break-words last\\:mb-0:last-child uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator w-full flex-none animate-spin bg-carbon-15\\/0 transition-\\[background-color\\] duration-0 hover\\:bg-carbon-15\\/10:hover active\\:bg-carbon-15\\/15:active uds-toast-size-default-actionbutton uds-toast-size-default-closeicon uds-toast-size-default-icon uds-toast-size-default-label uds-toast-size-default-root uds-toast-variant-error-actionbutton uds-toast-variant-info-actionbutton uds-toast-variant-loading-actionbutton uds-toast-variant-success-actionbutton uds-toast-variant-warning-actionbutton uds-toast-variant-error-closeicon uds-toast-variant-info-closeicon uds-toast-variant-loading-closeicon uds-toast-variant-success-closeicon uds-toast-variant-warning-closeicon uds-toast-variant-error-icon uds-toast-variant-info-icon uds-toast-variant-loading-icon uds-toast-variant-success-icon uds-toast-variant-warning-icon uds-toast-variant-error-root uds-toast-variant-info-root uds-toast-variant-loading-root uds-toast-variant-success-root uds-toast-variant-warning-root",
|
|
4279
4293
|
ToastPortal: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator transition uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator w-full flex-none animate-spin bg-carbon-15\\/0 transition-\\[background-color\\] duration-0 hover\\:bg-carbon-15\\/10:hover active\\:bg-carbon-15\\/15:active uds-toast-size-default-actionbutton uds-toast-size-default-closeicon uds-toast-size-default-icon uds-toast-size-default-label uds-toast-size-default-root uds-toast-variant-error-actionbutton uds-toast-variant-info-actionbutton uds-toast-variant-loading-actionbutton uds-toast-variant-success-actionbutton uds-toast-variant-warning-actionbutton uds-toast-variant-error-closeicon uds-toast-variant-info-closeicon uds-toast-variant-loading-closeicon uds-toast-variant-success-closeicon uds-toast-variant-warning-closeicon uds-toast-variant-error-icon uds-toast-variant-info-icon uds-toast-variant-loading-icon uds-toast-variant-success-icon uds-toast-variant-warning-icon uds-toast-variant-error-root uds-toast-variant-info-root uds-toast-variant-loading-root uds-toast-variant-success-root uds-toast-variant-warning-root",
|
|
4294
|
+
Tooltip: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator visible uds-tooltip-size-default-body uds-tooltip-size-default-endcontent uds-tooltip-size-default-icon uds-tooltip-size-default-root uds-tooltip-size-default-svg uds-tooltip-size-default-title uds-tooltip-variant-default-blur uds-tooltip-variant-default-icon uds-tooltip-variant-default-root uds-tooltip-variant-default-svg",
|
|
4295
|
+
TooltipContent: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator pointer-events-none absolute relative left-0 top-0 z-\\[1\\] z-\\[2\\] z-\\[3\\] z-\\[9999\\] flex h-full w-full transform gap-\\[inherit\\] overflow-visible stroke-1 shadow blur filter transition-opacity ease-in-out uds-bgBlurFillFallback uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator visible uds-tooltip-size-default-body uds-tooltip-size-default-endcontent uds-tooltip-size-default-icon uds-tooltip-size-default-root uds-tooltip-size-default-svg uds-tooltip-size-default-title uds-tooltip-variant-default-blur uds-tooltip-variant-default-icon uds-tooltip-variant-default-root uds-tooltip-variant-default-svg",
|
|
4296
|
+
TooltipTrigger: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator inline uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator visible uds-tooltip-size-default-body uds-tooltip-size-default-endcontent uds-tooltip-size-default-icon uds-tooltip-size-default-root uds-tooltip-size-default-svg uds-tooltip-size-default-title uds-tooltip-variant-default-blur uds-tooltip-variant-default-icon uds-tooltip-variant-default-root uds-tooltip-variant-default-svg",
|
|
4280
4297
|
UDSBreakpointsConfigProvider: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator",
|
|
4281
4298
|
UDSConfigProvider: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator",
|
|
4282
4299
|
UDSToastConfigProvider: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator",
|
|
4300
|
+
UDSTooltipConfigProvider: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator",
|
|
4283
4301
|
VStack: "container uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator",
|
|
4284
4302
|
Accordion: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator flex hidden w-full hover\\:bg-secondary\\/80:hover",
|
|
4285
4303
|
AvoidMotionLibraryProvider: "uds-hit-target uds-ring uds-ring:focus-visible focused .uds-ring uds-ring.uds-ring-within:has(:focus-visible) uds-input[list]::-webkit-calendar-picker-indicator uds-input::-webkit-datetime-edit uds-input::-webkit-calendar-picker-indicator",
|
|
@@ -4371,9 +4389,21 @@ const componentsDependencies = {
|
|
|
4371
4389
|
],
|
|
4372
4390
|
ToastContainer: ["HStack"],
|
|
4373
4391
|
ToastPortal: ["ToastContainer"],
|
|
4392
|
+
Tooltip: [],
|
|
4393
|
+
TooltipContent: [
|
|
4394
|
+
"Tooltip",
|
|
4395
|
+
"Box",
|
|
4396
|
+
"Text"
|
|
4397
|
+
],
|
|
4398
|
+
TooltipTrigger: [],
|
|
4374
4399
|
UDSBreakpointsConfigProvider: [],
|
|
4375
|
-
UDSConfigProvider: [
|
|
4400
|
+
UDSConfigProvider: [
|
|
4401
|
+
"UDSToastConfigProvider",
|
|
4402
|
+
"UDSTooltipConfigProvider",
|
|
4403
|
+
"UDSBreakpointsConfigProvider"
|
|
4404
|
+
],
|
|
4376
4405
|
UDSToastConfigProvider: [],
|
|
4406
|
+
UDSTooltipConfigProvider: [],
|
|
4377
4407
|
VStack: ["Box"],
|
|
4378
4408
|
Accordion: [
|
|
4379
4409
|
"Icon",
|
package/dist/uds/package.cjs
CHANGED
|
@@ -202,6 +202,7 @@ var package_default = {
|
|
|
202
202
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf .coverage",
|
|
203
203
|
"dev": "concurrently bun:dev:*",
|
|
204
204
|
"dev:fixtures": "bun run ./scripts/buildFixtures.ts --watch",
|
|
205
|
+
"dev:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts --watch",
|
|
205
206
|
"dev:ts": "tsdown --watch",
|
|
206
207
|
"format:pkg": "bun --cwd ../../ syncpack format",
|
|
207
208
|
"lint": "eslint -c eslint.config.mjs .",
|
package/dist/uds/package.js
CHANGED
|
@@ -201,6 +201,7 @@ var package_default = {
|
|
|
201
201
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf .coverage",
|
|
202
202
|
"dev": "concurrently bun:dev:*",
|
|
203
203
|
"dev:fixtures": "bun run ./scripts/buildFixtures.ts --watch",
|
|
204
|
+
"dev:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts --watch",
|
|
204
205
|
"dev:ts": "tsdown --watch",
|
|
205
206
|
"format:pkg": "bun --cwd ../../ syncpack format",
|
|
206
207
|
"lint": "eslint -c eslint.config.mjs .",
|
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.103.0-beta.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -204,6 +204,7 @@
|
|
|
204
204
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf .coverage",
|
|
205
205
|
"dev": "concurrently bun:dev:*",
|
|
206
206
|
"dev:fixtures": "bun run ./scripts/buildFixtures.ts --watch",
|
|
207
|
+
"dev:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts --watch",
|
|
207
208
|
"dev:ts": "tsdown --watch",
|
|
208
209
|
"format:pkg": "bun --cwd ../../ syncpack format",
|
|
209
210
|
"lint": "eslint -c eslint.config.mjs .",
|