@yahoo/uds 3.42.0 → 3.43.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.
Files changed (72) hide show
  1. package/dist/{Box-C0a9PcBj.d.cts → Box-B0LllWZj.d.cts} +1 -1
  2. package/dist/{Box-bV_PdtrW.d.ts → Box-D9iWmImZ.d.ts} +1 -1
  3. package/dist/Box-fE8vCK9j.d.ts +34 -0
  4. package/dist/Box-gliNRa6_.d.cts +34 -0
  5. package/dist/{Pressable-BouwxLWa.d.ts → Pressable-CUPABukq.d.ts} +1 -1
  6. package/dist/{Pressable-3JzoaTwB.d.cts → Pressable-DDF5_8H0.d.cts} +1 -1
  7. package/dist/Pressable-DV5RaKyp.d.cts +44 -0
  8. package/dist/Pressable-EzlcVc9I.d.ts +44 -0
  9. package/dist/{Text-DQVCrASg.d.ts → Text-6N_KtHQd.d.ts} +2 -2
  10. package/dist/{Text-Bv_FMTpx.d.cts → Text-Cc-8uf28.d.cts} +2 -2
  11. package/dist/Text-iA1FyaBd.d.ts +137 -0
  12. package/dist/Text-te2aI0ra.d.cts +137 -0
  13. package/dist/{VStack-CYjzIjtG.d.ts → VStack-B2VNB2Rz.d.ts} +2 -2
  14. package/dist/{VStack-CKD0Q5zd.d.cts → VStack-B9xER92y.d.cts} +2 -2
  15. package/dist/VStack-BB8x1waq.d.ts +83 -0
  16. package/dist/VStack-RH1vOEi5.d.cts +83 -0
  17. package/dist/chunk-2VXJ6ZXC.js +1 -0
  18. package/dist/chunk-3XMORCA6.cjs +1 -0
  19. package/dist/chunk-42TM364I.cjs +1 -0
  20. package/dist/chunk-4SWOQUGX.cjs +1 -0
  21. package/dist/chunk-53KBVJPZ.cjs +2 -0
  22. package/dist/chunk-6IIFFVGC.js +1 -0
  23. package/dist/chunk-6OLYHKI2.js +2 -0
  24. package/dist/chunk-7IYNK6VF.js +3 -0
  25. package/dist/chunk-D4G2CCD4.js +2 -0
  26. package/dist/chunk-D7XPTBPO.js +2 -0
  27. package/dist/chunk-I4FBYECY.cjs +1 -0
  28. package/dist/chunk-JD7PX7BB.cjs +2 -0
  29. package/dist/chunk-K7DHGT5F.cjs +1 -0
  30. package/dist/chunk-MEM4DBEJ.cjs +1 -0
  31. package/dist/chunk-ND5BLCNY.js +2 -0
  32. package/dist/chunk-O4TV6UVI.cjs +1 -0
  33. package/dist/chunk-QCLXCOEJ.js +2 -0
  34. package/dist/chunk-XWRSYGZJ.js +2 -0
  35. package/dist/client/Menu.cjs +2 -2
  36. package/dist/client/Menu.d.cts +8 -8
  37. package/dist/client/Menu.d.ts +8 -8
  38. package/dist/client/Menu.js +2 -2
  39. package/dist/client/index.d.cts +5 -5
  40. package/dist/client/index.d.ts +5 -5
  41. package/dist/defaultTokensConfig.d.cts +2 -2
  42. package/dist/defaultTokensConfig.d.ts +2 -2
  43. package/dist/experimental/client/SwitchV2.d.cts +1 -1
  44. package/dist/experimental/client/SwitchV2.d.ts +1 -1
  45. package/dist/experimental/client/SwitchV2.js +1 -0
  46. package/dist/index-BnRf_siO.d.cts +245 -0
  47. package/dist/{index-mVFrr-gv.d.cts → index-CvXCgx-c.d.cts} +1 -1
  48. package/dist/index-DQCJEaxt.d.ts +245 -0
  49. package/dist/{index-COAiH7jF.d.ts → index-voEKPSkj.d.ts} +1 -1
  50. package/dist/index.d.cts +8 -8
  51. package/dist/index.d.ts +8 -8
  52. package/dist/metafile-cjs.json +1 -1
  53. package/dist/metafile-esm.json +1 -1
  54. package/dist/tailwind/plugin.d.cts +1 -1
  55. package/dist/tailwind/plugin.d.ts +1 -1
  56. package/dist/tailwind/purger.cjs +1 -1
  57. package/dist/tailwind/purger.js +1 -1
  58. package/dist/tailwind/utils.d.cts +1 -1
  59. package/dist/tailwind/utils.d.ts +1 -1
  60. package/dist/tokens/automation/configs.d.cts +2 -2
  61. package/dist/tokens/automation/configs.d.ts +2 -2
  62. package/dist/tokens/automation/properties.d.cts +2 -2
  63. package/dist/tokens/automation/properties.d.ts +2 -2
  64. package/dist/tokens/index.d.cts +4 -4
  65. package/dist/tokens/index.d.ts +4 -4
  66. package/dist/tokens/parseTokens.d.cts +1 -1
  67. package/dist/tokens/parseTokens.d.ts +1 -1
  68. package/dist/{types-J0-0DZHb.d.cts → types-CatBybWM.d.cts} +7 -1
  69. package/dist/{types-J0-0DZHb.d.ts → types-CatBybWM.d.ts} +7 -1
  70. package/dist/types-YEchfcue.d.cts +10594 -0
  71. package/dist/types-YEchfcue.d.ts +10594 -0
  72. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { SvgIcon, IconSize, IconVariant } from '@yahoo/uds-icons/types';
2
2
  import { Spring } from 'motion/react';
3
- import { PropsWithChildren, ElementType, ReactNode, CSSProperties } from 'react';
3
+ import { PropsWithChildren, ElementType, ReactNode, CSSProperties, HTMLAttributes, Ref } from 'react';
4
4
  import { IntRange } from 'type-fest';
5
5
 
6
6
  interface UniversalTokensConfigAuto {
@@ -10583,6 +10583,12 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
10583
10583
  active?: boolean;
10584
10584
  /** Whether the item is disabled */
10585
10585
  disabled?: boolean;
10586
+ /** Slots to customize the rendering */
10587
+ slots?: {
10588
+ root?: (props: HTMLAttributes<any> & {
10589
+ ref?: Ref<any>;
10590
+ }) => ReactNode;
10591
+ };
10586
10592
  }
10587
10593
 
10588
10594
  export { DARK_COLOR_MODE_CLASSNAME as $, type UniversalLinkProps as A, type ButtonConfig as B, type ColorModeConfig as C, alwaysPalette as D, UDS_PREFIX as E, type FontConfig as F, type GlobalDefaultsConfig as G, type Hue as H, type IconButtonConfig as I, AVATAR_SIZE_PREFIX as J, BORDER_RADIUS_PREFIX as K, BORDER_WIDTH_PREFIX as L, type MotionConfig as M, FONT_FAMILY_PREFIX as N, FONT_SIZE_PREFIX as O, type PaletteType as P, FONT_WEIGHT_PREFIX as Q, FONT_SLANT_PREFIX as R, type ScaleModeConfig as S, type TypographyConfig as T, type UniversalPressableProps as U, FONT_WIDTH_PREFIX as V, ICON_SIZE_PREFIX as W, LINE_HEIGHT_PREFIX as X, MOTION_PREFIX as Y, SPECTRUM_COLOR_PREFIX as Z, TEXT_TRANSFORM_PREFIX as _, type UniversalBoxProps as a, type ButtonState as a$, LIGHT_COLOR_MODE_CLASSNAME as a0, SYSTEM_COLOR_MODE_CLASSNAME as a1, INVERT_COLOR_MODE_CLASSNAME as a2, XSMALL_SCALE_MODE_CLASSNAME as a3, SMALL_SCALE_MODE_CLASSNAME as a4, MEDIUM_SCALE_MODE_CLASSNAME as a5, LARGE_SCALE_MODE_CLASSNAME as a6, XLARGE_SCALE_MODE_CLASSNAME as a7, XXLARGE_SCALE_MODE_CLASSNAME as a8, XXXLARGE_SCALE_MODE_CLASSNAME as a9, type BackgroundStyleProps as aA, type BadgeSize as aB, type BadgeVariant as aC, type BorderRadius as aD, type BorderRadiusConfig as aE, type BorderStyleProps as aF, type BorderWidth as aG, type BorderWidthConfig as aH, type Breakpoint as aI, type BreakpointWithBase as aJ, type ButtonBaseConfig as aK, type ButtonClassName as aL, type ButtonColorConfig as aM, type ButtonColorEffect as aN, type ButtonColorEffectConfig as aO, type ButtonKind as aP, type ButtonMotionEffect as aQ, type ButtonMotionProperty as aR, type ButtonMotionPropertyConfig as aS, type ButtonPalette as aT, type ButtonPaletteColor as aU, type ButtonPaletteConfig as aV, type ButtonShadowPropertyConfig as aW, type ButtonSize as aX, type ButtonSizeConfig as aY, type ButtonSizeProperty as aZ, type ButtonSpectrumColor as a_, DEFAULT_COLOR_MODE_CLASSNAME as aa, DEFAULT_SCALE_MODE_CLASSNAME as ab, TEXT_RESPONSIVE_CLASSNAME as ac, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES as ad, BUTTON_CSS_VAR_MAP as ae, ICON_BUTTON_CSS_VAR_MAP as af, PSEUDO_STYLE_SELECTOR_MAP as ag, FONT_DECLARATIONS_MAP as ah, type FontAxisConfig as ai, type FontDeclarationItemConfig as aj, type FontDeclarationConfig as ak, type FontDeclarationMap as al, type FontWeightForFont as am, type AlwaysPalette as an, type AlwaysPaletteAlias as ao, type AlwaysPaletteColor as ap, type Animation as aq, type AriaAttribute as ar, type AvatarAbbreviationStrategy as as, type AvatarShape as at, type AvatarSize as au, type AvatarSizeConfig as av, type AvatarVariant as aw, type BackgroundColor as ax, type BackgroundPalette as ay, type BackgroundPaletteAlias as az, type UniversalSwitchProps as b, type MotionSpringConfigOptions as b$, type ButtonStateConfig as b0, type ButtonStateEffectConfig as b1, type ButtonVariant as b2, type ButtonVariantConfig as b3, type ButtonVariantFlat as b4, type CheckboxSize as b5, type CheckboxValue as b6, type CheckboxVariant as b7, type ChipSize as b8, type ChipVariant as b9, type FontType as bA, type FontWeightConfig as bB, type FontWeightDescriptive as bC, type FontWeightNumeric as bD, type FontWidthConfig as bE, type ForegroundColor as bF, type ForegroundPalette as bG, type ForegroundPaletteAlias as bH, type HighContrastMode as bI, type IconButtonClassName as bJ, type IconButtonDefaultsConfig as bK, type IconButtonSize as bL, type IconSizeConfig as bM, type IconSlotRenderProps as bN, type ImageStyleProps as bO, type InputSize as bP, type LayoutStyleProps as bQ, type LetterSpacing as bR, type LineClampAlias as bS, type LineColor as bT, type LineHeight as bU, type LineHeightConfig as bV, type LinePalette as bW, type LinePaletteAlias as bX, type Modes as bY, type MotionCssVar as bZ, type MotionSpringConfig as b_, type ColorModeForApp as ba, type ConfigurableDropShadowValues as bb, type ConfigurableInsetShadowValues as bc, type CustomSizingStyleProps as bd, type DataAttribute as be, type Display as bf, type DividerVariant as bg, type Flex as bh, type FlexAlignContent as bi, type FlexAlignItems as bj, type FlexAlignSelf as bk, type FlexBasis as bl, type FlexDirection as bm, type FlexGrow as bn, type FlexJustifyContent as bo, type FlexShrink as bp, type FlexStyleProps as bq, type FlexWrap as br, type FontAlias as bs, type FontCssVar as bt, type FontFamilyCDNUrl as bu, type FontFamilyConfig as bv, type FontID as bw, type FontSize as bx, type FontSizeConfig as by, type FontSlantConfig as bz, type ShadowConfig as c, type UniversalCheckboxProps as c$, type MotionVariant as c0, type MotionVariantSpeed as c1, type MotionVariantValues as c2, type Overflow as c3, type Palette as c4, type PaletteValue as c5, type Pixels as c6, type PlatformMode as c7, type Position as c8, type PropertyToPaletteAliasMap as c9, type SpectrumConfig as cA, type StateStyleProps as cB, type StyleProps as cC, type SwitchSize as cD, type TextDecorationLine as cE, type TextProperty as cF, type TextStyleProps as cG, type TextTransform as cH, type TextTransformConfig as cI, type TextVariant as cJ, type TransitionDelay as cK, type TransitionDuration as cL, type TransitionTiming as cM, type TShirtSize as cN, type TShirtSizeCommon as cO, type TypographyResponsiveProperty as cP, type TypographyStyle as cQ, type TypographyStyleProperty as cR, type TypographyUnitValue as cS, type UdsCssVar as cT, type Unitless as cU, type UniversalAvatarIconProps as cV, type UniversalAvatarImageProps as cW, type UniversalAvatarProps as cX, type UniversalAvatarTextProps as cY, type UniversalBadgeProps as cZ, type UniversalButtonProps as c_, type RadioSize as ca, type RadioValue as cb, type RadioVariant as cc, type RegionMode as cd, type Rems as ce, type ScaleConfig as cf, type ScaleEffectMap as cg, type ScaleModeForApp as ch, type ShadowColor as ci, type ShadowColorConfig as cj, type ShadowOffset as ck, type ShadowOpacity as cl, type ShadowPalette as cm, type ShadowPaletteAlias as cn, type ShadowSpreadRadius as co, type ShadowStyleProps as cp, type ShadowType as cq, type ShadowTypeConfig as cr, type ShadowVariant as cs, type ShadowVariantConfig as ct, type ShadowVariantInvert as cu, type ShadowVariantWithInvert as cv, type SharedPaletteAlias as cw, type SpacingConfig as cx, type SpacingStyleProps as cy, type SpectrumColor as cz, type BreakpointsConfig as d, type UniversalChipBaseProps as d0, type UniversalChipButtonProps as d1, type UniversalChipDismissibleProps as d2, type UniversalChipLinkProps as d3, type UniversalChipProps as d4, type UniversalChipToggleProps as d5, type UniversalIconButtonProps as d6, type UniversalIconProps as d7, type UniversalImageProps as d8, type UniversalRadioGroupProps as d9, type UniversalRadioProps as da, type UniversalTokensConfigAuto as db, defaultUniversalTokensConfigAuto as e, type UniversalTokensConfig as f, type ColorMode as g, type ColorsConfig as h, type HueStep as i, type PaletteConfig as j, type ScaleMode as k, type UniversalInputProps as l, type IconPropsWithSVGProps as m, type UniversalTextProps as n, type ShadowPreset as o, type UniversalStackProps as p, type UniversalDividerProps as q, type ButtonClassMap as r, type IconButtonClassMap as s, type ButtonColorProperty as t, type ButtonColorPropertyConfig as u, type SpacingAlias as v, type UniversalMenuItemProps as w, type UniversalFormLabelProps as x, type ImagePropsWithImgProps as y, type UniversalIconSlot as z };