@yahoo/uds 0.1.11 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/README.md +135 -0
- package/cli/commands/config/config.ts +10 -0
- package/cli/commands/config/sync.ts +22 -0
- package/cli/commands/expo/_setup.ts +260 -0
- package/cli/commands/expo/build.ts +15 -0
- package/cli/commands/expo/dev.ts +79 -0
- package/cli/commands/expo/expo.ts +23 -0
- package/cli/commands/expo/launch.ts +15 -0
- package/cli/commands/expo/update.ts +16 -0
- package/cli/commands/nextjs/dev.ts +17 -0
- package/cli/commands/nextjs/nextjs.ts +10 -0
- package/cli/commands/uds.ts +10 -0
- package/cli/commands/version.ts +11 -0
- package/cli/env.d.ts +15 -0
- package/cli/eslint.config.mjs +8 -0
- package/cli/tsconfig.json +10 -0
- package/cli/uds-cli +7 -0
- package/cli/utils/configWorker.ts +9 -0
- package/cli/utils/getCommandHelp.ts +65 -0
- package/cli/utils/setupConfigWorker.ts +81 -0
- package/cli/utils/sortKeys.ts +27 -0
- package/cli/utils/types.ts +13 -0
- package/dist/chunk-3I3D5S54.js +1 -0
- package/dist/chunk-74YHFBTD.js +1 -0
- package/dist/chunk-AWTLI4D3.js +1 -0
- package/dist/chunk-D4K3CXV6.js +0 -0
- package/dist/chunk-M346JMQS.js +0 -0
- package/dist/chunk-MBOOJIH7.js +1 -0
- package/dist/chunk-MFA2Y7DA.js +1 -0
- package/dist/chunk-P7GR6E3K.js +1 -0
- package/dist/chunk-PQBOZFJV.js +1 -0
- package/dist/chunk-WYDHNV42.js +1 -0
- package/dist/fixtures/index.cjs +1 -0
- package/dist/fixtures/index.d.cts +141 -0
- package/dist/fixtures/index.d.ts +141 -0
- package/dist/fixtures/index.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +62 -93
- package/dist/index.d.ts +62 -93
- package/dist/index.js +1 -1
- package/dist/index.native-3ww4C4UV.d.cts +15 -0
- package/dist/index.native-9kYJrUPa.d.ts +15 -0
- package/dist/index.native.cjs +1 -0
- package/dist/index.native.d.cts +1493 -0
- package/dist/index.native.d.ts +1493 -0
- package/dist/index.native.js +1 -0
- package/dist/tailwindPlugin.cjs +1 -1
- package/dist/tailwindPlugin.d.cts +2 -1
- package/dist/tailwindPlugin.d.ts +2 -1
- package/dist/tailwindPlugin.js +1 -1
- package/dist/tokens/index.cjs +1 -0
- package/dist/tokens/index.d.cts +39 -0
- package/dist/tokens/index.d.ts +39 -0
- package/dist/tokens/index.js +1 -0
- package/dist/tokens/index.native.cjs +1 -0
- package/dist/tokens/index.native.d.cts +3 -0
- package/dist/tokens/index.native.d.ts +3 -0
- package/dist/tokens/index.native.js +1 -0
- package/dist/tokens/parseTokens.cjs +1 -0
- package/dist/tokens/parseTokens.d.cts +85 -0
- package/dist/tokens/parseTokens.d.ts +85 -0
- package/dist/tokens/parseTokens.js +1 -0
- package/dist/tokens/parseTokens.native.cjs +1 -0
- package/dist/tokens/parseTokens.native.d.cts +416 -0
- package/dist/tokens/parseTokens.native.d.ts +416 -0
- package/dist/tokens/parseTokens.native.js +1 -0
- package/dist/types-J4DLS6Xj.d.cts +38 -0
- package/dist/types-J4DLS6Xj.d.ts +38 -0
- package/dist/types-hirL9Qk5.d.cts +510 -0
- package/dist/types-hirL9Qk5.d.ts +510 -0
- package/fonts/mobile.cjs +29 -0
- package/fonts/mobile.d.ts +3 -0
- package/fonts/yahoo-icons.ttf +0 -0
- package/fonts/yahoo-sans-beta-bold.otf +0 -0
- package/fonts/yahoo-sans-beta-medium.otf +0 -0
- package/fonts/yahoo-sans-beta-regular.otf +0 -0
- package/fonts/yahoo-sans-black.otf +0 -0
- package/fonts/yahoo-sans-bold.otf +0 -0
- package/fonts/yahoo-sans-condensed-black.otf +0 -0
- package/fonts/yahoo-sans-condensed-bold.otf +0 -0
- package/fonts/yahoo-sans-condensed-light.otf +0 -0
- package/fonts/yahoo-sans-condensed-medium.otf +0 -0
- package/fonts/yahoo-sans-condensed-regular.otf +0 -0
- package/fonts/yahoo-sans-extrabold.otf +0 -0
- package/fonts/yahoo-sans-extralight.otf +0 -0
- package/fonts/yahoo-sans-italic.otf +0 -0
- package/fonts/yahoo-sans-light.otf +0 -0
- package/fonts/yahoo-sans-medium.otf +0 -0
- package/fonts/yahoo-sans-regular.otf +0 -0
- package/fonts/yahoo-sans-semibold.otf +0 -0
- package/fonts/yahoo-serif-display-black.otf +0 -0
- package/fonts/yahoo-serif-display-bold.otf +0 -0
- package/fonts/yahoo-serif-display-extrabold.otf +0 -0
- package/fonts/yahoo-serif-display-light.otf +0 -0
- package/fonts/yahoo-serif-display-regular.otf +0 -0
- package/fonts/yahoo-serif-text-bold.otf +0 -0
- package/fonts/yahoo-serif-text-italic.otf +0 -0
- package/fonts/yahoo-serif-text-regular.otf +0 -0
- package/package.json +130 -35
- package/bin/uds +0 -0
package/dist/index.d.cts
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
|
-
import { UniversalAvatarProps, UniversalBoxProps, UniversalPressableProps, UniversalButtonProps, IconName, Overflow, UniversalTextProps, ButtonVariant, ButtonSize, UniversalStackProps, UniversalIconProps, UniversalIconButtonProps, ForegroundColor, UniversalImageProps, UniversalTextInputProps } from '
|
3
|
-
export
|
2
|
+
import { j as UniversalAvatarProps, k as UniversalBoxProps, l as UniversalPressableProps, m as UniversalButtonProps, I as IconName, O as Overflow, n as UniversalTextProps, o as ButtonVariant, p as ButtonSize, q as UniversalStackProps, r as UniversalIconProps, s as UniversalIconButtonProps, t as ForegroundColor, u as UniversalImageProps, v as UniversalTextInputProps } from './types-hirL9Qk5.cjs';
|
3
|
+
export { A as AlwaysPalette, x as AlwaysPaletteAlias, y as Animation, z as AriaAttribute, D as AspectRatioAlias, G as AspectRatioConfig, J as AvatarSizeAlias, K as AvatarSizeConfig, M as BackgroundColor, d as BackgroundPalette, N as BackgroundPaletteAlias, Q as BackgroundStyleProps, e as BackgroundWashPalette, R as BackgroundWashPaletteAlias, T as BorderStyleProps, V as BorderWidthAlias, B as BorderWidthConfig, W as BoxShadowConfig, C as ColorMode, X as ColorModeForApp, a as ColorsConfig, c as CorePalette, Y as CorePaletteAlias, Z as DataAttribute, h as ElevationAlias, E as ElevationConfig, _ as ElevationPaletteAlias, $ as FlexStyleProps, a0 as FontFamilyConfig, a1 as FontFamilyGlobalAlias, i as FontFamilyGlobalConfig, a2 as FontSizeConfig, f as FontWeightConfig, a3 as FontWeightDescriptiveAlias, g as FontWeightNumericAlias, F as ForegroundPalette, a4 as ForegroundPaletteAlias, a5 as HighContrastMode, H as Hue, b as HueStep, a6 as IconSizeAlias, a7 as IconSizeConfig, a8 as LayoutStyleProps, a9 as LetterSpacingAlias, aa as LineClampAlias, ab as LineColor, ac as LineHeightConfig, L as LinePalette, ad as LinePaletteAlias, ae as Modes, af as OpacityAlias, ag as OpacityStyleProps, ah as Palette, ai as PaletteConfig, aj as PaletteType, P as PaletteValue, ak as PlatformMode, al as RegionMode, am as ScaleConfig, S as ScaleMode, an as ScaleModeConfig, ao as ScaleModeForApp, ap as ShapeAlias, aq as ShapeConfig, ar as SizingStyleProps, as as SpacingAlias, at as SpacingConfig, au as SpacingStyleProps, av as SpectrumColor, aw as SpectrumConfig, ax as StateStyleProps, ay as StyleProps, az as TextConfig, aA as TextStyleProps, aB as TextTransformAlias, aC as TextTransformConfig, aD as TextVariant, aE as TransitionDelay, aF as TransitionDuration, aG as TransitionTiming, U as UniversalTokensConfig, aH as ZIndexAlias, aI as ZIndexConfig, w as alwaysPalette } from './types-hirL9Qk5.cjs';
|
4
4
|
import * as react from 'react';
|
5
|
-
import react__default, { PropsWithChildren
|
5
|
+
import react__default, { PropsWithChildren } from 'react';
|
6
6
|
import * as _ariakit_react from '@ariakit/react';
|
7
7
|
import { PopoverProps, PopoverProviderProps, DialogProps, useDialogStore, DialogStore, DialogDismiss, Popover as Popover$1, PopoverArrow as PopoverArrow$1, PopoverAnchor as PopoverAnchor$1, PopoverDescription as PopoverDescription$1, PopoverDismiss as PopoverDismiss$1, PopoverProvider as PopoverProvider$1, PopoverDisclosure as PopoverDisclosure$1, PopoverDisclosureArrow as PopoverDisclosureArrow$1, TabProviderProps, TabListProps, TabPanelProps } from '@ariakit/react';
|
8
8
|
export { DialogStore as ModalStore, TabListProps, TabPanelProps, TabProviderProps as TabsProps, usePopoverStore } from '@ariakit/react';
|
9
9
|
import { ToastContainerProps } from 'react-toastify';
|
10
10
|
export { toast } from 'react-toastify';
|
11
|
+
import { C as CX, a as CVA } from './types-J4DLS6Xj.cjs';
|
12
|
+
export { S as SetState } from './types-J4DLS6Xj.cjs';
|
13
|
+
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-3ww4C4UV.cjs';
|
14
|
+
export { AVATAR_SIZE_PREFIX, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, ICON_SIZE_PREFIX, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, SHAPE_PREFIX, SMALL_SCALE_MODE_CLASSNAME, SPACING_PREFIX, SPECTRUM_COLOR_PREFIX, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, entries, getColorModeClassName, getScaleModeClassName } from './tokens/index.cjs';
|
11
15
|
|
12
16
|
interface AccordionProps extends React.PropsWithChildren {
|
13
17
|
label: string;
|
@@ -494,86 +498,53 @@ type VStackProps = UniversalStackProps & DivProps$1;
|
|
494
498
|
*/
|
495
499
|
declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps$1 & react.RefAttributes<HTMLDivElement>>;
|
496
500
|
|
497
|
-
type StringToBoolean<T> = T extends 'true' | 'false' ? boolean : T;
|
498
|
-
type CvaStyleValue<T> = T | CvaStyleArray<T> | Record<string, unknown> | null | boolean | undefined;
|
499
|
-
type CvaStyleArray<T> = CvaStyleValue<T>[];
|
500
|
-
type CVAVariantSchema<T, V extends CVAVariantShape<T>> = {
|
501
|
-
[Variant in keyof V]?: StringToBoolean<keyof V[Variant]> | undefined;
|
502
|
-
};
|
503
|
-
type CVAVariantShape<T> = Record<string, Record<string, T>>;
|
504
|
-
type CVAStyleProp<T> = T extends string ? {
|
505
|
-
className?: T;
|
506
|
-
} : {
|
507
|
-
style?: T;
|
508
|
-
};
|
509
|
-
type CVAConfigBase<T> = {
|
510
|
-
base?: T | null;
|
511
|
-
};
|
512
|
-
interface CVA<T> {
|
513
|
-
<V extends CVAVariantShape<T>>(config: V extends CVAVariantShape<T> ? CVAConfigBase<T> & {
|
514
|
-
base?: T;
|
515
|
-
variants?: V;
|
516
|
-
compoundVariants?: (V extends CVAVariantShape<T> ? (CVAVariantSchema<T, V> | {
|
517
|
-
[Variant in keyof V]?: StringToBoolean<keyof V[Variant]> | undefined;
|
518
|
-
}) & CVAStyleProp<T> : CVAStyleProp<T>)[];
|
519
|
-
defaultVariants?: CVAVariantSchema<T, V>;
|
520
|
-
} : CVAConfigBase<T> & {
|
521
|
-
variants?: never;
|
522
|
-
compoundVariants?: never;
|
523
|
-
defaultVariants?: never;
|
524
|
-
}): (props?: V extends CVAVariantShape<T> ? CVAVariantSchema<T, V> & CVAStyleProp<T> : CVAStyleProp<T>) => T;
|
525
|
-
}
|
526
|
-
interface CX<T> {
|
527
|
-
(...inputs: CvaStyleValue<T>[]): T;
|
528
|
-
}
|
529
|
-
|
530
501
|
declare const cx: CX<string>;
|
531
502
|
declare const cva: CVA<string>;
|
532
503
|
declare const getStyles: (props?: ({
|
533
|
-
color?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" |
|
534
|
-
colorChecked?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" |
|
535
|
-
fontFamily?: "
|
504
|
+
color?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" | undefined;
|
505
|
+
colorChecked?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" | undefined;
|
506
|
+
fontFamily?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "icons" | "sans" | "sans-beta" | "sans-condensed" | "serif-text" | "serif-display" | "display2" | undefined;
|
536
507
|
fontSize?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "display2" | undefined;
|
537
|
-
fontWeight?: "bold" | "black" | "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "
|
508
|
+
fontWeight?: "bold" | "black" | "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "thin" | "extralight" | "light" | "regular" | "medium" | "semibold" | "extrabold" | "display2" | undefined;
|
538
509
|
lineHeight?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "display2" | undefined;
|
539
|
-
textAlign?: "
|
540
|
-
textTransform?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "
|
541
|
-
spacing?: "
|
542
|
-
spacingHorizontal?: "
|
543
|
-
spacingVertical?: "
|
544
|
-
spacingBottom?: "
|
545
|
-
spacingEnd?: "
|
546
|
-
spacingStart?: "
|
547
|
-
spacingTop?: "
|
548
|
-
offset?: "
|
549
|
-
offsetVertical?: "
|
550
|
-
offsetHorizontal?: "
|
551
|
-
offsetBottom?: "
|
552
|
-
offsetEnd?: "
|
553
|
-
offsetStart?: "
|
554
|
-
offsetTop?: "
|
555
|
-
columnGap?: "
|
556
|
-
rowGap?: "
|
557
|
-
backgroundColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "
|
558
|
-
backgroundColorOnActive?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "
|
559
|
-
backgroundColorOnHover?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "
|
560
|
-
backgroundColorOnChecked?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "
|
510
|
+
textAlign?: "center" | "justify" | "start" | "end" | undefined;
|
511
|
+
textTransform?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "none" | "uppercase" | "lowercase" | "capitalize" | "display2" | undefined;
|
512
|
+
spacing?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
513
|
+
spacingHorizontal?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
514
|
+
spacingVertical?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
515
|
+
spacingBottom?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
516
|
+
spacingEnd?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
517
|
+
spacingStart?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
518
|
+
spacingTop?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
519
|
+
offset?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
520
|
+
offsetVertical?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
521
|
+
offsetHorizontal?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
522
|
+
offsetBottom?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
523
|
+
offsetEnd?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
524
|
+
offsetStart?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
525
|
+
offsetTop?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
526
|
+
columnGap?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
527
|
+
rowGap?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
528
|
+
backgroundColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
|
529
|
+
backgroundColorOnActive?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
|
530
|
+
backgroundColorOnHover?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
|
531
|
+
backgroundColorOnChecked?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
|
561
532
|
elevation?: "1" | "2" | "3" | undefined;
|
562
|
-
opacity?: "0" | "5" | "10" | "
|
563
|
-
borderColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
564
|
-
borderColorOnActive?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
565
|
-
borderColorOnFocus?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
566
|
-
borderColorOnHover?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
567
|
-
borderColorOnChecked?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
568
|
-
borderStartColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
569
|
-
borderEndColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
570
|
-
borderBottomColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
571
|
-
borderTopColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
572
|
-
borderRadius?: "
|
573
|
-
borderTopStartRadius?: "
|
574
|
-
borderTopEndRadius?: "
|
575
|
-
borderBottomStartRadius?: "
|
576
|
-
borderBottomEndRadius?: "
|
533
|
+
opacity?: "0" | "5" | "10" | "100" | "20" | "30" | "40" | "50" | "25" | "60" | "70" | "75" | "80" | "90" | "95" | undefined;
|
534
|
+
borderColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
535
|
+
borderColorOnActive?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
536
|
+
borderColorOnFocus?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
537
|
+
borderColorOnHover?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
538
|
+
borderColorOnChecked?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
539
|
+
borderStartColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
540
|
+
borderEndColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
541
|
+
borderBottomColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
542
|
+
borderTopColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
543
|
+
borderRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
544
|
+
borderTopStartRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
545
|
+
borderTopEndRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
546
|
+
borderBottomStartRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
547
|
+
borderBottomEndRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
577
548
|
bordered?: boolean | undefined;
|
578
549
|
borderWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
|
579
550
|
borderVerticalWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
|
@@ -588,35 +559,33 @@ declare const getStyles: (props?: ({
|
|
588
559
|
borderedHorizontal?: boolean | undefined;
|
589
560
|
borderedEnd?: boolean | undefined;
|
590
561
|
borderedStart?: boolean | undefined;
|
591
|
-
height?: "auto" | "
|
562
|
+
height?: "auto" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "full" | "screen" | "min" | "max" | "fit" | undefined;
|
592
563
|
minHeight?: "full" | "screen" | "min" | "max" | "fit" | undefined;
|
593
564
|
maxHeight?: "none" | "full" | "screen" | "min" | "max" | "fit" | undefined;
|
594
|
-
width?: "auto" | "
|
565
|
+
width?: "auto" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "full" | "screen" | "min" | "max" | "fit" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | undefined;
|
595
566
|
minWidth?: "full" | "screen" | "min" | "max" | "fit" | undefined;
|
596
567
|
maxWidth?: "none" | "full" | "min" | "max" | "fit" | undefined;
|
597
|
-
avatarSize?: "
|
598
|
-
iconSize?: "
|
599
|
-
alignContent?: "
|
600
|
-
alignItems?: "
|
601
|
-
alignSelf?: "
|
568
|
+
avatarSize?: "s" | "m" | "l" | undefined;
|
569
|
+
iconSize?: "s" | "m" | "l" | undefined;
|
570
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | undefined;
|
571
|
+
alignItems?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
|
572
|
+
alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
|
602
573
|
flex?: "1" | "none" | "auto" | "initial" | undefined;
|
603
574
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
604
575
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
605
576
|
flexShrink?: "0" | "1" | undefined;
|
606
|
-
flexWrap?: "wrap" | "
|
607
|
-
justifyContent?: "
|
577
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
578
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
|
608
579
|
flexBasis?: "min-content" | undefined;
|
609
|
-
display?: "
|
580
|
+
display?: "grid" | "block" | "inline-block" | "inline" | "flex" | "inline-flex" | "table" | "inline-table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row-group" | "table-row" | "flow-root" | "contents" | undefined;
|
610
581
|
overflow?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
|
611
582
|
overflowX?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
|
612
583
|
overflowY?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
|
613
|
-
position?: "
|
614
|
-
zIndex?: "0" | "10" | "
|
615
|
-
contentFit?: "
|
584
|
+
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
585
|
+
zIndex?: "0" | "10" | "auto" | "20" | "30" | "40" | "50" | undefined;
|
586
|
+
contentFit?: "none" | "cover" | "contain" | "fill" | "scale-down" | undefined;
|
616
587
|
} & {
|
617
588
|
className?: string | undefined;
|
618
589
|
}) | undefined) => string;
|
619
590
|
|
620
|
-
type
|
621
|
-
|
622
|
-
export { Accordion, type AccordionProps, Avatar, type AvatarProps, Box, type BoxProps, Button, type ButtonProps, Chip, type ChipProps, Dropdown, DropdownItem, DropdownItemPressable, type DropdownItemProps, DropdownItems, type DropdownItemsProps, type DropdownProps, DropdownTrigger, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, type IconProps, Image, type ImageProps, Modal, ModalDismiss, ModalHeader, type ModalProps, Popover, PopoverAnchor, PopoverArrow, PopoverDescription, PopoverDisclosure, PopoverDisclosureArrow, PopoverDismiss, PopoverHeading, type PopoverHeadingProps, PopoverProvider, Pressable, type PressableProps, type SetState, Spinner, type SpinnerProps, Tab, TabList, TabPanel, type TabProps, Tabs, Text, TextInput, TextInputGroup, type TextInputGroupProps, TextInputLabel, type TextInputLabelProps, type TextInputProps, type TextProps, ToastContainer, VStack, type VStackProps, cva, cx, getStyles, useModalStore };
|
591
|
+
export { Accordion, type AccordionProps, Avatar, type AvatarProps, Box, type BoxProps, Button, type ButtonProps, ButtonSize, ButtonVariant, Chip, type ChipProps, Dropdown, DropdownItem, DropdownItemPressable, type DropdownItemProps, DropdownItems, type DropdownItemsProps, type DropdownProps, DropdownTrigger, ForegroundColor, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, IconName, type IconProps, Image, type ImageProps, Modal, ModalDismiss, ModalHeader, type ModalProps, Overflow, Popover, PopoverAnchor, PopoverArrow, PopoverDescription, PopoverDisclosure, PopoverDisclosureArrow, PopoverDismiss, PopoverHeading, type PopoverHeadingProps, PopoverProvider, Pressable, type PressableProps, Spinner, type SpinnerProps, Tab, TabList, TabPanel, type TabProps, Tabs, Text, TextInput, TextInputGroup, type TextInputGroupProps, TextInputLabel, type TextInputLabelProps, type TextInputProps, type TextProps, ToastContainer, UniversalAvatarProps, UniversalBoxProps, UniversalButtonProps, UniversalIconButtonProps, UniversalIconProps, UniversalImageProps, UniversalPressableProps, UniversalStackProps, UniversalTextInputProps, UniversalTextProps, VStack, type VStackProps, cva, cx, getStyles, useModalStore };
|
package/dist/index.d.ts
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
|
-
import { UniversalAvatarProps, UniversalBoxProps, UniversalPressableProps, UniversalButtonProps, IconName, Overflow, UniversalTextProps, ButtonVariant, ButtonSize, UniversalStackProps, UniversalIconProps, UniversalIconButtonProps, ForegroundColor, UniversalImageProps, UniversalTextInputProps } from '
|
3
|
-
export
|
2
|
+
import { j as UniversalAvatarProps, k as UniversalBoxProps, l as UniversalPressableProps, m as UniversalButtonProps, I as IconName, O as Overflow, n as UniversalTextProps, o as ButtonVariant, p as ButtonSize, q as UniversalStackProps, r as UniversalIconProps, s as UniversalIconButtonProps, t as ForegroundColor, u as UniversalImageProps, v as UniversalTextInputProps } from './types-hirL9Qk5.js';
|
3
|
+
export { A as AlwaysPalette, x as AlwaysPaletteAlias, y as Animation, z as AriaAttribute, D as AspectRatioAlias, G as AspectRatioConfig, J as AvatarSizeAlias, K as AvatarSizeConfig, M as BackgroundColor, d as BackgroundPalette, N as BackgroundPaletteAlias, Q as BackgroundStyleProps, e as BackgroundWashPalette, R as BackgroundWashPaletteAlias, T as BorderStyleProps, V as BorderWidthAlias, B as BorderWidthConfig, W as BoxShadowConfig, C as ColorMode, X as ColorModeForApp, a as ColorsConfig, c as CorePalette, Y as CorePaletteAlias, Z as DataAttribute, h as ElevationAlias, E as ElevationConfig, _ as ElevationPaletteAlias, $ as FlexStyleProps, a0 as FontFamilyConfig, a1 as FontFamilyGlobalAlias, i as FontFamilyGlobalConfig, a2 as FontSizeConfig, f as FontWeightConfig, a3 as FontWeightDescriptiveAlias, g as FontWeightNumericAlias, F as ForegroundPalette, a4 as ForegroundPaletteAlias, a5 as HighContrastMode, H as Hue, b as HueStep, a6 as IconSizeAlias, a7 as IconSizeConfig, a8 as LayoutStyleProps, a9 as LetterSpacingAlias, aa as LineClampAlias, ab as LineColor, ac as LineHeightConfig, L as LinePalette, ad as LinePaletteAlias, ae as Modes, af as OpacityAlias, ag as OpacityStyleProps, ah as Palette, ai as PaletteConfig, aj as PaletteType, P as PaletteValue, ak as PlatformMode, al as RegionMode, am as ScaleConfig, S as ScaleMode, an as ScaleModeConfig, ao as ScaleModeForApp, ap as ShapeAlias, aq as ShapeConfig, ar as SizingStyleProps, as as SpacingAlias, at as SpacingConfig, au as SpacingStyleProps, av as SpectrumColor, aw as SpectrumConfig, ax as StateStyleProps, ay as StyleProps, az as TextConfig, aA as TextStyleProps, aB as TextTransformAlias, aC as TextTransformConfig, aD as TextVariant, aE as TransitionDelay, aF as TransitionDuration, aG as TransitionTiming, U as UniversalTokensConfig, aH as ZIndexAlias, aI as ZIndexConfig, w as alwaysPalette } from './types-hirL9Qk5.js';
|
4
4
|
import * as react from 'react';
|
5
|
-
import react__default, { PropsWithChildren
|
5
|
+
import react__default, { PropsWithChildren } from 'react';
|
6
6
|
import * as _ariakit_react from '@ariakit/react';
|
7
7
|
import { PopoverProps, PopoverProviderProps, DialogProps, useDialogStore, DialogStore, DialogDismiss, Popover as Popover$1, PopoverArrow as PopoverArrow$1, PopoverAnchor as PopoverAnchor$1, PopoverDescription as PopoverDescription$1, PopoverDismiss as PopoverDismiss$1, PopoverProvider as PopoverProvider$1, PopoverDisclosure as PopoverDisclosure$1, PopoverDisclosureArrow as PopoverDisclosureArrow$1, TabProviderProps, TabListProps, TabPanelProps } from '@ariakit/react';
|
8
8
|
export { DialogStore as ModalStore, TabListProps, TabPanelProps, TabProviderProps as TabsProps, usePopoverStore } from '@ariakit/react';
|
9
9
|
import { ToastContainerProps } from 'react-toastify';
|
10
10
|
export { toast } from 'react-toastify';
|
11
|
+
import { C as CX, a as CVA } from './types-J4DLS6Xj.js';
|
12
|
+
export { S as SetState } from './types-J4DLS6Xj.js';
|
13
|
+
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-9kYJrUPa.js';
|
14
|
+
export { AVATAR_SIZE_PREFIX, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, ICON_SIZE_PREFIX, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, SHAPE_PREFIX, SMALL_SCALE_MODE_CLASSNAME, SPACING_PREFIX, SPECTRUM_COLOR_PREFIX, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, entries, getColorModeClassName, getScaleModeClassName } from './tokens/index.js';
|
11
15
|
|
12
16
|
interface AccordionProps extends React.PropsWithChildren {
|
13
17
|
label: string;
|
@@ -494,86 +498,53 @@ type VStackProps = UniversalStackProps & DivProps$1;
|
|
494
498
|
*/
|
495
499
|
declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps$1 & react.RefAttributes<HTMLDivElement>>;
|
496
500
|
|
497
|
-
type StringToBoolean<T> = T extends 'true' | 'false' ? boolean : T;
|
498
|
-
type CvaStyleValue<T> = T | CvaStyleArray<T> | Record<string, unknown> | null | boolean | undefined;
|
499
|
-
type CvaStyleArray<T> = CvaStyleValue<T>[];
|
500
|
-
type CVAVariantSchema<T, V extends CVAVariantShape<T>> = {
|
501
|
-
[Variant in keyof V]?: StringToBoolean<keyof V[Variant]> | undefined;
|
502
|
-
};
|
503
|
-
type CVAVariantShape<T> = Record<string, Record<string, T>>;
|
504
|
-
type CVAStyleProp<T> = T extends string ? {
|
505
|
-
className?: T;
|
506
|
-
} : {
|
507
|
-
style?: T;
|
508
|
-
};
|
509
|
-
type CVAConfigBase<T> = {
|
510
|
-
base?: T | null;
|
511
|
-
};
|
512
|
-
interface CVA<T> {
|
513
|
-
<V extends CVAVariantShape<T>>(config: V extends CVAVariantShape<T> ? CVAConfigBase<T> & {
|
514
|
-
base?: T;
|
515
|
-
variants?: V;
|
516
|
-
compoundVariants?: (V extends CVAVariantShape<T> ? (CVAVariantSchema<T, V> | {
|
517
|
-
[Variant in keyof V]?: StringToBoolean<keyof V[Variant]> | undefined;
|
518
|
-
}) & CVAStyleProp<T> : CVAStyleProp<T>)[];
|
519
|
-
defaultVariants?: CVAVariantSchema<T, V>;
|
520
|
-
} : CVAConfigBase<T> & {
|
521
|
-
variants?: never;
|
522
|
-
compoundVariants?: never;
|
523
|
-
defaultVariants?: never;
|
524
|
-
}): (props?: V extends CVAVariantShape<T> ? CVAVariantSchema<T, V> & CVAStyleProp<T> : CVAStyleProp<T>) => T;
|
525
|
-
}
|
526
|
-
interface CX<T> {
|
527
|
-
(...inputs: CvaStyleValue<T>[]): T;
|
528
|
-
}
|
529
|
-
|
530
501
|
declare const cx: CX<string>;
|
531
502
|
declare const cva: CVA<string>;
|
532
503
|
declare const getStyles: (props?: ({
|
533
|
-
color?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" |
|
534
|
-
colorChecked?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" |
|
535
|
-
fontFamily?: "
|
504
|
+
color?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" | undefined;
|
505
|
+
colorChecked?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" | undefined;
|
506
|
+
fontFamily?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "icons" | "sans" | "sans-beta" | "sans-condensed" | "serif-text" | "serif-display" | "display2" | undefined;
|
536
507
|
fontSize?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "display2" | undefined;
|
537
|
-
fontWeight?: "bold" | "black" | "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "
|
508
|
+
fontWeight?: "bold" | "black" | "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "thin" | "extralight" | "light" | "regular" | "medium" | "semibold" | "extrabold" | "display2" | undefined;
|
538
509
|
lineHeight?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "display2" | undefined;
|
539
|
-
textAlign?: "
|
540
|
-
textTransform?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "
|
541
|
-
spacing?: "
|
542
|
-
spacingHorizontal?: "
|
543
|
-
spacingVertical?: "
|
544
|
-
spacingBottom?: "
|
545
|
-
spacingEnd?: "
|
546
|
-
spacingStart?: "
|
547
|
-
spacingTop?: "
|
548
|
-
offset?: "
|
549
|
-
offsetVertical?: "
|
550
|
-
offsetHorizontal?: "
|
551
|
-
offsetBottom?: "
|
552
|
-
offsetEnd?: "
|
553
|
-
offsetStart?: "
|
554
|
-
offsetTop?: "
|
555
|
-
columnGap?: "
|
556
|
-
rowGap?: "
|
557
|
-
backgroundColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "
|
558
|
-
backgroundColorOnActive?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "
|
559
|
-
backgroundColorOnHover?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "
|
560
|
-
backgroundColorOnChecked?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "
|
510
|
+
textAlign?: "center" | "justify" | "start" | "end" | undefined;
|
511
|
+
textTransform?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "none" | "uppercase" | "lowercase" | "capitalize" | "display2" | undefined;
|
512
|
+
spacing?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
513
|
+
spacingHorizontal?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
514
|
+
spacingVertical?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
515
|
+
spacingBottom?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
516
|
+
spacingEnd?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
517
|
+
spacingStart?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
518
|
+
spacingTop?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
519
|
+
offset?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
520
|
+
offsetVertical?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
521
|
+
offsetHorizontal?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
522
|
+
offsetBottom?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
523
|
+
offsetEnd?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
524
|
+
offsetStart?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
525
|
+
offsetTop?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
526
|
+
columnGap?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
527
|
+
rowGap?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
528
|
+
backgroundColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
|
529
|
+
backgroundColorOnActive?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
|
530
|
+
backgroundColorOnHover?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
|
531
|
+
backgroundColorOnChecked?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
|
561
532
|
elevation?: "1" | "2" | "3" | undefined;
|
562
|
-
opacity?: "0" | "5" | "10" | "
|
563
|
-
borderColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
564
|
-
borderColorOnActive?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
565
|
-
borderColorOnFocus?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
566
|
-
borderColorOnHover?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
567
|
-
borderColorOnChecked?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
568
|
-
borderStartColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
569
|
-
borderEndColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
570
|
-
borderBottomColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
571
|
-
borderTopColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" |
|
572
|
-
borderRadius?: "
|
573
|
-
borderTopStartRadius?: "
|
574
|
-
borderTopEndRadius?: "
|
575
|
-
borderBottomStartRadius?: "
|
576
|
-
borderBottomEndRadius?: "
|
533
|
+
opacity?: "0" | "5" | "10" | "100" | "20" | "30" | "40" | "50" | "25" | "60" | "70" | "75" | "80" | "90" | "95" | undefined;
|
534
|
+
borderColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
535
|
+
borderColorOnActive?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
536
|
+
borderColorOnFocus?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
537
|
+
borderColorOnHover?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
538
|
+
borderColorOnChecked?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
539
|
+
borderStartColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
540
|
+
borderEndColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
541
|
+
borderBottomColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
542
|
+
borderTopColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
543
|
+
borderRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
544
|
+
borderTopStartRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
545
|
+
borderTopEndRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
546
|
+
borderBottomStartRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
547
|
+
borderBottomEndRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
577
548
|
bordered?: boolean | undefined;
|
578
549
|
borderWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
|
579
550
|
borderVerticalWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
|
@@ -588,35 +559,33 @@ declare const getStyles: (props?: ({
|
|
588
559
|
borderedHorizontal?: boolean | undefined;
|
589
560
|
borderedEnd?: boolean | undefined;
|
590
561
|
borderedStart?: boolean | undefined;
|
591
|
-
height?: "auto" | "
|
562
|
+
height?: "auto" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "full" | "screen" | "min" | "max" | "fit" | undefined;
|
592
563
|
minHeight?: "full" | "screen" | "min" | "max" | "fit" | undefined;
|
593
564
|
maxHeight?: "none" | "full" | "screen" | "min" | "max" | "fit" | undefined;
|
594
|
-
width?: "auto" | "
|
565
|
+
width?: "auto" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "full" | "screen" | "min" | "max" | "fit" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | undefined;
|
595
566
|
minWidth?: "full" | "screen" | "min" | "max" | "fit" | undefined;
|
596
567
|
maxWidth?: "none" | "full" | "min" | "max" | "fit" | undefined;
|
597
|
-
avatarSize?: "
|
598
|
-
iconSize?: "
|
599
|
-
alignContent?: "
|
600
|
-
alignItems?: "
|
601
|
-
alignSelf?: "
|
568
|
+
avatarSize?: "s" | "m" | "l" | undefined;
|
569
|
+
iconSize?: "s" | "m" | "l" | undefined;
|
570
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | undefined;
|
571
|
+
alignItems?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
|
572
|
+
alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
|
602
573
|
flex?: "1" | "none" | "auto" | "initial" | undefined;
|
603
574
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
604
575
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
605
576
|
flexShrink?: "0" | "1" | undefined;
|
606
|
-
flexWrap?: "wrap" | "
|
607
|
-
justifyContent?: "
|
577
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
578
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
|
608
579
|
flexBasis?: "min-content" | undefined;
|
609
|
-
display?: "
|
580
|
+
display?: "grid" | "block" | "inline-block" | "inline" | "flex" | "inline-flex" | "table" | "inline-table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row-group" | "table-row" | "flow-root" | "contents" | undefined;
|
610
581
|
overflow?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
|
611
582
|
overflowX?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
|
612
583
|
overflowY?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
|
613
|
-
position?: "
|
614
|
-
zIndex?: "0" | "10" | "
|
615
|
-
contentFit?: "
|
584
|
+
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
585
|
+
zIndex?: "0" | "10" | "auto" | "20" | "30" | "40" | "50" | undefined;
|
586
|
+
contentFit?: "none" | "cover" | "contain" | "fill" | "scale-down" | undefined;
|
616
587
|
} & {
|
617
588
|
className?: string | undefined;
|
618
589
|
}) | undefined) => string;
|
619
590
|
|
620
|
-
type
|
621
|
-
|
622
|
-
export { Accordion, type AccordionProps, Avatar, type AvatarProps, Box, type BoxProps, Button, type ButtonProps, Chip, type ChipProps, Dropdown, DropdownItem, DropdownItemPressable, type DropdownItemProps, DropdownItems, type DropdownItemsProps, type DropdownProps, DropdownTrigger, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, type IconProps, Image, type ImageProps, Modal, ModalDismiss, ModalHeader, type ModalProps, Popover, PopoverAnchor, PopoverArrow, PopoverDescription, PopoverDisclosure, PopoverDisclosureArrow, PopoverDismiss, PopoverHeading, type PopoverHeadingProps, PopoverProvider, Pressable, type PressableProps, type SetState, Spinner, type SpinnerProps, Tab, TabList, TabPanel, type TabProps, Tabs, Text, TextInput, TextInputGroup, type TextInputGroupProps, TextInputLabel, type TextInputLabelProps, type TextInputProps, type TextProps, ToastContainer, VStack, type VStackProps, cva, cx, getStyles, useModalStore };
|
591
|
+
export { Accordion, type AccordionProps, Avatar, type AvatarProps, Box, type BoxProps, Button, type ButtonProps, ButtonSize, ButtonVariant, Chip, type ChipProps, Dropdown, DropdownItem, DropdownItemPressable, type DropdownItemProps, DropdownItems, type DropdownItemsProps, type DropdownProps, DropdownTrigger, ForegroundColor, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, IconName, type IconProps, Image, type ImageProps, Modal, ModalDismiss, ModalHeader, type ModalProps, Overflow, Popover, PopoverAnchor, PopoverArrow, PopoverDescription, PopoverDisclosure, PopoverDisclosureArrow, PopoverDismiss, PopoverHeading, type PopoverHeadingProps, PopoverProvider, Pressable, type PressableProps, Spinner, type SpinnerProps, Tab, TabList, TabPanel, type TabProps, Tabs, Text, TextInput, TextInputGroup, type TextInputGroupProps, TextInputLabel, type TextInputLabelProps, type TextInputProps, type TextProps, ToastContainer, UniversalAvatarProps, UniversalBoxProps, UniversalButtonProps, UniversalIconButtonProps, UniversalIconProps, UniversalImageProps, UniversalPressableProps, UniversalStackProps, UniversalTextInputProps, UniversalTextProps, VStack, type VStackProps, cva, cx, getStyles, useModalStore };
|