@yahoo/uds 3.0.0-beta.1 → 3.0.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/cli/bin/uds-darwin-arm64-baseline +0 -0
- package/cli/bin/uds-linux-arm64 +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/cli/codemods/addCommentAboveComponents.ts +8 -2
- package/cli/commands/expo/_setup.ts +1 -0
- package/cli/commands/sync.ts +3 -0
- package/cli/preload.ts +1 -0
- package/cli/utils/auth.ts +1 -0
- package/cli/utils/configWorker.ts +10 -2
- package/cli/utils/purgeCSS.ts +18 -6
- package/cli/utils/setupConfigWorker.ts +2 -2
- package/cli/utils/types.ts +3 -1
- package/dist/{Text-DC5H-ljU.d.cts → Text-yeQcITg9.d.cts} +1 -1
- package/dist/{Text-DC5H-ljU.d.ts → Text-yeQcITg9.d.ts} +1 -1
- package/dist/{VStack-dsjTgotn.d.ts → VStack-CJs5afN8.d.ts} +1 -1
- package/dist/{VStack-lZcVQtuR.d.cts → VStack-GpQHE4xQ.d.cts} +1 -1
- package/dist/analytics/server.js +1 -1
- package/dist/{chunk-ROCVTVD4.js → chunk-4G4TBHHL.js} +1 -1
- package/dist/chunk-6CVEYTLQ.js +2 -0
- package/dist/chunk-6XNKVFUM.cjs +2 -0
- package/dist/{chunk-GWUSJOIP.js → chunk-AFPPCX7S.js} +2 -2
- package/dist/{chunk-RCTE4OK2.cjs → chunk-BNLUH23E.cjs} +1 -1
- package/dist/{chunk-3R4CMTF2.js → chunk-EWJ3J526.js} +1 -1
- package/dist/{chunk-GXWRHF26.cjs → chunk-FOX6Q5GR.cjs} +1 -1
- package/dist/{chunk-UWAIMWW7.cjs → chunk-HTL6WRXY.cjs} +1 -1
- package/dist/{chunk-H35WDIEH.cjs → chunk-J7PUOUXC.cjs} +1 -1
- package/dist/{chunk-COT7GQ26.js → chunk-N3FKHXEJ.js} +2 -2
- package/dist/{chunk-PLVCO2Q2.cjs → chunk-NUEZVMWZ.cjs} +1 -1
- package/dist/chunk-O26JIFUR.cjs +3 -0
- package/dist/{chunk-TYCIDVTR.js → chunk-S5UKKXRV.js} +1 -1
- package/dist/chunk-WCB4EHGZ.js +3 -0
- package/dist/client/index.cjs +2 -2
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +3 -3
- package/dist/experimental/client/index.cjs +1 -1
- package/dist/experimental/client/index.d.cts +1 -1
- package/dist/experimental/client/index.d.ts +1 -1
- package/dist/experimental/client/index.js +1 -1
- package/dist/experimental/index.cjs +2 -2
- package/dist/experimental/index.d.cts +1 -1
- package/dist/experimental/index.d.ts +1 -1
- package/dist/experimental/index.js +1 -1
- package/dist/fixtures.cjs +2 -1
- package/dist/fixtures.js +2 -1
- package/dist/flags.cjs +1 -1
- package/dist/flags.js +1 -1
- package/dist/{index-B1ZHRmSN.d.ts → index-CU_UPAew.d.ts} +4 -4
- package/dist/{index-By9VJ9yq.d.cts → index-DUFUMc1S.d.cts} +4 -4
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +108 -108
- package/dist/index.d.ts +108 -108
- 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 +9 -4
- package/dist/tailwind/plugin.d.ts +9 -4
- package/dist/tailwind/plugin.js +2 -2
- package/dist/tailwind/purger.cjs +2 -2
- package/dist/tailwind/purger.js +3 -3
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +1 -1
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +4 -4
- package/dist/tailwind/utils.d.ts +4 -4
- 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 +3810 -3810
- package/dist/tokens/index.d.ts +3810 -3810
- 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-oxQ-ciqn.d.cts → types-d2CfR7zp.d.cts} +1962 -1954
- package/dist/{types-oxQ-ciqn.d.ts → types-d2CfR7zp.d.ts} +1962 -1954
- package/package.json +1 -1
- package/dist/chunk-DIZ6AEFQ.cjs +0 -3
- package/dist/chunk-IGRY2O2E.js +0 -2
- package/dist/chunk-IQXT3UML.cjs +0 -2
- package/dist/chunk-SWTZ62RF.js +0 -3
- /package/dist/{motionFeatures-II2BNXF5.cjs → motionFeatures-6LIGGXPL.cjs} +0 -0
- /package/dist/{motionFeatures-25DAPVNO.js → motionFeatures-SJISLQ4M.js} +0 -0
package/dist/index.d.ts
CHANGED
@@ -1,23 +1,23 @@
|
|
1
|
-
import { D as DivProps, I as InputProps } from './VStack-
|
2
|
-
export { B as Box, a as BoxProps, b as Divider, c as DividerProps, V as VStack, d as VStackProps } from './VStack-
|
1
|
+
import { D as DivProps, I as InputProps } from './VStack-CJs5afN8.js';
|
2
|
+
export { B as Box, a as BoxProps, b as Divider, c as DividerProps, V as VStack, d as VStackProps } from './VStack-CJs5afN8.js';
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
|
-
import { r as UniversalFormLabelProps,
|
5
|
-
export {
|
4
|
+
import { r as UniversalFormLabelProps, f as UniversalStackProps, s as IconPropsWithSVGProps, t as ImagePropsWithImgProps, u as UniversalIconSlot, v as UniversalLinkProps, w as UniversalTextProps } from './types-d2CfR7zp.js';
|
5
|
+
export { A as AVATAR_SIZE_PREFIX, ad as AlwaysPalette, ae as AlwaysPaletteAlias, af as AlwaysPaletteColor, ag as Animation, ah as AriaAttribute, ai as AvatarAbbreviationStrategy, aj as AvatarShape, ak as AvatarSize, al as AvatarSizeConfig, am as AvatarVariant, D as BORDER_RADIUS_PREFIX, E as BORDER_WIDTH_PREFIX, a5 as BUTTON_CSS_VAR_MAP, an as BackgroundColor, ao as BackgroundPalette, ap as BackgroundPaletteAlias, aq as BackgroundStyleProps, ar as BadgeSize, as as BadgeVariant, at as BorderRadius, au as BorderRadiusConfig, av as BorderStyleProps, aw as BorderWidth, ax as BorderWidthConfig, ay as ButtonBaseConfig, i as ButtonClassMap, az as ButtonClassName, aA as ButtonColorConfig, aB as ButtonColorEffect, aC as ButtonColorEffectConfig, j as ButtonColorProperty, k as ButtonColorPropertyConfig, B as ButtonConfig, aD as ButtonKind, aE as ButtonMotionEffect, aF as ButtonMotionProperty, aG as ButtonMotionPropertyConfig, aH as ButtonPalette, aI as ButtonPaletteColor, aJ as ButtonPaletteConfig, aK as ButtonShadowPropertyConfig, aL as ButtonSize, aM as ButtonSizeConfig, aN as ButtonSizeProperty, aO as ButtonSpectrumColor, aP as ButtonState, aQ as ButtonStateConfig, aR as ButtonStateEffectConfig, aS as ButtonVariant, aT as ButtonVariantConfig, aU as ButtonVariantFlat, aV as CheckboxSize, aW as CheckboxValue, aX as CheckboxVariant, aY as ChipSize, aZ as ChipVariant, C as ColorMode, a_ as ColorModeConfig, a$ as ColorModeForApp, a as ColorsConfig, b0 as ConfigurableDropShadowValues, b1 as ConfigurableInsetShadowValues, b2 as CustomSizingStyleProps, W as DARK_COLOR_MODE_CLASSNAME, a3 as DEFAULT_COLOR_MODE_CLASSNAME, a4 as DEFAULT_SCALE_MODE_CLASSNAME, b3 as DataAttribute, b4 as Display, b5 as DividerVariant, a8 as FONT_DECLARATIONS_MAP, G as FONT_FAMILY_PREFIX, J as FONT_SIZE_PREFIX, L as FONT_SLANT_PREFIX, K as FONT_WEIGHT_PREFIX, N as FONT_WIDTH_PREFIX, b6 as Flex, b7 as FlexAlignContent, b8 as FlexAlignItems, b9 as FlexAlignSelf, ba as FlexBasis, bb as FlexDirection, bc as FlexGrow, bd as FlexJustifyContent, be as FlexShrink, bf as FlexStyleProps, bg as FlexWrap, bh as FontAlias, a9 as FontAxisConfig, m as FontConfig, bi as FontCssVar, aa as FontDeclarationConfig, l as FontDeclarationItemConfig, ab as FontDeclarationMap, bj as FontFamilyCDNUrl, bk as FontFamilyConfig, F as FontID, bl as FontSize, bm as FontSizeConfig, bn as FontSlantConfig, bo as FontType, bp as FontWeightConfig, bq as FontWeightDescriptive, ac as FontWeightForFont, br as FontWeightNumeric, bs as FontWidthConfig, bt as ForegroundColor, bu as ForegroundPalette, bv as ForegroundPaletteAlias, bw as HighContrastMode, H as Hue, b as HueStep, a6 as ICON_BUTTON_CSS_VAR_MAP, O as ICON_SIZE_PREFIX, I as IconButtonClassMap, bx as IconButtonClassName, by as IconButtonConfig, bz as IconButtonDefaultsConfig, bA as IconButtonSize, bB as IconSizeConfig, bC as ImageStyleProps, bD as InputSize, $ as LARGE_SCALE_MODE_CLASSNAME, X as LIGHT_COLOR_MODE_CLASSNAME, Q as LINE_HEIGHT_PREFIX, bE as LayoutStyleProps, bF as LetterSpacing, bG as LineClampAlias, bH as LineColor, bI as LineHeight, bJ as LineHeightConfig, bK as LinePalette, bL as LinePaletteAlias, _ as MEDIUM_SCALE_MODE_CLASSNAME, R as MOTION_PREFIX, bM as Modes, p as MotionConfig, bN as MotionCssVar, bO as MotionSpringConfig, o as MotionSpringConfigOptions, M as MotionVariant, n as MotionVariantSpeed, bP as MotionVariantValues, bQ as Overflow, a7 as PSEUDO_STYLE_SELECTOR_MAP, bR as Palette, c as PaletteConfig, P as PaletteType, bS as PaletteValue, bT as PlatformMode, bU as Position, bV as PropertyToPaletteAliasMap, bW as RadioSize, bX as RadioValue, bY as RadioVariant, bZ as RegionMode, Z as SMALL_SCALE_MODE_CLASSNAME, T as SPECTRUM_COLOR_PREFIX, b_ as ScaleConfig, b$ as ScaleEffectMap, S as ScaleMode, c0 as ScaleModeConfig, c1 as ScaleModeForApp, c2 as ShadowColor, c3 as ShadowColorConfig, c4 as ShadowConfig, c5 as ShadowOffset, c6 as ShadowOpacity, c7 as ShadowPalette, c8 as ShadowPaletteAlias, d as ShadowPreset, c9 as ShadowSpreadRadius, ca as ShadowStyleProps, q as ShadowType, cb as ShadowTypeConfig, cc as ShadowVariant, cd as ShadowVariantConfig, ce as ShadowVariantInvert, cf as ShadowVariantWithInvert, cg as SharedPaletteAlias, ch as SpacingAlias, ci as SpacingConfig, cj as SpacingStyleProps, ck as SpectrumColor, cl as SpectrumConfig, cm as StateStyleProps, cn as StyleProps, co as SwitchSize, V as TEXT_TRANSFORM_PREFIX, cx as TShirtSize, cy as TShirtSizeCommon, cp as TextProperty, cq as TextStyleProps, cr as TextTransform, cs as TextTransformConfig, ct as TextVariant, cu as TransitionDelay, cv as TransitionDuration, cw as TransitionTiming, z as UDS_PREFIX, cz as UdsCssVar, cA as UniversalAvatarIconProps, cB as UniversalAvatarImageProps, cC as UniversalAvatarProps, cD as UniversalAvatarTextProps, cE as UniversalBadgeProps, e as UniversalBoxProps, cF as UniversalButtonProps, cG as UniversalCheckboxProps, cH as UniversalChipBaseProps, cI as UniversalChipButtonProps, cJ as UniversalChipDismissibleProps, cK as UniversalChipLinkProps, cL as UniversalChipProps, cM as UniversalChipToggleProps, g as UniversalDividerProps, cN as UniversalIconButtonProps, cO as UniversalIconProps, cP as UniversalImageProps, h as UniversalInputProps, cQ as UniversalMenuItemProps, cR as UniversalPressableProps, cS as UniversalRadioGroupProps, cT as UniversalRadioProps, cU as UniversalSwitchProps, U as UniversalTokensConfig, cV as UniversalTokensConfigAuto, a0 as XLARGE_SCALE_MODE_CLASSNAME, Y as XSMALL_SCALE_MODE_CLASSNAME, a1 as XXLARGE_SCALE_MODE_CLASSNAME, a2 as XXXLARGE_SCALE_MODE_CLASSNAME, x as alwaysPalette, y as defaultUniversalTokensConfigAuto } from './types-d2CfR7zp.js';
|
6
6
|
import * as react from 'react';
|
7
7
|
import { PropsWithChildren, Ref, Dispatch, SetStateAction } from 'react';
|
8
8
|
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';
|
9
9
|
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, defaultTokensConfig, 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';
|
10
10
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.js';
|
11
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, 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-
|
11
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, 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-CU_UPAew.js';
|
12
12
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
13
13
|
import 'motion/react';
|
14
14
|
import 'type-fest';
|
15
15
|
import '@yahoo/uds/fixtures';
|
16
16
|
|
17
17
|
type HtmlLabelProps = Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'color'>;
|
18
|
-
interface FormLabelProps extends UniversalFormLabelProps, PropsWithChildren, HtmlLabelProps
|
18
|
+
interface FormLabelProps extends UniversalFormLabelProps, PropsWithChildren, HtmlLabelProps {
|
19
19
|
}
|
20
|
-
declare const FormLabel: ({ htmlFor, required,
|
20
|
+
declare const FormLabel: ({ htmlFor, required, label, children, color, variant, hasError, showRequiredAsterisk, as, className, ...rest }: FormLabelProps) => react_jsx_runtime.JSX.Element | null;
|
21
21
|
|
22
22
|
interface HStackProps extends UniversalStackProps, DivProps {
|
23
23
|
}
|
@@ -163,7 +163,7 @@ interface LinkProps extends HTMLAnchorProps, UniversalLinkProps {
|
|
163
163
|
**/
|
164
164
|
declare const Link: react.ForwardRefExoticComponent<LinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
165
165
|
|
166
|
-
type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li';
|
166
|
+
type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
|
167
167
|
type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
|
168
168
|
type VariantWithInherit = Exclude<UniversalTextProps['variant'], undefined> | 'inherit';
|
169
169
|
type TextProps<TagName extends TextElementTagName = TextElementTagName> = {
|
@@ -284,14 +284,23 @@ interface CX<T> {
|
|
284
284
|
declare const cx: CX<string>;
|
285
285
|
declare const cva: CVA<string>;
|
286
286
|
declare const getStylesInternal: (props?: ({
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
287
|
+
avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
288
|
+
avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
289
|
+
avatarTextVariantRoot?: "primary" | "secondary" | undefined;
|
290
|
+
avatarImageVariantRoot?: "primary" | "secondary" | undefined;
|
291
|
+
avatarIconVariantRoot?: "primary" | "secondary" | undefined;
|
292
|
+
badgeSizeRoot?: "xs" | "sm" | "md" | "lg" | undefined;
|
293
|
+
badgeSizeIcon?: "xs" | "sm" | "md" | "lg" | undefined;
|
294
|
+
badgeVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
295
|
+
badgeVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
296
|
+
checkboxSizeRoot?: "sm" | "md" | undefined;
|
297
|
+
checkboxSizeCheckbox?: "sm" | "md" | undefined;
|
298
|
+
checkboxVariantValueRoot?: "checked" | "unchecked" | "indeterminate" | undefined;
|
299
|
+
checkboxVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
300
|
+
checkboxVariantValueCheckbox?: "checked" | "unchecked" | "indeterminate" | undefined;
|
301
|
+
checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
302
|
+
checkboxVariantValueCheckboxIcon?: "checked" | "unchecked" | "indeterminate" | undefined;
|
303
|
+
checkboxVariantCheckboxIcon?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
295
304
|
chipSizeRoot?: "sm" | "md" | undefined;
|
296
305
|
chipToggleVariantActiveRoot?: "on" | "off" | undefined;
|
297
306
|
chipToggleVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
@@ -301,47 +310,9 @@ declare const getStylesInternal: (props?: ({
|
|
301
310
|
chipDismissibleVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
302
311
|
chipLinkVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
303
312
|
chipLinkVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
switchVariantSwitch?: "default" | undefined;
|
308
|
-
switchVariantActiveHandle?: "on" | "off" | undefined;
|
309
|
-
switchVariantHandle?: "default" | undefined;
|
310
|
-
switchVariantActiveHandleIcon?: "on" | "off" | undefined;
|
311
|
-
switchVariantHandleIcon?: "default" | undefined;
|
312
|
-
switchSizeRoot?: "sm" | "md" | undefined;
|
313
|
-
switchSizeSwitch?: "sm" | "md" | undefined;
|
314
|
-
switchSizeHandle?: "sm" | "md" | undefined;
|
315
|
-
switchSizeHandleIcon?: "sm" | "md" | undefined;
|
316
|
-
linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
317
|
-
linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
318
|
-
linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
319
|
-
linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
320
|
-
linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
321
|
-
avatarSizeRoot?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
322
|
-
avatarSizeIcon?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
323
|
-
avatarTextVariantRoot?: "primary" | "secondary" | undefined;
|
324
|
-
avatarImageVariantRoot?: "primary" | "secondary" | undefined;
|
325
|
-
avatarIconVariantRoot?: "primary" | "secondary" | undefined;
|
326
|
-
menuSizeRoot?: "default" | undefined;
|
327
|
-
menuSizeStartIcon?: "default" | undefined;
|
328
|
-
menuSizeEndIcon?: "default" | undefined;
|
329
|
-
menuItemVariantActiveRoot?: "on" | "off" | undefined;
|
330
|
-
menuItemVariantRoot?: "default" | undefined;
|
331
|
-
menuItemVariantActiveText?: "on" | "off" | undefined;
|
332
|
-
menuItemVariantText?: "default" | undefined;
|
333
|
-
menuItemVariantActiveIcon?: "on" | "off" | undefined;
|
334
|
-
menuItemVariantIcon?: "default" | undefined;
|
335
|
-
menuItemCheckboxVariantActiveRoot?: "on" | "off" | undefined;
|
336
|
-
menuItemCheckboxVariantRoot?: "default" | undefined;
|
337
|
-
menuItemCheckboxVariantActiveText?: "on" | "off" | undefined;
|
338
|
-
menuItemCheckboxVariantText?: "default" | undefined;
|
339
|
-
menuItemCheckboxVariantActiveStartIcon?: "on" | "off" | undefined;
|
340
|
-
menuItemCheckboxVariantStartIcon?: "default" | undefined;
|
341
|
-
menuItemCheckboxVariantActiveEndIcon?: "on" | "off" | undefined;
|
342
|
-
menuItemCheckboxVariantEndIcon?: "default" | undefined;
|
343
|
-
menuDividerVariantRoot?: "default" | undefined;
|
344
|
-
menuDividerVariantText?: "default" | undefined;
|
313
|
+
dividerVariantRoot?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
314
|
+
dividerVariantLine?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
315
|
+
dividerVariantLabel?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
345
316
|
inputSizeRoot?: "md" | "lg" | undefined;
|
346
317
|
inputSizeInputWrapper?: "md" | "lg" | undefined;
|
347
318
|
inputSizeInput?: "md" | "lg" | undefined;
|
@@ -370,56 +341,85 @@ declare const getStylesInternal: (props?: ({
|
|
370
341
|
inputVariantHelperIcon?: "default" | undefined;
|
371
342
|
inputVariantValueHelperText?: "filled" | "empty" | undefined;
|
372
343
|
inputVariantHelperText?: "default" | undefined;
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
344
|
+
linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
345
|
+
linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
346
|
+
linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
347
|
+
linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
348
|
+
linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
349
|
+
menuSizeRoot?: "default" | undefined;
|
350
|
+
menuSizeStartIcon?: "default" | undefined;
|
351
|
+
menuSizeEndIcon?: "default" | undefined;
|
352
|
+
menuItemVariantActiveRoot?: "on" | "off" | undefined;
|
353
|
+
menuItemVariantRoot?: "default" | undefined;
|
354
|
+
menuItemVariantActiveText?: "on" | "off" | undefined;
|
355
|
+
menuItemVariantText?: "default" | undefined;
|
356
|
+
menuItemVariantActiveIcon?: "on" | "off" | undefined;
|
357
|
+
menuItemVariantIcon?: "default" | undefined;
|
358
|
+
menuItemCheckboxVariantActiveRoot?: "on" | "off" | undefined;
|
359
|
+
menuItemCheckboxVariantRoot?: "default" | undefined;
|
360
|
+
menuItemCheckboxVariantActiveText?: "on" | "off" | undefined;
|
361
|
+
menuItemCheckboxVariantText?: "default" | undefined;
|
362
|
+
menuItemCheckboxVariantActiveStartIcon?: "on" | "off" | undefined;
|
363
|
+
menuItemCheckboxVariantStartIcon?: "default" | undefined;
|
364
|
+
menuItemCheckboxVariantActiveEndIcon?: "on" | "off" | undefined;
|
365
|
+
menuItemCheckboxVariantEndIcon?: "default" | undefined;
|
366
|
+
menuDividerVariantRoot?: "default" | undefined;
|
367
|
+
menuDividerVariantText?: "default" | undefined;
|
368
|
+
radioVariantValueRoot?: "checked" | "unchecked" | undefined;
|
369
|
+
radioVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
370
|
+
radioVariantValueRadio?: "checked" | "unchecked" | undefined;
|
371
|
+
radioVariantRadio?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
372
|
+
radioVariantValueRadioCircle?: "checked" | "unchecked" | undefined;
|
373
|
+
radioVariantRadioCircle?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
374
|
+
radioSizeRoot?: "sm" | "md" | undefined;
|
375
|
+
radioSizeRadio?: "sm" | "md" | undefined;
|
376
|
+
switchVariantActiveRoot?: "on" | "off" | undefined;
|
377
|
+
switchVariantRoot?: "default" | undefined;
|
378
|
+
switchVariantActiveSwitch?: "on" | "off" | undefined;
|
379
|
+
switchVariantSwitch?: "default" | undefined;
|
380
|
+
switchVariantActiveHandle?: "on" | "off" | undefined;
|
381
|
+
switchVariantHandle?: "default" | undefined;
|
382
|
+
switchVariantActiveHandleIcon?: "on" | "off" | undefined;
|
383
|
+
switchVariantHandleIcon?: "default" | undefined;
|
384
|
+
switchSizeRoot?: "sm" | "md" | undefined;
|
385
|
+
switchSizeSwitch?: "sm" | "md" | undefined;
|
386
|
+
switchSizeHandle?: "sm" | "md" | undefined;
|
387
|
+
switchSizeHandleIcon?: "sm" | "md" | undefined;
|
388
|
+
color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "on-color" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
389
|
+
placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "on-color" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
390
390
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "serif" | "sans" | "mono" | "sans-alt" | "serif-alt" | undefined;
|
391
391
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
392
392
|
fontWeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "thin" | "black" | "extralight" | "light" | "regular" | "medium" | "semibold" | "bold" | "extrabold" | undefined;
|
393
393
|
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
394
394
|
textAlign?: "center" | "end" | "start" | "justify" | undefined;
|
395
395
|
textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
|
396
|
-
spacing?: "
|
397
|
-
spacingHorizontal?: "
|
398
|
-
spacingVertical?: "
|
399
|
-
spacingBottom?: "
|
400
|
-
spacingEnd?: "
|
401
|
-
spacingStart?: "
|
402
|
-
spacingTop?: "
|
403
|
-
offset?: "
|
404
|
-
offsetVertical?: "
|
405
|
-
offsetHorizontal?: "
|
406
|
-
offsetBottom?: "
|
407
|
-
offsetEnd?: "
|
408
|
-
offsetStart?: "
|
409
|
-
offsetTop?: "
|
410
|
-
columnGap?: "
|
411
|
-
rowGap?: "
|
412
|
-
backgroundColor?: "primary" | "secondary" | "
|
413
|
-
borderColor?: "primary" | "secondary" | "
|
414
|
-
borderStartColor?: "primary" | "secondary" | "
|
415
|
-
borderEndColor?: "primary" | "secondary" | "
|
416
|
-
borderBottomColor?: "primary" | "secondary" | "
|
417
|
-
borderTopColor?: "primary" | "secondary" | "
|
418
|
-
borderRadius?: "
|
419
|
-
borderTopStartRadius?: "
|
420
|
-
borderTopEndRadius?: "
|
421
|
-
borderBottomStartRadius?: "
|
422
|
-
borderBottomEndRadius?: "
|
396
|
+
spacing?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
397
|
+
spacingHorizontal?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
398
|
+
spacingVertical?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
399
|
+
spacingBottom?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
400
|
+
spacingEnd?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
401
|
+
spacingStart?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
402
|
+
spacingTop?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
403
|
+
offset?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
404
|
+
offsetVertical?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
405
|
+
offsetHorizontal?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
406
|
+
offsetBottom?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
407
|
+
offsetEnd?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
408
|
+
offsetStart?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
409
|
+
offsetTop?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
410
|
+
columnGap?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
411
|
+
rowGap?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
412
|
+
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
413
|
+
borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
414
|
+
borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
415
|
+
borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
416
|
+
borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
417
|
+
borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
|
418
|
+
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
|
419
|
+
borderTopStartRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
|
420
|
+
borderTopEndRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
|
421
|
+
borderBottomStartRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
|
422
|
+
borderBottomEndRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
|
423
423
|
borderWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
424
424
|
borderVerticalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
425
425
|
borderHorizontalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
@@ -427,14 +427,14 @@ declare const getStylesInternal: (props?: ({
|
|
427
427
|
borderEndWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
428
428
|
borderTopWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
429
429
|
borderBottomWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
430
|
-
avatarSize?: "
|
430
|
+
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
431
431
|
iconSize?: "sm" | "md" | "lg" | undefined;
|
432
432
|
alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-between" | "space-around" | undefined;
|
433
433
|
alignItems?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | undefined;
|
434
434
|
alignSelf?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | "auto" | undefined;
|
435
435
|
flex?: "1" | "none" | "initial" | "auto" | undefined;
|
436
436
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
437
|
-
flexGrow?: "2" | "
|
437
|
+
flexGrow?: "2" | "1" | "3" | "0" | undefined;
|
438
438
|
flexShrink?: "1" | "0" | undefined;
|
439
439
|
flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
440
440
|
justifyContent?: "center" | "flex-end" | "flex-start" | "space-between" | "space-around" | "space-evenly" | undefined;
|
@@ -447,14 +447,14 @@ declare const getStylesInternal: (props?: ({
|
|
447
447
|
contentFit?: "none" | "fill" | "cover" | "contain" | "scale-down" | undefined;
|
448
448
|
colorMode?: "light" | "dark" | undefined;
|
449
449
|
scaleMode?: "medium" | "xSmall" | "small" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
450
|
-
buttonPalette?: "
|
450
|
+
buttonPalette?: "brand" | "alert" | "warning" | "positive" | "info" | "accent" | undefined;
|
451
451
|
buttonVariant?: "primary" | "secondary" | "tertiary" | undefined;
|
452
452
|
buttonSize?: "sm" | "md" | "lg" | undefined;
|
453
|
-
iconButtonSize?: "
|
453
|
+
iconButtonSize?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
454
454
|
width?: "full" | "fit" | "screen" | undefined;
|
455
455
|
height?: "full" | "fit" | "screen" | undefined;
|
456
|
-
dropShadow?: "
|
457
|
-
insetShadow?: "
|
456
|
+
dropShadow?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "none" | undefined;
|
457
|
+
insetShadow?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xl-invert" | "none" | "md-invert" | "xl-invert" | "xs-invert" | "sm-invert" | "lg-invert" | undefined;
|
458
458
|
} & {
|
459
459
|
className?: string | undefined;
|
460
460
|
}) | undefined) => string;
|
@@ -463,4 +463,4 @@ declare const getStyles: (props: GetStylesInternalProps) => string;
|
|
463
463
|
|
464
464
|
type SetState<T> = Dispatch<SetStateAction<T>>;
|
465
465
|
|
466
|
-
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,
|
466
|
+
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, Text, type TextProps, UniversalFormLabelProps, UniversalIconSlot, UniversalLinkProps, UniversalStackProps, UniversalTextProps, cva, cx, getStyles };
|
package/dist/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import{getStyles as e,cx as t,IconSlot as a
|
1
|
+
import{getStyles as e,cx as t,IconSlot as a}from"./chunk-WCB4EHGZ.js";export{Box,Divider,FormLabel,HStack,Icon,Image,InputHelpTextMemo as InputHelpText,Text,VStack,cva,cx,getStyles}from"./chunk-WCB4EHGZ.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,defaultTokensConfig,defaultUniversalTokensConfigAuto,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-6CVEYTLQ.js";export{variants}from"./chunk-N3FKHXEJ.js";export{entries,mapValues}from"./chunk-EWJ3J526.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,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,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"./chunk-4G4TBHHL.js";import{forwardRef as n,useMemo as o}from"react";import{jsxs as i,jsx as r}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 E=n((function({variant:n="primary",textVariant:E,startIcon:_,endIcon:s,alwaysUnderline:C=!1,children:S,className:A,...c},l){const L=!E,g=o((()=>{const a=!L&&e({linkTextStyleRoot:E,fontSize:E,fontFamily:E,fontWeight:E,lineHeight:E,textTransform:E});return e({linkVariantRoot:n,display:"inline-flex",alignItems:"center",className:t(a,"uds-ring",C?"underline":"hover:underline",A)})}),[C,L,E,n,A]),O=e({linkVariantIconStart:n,linkTextStyleIcon:E,className:t(L&&"w-[0.7em] h-[0.7em]")}),f=e({linkVariantIconEnd:n,linkTextStyleIcon:E,className:t(L&&"w-[0.7em] h-[0.7em]")}),M={variant:"outline",color:"current"};return i("a",{ref:l,className:g,...c,children:[_&&r(a,{className:O,icon:_,iconProps:M,"data-testid":"start-icon"}),S,s&&r(a,{className:f,icon:s,iconProps:M,"data-testid":"end-icon"})]})}));export{E as Link};
|