@yahoo/uds 3.41.1 → 3.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Box-BW0Ct5XD.d.ts → Box-C0a9PcBj.d.cts} +1 -1
- package/dist/{Box-CsVRrRDn.d.ts → Box-bV_PdtrW.d.ts} +1 -1
- package/dist/{Pressable-C-ni2dkO.d.cts → Pressable-3JzoaTwB.d.cts} +1 -1
- package/dist/{Pressable-BLpoRoJ0.d.ts → Pressable-BouwxLWa.d.ts} +1 -1
- package/dist/{Text-BS22RqVk.d.ts → Text-Bv_FMTpx.d.cts} +3 -5
- package/dist/{Text-CXdUVeWA.d.ts → Text-DQVCrASg.d.ts} +3 -5
- package/dist/{VStack-DUYPy1bE.d.cts → VStack-CKD0Q5zd.d.cts} +2 -2
- package/dist/{VStack-By9oddRo.d.ts → VStack-CYjzIjtG.d.ts} +2 -2
- package/dist/{chunk-IAD33G4C.cjs → chunk-3VUEFW4X.cjs} +2 -2
- package/dist/{chunk-7HJZOCXN.js → chunk-5VROETXJ.js} +1 -1
- package/dist/chunk-6KI6LPDE.cjs +1 -0
- package/dist/{chunk-A4HDAVWF.cjs → chunk-6RFI4VVW.cjs} +1 -1
- package/dist/chunk-DETLKOCI.js +2 -0
- package/dist/{chunk-5RTXYZAR.cjs → chunk-DEYTPNUJ.cjs} +1 -1
- package/dist/{chunk-FU4YDQQB.js → chunk-EFOWTGKI.js} +1 -1
- package/dist/{chunk-TVB5Y4GA.js → chunk-EWIQEL36.js} +2 -2
- package/dist/{chunk-XENYAFZW.cjs → chunk-F43AI46P.cjs} +1 -1
- package/dist/{chunk-BDJ33DB7.js → chunk-GGW73ECI.js} +1 -1
- package/dist/{chunk-JS37UUOY.cjs → chunk-GMQZWDKV.cjs} +1 -1
- package/dist/{chunk-LYH3HZZP.cjs → chunk-H5RFGJT6.cjs} +1 -1
- package/dist/{chunk-3KCKTFBM.cjs → chunk-IWTF6VT4.cjs} +1 -1
- package/dist/{chunk-LZ6EKK62.cjs → chunk-LNZSNDOV.cjs} +1 -1
- package/dist/{chunk-WXBCHQS7.js → chunk-MLPUM5T5.js} +1 -1
- package/dist/{chunk-HK3EDM7I.cjs → chunk-MQ5HBFA2.cjs} +1 -1
- package/dist/chunk-NBUU5AZY.cjs +1 -0
- package/dist/chunk-PM4TFP3I.js +2 -0
- package/dist/{chunk-JGPAJLQM.js → chunk-PMXAH4FA.js} +3 -3
- package/dist/{chunk-R7QLT7IG.js → chunk-SFRPZXWP.js} +2 -2
- package/dist/{chunk-TTFCIMMV.js → chunk-SLGIK6FM.js} +1 -1
- package/dist/{chunk-7IUKR73D.cjs → chunk-TWH2EAVG.cjs} +1 -1
- package/dist/chunk-UL6YUUOX.js +2 -0
- package/dist/{chunk-BRUA62LK.js → chunk-WFWWC766.js} +1 -1
- package/dist/chunk-YFLJTZBO.js +1 -0
- package/dist/{chunk-Y5LHP2WU.cjs → chunk-ZSA4T523.cjs} +1 -1
- package/dist/client/Menu.cjs +2 -2
- package/dist/client/Menu.d.cts +4 -4
- package/dist/client/Menu.d.ts +4 -4
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +5 -5
- package/dist/client/index.d.ts +5 -5
- package/dist/client/index.js +1 -1
- package/dist/defaultTokensConfig.cjs +1 -1
- package/dist/defaultTokensConfig.d.cts +2 -2
- package/dist/defaultTokensConfig.d.ts +2 -2
- package/dist/defaultTokensConfig.js +1 -1
- package/dist/experimental/client/SwitchV2.cjs +1 -1
- package/dist/experimental/client/SwitchV2.d.cts +1 -1
- package/dist/experimental/client/SwitchV2.d.ts +1 -1
- package/dist/experimental/client/SwitchV2.js +1 -1
- package/dist/experimental/client/index.cjs +1 -1
- package/dist/experimental/client/index.js +1 -1
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.js +1 -1
- package/dist/{index-BZR0-8yC.d.ts → index-COAiH7jF.d.ts} +8 -8
- package/dist/{index-C23ezu3B.d.cts → index-mVFrr-gv.d.cts} +8 -8
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +109 -134
- package/dist/index.d.ts +109 -134
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- package/dist/tailwind/plugin.js +1 -1
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +1 -1
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +2 -2
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +262 -262
- package/dist/tokens/index.d.ts +262 -262
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-A7dQQHNE.d.cts → types-J0-0DZHb.d.cts} +2128 -2128
- package/dist/{types-A7dQQHNE.d.ts → types-J0-0DZHb.d.ts} +2128 -2128
- package/package.json +1 -1
- package/cli/FullWidthClassToProp.mock.tsx +0 -17
- package/dist/Box-CIpeMJQ7.d.cts +0 -34
- package/dist/Box-CfWJXdeW.d.cts +0 -34
- package/dist/Pressable-DZi-Ay9z.d.cts +0 -44
- package/dist/Pressable-Nqmlz_FD.d.ts +0 -44
- package/dist/Text-B8DBsO1c.d.cts +0 -139
- package/dist/Text-Di0xLhJx.d.cts +0 -139
- package/dist/VStack-CEArkoYF.d.cts +0 -83
- package/dist/VStack-DVv1b724.d.ts +0 -83
- package/dist/chunk-54KLTT2G.cjs +0 -2
- package/dist/chunk-7RZHMPND.cjs +0 -2
- package/dist/chunk-AQQHB7VE.js +0 -2
- package/dist/chunk-BG6J7LLT.cjs +0 -1
- package/dist/chunk-DP63H5CQ.js +0 -2
- package/dist/chunk-EIPNPQY4.cjs +0 -1
- package/dist/chunk-ELYY2QWM.cjs +0 -1
- package/dist/chunk-FLN5XJPU.js +0 -2
- package/dist/chunk-GJCDWRR6.cjs +0 -1
- package/dist/chunk-GSEOWOTM.js +0 -2
- package/dist/chunk-HOAXINBM.js +0 -1
- package/dist/chunk-IDW7LALS.js +0 -2
- package/dist/chunk-KFXLVMFU.cjs +0 -1
- package/dist/chunk-LWXI5KNF.cjs +0 -1
- package/dist/chunk-MHBYBGCL.js +0 -2
- package/dist/chunk-O4J7VREK.js +0 -2
- package/dist/chunk-P32WR56G.cjs +0 -1
- package/dist/chunk-PI6G7IEW.js +0 -3
- package/dist/chunk-PMTM3ZON.js +0 -1
- package/dist/chunk-SVYKOXB4.cjs +0 -1
- package/dist/chunk-TJ3N7GMT.js +0 -1
- package/dist/chunk-UO7B7MHG.cjs +0 -1
- package/dist/chunk-WILCJRXV.js +0 -2
- package/dist/chunk-YCHCTTY5.js +0 -2
- package/dist/index-B8yhu644.d.cts +0 -245
- package/dist/index-CmWpT4Nf.d.ts +0 -245
- package/dist/types-C8XrtPU1.d.cts +0 -10588
- package/dist/types-C8XrtPU1.d.ts +0 -10588
package/dist/index.d.ts
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
import { D as DivProps } from './Box-
|
2
|
-
export { a as Box, B as BoxProps } from './Box-
|
3
|
-
export { a as Divider, D as DividerProps, b as VStack, V as VStackProps } from './VStack-
|
1
|
+
import { D as DivProps } from './Box-bV_PdtrW.js';
|
2
|
+
export { a as Box, B as BoxProps } from './Box-bV_PdtrW.js';
|
3
|
+
export { a as Divider, D as DividerProps, b as VStack, V as VStackProps } from './VStack-CYjzIjtG.js';
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
5
|
-
import {
|
6
|
-
export {
|
5
|
+
import { x as UniversalFormLabelProps, p as UniversalStackProps, m as IconPropsWithSVGProps, y as ImagePropsWithImgProps, z as UniversalIconSlot, A as UniversalLinkProps } from './types-J0-0DZHb.js';
|
6
|
+
export { J as AVATAR_SIZE_PREFIX, an as AlwaysPalette, ao as AlwaysPaletteAlias, ap as AlwaysPaletteColor, aq as Animation, ar as AriaAttribute, as as AvatarAbbreviationStrategy, at as AvatarShape, au as AvatarSize, av as AvatarSizeConfig, aw as AvatarVariant, K as BORDER_RADIUS_PREFIX, L as BORDER_WIDTH_PREFIX, ae as BUTTON_CSS_VAR_MAP, ax as BackgroundColor, ay as BackgroundPalette, az as BackgroundPaletteAlias, aA as BackgroundStyleProps, aB as BadgeSize, aC as BadgeVariant, aD as BorderRadius, aE as BorderRadiusConfig, aF as BorderStyleProps, aG as BorderWidth, aH as BorderWidthConfig, aI as Breakpoint, aJ as BreakpointWithBase, d as BreakpointsConfig, aK as ButtonBaseConfig, r as ButtonClassMap, aL as ButtonClassName, aM as ButtonColorConfig, aN as ButtonColorEffect, aO as ButtonColorEffectConfig, t as ButtonColorProperty, u as ButtonColorPropertyConfig, B as ButtonConfig, aP as ButtonKind, aQ as ButtonMotionEffect, aR as ButtonMotionProperty, aS as ButtonMotionPropertyConfig, aT as ButtonPalette, aU as ButtonPaletteColor, aV as ButtonPaletteConfig, aW as ButtonShadowPropertyConfig, aX as ButtonSize, aY as ButtonSizeConfig, aZ as ButtonSizeProperty, a_ as ButtonSpectrumColor, a$ as ButtonState, b0 as ButtonStateConfig, b1 as ButtonStateEffectConfig, b2 as ButtonVariant, b3 as ButtonVariantConfig, b4 as ButtonVariantFlat, b5 as CheckboxSize, b6 as CheckboxValue, b7 as CheckboxVariant, b8 as ChipSize, b9 as ChipVariant, g as ColorMode, C as ColorModeConfig, ba as ColorModeForApp, h as ColorsConfig, bb as ConfigurableDropShadowValues, bc as ConfigurableInsetShadowValues, bd as CustomSizingStyleProps, $ as DARK_COLOR_MODE_CLASSNAME, aa as DEFAULT_COLOR_MODE_CLASSNAME, ab as DEFAULT_SCALE_MODE_CLASSNAME, be as DataAttribute, bf as Display, bg as DividerVariant, ah as FONT_DECLARATIONS_MAP, N as FONT_FAMILY_PREFIX, O as FONT_SIZE_PREFIX, R as FONT_SLANT_PREFIX, Q as FONT_WEIGHT_PREFIX, V as FONT_WIDTH_PREFIX, bh as Flex, bi as FlexAlignContent, bj as FlexAlignItems, bk as FlexAlignSelf, bl as FlexBasis, bm as FlexDirection, bn as FlexGrow, bo as FlexJustifyContent, bp as FlexShrink, bq as FlexStyleProps, br as FlexWrap, bs as FontAlias, ai as FontAxisConfig, F as FontConfig, bt as FontCssVar, ak as FontDeclarationConfig, aj as FontDeclarationItemConfig, al as FontDeclarationMap, bu as FontFamilyCDNUrl, bv as FontFamilyConfig, bw as FontID, bx as FontSize, by as FontSizeConfig, bz as FontSlantConfig, bA as FontType, bB as FontWeightConfig, bC as FontWeightDescriptive, am as FontWeightForFont, bD as FontWeightNumeric, bE as FontWidthConfig, bF as ForegroundColor, bG as ForegroundPalette, bH as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bI as HighContrastMode, H as Hue, i as HueStep, af as ICON_BUTTON_CSS_VAR_MAP, W as ICON_SIZE_PREFIX, a2 as INVERT_COLOR_MODE_CLASSNAME, s as IconButtonClassMap, bJ as IconButtonClassName, I as IconButtonConfig, bK as IconButtonDefaultsConfig, bL as IconButtonSize, bM as IconSizeConfig, bN as IconSlotRenderProps, bO as ImageStyleProps, bP as InputSize, a6 as LARGE_SCALE_MODE_CLASSNAME, a0 as LIGHT_COLOR_MODE_CLASSNAME, X as LINE_HEIGHT_PREFIX, bQ as LayoutStyleProps, bR as LetterSpacing, bS as LineClampAlias, bT as LineColor, bU as LineHeight, bV as LineHeightConfig, bW as LinePalette, bX as LinePaletteAlias, a5 as MEDIUM_SCALE_MODE_CLASSNAME, Y as MOTION_PREFIX, bY as Modes, M as MotionConfig, bZ as MotionCssVar, b_ as MotionSpringConfig, b$ as MotionSpringConfigOptions, c0 as MotionVariant, c1 as MotionVariantSpeed, c2 as MotionVariantValues, c3 as Overflow, ag as PSEUDO_STYLE_SELECTOR_MAP, c4 as Palette, j as PaletteConfig, P as PaletteType, c5 as PaletteValue, c6 as Pixels, c7 as PlatformMode, c8 as Position, c9 as PropertyToPaletteAliasMap, ca as RadioSize, cb as RadioValue, cc as RadioVariant, cd as RegionMode, ce as Rems, a4 as SMALL_SCALE_MODE_CLASSNAME, Z as SPECTRUM_COLOR_PREFIX, a1 as SYSTEM_COLOR_MODE_CLASSNAME, cf as ScaleConfig, cg as ScaleEffectMap, k as ScaleMode, S as ScaleModeConfig, ch as ScaleModeForApp, ci as ShadowColor, cj as ShadowColorConfig, c as ShadowConfig, ck as ShadowOffset, cl as ShadowOpacity, cm as ShadowPalette, cn as ShadowPaletteAlias, o as ShadowPreset, co as ShadowSpreadRadius, cp as ShadowStyleProps, cq as ShadowType, cr as ShadowTypeConfig, cs as ShadowVariant, ct as ShadowVariantConfig, cu as ShadowVariantInvert, cv as ShadowVariantWithInvert, cw as SharedPaletteAlias, v as SpacingAlias, cx as SpacingConfig, cy as SpacingStyleProps, cz as SpectrumColor, cA as SpectrumConfig, cB as StateStyleProps, cC as StyleProps, cD as SwitchSize, ad as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, ac as TEXT_RESPONSIVE_CLASSNAME, _ as TEXT_TRANSFORM_PREFIX, cN as TShirtSize, cO as TShirtSizeCommon, cE as TextDecorationLine, cF as TextProperty, cG as TextStyleProps, cH as TextTransform, cI as TextTransformConfig, cJ as TextVariant, cK as TransitionDelay, cL as TransitionDuration, cM as TransitionTiming, T as TypographyConfig, cP as TypographyResponsiveProperty, cQ as TypographyStyle, cR as TypographyStyleProperty, cS as TypographyUnitValue, E as UDS_PREFIX, cT as UdsCssVar, cU as Unitless, cV as UniversalAvatarIconProps, cW as UniversalAvatarImageProps, cX as UniversalAvatarProps, cY as UniversalAvatarTextProps, cZ as UniversalBadgeProps, a as UniversalBoxProps, c_ as UniversalButtonProps, c$ as UniversalCheckboxProps, d0 as UniversalChipBaseProps, d1 as UniversalChipButtonProps, d2 as UniversalChipDismissibleProps, d3 as UniversalChipLinkProps, d4 as UniversalChipProps, d5 as UniversalChipToggleProps, q as UniversalDividerProps, d6 as UniversalIconButtonProps, d7 as UniversalIconProps, d8 as UniversalImageProps, l as UniversalInputProps, w as UniversalMenuItemProps, U as UniversalPressableProps, d9 as UniversalRadioGroupProps, da as UniversalRadioProps, b as UniversalSwitchProps, n as UniversalTextProps, f as UniversalTokensConfig, db as UniversalTokensConfigAuto, a7 as XLARGE_SCALE_MODE_CLASSNAME, a3 as XSMALL_SCALE_MODE_CLASSNAME, a8 as XXLARGE_SCALE_MODE_CLASSNAME, a9 as XXXLARGE_SCALE_MODE_CLASSNAME, D as alwaysPalette } from './types-J0-0DZHb.js';
|
7
7
|
import * as react from 'react';
|
8
8
|
import { PropsWithChildren, Dispatch, SetStateAction } from 'react';
|
9
|
-
import { I as InputProps
|
10
|
-
export {
|
9
|
+
import { I as InputProps } from './Text-DQVCrASg.js';
|
10
|
+
export { T as Text, a as TextProps } from './Text-DQVCrASg.js';
|
11
11
|
export { Avatar, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarText, AvatarTextProps, Badge, BadgeProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipButton, ChipButtonProps, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipToggle, ChipToggleProps, IconButton, IconButtonProps, Input, InputProps, Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Pressable, PressableProps, Radio, RadioGroupProvider, RadioGroupProviderProps, RadioProps, SpringMotionConfig, SpringMotionConfigProps, Switch, SwitchProps } from '@yahoo/uds/client';
|
12
12
|
export { AllSelectors, BaseSelector, CssStyleObject, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, ParentVariantSelector, button, cartesianProduct, coalesceConfigVariant, entries, fontWeightMap, fromEntries, generateKeyFromFlatConfigPath, generateSchemaKey, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getDefaultButtonBaseMap, isConfigDefaultValue, mapValues, parseButtonVariantFlat, parseDeprecatedButtonPaletteVariant, setConfigPseudoStateVariable, shadow, variants } from './tokens/index.js';
|
13
13
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.js';
|
14
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-
|
14
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-COAiH7jF.js';
|
15
15
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
16
16
|
import 'motion/react';
|
17
17
|
import 'type-fest';
|
@@ -124,8 +124,10 @@ interface InputHelpTextProps extends PropsWithChildren {
|
|
124
124
|
size?: InputProps['size'];
|
125
125
|
isFilled?: boolean;
|
126
126
|
}
|
127
|
-
declare
|
128
|
-
|
127
|
+
declare const InputHelpTextMemo: react.MemoExoticComponent<{
|
128
|
+
({ size, isFilled, ...props }: InputHelpTextProps): react_jsx_runtime.JSX.Element;
|
129
|
+
displayName: string;
|
130
|
+
}>;
|
129
131
|
|
130
132
|
type HTMLAnchorProps = React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
131
133
|
interface LinkProps extends HTMLAnchorProps, UniversalLinkProps {
|
@@ -166,33 +168,6 @@ interface LinkProps extends HTMLAnchorProps, UniversalLinkProps {
|
|
166
168
|
**/
|
167
169
|
declare const Link: react.ForwardRefExoticComponent<LinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
168
170
|
|
169
|
-
type ResponsiveTextProps = TextProps;
|
170
|
-
/**
|
171
|
-
* **💬 A text element that opts-in to being automatically responsive at different breakpoints**
|
172
|
-
*
|
173
|
-
* @description
|
174
|
-
* The `ResponsiveText` component is a wrapper around the `Text` component that
|
175
|
-
* automatically applies the `TEXT_RESPONSIVE_CLASSNAME` class to opt-in to responsiveness.
|
176
|
-
* All other props are passed through to the `Text` component.
|
177
|
-
*
|
178
|
-
* @example
|
179
|
-
* ```tsx
|
180
|
-
* import { ResponsiveText } from '@yahoo/uds';
|
181
|
-
*
|
182
|
-
* <ResponsiveText variant="body1" color="primary">
|
183
|
-
* Text goes here
|
184
|
-
* </ResponsiveText>
|
185
|
-
* ```
|
186
|
-
*
|
187
|
-
* @usage
|
188
|
-
* - Use `ResponsiveText` to make this text component responsive.
|
189
|
-
*
|
190
|
-
* @see The {@link https://uds.build/docs/components/responsive-text ResponsiveText Docs} for more info
|
191
|
-
*
|
192
|
-
* @related [Text](https://uds.build/docs/components/text)
|
193
|
-
*/
|
194
|
-
declare const ResponsiveText: ({ className, ...textProps }: ResponsiveTextProps) => react_jsx_runtime.JSX.Element;
|
195
|
-
|
196
171
|
type StringToBoolean<T> = T extends 'true' | 'false' ? boolean : T;
|
197
172
|
type CvaStyleValue<T> = T | CvaStyleArray<T> | Record<string, unknown> | null | boolean | undefined;
|
198
173
|
type CvaStyleArray<T> = CvaStyleValue<T>[];
|
@@ -229,9 +204,49 @@ interface CX<T> {
|
|
229
204
|
declare const cx: CX<string>;
|
230
205
|
declare const cva: CVA<string>;
|
231
206
|
declare const getStylesInternal: (props?: ({
|
232
|
-
|
233
|
-
|
234
|
-
|
207
|
+
menuSizeRoot?: "default" | undefined;
|
208
|
+
menuSizeStartIcon?: "default" | undefined;
|
209
|
+
menuSizeEndIcon?: "default" | undefined;
|
210
|
+
menuItemVariantActiveRoot?: "on" | "off" | undefined;
|
211
|
+
menuItemVariantRoot?: "default" | undefined;
|
212
|
+
menuItemVariantActiveText?: "on" | "off" | undefined;
|
213
|
+
menuItemVariantText?: "default" | undefined;
|
214
|
+
menuItemVariantActiveIcon?: "on" | "off" | undefined;
|
215
|
+
menuItemVariantIcon?: "default" | undefined;
|
216
|
+
menuItemCheckboxVariantActiveRoot?: "on" | "off" | undefined;
|
217
|
+
menuItemCheckboxVariantRoot?: "default" | undefined;
|
218
|
+
menuItemCheckboxVariantActiveText?: "on" | "off" | undefined;
|
219
|
+
menuItemCheckboxVariantText?: "default" | undefined;
|
220
|
+
menuItemCheckboxVariantActiveStartIcon?: "on" | "off" | undefined;
|
221
|
+
menuItemCheckboxVariantStartIcon?: "default" | undefined;
|
222
|
+
menuItemCheckboxVariantActiveEndIcon?: "on" | "off" | undefined;
|
223
|
+
menuItemCheckboxVariantEndIcon?: "default" | undefined;
|
224
|
+
menuDividerVariantRoot?: "default" | undefined;
|
225
|
+
menuDividerVariantText?: "default" | undefined;
|
226
|
+
menuDividerVariantLine?: "default" | undefined;
|
227
|
+
linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
228
|
+
linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
229
|
+
linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
230
|
+
linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
231
|
+
linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
232
|
+
chipSizeRoot?: "sm" | "md" | undefined;
|
233
|
+
chipSizeIcon?: "sm" | "md" | undefined;
|
234
|
+
chipToggleVariantActiveRoot?: "on" | "off" | undefined;
|
235
|
+
chipToggleVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
236
|
+
chipToggleVariantActiveIcon?: "on" | "off" | undefined;
|
237
|
+
chipToggleVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
238
|
+
chipDismissibleVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
239
|
+
chipDismissibleVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
240
|
+
chipLinkVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
241
|
+
chipLinkVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
242
|
+
radioVariantValueRoot?: "checked" | "unchecked" | undefined;
|
243
|
+
radioVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
244
|
+
radioVariantValueRadio?: "checked" | "unchecked" | undefined;
|
245
|
+
radioVariantRadio?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
246
|
+
radioVariantValueRadioCircle?: "checked" | "unchecked" | undefined;
|
247
|
+
radioVariantRadioCircle?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
248
|
+
radioSizeRoot?: "sm" | "md" | undefined;
|
249
|
+
radioSizeRadio?: "sm" | "md" | undefined;
|
235
250
|
inputSizeRoot?: "md" | "lg" | undefined;
|
236
251
|
inputSizeInputWrapper?: "md" | "lg" | undefined;
|
237
252
|
inputSizeInput?: "md" | "lg" | undefined;
|
@@ -260,26 +275,11 @@ declare const getStylesInternal: (props?: ({
|
|
260
275
|
inputVariantHelperIcon?: "default" | undefined;
|
261
276
|
inputVariantValueHelperText?: "filled" | "empty" | undefined;
|
262
277
|
inputVariantHelperText?: "default" | undefined;
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
menuItemVariantActiveText?: "on" | "off" | undefined;
|
269
|
-
menuItemVariantText?: "default" | undefined;
|
270
|
-
menuItemVariantActiveIcon?: "on" | "off" | undefined;
|
271
|
-
menuItemVariantIcon?: "default" | undefined;
|
272
|
-
menuItemCheckboxVariantActiveRoot?: "on" | "off" | undefined;
|
273
|
-
menuItemCheckboxVariantRoot?: "default" | undefined;
|
274
|
-
menuItemCheckboxVariantActiveText?: "on" | "off" | undefined;
|
275
|
-
menuItemCheckboxVariantText?: "default" | undefined;
|
276
|
-
menuItemCheckboxVariantActiveStartIcon?: "on" | "off" | undefined;
|
277
|
-
menuItemCheckboxVariantStartIcon?: "default" | undefined;
|
278
|
-
menuItemCheckboxVariantActiveEndIcon?: "on" | "off" | undefined;
|
279
|
-
menuItemCheckboxVariantEndIcon?: "default" | undefined;
|
280
|
-
menuDividerVariantRoot?: "default" | undefined;
|
281
|
-
menuDividerVariantText?: "default" | undefined;
|
282
|
-
menuDividerVariantLine?: "default" | undefined;
|
278
|
+
avatarSizeRoot?: "sm" | "md" | "lg" | "xs" | "xl" | undefined;
|
279
|
+
avatarSizeIcon?: "sm" | "md" | "lg" | "xs" | "xl" | undefined;
|
280
|
+
avatarTextVariantRoot?: "primary" | "secondary" | undefined;
|
281
|
+
avatarImageVariantRoot?: "primary" | "secondary" | undefined;
|
282
|
+
avatarIconVariantRoot?: "primary" | "secondary" | undefined;
|
283
283
|
switchVariantActiveRoot?: "on" | "off" | undefined;
|
284
284
|
switchVariantRoot?: "default" | undefined;
|
285
285
|
switchVariantActiveSwitch?: "on" | "off" | undefined;
|
@@ -288,85 +288,60 @@ declare const getStylesInternal: (props?: ({
|
|
288
288
|
switchVariantHandle?: "default" | undefined;
|
289
289
|
switchVariantActiveHandleIcon?: "on" | "off" | undefined;
|
290
290
|
switchVariantHandleIcon?: "default" | undefined;
|
291
|
-
switchSizeRoot?: "
|
292
|
-
switchSizeSwitch?: "
|
293
|
-
switchSizeHandle?: "
|
294
|
-
switchSizeHandleIcon?: "
|
295
|
-
|
296
|
-
|
297
|
-
chipToggleVariantActiveRoot?: "on" | "off" | undefined;
|
298
|
-
chipToggleVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
299
|
-
chipToggleVariantActiveIcon?: "on" | "off" | undefined;
|
300
|
-
chipToggleVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
301
|
-
chipDismissibleVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
302
|
-
chipDismissibleVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
303
|
-
chipLinkVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
304
|
-
chipLinkVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
305
|
-
avatarSizeRoot?: "md" | "lg" | "sm" | "xs" | "xl" | undefined;
|
306
|
-
avatarSizeIcon?: "md" | "lg" | "sm" | "xs" | "xl" | undefined;
|
307
|
-
avatarTextVariantRoot?: "primary" | "secondary" | undefined;
|
308
|
-
avatarImageVariantRoot?: "primary" | "secondary" | undefined;
|
309
|
-
avatarIconVariantRoot?: "primary" | "secondary" | undefined;
|
310
|
-
badgeSizeRoot?: "md" | "lg" | "sm" | "xs" | undefined;
|
311
|
-
badgeSizeIcon?: "md" | "lg" | "sm" | "xs" | undefined;
|
291
|
+
switchSizeRoot?: "sm" | "md" | undefined;
|
292
|
+
switchSizeSwitch?: "sm" | "md" | undefined;
|
293
|
+
switchSizeHandle?: "sm" | "md" | undefined;
|
294
|
+
switchSizeHandleIcon?: "sm" | "md" | undefined;
|
295
|
+
badgeSizeRoot?: "sm" | "md" | "lg" | "xs" | undefined;
|
296
|
+
badgeSizeIcon?: "sm" | "md" | "lg" | "xs" | undefined;
|
312
297
|
badgeVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
313
298
|
badgeVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
314
|
-
checkboxSizeRoot?: "
|
315
|
-
checkboxSizeCheckbox?: "
|
299
|
+
checkboxSizeRoot?: "sm" | "md" | undefined;
|
300
|
+
checkboxSizeCheckbox?: "sm" | "md" | undefined;
|
316
301
|
checkboxVariantValueRoot?: "checked" | "unchecked" | "indeterminate" | undefined;
|
317
302
|
checkboxVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
318
303
|
checkboxVariantValueCheckbox?: "checked" | "unchecked" | "indeterminate" | undefined;
|
319
304
|
checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
320
305
|
checkboxVariantValueCheckboxIcon?: "checked" | "unchecked" | "indeterminate" | undefined;
|
321
306
|
checkboxVariantCheckboxIcon?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
radioVariantRadioCircle?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
328
|
-
radioSizeRoot?: "md" | "sm" | undefined;
|
329
|
-
radioSizeRadio?: "md" | "sm" | undefined;
|
330
|
-
linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
331
|
-
linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
332
|
-
linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
333
|
-
linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
334
|
-
linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
335
|
-
color?: "primary" | "secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "on-color" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
336
|
-
placeholderColor?: "primary" | "secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "on-color" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
307
|
+
dividerVariantRoot?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
308
|
+
dividerVariantLine?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
309
|
+
dividerVariantLabel?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
310
|
+
color?: "primary" | "secondary" | "tertiary" | "on-color" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "muted" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
311
|
+
placeholderColor?: "primary" | "secondary" | "tertiary" | "on-color" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "muted" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
337
312
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "serif" | "sans" | "mono" | "sans-alt" | "serif-alt" | undefined;
|
338
313
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
339
314
|
fontWeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "thin" | "black" | "extralight" | "light" | "regular" | "medium" | "semibold" | "bold" | "extrabold" | undefined;
|
340
315
|
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
341
316
|
textAlign?: "center" | "end" | "start" | "justify" | undefined;
|
342
317
|
textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
|
343
|
-
spacing?: "2" | "3
|
344
|
-
spacingHorizontal?: "2" | "3
|
345
|
-
spacingVertical?: "2" | "3
|
346
|
-
spacingBottom?: "2" | "3
|
347
|
-
spacingEnd?: "2" | "3
|
348
|
-
spacingStart?: "2" | "3
|
349
|
-
spacingTop?: "2" | "3
|
350
|
-
offset?: "2" | "3
|
351
|
-
offsetVertical?: "2" | "3
|
352
|
-
offsetHorizontal?: "2" | "3
|
353
|
-
offsetBottom?: "2" | "3
|
354
|
-
offsetEnd?: "2" | "3
|
355
|
-
offsetStart?: "2" | "3
|
356
|
-
offsetTop?: "2" | "3
|
357
|
-
columnGap?: "2" | "3
|
358
|
-
rowGap?: "2" | "3
|
318
|
+
spacing?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
319
|
+
spacingHorizontal?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
320
|
+
spacingVertical?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
321
|
+
spacingBottom?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
322
|
+
spacingEnd?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
323
|
+
spacingStart?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
324
|
+
spacingTop?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
325
|
+
offset?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
326
|
+
offsetVertical?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
327
|
+
offsetHorizontal?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
328
|
+
offsetBottom?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
329
|
+
offsetEnd?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
330
|
+
offsetStart?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
331
|
+
offsetTop?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
332
|
+
columnGap?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
333
|
+
rowGap?: "2" | "3" | "1" | "1.5" | "4" | "2.5" | "5" | "3.5" | "6" | "7" | "10" | "12" | "16" | "0" | "8" | "0.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
359
334
|
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
360
|
-
borderColor?: "primary" | "secondary" | "tertiary" | "
|
361
|
-
borderStartColor?: "primary" | "secondary" | "tertiary" | "
|
362
|
-
borderEndColor?: "primary" | "secondary" | "tertiary" | "
|
363
|
-
borderBottomColor?: "primary" | "secondary" | "tertiary" | "
|
364
|
-
borderTopColor?: "primary" | "secondary" | "tertiary" | "
|
365
|
-
borderRadius?: "
|
366
|
-
borderTopStartRadius?: "
|
367
|
-
borderTopEndRadius?: "
|
368
|
-
borderBottomStartRadius?: "
|
369
|
-
borderBottomEndRadius?: "
|
335
|
+
borderColor?: "primary" | "secondary" | "tertiary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "muted" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
336
|
+
borderStartColor?: "primary" | "secondary" | "tertiary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "muted" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
337
|
+
borderEndColor?: "primary" | "secondary" | "tertiary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "muted" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
338
|
+
borderBottomColor?: "primary" | "secondary" | "tertiary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "muted" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
339
|
+
borderTopColor?: "primary" | "secondary" | "tertiary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "muted" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
340
|
+
borderRadius?: "sm" | "md" | "lg" | "xs" | "xl" | "none" | "full" | undefined;
|
341
|
+
borderTopStartRadius?: "sm" | "md" | "lg" | "xs" | "xl" | "none" | "full" | undefined;
|
342
|
+
borderTopEndRadius?: "sm" | "md" | "lg" | "xs" | "xl" | "none" | "full" | undefined;
|
343
|
+
borderBottomStartRadius?: "sm" | "md" | "lg" | "xs" | "xl" | "none" | "full" | undefined;
|
344
|
+
borderBottomEndRadius?: "sm" | "md" | "lg" | "xs" | "xl" | "none" | "full" | undefined;
|
370
345
|
borderWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
371
346
|
borderVerticalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
372
347
|
borderHorizontalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
@@ -374,15 +349,15 @@ declare const getStylesInternal: (props?: ({
|
|
374
349
|
borderEndWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
375
350
|
borderTopWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
376
351
|
borderBottomWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
377
|
-
avatarSize?: "
|
378
|
-
iconSize?: "
|
352
|
+
avatarSize?: "sm" | "md" | "lg" | "xs" | "xl" | undefined;
|
353
|
+
iconSize?: "sm" | "md" | "lg" | "xs" | undefined;
|
379
354
|
alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-between" | "space-around" | undefined;
|
380
355
|
alignItems?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | undefined;
|
381
356
|
alignSelf?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | "auto" | undefined;
|
382
|
-
flex?: "
|
357
|
+
flex?: "none" | "1" | "initial" | "auto" | undefined;
|
383
358
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
384
|
-
flexGrow?: "2" | "3" | "
|
385
|
-
flexShrink?: "
|
359
|
+
flexGrow?: "2" | "3" | "1" | "0" | undefined;
|
360
|
+
flexShrink?: "1" | "0" | undefined;
|
386
361
|
flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
387
362
|
justifyContent?: "center" | "flex-end" | "flex-start" | "space-between" | "space-around" | "space-evenly" | undefined;
|
388
363
|
flexBasis?: "min-content" | undefined;
|
@@ -396,12 +371,12 @@ declare const getStylesInternal: (props?: ({
|
|
396
371
|
scaleMode?: "medium" | "xSmall" | "small" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
397
372
|
buttonPalette?: "brand" | "alert" | "warning" | "positive" | "info" | "accent" | undefined;
|
398
373
|
buttonVariant?: "primary" | "secondary" | "tertiary" | undefined;
|
399
|
-
buttonSize?: "
|
400
|
-
iconButtonSize?: "
|
374
|
+
buttonSize?: "sm" | "md" | "lg" | undefined;
|
375
|
+
iconButtonSize?: "sm" | "md" | "lg" | "xs" | "xl" | undefined;
|
401
376
|
width?: "full" | "fit" | "screen" | undefined;
|
402
377
|
height?: "full" | "fit" | "screen" | undefined;
|
403
|
-
dropShadow?: "
|
404
|
-
insetShadow?: "
|
378
|
+
dropShadow?: "sm" | "md" | "lg" | "xs" | "xl" | "none" | "2xl" | undefined;
|
379
|
+
insetShadow?: "sm" | "md" | "lg" | "xs" | "xl" | "none" | "2xl" | "2xl-invert" | "md-invert" | "xl-invert" | "sm-invert" | "lg-invert" | "xs-invert" | undefined;
|
405
380
|
} & {
|
406
381
|
className?: string | undefined;
|
407
382
|
}) | undefined) => string;
|
@@ -410,4 +385,4 @@ declare const getStyles: (props: GetStylesInternalProps) => string;
|
|
410
385
|
|
411
386
|
type SetState<T> = Dispatch<SetStateAction<T>>;
|
412
387
|
|
413
|
-
export { FormLabel, type FormLabelProps, HStack, type HStackProps, Icon, IconPropsWithSVGProps as IconProps, IconPropsWithSVGProps, Image, ImagePropsWithImgProps as ImageProps, ImagePropsWithImgProps, InputHelpTextMemo as InputHelpText, type InputHelpTextProps, Link, type LinkProps,
|
388
|
+
export { FormLabel, type FormLabelProps, HStack, type HStackProps, Icon, IconPropsWithSVGProps as IconProps, IconPropsWithSVGProps, Image, ImagePropsWithImgProps as ImageProps, ImagePropsWithImgProps, InputHelpTextMemo as InputHelpText, type InputHelpTextProps, Link, type LinkProps, type SetState, UniversalFormLabelProps, UniversalIconSlot, UniversalLinkProps, UniversalStackProps, cva, cx, getStyles };
|
package/dist/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export{Image,InputHelpTextMemo as InputHelpText}from"./chunk-
|
1
|
+
export{Image,InputHelpTextMemo as InputHelpText}from"./chunk-YFLJTZBO.js";import{DividerInternal as e}from"./chunk-5VROETXJ.js";export{HStack,VStack}from"./chunk-WFWWC766.js";export{FormLabel}from"./chunk-SFRPZXWP.js";import{getStyles as t,cx as a,IconSlot as n}from"./chunk-PMXAH4FA.js";export{Box,Icon,Text,cva,cx,getStyles}from"./chunk-PMXAH4FA.js";export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,alwaysPalette,button,cartesianProduct,coalesceConfigVariant,configurableProperties,createComponentStateConfig,createComponentStates,createConfigurableProperty,createLayerConfig,createSubComponentConfig,createVariantConfig,createVariantConfigWithComponentStates,createVariantConfigWithProperties,findFixtureType,fontWeightMap,fromEntries,generateClassName,generateDeclaration,generateKeyFromFlatConfigPath,generateSchemaKey,generateStyles,getConfigDefaultValue,getConfigPseudoStateVariables,getConfigPseudoStateVariablesWithSetter,getConfigSubcomponents,getConfigVariantComponentStates,getConfigVariantComponentStatesMatrix,getConfigVariantProperties,getConfigVariantPseudoStates,getConfigVariants,getDefaultButtonBaseMap,isConfigDefaultValue,parseButtonVariantFlat,parseDeprecatedButtonPaletteVariant,setConfigPseudoStateVariable,shadow,statePseudoMapDocsMode,toMinimalDbConfigObject}from"./chunk-SLGIK6FM.js";export{entries,mapValues}from"./chunk-EWJ3J526.js";export{variants}from"./chunk-EWIQEL36.js";export{AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_CSS_VAR_MAP,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_SLANT_PREFIX,FONT_WEIGHT_PREFIX,FONT_WIDTH_PREFIX,ICON_BUTTON_CSS_VAR_MAP,ICON_SIZE_PREFIX,INVERT_COLOR_MODE_CLASSNAME,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,SYSTEM_COLOR_MODE_CLASSNAME,TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES,TEXT_RESPONSIVE_CLASSNAME,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"./chunk-PM4TFP3I.js";import{forwardRef as o,useMemo as r}from"react";import{jsx as i,jsxs as E}from"react/jsx-runtime";export{Avatar,AvatarIcon,AvatarImage,AvatarText,Badge,Button,Checkbox,Chip,ChipButton,ChipDismissible,ChipLink,ChipToggle,IconButton,Input,Menu,Pressable,Radio,RadioGroupProvider,SpringMotionConfig,Switch}from"@yahoo/uds/client";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var _=o(function(t,a){return i(e,{ref:a,...t})});_.displayName="Divider";var S=o(function({variant:e="primary",textVariant:o,startIcon:_,endIcon:S,alwaysUnderline:s=!1,children:A,className:C,...c},L){const O=!o,l=r(()=>{const n=!O&&t({linkTextStyleRoot:o,fontSize:o,fontFamily:o,fontWeight:o,lineHeight:o,textTransform:o});return t({linkVariantRoot:e,display:"inline-flex",alignItems:"center",className:a(n,"uds-ring",s&&"underline",C)})},[s,O,o,e,C]),M=t({linkVariantIconStart:e,linkTextStyleIcon:o,className:a(O&&"w-[0.7em] h-[0.7em]")}),T=t({linkVariantIconEnd:e,linkTextStyleIcon:o,className:a(O&&"w-[0.7em] h-[0.7em]")}),I={variant:"outline",color:"current"};return E("a",{ref:L,className:l,...c,children:[_&&i(n,{className:M,icon:_,iconProps:I,"data-testid":"start-icon"}),A,S&&i(n,{className:T,icon:S,iconProps:I,"data-testid":"end-icon"})]})});S.displayName="Link";export{_ as Divider,S as Link};
|