@yahoo/uds 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/commands/expo/_setup.ts +5 -4
- package/cli/commands/expo/build.ts +2 -1
- package/cli/commands/expo/dev.ts +3 -1
- package/cli/commands/expo/expo.ts +6 -6
- package/cli/commands/expo/launch.ts +1 -0
- package/cli/commands/expo/update.ts +1 -0
- package/cli/commands/purge.ts +1 -0
- package/cli/commands/sync.ts +1 -0
- package/cli/commands/uds.ts +1 -0
- package/cli/env.d.ts +3 -0
- package/cli/utils/configWorker.ts +3 -1
- package/cli/utils/getCommandHelp.ts +3 -4
- package/cli/utils/purgeCSS.ts +17 -18
- package/cli/utils/setupConfigWorker.ts +3 -5
- package/dist/fixtures/index.cjs +1 -1
- package/dist/fixtures/index.d.cts +1 -3
- package/dist/fixtures/index.d.ts +1 -3
- package/dist/fixtures/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +67 -5
- package/dist/index.d.ts +67 -5
- package/dist/index.js +1 -1
- package/dist/{index.native-dgGFONLf.d.cts → index.native-fciGC1AQ.d.cts} +1 -1
- package/dist/{index.native-TvtXtTXg.d.ts → index.native-hIYZ_ma-.d.ts} +1 -1
- package/dist/index.native.d.cts +3 -3
- package/dist/index.native.d.ts +3 -3
- package/dist/tailwindPlugin.d.cts +1 -1
- package/dist/tailwindPlugin.d.ts +1 -1
- package/dist/tailwindPurge.cjs +2 -2
- package/dist/tailwindPurge.d.cts +4 -4
- package/dist/tailwindPurge.d.ts +4 -4
- package/dist/tailwindPurge.js +2 -2
- package/dist/tokens/index.d.cts +3 -3
- package/dist/tokens/index.d.ts +3 -3
- package/dist/tokens/index.native.d.cts +2 -2
- package/dist/tokens/index.native.d.ts +2 -2
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.native.d.cts +1 -1
- package/dist/tokens/parseTokens.native.d.ts +1 -1
- package/dist/{types-8OHfDki5.d.ts → types-_E6o7OhU.d.cts} +2 -2
- package/dist/{types-8OHfDki5.d.cts → types-_E6o7OhU.d.ts} +2 -2
- package/package.json +2 -1
- package/cli/eslint.config.mjs +0 -8
package/dist/index.d.cts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
|
-
import { k as UniversalAvatarProps, l as UniversalBoxProps, m as UniversalPressableProps, n as UniversalButtonProps, ay as IconName, p as UniversalTextProps, aK as Overflow, ab as ButtonVariant, aa as ButtonSize, o as UniversalStackProps, q as UniversalIconProps, r as UniversalIconButtonProps, au as ForegroundColor, j as UniversalImageProps, b0 as UniversalTextInputProps } from './types-
|
3
|
-
export { _ as AlwaysPalette, $ as AlwaysPaletteAlias, a0 as Animation, a1 as AriaAttribute, a2 as AspectRatio, a3 as AspectRatioConfig, a4 as AvatarSize, G as AvatarSizeConfig, a5 as BackgroundColor, d as BackgroundPalette, a6 as BackgroundPaletteAlias, v as BackgroundStyleProps, e as BackgroundWashPalette, a7 as BackgroundWashPaletteAlias, w as BorderStyleProps, a8 as BorderWidth, B as BorderWidthConfig, a9 as BoxShadowConfig, C as ColorMode, s as ColorModeForApp, a as ColorsConfig, ac as ConfigurableTextProperty, c as CorePalette, ad as CorePaletteAlias, D as CustomSizingStyleProps, ae as DataAttribute,
|
2
|
+
import { k as UniversalAvatarProps, l as UniversalBoxProps, m as UniversalPressableProps, n as UniversalButtonProps, ay as IconName, p as UniversalTextProps, aK as Overflow, ab as ButtonVariant, aa as ButtonSize, o as UniversalStackProps, q as UniversalIconProps, r as UniversalIconButtonProps, au as ForegroundColor, j as UniversalImageProps, af as Display, b0 as UniversalTextInputProps } from './types-_E6o7OhU.cjs';
|
3
|
+
export { _ as AlwaysPalette, $ as AlwaysPaletteAlias, a0 as Animation, a1 as AriaAttribute, a2 as AspectRatio, a3 as AspectRatioConfig, a4 as AvatarSize, G as AvatarSizeConfig, a5 as BackgroundColor, d as BackgroundPalette, a6 as BackgroundPaletteAlias, v as BackgroundStyleProps, e as BackgroundWashPalette, a7 as BackgroundWashPaletteAlias, w as BorderStyleProps, a8 as BorderWidth, B as BorderWidthConfig, a9 as BoxShadowConfig, C as ColorMode, s as ColorModeForApp, a as ColorsConfig, ac as ConfigurableTextProperty, c as CorePalette, ad as CorePaletteAlias, D as CustomSizingStyleProps, ae as DataAttribute, h as Elevation, E as ElevationConfig, ag as ElevationPaletteAlias, ah as Flex, ai as FlexAlignContent, aj as FlexAlignItems, ak as FlexAlignSelf, al as FlexBasis, am as FlexDirection, an as FlexGrow, ao as FlexJustifyContent, ap as FlexShrink, y as FlexStyleProps, aq as FlexWrap, Q as FontFamilyConfig, ar as FontFamilyGlobalAlias, i as FontFamilyGlobalConfig, as as FontSize, R as FontSizeConfig, f as FontWeightConfig, at as FontWeightDescriptive, g as FontWeightNumeric, F as ForegroundPalette, av as ForegroundPaletteAlias, aw as Height, ax as HighContrastMode, H as Hue, b as HueStep, az as IconSize, J as IconSizeConfig, I as ImageStyleProps, x as LayoutStyleProps, aA as LetterSpacing, aB as LineClampAlias, aC as LineColor, aD as LineHeight, V as LineHeightConfig, L as LinePalette, aE as LinePaletteAlias, aF as MaxHeight, aG as MaxWidth, aH as MinHeight, aI as MinWidth, M as Modes, aJ as Opacity, O as OpacityStyleProps, aL as Palette, aM as PaletteConfig, aN as PaletteType, P as PaletteValue, aO as PlatformMode, aP as Position, aQ as RegionMode, aR as ScaleConfig, S as ScaleMode, u as ScaleModeConfig, t as ScaleModeForApp, aS as Shape, N as ShapeConfig, A as SizingStyleProps, aT as SpacingAlias, K as SpacingConfig, z as SpacingStyleProps, aU as SpectrumColor, aV as SpectrumConfig, aW as StateStyleProps, X as StyleProps, T as TextStyleProps, aX as TextTransform, W as TextTransformConfig, aY as TextVariant, aZ as TransitionDelay, a_ as TransitionDuration, a$ as TransitionTiming, U as UniversalTokensConfig, b1 as Width, b2 as ZIndex, Z as ZIndexConfig, Y as alwaysPalette } from './types-_E6o7OhU.cjs';
|
4
4
|
import * as react from 'react';
|
5
|
-
import react__default, { PropsWithChildren } from 'react';
|
5
|
+
import react__default, { PropsWithChildren, TdHTMLAttributes } from 'react';
|
6
6
|
import * as _ariakit_react from '@ariakit/react';
|
7
7
|
import { PopoverProviderProps, PopoverProps, DialogProps, useDialogStore, DialogStore, DialogDismiss, Popover as Popover$1, PopoverArrow as PopoverArrow$1, PopoverAnchor as PopoverAnchor$1, PopoverDescription as PopoverDescription$1, PopoverDismiss as PopoverDismiss$1, PopoverProvider as PopoverProvider$1, PopoverDisclosure as PopoverDisclosure$1, PopoverDisclosureArrow as PopoverDisclosureArrow$1, TabProviderProps, TabListProps, TabPanelProps } from '@ariakit/react';
|
8
8
|
export { DialogStore as ModalStore, TabListProps, TabPanelProps, TabProviderProps as TabsProps, usePopoverStore } from '@ariakit/react';
|
@@ -10,7 +10,7 @@ import { ToastContainerProps } from 'react-toastify';
|
|
10
10
|
export { toast } from 'react-toastify';
|
11
11
|
import { a as CX, C as CVA } from './types-3GXulqnG.cjs';
|
12
12
|
export { S as SetState } from './types-3GXulqnG.cjs';
|
13
|
-
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-
|
13
|
+
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-fciGC1AQ.cjs';
|
14
14
|
export { AVATAR_SIZE_PREFIX, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, ICON_SIZE_PREFIX, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, SHAPE_PREFIX, SMALL_SCALE_MODE_CLASSNAME, SPACING_PREFIX, SPECTRUM_COLOR_PREFIX, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, entries, getColorModeClassName, getScaleModeClassName } from './tokens/index.cjs';
|
15
15
|
|
16
16
|
interface AccordionProps extends React.PropsWithChildren {
|
@@ -317,6 +317,68 @@ interface SpinnerProps extends DivProps {
|
|
317
317
|
}
|
318
318
|
declare function Spinner({ className, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
319
319
|
|
320
|
+
/**
|
321
|
+
* TableColumn
|
322
|
+
* A TableColumn is a definition of a column in a table.
|
323
|
+
*/
|
324
|
+
type TableColumn<T> = {
|
325
|
+
title?: string;
|
326
|
+
dataIndex: keyof T;
|
327
|
+
render?: (value: T[keyof T], record: T, index: number) => react__default.ReactNode;
|
328
|
+
};
|
329
|
+
interface HTMLTableCellProps extends Omit<TdHTMLAttributes<HTMLTableCellElement>, 'color' | 'height' | 'width'> {
|
330
|
+
}
|
331
|
+
interface TableCellProps extends UniversalTextProps, HTMLTableCellProps {
|
332
|
+
/** asHeaderCell will return a th element instead of a td element.
|
333
|
+
* If asHeaderCell is row, it will return a th element with scope="row"
|
334
|
+
* @default false
|
335
|
+
*/
|
336
|
+
asHeaderCell?: boolean | 'column' | 'row';
|
337
|
+
}
|
338
|
+
/**
|
339
|
+
* Table component props
|
340
|
+
* @template T The type of data in the table.
|
341
|
+
*/
|
342
|
+
type TableProps<T> = {
|
343
|
+
/** An array of data for the table. Each item represents a row in the table.
|
344
|
+
* The keys of each item should match the `dataIndex` of the columns.
|
345
|
+
*/
|
346
|
+
data: T[];
|
347
|
+
/** An array of columns for the table. Each item defines a column in the table.
|
348
|
+
* The `dataIndex` should match the key of the data item.
|
349
|
+
*/
|
350
|
+
columns: TableColumn<T>[];
|
351
|
+
};
|
352
|
+
/**
|
353
|
+
* The Table component renders a table with the given data and columns.
|
354
|
+
* If you want more control over the table, or want to handle virtualization,
|
355
|
+
* drag-n-drop, etc, Please can use the sub-components directly and build your own!
|
356
|
+
*/
|
357
|
+
declare function Table<T>({ data, columns }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
358
|
+
declare namespace Table {
|
359
|
+
var Root: react__default.ForwardRefExoticComponent<react__default.TableHTMLAttributes<HTMLTableElement> & BoxProps & {
|
360
|
+
/** Sets whether an element is treated as a block or inline box and the
|
361
|
+
* layout used for its children, such as flow layout, grid or flex.
|
362
|
+
* @default "table"
|
363
|
+
*/
|
364
|
+
display?: Display | undefined;
|
365
|
+
} & {
|
366
|
+
children?: react__default.ReactNode;
|
367
|
+
} & react__default.RefAttributes<HTMLTableElement>>;
|
368
|
+
var Row: react__default.ForwardRefExoticComponent<react__default.HTMLAttributes<HTMLTableRowElement> & BoxProps & {
|
369
|
+
children?: react__default.ReactNode;
|
370
|
+
} & react__default.RefAttributes<HTMLTableRowElement>>;
|
371
|
+
var Header: react__default.ForwardRefExoticComponent<react__default.HTMLAttributes<HTMLTableSectionElement> & BoxProps & {
|
372
|
+
children?: react__default.ReactNode;
|
373
|
+
} & react__default.RefAttributes<HTMLTableSectionElement>>;
|
374
|
+
var Body: react__default.ForwardRefExoticComponent<react__default.HTMLAttributes<HTMLTableSectionElement> & BoxProps & {
|
375
|
+
children?: react__default.ReactNode;
|
376
|
+
} & react__default.RefAttributes<HTMLTableSectionElement>>;
|
377
|
+
var Cell: react__default.ForwardRefExoticComponent<TableCellProps & {
|
378
|
+
children?: react__default.ReactNode;
|
379
|
+
} & react__default.RefAttributes<HTMLTableCellElement | HTMLTableHeaderCellElement>>;
|
380
|
+
}
|
381
|
+
|
320
382
|
interface TabProps extends React.PropsWithChildren {
|
321
383
|
asChild?: boolean;
|
322
384
|
value: string;
|
@@ -597,4 +659,4 @@ declare const getStyles: (props?: ({
|
|
597
659
|
className?: string | undefined;
|
598
660
|
}) | undefined) => string;
|
599
661
|
|
600
|
-
export { Accordion, type AccordionProps, Avatar, type AvatarProps, Box, type BoxProps, Button, type ButtonProps, ButtonSize, ButtonVariant, Chip, type ChipProps, Dropdown, DropdownItem, DropdownItemPressable, type DropdownItemPressableProps, type DropdownItemProps, DropdownItems, type DropdownItemsProps, type DropdownProps, DropdownTrigger, type DropdownTriggerProps, ForegroundColor, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, IconName, type IconProps, Image, type ImageProps, Modal, ModalDismiss, ModalHeader, type ModalProps, Overflow, Popover, PopoverAnchor, PopoverArrow, PopoverDescription, PopoverDisclosure, PopoverDisclosureArrow, PopoverDismiss, PopoverHeading, type PopoverHeadingProps, PopoverProvider, Pressable, type PressableProps, Spinner, type SpinnerProps, Tab, TabList, TabPanel, type TabProps, Tabs, Text, TextInput, TextInputGroup, type TextInputGroupProps, TextInputLabel, type TextInputLabelProps, type TextInputProps, type TextProps, ToastContainer, UniversalAvatarProps, UniversalBoxProps, UniversalButtonProps, UniversalIconButtonProps, UniversalIconProps, UniversalImageProps, UniversalPressableProps, UniversalStackProps, UniversalTextInputProps, UniversalTextProps, VStack, type VStackProps, cva, cx, getStyles, useModalStore };
|
662
|
+
export { Accordion, type AccordionProps, Avatar, type AvatarProps, Box, type BoxProps, Button, type ButtonProps, ButtonSize, ButtonVariant, Chip, type ChipProps, Display, Dropdown, DropdownItem, DropdownItemPressable, type DropdownItemPressableProps, type DropdownItemProps, DropdownItems, type DropdownItemsProps, type DropdownProps, DropdownTrigger, type DropdownTriggerProps, ForegroundColor, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, IconName, type IconProps, Image, type ImageProps, Modal, ModalDismiss, ModalHeader, type ModalProps, Overflow, Popover, PopoverAnchor, PopoverArrow, PopoverDescription, PopoverDisclosure, PopoverDisclosureArrow, PopoverDismiss, PopoverHeading, type PopoverHeadingProps, PopoverProvider, Pressable, type PressableProps, Spinner, type SpinnerProps, Tab, TabList, TabPanel, type TabProps, Table, type TableProps, Tabs, Text, TextInput, TextInputGroup, type TextInputGroupProps, TextInputLabel, type TextInputLabelProps, type TextInputProps, type TextProps, ToastContainer, UniversalAvatarProps, UniversalBoxProps, UniversalButtonProps, UniversalIconButtonProps, UniversalIconProps, UniversalImageProps, UniversalPressableProps, UniversalStackProps, UniversalTextInputProps, UniversalTextProps, VStack, type VStackProps, cva, cx, getStyles, useModalStore };
|
package/dist/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
|
-
import { k as UniversalAvatarProps, l as UniversalBoxProps, m as UniversalPressableProps, n as UniversalButtonProps, ay as IconName, p as UniversalTextProps, aK as Overflow, ab as ButtonVariant, aa as ButtonSize, o as UniversalStackProps, q as UniversalIconProps, r as UniversalIconButtonProps, au as ForegroundColor, j as UniversalImageProps, b0 as UniversalTextInputProps } from './types-
|
3
|
-
export { _ as AlwaysPalette, $ as AlwaysPaletteAlias, a0 as Animation, a1 as AriaAttribute, a2 as AspectRatio, a3 as AspectRatioConfig, a4 as AvatarSize, G as AvatarSizeConfig, a5 as BackgroundColor, d as BackgroundPalette, a6 as BackgroundPaletteAlias, v as BackgroundStyleProps, e as BackgroundWashPalette, a7 as BackgroundWashPaletteAlias, w as BorderStyleProps, a8 as BorderWidth, B as BorderWidthConfig, a9 as BoxShadowConfig, C as ColorMode, s as ColorModeForApp, a as ColorsConfig, ac as ConfigurableTextProperty, c as CorePalette, ad as CorePaletteAlias, D as CustomSizingStyleProps, ae as DataAttribute,
|
2
|
+
import { k as UniversalAvatarProps, l as UniversalBoxProps, m as UniversalPressableProps, n as UniversalButtonProps, ay as IconName, p as UniversalTextProps, aK as Overflow, ab as ButtonVariant, aa as ButtonSize, o as UniversalStackProps, q as UniversalIconProps, r as UniversalIconButtonProps, au as ForegroundColor, j as UniversalImageProps, af as Display, b0 as UniversalTextInputProps } from './types-_E6o7OhU.js';
|
3
|
+
export { _ as AlwaysPalette, $ as AlwaysPaletteAlias, a0 as Animation, a1 as AriaAttribute, a2 as AspectRatio, a3 as AspectRatioConfig, a4 as AvatarSize, G as AvatarSizeConfig, a5 as BackgroundColor, d as BackgroundPalette, a6 as BackgroundPaletteAlias, v as BackgroundStyleProps, e as BackgroundWashPalette, a7 as BackgroundWashPaletteAlias, w as BorderStyleProps, a8 as BorderWidth, B as BorderWidthConfig, a9 as BoxShadowConfig, C as ColorMode, s as ColorModeForApp, a as ColorsConfig, ac as ConfigurableTextProperty, c as CorePalette, ad as CorePaletteAlias, D as CustomSizingStyleProps, ae as DataAttribute, h as Elevation, E as ElevationConfig, ag as ElevationPaletteAlias, ah as Flex, ai as FlexAlignContent, aj as FlexAlignItems, ak as FlexAlignSelf, al as FlexBasis, am as FlexDirection, an as FlexGrow, ao as FlexJustifyContent, ap as FlexShrink, y as FlexStyleProps, aq as FlexWrap, Q as FontFamilyConfig, ar as FontFamilyGlobalAlias, i as FontFamilyGlobalConfig, as as FontSize, R as FontSizeConfig, f as FontWeightConfig, at as FontWeightDescriptive, g as FontWeightNumeric, F as ForegroundPalette, av as ForegroundPaletteAlias, aw as Height, ax as HighContrastMode, H as Hue, b as HueStep, az as IconSize, J as IconSizeConfig, I as ImageStyleProps, x as LayoutStyleProps, aA as LetterSpacing, aB as LineClampAlias, aC as LineColor, aD as LineHeight, V as LineHeightConfig, L as LinePalette, aE as LinePaletteAlias, aF as MaxHeight, aG as MaxWidth, aH as MinHeight, aI as MinWidth, M as Modes, aJ as Opacity, O as OpacityStyleProps, aL as Palette, aM as PaletteConfig, aN as PaletteType, P as PaletteValue, aO as PlatformMode, aP as Position, aQ as RegionMode, aR as ScaleConfig, S as ScaleMode, u as ScaleModeConfig, t as ScaleModeForApp, aS as Shape, N as ShapeConfig, A as SizingStyleProps, aT as SpacingAlias, K as SpacingConfig, z as SpacingStyleProps, aU as SpectrumColor, aV as SpectrumConfig, aW as StateStyleProps, X as StyleProps, T as TextStyleProps, aX as TextTransform, W as TextTransformConfig, aY as TextVariant, aZ as TransitionDelay, a_ as TransitionDuration, a$ as TransitionTiming, U as UniversalTokensConfig, b1 as Width, b2 as ZIndex, Z as ZIndexConfig, Y as alwaysPalette } from './types-_E6o7OhU.js';
|
4
4
|
import * as react from 'react';
|
5
|
-
import react__default, { PropsWithChildren } from 'react';
|
5
|
+
import react__default, { PropsWithChildren, TdHTMLAttributes } from 'react';
|
6
6
|
import * as _ariakit_react from '@ariakit/react';
|
7
7
|
import { PopoverProviderProps, PopoverProps, DialogProps, useDialogStore, DialogStore, DialogDismiss, Popover as Popover$1, PopoverArrow as PopoverArrow$1, PopoverAnchor as PopoverAnchor$1, PopoverDescription as PopoverDescription$1, PopoverDismiss as PopoverDismiss$1, PopoverProvider as PopoverProvider$1, PopoverDisclosure as PopoverDisclosure$1, PopoverDisclosureArrow as PopoverDisclosureArrow$1, TabProviderProps, TabListProps, TabPanelProps } from '@ariakit/react';
|
8
8
|
export { DialogStore as ModalStore, TabListProps, TabPanelProps, TabProviderProps as TabsProps, usePopoverStore } from '@ariakit/react';
|
@@ -10,7 +10,7 @@ import { ToastContainerProps } from 'react-toastify';
|
|
10
10
|
export { toast } from 'react-toastify';
|
11
11
|
import { a as CX, C as CVA } from './types-3GXulqnG.js';
|
12
12
|
export { S as SetState } from './types-3GXulqnG.js';
|
13
|
-
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-
|
13
|
+
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-hIYZ_ma-.js';
|
14
14
|
export { AVATAR_SIZE_PREFIX, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, ICON_SIZE_PREFIX, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, SHAPE_PREFIX, SMALL_SCALE_MODE_CLASSNAME, SPACING_PREFIX, SPECTRUM_COLOR_PREFIX, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, entries, getColorModeClassName, getScaleModeClassName } from './tokens/index.js';
|
15
15
|
|
16
16
|
interface AccordionProps extends React.PropsWithChildren {
|
@@ -317,6 +317,68 @@ interface SpinnerProps extends DivProps {
|
|
317
317
|
}
|
318
318
|
declare function Spinner({ className, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
319
319
|
|
320
|
+
/**
|
321
|
+
* TableColumn
|
322
|
+
* A TableColumn is a definition of a column in a table.
|
323
|
+
*/
|
324
|
+
type TableColumn<T> = {
|
325
|
+
title?: string;
|
326
|
+
dataIndex: keyof T;
|
327
|
+
render?: (value: T[keyof T], record: T, index: number) => react__default.ReactNode;
|
328
|
+
};
|
329
|
+
interface HTMLTableCellProps extends Omit<TdHTMLAttributes<HTMLTableCellElement>, 'color' | 'height' | 'width'> {
|
330
|
+
}
|
331
|
+
interface TableCellProps extends UniversalTextProps, HTMLTableCellProps {
|
332
|
+
/** asHeaderCell will return a th element instead of a td element.
|
333
|
+
* If asHeaderCell is row, it will return a th element with scope="row"
|
334
|
+
* @default false
|
335
|
+
*/
|
336
|
+
asHeaderCell?: boolean | 'column' | 'row';
|
337
|
+
}
|
338
|
+
/**
|
339
|
+
* Table component props
|
340
|
+
* @template T The type of data in the table.
|
341
|
+
*/
|
342
|
+
type TableProps<T> = {
|
343
|
+
/** An array of data for the table. Each item represents a row in the table.
|
344
|
+
* The keys of each item should match the `dataIndex` of the columns.
|
345
|
+
*/
|
346
|
+
data: T[];
|
347
|
+
/** An array of columns for the table. Each item defines a column in the table.
|
348
|
+
* The `dataIndex` should match the key of the data item.
|
349
|
+
*/
|
350
|
+
columns: TableColumn<T>[];
|
351
|
+
};
|
352
|
+
/**
|
353
|
+
* The Table component renders a table with the given data and columns.
|
354
|
+
* If you want more control over the table, or want to handle virtualization,
|
355
|
+
* drag-n-drop, etc, Please can use the sub-components directly and build your own!
|
356
|
+
*/
|
357
|
+
declare function Table<T>({ data, columns }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
358
|
+
declare namespace Table {
|
359
|
+
var Root: react__default.ForwardRefExoticComponent<react__default.TableHTMLAttributes<HTMLTableElement> & BoxProps & {
|
360
|
+
/** Sets whether an element is treated as a block or inline box and the
|
361
|
+
* layout used for its children, such as flow layout, grid or flex.
|
362
|
+
* @default "table"
|
363
|
+
*/
|
364
|
+
display?: Display | undefined;
|
365
|
+
} & {
|
366
|
+
children?: react__default.ReactNode;
|
367
|
+
} & react__default.RefAttributes<HTMLTableElement>>;
|
368
|
+
var Row: react__default.ForwardRefExoticComponent<react__default.HTMLAttributes<HTMLTableRowElement> & BoxProps & {
|
369
|
+
children?: react__default.ReactNode;
|
370
|
+
} & react__default.RefAttributes<HTMLTableRowElement>>;
|
371
|
+
var Header: react__default.ForwardRefExoticComponent<react__default.HTMLAttributes<HTMLTableSectionElement> & BoxProps & {
|
372
|
+
children?: react__default.ReactNode;
|
373
|
+
} & react__default.RefAttributes<HTMLTableSectionElement>>;
|
374
|
+
var Body: react__default.ForwardRefExoticComponent<react__default.HTMLAttributes<HTMLTableSectionElement> & BoxProps & {
|
375
|
+
children?: react__default.ReactNode;
|
376
|
+
} & react__default.RefAttributes<HTMLTableSectionElement>>;
|
377
|
+
var Cell: react__default.ForwardRefExoticComponent<TableCellProps & {
|
378
|
+
children?: react__default.ReactNode;
|
379
|
+
} & react__default.RefAttributes<HTMLTableCellElement | HTMLTableHeaderCellElement>>;
|
380
|
+
}
|
381
|
+
|
320
382
|
interface TabProps extends React.PropsWithChildren {
|
321
383
|
asChild?: boolean;
|
322
384
|
value: string;
|
@@ -597,4 +659,4 @@ declare const getStyles: (props?: ({
|
|
597
659
|
className?: string | undefined;
|
598
660
|
}) | undefined) => string;
|
599
661
|
|
600
|
-
export { Accordion, type AccordionProps, Avatar, type AvatarProps, Box, type BoxProps, Button, type ButtonProps, ButtonSize, ButtonVariant, Chip, type ChipProps, Dropdown, DropdownItem, DropdownItemPressable, type DropdownItemPressableProps, type DropdownItemProps, DropdownItems, type DropdownItemsProps, type DropdownProps, DropdownTrigger, type DropdownTriggerProps, ForegroundColor, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, IconName, type IconProps, Image, type ImageProps, Modal, ModalDismiss, ModalHeader, type ModalProps, Overflow, Popover, PopoverAnchor, PopoverArrow, PopoverDescription, PopoverDisclosure, PopoverDisclosureArrow, PopoverDismiss, PopoverHeading, type PopoverHeadingProps, PopoverProvider, Pressable, type PressableProps, Spinner, type SpinnerProps, Tab, TabList, TabPanel, type TabProps, Tabs, Text, TextInput, TextInputGroup, type TextInputGroupProps, TextInputLabel, type TextInputLabelProps, type TextInputProps, type TextProps, ToastContainer, UniversalAvatarProps, UniversalBoxProps, UniversalButtonProps, UniversalIconButtonProps, UniversalIconProps, UniversalImageProps, UniversalPressableProps, UniversalStackProps, UniversalTextInputProps, UniversalTextProps, VStack, type VStackProps, cva, cx, getStyles, useModalStore };
|
662
|
+
export { Accordion, type AccordionProps, Avatar, type AvatarProps, Box, type BoxProps, Button, type ButtonProps, ButtonSize, ButtonVariant, Chip, type ChipProps, Display, Dropdown, DropdownItem, DropdownItemPressable, type DropdownItemPressableProps, type DropdownItemProps, DropdownItems, type DropdownItemsProps, type DropdownProps, DropdownTrigger, type DropdownTriggerProps, ForegroundColor, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, IconName, type IconProps, Image, type ImageProps, Modal, ModalDismiss, ModalHeader, type ModalProps, Overflow, Popover, PopoverAnchor, PopoverArrow, PopoverDescription, PopoverDisclosure, PopoverDisclosureArrow, PopoverDismiss, PopoverHeading, type PopoverHeadingProps, PopoverProvider, Pressable, type PressableProps, Spinner, type SpinnerProps, Tab, TabList, TabPanel, type TabProps, Table, type TableProps, 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{a as Ge,b as x,c as ot,d as Ne}from"./chunk-MFA2Y7DA.js";import"./chunk-M346JMQS.js";import{a as Co,b as Do,c as na,d as sa,e as ia,f as pa,g as la,h as ca}from"./chunk-U3UPAQ7V.js";import{A as ta,B as ra,C as oa,D as aa,a as Ho,b as Bo,c as zo,d as Mo,e as No,f as Ro,g as Ao,h as Lo,i as Oo,j as Vo,k as Eo,l as Uo,m as Wo,n as Go,o as qo,p as Fo,q as Xo,r as _o,s as Zo,t as $o,u as Jo,v as Ko,w as Yo,x as Qo,y as jo,z as ea}from"./chunk-3I3D5S54.js";import{a as da}from"./chunk-74YHFBTD.js";import{a as So,c as Io}from"./chunk-AHFH5E5L.js";import{forwardRef as Mt}from"react";import{backgroundColors as kt,borderWidths as Tt,elevations as Ct,foregroundColors as St,lineColors as It,shapes as Dt,textVariants as nt}from"@yahoo/uds/fixtures";import Ht from"clsx";import{extendTailwindMerge as Bt}from"tailwind-merge";var at={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",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",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",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",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",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"},backgroundColorOnFocus:{accent:"focus:bg-accent",alert:"focus:bg-alert",black:"focus:bg-black",brand:"focus:bg-brand",positive:"focus:bg-positive",warning:"focus:bg-warning",white:"focus:bg-white","accent-wash":"focus:bg-accent-wash","alert-wash":"focus:bg-alert-wash","brand-wash":"focus:bg-brand-wash","elevation-1":"focus:bg-elevation-1","elevation-2":"focus:bg-elevation-2","elevation-3":"focus:bg-elevation-3","elevation-3-inverse":"focus:bg-elevation-3-inverse",overlay:"focus:bg-overlay","positive-wash":"focus:bg-positive-wash",primary:"focus:bg-primary",secondary:"focus:bg-secondary",transparent:"focus:bg-transparent","warning-wash":"focus: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"}};var zt=Bt({cacheSize:0,override:{classGroups:{"text-color":[{text:St}],"border-color":[{border:It}],"border-w":[{border:Tt}],"bg-color":[{bg:kt}],rounded:[{rounded:Dt}],"font-family":[{font:["icons",...nt]}],leading:[{leading:nt}],shadow:[{shadow:Ct}]},conflictingClassGroups:{}}}),f=(...t)=>{let e=Ht(t);return zt(e)},st=t=>e=>{if(!t?.variants)return f(t?.base,e?.className);let{variants:r,defaultVariants:o}=t,a=Object.keys(r).map(i=>{let p=e?.[i],c=o?.[i],m=Ge(p)||Ge(c);return r[i][m]}),n={...o,...e&&Object.entries(e).reduce((i,[p,c])=>typeof c>"u"?i:{...i,[p]:c},{})},l=t?.compoundVariants?.reduce((i,{className:p,...c})=>Object.entries(c).every(([m,u])=>n[m]===u)?f(i,p):i,"");return f(t?.base,a,l,e?.className)},s=st({variants:at});import{jsx as Rt}from"react/jsx-runtime";var Nt=x(),b=Mt(function({className:e,asChild:r=!1,size:o="l",color:a="primary",name:n,colorChecked:l,opacity:i,textAlign:p,backgroundColor:c,backgroundColorOnActive:m,backgroundColorOnHover:u,backgroundColorOnChecked:v,bordered:h,borderedTop:w,borderedBottom:P,borderedStart:k,borderedEnd:T,borderedHorizontal:C,borderedVertical:S,borderRadius:I,borderTopStartRadius:D,borderTopEndRadius:H,borderBottomStartRadius:B,borderBottomEndRadius:z,borderColor:M,borderColorOnActive:N,borderColorOnFocus:R,borderColorOnChecked:A,borderColorOnHover:L,borderStartColor:O,borderEndColor:V,borderTopColor:E,borderBottomColor:U,borderWidth:W,borderVerticalWidth:G,borderHorizontalWidth:q,borderStartWidth:F,borderEndWidth:X,borderTopWidth:_,borderBottomWidth:Z,alignContent:$,alignItems:J,alignSelf:K,flex:Y,flexDirection:Q,flexGrow:j,flexShrink:ee,flexWrap:te,justifyContent:re,flexBasis:oe,display:ae,zIndex:ne,overflow:se,overflowX:ie,overflowY:pe,position:le,spacing:ce,spacingHorizontal:de,spacingVertical:me,spacingBottom:be,spacingEnd:fe,spacingStart:ge,spacingTop:ue,offset:ye,offsetVertical:ve,offsetHorizontal:he,offsetBottom:xe,offsetEnd:we,offsetStart:Pe,offsetTop:ke,columnGap:Te,rowGap:Ce,height:Se,minHeight:Ie,maxHeight:De,width:He,minWidth:Be,maxWidth:Me,...Re},Ve){let Ue=r?Nt:"span",We=s({iconSize:o,color:a,colorChecked:l,opacity:i,fontFamily:"icons",textAlign:p,backgroundColor:c,backgroundColorOnActive:m,backgroundColorOnHover:u,backgroundColorOnChecked:v,bordered:h,borderedTop:w,borderedBottom:P,borderedStart:k,borderedEnd:T,borderedHorizontal:C,borderedVertical:S,borderRadius:I,borderTopStartRadius:D,borderTopEndRadius:H,borderBottomStartRadius:B,borderBottomEndRadius:z,borderColor:M,borderColorOnActive:N,borderColorOnFocus:R,borderColorOnChecked:A,borderColorOnHover:L,borderStartColor:O,borderEndColor:V,borderTopColor:E,borderBottomColor:U,borderWidth:W,borderVerticalWidth:G,borderHorizontalWidth:q,borderStartWidth:F,borderEndWidth:X,borderTopWidth:_,borderBottomWidth:Z,alignContent:$,alignItems:J,alignSelf:K,flex:Y,flexDirection:Q,flexGrow:j,flexShrink:ee,flexWrap:te,justifyContent:re,flexBasis:oe,display:ae,zIndex:ne,overflow:se,overflowX:ie,overflowY:pe,position:le,spacing:ce,spacingHorizontal:de,spacingVertical:me,spacingBottom:be,spacingEnd:fe,spacingStart:ge,spacingTop:ue,offset:ye,offsetVertical:ve,offsetHorizontal:he,offsetBottom:xe,offsetEnd:we,offsetStart:Pe,offsetTop:ke,columnGap:Te,rowGap:Ce,height:Se,minHeight:Ie,maxHeight:De,width:He,minWidth:Be,maxWidth:Me,className:e});return Rt(Ue,{className:We,ref:Ve,...Re,children:n})});import{forwardRef as At}from"react";import{jsx as Ot}from"react/jsx-runtime";var Lt=x(),g=At(function({className:e,asChild:r,onPress:o,onClick:a=o,backgroundColor:n,backgroundColorOnActive:l,backgroundColorOnHover:i,backgroundColorOnChecked:p,elevation:c,opacity:m,bordered:u,borderedTop:v,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:T,borderRadius:C,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:z,borderColorOnFocus:M,borderColorOnChecked:N,borderColorOnHover:R,borderStartColor:A,borderEndColor:L,borderTopColor:O,borderBottomColor:V,borderWidth:E,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:X,alignContent:_,alignItems:Z,alignSelf:$,flex:J,flexDirection:K,flexGrow:Y,flexShrink:Q,flexWrap:j,justifyContent:ee,flexBasis:te,display:re,zIndex:oe,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:pe,spacingHorizontal:le,spacingVertical:ce,spacingBottom:de,spacingEnd:me,spacingStart:be,spacingTop:fe,offset:ge,offsetVertical:ue,offsetHorizontal:ye,offsetBottom:ve,offsetEnd:he,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,height:Te,minHeight:Ce,maxHeight:Se,width:Ie,minWidth:De,maxWidth:He,...Be},Me){let Re=s({backgroundColor:n,backgroundColorOnActive:l,backgroundColorOnHover:i,backgroundColorOnChecked:p,elevation:c,opacity:m,bordered:u,borderedTop:v,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:T,borderRadius:C,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:z,borderColorOnFocus:M,borderColorOnChecked:N,borderColorOnHover:R,borderStartColor:A,borderEndColor:L,borderTopColor:O,borderBottomColor:V,borderWidth:E,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:X,alignContent:_,alignItems:Z,alignSelf:$,flex:J,flexDirection:K,flexGrow:Y,flexShrink:Q,flexWrap:j,justifyContent:ee,flexBasis:te,display:re,zIndex:oe,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:pe,spacingHorizontal:le,spacingVertical:ce,spacingBottom:de,spacingEnd:me,spacingStart:be,spacingTop:fe,offset:ge,offsetVertical:ue,offsetHorizontal:ye,offsetBottom:ve,offsetEnd:he,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,height:Te,minHeight:Ce,maxHeight:Se,width:Ie,minWidth:De,maxWidth:He,className:e});return Ot(r?Lt:"button",{className:Re,ref:Me,onClick:a,...Be})});import{forwardRef as Vt}from"react";import{jsx as Wt}from"react/jsx-runtime";var Et=x(),Ut={display1:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},d=Vt(function({className:e,asChild:r,color:o="primary",colorChecked:a,variant:n="body1",as:l=Ut[n],fontSize:i=n,fontFamily:p=n,fontWeight:c=n,lineHeight:m=n,textTransform:u=n,textAlign:v,backgroundColor:h,backgroundColorOnActive:w,backgroundColorOnHover:P,backgroundColorOnChecked:k,opacity:T,bordered:C,borderedTop:S,borderedBottom:I,borderedStart:D,borderedEnd:H,borderedHorizontal:B,borderedVertical:z,borderRadius:M,borderTopStartRadius:N,borderTopEndRadius:R,borderBottomStartRadius:A,borderBottomEndRadius:L,borderColor:O,borderColorOnActive:V,borderColorOnFocus:E,borderColorOnChecked:U,borderColorOnHover:W,borderStartColor:G,borderEndColor:q,borderTopColor:F,borderBottomColor:X,borderWidth:_,borderVerticalWidth:Z,borderHorizontalWidth:$,borderStartWidth:J,borderEndWidth:K,borderTopWidth:Y,borderBottomWidth:Q,alignContent:j,alignItems:ee,alignSelf:te,flex:re,flexDirection:oe,flexGrow:ae,flexShrink:ne,flexWrap:se,justifyContent:ie,flexBasis:pe,display:le,zIndex:ce,overflow:de,overflowX:me,overflowY:be,position:fe,spacing:ge,spacingHorizontal:ue,spacingVertical:ye,spacingBottom:ve,spacingEnd:he,spacingStart:xe,spacingTop:we,offset:Pe,offsetVertical:ke,offsetHorizontal:Te,offsetBottom:Ce,offsetEnd:Se,offsetStart:Ie,offsetTop:De,columnGap:He,rowGap:Be,height:Me,minHeight:Re,maxHeight:Ve,width:Ue,minWidth:We,maxWidth:ht,...xt},wt){let Pt=s({className:e,color:o,colorChecked:a,fontFamily:p,fontSize:i,fontWeight:c,lineHeight:m,textTransform:u,textAlign:v,backgroundColor:h,backgroundColorOnActive:w,backgroundColorOnHover:P,backgroundColorOnChecked:k,opacity:T,bordered:C,borderedTop:S,borderedBottom:I,borderedStart:D,borderedEnd:H,borderedHorizontal:B,borderedVertical:z,borderRadius:M,borderTopStartRadius:N,borderTopEndRadius:R,borderBottomStartRadius:A,borderBottomEndRadius:L,borderColor:O,borderColorOnActive:V,borderColorOnFocus:E,borderColorOnChecked:U,borderColorOnHover:W,borderStartColor:G,borderEndColor:q,borderTopColor:F,borderBottomColor:X,borderWidth:_,borderVerticalWidth:Z,borderHorizontalWidth:$,borderStartWidth:J,borderEndWidth:K,borderTopWidth:Y,borderBottomWidth:Q,alignContent:j,alignItems:ee,alignSelf:te,flex:re,flexDirection:oe,flexGrow:ae,flexShrink:ne,flexWrap:se,justifyContent:ie,flexBasis:pe,display:le,zIndex:ce,overflow:de,overflowX:me,overflowY:be,position:fe,spacing:ge,spacingHorizontal:ue,spacingVertical:ye,spacingBottom:ve,spacingEnd:he,spacingStart:xe,spacingTop:we,offset:Pe,offsetVertical:ke,offsetHorizontal:Te,offsetBottom:Ce,offsetEnd:Se,offsetStart:Ie,offsetTop:De,columnGap:He,rowGap:Be,height:Me,minHeight:Re,maxHeight:Ve,width:Ue,minWidth:We,maxWidth:ht});return Wt(r?Et:l,{className:Pt,ref:wt,...xt})});import{forwardRef as Xt}from"react";import{forwardRef as Gt}from"react";import{jsx as Ft}from"react/jsx-runtime";var qt=x(),Ae=Gt(function({asChild:e,className:r,elevation:o,backgroundColor:a=o?`elevation-${o}`:void 0,backgroundColorOnActive:n,backgroundColorOnHover:l,backgroundColorOnChecked:i,opacity:p,bordered:c,borderedTop:m,borderedBottom:u,borderedStart:v,borderedEnd:h,borderedHorizontal:w,borderedVertical:P,borderRadius:k,borderTopStartRadius:T,borderTopEndRadius:C,borderBottomStartRadius:S,borderBottomEndRadius:I,borderColor:D,borderColorOnActive:H,borderColorOnFocus:B,borderColorOnChecked:z,borderColorOnHover:M,borderStartColor:N,borderEndColor:R,borderTopColor:A,borderBottomColor:L,borderWidth:O,borderVerticalWidth:V,borderHorizontalWidth:E,borderStartWidth:U,borderEndWidth:W,borderTopWidth:G,borderBottomWidth:q,alignContent:F,alignItems:X,alignSelf:_,flex:Z,flexDirection:$,flexGrow:J,flexShrink:K,flexWrap:Y,justifyContent:Q,flexBasis:j,display:ee="flex",zIndex:te,overflow:re,overflowX:oe,overflowY:ae,position:ne,spacing:se,spacingHorizontal:ie,spacingVertical:pe,spacingBottom:le,spacingEnd:ce,spacingStart:de,spacingTop:me,offset:be,offsetVertical:fe,offsetHorizontal:ge,offsetBottom:ue,offsetEnd:ye,offsetStart:ve,offsetTop:he,columnGap:xe,rowGap:we,height:Pe,minHeight:ke,maxHeight:Te,width:Ce,minWidth:Se,maxWidth:Ie,...De},He){let Be=s({elevation:o,backgroundColor:a,backgroundColorOnActive:n,backgroundColorOnHover:l,backgroundColorOnChecked:i,opacity:p,bordered:c,borderedTop:m,borderedBottom:u,borderedStart:v,borderedEnd:h,borderedHorizontal:w,borderedVertical:P,borderRadius:k,borderTopStartRadius:T,borderTopEndRadius:C,borderBottomStartRadius:S,borderBottomEndRadius:I,borderColor:D,borderColorOnActive:H,borderColorOnFocus:B,borderColorOnChecked:z,borderColorOnHover:M,borderStartColor:N,borderEndColor:R,borderTopColor:A,borderBottomColor:L,borderWidth:O,borderVerticalWidth:V,borderHorizontalWidth:E,borderStartWidth:U,borderEndWidth:W,borderTopWidth:G,borderBottomWidth:q,alignContent:F,alignItems:X,alignSelf:_,flex:Z,flexDirection:$,flexGrow:J,flexShrink:K,flexWrap:Y,justifyContent:Q,flexBasis:j,display:ee,zIndex:te,overflow:re,overflowX:oe,overflowY:ae,position:ne,spacing:se,spacingHorizontal:ie,spacingVertical:pe,spacingBottom:le,spacingEnd:ce,spacingStart:de,spacingTop:me,offset:be,offsetVertical:fe,offsetHorizontal:ge,offsetBottom:ue,offsetEnd:ye,offsetStart:ve,offsetTop:he,columnGap:xe,rowGap:we,height:Pe,minHeight:ke,maxHeight:Te,width:Ce,minWidth:Se,maxWidth:Ie,className:r});return Ft(e?qt:"div",{className:Be,ref:He,...De})});import{jsx as _t}from"react/jsx-runtime";var y=Xt(function({gap:e,...r},o){return _t(Ae,{ref:o,flexDirection:"column",columnGap:e,rowGap:e,...r})});import{Fragment as $t,jsx as qe,jsxs as it}from"react/jsx-runtime";function Zt({label:t,children:e,onClick:r,open:o}){return it($t,{children:[it(g,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:"8",width:"full",onClick:r,children:[qe(d,{variant:"title4",children:t}),qe(b,{name:o?"chevronDown":"chevronUp",size:"s"})]}),qe(y,{spacingHorizontal:"8",children:o&&e})]})}import{jsx as Kt}from"react/jsx-runtime";function Jt({size:t,shape:e,src:r,alt:o,...a}){let n=s({...ot,avatarSize:t,borderRadius:e});return Kt("img",{src:r,alt:o,className:n,...a})}import{forwardRef as Yt}from"react";import{jsx as Fe,jsxs as Qt}from"react/jsx-runtime";var Xe=Yt(function({variant:e="accent",size:r,startIcon:o,endIcon:a,children:n,...l},i){let p=Ne({variant:e,size:r}),c=o?Fe(b,{name:o,...p.icon}):null,m=a?Fe(b,{name:a,...p.icon}):null;return Qt(g,{...p.pressable,ref:i,...l,children:[c,Fe(d,{...p.text,children:n}),m]})});import{jsx as _e,jsxs as tr}from"react/jsx-runtime";var pt={accent:"on-color",secondary:"primary"},jt={accent:"on-color",secondary:"tertiary"};function er({children:t,variant:e,startIcon:r,startContent:o=r?_e(b,{name:r,size:"s",color:pt[e]}):null,endIcon:a,endContent:n=a?_e(b,{name:a,size:"s",color:pt[e]}):null}){return tr(g,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"circle",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[o,_e(d,{variant:"label2",color:jt[e],children:t}),n]})}import{Popover as ar,PopoverAnchor as nr,PopoverArrow as sr,PopoverDescription as ir,PopoverDisclosure as pr,PopoverDisclosureArrow as lr,PopoverDismiss as cr,PopoverHeading as dr,PopoverProvider as mr,usePopoverStore as Ze}from"@ariakit/react";import{forwardRef as rr}from"react";import{jsx as or}from"react/jsx-runtime";var Le=rr(function({gap:e,...r},o){return or(Ae,{ref:o,flexDirection:"row",rowGap:e,columnGap:e,...r})});import{jsx as lt,jsxs as vr}from"react/jsx-runtime";function br({children:t,leading:e,trailing:r}){return vr(Le,{children:[e,lt(d,{variant:"headline1",asChild:!0,children:lt(dr,{children:t})}),r]})}var $e=ar,Je=sr,fr=nr,gr=ir,ur=cr,Ke=mr,Ye=pr,yr=lr;var hr=Ke;import{jsx as Ee,jsxs as ct}from"react/jsx-runtime";function xr({title:t,description:e,_title:r,_description:o,startIcon:a,endIcon:n,...l}){return ct(Qe,{...l,children:[a&&Ee(b,{name:a,size:"s"}),ct(y,{gap:"3",alignItems:"flex-start",children:[t&&Ee(d,{variant:"headline1",...r,children:t}),e&&Ee(d,{variant:"label2",color:"muted",...o,children:e})]}),n&&Ee(b,{name:n,size:"s"})]})}import{forwardRef as wr,useCallback as Pr}from"react";import{jsx as kr}from"react/jsx-runtime";var Qe=wr(function({children:e,onClick:r,...o},a){let n=Ze(),l=Pr(i=>{i.preventDefault(),r?.(()=>n.setOpen(!1))},[r,n]);return kr(g,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:"hover:bg-gray-2",onClick:r?l:void 0,ref:a,...o,children:e})});import{forwardRef as Tr}from"react";import{jsx as dt,jsxs as Sr}from"react/jsx-runtime";var Cr=Tr(function({children:e,className:r,overflow:o="scroll",...a},n){return dt(y,{borderRadius:"l",elevation:"3",className:f("min-w-[220px] max-h-[312px]",r),overflow:o,spacingVertical:"4",asChild:!0,children:Sr($e,{preventBodyScroll:!0,...a,ref:n,children:[dt(Je,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})});import{jsx as mt}from"react/jsx-runtime";function Ir({children:t,variant:e,size:r,...o}){let a=Ne({variant:e,size:r}),n=e?a.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return mt(g,{...n,...o,asChild:!0,children:mt(Ye,{children:t})})}import{forwardRef as Dr}from"react";import{jsx as bt}from"react/jsx-runtime";var Hr={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},je=Dr(function({variant:e="accent",size:r="s",name:o,className:a,color:n,...l},i){let p=Ne({variant:e,size:r});return bt(g,{...p.pressable,spacingHorizontal:p.pressable.spacingVertical,ref:i,className:f("leading-[0px]",Hr[r],a),...l,children:bt(b,{name:o,...p.icon,color:n})})});import{jsx as zr}from"react/jsx-runtime";function Br({width:t,height:e,src:r,alt:o,contentFit:a="cover",elevation:n,backgroundColor:l=n?`elevation-${n}`:"primary",backgroundColorOnActive:i,backgroundColorOnHover:p,backgroundColorOnChecked:c,opacity:m,bordered:u,borderedTop:v,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:T,borderRadius:C,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:z,borderColorOnFocus:M,borderColorOnChecked:N,borderColorOnHover:R,borderStartColor:A,borderEndColor:L,borderTopColor:O,borderBottomColor:V,borderWidth:E,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:X,alignContent:_,alignItems:Z,alignSelf:$,flex:J,flexDirection:K,flexGrow:Y,flexShrink:Q="0",flexWrap:j,justifyContent:ee,flexBasis:te,display:re="flex",zIndex:oe,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:pe,spacingHorizontal:le,spacingVertical:ce,spacingBottom:de,spacingEnd:me,spacingStart:be,spacingTop:fe,offset:ge,offsetVertical:ue,offsetHorizontal:ye,offsetBottom:ve,offsetEnd:he,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,minHeight:Te,maxHeight:Ce,minWidth:Se,maxWidth:Ie,...De}){let He=s({contentFit:a,elevation:n,backgroundColor:l,backgroundColorOnActive:i,backgroundColorOnHover:p,backgroundColorOnChecked:c,opacity:m,bordered:u,borderedTop:v,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:T,borderRadius:C,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:z,borderColorOnFocus:M,borderColorOnChecked:N,borderColorOnHover:R,borderStartColor:A,borderEndColor:L,borderTopColor:O,borderBottomColor:V,borderWidth:E,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:X,alignContent:_,alignItems:Z,alignSelf:$,flex:J,flexDirection:K,flexGrow:Y,flexShrink:Q,flexWrap:j,justifyContent:ee,flexBasis:te,display:re,zIndex:oe,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:pe,spacingHorizontal:le,spacingVertical:ce,spacingBottom:de,spacingEnd:me,spacingStart:be,spacingTop:fe,offset:ge,offsetVertical:ue,offsetHorizontal:ye,offsetBottom:ve,offsetEnd:he,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,minHeight:Te,maxHeight:Ce,minWidth:Se,maxWidth:Ie});return zr("img",{src:r,alt:o,className:He,style:{objectPosition:"left",width:t,height:e},...De})}import{Dialog as Mr,DialogDismiss as Nr,useDialogStore as Rr}from"@ariakit/react";import{jsx as Oe,jsxs as Er}from"react/jsx-runtime";function Ar(t){return Rr({animated:!0,...t})}function Lr({children:t,handleClose:e}){return Er(Le,{alignItems:"center",justifyContent:"space-between",children:[Oe(d,{variant:"headline1",children:t}),Oe(Xe,{variant:"accent-ghost",size:"m",spacingEnd:"0",spacingVertical:"0",onClick:e,children:"close"})]})}function Or({className:t,...e}){return Oe(y,{borderRadius:"m",elevation:"3",position:"fixed",height:"fit",zIndex:"50",className:f("top-[250px] w-[600px] inset-8 mx-auto origin-center scale-95 transition-all data-[enter]:opacity-100 duration-200 data-[enter]:scale-100",t),spacing:"8",asChild:!0,children:Oe(Mr,{backdrop:Oe("div",{className:"bg-overlay transition-opacity duration-200 data-[enter]:opacity-100"}),...e})})}var Vr=Nr;import{jsx as et,jsxs as ft}from"react/jsx-runtime";function Ur({className:t,...e}){return ft("div",{role:"status",className:`self-center ${t}`,...e,style:{width:8,maxWidth:8,height:8,maxHeight:8},children:[ft("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:[et("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"}),et("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"})]}),et("span",{className:"sr-only",children:"Loading..."})]})}import{Tab as Wr,TabList as Gr,TabPanel as qr,TabProvider as Fr,useTabContext as gt}from"@ariakit/react";import{forwardRef as ut}from"react";import{jsx as ze,jsxs as Kr}from"react/jsx-runtime";var Xr=x();function _r(t){return ze(Fr,{...t})}var Zr=ut(function({className:e,...r},o){let a=s({display:"flex",flexDirection:"row",columnGap:"7",className:e});return ze(Gr,{ref:o,...r,className:a})}),$r=function({asChild:e,label:r,value:o,startIcon:a}){let n=e?Xr:"a",l=s({}),i=gt();if(!i)throw new Error("Tab must be wrapped in a Tabs component");let p=i?.useState().activeId===o,c=p?"accent":"primary";return ze(Wr,{id:o,className:l,render:ze(n,{children:Kr(g,{borderColor:p?"accent":"transparent",borderBottomWidth:"4",spacingVertical:"6",flexDirection:"row",columnGap:"8",children:[a?ze(b,{name:a,color:c,size:"m"}):null,ze(d,{color:c,variant:"headline1",children:r})]})})})},Jr=ut(function(e,r){let o=gt();if(!o)throw new Error("TabPanel must be wrapped in a Tabs component");let a=o.useState("selectedId");return ze(qr,{ref:r,tabId:a,...e})});import{jsx as Yr}from"react/jsx-runtime";function tt({className:t,disabled:e,...r}){return Yr("input",{type:"text","data-1p-ignore":!0,className:f(s({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"}),t),disabled:e,...r})}import{jsx as Qr,jsxs as jr}from"react/jsx-runtime";function rt({children:t,required:e}){return jr(d,{variant:"caption2",children:[t,e&&Qr(d,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}import{jsx as yt,jsxs as to}from"react/jsx-runtime";function eo({label:t,required:e,...r}){return to(y,{gap:"4",width:"full",children:[yt(rt,{required:e,children:t}),yt(tt,{required:e,...r})]})}import{Slide as ro,toast as oo,ToastContainer as ao}from"react-toastify";import{jsx as vt}from"react/jsx-runtime";var no=s({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"}),so=s({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),io=s({backgroundColor:"positive"}),po=s({backgroundColor:"alert"}),lo=s({backgroundColor:"accent"}),co=s({backgroundColor:"warning"}),mo=s({backgroundColor:"elevation-3-inverse"}),bo=s({backgroundColor:"elevation-3-inverse"}),fo=s({backgroundColor:"positive-wash",color:"positive"}),go=s({backgroundColor:"alert-wash",color:"alert"}),uo=s({backgroundColor:"accent-wash",color:"accent"}),yo=s({backgroundColor:"warning-wash",color:"warning"}),vo=s({backgroundColor:"elevation-3-inverse",color:"on-color"}),ho=s({backgroundColor:"elevation-3-inverse",color:"on-color"}),xo=t=>{let{type:e="default"}=t??{},r={success:fo,error:go,info:uo,warning:yo,default:vo,dark:ho}[e];return f(no,r)};function wo(t){let{type:e="default",defaultClassName:r=""}=t??{},o={success:io,error:po,info:lo,warning:co,default:mo,dark:bo}[e],a=r.replace(/Toastify__progress-bar-theme--light/,"");return f(a,o)}function Po({closeToast:t,type:e}){let r={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return vt(je,{name:"close",size:"s",variant:"accent-ghost",color:r,onClick:t})}function ko(t){return vt(ao,{toastClassName:xo,bodyClassName:so,progressClassName:wo,transition:ro,closeButton:Po,...t})}export{No as AVATAR_SIZE_PREFIX,Zt as Accordion,Jt as Avatar,Ae as Box,Xe as Button,er as Chip,Uo as DARK_COLOR_MODE_CLASSNAME,ia as DEFAULT_COLOR_MODE,Jo as DEFAULT_COLOR_MODE_CLASSNAME,na as DEFAULT_COLOR_MODE_FOR_APP,la as DEFAULT_HIGH_CONTRAST_MODE,ca as DEFAULT_REGION_MODE,pa as DEFAULT_SCALE_MODE,Ko as DEFAULT_SCALE_MODE_CLASSNAME,sa as DEFAULT_SCALE_MODE_FOR_APP,hr as Dropdown,xr as DropdownItem,Qe as DropdownItemPressable,Cr as DropdownItems,Ir as DropdownTrigger,zo as FONT_FAMILY_PREFIX,jo as FONT_ICONS_CSS_VAR,ta as FONT_SANS_BETA_CSS_VAR,ra as FONT_SANS_CONDENSED_CSS_VAR,ea as FONT_SANS_CSS_VAR,oa as FONT_SERIF_DISPLAY_CSS_VAR,aa as FONT_SERIF_TEXT_CSS_VAR,Lo as FONT_SIZE_PREFIX,Vo as FONT_WEIGHT_PREFIX,Le as HStack,Mo as ICON_SIZE_PREFIX,b as Icon,je as IconButton,Br as Image,Xo as LARGE_SCALE_MODE_CLASSNAME,Wo as LIGHT_COLOR_MODE_CLASSNAME,Oo as LINE_HEIGHT_PREFIX,Fo as MEDIUM_SCALE_MODE_CLASSNAME,Or as Modal,Vr as ModalDismiss,Lr as ModalHeader,$e as Popover,fr as PopoverAnchor,Je as PopoverArrow,gr as PopoverDescription,Ye as PopoverDisclosure,yr as PopoverDisclosureArrow,ur as PopoverDismiss,br as PopoverHeading,Ke as PopoverProvider,g as Pressable,Ro as SHAPE_PREFIX,qo as SMALL_SCALE_MODE_CLASSNAME,Ao as SPACING_PREFIX,Bo as SPECTRUM_COLOR_PREFIX,Ur as Spinner,Eo as TEXT_TRANSFORM_PREFIX,$r as Tab,Zr as TabList,Jr as TabPanel,_r as Tabs,d as Text,tt as TextInput,eo as TextInputGroup,rt as TextInputLabel,ko as ToastContainer,Ho as UDS_PREFIX,y as VStack,_o as XLARGE_SCALE_MODE_CLASSNAME,Go as XSMALL_SCALE_MODE_CLASSNAME,Zo as XXLARGE_SCALE_MODE_CLASSNAME,$o as XXXLARGE_SCALE_MODE_CLASSNAME,Co as alwaysPalette,st as cva,f as cx,Do as defaultTokensConfig,da as entries,So as fontFamilyGlobal,Io as fontWeightMap,Yo as getColorModeClassName,Qo as getScaleModeClassName,s as getStyles,oo as toast,Ar as useModalStore,Ze as usePopoverStore};
|
1
|
+
import{a as Xe,b as P,c as st,d as Ne}from"./chunk-MFA2Y7DA.js";import"./chunk-M346JMQS.js";import{a as Ao,b as Vo,c as ua,d as ga,e as ya,f as ha,g as va,h as xa}from"./chunk-U3UPAQ7V.js";import{A as da,B as ba,C as ma,D as fa,a as Oo,b as Wo,c as Uo,d as Go,e as Fo,f as qo,g as Xo,h as _o,i as Zo,j as $o,k as Jo,l as Ko,m as Yo,n as Qo,o as jo,p as ea,q as ta,r as ra,s as oa,t as aa,u as na,v as sa,w as ia,x as la,y as pa,z as ca}from"./chunk-3I3D5S54.js";import{a as wa}from"./chunk-74YHFBTD.js";import{a as No,c as Eo}from"./chunk-AHFH5E5L.js";import{forwardRef as At}from"react";import{backgroundColors as St,borderWidths as It,elevations as Ht,foregroundColors as Dt,lineColors as Bt,shapes as Rt,textVariants as lt}from"@yahoo/uds/fixtures";import Mt from"clsx";import{extendTailwindMerge as Lt}from"tailwind-merge";var it={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",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",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",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",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",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"},backgroundColorOnFocus:{accent:"focus:bg-accent",alert:"focus:bg-alert",black:"focus:bg-black",brand:"focus:bg-brand",positive:"focus:bg-positive",warning:"focus:bg-warning",white:"focus:bg-white","accent-wash":"focus:bg-accent-wash","alert-wash":"focus:bg-alert-wash","brand-wash":"focus:bg-brand-wash","elevation-1":"focus:bg-elevation-1","elevation-2":"focus:bg-elevation-2","elevation-3":"focus:bg-elevation-3","elevation-3-inverse":"focus:bg-elevation-3-inverse",overlay:"focus:bg-overlay","positive-wash":"focus:bg-positive-wash",primary:"focus:bg-primary",secondary:"focus:bg-secondary",transparent:"focus:bg-transparent","warning-wash":"focus: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"}};var zt=Lt({cacheSize:0,override:{classGroups:{"text-color":[{text:Dt}],"border-color":[{border:Bt}],"border-w":[{border:It}],"bg-color":[{bg:St}],rounded:[{rounded:Rt}],"font-family":[{font:["icons",...lt]}],leading:[{leading:lt}],shadow:[{shadow:Ht}]},conflictingClassGroups:{}}}),u=(...r)=>{let e=Mt(r);return zt(e)},pt=r=>e=>{if(!r?.variants)return u(r?.base,e?.className);let{variants:t,defaultVariants:o}=r,a=Object.keys(t).map(i=>{let l=e?.[i],c=o?.[i],b=Xe(l)||Xe(c);return t[i][b]}),n={...o,...e&&Object.entries(e).reduce((i,[l,c])=>typeof c>"u"?i:{...i,[l]:c},{})},p=r?.compoundVariants?.reduce((i,{className:l,...c})=>Object.entries(c).every(([b,h])=>n[b]===h)?u(i,l):i,"");return u(r?.base,a,p,e?.className)},s=pt({variants:it});import{jsx as Et}from"react/jsx-runtime";var Nt=P(),m=At(function({className:e,asChild:t=!1,size:o="l",color:a="primary",name:n,colorChecked:p,opacity:i,textAlign:l,backgroundColor:c,backgroundColorOnActive:b,backgroundColorOnHover:h,backgroundColorOnChecked:v,bordered:w,borderedTop:k,borderedBottom:C,borderedStart:S,borderedEnd:I,borderedHorizontal:H,borderedVertical:D,borderRadius:B,borderTopStartRadius:R,borderTopEndRadius:M,borderBottomStartRadius:L,borderBottomEndRadius:z,borderColor:A,borderColorOnActive:N,borderColorOnFocus:E,borderColorOnChecked:V,borderColorOnHover:O,borderStartColor:W,borderEndColor:U,borderTopColor:G,borderBottomColor:F,borderWidth:q,borderVerticalWidth:X,borderHorizontalWidth:_,borderStartWidth:Z,borderEndWidth:$,borderTopWidth:J,borderBottomWidth:K,alignContent:Y,alignItems:Q,alignSelf:j,flex:ee,flexDirection:te,flexGrow:re,flexShrink:oe,flexWrap:ae,justifyContent:ne,flexBasis:se,display:ie,zIndex:le,overflow:pe,overflowX:ce,overflowY:de,position:be,spacing:me,spacingHorizontal:fe,spacingVertical:ue,spacingBottom:ge,spacingEnd:ye,spacingStart:he,spacingTop:ve,offset:xe,offsetVertical:we,offsetHorizontal:Pe,offsetBottom:Te,offsetEnd:ke,offsetStart:Ce,offsetTop:Se,columnGap:Ie,rowGap:He,height:De,minHeight:Be,maxHeight:Re,width:Me,minWidth:Le,maxWidth:Ae,...Ee},Ue){let Fe=t?Nt:"span",qe=s({iconSize:o,color:a,colorChecked:p,opacity:i,fontFamily:"icons",textAlign:l,backgroundColor:c,backgroundColorOnActive:b,backgroundColorOnHover:h,backgroundColorOnChecked:v,bordered:w,borderedTop:k,borderedBottom:C,borderedStart:S,borderedEnd:I,borderedHorizontal:H,borderedVertical:D,borderRadius:B,borderTopStartRadius:R,borderTopEndRadius:M,borderBottomStartRadius:L,borderBottomEndRadius:z,borderColor:A,borderColorOnActive:N,borderColorOnFocus:E,borderColorOnChecked:V,borderColorOnHover:O,borderStartColor:W,borderEndColor:U,borderTopColor:G,borderBottomColor:F,borderWidth:q,borderVerticalWidth:X,borderHorizontalWidth:_,borderStartWidth:Z,borderEndWidth:$,borderTopWidth:J,borderBottomWidth:K,alignContent:Y,alignItems:Q,alignSelf:j,flex:ee,flexDirection:te,flexGrow:re,flexShrink:oe,flexWrap:ae,justifyContent:ne,flexBasis:se,display:ie,zIndex:le,overflow:pe,overflowX:ce,overflowY:de,position:be,spacing:me,spacingHorizontal:fe,spacingVertical:ue,spacingBottom:ge,spacingEnd:ye,spacingStart:he,spacingTop:ve,offset:xe,offsetVertical:we,offsetHorizontal:Pe,offsetBottom:Te,offsetEnd:ke,offsetStart:Ce,offsetTop:Se,columnGap:Ie,rowGap:He,height:De,minHeight:Be,maxHeight:Re,width:Me,minWidth:Le,maxWidth:Ae,className:e});return Et(Fe,{className:qe,ref:Ue,...Ee,children:n})});import{forwardRef as Vt}from"react";import{jsx as Wt}from"react/jsx-runtime";var Ot=P(),g=Vt(function({className:e,asChild:t,onPress:o,onClick:a=o,backgroundColor:n,backgroundColorOnActive:p,backgroundColorOnHover:i,backgroundColorOnChecked:l,elevation:c,opacity:b,bordered:h,borderedTop:v,borderedBottom:w,borderedStart:k,borderedEnd:C,borderedHorizontal:S,borderedVertical:I,borderRadius:H,borderTopStartRadius:D,borderTopEndRadius:B,borderBottomStartRadius:R,borderBottomEndRadius:M,borderColor:L,borderColorOnActive:z,borderColorOnFocus:A,borderColorOnChecked:N,borderColorOnHover:E,borderStartColor:V,borderEndColor:O,borderTopColor:W,borderBottomColor:U,borderWidth:G,borderVerticalWidth:F,borderHorizontalWidth:q,borderStartWidth:X,borderEndWidth:_,borderTopWidth:Z,borderBottomWidth:$,alignContent:J,alignItems:K,alignSelf:Y,flex:Q,flexDirection:j,flexGrow:ee,flexShrink:te,flexWrap:re,justifyContent:oe,flexBasis:ae,display:ne,zIndex:se,overflow:ie,overflowX:le,overflowY:pe,position:ce,spacing:de,spacingHorizontal:be,spacingVertical:me,spacingBottom:fe,spacingEnd:ue,spacingStart:ge,spacingTop:ye,offset:he,offsetVertical:ve,offsetHorizontal:xe,offsetBottom:we,offsetEnd:Pe,offsetStart:Te,offsetTop:ke,columnGap:Ce,rowGap:Se,height:Ie,minHeight:He,maxHeight:De,width:Be,minWidth:Re,maxWidth:Me,...Le},Ae){let Ee=s({backgroundColor:n,backgroundColorOnActive:p,backgroundColorOnHover:i,backgroundColorOnChecked:l,elevation:c,opacity:b,bordered:h,borderedTop:v,borderedBottom:w,borderedStart:k,borderedEnd:C,borderedHorizontal:S,borderedVertical:I,borderRadius:H,borderTopStartRadius:D,borderTopEndRadius:B,borderBottomStartRadius:R,borderBottomEndRadius:M,borderColor:L,borderColorOnActive:z,borderColorOnFocus:A,borderColorOnChecked:N,borderColorOnHover:E,borderStartColor:V,borderEndColor:O,borderTopColor:W,borderBottomColor:U,borderWidth:G,borderVerticalWidth:F,borderHorizontalWidth:q,borderStartWidth:X,borderEndWidth:_,borderTopWidth:Z,borderBottomWidth:$,alignContent:J,alignItems:K,alignSelf:Y,flex:Q,flexDirection:j,flexGrow:ee,flexShrink:te,flexWrap:re,justifyContent:oe,flexBasis:ae,display:ne,zIndex:se,overflow:ie,overflowX:le,overflowY:pe,position:ce,spacing:de,spacingHorizontal:be,spacingVertical:me,spacingBottom:fe,spacingEnd:ue,spacingStart:ge,spacingTop:ye,offset:he,offsetVertical:ve,offsetHorizontal:xe,offsetBottom:we,offsetEnd:Pe,offsetStart:Te,offsetTop:ke,columnGap:Ce,rowGap:Se,height:Ie,minHeight:He,maxHeight:De,width:Be,minWidth:Re,maxWidth:Me,className:e});return Wt(t?Ot:"button",{className:Ee,ref:Ae,onClick:a,...Le})});import{forwardRef as Ut}from"react";import{jsx as qt}from"react/jsx-runtime";var Gt=P(),Ft={display1:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},d=Ut(function({className:e,asChild:t,color:o="primary",colorChecked:a,variant:n="body1",as:p=Ft[n],fontSize:i=n,fontFamily:l=n,fontWeight:c=n,lineHeight:b=n,textTransform:h=n,textAlign:v,backgroundColor:w,backgroundColorOnActive:k,backgroundColorOnHover:C,backgroundColorOnChecked:S,opacity:I,bordered:H,borderedTop:D,borderedBottom:B,borderedStart:R,borderedEnd:M,borderedHorizontal:L,borderedVertical:z,borderRadius:A,borderTopStartRadius:N,borderTopEndRadius:E,borderBottomStartRadius:V,borderBottomEndRadius:O,borderColor:W,borderColorOnActive:U,borderColorOnFocus:G,borderColorOnChecked:F,borderColorOnHover:q,borderStartColor:X,borderEndColor:_,borderTopColor:Z,borderBottomColor:$,borderWidth:J,borderVerticalWidth:K,borderHorizontalWidth:Y,borderStartWidth:Q,borderEndWidth:j,borderTopWidth:ee,borderBottomWidth:te,alignContent:re,alignItems:oe,alignSelf:ae,flex:ne,flexDirection:se,flexGrow:ie,flexShrink:le,flexWrap:pe,justifyContent:ce,flexBasis:de,display:be,zIndex:me,overflow:fe,overflowX:ue,overflowY:ge,position:ye,spacing:he,spacingHorizontal:ve,spacingVertical:xe,spacingBottom:we,spacingEnd:Pe,spacingStart:Te,spacingTop:ke,offset:Ce,offsetVertical:Se,offsetHorizontal:Ie,offsetBottom:He,offsetEnd:De,offsetStart:Be,offsetTop:Re,columnGap:Me,rowGap:Le,height:Ae,minHeight:Ee,maxHeight:Ue,width:Fe,minWidth:qe,maxWidth:Pt,...Tt},kt){let Ct=s({className:e,color:o,colorChecked:a,fontFamily:l,fontSize:i,fontWeight:c,lineHeight:b,textTransform:h,textAlign:v,backgroundColor:w,backgroundColorOnActive:k,backgroundColorOnHover:C,backgroundColorOnChecked:S,opacity:I,bordered:H,borderedTop:D,borderedBottom:B,borderedStart:R,borderedEnd:M,borderedHorizontal:L,borderedVertical:z,borderRadius:A,borderTopStartRadius:N,borderTopEndRadius:E,borderBottomStartRadius:V,borderBottomEndRadius:O,borderColor:W,borderColorOnActive:U,borderColorOnFocus:G,borderColorOnChecked:F,borderColorOnHover:q,borderStartColor:X,borderEndColor:_,borderTopColor:Z,borderBottomColor:$,borderWidth:J,borderVerticalWidth:K,borderHorizontalWidth:Y,borderStartWidth:Q,borderEndWidth:j,borderTopWidth:ee,borderBottomWidth:te,alignContent:re,alignItems:oe,alignSelf:ae,flex:ne,flexDirection:se,flexGrow:ie,flexShrink:le,flexWrap:pe,justifyContent:ce,flexBasis:de,display:be,zIndex:me,overflow:fe,overflowX:ue,overflowY:ge,position:ye,spacing:he,spacingHorizontal:ve,spacingVertical:xe,spacingBottom:we,spacingEnd:Pe,spacingStart:Te,spacingTop:ke,offset:Ce,offsetVertical:Se,offsetHorizontal:Ie,offsetBottom:He,offsetEnd:De,offsetStart:Be,offsetTop:Re,columnGap:Me,rowGap:Le,height:Ae,minHeight:Ee,maxHeight:Ue,width:Fe,minWidth:qe,maxWidth:Pt});return qt(t?Gt:p,{className:Ct,ref:kt,...Tt})});import{forwardRef as $t}from"react";import{forwardRef as Xt}from"react";import{jsx as Zt}from"react/jsx-runtime";var _t=P(),T=Xt(function({asChild:e,className:t,elevation:o,backgroundColor:a=o?`elevation-${o}`:void 0,backgroundColorOnActive:n,backgroundColorOnHover:p,backgroundColorOnChecked:i,opacity:l,bordered:c,borderedTop:b,borderedBottom:h,borderedStart:v,borderedEnd:w,borderedHorizontal:k,borderedVertical:C,borderRadius:S,borderTopStartRadius:I,borderTopEndRadius:H,borderBottomStartRadius:D,borderBottomEndRadius:B,borderColor:R,borderColorOnActive:M,borderColorOnFocus:L,borderColorOnChecked:z,borderColorOnHover:A,borderStartColor:N,borderEndColor:E,borderTopColor:V,borderBottomColor:O,borderWidth:W,borderVerticalWidth:U,borderHorizontalWidth:G,borderStartWidth:F,borderEndWidth:q,borderTopWidth:X,borderBottomWidth:_,alignContent:Z,alignItems:$,alignSelf:J,flex:K,flexDirection:Y,flexGrow:Q,flexShrink:j,flexWrap:ee,justifyContent:te,flexBasis:re,display:oe="flex",zIndex:ae,overflow:ne,overflowX:se,overflowY:ie,position:le,spacing:pe,spacingHorizontal:ce,spacingVertical:de,spacingBottom:be,spacingEnd:me,spacingStart:fe,spacingTop:ue,offset:ge,offsetVertical:ye,offsetHorizontal:he,offsetBottom:ve,offsetEnd:xe,offsetStart:we,offsetTop:Pe,columnGap:Te,rowGap:ke,height:Ce,minHeight:Se,maxHeight:Ie,width:He,minWidth:De,maxWidth:Be,...Re},Me){let Le=s({elevation:o,backgroundColor:a,backgroundColorOnActive:n,backgroundColorOnHover:p,backgroundColorOnChecked:i,opacity:l,bordered:c,borderedTop:b,borderedBottom:h,borderedStart:v,borderedEnd:w,borderedHorizontal:k,borderedVertical:C,borderRadius:S,borderTopStartRadius:I,borderTopEndRadius:H,borderBottomStartRadius:D,borderBottomEndRadius:B,borderColor:R,borderColorOnActive:M,borderColorOnFocus:L,borderColorOnChecked:z,borderColorOnHover:A,borderStartColor:N,borderEndColor:E,borderTopColor:V,borderBottomColor:O,borderWidth:W,borderVerticalWidth:U,borderHorizontalWidth:G,borderStartWidth:F,borderEndWidth:q,borderTopWidth:X,borderBottomWidth:_,alignContent:Z,alignItems:$,alignSelf:J,flex:K,flexDirection:Y,flexGrow:Q,flexShrink:j,flexWrap:ee,justifyContent:te,flexBasis:re,display:oe,zIndex:ae,overflow:ne,overflowX:se,overflowY:ie,position:le,spacing:pe,spacingHorizontal:ce,spacingVertical:de,spacingBottom:be,spacingEnd:me,spacingStart:fe,spacingTop:ue,offset:ge,offsetVertical:ye,offsetHorizontal:he,offsetBottom:ve,offsetEnd:xe,offsetStart:we,offsetTop:Pe,columnGap:Te,rowGap:ke,height:Ce,minHeight:Se,maxHeight:Ie,width:He,minWidth:De,maxWidth:Be,className:t});return Zt(e?_t:"div",{className:Le,ref:Me,...Re})});import{jsx as Jt}from"react/jsx-runtime";var x=$t(function({gap:e,...t},o){return Jt(T,{ref:o,flexDirection:"column",columnGap:e,rowGap:e,...t})});import{Fragment as Yt,jsx as _e,jsxs as ct}from"react/jsx-runtime";function Kt({label:r,children:e,onClick:t,open:o}){return ct(Yt,{children:[ct(g,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:"8",width:"full",onClick:t,children:[_e(d,{variant:"title4",children:r}),_e(m,{name:o?"chevronDown":"chevronUp",size:"s"})]}),_e(x,{spacingHorizontal:"8",children:o&&e})]})}import{jsx as jt}from"react/jsx-runtime";function Qt({size:r,shape:e,src:t,alt:o,...a}){let n=s({...st,avatarSize:r,borderRadius:e});return jt("img",{src:t,alt:o,className:n,...a})}import{forwardRef as er}from"react";import{jsx as Ze,jsxs as tr}from"react/jsx-runtime";var $e=er(function({variant:e="accent",size:t,startIcon:o,endIcon:a,children:n,...p},i){let l=Ne({variant:e,size:t}),c=o?Ze(m,{name:o,...l.icon}):null,b=a?Ze(m,{name:a,...l.icon}):null;return tr(g,{...l.pressable,ref:i,...p,children:[c,Ze(d,{...l.text,children:n}),b]})});import{jsx as Je,jsxs as ar}from"react/jsx-runtime";var dt={accent:"on-color",secondary:"primary"},rr={accent:"on-color",secondary:"tertiary"};function or({children:r,variant:e,startIcon:t,startContent:o=t?Je(m,{name:t,size:"s",color:dt[e]}):null,endIcon:a,endContent:n=a?Je(m,{name:a,size:"s",color:dt[e]}):null}){return ar(g,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"circle",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[o,Je(d,{variant:"label2",color:rr[e],children:r}),n]})}import{Popover as ir,PopoverAnchor as lr,PopoverArrow as pr,PopoverDescription as cr,PopoverDisclosure as dr,PopoverDisclosureArrow as br,PopoverDismiss as mr,PopoverHeading as fr,PopoverProvider as ur,usePopoverStore as Ke}from"@ariakit/react";import{forwardRef as nr}from"react";import{jsx as sr}from"react/jsx-runtime";var Ve=nr(function({gap:e,...t},o){return sr(T,{ref:o,flexDirection:"row",rowGap:e,columnGap:e,...t})});import{jsx as bt,jsxs as wr}from"react/jsx-runtime";function gr({children:r,leading:e,trailing:t}){return wr(Ve,{children:[e,bt(d,{variant:"headline1",asChild:!0,children:bt(fr,{children:r})}),t]})}var Ye=ir,Qe=pr,yr=lr,hr=cr,vr=mr,je=ur,et=dr,xr=br;var Pr=je;import{jsx as Ge,jsxs as mt}from"react/jsx-runtime";function Tr({title:r,description:e,_title:t,_description:o,startIcon:a,endIcon:n,...p}){return mt(tt,{...p,children:[a&&Ge(m,{name:a,size:"s"}),mt(x,{gap:"3",alignItems:"flex-start",children:[r&&Ge(d,{variant:"headline1",...t,children:r}),e&&Ge(d,{variant:"label2",color:"muted",...o,children:e})]}),n&&Ge(m,{name:n,size:"s"})]})}import{forwardRef as kr,useCallback as Cr}from"react";import{jsx as Sr}from"react/jsx-runtime";var tt=kr(function({children:e,onClick:t,...o},a){let n=Ke(),p=Cr(i=>{i.preventDefault(),t?.(()=>n.setOpen(!1))},[t,n]);return Sr(g,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:"hover:bg-gray-2",onClick:t?p:void 0,ref:a,...o,children:e})});import{forwardRef as Ir}from"react";import{jsx as ft,jsxs as Dr}from"react/jsx-runtime";var Hr=Ir(function({children:e,className:t,overflow:o="scroll",...a},n){return ft(x,{borderRadius:"l",elevation:"3",className:u("min-w-[220px] max-h-[312px]",t),overflow:o,spacingVertical:"4",asChild:!0,children:Dr(Ye,{preventBodyScroll:!0,...a,ref:n,children:[ft(Qe,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})});import{jsx as ut}from"react/jsx-runtime";function Br({children:r,variant:e,size:t,...o}){let a=Ne({variant:e,size:t}),n=e?a.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return ut(g,{...n,...o,asChild:!0,children:ut(et,{children:r})})}import{forwardRef as Rr}from"react";import{jsx as gt}from"react/jsx-runtime";var Mr={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},rt=Rr(function({variant:e="accent",size:t="s",name:o,className:a,color:n,...p},i){let l=Ne({variant:e,size:t});return gt(g,{...l.pressable,spacingHorizontal:l.pressable.spacingVertical,ref:i,className:u("leading-[0px]",Mr[t],a),...p,children:gt(m,{name:o,...l.icon,color:n})})});import{jsx as zr}from"react/jsx-runtime";function Lr({width:r,height:e,src:t,alt:o,contentFit:a="cover",elevation:n,backgroundColor:p=n?`elevation-${n}`:"primary",backgroundColorOnActive:i,backgroundColorOnHover:l,backgroundColorOnChecked:c,opacity:b,bordered:h,borderedTop:v,borderedBottom:w,borderedStart:k,borderedEnd:C,borderedHorizontal:S,borderedVertical:I,borderRadius:H,borderTopStartRadius:D,borderTopEndRadius:B,borderBottomStartRadius:R,borderBottomEndRadius:M,borderColor:L,borderColorOnActive:z,borderColorOnFocus:A,borderColorOnChecked:N,borderColorOnHover:E,borderStartColor:V,borderEndColor:O,borderTopColor:W,borderBottomColor:U,borderWidth:G,borderVerticalWidth:F,borderHorizontalWidth:q,borderStartWidth:X,borderEndWidth:_,borderTopWidth:Z,borderBottomWidth:$,alignContent:J,alignItems:K,alignSelf:Y,flex:Q,flexDirection:j,flexGrow:ee,flexShrink:te="0",flexWrap:re,justifyContent:oe,flexBasis:ae,display:ne="flex",zIndex:se,overflow:ie,overflowX:le,overflowY:pe,position:ce,spacing:de,spacingHorizontal:be,spacingVertical:me,spacingBottom:fe,spacingEnd:ue,spacingStart:ge,spacingTop:ye,offset:he,offsetVertical:ve,offsetHorizontal:xe,offsetBottom:we,offsetEnd:Pe,offsetStart:Te,offsetTop:ke,columnGap:Ce,rowGap:Se,minHeight:Ie,maxHeight:He,minWidth:De,maxWidth:Be,...Re}){let Me=s({contentFit:a,elevation:n,backgroundColor:p,backgroundColorOnActive:i,backgroundColorOnHover:l,backgroundColorOnChecked:c,opacity:b,bordered:h,borderedTop:v,borderedBottom:w,borderedStart:k,borderedEnd:C,borderedHorizontal:S,borderedVertical:I,borderRadius:H,borderTopStartRadius:D,borderTopEndRadius:B,borderBottomStartRadius:R,borderBottomEndRadius:M,borderColor:L,borderColorOnActive:z,borderColorOnFocus:A,borderColorOnChecked:N,borderColorOnHover:E,borderStartColor:V,borderEndColor:O,borderTopColor:W,borderBottomColor:U,borderWidth:G,borderVerticalWidth:F,borderHorizontalWidth:q,borderStartWidth:X,borderEndWidth:_,borderTopWidth:Z,borderBottomWidth:$,alignContent:J,alignItems:K,alignSelf:Y,flex:Q,flexDirection:j,flexGrow:ee,flexShrink:te,flexWrap:re,justifyContent:oe,flexBasis:ae,display:ne,zIndex:se,overflow:ie,overflowX:le,overflowY:pe,position:ce,spacing:de,spacingHorizontal:be,spacingVertical:me,spacingBottom:fe,spacingEnd:ue,spacingStart:ge,spacingTop:ye,offset:he,offsetVertical:ve,offsetHorizontal:xe,offsetBottom:we,offsetEnd:Pe,offsetStart:Te,offsetTop:ke,columnGap:Ce,rowGap:Se,minHeight:Ie,maxHeight:He,minWidth:De,maxWidth:Be});return zr("img",{src:t,alt:o,className:Me,style:{objectPosition:"left",width:r,height:e},...Re})}import{Dialog as Ar,DialogDismiss as Nr,useDialogStore as Er}from"@ariakit/react";import{jsx as Oe,jsxs as Gr}from"react/jsx-runtime";function Vr(r){return Er({animated:!0,...r})}function Or({children:r,handleClose:e}){return Gr(Ve,{alignItems:"center",justifyContent:"space-between",children:[Oe(d,{variant:"headline1",children:r}),Oe($e,{variant:"accent-ghost",size:"m",spacingEnd:"0",spacingVertical:"0",onClick:e,children:"close"})]})}function Wr({className:r,...e}){return Oe(x,{borderRadius:"m",elevation:"3",position:"fixed",height:"fit",zIndex:"50",className:u("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(Ar,{backdrop:Oe("div",{className:"bg-overlay transition-opacity duration-200 data-[enter]:opacity-100"}),...e})})}var Ur=Nr;import{jsx as ot,jsxs as yt}from"react/jsx-runtime";function Fr({className:r,...e}){return yt("div",{role:"status",className:`self-center ${r}`,...e,style:{width:8,maxWidth:8,height:8,maxHeight:8},children:[yt("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:[ot("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"}),ot("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"})]}),ot("span",{className:"sr-only",children:"Loading..."})]})}import{forwardRef as We,isValidElement as qr}from"react";import{jsx as f,jsxs as Kr}from"react/jsx-runtime";var Xr=We(function({children:e,className:t,display:o="table",overflow:a="hidden",borderColor:n="muted",elevation:p="1",borderRadius:i="m",...l},c){return f(T,{asChild:!0,borderColor:n,elevation:p,borderRadius:i,className:t,overflow:a,display:o,...l,children:f("table",{ref:c,children:e})})}),_r=We(function({children:e,display:t="table-row",...o},a){return f(T,{asChild:!0,display:t,...o,children:f("tr",{ref:a,children:e})})}),Zr=We(function({children:e,display:t="table-header-group",...o},a){return f(T,{asChild:!0,display:t,...o,children:f("thead",{ref:a,children:e})})}),$r=We(function({children:e,display:t="table-row-group",...o},a){return f(T,{asChild:!0,display:t,...o,children:f("tbody",{ref:a,children:e})})}),Jr=We(function({asHeaderCell:e,className:t,display:o="table-cell",spacing:a="5",borderBottomColor:n="muted",color:p="primary",...i},l){let c=s({textAlign:"start",className:t});return f(d,{asChild:!0,variant:e?"headline1":"body1",color:p,display:o,spacing:a,borderBottomColor:n,borderedBottom:!0,className:c,children:f(e?"th":"td",{scope:e==="row"?"row":e?"column":void 0,...i,ref:l})})});y.Root=Xr;y.Row=_r;y.Header=Zr;y.Body=$r;y.Cell=Jr;function y({data:r,columns:e}){return Kr(y.Root,{children:[f(y.Header,{children:f(y.Row,{children:e.map((t,o)=>f(y.Cell,{asHeaderCell:"column",children:t.title},o))})}),f(y.Body,{children:r.map((t,o)=>f(y.Row,{children:e.map((a,n)=>{let p=t[a.dataIndex];return f(y.Cell,{children:a.render?a.render(p,t,o):qr(p)?p:String(p)},n)})},o))})]})}import{Tab as Yr,TabList as Qr,TabPanel as jr,TabProvider as eo,useTabContext as ht}from"@ariakit/react";import{forwardRef as vt}from"react";import{jsx as ze,jsxs as so}from"react/jsx-runtime";var to=P();function ro(r){return ze(eo,{...r})}var oo=vt(function({className:e,...t},o){let a=s({display:"flex",flexDirection:"row",columnGap:"7",className:e});return ze(Qr,{ref:o,...t,className:a})}),ao=function({asChild:e,label:t,value:o,startIcon:a}){let n=e?to:"a",p=s({}),i=ht();if(!i)throw new Error("Tab must be wrapped in a Tabs component");let l=i?.useState().activeId===o,c=l?"accent":"primary";return ze(Yr,{id:o,className:p,render:ze(n,{children:so(g,{borderColor:l?"accent":"transparent",borderBottomWidth:"4",spacingVertical:"6",flexDirection:"row",columnGap:"8",children:[a?ze(m,{name:a,color:c,size:"m"}):null,ze(d,{color:c,variant:"headline1",children:t})]})})})},no=vt(function(e,t){let o=ht();if(!o)throw new Error("TabPanel must be wrapped in a Tabs component");let a=o.useState("selectedId");return ze(jr,{ref:t,tabId:a,...e})});import{jsx as io}from"react/jsx-runtime";function at({className:r,disabled:e,...t}){return io("input",{type:"text","data-1p-ignore":!0,className:u(s({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,...t})}import{jsx as lo,jsxs as po}from"react/jsx-runtime";function nt({children:r,required:e}){return po(d,{variant:"caption2",children:[r,e&&lo(d,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}import{jsx as xt,jsxs as bo}from"react/jsx-runtime";function co({label:r,required:e,...t}){return bo(x,{gap:"4",width:"full",children:[xt(nt,{required:e,children:r}),xt(at,{required:e,...t})]})}import{Slide as mo,toast as fo,ToastContainer as uo}from"react-toastify";import{jsx as wt}from"react/jsx-runtime";var go=s({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"}),yo=s({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),ho=s({backgroundColor:"positive"}),vo=s({backgroundColor:"alert"}),xo=s({backgroundColor:"accent"}),wo=s({backgroundColor:"warning"}),Po=s({backgroundColor:"elevation-3-inverse"}),To=s({backgroundColor:"elevation-3-inverse"}),ko=s({backgroundColor:"positive-wash",color:"positive"}),Co=s({backgroundColor:"alert-wash",color:"alert"}),So=s({backgroundColor:"accent-wash",color:"accent"}),Io=s({backgroundColor:"warning-wash",color:"warning"}),Ho=s({backgroundColor:"elevation-3-inverse",color:"on-color"}),Do=s({backgroundColor:"elevation-3-inverse",color:"on-color"}),Bo=r=>{let{type:e="default"}=r??{},t={success:ko,error:Co,info:So,warning:Io,default:Ho,dark:Do}[e];return u(go,t)};function Ro(r){let{type:e="default",defaultClassName:t=""}=r??{},o={success:ho,error:vo,info:xo,warning:wo,default:Po,dark:To}[e],a=t.replace(/Toastify__progress-bar-theme--light/,"");return u(a,o)}function Mo({closeToast:r,type:e}){let t={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return wt(rt,{name:"close",size:"s",variant:"accent-ghost",color:t,onClick:r})}function Lo(r){return wt(uo,{toastClassName:Bo,bodyClassName:yo,progressClassName:Ro,transition:mo,closeButton:Mo,...r})}export{Fo as AVATAR_SIZE_PREFIX,Kt as Accordion,Qt as Avatar,T as Box,$e as Button,or as Chip,Ko as DARK_COLOR_MODE_CLASSNAME,ya as DEFAULT_COLOR_MODE,na as DEFAULT_COLOR_MODE_CLASSNAME,ua as DEFAULT_COLOR_MODE_FOR_APP,va as DEFAULT_HIGH_CONTRAST_MODE,xa as DEFAULT_REGION_MODE,ha as DEFAULT_SCALE_MODE,sa as DEFAULT_SCALE_MODE_CLASSNAME,ga as DEFAULT_SCALE_MODE_FOR_APP,Pr as Dropdown,Tr as DropdownItem,tt as DropdownItemPressable,Hr as DropdownItems,Br as DropdownTrigger,Uo as FONT_FAMILY_PREFIX,pa as FONT_ICONS_CSS_VAR,da as FONT_SANS_BETA_CSS_VAR,ba as FONT_SANS_CONDENSED_CSS_VAR,ca as FONT_SANS_CSS_VAR,ma as FONT_SERIF_DISPLAY_CSS_VAR,fa as FONT_SERIF_TEXT_CSS_VAR,_o as FONT_SIZE_PREFIX,$o as FONT_WEIGHT_PREFIX,Ve as HStack,Go as ICON_SIZE_PREFIX,m as Icon,rt as IconButton,Lr as Image,ta as LARGE_SCALE_MODE_CLASSNAME,Yo as LIGHT_COLOR_MODE_CLASSNAME,Zo as LINE_HEIGHT_PREFIX,ea as MEDIUM_SCALE_MODE_CLASSNAME,Wr as Modal,Ur as ModalDismiss,Or as ModalHeader,Ye as Popover,yr as PopoverAnchor,Qe as PopoverArrow,hr as PopoverDescription,et as PopoverDisclosure,xr as PopoverDisclosureArrow,vr as PopoverDismiss,gr as PopoverHeading,je as PopoverProvider,g as Pressable,qo as SHAPE_PREFIX,jo as SMALL_SCALE_MODE_CLASSNAME,Xo as SPACING_PREFIX,Wo as SPECTRUM_COLOR_PREFIX,Fr as Spinner,Jo as TEXT_TRANSFORM_PREFIX,ao as Tab,oo as TabList,no as TabPanel,y as Table,ro as Tabs,d as Text,at as TextInput,co as TextInputGroup,nt as TextInputLabel,Lo as ToastContainer,Oo as UDS_PREFIX,x as VStack,ra as XLARGE_SCALE_MODE_CLASSNAME,Qo as XSMALL_SCALE_MODE_CLASSNAME,oa as XXLARGE_SCALE_MODE_CLASSNAME,aa as XXXLARGE_SCALE_MODE_CLASSNAME,Ao as alwaysPalette,pt as cva,u as cx,Vo as defaultTokensConfig,wa as entries,No as fontFamilyGlobal,Eo as fontWeightMap,ia as getColorModeClassName,la as getScaleModeClassName,s as getStyles,fo as toast,Vr as useModalStore,Ke as usePopoverStore};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { U as UniversalTokensConfig, i as FontFamilyGlobalConfig, at as FontWeightDescriptive, g as FontWeightNumeric, s as ColorModeForApp, t as ScaleModeForApp, C as ColorMode, S as ScaleMode, ax as HighContrastMode, aQ as RegionMode } from './types-
|
1
|
+
import { U as UniversalTokensConfig, i as FontFamilyGlobalConfig, at as FontWeightDescriptive, g as FontWeightNumeric, s as ColorModeForApp, t as ScaleModeForApp, C as ColorMode, S as ScaleMode, ax as HighContrastMode, aQ as RegionMode } from './types-_E6o7OhU.cjs';
|
2
2
|
|
3
3
|
declare const defaultTokensConfig: UniversalTokensConfig;
|
4
4
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { U as UniversalTokensConfig, i as FontFamilyGlobalConfig, at as FontWeightDescriptive, g as FontWeightNumeric, s as ColorModeForApp, t as ScaleModeForApp, C as ColorMode, S as ScaleMode, ax as HighContrastMode, aQ as RegionMode } from './types-
|
1
|
+
import { U as UniversalTokensConfig, i as FontFamilyGlobalConfig, at as FontWeightDescriptive, g as FontWeightNumeric, s as ColorModeForApp, t as ScaleModeForApp, C as ColorMode, S as ScaleMode, ax as HighContrastMode, aQ as RegionMode } from './types-_E6o7OhU.js';
|
2
2
|
|
3
3
|
declare const defaultTokensConfig: UniversalTokensConfig;
|
4
4
|
|
package/dist/index.native.d.cts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
|
-
import { j as UniversalImageProps, k as UniversalAvatarProps, l as UniversalBoxProps, m as UniversalPressableProps, n as UniversalButtonProps, o as UniversalStackProps, p as UniversalTextProps, q as UniversalIconProps, r as UniversalIconButtonProps, s as ColorModeForApp, a as ColorsConfig, C as ColorMode, t as ScaleModeForApp, u as ScaleModeConfig, S as ScaleMode, M as Modes, U as UniversalTokensConfig, v as BackgroundStyleProps, w as BorderStyleProps, x as LayoutStyleProps, y as FlexStyleProps, z as SpacingStyleProps, T as TextStyleProps, O as OpacityStyleProps, A as SizingStyleProps, I as ImageStyleProps, D as CustomSizingStyleProps, G as AvatarSizeConfig, J as IconSizeConfig, K as SpacingConfig, N as ShapeConfig, Q as FontFamilyConfig, R as FontSizeConfig, f as FontWeightConfig, V as LineHeightConfig, W as TextTransformConfig, B as BorderWidthConfig, Z as ZIndexConfig, h as Elevation, i as FontFamilyGlobalConfig, X as StyleProps } from './types-
|
3
|
-
export { _ as AlwaysPalette, $ as AlwaysPaletteAlias, a0 as Animation, a1 as AriaAttribute, a2 as AspectRatio, a3 as AspectRatioConfig, a4 as AvatarSize, a5 as BackgroundColor, d as BackgroundPalette, a6 as BackgroundPaletteAlias, e as BackgroundWashPalette, a7 as BackgroundWashPaletteAlias, a8 as BorderWidth, a9 as BoxShadowConfig, aa as ButtonSize, ab as ButtonVariant, ac as ConfigurableTextProperty, c as CorePalette, ad as CorePaletteAlias, ae as DataAttribute, af as Display, E as ElevationConfig, ag as ElevationPaletteAlias, ah as Flex, ai as FlexAlignContent, aj as FlexAlignItems, ak as FlexAlignSelf, al as FlexBasis, am as FlexDirection, an as FlexGrow, ao as FlexJustifyContent, ap as FlexShrink, aq as FlexWrap, ar as FontFamilyGlobalAlias, as as FontSize, at as FontWeightDescriptive, g as FontWeightNumeric, au as ForegroundColor, F as ForegroundPalette, av as ForegroundPaletteAlias, aw as Height, ax as HighContrastMode, H as Hue, b as HueStep, ay as IconName, az as IconSize, aA as LetterSpacing, aB as LineClampAlias, aC as LineColor, aD as LineHeight, L as LinePalette, aE as LinePaletteAlias, aF as MaxHeight, aG as MaxWidth, aH as MinHeight, aI as MinWidth, aJ as Opacity, aK as Overflow, aL as Palette, aM as PaletteConfig, aN as PaletteType, P as PaletteValue, aO as PlatformMode, aP as Position, aQ as RegionMode, aR as ScaleConfig, aS as Shape, aT as SpacingAlias, aU as SpectrumColor, aV as SpectrumConfig, aW as StateStyleProps, aX as TextTransform, aY as TextVariant, aZ as TransitionDelay, a_ as TransitionDuration, a$ as TransitionTiming, b0 as UniversalTextInputProps, b1 as Width, b2 as ZIndex, Y as alwaysPalette } from './types-
|
2
|
+
import { j as UniversalImageProps, k as UniversalAvatarProps, l as UniversalBoxProps, m as UniversalPressableProps, n as UniversalButtonProps, o as UniversalStackProps, p as UniversalTextProps, q as UniversalIconProps, r as UniversalIconButtonProps, s as ColorModeForApp, a as ColorsConfig, C as ColorMode, t as ScaleModeForApp, u as ScaleModeConfig, S as ScaleMode, M as Modes, U as UniversalTokensConfig, v as BackgroundStyleProps, w as BorderStyleProps, x as LayoutStyleProps, y as FlexStyleProps, z as SpacingStyleProps, T as TextStyleProps, O as OpacityStyleProps, A as SizingStyleProps, I as ImageStyleProps, D as CustomSizingStyleProps, G as AvatarSizeConfig, J as IconSizeConfig, K as SpacingConfig, N as ShapeConfig, Q as FontFamilyConfig, R as FontSizeConfig, f as FontWeightConfig, V as LineHeightConfig, W as TextTransformConfig, B as BorderWidthConfig, Z as ZIndexConfig, h as Elevation, i as FontFamilyGlobalConfig, X as StyleProps } from './types-_E6o7OhU.cjs';
|
3
|
+
export { _ as AlwaysPalette, $ as AlwaysPaletteAlias, a0 as Animation, a1 as AriaAttribute, a2 as AspectRatio, a3 as AspectRatioConfig, a4 as AvatarSize, a5 as BackgroundColor, d as BackgroundPalette, a6 as BackgroundPaletteAlias, e as BackgroundWashPalette, a7 as BackgroundWashPaletteAlias, a8 as BorderWidth, a9 as BoxShadowConfig, aa as ButtonSize, ab as ButtonVariant, ac as ConfigurableTextProperty, c as CorePalette, ad as CorePaletteAlias, ae as DataAttribute, af as Display, E as ElevationConfig, ag as ElevationPaletteAlias, ah as Flex, ai as FlexAlignContent, aj as FlexAlignItems, ak as FlexAlignSelf, al as FlexBasis, am as FlexDirection, an as FlexGrow, ao as FlexJustifyContent, ap as FlexShrink, aq as FlexWrap, ar as FontFamilyGlobalAlias, as as FontSize, at as FontWeightDescriptive, g as FontWeightNumeric, au as ForegroundColor, F as ForegroundPalette, av as ForegroundPaletteAlias, aw as Height, ax as HighContrastMode, H as Hue, b as HueStep, ay as IconName, az as IconSize, aA as LetterSpacing, aB as LineClampAlias, aC as LineColor, aD as LineHeight, L as LinePalette, aE as LinePaletteAlias, aF as MaxHeight, aG as MaxWidth, aH as MinHeight, aI as MinWidth, aJ as Opacity, aK as Overflow, aL as Palette, aM as PaletteConfig, aN as PaletteType, P as PaletteValue, aO as PlatformMode, aP as Position, aQ as RegionMode, aR as ScaleConfig, aS as Shape, aT as SpacingAlias, aU as SpectrumColor, aV as SpectrumConfig, aW as StateStyleProps, aX as TextTransform, aY as TextVariant, aZ as TransitionDelay, a_ as TransitionDuration, a$ as TransitionTiming, b0 as UniversalTextInputProps, b1 as Width, b2 as ZIndex, Y as alwaysPalette } from './types-_E6o7OhU.cjs';
|
4
4
|
import { ImageProps as ImageProps$1, ImageStyle } from 'expo-image';
|
5
5
|
import * as react from 'react';
|
6
6
|
import * as react_native from 'react-native';
|
7
7
|
import { ViewProps, View, PressableProps as PressableProps$1, StyleProp, ViewStyle, TextProps as TextProps$1, Text as Text$1, ScrollViewProps, ScrollView, TextStyle } from 'react-native';
|
8
8
|
import { S as SetState, C as CVA } from './types-3GXulqnG.cjs';
|
9
9
|
import { EdgeInsets } from 'react-native-safe-area-context';
|
10
|
-
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-
|
10
|
+
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-fciGC1AQ.cjs';
|
11
11
|
export { AVATAR_SIZE_PREFIX, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, ICON_SIZE_PREFIX, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, SHAPE_PREFIX, SMALL_SCALE_MODE_CLASSNAME, SPACING_PREFIX, SPECTRUM_COLOR_PREFIX, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, entries, getColorModeClassName, getScaleModeClassName } from './tokens/index.cjs';
|
12
12
|
|
13
13
|
interface ImageProps extends Omit<ImageProps$1, 'alt' | 'source'>, UniversalImageProps {
|
package/dist/index.native.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
|
-
import { j as UniversalImageProps, k as UniversalAvatarProps, l as UniversalBoxProps, m as UniversalPressableProps, n as UniversalButtonProps, o as UniversalStackProps, p as UniversalTextProps, q as UniversalIconProps, r as UniversalIconButtonProps, s as ColorModeForApp, a as ColorsConfig, C as ColorMode, t as ScaleModeForApp, u as ScaleModeConfig, S as ScaleMode, M as Modes, U as UniversalTokensConfig, v as BackgroundStyleProps, w as BorderStyleProps, x as LayoutStyleProps, y as FlexStyleProps, z as SpacingStyleProps, T as TextStyleProps, O as OpacityStyleProps, A as SizingStyleProps, I as ImageStyleProps, D as CustomSizingStyleProps, G as AvatarSizeConfig, J as IconSizeConfig, K as SpacingConfig, N as ShapeConfig, Q as FontFamilyConfig, R as FontSizeConfig, f as FontWeightConfig, V as LineHeightConfig, W as TextTransformConfig, B as BorderWidthConfig, Z as ZIndexConfig, h as Elevation, i as FontFamilyGlobalConfig, X as StyleProps } from './types-
|
3
|
-
export { _ as AlwaysPalette, $ as AlwaysPaletteAlias, a0 as Animation, a1 as AriaAttribute, a2 as AspectRatio, a3 as AspectRatioConfig, a4 as AvatarSize, a5 as BackgroundColor, d as BackgroundPalette, a6 as BackgroundPaletteAlias, e as BackgroundWashPalette, a7 as BackgroundWashPaletteAlias, a8 as BorderWidth, a9 as BoxShadowConfig, aa as ButtonSize, ab as ButtonVariant, ac as ConfigurableTextProperty, c as CorePalette, ad as CorePaletteAlias, ae as DataAttribute, af as Display, E as ElevationConfig, ag as ElevationPaletteAlias, ah as Flex, ai as FlexAlignContent, aj as FlexAlignItems, ak as FlexAlignSelf, al as FlexBasis, am as FlexDirection, an as FlexGrow, ao as FlexJustifyContent, ap as FlexShrink, aq as FlexWrap, ar as FontFamilyGlobalAlias, as as FontSize, at as FontWeightDescriptive, g as FontWeightNumeric, au as ForegroundColor, F as ForegroundPalette, av as ForegroundPaletteAlias, aw as Height, ax as HighContrastMode, H as Hue, b as HueStep, ay as IconName, az as IconSize, aA as LetterSpacing, aB as LineClampAlias, aC as LineColor, aD as LineHeight, L as LinePalette, aE as LinePaletteAlias, aF as MaxHeight, aG as MaxWidth, aH as MinHeight, aI as MinWidth, aJ as Opacity, aK as Overflow, aL as Palette, aM as PaletteConfig, aN as PaletteType, P as PaletteValue, aO as PlatformMode, aP as Position, aQ as RegionMode, aR as ScaleConfig, aS as Shape, aT as SpacingAlias, aU as SpectrumColor, aV as SpectrumConfig, aW as StateStyleProps, aX as TextTransform, aY as TextVariant, aZ as TransitionDelay, a_ as TransitionDuration, a$ as TransitionTiming, b0 as UniversalTextInputProps, b1 as Width, b2 as ZIndex, Y as alwaysPalette } from './types-
|
2
|
+
import { j as UniversalImageProps, k as UniversalAvatarProps, l as UniversalBoxProps, m as UniversalPressableProps, n as UniversalButtonProps, o as UniversalStackProps, p as UniversalTextProps, q as UniversalIconProps, r as UniversalIconButtonProps, s as ColorModeForApp, a as ColorsConfig, C as ColorMode, t as ScaleModeForApp, u as ScaleModeConfig, S as ScaleMode, M as Modes, U as UniversalTokensConfig, v as BackgroundStyleProps, w as BorderStyleProps, x as LayoutStyleProps, y as FlexStyleProps, z as SpacingStyleProps, T as TextStyleProps, O as OpacityStyleProps, A as SizingStyleProps, I as ImageStyleProps, D as CustomSizingStyleProps, G as AvatarSizeConfig, J as IconSizeConfig, K as SpacingConfig, N as ShapeConfig, Q as FontFamilyConfig, R as FontSizeConfig, f as FontWeightConfig, V as LineHeightConfig, W as TextTransformConfig, B as BorderWidthConfig, Z as ZIndexConfig, h as Elevation, i as FontFamilyGlobalConfig, X as StyleProps } from './types-_E6o7OhU.js';
|
3
|
+
export { _ as AlwaysPalette, $ as AlwaysPaletteAlias, a0 as Animation, a1 as AriaAttribute, a2 as AspectRatio, a3 as AspectRatioConfig, a4 as AvatarSize, a5 as BackgroundColor, d as BackgroundPalette, a6 as BackgroundPaletteAlias, e as BackgroundWashPalette, a7 as BackgroundWashPaletteAlias, a8 as BorderWidth, a9 as BoxShadowConfig, aa as ButtonSize, ab as ButtonVariant, ac as ConfigurableTextProperty, c as CorePalette, ad as CorePaletteAlias, ae as DataAttribute, af as Display, E as ElevationConfig, ag as ElevationPaletteAlias, ah as Flex, ai as FlexAlignContent, aj as FlexAlignItems, ak as FlexAlignSelf, al as FlexBasis, am as FlexDirection, an as FlexGrow, ao as FlexJustifyContent, ap as FlexShrink, aq as FlexWrap, ar as FontFamilyGlobalAlias, as as FontSize, at as FontWeightDescriptive, g as FontWeightNumeric, au as ForegroundColor, F as ForegroundPalette, av as ForegroundPaletteAlias, aw as Height, ax as HighContrastMode, H as Hue, b as HueStep, ay as IconName, az as IconSize, aA as LetterSpacing, aB as LineClampAlias, aC as LineColor, aD as LineHeight, L as LinePalette, aE as LinePaletteAlias, aF as MaxHeight, aG as MaxWidth, aH as MinHeight, aI as MinWidth, aJ as Opacity, aK as Overflow, aL as Palette, aM as PaletteConfig, aN as PaletteType, P as PaletteValue, aO as PlatformMode, aP as Position, aQ as RegionMode, aR as ScaleConfig, aS as Shape, aT as SpacingAlias, aU as SpectrumColor, aV as SpectrumConfig, aW as StateStyleProps, aX as TextTransform, aY as TextVariant, aZ as TransitionDelay, a_ as TransitionDuration, a$ as TransitionTiming, b0 as UniversalTextInputProps, b1 as Width, b2 as ZIndex, Y as alwaysPalette } from './types-_E6o7OhU.js';
|
4
4
|
import { ImageProps as ImageProps$1, ImageStyle } from 'expo-image';
|
5
5
|
import * as react from 'react';
|
6
6
|
import * as react_native from 'react-native';
|
7
7
|
import { ViewProps, View, PressableProps as PressableProps$1, StyleProp, ViewStyle, TextProps as TextProps$1, Text as Text$1, ScrollViewProps, ScrollView, TextStyle } from 'react-native';
|
8
8
|
import { S as SetState, C as CVA } from './types-3GXulqnG.js';
|
9
9
|
import { EdgeInsets } from 'react-native-safe-area-context';
|
10
|
-
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-
|
10
|
+
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-hIYZ_ma-.js';
|
11
11
|
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';
|
12
12
|
|
13
13
|
interface ImageProps extends Omit<ImageProps$1, 'alt' | 'source'>, UniversalImageProps {
|
package/dist/tailwindPlugin.d.ts
CHANGED