@yahoo/uds 0.1.10 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/chunk-3I3D5S54.js +1 -0
- package/dist/chunk-74YHFBTD.js +1 -0
- package/dist/chunk-7FQGDIJ2.js +1 -0
- package/dist/chunk-JKZI2WLD.js +1 -0
- package/dist/chunk-M346JMQS.js +0 -0
- package/dist/chunk-WYDHNV42.js +1 -0
- package/dist/chunk-Z34QGHWU.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 +59 -57
- package/dist/index.d.ts +59 -57
- package/dist/index.js +1 -1
- package/dist/index.native-DzfcCYUh.d.ts +15 -0
- package/dist/index.native-VVqy3X9H.d.cts +15 -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-VgTlNoi_.d.cts +509 -0
- package/dist/types-VgTlNoi_.d.ts +509 -0
- package/package.json +49 -31
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
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-VgTlNoi_.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-VgTlNoi_.js';
|
4
4
|
import * as react from 'react';
|
5
5
|
import react__default, { PropsWithChildren, Dispatch, SetStateAction } from 'react';
|
6
6
|
import * as _ariakit_react from '@ariakit/react';
|
@@ -8,6 +8,8 @@ import { PopoverProps, PopoverProviderProps, DialogProps, useDialogStore, Dialog
|
|
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
|
+
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-DzfcCYUh.js';
|
12
|
+
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
13
|
|
12
14
|
interface AccordionProps extends React.PropsWithChildren {
|
13
15
|
label: string;
|
@@ -530,50 +532,50 @@ interface CX<T> {
|
|
530
532
|
declare const cx: CX<string>;
|
531
533
|
declare const cva: CVA<string>;
|
532
534
|
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?: "
|
535
|
+
color?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" | undefined;
|
536
|
+
colorChecked?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" | undefined;
|
537
|
+
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
538
|
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" | "
|
539
|
+
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
540
|
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" | "
|
541
|
+
textAlign?: "center" | "justify" | "start" | "end" | undefined;
|
542
|
+
textTransform?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "none" | "uppercase" | "lowercase" | "capitalize" | "display2" | undefined;
|
543
|
+
spacing?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
544
|
+
spacingHorizontal?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
545
|
+
spacingVertical?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
546
|
+
spacingBottom?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
547
|
+
spacingEnd?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
548
|
+
spacingStart?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
549
|
+
spacingTop?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
550
|
+
offset?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
551
|
+
offsetVertical?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
552
|
+
offsetHorizontal?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
553
|
+
offsetBottom?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
554
|
+
offsetEnd?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
555
|
+
offsetStart?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
556
|
+
offsetTop?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
557
|
+
columnGap?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
558
|
+
rowGap?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "13" | "14" | undefined;
|
559
|
+
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;
|
560
|
+
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;
|
561
|
+
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;
|
562
|
+
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
563
|
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?: "
|
564
|
+
opacity?: "0" | "5" | "10" | "100" | "20" | "30" | "40" | "50" | "25" | "60" | "70" | "75" | "80" | "90" | "95" | undefined;
|
565
|
+
borderColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
566
|
+
borderColorOnActive?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
567
|
+
borderColorOnFocus?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
568
|
+
borderColorOnHover?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
569
|
+
borderColorOnChecked?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
570
|
+
borderStartColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
571
|
+
borderEndColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
572
|
+
borderBottomColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
573
|
+
borderTopColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
|
574
|
+
borderRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
575
|
+
borderTopStartRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
576
|
+
borderTopEndRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
577
|
+
borderBottomStartRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
578
|
+
borderBottomEndRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
|
577
579
|
bordered?: boolean | undefined;
|
578
580
|
borderWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
|
579
581
|
borderVerticalWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
|
@@ -588,35 +590,35 @@ declare const getStyles: (props?: ({
|
|
588
590
|
borderedHorizontal?: boolean | undefined;
|
589
591
|
borderedEnd?: boolean | undefined;
|
590
592
|
borderedStart?: boolean | undefined;
|
591
|
-
height?: "auto" | "
|
593
|
+
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
594
|
minHeight?: "full" | "screen" | "min" | "max" | "fit" | undefined;
|
593
595
|
maxHeight?: "none" | "full" | "screen" | "min" | "max" | "fit" | undefined;
|
594
|
-
width?: "auto" | "
|
596
|
+
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
597
|
minWidth?: "full" | "screen" | "min" | "max" | "fit" | undefined;
|
596
598
|
maxWidth?: "none" | "full" | "min" | "max" | "fit" | undefined;
|
597
|
-
avatarSize?: "
|
598
|
-
iconSize?: "
|
599
|
-
alignContent?: "
|
600
|
-
alignItems?: "
|
601
|
-
alignSelf?: "
|
599
|
+
avatarSize?: "s" | "m" | "l" | undefined;
|
600
|
+
iconSize?: "s" | "m" | "l" | undefined;
|
601
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | undefined;
|
602
|
+
alignItems?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
|
603
|
+
alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
|
602
604
|
flex?: "1" | "none" | "auto" | "initial" | undefined;
|
603
605
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
604
606
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
605
607
|
flexShrink?: "0" | "1" | undefined;
|
606
|
-
flexWrap?: "wrap" | "
|
607
|
-
justifyContent?: "
|
608
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
609
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
|
608
610
|
flexBasis?: "min-content" | undefined;
|
609
|
-
display?: "
|
611
|
+
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
612
|
overflow?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
|
611
613
|
overflowX?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
|
612
614
|
overflowY?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
|
613
|
-
position?: "
|
614
|
-
zIndex?: "0" | "10" | "
|
615
|
-
contentFit?: "
|
615
|
+
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
616
|
+
zIndex?: "0" | "10" | "auto" | "20" | "30" | "40" | "50" | undefined;
|
617
|
+
contentFit?: "none" | "cover" | "contain" | "fill" | "scale-down" | undefined;
|
616
618
|
} & {
|
617
619
|
className?: string | undefined;
|
618
620
|
}) | undefined) => string;
|
619
621
|
|
620
622
|
type SetState<T> = Dispatch<SetStateAction<T>>;
|
621
623
|
|
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 };
|
624
|
+
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, type SetState, 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.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import{forwardRef as Or}from"react";import{backgroundColors as Hr,borderWidths as Br,elevations as Rr,foregroundColors as zr,lineColors as Nr,shapes as Ar,textVariants as nr}from"@yahoo/uds-fixtures";import Mr from"clsx";import{extendTailwindMerge as Vr}from"tailwind-merge";function je(r){return typeof r=="boolean"?`${r}`:r===0?"0":r}var Lr=Vr({cacheSize:0,override:{classGroups:{"text-color":[{text:zr}],"border-color":[{border:Nr}],"border-w":[{border:Br}],"bg-color":[{bg:Hr}],rounded:[{rounded:Ar}],"font-family":[{font:["icons",...nr]}],leading:[{leading:nr}],shadow:[{shadow:Rr}]},conflictingClassGroups:{}}}),g=(...r)=>{let e=Mr(r);return Lr(e)},sr=r=>e=>{if(!r?.variants)return g(r?.base,e?.className);let{variants:o,defaultVariants:t}=r,n=Object.keys(o).map(s=>{let i=e?.[s],c=t?.[s],d=je(i)||je(c);return o[s][d]}),a={...t,...e&&Object.entries(e).reduce((s,[i,c])=>typeof c>"u"?s:{...s,[i]:c},{})},p=r?.compoundVariants?.reduce((s,{className:i,...c})=>Object.entries(c).every(([d,m])=>a[d]===m)?g(s,i):s,"");return g(r?.base,n,p,e?.className)},l=sr({variants:{color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary"},colorChecked:{accent:"data-[state=checked]:text-accent",alert:"data-[state=checked]:text-alert",black:"data-[state=checked]:text-black",brand:"data-[state=checked]:text-brand",positive:"data-[state=checked]:text-positive",warning:"data-[state=checked]:text-warning",white:"data-[state=checked]:text-white",transparent:"data-[state=checked]:text-transparent",primary:"data-[state=checked]:text-primary",secondary:"data-[state=checked]:text-secondary",muted:"data-[state=checked]:text-muted","on-color":"data-[state=checked]:text-on-color",tertiary:"data-[state=checked]:text-tertiary"},fontFamily:{icons:"font-icons",sans:"font-sans","sans-beta":"font-sans-beta","sans-condensed":"font-sans-condensed","serif-text":"font-serif-text","serif-display":"font-serif-display",display1:"font-display1",display2:"font-display2",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",1:"p-1",2:"p-2",3:"p-3",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",13:"p-13",14:"p-14"},spacingHorizontal:{0:"px-0",1:"px-1",2:"px-2",3:"px-3",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",13:"px-13",14:"px-14"},spacingVertical:{0:"py-0",1:"py-1",2:"py-2",3:"py-3",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",13:"py-13",14:"py-14"},spacingBottom:{0:"pb-0",1:"pb-1",2:"pb-2",3:"pb-3",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",13:"pb-13",14:"pb-14"},spacingEnd:{0:"pe-0",1:"pe-1",2:"pe-2",3:"pe-3",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",13:"pe-13",14:"pe-14"},spacingStart:{0:"ps-0",1:"ps-1",2:"ps-2",3:"ps-3",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",13:"ps-13",14:"ps-14"},spacingTop:{0:"pt-0",1:"pt-1",2:"pt-2",3:"pt-3",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",13:"pt-13",14:"pt-14"},offset:{0:"-m-0",1:"-m-1",2:"-m-2",3:"-m-3",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",13:"-m-13",14:"-m-14"},offsetVertical:{0:"-my-0",1:"-my-1",2:"-my-2",3:"-my-3",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",13:"-my-13",14:"-my-14"},offsetHorizontal:{0:"-mx-0",1:"-mx-1",2:"-mx-2",3:"-mx-3",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",13:"-mx-13",14:"-mx-14"},offsetBottom:{0:"-mb-0",1:"-mb-1",2:"-mb-2",3:"-mb-3",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",13:"-mb-13",14:"-mb-14"},offsetEnd:{0:"-me-0",1:"-me-1",2:"-me-2",3:"-me-3",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",13:"-me-13",14:"-me-14"},offsetStart:{0:"-ms-0",1:"-ms-1",2:"-ms-2",3:"-ms-3",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",13:"-ms-13",14:"-ms-14"},offsetTop:{0:"-mt-0",1:"-mt-1",2:"-mt-2",3:"-mt-3",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",13:"-mt-13",14:"-mt-14"},columnGap:{0:"gap-x-0",1:"gap-x-1",2:"gap-x-2",3:"gap-x-3",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",13:"gap-x-13",14:"gap-x-14"},rowGap:{0:"gap-y-0",1:"gap-y-1",2:"gap-y-2",3:"gap-y-3",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",13:"gap-y-13",14:"gap-y-14"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white","accent-wash":"bg-accent-wash","alert-wash":"bg-alert-wash","brand-wash":"bg-brand-wash","elevation-1":"bg-elevation-1","elevation-2":"bg-elevation-2","elevation-3":"bg-elevation-3","elevation-3-inverse":"bg-elevation-3-inverse",overlay:"bg-overlay","positive-wash":"bg-positive-wash",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent","warning-wash":"bg-warning-wash"},backgroundColorOnActive:{accent:"active:bg-accent",alert:"active:bg-alert",black:"active:bg-black",brand:"active:bg-brand",positive:"active:bg-positive",warning:"active:bg-warning",white:"active:bg-white","accent-wash":"active:bg-accent-wash","alert-wash":"active:bg-alert-wash","brand-wash":"active:bg-brand-wash","elevation-1":"active:bg-elevation-1","elevation-2":"active:bg-elevation-2","elevation-3":"active:bg-elevation-3","elevation-3-inverse":"active:bg-elevation-3-inverse",overlay:"active:bg-overlay","positive-wash":"active:bg-positive-wash",primary:"active:bg-primary",secondary:"active:bg-secondary",transparent:"active:bg-transparent","warning-wash":"active:bg-warning-wash"},backgroundColorOnHover:{accent:"hover:bg-accent/80",alert:"hover:bg-alert/80",black:"hover:bg-black/80",brand:"hover:bg-brand/80",positive:"hover:bg-positive/80",warning:"hover:bg-warning/80",white:"hover:bg-white/80","accent-wash":"hover:bg-accent-wash/80","alert-wash":"hover:bg-alert-wash/80","brand-wash":"hover:bg-brand-wash/80","elevation-1":"hover:bg-elevation-1/80","elevation-2":"hover:bg-elevation-2/80","elevation-3":"hover:bg-elevation-3/80","elevation-3-inverse":"hover:bg-elevation-3-inverse/80",overlay:"hover:bg-overlay/80","positive-wash":"hover:bg-positive-wash/80",primary:"hover:bg-primary/80",secondary:"hover:bg-secondary/80",transparent:"hover:bg-transparent/80","warning-wash":"hover:bg-warning-wash/80"},backgroundColorOnChecked:{accent:"data-[state=checked]:bg-accent",alert:"data-[state=checked]:bg-alert",black:"data-[state=checked]:bg-black",brand:"data-[state=checked]:bg-brand",positive:"data-[state=checked]:bg-positive",warning:"data-[state=checked]:bg-warning",white:"data-[state=checked]:bg-white","accent-wash":"data-[state=checked]:bg-accent-wash","alert-wash":"data-[state=checked]:bg-alert-wash","brand-wash":"data-[state=checked]:bg-brand-wash","elevation-1":"data-[state=checked]:bg-elevation-1","elevation-2":"data-[state=checked]:bg-elevation-2","elevation-3":"data-[state=checked]:bg-elevation-3","elevation-3-inverse":"data-[state=checked]:bg-elevation-3-inverse",overlay:"data-[state=checked]:bg-overlay","positive-wash":"data-[state=checked]:bg-positive-wash",primary:"data-[state=checked]:bg-primary",secondary:"data-[state=checked]:bg-secondary",transparent:"data-[state=checked]:bg-transparent","warning-wash":"data-[state=checked]:bg-warning-wash"},elevation:{1:"bg-elevation-1 z-30 shadow-1",2:"bg-elevation-2 z-40 shadow-2",3:"bg-elevation-3 z-50 shadow-3"},opacity:{0:"opacity-0",5:"opacity-5",10:"opacity-10",20:"opacity-20",25:"opacity-25",30:"opacity-30",40:"opacity-40",50:"opacity-50",60:"opacity-60",70:"opacity-70",75:"opacity-75",80:"opacity-80",90:"opacity-90",95:"opacity-95",100:"opacity-100"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary"},borderColorOnActive:{accent:"active:border-accent",alert:"active:border-alert",black:"active:border-black",brand:"active:border-brand",positive:"active:border-positive",warning:"active:border-warning",white:"active:border-white",transparent:"active:border-transparent",muted:"active:border-muted",primary:"active:border-primary",secondary:"active:border-secondary",tertiary:"active:border-tertiary"},borderColorOnFocus:{accent:"focus:border-accent",alert:"focus:border-alert",black:"focus:border-black",brand:"focus:border-brand",positive:"focus:border-positive",warning:"focus:border-warning",white:"focus:border-white",transparent:"focus:border-transparent",muted:"focus:border-muted",primary:"focus:border-primary",secondary:"focus:border-secondary",tertiary:"focus:border-tertiary"},borderColorOnHover:{accent:"hover:border-accent",alert:"hover:border-alert",black:"hover:border-black",brand:"hover:border-brand",positive:"hover:border-positive",warning:"hover:border-warning",white:"hover:border-white",transparent:"hover:border-transparent",muted:"hover:border-muted",primary:"hover:border-primary",secondary:"hover:border-secondary",tertiary:"hover:border-tertiary"},borderColorOnChecked:{accent:"data-[state=checked]:border-accent",alert:"data-[state=checked]:border-alert",black:"data-[state=checked]:border-black",brand:"data-[state=checked]:border-brand",positive:"data-[state=checked]:border-positive",warning:"data-[state=checked]:border-warning",white:"data-[state=checked]:border-white",transparent:"data-[state=checked]:border-transparent",muted:"data-[state=checked]:border-muted",primary:"data-[state=checked]:border-primary",secondary:"data-[state=checked]:border-secondary",tertiary:"data-[state=checked]:border-tertiary"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary"},borderRadius:{square:"rounded-square",xs:"rounded-xs",s:"rounded-s",m:"rounded-m",l:"rounded-l",xl:"rounded-xl",xxl:"rounded-xxl",circle:"rounded-circle"},borderTopStartRadius:{square:"rounded-ss-square",xs:"rounded-ss-xs",s:"rounded-ss-s",m:"rounded-ss-m",l:"rounded-ss-l",xl:"rounded-ss-xl",xxl:"rounded-ss-xxl",circle:"rounded-ss-circle"},borderTopEndRadius:{square:"rounded-se-square",xs:"rounded-se-xs",s:"rounded-se-s",m:"rounded-se-m",l:"rounded-se-l",xl:"rounded-se-xl",xxl:"rounded-se-xxl",circle:"rounded-se-circle"},borderBottomStartRadius:{square:"rounded-es-square",xs:"rounded-es-xs",s:"rounded-es-s",m:"rounded-es-m",l:"rounded-es-l",xl:"rounded-es-xl",xxl:"rounded-es-xxl",circle:"rounded-es-circle"},borderBottomEndRadius:{square:"rounded-ee-square",xs:"rounded-ee-xs",s:"rounded-ee-s",m:"rounded-ee-m",l:"rounded-ee-l",xl:"rounded-ee-xl",xxl:"rounded-ee-xxl",circle:"rounded-ee-circle"},bordered:{true:"border-1 border-solid"},borderWidth:{0:"border-0",1:"border-1",2:"border-2",4:"border-4",8:"border-8"},borderVerticalWidth:{0:"border-y-0",1:"border-y-1",2:"border-y-2",4:"border-y-4",8:"border-y-8"},borderHorizontalWidth:{0:"border-x-0",1:"border-x-1",2:"border-x-2",4:"border-x-4",8:"border-x-8"},borderStartWidth:{0:"border-s-0",1:"border-s-1",2:"border-s-2",4:"border-s-4",8:"border-s-8"},borderEndWidth:{0:"border-e-0",1:"border-e-1",2:"border-e-2",4:"border-e-4",8:"border-e-8"},borderTopWidth:{0:"border-t-0",1:"border-t-1",2:"border-t-2",4:"border-t-4",8:"border-t-8"},borderBottomWidth:{0:"border-b-0",1:"border-b-1",2:"border-b-2",4:"border-b-4",8:"border-b-8"},borderedVertical:{true:"border-y-1"},borderedTop:{true:"border-t-1"},borderedBottom:{true:"border-b-1"},borderedHorizontal:{true:"border-x-1"},borderedEnd:{true:"border-e-1"},borderedStart:{true:"border-s-1"},height:{auto:"h-auto",full:"h-full",screen:"h-screen",min:"h-min",max:"h-max",fit:"h-fit","1/2":"h-1/2","1/3":"h-1/3","2/3":"h-2/3","1/4":"h-1/4","2/4":"h-2/4","3/4":"h-3/4","1/5":"h-1/5","2/5":"h-2/5","3/5":"h-3/5","4/5":"h-4/5","1/6":"h-1/6","2/6":"h-2/6","3/6":"h-3/6","4/6":"h-4/6","5/6":"h-5/6"},minHeight:{full:"min-h-full",min:"min-h-min",max:"min-h-max",fit:"min-h-fit",screen:"min-h-screen"},maxHeight:{full:"max-h-full",min:"max-h-min",max:"max-h-max",fit:"max-h-fit",screen:"max-h-screen",none:"max-h-none"},width:{auto:"w-auto",full:"w-full",screen:"w-screen",min:"w-min",max:"w-max",fit:"w-fit","1/2":"w-1/2","1/3":"w-1/3","2/3":"w-2/3","1/4":"w-1/4","2/4":"w-2/4","3/4":"w-3/4","1/5":"w-1/5","2/5":"w-2/5","3/5":"w-3/5","4/5":"w-4/5","1/6":"w-1/6","2/6":"w-2/6","3/6":"w-3/6","4/6":"w-4/6","5/6":"w-5/6","1/12":"w-1/12","2/12":"w-2/12","3/12":"w-3/12","4/12":"w-4/12","5/12":"w-5/12","6/12":"w-6/12","7/12":"w-7/12","8/12":"w-8/12","9/12":"w-9/12","10/12":"w-10/12","11/12":"w-11/12"},minWidth:{full:"min-w-full",min:"min-w-min",max:"min-w-max",fit:"min-w-fit",screen:"min-w-screen"},maxWidth:{none:"max-w-none",full:"max-w-full",min:"max-w-min",max:"max-w-max",fit:"max-w-fit"},avatarSize:{s:"avatarSize-s",m:"avatarSize-m",l:"avatarSize-l"},iconSize:{s:"iconSize-s leading-none",m:"iconSize-m leading-none",l:"iconSize-l leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},zIndex:{0:"z-0",10:"z-10",20:"z-20",30:"z-40",40:"z-30",50:"z-50",auto:"z-auto"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"}}});import{Children as Ve,cloneElement as lr,forwardRef as pr,isValidElement as We}from"react";function Er(r,e){typeof r=="function"?r(e):r!=null&&(r.current=e)}function ir(...r){return e=>r.forEach(o=>Er(o,e))}import{jsx as cr}from"react/jsx-runtime";function v(){let r=pr((a,p)=>{let{children:s,...i}=a,c=Ve.toArray(s),d=c.find(t);if(d){let m=d.props.children,u=c.map(h=>h===d?Ve.count(m)>1?Ve.only(null):We(m)?m.props.children:null:h);return cr(e,{...i,ref:p,children:We(m)?lr(m,void 0,u):null})}return cr(e,{...i,ref:p,children:s})});r.displayName="Slot";let e=pr((a,p)=>{let{children:s,...i}=a;return We(s)?lr(s,{...n(i,s.props),ref:p?ir(p,s.ref):s.ref}):Ve.count(s)>1?Ve.only(null):null});e.displayName="SlotClone";let o=({children:a})=>a;function t(a){return We(a)&&a.type===o}function n(a,p){let s={...p};for(let i in p){let c=a[i],d=p[i];/^on[A-Z]/.test(i)?c&&d?s[i]=(...u)=>{d(...u),c(...u)}:c&&(s[i]=c):i==="style"&&(s[i]={...c,...d})}return{...a,...s}}return r}import{jsx as Wr}from"react/jsx-runtime";var Ur=v(),f=Or(function({className:e,asChild:o=!1,size:t="l",color:n="primary",name:a,colorChecked:p,opacity:s,textAlign:i,backgroundColor:c,backgroundColorOnActive:d,backgroundColorOnHover:m,backgroundColorOnChecked:u,bordered:h,borderedTop:w,borderedBottom:P,borderedStart:k,borderedEnd:C,borderedHorizontal:T,borderedVertical:S,borderRadius:I,borderTopStartRadius:D,borderTopEndRadius:H,borderBottomStartRadius:B,borderBottomEndRadius:R,borderColor:z,borderColorOnActive:N,borderColorOnFocus:A,borderColorOnChecked:M,borderColorOnHover:V,borderStartColor:L,borderEndColor:E,borderTopColor:O,borderBottomColor:U,borderWidth:W,borderVerticalWidth:G,borderHorizontalWidth:q,borderStartWidth:F,borderEndWidth:j,borderTopWidth:X,borderBottomWidth:Z,alignContent:_,alignItems:$,alignSelf:J,flex:K,flexDirection:Y,flexGrow:Q,flexShrink:ee,flexWrap:re,justifyContent:oe,flexBasis:te,display:ae,zIndex:ne,overflow:se,overflowX:ie,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:be,spacingBottom:me,spacingEnd:fe,spacingStart:ue,spacingTop:ge,offset:ye,offsetVertical:he,offsetHorizontal:ve,offsetBottom:xe,offsetEnd:we,offsetStart:Pe,offsetTop:ke,columnGap:Ce,rowGap:Te,height:Se,minHeight:Ie,maxHeight:De,width:He,minWidth:Re,maxWidth:Ne,...Me},Ue){let qe=o?Ur:"span",Fe=l({iconSize:t,color:n,colorChecked:p,opacity:s,fontFamily:"icons",textAlign:i,backgroundColor:c,backgroundColorOnActive:d,backgroundColorOnHover:m,backgroundColorOnChecked:u,bordered:h,borderedTop:w,borderedBottom:P,borderedStart:k,borderedEnd:C,borderedHorizontal:T,borderedVertical:S,borderRadius:I,borderTopStartRadius:D,borderTopEndRadius:H,borderBottomStartRadius:B,borderBottomEndRadius:R,borderColor:z,borderColorOnActive:N,borderColorOnFocus:A,borderColorOnChecked:M,borderColorOnHover:V,borderStartColor:L,borderEndColor:E,borderTopColor:O,borderBottomColor:U,borderWidth:W,borderVerticalWidth:G,borderHorizontalWidth:q,borderStartWidth:F,borderEndWidth:j,borderTopWidth:X,borderBottomWidth:Z,alignContent:_,alignItems:$,alignSelf:J,flex:K,flexDirection:Y,flexGrow:Q,flexShrink:ee,flexWrap:re,justifyContent:oe,flexBasis:te,display:ae,zIndex:ne,overflow:se,overflowX:ie,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:be,spacingBottom:me,spacingEnd:fe,spacingStart:ue,spacingTop:ge,offset:ye,offsetVertical:he,offsetHorizontal:ve,offsetBottom:xe,offsetEnd:we,offsetStart:Pe,offsetTop:ke,columnGap:Ce,rowGap:Te,height:Se,minHeight:Ie,maxHeight:De,width:He,minWidth:Re,maxWidth:Ne,className:e});return Wr(qe,{className:Fe,ref:Ue,...Me,children:a})});import{forwardRef as Gr}from"react";import{jsx as Fr}from"react/jsx-runtime";var qr=v(),y=Gr(function({className:e,asChild:o,onPress:t,onClick:n=t,backgroundColor:a,backgroundColorOnActive:p,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:c,opacity:d,bordered:m,borderedTop:u,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:C,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:R,borderColorOnFocus:z,borderColorOnChecked:N,borderColorOnHover:A,borderStartColor:M,borderEndColor:V,borderTopColor:L,borderBottomColor:E,borderWidth:O,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:j,alignContent:X,alignItems:Z,alignSelf:_,flex:$,flexDirection:J,flexGrow:K,flexShrink:Y,flexWrap:Q,justifyContent:ee,flexBasis:re,display:oe,zIndex:te,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:le,spacingHorizontal:pe,spacingVertical:ce,spacingBottom:de,spacingEnd:be,spacingStart:me,spacingTop:fe,offset:ue,offsetVertical:ge,offsetHorizontal:ye,offsetBottom:he,offsetEnd:ve,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,height:Ce,minHeight:Te,maxHeight:Se,width:Ie,minWidth:De,maxWidth:He,...Re},Ne){let Me=l({backgroundColor:a,backgroundColorOnActive:p,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:c,opacity:d,bordered:m,borderedTop:u,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:C,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:R,borderColorOnFocus:z,borderColorOnChecked:N,borderColorOnHover:A,borderStartColor:M,borderEndColor:V,borderTopColor:L,borderBottomColor:E,borderWidth:O,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:j,alignContent:X,alignItems:Z,alignSelf:_,flex:$,flexDirection:J,flexGrow:K,flexShrink:Y,flexWrap:Q,justifyContent:ee,flexBasis:re,display:oe,zIndex:te,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:le,spacingHorizontal:pe,spacingVertical:ce,spacingBottom:de,spacingEnd:be,spacingStart:me,spacingTop:fe,offset:ue,offsetVertical:ge,offsetHorizontal:ye,offsetBottom:he,offsetEnd:ve,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,height:Ce,minHeight:Te,maxHeight:Se,width:Ie,minWidth:De,maxWidth:He,className:e});return Fr(o?qr:"button",{className:Me,ref:Ne,onClick:n,...Re})});import{forwardRef as jr}from"react";import{jsx as _r}from"react/jsx-runtime";var Xr=v(),Zr={display1:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},b=jr(function({className:e,asChild:o,color:t="primary",colorChecked:n,variant:a="body1",as:p=Zr[a],fontSize:s=a,fontFamily:i=a,fontWeight:c=a,lineHeight:d=a,textTransform:m=a,textAlign:u,backgroundColor:h,backgroundColorOnActive:w,backgroundColorOnHover:P,backgroundColorOnChecked:k,opacity:C,bordered:T,borderedTop:S,borderedBottom:I,borderedStart:D,borderedEnd:H,borderedHorizontal:B,borderedVertical:R,borderRadius:z,borderTopStartRadius:N,borderTopEndRadius:A,borderBottomStartRadius:M,borderBottomEndRadius:V,borderColor:L,borderColorOnActive:E,borderColorOnFocus:O,borderColorOnChecked:U,borderColorOnHover:W,borderStartColor:G,borderEndColor:q,borderTopColor:F,borderBottomColor:j,borderWidth:X,borderVerticalWidth:Z,borderHorizontalWidth:_,borderStartWidth:$,borderEndWidth:J,borderTopWidth:K,borderBottomWidth:Y,alignContent:Q,alignItems:ee,alignSelf:re,flex:oe,flexDirection:te,flexGrow:ae,flexShrink:ne,flexWrap:se,justifyContent:ie,flexBasis:le,display:pe,zIndex:ce,overflow:de,overflowX:be,overflowY:me,position:fe,spacing:ue,spacingHorizontal:ge,spacingVertical:ye,spacingBottom:he,spacingEnd:ve,spacingStart:xe,spacingTop:we,offset:Pe,offsetVertical:ke,offsetHorizontal:Ce,offsetBottom:Te,offsetEnd:Se,offsetStart:Ie,offsetTop:De,columnGap:He,rowGap:Re,height:Ne,minHeight:Me,maxHeight:Ue,width:qe,minWidth:Fe,maxWidth:Tr,...Sr},Ir){let Dr=l({className:e,color:t,colorChecked:n,fontFamily:i,fontSize:s,fontWeight:c,lineHeight:d,textTransform:m,textAlign:u,backgroundColor:h,backgroundColorOnActive:w,backgroundColorOnHover:P,backgroundColorOnChecked:k,opacity:C,bordered:T,borderedTop:S,borderedBottom:I,borderedStart:D,borderedEnd:H,borderedHorizontal:B,borderedVertical:R,borderRadius:z,borderTopStartRadius:N,borderTopEndRadius:A,borderBottomStartRadius:M,borderBottomEndRadius:V,borderColor:L,borderColorOnActive:E,borderColorOnFocus:O,borderColorOnChecked:U,borderColorOnHover:W,borderStartColor:G,borderEndColor:q,borderTopColor:F,borderBottomColor:j,borderWidth:X,borderVerticalWidth:Z,borderHorizontalWidth:_,borderStartWidth:$,borderEndWidth:J,borderTopWidth:K,borderBottomWidth:Y,alignContent:Q,alignItems:ee,alignSelf:re,flex:oe,flexDirection:te,flexGrow:ae,flexShrink:ne,flexWrap:se,justifyContent:ie,flexBasis:le,display:pe,zIndex:ce,overflow:de,overflowX:be,overflowY:me,position:fe,spacing:ue,spacingHorizontal:ge,spacingVertical:ye,spacingBottom:he,spacingEnd:ve,spacingStart:xe,spacingTop:we,offset:Pe,offsetVertical:ke,offsetHorizontal:Ce,offsetBottom:Te,offsetEnd:Se,offsetStart:Ie,offsetTop:De,columnGap:He,rowGap:Re,height:Ne,minHeight:Me,maxHeight:Ue,width:qe,minWidth:Fe,maxWidth:Tr});return _r(o?Xr:p,{className:Dr,ref:Ir,...Sr})});import{forwardRef as Yr}from"react";import{forwardRef as $r}from"react";import{jsx as Kr}from"react/jsx-runtime";var Jr=v(),Le=$r(function({asChild:e,className:o,elevation:t,backgroundColor:n=t?`elevation-${t}`:void 0,backgroundColorOnActive:a,backgroundColorOnHover:p,backgroundColorOnChecked:s,opacity:i,bordered:c,borderedTop:d,borderedBottom:m,borderedStart:u,borderedEnd:h,borderedHorizontal:w,borderedVertical:P,borderRadius:k,borderTopStartRadius:C,borderTopEndRadius:T,borderBottomStartRadius:S,borderBottomEndRadius:I,borderColor:D,borderColorOnActive:H,borderColorOnFocus:B,borderColorOnChecked:R,borderColorOnHover:z,borderStartColor:N,borderEndColor:A,borderTopColor:M,borderBottomColor:V,borderWidth:L,borderVerticalWidth:E,borderHorizontalWidth:O,borderStartWidth:U,borderEndWidth:W,borderTopWidth:G,borderBottomWidth:q,alignContent:F,alignItems:j,alignSelf:X,flex:Z,flexDirection:_,flexGrow:$,flexShrink:J,flexWrap:K,justifyContent:Y,flexBasis:Q,display:ee="flex",zIndex:re,overflow:oe,overflowX:te,overflowY:ae,position:ne,spacing:se,spacingHorizontal:ie,spacingVertical:le,spacingBottom:pe,spacingEnd:ce,spacingStart:de,spacingTop:be,offset:me,offsetVertical:fe,offsetHorizontal:ue,offsetBottom:ge,offsetEnd:ye,offsetStart:he,offsetTop:ve,columnGap:xe,rowGap:we,height:Pe,minHeight:ke,maxHeight:Ce,width:Te,minWidth:Se,maxWidth:Ie,...De},He){let Re=l({elevation:t,backgroundColor:n,backgroundColorOnActive:a,backgroundColorOnHover:p,backgroundColorOnChecked:s,opacity:i,bordered:c,borderedTop:d,borderedBottom:m,borderedStart:u,borderedEnd:h,borderedHorizontal:w,borderedVertical:P,borderRadius:k,borderTopStartRadius:C,borderTopEndRadius:T,borderBottomStartRadius:S,borderBottomEndRadius:I,borderColor:D,borderColorOnActive:H,borderColorOnFocus:B,borderColorOnChecked:R,borderColorOnHover:z,borderStartColor:N,borderEndColor:A,borderTopColor:M,borderBottomColor:V,borderWidth:L,borderVerticalWidth:E,borderHorizontalWidth:O,borderStartWidth:U,borderEndWidth:W,borderTopWidth:G,borderBottomWidth:q,alignContent:F,alignItems:j,alignSelf:X,flex:Z,flexDirection:_,flexGrow:$,flexShrink:J,flexWrap:K,justifyContent:Y,flexBasis:Q,display:ee,zIndex:re,overflow:oe,overflowX:te,overflowY:ae,position:ne,spacing:se,spacingHorizontal:ie,spacingVertical:le,spacingBottom:pe,spacingEnd:ce,spacingStart:de,spacingTop:be,offset:me,offsetVertical:fe,offsetHorizontal:ue,offsetBottom:ge,offsetEnd:ye,offsetStart:he,offsetTop:ve,columnGap:xe,rowGap:we,height:Pe,minHeight:ke,maxHeight:Ce,width:Te,minWidth:Se,maxWidth:Ie,className:o});return Kr(e?Jr:"div",{className:Re,ref:He,...De})});import{jsx as Qr}from"react/jsx-runtime";var x=Yr(function({gap:e,...o},t){return Qr(Le,{ref:t,flexDirection:"column",columnGap:e,rowGap:e,...o})});import{Fragment as ro,jsx as Xe,jsxs as dr}from"react/jsx-runtime";function eo({label:r,children:e,onClick:o,open:t}){return dr(ro,{children:[dr(y,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:"8",width:"full",onClick:o,children:[Xe(b,{variant:"title4",children:r}),Xe(f,{name:t?"chevronDown":"chevronUp",size:"s"})]}),Xe(x,{spacingHorizontal:"8",children:t&&e})]})}var br={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},Ze={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"circle",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",bordered:!0},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",bordered:!0},"accent-ghost":{color:"accent"},"accent-wash":{color:"accent",backgroundColor:"accent-wash",borderColor:"accent",bordered:!0},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",bordered:!0},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",bordered:!0},"brand-ghost":{color:"brand"},"brand-wash":{color:"brand",backgroundColor:"brand-wash",borderColor:"brand",bordered:!0},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",bordered:!0},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",bordered:!0},"positive-ghost":{color:"positive"},"positive-wash":{color:"positive",backgroundColor:"positive-wash",borderColor:"positive",bordered:!0},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",bordered:!0},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",bordered:!0},"alert-ghost":{color:"alert"},"alert-wash":{color:"alert",backgroundColor:"alert-wash",borderColor:"alert",bordered:!0},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",bordered:!0},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",bordered:!0},"warning-ghost":{color:"warning"},"warning-wash":{color:"warning",backgroundColor:"warning-wash",borderColor:"warning",bordered:!0},"primary-outline":{color:"primary",borderColor:"muted",bordered:!0},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function Ae({variant:r="accent",size:e="s"}){let{color:o,...t}=Ze.variant[r],{variant:n,...a}=Ze.size[e];return{pressable:{...Ze.base,...t,...a},text:{color:o,variant:n,textAlign:"center"},icon:{color:o,size:"s"}}}import{jsx as to}from"react/jsx-runtime";function oo({size:r,shape:e,src:o,alt:t,...n}){let a=l({...br,avatarSize:r,borderRadius:e});return to("img",{src:o,alt:t,className:a,...n})}import{forwardRef as ao}from"react";import{jsx as _e,jsxs as no}from"react/jsx-runtime";var $e=ao(function({variant:e="accent",size:o,startIcon:t,endIcon:n,children:a,...p},s){let i=Ae({variant:e,size:o}),c=t?_e(f,{name:t,...i.icon}):null,d=n?_e(f,{name:n,...i.icon}):null;return no(y,{...i.pressable,ref:s,...p,children:[c,_e(b,{...i.text,children:a}),d]})});import{jsx as Je,jsxs as lo}from"react/jsx-runtime";var mr={accent:"on-color",secondary:"primary"},so={accent:"on-color",secondary:"tertiary"};function io({children:r,variant:e,startIcon:o,startContent:t=o?Je(f,{name:o,size:"s",color:mr[e]}):null,endIcon:n,endContent:a=n?Je(f,{name:n,size:"s",color:mr[e]}):null}){return lo(y,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"circle",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[t,Je(b,{variant:"label2",color:so[e],children:r}),a]})}import{forwardRef as ur,useCallback as Io}from"react";import{Popover as bo,PopoverAnchor as mo,PopoverArrow as fo,PopoverDescription as uo,PopoverDisclosure as go,PopoverDisclosureArrow as yo,PopoverDismiss as ho,PopoverHeading as vo,PopoverProvider as xo,usePopoverStore as Ke}from"@ariakit/react";import{forwardRef as po}from"react";import{jsx as co}from"react/jsx-runtime";var Ee=po(function({gap:e,...o},t){return co(Le,{ref:t,flexDirection:"row",rowGap:e,columnGap:e,...o})});import{jsx as fr,jsxs as So}from"react/jsx-runtime";function wo({children:r,leading:e,trailing:o}){return So(Ee,{children:[e,fr(b,{variant:"headline1",asChild:!0,children:fr(vo,{children:r})}),o]})}var Ye=bo,Qe=fo,Po=mo,ko=uo,Co=ho,er=xo,rr=go,To=yo;import{jsx as Be,jsxs as or}from"react/jsx-runtime";var Do=ur(function({children:e,className:o,overflow:t="scroll",...n},a){return Be(x,{borderRadius:"l",elevation:"3",className:g("min-w-[220px] max-h-[312px]",o),overflow:t,spacingVertical:"4",asChild:!0,children:or(Ye,{preventBodyScroll:!0,...n,ref:a,children:[Be(Qe,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})}),gr=ur(function({children:e,onClick:o,...t},n){let a=Ke(),p=Io(s=>{s.preventDefault(),o?.(()=>a.setOpen(!1))},[o,a]);return Be(y,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:"hover:bg-gray-2",onClick:o?p:void 0,ref:n,...t,children:e})});function Ho({title:r,description:e,_title:o,_description:t,startIcon:n,endIcon:a,...p}){return or(gr,{...p,children:[n&&Be(f,{name:n,size:"s"}),or(x,{gap:"3",alignItems:"flex-start",children:[r&&Be(b,{variant:"headline1",...o,children:r}),e&&Be(b,{variant:"label2",color:"muted",...t,children:e})]}),a&&Be(f,{name:a,size:"s"})]})}function Bo({children:r,variant:e,size:o,...t}){let n=Ae({variant:e,size:o}),a=e?n.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return Be(y,{...a,...t,asChild:!0,children:Be(rr,{children:r})})}var Ro=er;import{forwardRef as zo}from"react";import{jsx as yr}from"react/jsx-runtime";var No={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},tr=zo(function({variant:e="accent",size:o="s",name:t,className:n,color:a,...p},s){let i=Ae({variant:e,size:o});return yr(y,{...i.pressable,spacingHorizontal:i.pressable.spacingVertical,ref:s,className:g("leading-[0px]",No[o],n),...p,children:yr(f,{name:t,...i.icon,color:a})})});import{jsx as Mo}from"react/jsx-runtime";function Ao({width:r,height:e,src:o,alt:t,contentFit:n="cover",elevation:a,backgroundColor:p=a?`elevation-${a}`:"primary",backgroundColorOnActive:s,backgroundColorOnHover:i,backgroundColorOnChecked:c,opacity:d,bordered:m,borderedTop:u,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:C,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:R,borderColorOnFocus:z,borderColorOnChecked:N,borderColorOnHover:A,borderStartColor:M,borderEndColor:V,borderTopColor:L,borderBottomColor:E,borderWidth:O,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:j,alignContent:X,alignItems:Z,alignSelf:_,flex:$,flexDirection:J,flexGrow:K,flexShrink:Y="0",flexWrap:Q,justifyContent:ee,flexBasis:re,display:oe="flex",zIndex:te,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:le,spacingHorizontal:pe,spacingVertical:ce,spacingBottom:de,spacingEnd:be,spacingStart:me,spacingTop:fe,offset:ue,offsetVertical:ge,offsetHorizontal:ye,offsetBottom:he,offsetEnd:ve,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,minHeight:Ce,maxHeight:Te,minWidth:Se,maxWidth:Ie,...De}){let He=l({contentFit:n,elevation:a,backgroundColor:p,backgroundColorOnActive:s,backgroundColorOnHover:i,backgroundColorOnChecked:c,opacity:d,bordered:m,borderedTop:u,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:C,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:R,borderColorOnFocus:z,borderColorOnChecked:N,borderColorOnHover:A,borderStartColor:M,borderEndColor:V,borderTopColor:L,borderBottomColor:E,borderWidth:O,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:j,alignContent:X,alignItems:Z,alignSelf:_,flex:$,flexDirection:J,flexGrow:K,flexShrink:Y,flexWrap:Q,justifyContent:ee,flexBasis:re,display:oe,zIndex:te,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:le,spacingHorizontal:pe,spacingVertical:ce,spacingBottom:de,spacingEnd:be,spacingStart:me,spacingTop:fe,offset:ue,offsetVertical:ge,offsetHorizontal:ye,offsetBottom:he,offsetEnd:ve,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,minHeight:Ce,maxHeight:Te,minWidth:Se,maxWidth:Ie});return Mo("img",{src:o,alt:t,className:He,style:{objectPosition:"left",width:r,height:e},...De})}import{Dialog as Vo,DialogDismiss as Lo,useDialogStore as Eo}from"@ariakit/react";import{jsx as Oe,jsxs as qo}from"react/jsx-runtime";function Oo(r){return Eo({animated:!0,...r})}function Uo({children:r,handleClose:e}){return qo(Ee,{alignItems:"center",justifyContent:"space-between",children:[Oe(b,{variant:"headline1",children:r}),Oe($e,{variant:"accent-ghost",size:"m",spacingEnd:"0",spacingVertical:"0",onClick:e,children:"close"})]})}function Wo({className:r,...e}){return Oe(x,{borderRadius:"m",elevation:"3",position:"fixed",height:"fit",zIndex:"50",className:g("top-[250px] w-[600px] inset-8 mx-auto origin-center scale-95 transition-all data-[enter]:opacity-100 duration-200 data-[enter]:scale-100",r),spacing:"8",asChild:!0,children:Oe(Vo,{backdrop:Oe("div",{className:"bg-overlay transition-opacity duration-200 data-[enter]:opacity-100"}),...e})})}var Go=Lo;import{jsx as ar,jsxs as hr}from"react/jsx-runtime";function Fo({className:r,...e}){return hr("div",{role:"status",className:`self-center ${r}`,...e,style:{width:8,maxWidth:8,height:8,maxHeight:8},children:[hr("svg",{"aria-hidden":"true",className:"w-8 h-8 text-gray-3 animate-spin fill-accent",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ar("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),ar("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),ar("span",{className:"sr-only",children:"Loading..."})]})}import{Tab as jo,TabList as Xo,TabPanel as Zo,TabProvider as _o,useTabContext as vr}from"@ariakit/react";import{forwardRef as xr}from"react";import{jsx as ze,jsxs as et}from"react/jsx-runtime";var $o=v();function Jo(r){return ze(_o,{...r})}var Ko=xr(function({className:e,...o},t){let n=l({display:"flex",flexDirection:"row",columnGap:"7",className:e});return ze(Xo,{ref:t,...o,className:n})}),Yo=function({asChild:e,label:o,value:t,startIcon:n}){let a=e?$o:"a",p=l({}),s=vr();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let i=s?.useState().activeId===t,c=i?"accent":"primary";return ze(jo,{id:t,className:p,render:ze(a,{children:et(y,{borderColor:i?"accent":"transparent",borderBottomWidth:"4",spacingVertical:"6",flexDirection:"row",columnGap:"8",children:[n?ze(f,{name:n,color:c,size:"m"}):null,ze(b,{color:c,variant:"headline1",children:o})]})})})},Qo=xr(function(e,o){let t=vr();if(!t)throw new Error("TabPanel must be wrapped in a Tabs component");let n=t.useState("selectedId");return ze(Zo,{ref:o,tabId:n,...e})});import{jsx as Ge,jsxs as kr}from"react/jsx-runtime";function wr({children:r,required:e}){return kr(b,{variant:"caption2",children:[r,e&&Ge(b,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}function Pr({className:r,disabled:e,...o}){return Ge("input",{type:"text","data-1p-ignore":!0,className:g(l({backgroundColor:e?"secondary":"primary",borderColor:"tertiary",bordered:!0,borderRadius:"m",spacingVertical:"5",spacingHorizontal:"6",className:"placeholder:text-tertiary font-sans",width:"full",fontSize:"body1",fontWeight:"body1",lineHeight:"body1",color:"primary"}),r),disabled:e,...o})}function rt({label:r,required:e,...o}){return kr(x,{gap:"4",width:"full",children:[Ge(wr,{required:e,children:r}),Ge(Pr,{required:e,...o})]})}import{Slide as ot,toast as tt,ToastContainer as at}from"react-toastify";import{jsx as Cr}from"react/jsx-runtime";var nt=l({elevation:"3",borderRadius:"m",spacingVertical:"6",spacingHorizontal:"5",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),st=l({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),it=l({backgroundColor:"positive"}),lt=l({backgroundColor:"alert"}),pt=l({backgroundColor:"accent"}),ct=l({backgroundColor:"warning"}),dt=l({backgroundColor:"elevation-3-inverse"}),bt=l({backgroundColor:"elevation-3-inverse"}),mt=l({backgroundColor:"positive-wash",color:"positive"}),ft=l({backgroundColor:"alert-wash",color:"alert"}),ut=l({backgroundColor:"accent-wash",color:"accent"}),gt=l({backgroundColor:"warning-wash",color:"warning"}),yt=l({backgroundColor:"elevation-3-inverse",color:"on-color"}),ht=l({backgroundColor:"elevation-3-inverse",color:"on-color"}),vt=r=>{let{type:e="default"}=r??{},o={success:mt,error:ft,info:ut,warning:gt,default:yt,dark:ht}[e];return g(nt,o)};function xt(r){let{type:e="default",defaultClassName:o=""}=r??{},t={success:it,error:lt,info:pt,warning:ct,default:dt,dark:bt}[e],n=o.replace(/Toastify__progress-bar-theme--light/,"");return g(n,t)}function wt({closeToast:r,type:e}){let o={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return Cr(tr,{name:"close",size:"s",variant:"accent-ghost",color:o,onClick:r})}function Pt(r){return Cr(at,{toastClassName:vt,bodyClassName:st,progressClassName:xt,transition:ot,closeButton:wt,...r})}export*from"@yahoo/uds-tokens";export{eo as Accordion,oo as Avatar,Le as Box,$e as Button,io as Chip,Ro as Dropdown,Ho as DropdownItem,gr as DropdownItemPressable,Do as DropdownItems,Bo as DropdownTrigger,Ee as HStack,f as Icon,tr as IconButton,Ao as Image,Wo as Modal,Go as ModalDismiss,Uo as ModalHeader,Ye as Popover,Po as PopoverAnchor,Qe as PopoverArrow,ko as PopoverDescription,rr as PopoverDisclosure,To as PopoverDisclosureArrow,Co as PopoverDismiss,wo as PopoverHeading,er as PopoverProvider,y as Pressable,Fo as Spinner,Yo as Tab,Ko as TabList,Qo as TabPanel,Jo as Tabs,b as Text,Pr as TextInput,rt as TextInputGroup,wr as TextInputLabel,Pt as ToastContainer,x as VStack,sr as cva,g as cx,l as getStyles,tt as toast,Oo as useModalStore,Ke as usePopoverStore};
|
1
|
+
import"./chunk-M346JMQS.js";import{a as Ct,b as It,c as aa,d as na,e as sa,f as ia,g as la,h as pa}from"./chunk-JKZI2WLD.js";import{A as ea,B as ra,C as oa,D as ta,a as Dt,b as Ht,c as Bt,d as Rt,e as zt,f as Nt,g as At,h as Mt,i as Vt,j as Lt,k as Et,l as Ot,m as Ut,n as Wt,o as Gt,p as qt,q as Ft,r as jt,s as Xt,t as Zt,u as _t,v as $t,w as Jt,x as Kt,y as Yt,z as Qt}from"./chunk-3I3D5S54.js";import{a as Tt,c as St}from"./chunk-7FQGDIJ2.js";import{a as ca}from"./chunk-74YHFBTD.js";import{forwardRef as Or}from"react";import{backgroundColors as Hr,borderWidths as Br,elevations as Rr,foregroundColors as zr,lineColors as Nr,shapes as Ar,textVariants as nr}from"@yahoo/uds/fixtures";import Mr from"clsx";import{extendTailwindMerge as Vr}from"tailwind-merge";function je(r){return typeof r=="boolean"?`${r}`:r===0?"0":r}var Lr=Vr({cacheSize:0,override:{classGroups:{"text-color":[{text:zr}],"border-color":[{border:Nr}],"border-w":[{border:Br}],"bg-color":[{bg:Hr}],rounded:[{rounded:Ar}],"font-family":[{font:["icons",...nr]}],leading:[{leading:nr}],shadow:[{shadow:Rr}]},conflictingClassGroups:{}}}),g=(...r)=>{let e=Mr(r);return Lr(e)},sr=r=>e=>{if(!r?.variants)return g(r?.base,e?.className);let{variants:o,defaultVariants:t}=r,n=Object.keys(o).map(s=>{let i=e?.[s],c=t?.[s],d=je(i)||je(c);return o[s][d]}),a={...t,...e&&Object.entries(e).reduce((s,[i,c])=>typeof c>"u"?s:{...s,[i]:c},{})},p=r?.compoundVariants?.reduce((s,{className:i,...c})=>Object.entries(c).every(([d,m])=>a[d]===m)?g(s,i):s,"");return g(r?.base,n,p,e?.className)},l=sr({variants:{color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary"},colorChecked:{accent:"data-[state=checked]:text-accent",alert:"data-[state=checked]:text-alert",black:"data-[state=checked]:text-black",brand:"data-[state=checked]:text-brand",positive:"data-[state=checked]:text-positive",warning:"data-[state=checked]:text-warning",white:"data-[state=checked]:text-white",transparent:"data-[state=checked]:text-transparent",primary:"data-[state=checked]:text-primary",secondary:"data-[state=checked]:text-secondary",muted:"data-[state=checked]:text-muted","on-color":"data-[state=checked]:text-on-color",tertiary:"data-[state=checked]:text-tertiary"},fontFamily:{icons:"font-icons",sans:"font-sans","sans-beta":"font-sans-beta","sans-condensed":"font-sans-condensed","serif-text":"font-serif-text","serif-display":"font-serif-display",display1:"font-display1",display2:"font-display2",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",1:"p-1",2:"p-2",3:"p-3",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",13:"p-13",14:"p-14"},spacingHorizontal:{0:"px-0",1:"px-1",2:"px-2",3:"px-3",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",13:"px-13",14:"px-14"},spacingVertical:{0:"py-0",1:"py-1",2:"py-2",3:"py-3",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",13:"py-13",14:"py-14"},spacingBottom:{0:"pb-0",1:"pb-1",2:"pb-2",3:"pb-3",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",13:"pb-13",14:"pb-14"},spacingEnd:{0:"pe-0",1:"pe-1",2:"pe-2",3:"pe-3",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",13:"pe-13",14:"pe-14"},spacingStart:{0:"ps-0",1:"ps-1",2:"ps-2",3:"ps-3",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",13:"ps-13",14:"ps-14"},spacingTop:{0:"pt-0",1:"pt-1",2:"pt-2",3:"pt-3",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",13:"pt-13",14:"pt-14"},offset:{0:"-m-0",1:"-m-1",2:"-m-2",3:"-m-3",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",13:"-m-13",14:"-m-14"},offsetVertical:{0:"-my-0",1:"-my-1",2:"-my-2",3:"-my-3",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",13:"-my-13",14:"-my-14"},offsetHorizontal:{0:"-mx-0",1:"-mx-1",2:"-mx-2",3:"-mx-3",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",13:"-mx-13",14:"-mx-14"},offsetBottom:{0:"-mb-0",1:"-mb-1",2:"-mb-2",3:"-mb-3",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",13:"-mb-13",14:"-mb-14"},offsetEnd:{0:"-me-0",1:"-me-1",2:"-me-2",3:"-me-3",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",13:"-me-13",14:"-me-14"},offsetStart:{0:"-ms-0",1:"-ms-1",2:"-ms-2",3:"-ms-3",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",13:"-ms-13",14:"-ms-14"},offsetTop:{0:"-mt-0",1:"-mt-1",2:"-mt-2",3:"-mt-3",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",13:"-mt-13",14:"-mt-14"},columnGap:{0:"gap-x-0",1:"gap-x-1",2:"gap-x-2",3:"gap-x-3",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",13:"gap-x-13",14:"gap-x-14"},rowGap:{0:"gap-y-0",1:"gap-y-1",2:"gap-y-2",3:"gap-y-3",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",13:"gap-y-13",14:"gap-y-14"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white","accent-wash":"bg-accent-wash","alert-wash":"bg-alert-wash","brand-wash":"bg-brand-wash","elevation-1":"bg-elevation-1","elevation-2":"bg-elevation-2","elevation-3":"bg-elevation-3","elevation-3-inverse":"bg-elevation-3-inverse",overlay:"bg-overlay","positive-wash":"bg-positive-wash",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent","warning-wash":"bg-warning-wash"},backgroundColorOnActive:{accent:"active:bg-accent",alert:"active:bg-alert",black:"active:bg-black",brand:"active:bg-brand",positive:"active:bg-positive",warning:"active:bg-warning",white:"active:bg-white","accent-wash":"active:bg-accent-wash","alert-wash":"active:bg-alert-wash","brand-wash":"active:bg-brand-wash","elevation-1":"active:bg-elevation-1","elevation-2":"active:bg-elevation-2","elevation-3":"active:bg-elevation-3","elevation-3-inverse":"active:bg-elevation-3-inverse",overlay:"active:bg-overlay","positive-wash":"active:bg-positive-wash",primary:"active:bg-primary",secondary:"active:bg-secondary",transparent:"active:bg-transparent","warning-wash":"active:bg-warning-wash"},backgroundColorOnHover:{accent:"hover:bg-accent/80",alert:"hover:bg-alert/80",black:"hover:bg-black/80",brand:"hover:bg-brand/80",positive:"hover:bg-positive/80",warning:"hover:bg-warning/80",white:"hover:bg-white/80","accent-wash":"hover:bg-accent-wash/80","alert-wash":"hover:bg-alert-wash/80","brand-wash":"hover:bg-brand-wash/80","elevation-1":"hover:bg-elevation-1/80","elevation-2":"hover:bg-elevation-2/80","elevation-3":"hover:bg-elevation-3/80","elevation-3-inverse":"hover:bg-elevation-3-inverse/80",overlay:"hover:bg-overlay/80","positive-wash":"hover:bg-positive-wash/80",primary:"hover:bg-primary/80",secondary:"hover:bg-secondary/80",transparent:"hover:bg-transparent/80","warning-wash":"hover:bg-warning-wash/80"},backgroundColorOnChecked:{accent:"data-[state=checked]:bg-accent",alert:"data-[state=checked]:bg-alert",black:"data-[state=checked]:bg-black",brand:"data-[state=checked]:bg-brand",positive:"data-[state=checked]:bg-positive",warning:"data-[state=checked]:bg-warning",white:"data-[state=checked]:bg-white","accent-wash":"data-[state=checked]:bg-accent-wash","alert-wash":"data-[state=checked]:bg-alert-wash","brand-wash":"data-[state=checked]:bg-brand-wash","elevation-1":"data-[state=checked]:bg-elevation-1","elevation-2":"data-[state=checked]:bg-elevation-2","elevation-3":"data-[state=checked]:bg-elevation-3","elevation-3-inverse":"data-[state=checked]:bg-elevation-3-inverse",overlay:"data-[state=checked]:bg-overlay","positive-wash":"data-[state=checked]:bg-positive-wash",primary:"data-[state=checked]:bg-primary",secondary:"data-[state=checked]:bg-secondary",transparent:"data-[state=checked]:bg-transparent","warning-wash":"data-[state=checked]:bg-warning-wash"},elevation:{1:"bg-elevation-1 z-30 shadow-1",2:"bg-elevation-2 z-40 shadow-2",3:"bg-elevation-3 z-50 shadow-3"},opacity:{0:"opacity-0",5:"opacity-5",10:"opacity-10",20:"opacity-20",25:"opacity-25",30:"opacity-30",40:"opacity-40",50:"opacity-50",60:"opacity-60",70:"opacity-70",75:"opacity-75",80:"opacity-80",90:"opacity-90",95:"opacity-95",100:"opacity-100"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary"},borderColorOnActive:{accent:"active:border-accent",alert:"active:border-alert",black:"active:border-black",brand:"active:border-brand",positive:"active:border-positive",warning:"active:border-warning",white:"active:border-white",transparent:"active:border-transparent",muted:"active:border-muted",primary:"active:border-primary",secondary:"active:border-secondary",tertiary:"active:border-tertiary"},borderColorOnFocus:{accent:"focus:border-accent",alert:"focus:border-alert",black:"focus:border-black",brand:"focus:border-brand",positive:"focus:border-positive",warning:"focus:border-warning",white:"focus:border-white",transparent:"focus:border-transparent",muted:"focus:border-muted",primary:"focus:border-primary",secondary:"focus:border-secondary",tertiary:"focus:border-tertiary"},borderColorOnHover:{accent:"hover:border-accent",alert:"hover:border-alert",black:"hover:border-black",brand:"hover:border-brand",positive:"hover:border-positive",warning:"hover:border-warning",white:"hover:border-white",transparent:"hover:border-transparent",muted:"hover:border-muted",primary:"hover:border-primary",secondary:"hover:border-secondary",tertiary:"hover:border-tertiary"},borderColorOnChecked:{accent:"data-[state=checked]:border-accent",alert:"data-[state=checked]:border-alert",black:"data-[state=checked]:border-black",brand:"data-[state=checked]:border-brand",positive:"data-[state=checked]:border-positive",warning:"data-[state=checked]:border-warning",white:"data-[state=checked]:border-white",transparent:"data-[state=checked]:border-transparent",muted:"data-[state=checked]:border-muted",primary:"data-[state=checked]:border-primary",secondary:"data-[state=checked]:border-secondary",tertiary:"data-[state=checked]:border-tertiary"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary"},borderRadius:{square:"rounded-square",xs:"rounded-xs",s:"rounded-s",m:"rounded-m",l:"rounded-l",xl:"rounded-xl",xxl:"rounded-xxl",circle:"rounded-circle"},borderTopStartRadius:{square:"rounded-ss-square",xs:"rounded-ss-xs",s:"rounded-ss-s",m:"rounded-ss-m",l:"rounded-ss-l",xl:"rounded-ss-xl",xxl:"rounded-ss-xxl",circle:"rounded-ss-circle"},borderTopEndRadius:{square:"rounded-se-square",xs:"rounded-se-xs",s:"rounded-se-s",m:"rounded-se-m",l:"rounded-se-l",xl:"rounded-se-xl",xxl:"rounded-se-xxl",circle:"rounded-se-circle"},borderBottomStartRadius:{square:"rounded-es-square",xs:"rounded-es-xs",s:"rounded-es-s",m:"rounded-es-m",l:"rounded-es-l",xl:"rounded-es-xl",xxl:"rounded-es-xxl",circle:"rounded-es-circle"},borderBottomEndRadius:{square:"rounded-ee-square",xs:"rounded-ee-xs",s:"rounded-ee-s",m:"rounded-ee-m",l:"rounded-ee-l",xl:"rounded-ee-xl",xxl:"rounded-ee-xxl",circle:"rounded-ee-circle"},bordered:{true:"border-1 border-solid"},borderWidth:{0:"border-0",1:"border-1",2:"border-2",4:"border-4",8:"border-8"},borderVerticalWidth:{0:"border-y-0",1:"border-y-1",2:"border-y-2",4:"border-y-4",8:"border-y-8"},borderHorizontalWidth:{0:"border-x-0",1:"border-x-1",2:"border-x-2",4:"border-x-4",8:"border-x-8"},borderStartWidth:{0:"border-s-0",1:"border-s-1",2:"border-s-2",4:"border-s-4",8:"border-s-8"},borderEndWidth:{0:"border-e-0",1:"border-e-1",2:"border-e-2",4:"border-e-4",8:"border-e-8"},borderTopWidth:{0:"border-t-0",1:"border-t-1",2:"border-t-2",4:"border-t-4",8:"border-t-8"},borderBottomWidth:{0:"border-b-0",1:"border-b-1",2:"border-b-2",4:"border-b-4",8:"border-b-8"},borderedVertical:{true:"border-y-1"},borderedTop:{true:"border-t-1"},borderedBottom:{true:"border-b-1"},borderedHorizontal:{true:"border-x-1"},borderedEnd:{true:"border-e-1"},borderedStart:{true:"border-s-1"},height:{auto:"h-auto",full:"h-full",screen:"h-screen",min:"h-min",max:"h-max",fit:"h-fit","1/2":"h-1/2","1/3":"h-1/3","2/3":"h-2/3","1/4":"h-1/4","2/4":"h-2/4","3/4":"h-3/4","1/5":"h-1/5","2/5":"h-2/5","3/5":"h-3/5","4/5":"h-4/5","1/6":"h-1/6","2/6":"h-2/6","3/6":"h-3/6","4/6":"h-4/6","5/6":"h-5/6"},minHeight:{full:"min-h-full",min:"min-h-min",max:"min-h-max",fit:"min-h-fit",screen:"min-h-screen"},maxHeight:{full:"max-h-full",min:"max-h-min",max:"max-h-max",fit:"max-h-fit",screen:"max-h-screen",none:"max-h-none"},width:{auto:"w-auto",full:"w-full",screen:"w-screen",min:"w-min",max:"w-max",fit:"w-fit","1/2":"w-1/2","1/3":"w-1/3","2/3":"w-2/3","1/4":"w-1/4","2/4":"w-2/4","3/4":"w-3/4","1/5":"w-1/5","2/5":"w-2/5","3/5":"w-3/5","4/5":"w-4/5","1/6":"w-1/6","2/6":"w-2/6","3/6":"w-3/6","4/6":"w-4/6","5/6":"w-5/6","1/12":"w-1/12","2/12":"w-2/12","3/12":"w-3/12","4/12":"w-4/12","5/12":"w-5/12","6/12":"w-6/12","7/12":"w-7/12","8/12":"w-8/12","9/12":"w-9/12","10/12":"w-10/12","11/12":"w-11/12"},minWidth:{full:"min-w-full",min:"min-w-min",max:"min-w-max",fit:"min-w-fit",screen:"min-w-screen"},maxWidth:{none:"max-w-none",full:"max-w-full",min:"max-w-min",max:"max-w-max",fit:"max-w-fit"},avatarSize:{s:"avatarSize-s",m:"avatarSize-m",l:"avatarSize-l"},iconSize:{s:"iconSize-s leading-none",m:"iconSize-m leading-none",l:"iconSize-l leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},zIndex:{0:"z-0",10:"z-10",20:"z-20",30:"z-40",40:"z-30",50:"z-50",auto:"z-auto"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"}}});import{Children as Ve,cloneElement as lr,forwardRef as pr,isValidElement as We}from"react";function Er(r,e){typeof r=="function"?r(e):r!=null&&(r.current=e)}function ir(...r){return e=>r.forEach(o=>Er(o,e))}import{jsx as cr}from"react/jsx-runtime";function v(){let r=pr((a,p)=>{let{children:s,...i}=a,c=Ve.toArray(s),d=c.find(t);if(d){let m=d.props.children,u=c.map(h=>h===d?Ve.count(m)>1?Ve.only(null):We(m)?m.props.children:null:h);return cr(e,{...i,ref:p,children:We(m)?lr(m,void 0,u):null})}return cr(e,{...i,ref:p,children:s})});r.displayName="Slot";let e=pr((a,p)=>{let{children:s,...i}=a;return We(s)?lr(s,{...n(i,s.props),ref:p?ir(p,s.ref):s.ref}):Ve.count(s)>1?Ve.only(null):null});e.displayName="SlotClone";let o=({children:a})=>a;function t(a){return We(a)&&a.type===o}function n(a,p){let s={...p};for(let i in p){let c=a[i],d=p[i];/^on[A-Z]/.test(i)?c&&d?s[i]=(...u)=>{d(...u),c(...u)}:c&&(s[i]=c):i==="style"&&(s[i]={...c,...d})}return{...a,...s}}return r}import{jsx as Wr}from"react/jsx-runtime";var Ur=v(),f=Or(function({className:e,asChild:o=!1,size:t="l",color:n="primary",name:a,colorChecked:p,opacity:s,textAlign:i,backgroundColor:c,backgroundColorOnActive:d,backgroundColorOnHover:m,backgroundColorOnChecked:u,bordered:h,borderedTop:w,borderedBottom:P,borderedStart:k,borderedEnd:C,borderedHorizontal:T,borderedVertical:S,borderRadius:I,borderTopStartRadius:D,borderTopEndRadius:H,borderBottomStartRadius:B,borderBottomEndRadius:R,borderColor:z,borderColorOnActive:N,borderColorOnFocus:A,borderColorOnChecked:M,borderColorOnHover:V,borderStartColor:L,borderEndColor:E,borderTopColor:O,borderBottomColor:U,borderWidth:W,borderVerticalWidth:G,borderHorizontalWidth:q,borderStartWidth:F,borderEndWidth:j,borderTopWidth:X,borderBottomWidth:Z,alignContent:_,alignItems:$,alignSelf:J,flex:K,flexDirection:Y,flexGrow:Q,flexShrink:ee,flexWrap:re,justifyContent:oe,flexBasis:te,display:ae,zIndex:ne,overflow:se,overflowX:ie,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:be,spacingBottom:me,spacingEnd:fe,spacingStart:ue,spacingTop:ge,offset:ye,offsetVertical:he,offsetHorizontal:ve,offsetBottom:xe,offsetEnd:we,offsetStart:Pe,offsetTop:ke,columnGap:Ce,rowGap:Te,height:Se,minHeight:Ie,maxHeight:De,width:He,minWidth:Re,maxWidth:Ne,...Me},Ue){let qe=o?Ur:"span",Fe=l({iconSize:t,color:n,colorChecked:p,opacity:s,fontFamily:"icons",textAlign:i,backgroundColor:c,backgroundColorOnActive:d,backgroundColorOnHover:m,backgroundColorOnChecked:u,bordered:h,borderedTop:w,borderedBottom:P,borderedStart:k,borderedEnd:C,borderedHorizontal:T,borderedVertical:S,borderRadius:I,borderTopStartRadius:D,borderTopEndRadius:H,borderBottomStartRadius:B,borderBottomEndRadius:R,borderColor:z,borderColorOnActive:N,borderColorOnFocus:A,borderColorOnChecked:M,borderColorOnHover:V,borderStartColor:L,borderEndColor:E,borderTopColor:O,borderBottomColor:U,borderWidth:W,borderVerticalWidth:G,borderHorizontalWidth:q,borderStartWidth:F,borderEndWidth:j,borderTopWidth:X,borderBottomWidth:Z,alignContent:_,alignItems:$,alignSelf:J,flex:K,flexDirection:Y,flexGrow:Q,flexShrink:ee,flexWrap:re,justifyContent:oe,flexBasis:te,display:ae,zIndex:ne,overflow:se,overflowX:ie,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:be,spacingBottom:me,spacingEnd:fe,spacingStart:ue,spacingTop:ge,offset:ye,offsetVertical:he,offsetHorizontal:ve,offsetBottom:xe,offsetEnd:we,offsetStart:Pe,offsetTop:ke,columnGap:Ce,rowGap:Te,height:Se,minHeight:Ie,maxHeight:De,width:He,minWidth:Re,maxWidth:Ne,className:e});return Wr(qe,{className:Fe,ref:Ue,...Me,children:a})});import{forwardRef as Gr}from"react";import{jsx as Fr}from"react/jsx-runtime";var qr=v(),y=Gr(function({className:e,asChild:o,onPress:t,onClick:n=t,backgroundColor:a,backgroundColorOnActive:p,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:c,opacity:d,bordered:m,borderedTop:u,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:C,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:R,borderColorOnFocus:z,borderColorOnChecked:N,borderColorOnHover:A,borderStartColor:M,borderEndColor:V,borderTopColor:L,borderBottomColor:E,borderWidth:O,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:j,alignContent:X,alignItems:Z,alignSelf:_,flex:$,flexDirection:J,flexGrow:K,flexShrink:Y,flexWrap:Q,justifyContent:ee,flexBasis:re,display:oe,zIndex:te,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:le,spacingHorizontal:pe,spacingVertical:ce,spacingBottom:de,spacingEnd:be,spacingStart:me,spacingTop:fe,offset:ue,offsetVertical:ge,offsetHorizontal:ye,offsetBottom:he,offsetEnd:ve,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,height:Ce,minHeight:Te,maxHeight:Se,width:Ie,minWidth:De,maxWidth:He,...Re},Ne){let Me=l({backgroundColor:a,backgroundColorOnActive:p,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:c,opacity:d,bordered:m,borderedTop:u,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:C,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:R,borderColorOnFocus:z,borderColorOnChecked:N,borderColorOnHover:A,borderStartColor:M,borderEndColor:V,borderTopColor:L,borderBottomColor:E,borderWidth:O,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:j,alignContent:X,alignItems:Z,alignSelf:_,flex:$,flexDirection:J,flexGrow:K,flexShrink:Y,flexWrap:Q,justifyContent:ee,flexBasis:re,display:oe,zIndex:te,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:le,spacingHorizontal:pe,spacingVertical:ce,spacingBottom:de,spacingEnd:be,spacingStart:me,spacingTop:fe,offset:ue,offsetVertical:ge,offsetHorizontal:ye,offsetBottom:he,offsetEnd:ve,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,height:Ce,minHeight:Te,maxHeight:Se,width:Ie,minWidth:De,maxWidth:He,className:e});return Fr(o?qr:"button",{className:Me,ref:Ne,onClick:n,...Re})});import{forwardRef as jr}from"react";import{jsx as _r}from"react/jsx-runtime";var Xr=v(),Zr={display1:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},b=jr(function({className:e,asChild:o,color:t="primary",colorChecked:n,variant:a="body1",as:p=Zr[a],fontSize:s=a,fontFamily:i=a,fontWeight:c=a,lineHeight:d=a,textTransform:m=a,textAlign:u,backgroundColor:h,backgroundColorOnActive:w,backgroundColorOnHover:P,backgroundColorOnChecked:k,opacity:C,bordered:T,borderedTop:S,borderedBottom:I,borderedStart:D,borderedEnd:H,borderedHorizontal:B,borderedVertical:R,borderRadius:z,borderTopStartRadius:N,borderTopEndRadius:A,borderBottomStartRadius:M,borderBottomEndRadius:V,borderColor:L,borderColorOnActive:E,borderColorOnFocus:O,borderColorOnChecked:U,borderColorOnHover:W,borderStartColor:G,borderEndColor:q,borderTopColor:F,borderBottomColor:j,borderWidth:X,borderVerticalWidth:Z,borderHorizontalWidth:_,borderStartWidth:$,borderEndWidth:J,borderTopWidth:K,borderBottomWidth:Y,alignContent:Q,alignItems:ee,alignSelf:re,flex:oe,flexDirection:te,flexGrow:ae,flexShrink:ne,flexWrap:se,justifyContent:ie,flexBasis:le,display:pe,zIndex:ce,overflow:de,overflowX:be,overflowY:me,position:fe,spacing:ue,spacingHorizontal:ge,spacingVertical:ye,spacingBottom:he,spacingEnd:ve,spacingStart:xe,spacingTop:we,offset:Pe,offsetVertical:ke,offsetHorizontal:Ce,offsetBottom:Te,offsetEnd:Se,offsetStart:Ie,offsetTop:De,columnGap:He,rowGap:Re,height:Ne,minHeight:Me,maxHeight:Ue,width:qe,minWidth:Fe,maxWidth:Tr,...Sr},Ir){let Dr=l({className:e,color:t,colorChecked:n,fontFamily:i,fontSize:s,fontWeight:c,lineHeight:d,textTransform:m,textAlign:u,backgroundColor:h,backgroundColorOnActive:w,backgroundColorOnHover:P,backgroundColorOnChecked:k,opacity:C,bordered:T,borderedTop:S,borderedBottom:I,borderedStart:D,borderedEnd:H,borderedHorizontal:B,borderedVertical:R,borderRadius:z,borderTopStartRadius:N,borderTopEndRadius:A,borderBottomStartRadius:M,borderBottomEndRadius:V,borderColor:L,borderColorOnActive:E,borderColorOnFocus:O,borderColorOnChecked:U,borderColorOnHover:W,borderStartColor:G,borderEndColor:q,borderTopColor:F,borderBottomColor:j,borderWidth:X,borderVerticalWidth:Z,borderHorizontalWidth:_,borderStartWidth:$,borderEndWidth:J,borderTopWidth:K,borderBottomWidth:Y,alignContent:Q,alignItems:ee,alignSelf:re,flex:oe,flexDirection:te,flexGrow:ae,flexShrink:ne,flexWrap:se,justifyContent:ie,flexBasis:le,display:pe,zIndex:ce,overflow:de,overflowX:be,overflowY:me,position:fe,spacing:ue,spacingHorizontal:ge,spacingVertical:ye,spacingBottom:he,spacingEnd:ve,spacingStart:xe,spacingTop:we,offset:Pe,offsetVertical:ke,offsetHorizontal:Ce,offsetBottom:Te,offsetEnd:Se,offsetStart:Ie,offsetTop:De,columnGap:He,rowGap:Re,height:Ne,minHeight:Me,maxHeight:Ue,width:qe,minWidth:Fe,maxWidth:Tr});return _r(o?Xr:p,{className:Dr,ref:Ir,...Sr})});import{forwardRef as Yr}from"react";import{forwardRef as $r}from"react";import{jsx as Kr}from"react/jsx-runtime";var Jr=v(),Le=$r(function({asChild:e,className:o,elevation:t,backgroundColor:n=t?`elevation-${t}`:void 0,backgroundColorOnActive:a,backgroundColorOnHover:p,backgroundColorOnChecked:s,opacity:i,bordered:c,borderedTop:d,borderedBottom:m,borderedStart:u,borderedEnd:h,borderedHorizontal:w,borderedVertical:P,borderRadius:k,borderTopStartRadius:C,borderTopEndRadius:T,borderBottomStartRadius:S,borderBottomEndRadius:I,borderColor:D,borderColorOnActive:H,borderColorOnFocus:B,borderColorOnChecked:R,borderColorOnHover:z,borderStartColor:N,borderEndColor:A,borderTopColor:M,borderBottomColor:V,borderWidth:L,borderVerticalWidth:E,borderHorizontalWidth:O,borderStartWidth:U,borderEndWidth:W,borderTopWidth:G,borderBottomWidth:q,alignContent:F,alignItems:j,alignSelf:X,flex:Z,flexDirection:_,flexGrow:$,flexShrink:J,flexWrap:K,justifyContent:Y,flexBasis:Q,display:ee="flex",zIndex:re,overflow:oe,overflowX:te,overflowY:ae,position:ne,spacing:se,spacingHorizontal:ie,spacingVertical:le,spacingBottom:pe,spacingEnd:ce,spacingStart:de,spacingTop:be,offset:me,offsetVertical:fe,offsetHorizontal:ue,offsetBottom:ge,offsetEnd:ye,offsetStart:he,offsetTop:ve,columnGap:xe,rowGap:we,height:Pe,minHeight:ke,maxHeight:Ce,width:Te,minWidth:Se,maxWidth:Ie,...De},He){let Re=l({elevation:t,backgroundColor:n,backgroundColorOnActive:a,backgroundColorOnHover:p,backgroundColorOnChecked:s,opacity:i,bordered:c,borderedTop:d,borderedBottom:m,borderedStart:u,borderedEnd:h,borderedHorizontal:w,borderedVertical:P,borderRadius:k,borderTopStartRadius:C,borderTopEndRadius:T,borderBottomStartRadius:S,borderBottomEndRadius:I,borderColor:D,borderColorOnActive:H,borderColorOnFocus:B,borderColorOnChecked:R,borderColorOnHover:z,borderStartColor:N,borderEndColor:A,borderTopColor:M,borderBottomColor:V,borderWidth:L,borderVerticalWidth:E,borderHorizontalWidth:O,borderStartWidth:U,borderEndWidth:W,borderTopWidth:G,borderBottomWidth:q,alignContent:F,alignItems:j,alignSelf:X,flex:Z,flexDirection:_,flexGrow:$,flexShrink:J,flexWrap:K,justifyContent:Y,flexBasis:Q,display:ee,zIndex:re,overflow:oe,overflowX:te,overflowY:ae,position:ne,spacing:se,spacingHorizontal:ie,spacingVertical:le,spacingBottom:pe,spacingEnd:ce,spacingStart:de,spacingTop:be,offset:me,offsetVertical:fe,offsetHorizontal:ue,offsetBottom:ge,offsetEnd:ye,offsetStart:he,offsetTop:ve,columnGap:xe,rowGap:we,height:Pe,minHeight:ke,maxHeight:Ce,width:Te,minWidth:Se,maxWidth:Ie,className:o});return Kr(e?Jr:"div",{className:Re,ref:He,...De})});import{jsx as Qr}from"react/jsx-runtime";var x=Yr(function({gap:e,...o},t){return Qr(Le,{ref:t,flexDirection:"column",columnGap:e,rowGap:e,...o})});import{Fragment as ro,jsx as Xe,jsxs as dr}from"react/jsx-runtime";function eo({label:r,children:e,onClick:o,open:t}){return dr(ro,{children:[dr(y,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:"8",width:"full",onClick:o,children:[Xe(b,{variant:"title4",children:r}),Xe(f,{name:t?"chevronDown":"chevronUp",size:"s"})]}),Xe(x,{spacingHorizontal:"8",children:t&&e})]})}var br={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},Ze={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"circle",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",bordered:!0},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",bordered:!0},"accent-ghost":{color:"accent"},"accent-wash":{color:"accent",backgroundColor:"accent-wash",borderColor:"accent",bordered:!0},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",bordered:!0},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",bordered:!0},"brand-ghost":{color:"brand"},"brand-wash":{color:"brand",backgroundColor:"brand-wash",borderColor:"brand",bordered:!0},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",bordered:!0},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",bordered:!0},"positive-ghost":{color:"positive"},"positive-wash":{color:"positive",backgroundColor:"positive-wash",borderColor:"positive",bordered:!0},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",bordered:!0},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",bordered:!0},"alert-ghost":{color:"alert"},"alert-wash":{color:"alert",backgroundColor:"alert-wash",borderColor:"alert",bordered:!0},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",bordered:!0},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",bordered:!0},"warning-ghost":{color:"warning"},"warning-wash":{color:"warning",backgroundColor:"warning-wash",borderColor:"warning",bordered:!0},"primary-outline":{color:"primary",borderColor:"muted",bordered:!0},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function Ae({variant:r="accent",size:e="s"}){let{color:o,...t}=Ze.variant[r],{variant:n,...a}=Ze.size[e];return{pressable:{...Ze.base,...t,...a},text:{color:o,variant:n,textAlign:"center"},icon:{color:o,size:"s"}}}import{jsx as to}from"react/jsx-runtime";function oo({size:r,shape:e,src:o,alt:t,...n}){let a=l({...br,avatarSize:r,borderRadius:e});return to("img",{src:o,alt:t,className:a,...n})}import{forwardRef as ao}from"react";import{jsx as _e,jsxs as no}from"react/jsx-runtime";var $e=ao(function({variant:e="accent",size:o,startIcon:t,endIcon:n,children:a,...p},s){let i=Ae({variant:e,size:o}),c=t?_e(f,{name:t,...i.icon}):null,d=n?_e(f,{name:n,...i.icon}):null;return no(y,{...i.pressable,ref:s,...p,children:[c,_e(b,{...i.text,children:a}),d]})});import{jsx as Je,jsxs as lo}from"react/jsx-runtime";var mr={accent:"on-color",secondary:"primary"},so={accent:"on-color",secondary:"tertiary"};function io({children:r,variant:e,startIcon:o,startContent:t=o?Je(f,{name:o,size:"s",color:mr[e]}):null,endIcon:n,endContent:a=n?Je(f,{name:n,size:"s",color:mr[e]}):null}){return lo(y,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"circle",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[t,Je(b,{variant:"label2",color:so[e],children:r}),a]})}import{forwardRef as ur,useCallback as Io}from"react";import{Popover as bo,PopoverAnchor as mo,PopoverArrow as fo,PopoverDescription as uo,PopoverDisclosure as go,PopoverDisclosureArrow as yo,PopoverDismiss as ho,PopoverHeading as vo,PopoverProvider as xo,usePopoverStore as Ke}from"@ariakit/react";import{forwardRef as po}from"react";import{jsx as co}from"react/jsx-runtime";var Ee=po(function({gap:e,...o},t){return co(Le,{ref:t,flexDirection:"row",rowGap:e,columnGap:e,...o})});import{jsx as fr,jsxs as So}from"react/jsx-runtime";function wo({children:r,leading:e,trailing:o}){return So(Ee,{children:[e,fr(b,{variant:"headline1",asChild:!0,children:fr(vo,{children:r})}),o]})}var Ye=bo,Qe=fo,Po=mo,ko=uo,Co=ho,er=xo,rr=go,To=yo;import{jsx as Be,jsxs as or}from"react/jsx-runtime";var Do=ur(function({children:e,className:o,overflow:t="scroll",...n},a){return Be(x,{borderRadius:"l",elevation:"3",className:g("min-w-[220px] max-h-[312px]",o),overflow:t,spacingVertical:"4",asChild:!0,children:or(Ye,{preventBodyScroll:!0,...n,ref:a,children:[Be(Qe,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})}),gr=ur(function({children:e,onClick:o,...t},n){let a=Ke(),p=Io(s=>{s.preventDefault(),o?.(()=>a.setOpen(!1))},[o,a]);return Be(y,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:"hover:bg-gray-2",onClick:o?p:void 0,ref:n,...t,children:e})});function Ho({title:r,description:e,_title:o,_description:t,startIcon:n,endIcon:a,...p}){return or(gr,{...p,children:[n&&Be(f,{name:n,size:"s"}),or(x,{gap:"3",alignItems:"flex-start",children:[r&&Be(b,{variant:"headline1",...o,children:r}),e&&Be(b,{variant:"label2",color:"muted",...t,children:e})]}),a&&Be(f,{name:a,size:"s"})]})}function Bo({children:r,variant:e,size:o,...t}){let n=Ae({variant:e,size:o}),a=e?n.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return Be(y,{...a,...t,asChild:!0,children:Be(rr,{children:r})})}var Ro=er;import{forwardRef as zo}from"react";import{jsx as yr}from"react/jsx-runtime";var No={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},tr=zo(function({variant:e="accent",size:o="s",name:t,className:n,color:a,...p},s){let i=Ae({variant:e,size:o});return yr(y,{...i.pressable,spacingHorizontal:i.pressable.spacingVertical,ref:s,className:g("leading-[0px]",No[o],n),...p,children:yr(f,{name:t,...i.icon,color:a})})});import{jsx as Mo}from"react/jsx-runtime";function Ao({width:r,height:e,src:o,alt:t,contentFit:n="cover",elevation:a,backgroundColor:p=a?`elevation-${a}`:"primary",backgroundColorOnActive:s,backgroundColorOnHover:i,backgroundColorOnChecked:c,opacity:d,bordered:m,borderedTop:u,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:C,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:R,borderColorOnFocus:z,borderColorOnChecked:N,borderColorOnHover:A,borderStartColor:M,borderEndColor:V,borderTopColor:L,borderBottomColor:E,borderWidth:O,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:j,alignContent:X,alignItems:Z,alignSelf:_,flex:$,flexDirection:J,flexGrow:K,flexShrink:Y="0",flexWrap:Q,justifyContent:ee,flexBasis:re,display:oe="flex",zIndex:te,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:le,spacingHorizontal:pe,spacingVertical:ce,spacingBottom:de,spacingEnd:be,spacingStart:me,spacingTop:fe,offset:ue,offsetVertical:ge,offsetHorizontal:ye,offsetBottom:he,offsetEnd:ve,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,minHeight:Ce,maxHeight:Te,minWidth:Se,maxWidth:Ie,...De}){let He=l({contentFit:n,elevation:a,backgroundColor:p,backgroundColorOnActive:s,backgroundColorOnHover:i,backgroundColorOnChecked:c,opacity:d,bordered:m,borderedTop:u,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:C,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:R,borderColorOnFocus:z,borderColorOnChecked:N,borderColorOnHover:A,borderStartColor:M,borderEndColor:V,borderTopColor:L,borderBottomColor:E,borderWidth:O,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:j,alignContent:X,alignItems:Z,alignSelf:_,flex:$,flexDirection:J,flexGrow:K,flexShrink:Y,flexWrap:Q,justifyContent:ee,flexBasis:re,display:oe,zIndex:te,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:le,spacingHorizontal:pe,spacingVertical:ce,spacingBottom:de,spacingEnd:be,spacingStart:me,spacingTop:fe,offset:ue,offsetVertical:ge,offsetHorizontal:ye,offsetBottom:he,offsetEnd:ve,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,minHeight:Ce,maxHeight:Te,minWidth:Se,maxWidth:Ie});return Mo("img",{src:o,alt:t,className:He,style:{objectPosition:"left",width:r,height:e},...De})}import{Dialog as Vo,DialogDismiss as Lo,useDialogStore as Eo}from"@ariakit/react";import{jsx as Oe,jsxs as qo}from"react/jsx-runtime";function Oo(r){return Eo({animated:!0,...r})}function Uo({children:r,handleClose:e}){return qo(Ee,{alignItems:"center",justifyContent:"space-between",children:[Oe(b,{variant:"headline1",children:r}),Oe($e,{variant:"accent-ghost",size:"m",spacingEnd:"0",spacingVertical:"0",onClick:e,children:"close"})]})}function Wo({className:r,...e}){return Oe(x,{borderRadius:"m",elevation:"3",position:"fixed",height:"fit",zIndex:"50",className:g("top-[250px] w-[600px] inset-8 mx-auto origin-center scale-95 transition-all data-[enter]:opacity-100 duration-200 data-[enter]:scale-100",r),spacing:"8",asChild:!0,children:Oe(Vo,{backdrop:Oe("div",{className:"bg-overlay transition-opacity duration-200 data-[enter]:opacity-100"}),...e})})}var Go=Lo;import{jsx as ar,jsxs as hr}from"react/jsx-runtime";function Fo({className:r,...e}){return hr("div",{role:"status",className:`self-center ${r}`,...e,style:{width:8,maxWidth:8,height:8,maxHeight:8},children:[hr("svg",{"aria-hidden":"true",className:"w-8 h-8 text-gray-3 animate-spin fill-accent",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ar("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),ar("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),ar("span",{className:"sr-only",children:"Loading..."})]})}import{Tab as jo,TabList as Xo,TabPanel as Zo,TabProvider as _o,useTabContext as vr}from"@ariakit/react";import{forwardRef as xr}from"react";import{jsx as ze,jsxs as et}from"react/jsx-runtime";var $o=v();function Jo(r){return ze(_o,{...r})}var Ko=xr(function({className:e,...o},t){let n=l({display:"flex",flexDirection:"row",columnGap:"7",className:e});return ze(Xo,{ref:t,...o,className:n})}),Yo=function({asChild:e,label:o,value:t,startIcon:n}){let a=e?$o:"a",p=l({}),s=vr();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let i=s?.useState().activeId===t,c=i?"accent":"primary";return ze(jo,{id:t,className:p,render:ze(a,{children:et(y,{borderColor:i?"accent":"transparent",borderBottomWidth:"4",spacingVertical:"6",flexDirection:"row",columnGap:"8",children:[n?ze(f,{name:n,color:c,size:"m"}):null,ze(b,{color:c,variant:"headline1",children:o})]})})})},Qo=xr(function(e,o){let t=vr();if(!t)throw new Error("TabPanel must be wrapped in a Tabs component");let n=t.useState("selectedId");return ze(Zo,{ref:o,tabId:n,...e})});import{jsx as Ge,jsxs as kr}from"react/jsx-runtime";function wr({children:r,required:e}){return kr(b,{variant:"caption2",children:[r,e&&Ge(b,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}function Pr({className:r,disabled:e,...o}){return Ge("input",{type:"text","data-1p-ignore":!0,className:g(l({backgroundColor:e?"secondary":"primary",borderColor:"tertiary",bordered:!0,borderRadius:"m",spacingVertical:"5",spacingHorizontal:"6",className:"placeholder:text-tertiary font-sans",width:"full",fontSize:"body1",fontWeight:"body1",lineHeight:"body1",color:"primary"}),r),disabled:e,...o})}function rt({label:r,required:e,...o}){return kr(x,{gap:"4",width:"full",children:[Ge(wr,{required:e,children:r}),Ge(Pr,{required:e,...o})]})}import{Slide as ot,toast as tt,ToastContainer as at}from"react-toastify";import{jsx as Cr}from"react/jsx-runtime";var nt=l({elevation:"3",borderRadius:"m",spacingVertical:"6",spacingHorizontal:"5",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),st=l({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),it=l({backgroundColor:"positive"}),lt=l({backgroundColor:"alert"}),pt=l({backgroundColor:"accent"}),ct=l({backgroundColor:"warning"}),dt=l({backgroundColor:"elevation-3-inverse"}),bt=l({backgroundColor:"elevation-3-inverse"}),mt=l({backgroundColor:"positive-wash",color:"positive"}),ft=l({backgroundColor:"alert-wash",color:"alert"}),ut=l({backgroundColor:"accent-wash",color:"accent"}),gt=l({backgroundColor:"warning-wash",color:"warning"}),yt=l({backgroundColor:"elevation-3-inverse",color:"on-color"}),ht=l({backgroundColor:"elevation-3-inverse",color:"on-color"}),vt=r=>{let{type:e="default"}=r??{},o={success:mt,error:ft,info:ut,warning:gt,default:yt,dark:ht}[e];return g(nt,o)};function xt(r){let{type:e="default",defaultClassName:o=""}=r??{},t={success:it,error:lt,info:pt,warning:ct,default:dt,dark:bt}[e],n=o.replace(/Toastify__progress-bar-theme--light/,"");return g(n,t)}function wt({closeToast:r,type:e}){let o={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return Cr(tr,{name:"close",size:"s",variant:"accent-ghost",color:o,onClick:r})}function Pt(r){return Cr(at,{toastClassName:vt,bodyClassName:st,progressClassName:xt,transition:ot,closeButton:wt,...r})}export{zt as AVATAR_SIZE_PREFIX,eo as Accordion,oo as Avatar,Le as Box,$e as Button,io as Chip,Ot as DARK_COLOR_MODE_CLASSNAME,sa as DEFAULT_COLOR_MODE,_t as DEFAULT_COLOR_MODE_CLASSNAME,aa as DEFAULT_COLOR_MODE_FOR_APP,la as DEFAULT_HIGH_CONTRAST_MODE,pa as DEFAULT_REGION_MODE,ia as DEFAULT_SCALE_MODE,$t as DEFAULT_SCALE_MODE_CLASSNAME,na as DEFAULT_SCALE_MODE_FOR_APP,Ro as Dropdown,Ho as DropdownItem,gr as DropdownItemPressable,Do as DropdownItems,Bo as DropdownTrigger,Bt as FONT_FAMILY_PREFIX,Yt as FONT_ICONS_CSS_VAR,ea as FONT_SANS_BETA_CSS_VAR,ra as FONT_SANS_CONDENSED_CSS_VAR,Qt as FONT_SANS_CSS_VAR,oa as FONT_SERIF_DISPLAY_CSS_VAR,ta as FONT_SERIF_TEXT_CSS_VAR,Mt as FONT_SIZE_PREFIX,Lt as FONT_WEIGHT_PREFIX,Ee as HStack,Rt as ICON_SIZE_PREFIX,f as Icon,tr as IconButton,Ao as Image,Ft as LARGE_SCALE_MODE_CLASSNAME,Ut as LIGHT_COLOR_MODE_CLASSNAME,Vt as LINE_HEIGHT_PREFIX,qt as MEDIUM_SCALE_MODE_CLASSNAME,Wo as Modal,Go as ModalDismiss,Uo as ModalHeader,Ye as Popover,Po as PopoverAnchor,Qe as PopoverArrow,ko as PopoverDescription,rr as PopoverDisclosure,To as PopoverDisclosureArrow,Co as PopoverDismiss,wo as PopoverHeading,er as PopoverProvider,y as Pressable,Nt as SHAPE_PREFIX,Gt as SMALL_SCALE_MODE_CLASSNAME,At as SPACING_PREFIX,Ht as SPECTRUM_COLOR_PREFIX,Fo as Spinner,Et as TEXT_TRANSFORM_PREFIX,Yo as Tab,Ko as TabList,Qo as TabPanel,Jo as Tabs,b as Text,Pr as TextInput,rt as TextInputGroup,wr as TextInputLabel,Pt as ToastContainer,Dt as UDS_PREFIX,x as VStack,jt as XLARGE_SCALE_MODE_CLASSNAME,Wt as XSMALL_SCALE_MODE_CLASSNAME,Xt as XXLARGE_SCALE_MODE_CLASSNAME,Zt as XXXLARGE_SCALE_MODE_CLASSNAME,Ct as alwaysPalette,sr as cva,g as cx,It as defaultTokensConfig,ca as entries,Tt as fontFamilyGlobal,St as fontWeightMap,Jt as getColorModeClassName,Kt as getScaleModeClassName,l as getStyles,tt as toast,Oo as useModalStore,Ke as usePopoverStore};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { U as UniversalTokensConfig, i as FontFamilyGlobalConfig, a3 as FontWeightDescriptiveAlias, g as FontWeightNumericAlias, X as ColorModeForApp, ao as ScaleModeForApp, C as ColorMode, S as ScaleMode, a5 as HighContrastMode, al as RegionMode } from './types-VgTlNoi_.js';
|
2
|
+
|
3
|
+
declare const defaultTokensConfig: UniversalTokensConfig;
|
4
|
+
|
5
|
+
declare const fontFamilyGlobal: FontFamilyGlobalConfig;
|
6
|
+
declare const fontWeightMap: Record<FontWeightDescriptiveAlias, FontWeightNumericAlias>;
|
7
|
+
|
8
|
+
declare const DEFAULT_COLOR_MODE_FOR_APP: ColorModeForApp;
|
9
|
+
declare const DEFAULT_SCALE_MODE_FOR_APP: ScaleModeForApp;
|
10
|
+
declare const DEFAULT_COLOR_MODE: ColorMode;
|
11
|
+
declare const DEFAULT_SCALE_MODE: ScaleMode;
|
12
|
+
declare const DEFAULT_HIGH_CONTRAST_MODE: HighContrastMode;
|
13
|
+
declare const DEFAULT_REGION_MODE: RegionMode;
|
14
|
+
|
15
|
+
export { DEFAULT_COLOR_MODE_FOR_APP as D, fontWeightMap as a, DEFAULT_SCALE_MODE_FOR_APP as b, DEFAULT_COLOR_MODE as c, defaultTokensConfig as d, DEFAULT_SCALE_MODE as e, fontFamilyGlobal as f, DEFAULT_HIGH_CONTRAST_MODE as g, DEFAULT_REGION_MODE as h };
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { U as UniversalTokensConfig, i as FontFamilyGlobalConfig, a3 as FontWeightDescriptiveAlias, g as FontWeightNumericAlias, X as ColorModeForApp, ao as ScaleModeForApp, C as ColorMode, S as ScaleMode, a5 as HighContrastMode, al as RegionMode } from './types-VgTlNoi_.cjs';
|
2
|
+
|
3
|
+
declare const defaultTokensConfig: UniversalTokensConfig;
|
4
|
+
|
5
|
+
declare const fontFamilyGlobal: FontFamilyGlobalConfig;
|
6
|
+
declare const fontWeightMap: Record<FontWeightDescriptiveAlias, FontWeightNumericAlias>;
|
7
|
+
|
8
|
+
declare const DEFAULT_COLOR_MODE_FOR_APP: ColorModeForApp;
|
9
|
+
declare const DEFAULT_SCALE_MODE_FOR_APP: ScaleModeForApp;
|
10
|
+
declare const DEFAULT_COLOR_MODE: ColorMode;
|
11
|
+
declare const DEFAULT_SCALE_MODE: ScaleMode;
|
12
|
+
declare const DEFAULT_HIGH_CONTRAST_MODE: HighContrastMode;
|
13
|
+
declare const DEFAULT_REGION_MODE: RegionMode;
|
14
|
+
|
15
|
+
export { DEFAULT_COLOR_MODE_FOR_APP as D, fontWeightMap as a, DEFAULT_SCALE_MODE_FOR_APP as b, DEFAULT_COLOR_MODE as c, defaultTokensConfig as d, DEFAULT_SCALE_MODE as e, fontFamilyGlobal as f, DEFAULT_HIGH_CONTRAST_MODE as g, DEFAULT_REGION_MODE as h };
|