@moul-dev/ui 2026.8.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +149 -0
- package/dist/assets/stylex.css +2391 -0
- package/dist/favicon.svg +20 -0
- package/dist/icons.svg +24 -0
- package/dist/moul-ui.js +6662 -0
- package/dist/src/App.d.ts +2 -0
- package/dist/src/components/Alert/Alert.d.ts +14 -0
- package/dist/src/components/Alert/Alert.styles.d.ts +188 -0
- package/dist/src/components/Alert/index.d.ts +2 -0
- package/dist/src/components/AlertDialog/AlertDialog.d.ts +23 -0
- package/dist/src/components/AlertDialog/AlertDialog.styles.d.ts +35 -0
- package/dist/src/components/AlertDialog/index.d.ts +1 -0
- package/dist/src/components/AreaChart/AreaChart.d.ts +21 -0
- package/dist/src/components/AreaChart/AreaChart.styles.d.ts +7 -0
- package/dist/src/components/AreaChart/index.d.ts +2 -0
- package/dist/src/components/Avatar/Avatar.d.ts +10 -0
- package/dist/src/components/Avatar/Avatar.styles.d.ts +31 -0
- package/dist/src/components/Avatar/index.d.ts +2 -0
- package/dist/src/components/Badge/Badge.d.ts +9 -0
- package/dist/src/components/Badge/Badge.styles.d.ts +35 -0
- package/dist/src/components/Badge/index.d.ts +2 -0
- package/dist/src/components/BarChart/BarChart.d.ts +16 -0
- package/dist/src/components/BarChart/BarChart.styles.d.ts +7 -0
- package/dist/src/components/BarChart/index.d.ts +2 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +16 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.styles.d.ts +34 -0
- package/dist/src/components/Breadcrumbs/index.d.ts +2 -0
- package/dist/src/components/Button/Button.d.ts +10 -0
- package/dist/src/components/Button/Button.styles.d.ts +148 -0
- package/dist/src/components/Button/index.d.ts +2 -0
- package/dist/src/components/ButtonGroup/ButtonGroup.d.ts +7 -0
- package/dist/src/components/ButtonGroup/ButtonGroup.styles.d.ts +9 -0
- package/dist/src/components/ButtonGroup/index.d.ts +2 -0
- package/dist/src/components/Card/Card.d.ts +19 -0
- package/dist/src/components/Card/Card.styles.d.ts +185 -0
- package/dist/src/components/Card/CardBody.d.ts +7 -0
- package/dist/src/components/Card/CardFooter.d.ts +7 -0
- package/dist/src/components/Card/CardHeader.d.ts +7 -0
- package/dist/src/components/Card/index.d.ts +8 -0
- package/dist/src/components/ChartCommon.d.ts +1 -0
- package/dist/src/components/ChartContainer/ChartContainer.d.ts +21 -0
- package/dist/src/components/ChartContainer/ChartContainer.styles.d.ts +124 -0
- package/dist/src/components/ChartContainer/index.d.ts +2 -0
- package/dist/src/components/ChartTooltip/ChartTooltip.d.ts +8 -0
- package/dist/src/components/ChartTooltip/ChartTooltip.styles.d.ts +61 -0
- package/dist/src/components/ChartTooltip/index.d.ts +2 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts +9 -0
- package/dist/src/components/Checkbox/Checkbox.styles.d.ts +94 -0
- package/dist/src/components/Checkbox/context.d.ts +5 -0
- package/dist/src/components/Checkbox/index.d.ts +2 -0
- package/dist/src/components/CheckboxGroup/CheckboxGroup.d.ts +13 -0
- package/dist/src/components/CheckboxGroup/CheckboxGroup.styles.d.ts +18 -0
- package/dist/src/components/CheckboxGroup/index.d.ts +2 -0
- package/dist/src/components/ComboBox/ComboBox.d.ts +25 -0
- package/dist/src/components/ComboBox/ComboBox.styles.d.ts +223 -0
- package/dist/src/components/ComboBox/index.d.ts +2 -0
- package/dist/src/components/Description/Description.d.ts +8 -0
- package/dist/src/components/Description/Description.styles.d.ts +9 -0
- package/dist/src/components/Description/index.d.ts +2 -0
- package/dist/src/components/DoughnutChart/DoughnutChart.d.ts +15 -0
- package/dist/src/components/DoughnutChart/DoughnutChart.styles.d.ts +10 -0
- package/dist/src/components/DoughnutChart/index.d.ts +2 -0
- package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +7 -0
- package/dist/src/components/ErrorMessage/ErrorMessage.styles.d.ts +9 -0
- package/dist/src/components/ErrorMessage/index.d.ts +2 -0
- package/dist/src/components/FieldError/FieldError.d.ts +9 -0
- package/dist/src/components/FieldError/FieldError.styles.d.ts +9 -0
- package/dist/src/components/FieldError/index.d.ts +2 -0
- package/dist/src/components/Form/Form.d.ts +8 -0
- package/dist/src/components/Form/Form.styles.d.ts +3 -0
- package/dist/src/components/Form/index.d.ts +2 -0
- package/dist/src/components/InputOTP/InputOTP.d.ts +25 -0
- package/dist/src/components/InputOTP/InputOTP.styles.d.ts +113 -0
- package/dist/src/components/InputOTP/index.d.ts +3 -0
- package/dist/src/components/Kbd/Kbd.d.ts +7 -0
- package/dist/src/components/Kbd/Kbd.styles.d.ts +20 -0
- package/dist/src/components/Kbd/index.d.ts +2 -0
- package/dist/src/components/Label/Label.d.ts +8 -0
- package/dist/src/components/Label/Label.styles.d.ts +10 -0
- package/dist/src/components/Label/index.d.ts +2 -0
- package/dist/src/components/LineChart/LineChart.d.ts +15 -0
- package/dist/src/components/LineChart/LineChart.styles.d.ts +7 -0
- package/dist/src/components/LineChart/index.d.ts +2 -0
- package/dist/src/components/Link/Link.d.ts +9 -0
- package/dist/src/components/Link/Link.styles.d.ts +92 -0
- package/dist/src/components/Link/index.d.ts +2 -0
- package/dist/src/components/Modal/Modal.d.ts +34 -0
- package/dist/src/components/Modal/Modal.styles.d.ts +91 -0
- package/dist/src/components/Modal/index.d.ts +1 -0
- package/dist/src/components/NumberField/NumberField.d.ts +14 -0
- package/dist/src/components/NumberField/NumberField.styles.d.ts +147 -0
- package/dist/src/components/NumberField/index.d.ts +2 -0
- package/dist/src/components/Percentage/Percentage.styles.d.ts +70 -0
- package/dist/src/components/Percentage/PercentageBar.d.ts +11 -0
- package/dist/src/components/Percentage/PercentageCircle.d.ts +12 -0
- package/dist/src/components/Percentage/index.d.ts +4 -0
- package/dist/src/components/Popover/Popover.d.ts +15 -0
- package/dist/src/components/Popover/Popover.styles.d.ts +22 -0
- package/dist/src/components/Popover/index.d.ts +1 -0
- package/dist/src/components/RadioGroup/RadioGroup.d.ts +16 -0
- package/dist/src/components/RadioGroup/RadioGroup.styles.d.ts +75 -0
- package/dist/src/components/RadioGroup/index.d.ts +2 -0
- package/dist/src/components/SearchField/SearchField.d.ts +14 -0
- package/dist/src/components/SearchField/SearchField.styles.d.ts +147 -0
- package/dist/src/components/SearchField/index.d.ts +2 -0
- package/dist/src/components/Select/Select.d.ts +30 -0
- package/dist/src/components/Select/Select.styles.d.ts +171 -0
- package/dist/src/components/Select/index.d.ts +2 -0
- package/dist/src/components/Separator/Separator.d.ts +8 -0
- package/dist/src/components/Separator/Separator.styles.d.ts +20 -0
- package/dist/src/components/Separator/index.d.ts +2 -0
- package/dist/src/components/Sidebar/Sidebar.d.ts +77 -0
- package/dist/src/components/Sidebar/Sidebar.styles.d.ts +326 -0
- package/dist/src/components/Sidebar/index.d.ts +2 -0
- package/dist/src/components/Skeleton/Skeleton.d.ts +7 -0
- package/dist/src/components/Skeleton/Skeleton.styles.d.ts +17 -0
- package/dist/src/components/Skeleton/index.d.ts +2 -0
- package/dist/src/components/Slider/Slider.d.ts +21 -0
- package/dist/src/components/Slider/Slider.styles.d.ts +78 -0
- package/dist/src/components/Slider/index.d.ts +2 -0
- package/dist/src/components/Spinner/Spinner.d.ts +9 -0
- package/dist/src/components/Spinner/Spinner.styles.d.ts +20 -0
- package/dist/src/components/Spinner/index.d.ts +2 -0
- package/dist/src/components/Stat/Stat.d.ts +15 -0
- package/dist/src/components/Stat/Stat.styles.d.ts +115 -0
- package/dist/src/components/Stat/index.d.ts +2 -0
- package/dist/src/components/Switch/Switch.d.ts +8 -0
- package/dist/src/components/Switch/Switch.styles.d.ts +66 -0
- package/dist/src/components/Switch/index.d.ts +2 -0
- package/dist/src/components/Table/Table.d.ts +33 -0
- package/dist/src/components/Table/Table.styles.d.ts +77 -0
- package/dist/src/components/Table/index.d.ts +2 -0
- package/dist/src/components/Tabs/Tabs.d.ts +29 -0
- package/dist/src/components/Tabs/Tabs.styles.d.ts +186 -0
- package/dist/src/components/Tabs/index.d.ts +2 -0
- package/dist/src/components/TagGroup/TagGroup.d.ts +27 -0
- package/dist/src/components/TagGroup/TagGroup.styles.d.ts +199 -0
- package/dist/src/components/TagGroup/index.d.ts +2 -0
- package/dist/src/components/TextArea/TextArea.d.ts +14 -0
- package/dist/src/components/TextArea/TextArea.styles.d.ts +63 -0
- package/dist/src/components/TextArea/index.d.ts +2 -0
- package/dist/src/components/TextField/TextField.d.ts +15 -0
- package/dist/src/components/TextField/TextField.styles.d.ts +80 -0
- package/dist/src/components/TextField/index.d.ts +2 -0
- package/dist/src/components/Toast/Toast.d.ts +28 -0
- package/dist/src/components/Toast/Toast.styles.d.ts +29 -0
- package/dist/src/components/Toast/index.d.ts +1 -0
- package/dist/src/components/ToggleButton/ToggleButton.d.ts +11 -0
- package/dist/src/components/ToggleButton/ToggleButton.styles.d.ts +223 -0
- package/dist/src/components/ToggleButton/index.d.ts +2 -0
- package/dist/src/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +10 -0
- package/dist/src/components/ToggleButtonGroup/ToggleButtonGroup.styles.d.ts +36 -0
- package/dist/src/components/ToggleButtonGroup/context.d.ts +8 -0
- package/dist/src/components/ToggleButtonGroup/index.d.ts +2 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +19 -0
- package/dist/src/components/Tooltip/Tooltip.styles.d.ts +26 -0
- package/dist/src/components/Tooltip/index.d.ts +1 -0
- package/dist/src/components/TopList/TopList.d.ts +17 -0
- package/dist/src/components/TopList/TopList.styles.d.ts +43 -0
- package/dist/src/components/TopList/index.d.ts +2 -0
- package/dist/src/components/Typography/Typography.d.ts +26 -0
- package/dist/src/components/Typography/Typography.styles.d.ts +53 -0
- package/dist/src/components/Typography/index.d.ts +2 -0
- package/dist/src/index.d.ts +102 -0
- package/dist/src/main.d.ts +0 -0
- package/dist/src/theme/ThemeProvider.d.ts +17 -0
- package/dist/src/tokens/tokens.stylex.d.ts +121 -0
- package/dist/src/utils/mergeProps.d.ts +1 -0
- package/dist/src/utils/warnMissingLabel.d.ts +16 -0
- package/package.json +94 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const styles: Readonly<{
|
|
3
|
+
readonly barContainer: Readonly<{
|
|
4
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
5
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
6
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
7
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
8
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
9
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
10
|
+
}>;
|
|
11
|
+
readonly barHeader: Readonly<{
|
|
12
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
13
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "space-between">;
|
|
14
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
15
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
16
|
+
}>;
|
|
17
|
+
readonly barLabel: Readonly<{
|
|
18
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
19
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
20
|
+
}>;
|
|
21
|
+
readonly barValue: Readonly<{
|
|
22
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
23
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
24
|
+
}>;
|
|
25
|
+
readonly barTrack: Readonly<{
|
|
26
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
27
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
28
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
29
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
30
|
+
}>;
|
|
31
|
+
readonly barTrackSm: Readonly<{
|
|
32
|
+
readonly height: stylex.StyleXClassNameFor<"height", "4px">;
|
|
33
|
+
}>;
|
|
34
|
+
readonly barTrackMd: Readonly<{
|
|
35
|
+
readonly height: stylex.StyleXClassNameFor<"height", "8px">;
|
|
36
|
+
}>;
|
|
37
|
+
readonly barTrackLg: Readonly<{
|
|
38
|
+
readonly height: stylex.StyleXClassNameFor<"height", "12px">;
|
|
39
|
+
}>;
|
|
40
|
+
readonly barFill: Readonly<{
|
|
41
|
+
readonly height: stylex.StyleXClassNameFor<"height", "100%">;
|
|
42
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
43
|
+
readonly transition: stylex.StyleXClassNameFor<"transition", "width 0.3s ease-in-out">;
|
|
44
|
+
}>;
|
|
45
|
+
readonly circleContainer: Readonly<{
|
|
46
|
+
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
47
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
48
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
49
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
50
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
51
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
52
|
+
}>;
|
|
53
|
+
readonly circleWrapper: Readonly<{
|
|
54
|
+
readonly position: stylex.StyleXClassNameFor<"position", "relative">;
|
|
55
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
56
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
57
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
58
|
+
}>;
|
|
59
|
+
readonly circleValue: Readonly<{
|
|
60
|
+
readonly position: stylex.StyleXClassNameFor<"position", "absolute">;
|
|
61
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
62
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
63
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
64
|
+
}>;
|
|
65
|
+
readonly circleLabel: Readonly<{
|
|
66
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
67
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
68
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
69
|
+
}>;
|
|
70
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface PercentageBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'style'> {
|
|
4
|
+
value: number;
|
|
5
|
+
label?: React.ReactNode;
|
|
6
|
+
showValueText?: boolean;
|
|
7
|
+
color?: string;
|
|
8
|
+
size?: 'sm' | 'md' | 'lg';
|
|
9
|
+
style?: StyleXStyles;
|
|
10
|
+
}
|
|
11
|
+
export declare const PercentageBar: React.ForwardRefExoticComponent<PercentageBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface PercentageCircleProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'style'> {
|
|
4
|
+
value: number;
|
|
5
|
+
label?: React.ReactNode;
|
|
6
|
+
showValueText?: boolean;
|
|
7
|
+
color?: string;
|
|
8
|
+
size?: number;
|
|
9
|
+
strokeWidth?: number;
|
|
10
|
+
style?: StyleXStyles;
|
|
11
|
+
}
|
|
12
|
+
export declare const PercentageCircle: React.ForwardRefExoticComponent<PercentageCircleProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import { DialogProps as AriaDialogProps, DialogTrigger as AriaDialogTrigger, PopoverProps as AriaPopoverProps } from 'react-aria-components';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export declare const PopoverTrigger: typeof AriaDialogTrigger;
|
|
5
|
+
export interface PopoverDialogProps extends Omit<AriaDialogProps, 'style' | 'className'> {
|
|
6
|
+
style?: StyleXStyles;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const PopoverDialog: React.ForwardRefExoticComponent<PopoverDialogProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export interface PopoverProps extends Omit<AriaPopoverProps, 'style' | 'className'> {
|
|
11
|
+
style?: StyleXStyles;
|
|
12
|
+
className?: string;
|
|
13
|
+
showArrow?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const styles: Readonly<{
|
|
3
|
+
readonly popover: Readonly<{
|
|
4
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
5
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
|
|
6
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
7
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
|
|
8
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
9
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
10
|
+
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", string>;
|
|
11
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
12
|
+
}>;
|
|
13
|
+
readonly dialog: Readonly<{
|
|
14
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
15
|
+
readonly padding: stylex.StyleXClassNameFor<"padding", string>;
|
|
16
|
+
}>;
|
|
17
|
+
readonly arrow: Readonly<{
|
|
18
|
+
readonly fill: stylex.StyleXClassNameFor<"fill", string>;
|
|
19
|
+
readonly stroke: stylex.StyleXClassNameFor<"stroke", string>;
|
|
20
|
+
readonly strokeWidth: stylex.StyleXClassNameFor<"strokeWidth", "1px">;
|
|
21
|
+
}>;
|
|
22
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Popover, PopoverDialog, type PopoverDialogProps, type PopoverProps, PopoverTrigger, } from './Popover';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import { RadioGroupProps as AriaRadioGroupProps, RadioProps as AriaRadioProps, ValidationResult } from 'react-aria-components';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface RadioProps extends Omit<AriaRadioProps, 'style'> {
|
|
5
|
+
style?: StyleXStyles;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLLabelElement>>;
|
|
9
|
+
export interface RadioGroupProps extends Omit<AriaRadioGroupProps, 'style'> {
|
|
10
|
+
style?: StyleXStyles;
|
|
11
|
+
className?: string;
|
|
12
|
+
label?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
errorMessage?: string | ((v: ValidationResult) => string);
|
|
15
|
+
}
|
|
16
|
+
export declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const styles: Readonly<{
|
|
3
|
+
readonly groupBase: Readonly<{
|
|
4
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
5
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
6
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
7
|
+
}>;
|
|
8
|
+
readonly group: Readonly<{
|
|
9
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
10
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
11
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
12
|
+
}>;
|
|
13
|
+
readonly radioBase: Readonly<{
|
|
14
|
+
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
15
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
16
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
17
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
18
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
19
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
20
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
21
|
+
readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
|
|
22
|
+
}>;
|
|
23
|
+
readonly radioDisabled: Readonly<{
|
|
24
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.4>;
|
|
25
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "not-allowed">;
|
|
26
|
+
}>;
|
|
27
|
+
readonly radioReadOnly: Readonly<{
|
|
28
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "default">;
|
|
29
|
+
}>;
|
|
30
|
+
readonly indicator: Readonly<{
|
|
31
|
+
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
32
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
33
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
34
|
+
readonly width: stylex.StyleXClassNameFor<"width", string>;
|
|
35
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
36
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
37
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
38
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
|
|
39
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
40
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
41
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
42
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, border-color, box-shadow">;
|
|
43
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
|
|
44
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
|
|
45
|
+
}>;
|
|
46
|
+
readonly indicatorHover: Readonly<{
|
|
47
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
48
|
+
}>;
|
|
49
|
+
readonly indicatorChecked: Readonly<{
|
|
50
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
51
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
52
|
+
}>;
|
|
53
|
+
readonly indicatorFocusVisible: Readonly<{
|
|
54
|
+
readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
|
|
55
|
+
readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", "2px">;
|
|
56
|
+
readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", "2px">;
|
|
57
|
+
readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
|
|
58
|
+
}>;
|
|
59
|
+
readonly indicatorInvalid: Readonly<{
|
|
60
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
61
|
+
}>;
|
|
62
|
+
readonly dot: Readonly<{
|
|
63
|
+
readonly width: stylex.StyleXClassNameFor<"width", string>;
|
|
64
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
65
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
66
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
67
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "transform">;
|
|
68
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
|
|
69
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
|
|
70
|
+
readonly transform: stylex.StyleXClassNameFor<"transform", "scale(1)">;
|
|
71
|
+
}>;
|
|
72
|
+
readonly label: Readonly<{
|
|
73
|
+
readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", string>;
|
|
74
|
+
}>;
|
|
75
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import { SearchFieldProps as AriaSearchFieldProps, ValidationResult } from 'react-aria-components';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface SearchFieldProps extends Omit<AriaSearchFieldProps, 'style'> {
|
|
5
|
+
style?: StyleXStyles;
|
|
6
|
+
className?: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
errorMessage?: string | ((v: ValidationResult) => string);
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
variant?: 'primary' | 'secondary';
|
|
12
|
+
size?: 'sm' | 'md' | 'lg';
|
|
13
|
+
}
|
|
14
|
+
export declare const SearchField: React.ForwardRefExoticComponent<SearchFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const styles: Readonly<{
|
|
3
|
+
readonly container: Readonly<{
|
|
4
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
5
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
6
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
7
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
8
|
+
}>;
|
|
9
|
+
readonly group: Readonly<{
|
|
10
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
11
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
12
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
|
|
13
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
14
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
|
|
15
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
16
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "border-color, box-shadow">;
|
|
17
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
|
|
18
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
|
|
19
|
+
}>;
|
|
20
|
+
readonly groupSm: Readonly<{
|
|
21
|
+
readonly height: stylex.StyleXClassNameFor<"height", `calc(${stylex.StyleXVar<string>} * 2 + ${stylex.StyleXVar<string>})`>;
|
|
22
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
23
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
24
|
+
}>;
|
|
25
|
+
readonly groupMd: Readonly<{
|
|
26
|
+
readonly height: stylex.StyleXClassNameFor<"height", `calc(${stylex.StyleXVar<string>} * 2 + ${stylex.StyleXVar<string>})`>;
|
|
27
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
28
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
29
|
+
}>;
|
|
30
|
+
readonly groupLg: Readonly<{
|
|
31
|
+
readonly height: stylex.StyleXClassNameFor<"height", `calc(${stylex.StyleXVar<string>} * 2 + ${stylex.StyleXVar<string>})`>;
|
|
32
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
33
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
34
|
+
}>;
|
|
35
|
+
readonly primary: Readonly<{
|
|
36
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
37
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
38
|
+
}>;
|
|
39
|
+
readonly secondary: Readonly<{
|
|
40
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
41
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
42
|
+
}>;
|
|
43
|
+
readonly groupHover: Readonly<{
|
|
44
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
45
|
+
}>;
|
|
46
|
+
readonly groupFocused: Readonly<{
|
|
47
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
48
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", `0 0 0 1px ${stylex.StyleXVar<string>}`>;
|
|
49
|
+
}>;
|
|
50
|
+
readonly groupInvalid: Readonly<{
|
|
51
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
52
|
+
}>;
|
|
53
|
+
readonly groupFocusedInvalid: Readonly<{
|
|
54
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
55
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", `0 0 0 1px ${stylex.StyleXVar<string>}`>;
|
|
56
|
+
}>;
|
|
57
|
+
readonly groupDisabled: Readonly<{
|
|
58
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.4>;
|
|
59
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
60
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "not-allowed">;
|
|
61
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
62
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
63
|
+
}>;
|
|
64
|
+
}>;
|
|
65
|
+
readonly icon: Readonly<{
|
|
66
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
67
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
68
|
+
}>;
|
|
69
|
+
readonly iconSm: Readonly<{
|
|
70
|
+
readonly width: stylex.StyleXClassNameFor<"width", string>;
|
|
71
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
72
|
+
}>;
|
|
73
|
+
readonly iconMd: Readonly<{
|
|
74
|
+
readonly width: stylex.StyleXClassNameFor<"width", string>;
|
|
75
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
76
|
+
}>;
|
|
77
|
+
readonly iconLg: Readonly<{
|
|
78
|
+
readonly width: stylex.StyleXClassNameFor<"width", string>;
|
|
79
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
80
|
+
}>;
|
|
81
|
+
readonly input: Readonly<{
|
|
82
|
+
readonly flexGrow: stylex.StyleXClassNameFor<"flexGrow", 1>;
|
|
83
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
84
|
+
readonly height: stylex.StyleXClassNameFor<"height", "100%">;
|
|
85
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "none">;
|
|
86
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
|
|
87
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
88
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
89
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
90
|
+
}>;
|
|
91
|
+
readonly inputSm: Readonly<{
|
|
92
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
|
|
93
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
94
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
95
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
96
|
+
}>;
|
|
97
|
+
readonly inputMd: Readonly<{
|
|
98
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
|
|
99
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
100
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
101
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
102
|
+
}>;
|
|
103
|
+
readonly inputLg: Readonly<{
|
|
104
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
|
|
105
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
106
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
107
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
108
|
+
}>;
|
|
109
|
+
readonly clearButton: Readonly<{
|
|
110
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
111
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
112
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
113
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "none">;
|
|
114
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
|
|
115
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
116
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
117
|
+
readonly padding: stylex.StyleXClassNameFor<"padding", 0>;
|
|
118
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
119
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
120
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, color">;
|
|
121
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.1s">;
|
|
122
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
|
|
123
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
124
|
+
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
125
|
+
readonly color: stylex.StyleXVar<string>;
|
|
126
|
+
}>;
|
|
127
|
+
}>;
|
|
128
|
+
readonly clearButtonSm: Readonly<{
|
|
129
|
+
readonly width: stylex.StyleXClassNameFor<"width", string>;
|
|
130
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
131
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
132
|
+
}>;
|
|
133
|
+
readonly clearButtonMd: Readonly<{
|
|
134
|
+
readonly width: stylex.StyleXClassNameFor<"width", string>;
|
|
135
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
136
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
137
|
+
}>;
|
|
138
|
+
readonly clearButtonLg: Readonly<{
|
|
139
|
+
readonly width: stylex.StyleXClassNameFor<"width", string>;
|
|
140
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
141
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
142
|
+
}>;
|
|
143
|
+
readonly clearButtonHidden: Readonly<{
|
|
144
|
+
readonly visibility: stylex.StyleXClassNameFor<"visibility", "hidden">;
|
|
145
|
+
readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "none">;
|
|
146
|
+
}>;
|
|
147
|
+
}>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import { ListBoxItemProps as AriaListBoxItemProps, PopoverProps as AriaPopoverProps, SectionProps as AriaSectionProps, SelectProps as AriaSelectProps, ValidationResult } from 'react-aria-components';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export declare const SelectValue: <T>(props: import('react-aria-components').SelectValueProps<T> & React.RefAttributes<HTMLSpanElement>) => React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null;
|
|
5
|
+
export interface SelectPopoverProps extends Omit<AriaPopoverProps, 'style'> {
|
|
6
|
+
style?: StyleXStyles;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const SelectPopover: React.ForwardRefExoticComponent<SelectPopoverProps & React.RefAttributes<HTMLElement>>;
|
|
10
|
+
export interface SelectItemProps extends Omit<AriaListBoxItemProps, 'style'> {
|
|
11
|
+
style?: StyleXStyles;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const SelectItem: React.ForwardRefExoticComponent<SelectItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export interface SelectSectionProps extends Omit<AriaSectionProps<any>, 'style'> {
|
|
16
|
+
title?: string;
|
|
17
|
+
style?: StyleXStyles;
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare const SelectSection: React.ForwardRefExoticComponent<SelectSectionProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export interface SelectProps extends Omit<AriaSelectProps<any>, 'style'> {
|
|
22
|
+
style?: StyleXStyles;
|
|
23
|
+
className?: string;
|
|
24
|
+
label?: string;
|
|
25
|
+
description?: string;
|
|
26
|
+
errorMessage?: string | ((v: ValidationResult) => string);
|
|
27
|
+
placeholder?: string;
|
|
28
|
+
size?: 'sm' | 'md' | 'lg';
|
|
29
|
+
}
|
|
30
|
+
export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const styles: Readonly<{
|
|
3
|
+
readonly container: Readonly<{
|
|
4
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
5
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
6
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
7
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
8
|
+
}>;
|
|
9
|
+
readonly trigger: Readonly<{
|
|
10
|
+
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
11
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
12
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "space-between">;
|
|
13
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
14
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
|
|
15
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
16
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
17
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
18
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
19
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
20
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
21
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
22
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
|
|
23
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "border-color, box-shadow, background-color">;
|
|
24
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
|
|
25
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
|
|
26
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
27
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
28
|
+
}>;
|
|
29
|
+
readonly ':focus-visible': stylex.StyleXClassNameFor<":focus-visible", {
|
|
30
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
31
|
+
readonly boxShadow: `0 0 0 1px ${stylex.StyleXVar<string>}`;
|
|
32
|
+
}>;
|
|
33
|
+
}>;
|
|
34
|
+
readonly sm: Readonly<{
|
|
35
|
+
readonly height: stylex.StyleXClassNameFor<"height", `calc(${stylex.StyleXVar<string>} * 2 + ${stylex.StyleXVar<string>})`>;
|
|
36
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
|
|
37
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
38
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
39
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
40
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
41
|
+
}>;
|
|
42
|
+
readonly md: Readonly<{
|
|
43
|
+
readonly height: stylex.StyleXClassNameFor<"height", `calc(${stylex.StyleXVar<string>} * 2 + ${stylex.StyleXVar<string>})`>;
|
|
44
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
|
|
45
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
46
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
47
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
48
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
49
|
+
}>;
|
|
50
|
+
readonly lg: Readonly<{
|
|
51
|
+
readonly height: stylex.StyleXClassNameFor<"height", `calc(${stylex.StyleXVar<string>} * 2 + ${stylex.StyleXVar<string>})`>;
|
|
52
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
|
|
53
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
54
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
55
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
56
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
57
|
+
}>;
|
|
58
|
+
readonly triggerInvalid: Readonly<{
|
|
59
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
60
|
+
readonly ':focus-visible': stylex.StyleXClassNameFor<":focus-visible", {
|
|
61
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
62
|
+
readonly boxShadow: `0 0 0 1px ${stylex.StyleXVar<string>}`;
|
|
63
|
+
}>;
|
|
64
|
+
}>;
|
|
65
|
+
readonly triggerDisabled: Readonly<{
|
|
66
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.4>;
|
|
67
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
68
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "not-allowed">;
|
|
69
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "none">;
|
|
70
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
71
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
72
|
+
}>;
|
|
73
|
+
}>;
|
|
74
|
+
readonly chevron: Readonly<{
|
|
75
|
+
readonly width: stylex.StyleXClassNameFor<"width", string>;
|
|
76
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
77
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
78
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
79
|
+
readonly marginInlineStart: stylex.StyleXClassNameFor<"marginInlineStart", string>;
|
|
80
|
+
}>;
|
|
81
|
+
readonly popover: Readonly<{
|
|
82
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
|
|
83
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
84
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
85
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
86
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
|
|
87
|
+
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", string>;
|
|
88
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", "var(--trigger-width)">;
|
|
89
|
+
readonly maxHeight: stylex.StyleXClassNameFor<"maxHeight", "300px">;
|
|
90
|
+
readonly overflowY: stylex.StyleXClassNameFor<"overflowY", "auto">;
|
|
91
|
+
}>;
|
|
92
|
+
readonly popoverSm: Readonly<{
|
|
93
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
94
|
+
}>;
|
|
95
|
+
readonly popoverMd: Readonly<{
|
|
96
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
97
|
+
}>;
|
|
98
|
+
readonly popoverLg: Readonly<{
|
|
99
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
100
|
+
}>;
|
|
101
|
+
readonly listbox: Readonly<{
|
|
102
|
+
readonly padding: stylex.StyleXClassNameFor<"padding", string>;
|
|
103
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
104
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
105
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
106
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", "2px">;
|
|
107
|
+
}>;
|
|
108
|
+
readonly item: Readonly<{
|
|
109
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
110
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
111
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
112
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
113
|
+
readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
|
|
114
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
|
|
115
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, color">;
|
|
116
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.1s">;
|
|
117
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
|
|
118
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
119
|
+
}>;
|
|
120
|
+
readonly itemSm: Readonly<{
|
|
121
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
122
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
123
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", `calc(${stylex.StyleXVar<string>} - ${stylex.StyleXVar<string>})`>;
|
|
124
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
125
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
126
|
+
}>;
|
|
127
|
+
readonly itemMd: Readonly<{
|
|
128
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
129
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
130
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", `calc(${stylex.StyleXVar<string>} - ${stylex.StyleXVar<string>})`>;
|
|
131
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
132
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
133
|
+
}>;
|
|
134
|
+
readonly itemLg: Readonly<{
|
|
135
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
136
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
137
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", `calc(${stylex.StyleXVar<string>} - ${stylex.StyleXVar<string>})`>;
|
|
138
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
139
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
140
|
+
}>;
|
|
141
|
+
readonly itemHovered: Readonly<{
|
|
142
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
143
|
+
}>;
|
|
144
|
+
readonly itemFocused: Readonly<{
|
|
145
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
146
|
+
}>;
|
|
147
|
+
readonly itemSelected: Readonly<{
|
|
148
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
149
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
150
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
151
|
+
}>;
|
|
152
|
+
readonly itemDisabled: Readonly<{
|
|
153
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.4>;
|
|
154
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "not-allowed">;
|
|
155
|
+
}>;
|
|
156
|
+
readonly section: Readonly<{
|
|
157
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
158
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
159
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", "2px">;
|
|
160
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
161
|
+
}>;
|
|
162
|
+
readonly sectionHeader: Readonly<{
|
|
163
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
164
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
165
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
166
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
167
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
168
|
+
readonly textTransform: stylex.StyleXClassNameFor<"textTransform", "uppercase">;
|
|
169
|
+
readonly letterSpacing: stylex.StyleXClassNameFor<"letterSpacing", "0.05em">;
|
|
170
|
+
}>;
|
|
171
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import { SeparatorProps as AriaSeparatorProps } from 'react-aria-components';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface SeparatorProps extends Omit<AriaSeparatorProps, 'style'> {
|
|
5
|
+
style?: StyleXStyles;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLElement>>;
|