@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,199 @@
|
|
|
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 fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
7
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
8
|
+
}>;
|
|
9
|
+
readonly list: Readonly<{
|
|
10
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
11
|
+
readonly flexWrap: stylex.StyleXClassNameFor<"flexWrap", "wrap">;
|
|
12
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
13
|
+
}>;
|
|
14
|
+
readonly tag: Readonly<{
|
|
15
|
+
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
16
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
17
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
18
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
19
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
20
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "default">;
|
|
21
|
+
readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
|
|
22
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
23
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
|
|
24
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
25
|
+
readonly transition: stylex.StyleXClassNameFor<"transition", "all 0.2s ease">;
|
|
26
|
+
readonly textDecoration: stylex.StyleXClassNameFor<"textDecoration", "none">;
|
|
27
|
+
}>;
|
|
28
|
+
readonly tagLink: Readonly<{
|
|
29
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
30
|
+
}>;
|
|
31
|
+
readonly tagFocused: Readonly<{}>;
|
|
32
|
+
readonly tagFocusVisible: Readonly<{
|
|
33
|
+
readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", "2px">;
|
|
34
|
+
readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
|
|
35
|
+
readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
|
|
36
|
+
readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", "1px">;
|
|
37
|
+
}>;
|
|
38
|
+
readonly tagPressed: Readonly<{
|
|
39
|
+
readonly transform: stylex.StyleXClassNameFor<"transform", "scale(0.96)">;
|
|
40
|
+
}>;
|
|
41
|
+
readonly tagDisabled: Readonly<{
|
|
42
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.5>;
|
|
43
|
+
readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "none">;
|
|
44
|
+
}>;
|
|
45
|
+
readonly sm: Readonly<{
|
|
46
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", "2px">;
|
|
47
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
48
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
49
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
50
|
+
}>;
|
|
51
|
+
readonly md: Readonly<{
|
|
52
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
53
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
54
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
55
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
56
|
+
}>;
|
|
57
|
+
readonly lg: Readonly<{
|
|
58
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
59
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
60
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
61
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
62
|
+
}>;
|
|
63
|
+
readonly tagWithRemoveSm: Readonly<{
|
|
64
|
+
readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", string>;
|
|
65
|
+
readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", "2px">;
|
|
66
|
+
}>;
|
|
67
|
+
readonly tagWithRemoveMd: Readonly<{
|
|
68
|
+
readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", string>;
|
|
69
|
+
readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", string>;
|
|
70
|
+
}>;
|
|
71
|
+
readonly tagWithRemoveLg: Readonly<{
|
|
72
|
+
readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", string>;
|
|
73
|
+
readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", string>;
|
|
74
|
+
}>;
|
|
75
|
+
readonly variantPrimary: Readonly<{
|
|
76
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
77
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
78
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
79
|
+
}>;
|
|
80
|
+
readonly variantPrimaryHovered: Readonly<{
|
|
81
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
82
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
83
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
84
|
+
}>;
|
|
85
|
+
readonly variantPrimarySelected: Readonly<{
|
|
86
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
87
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
88
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
89
|
+
}>;
|
|
90
|
+
readonly variantPrimarySelectedHovered: Readonly<{
|
|
91
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
92
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
93
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
94
|
+
}>;
|
|
95
|
+
readonly variantSecondary: Readonly<{
|
|
96
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
97
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
98
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
99
|
+
}>;
|
|
100
|
+
readonly variantSecondaryHovered: Readonly<{
|
|
101
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
102
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
103
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
104
|
+
}>;
|
|
105
|
+
readonly variantSecondarySelected: Readonly<{
|
|
106
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
107
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
108
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
109
|
+
}>;
|
|
110
|
+
readonly variantSecondarySelectedHovered: Readonly<{
|
|
111
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
112
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
113
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
114
|
+
}>;
|
|
115
|
+
readonly variantTertiary: Readonly<{
|
|
116
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
|
|
117
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
118
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
119
|
+
}>;
|
|
120
|
+
readonly variantTertiaryHovered: Readonly<{
|
|
121
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
122
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
123
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
124
|
+
}>;
|
|
125
|
+
readonly variantTertiarySelected: Readonly<{
|
|
126
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
127
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
128
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
129
|
+
}>;
|
|
130
|
+
readonly variantTertiarySelectedHovered: Readonly<{
|
|
131
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
132
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
133
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
134
|
+
}>;
|
|
135
|
+
readonly removeButton: Readonly<{
|
|
136
|
+
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
137
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
138
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
139
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
140
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", 0>;
|
|
141
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
|
|
142
|
+
readonly color: stylex.StyleXClassNameFor<"color", "inherit">;
|
|
143
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
144
|
+
readonly transition: stylex.StyleXClassNameFor<"transition", "all 0.15s ease">;
|
|
145
|
+
readonly padding: stylex.StyleXClassNameFor<"padding", 0>;
|
|
146
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", 1>;
|
|
147
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
148
|
+
}>;
|
|
149
|
+
readonly removeButtonSm: Readonly<{
|
|
150
|
+
readonly width: stylex.StyleXClassNameFor<"width", "14px">;
|
|
151
|
+
readonly height: stylex.StyleXClassNameFor<"height", "14px">;
|
|
152
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", "8px">;
|
|
153
|
+
}>;
|
|
154
|
+
readonly removeButtonMd: Readonly<{
|
|
155
|
+
readonly width: stylex.StyleXClassNameFor<"width", "18px">;
|
|
156
|
+
readonly height: stylex.StyleXClassNameFor<"height", "18px">;
|
|
157
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", "9px">;
|
|
158
|
+
}>;
|
|
159
|
+
readonly removeButtonLg: Readonly<{
|
|
160
|
+
readonly width: stylex.StyleXClassNameFor<"width", "22px">;
|
|
161
|
+
readonly height: stylex.StyleXClassNameFor<"height", "22px">;
|
|
162
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
163
|
+
}>;
|
|
164
|
+
readonly removeButtonHovered: Readonly<{
|
|
165
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
166
|
+
}>;
|
|
167
|
+
readonly removeHoverPrimary: Readonly<{
|
|
168
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
169
|
+
}>;
|
|
170
|
+
readonly removeHoverSecondary: Readonly<{
|
|
171
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
172
|
+
}>;
|
|
173
|
+
readonly removeHoverTertiary: Readonly<{
|
|
174
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
175
|
+
}>;
|
|
176
|
+
readonly removeHoverPrimarySelected: Readonly<{
|
|
177
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
178
|
+
}>;
|
|
179
|
+
readonly removeHoverSecondarySelected: Readonly<{
|
|
180
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
181
|
+
}>;
|
|
182
|
+
readonly removeHoverTertiarySelected: Readonly<{
|
|
183
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
184
|
+
}>;
|
|
185
|
+
readonly removeButtonPressed: Readonly<{
|
|
186
|
+
readonly transform: stylex.StyleXClassNameFor<"transform", "scale(0.85)">;
|
|
187
|
+
}>;
|
|
188
|
+
readonly removeButtonFocused: Readonly<{
|
|
189
|
+
readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", "1px">;
|
|
190
|
+
readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
|
|
191
|
+
readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
|
|
192
|
+
}>;
|
|
193
|
+
readonly errorMessage: Readonly<{
|
|
194
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
195
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
196
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
197
|
+
readonly marginBlockStart: stylex.StyleXClassNameFor<"marginBlockStart", string>;
|
|
198
|
+
}>;
|
|
199
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import { TextFieldProps as AriaTextFieldProps, ValidationResult } from 'react-aria-components';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface TextAreaProps extends Omit<AriaTextFieldProps, 'style'> {
|
|
5
|
+
style?: StyleXStyles;
|
|
6
|
+
className?: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
errorMessage?: string | ((v: ValidationResult) => string);
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
rows?: number;
|
|
12
|
+
variant?: 'primary' | 'secondary';
|
|
13
|
+
}
|
|
14
|
+
export declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -0,0 +1,63 @@
|
|
|
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 textarea: Readonly<{
|
|
10
|
+
readonly display: stylex.StyleXClassNameFor<"display", "block">;
|
|
11
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
12
|
+
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", `calc(${stylex.StyleXVar<string>} * 2)`>;
|
|
13
|
+
readonly resize: stylex.StyleXClassNameFor<"resize", "vertical">;
|
|
14
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
15
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
16
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
17
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
|
|
18
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
19
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
20
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
21
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
22
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
23
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
24
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
|
|
25
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "border-color, box-shadow">;
|
|
26
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
|
|
27
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
|
|
28
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
29
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
30
|
+
}>;
|
|
31
|
+
readonly ':focus': stylex.StyleXClassNameFor<":focus", {
|
|
32
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
33
|
+
readonly boxShadow: `0 0 0 1px ${stylex.StyleXVar<string>}`;
|
|
34
|
+
}>;
|
|
35
|
+
readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
|
|
36
|
+
readonly transitionProperty: "none";
|
|
37
|
+
}>;
|
|
38
|
+
}>;
|
|
39
|
+
readonly primary: Readonly<{
|
|
40
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
41
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
42
|
+
}>;
|
|
43
|
+
readonly secondary: Readonly<{
|
|
44
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
45
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
46
|
+
}>;
|
|
47
|
+
readonly textareaInvalid: Readonly<{
|
|
48
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
49
|
+
readonly ':focus': stylex.StyleXClassNameFor<":focus", {
|
|
50
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
51
|
+
readonly boxShadow: `0 0 0 1px ${stylex.StyleXVar<string>}`;
|
|
52
|
+
}>;
|
|
53
|
+
}>;
|
|
54
|
+
readonly textareaDisabled: Readonly<{
|
|
55
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.4>;
|
|
56
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
57
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "not-allowed">;
|
|
58
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "none">;
|
|
59
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
60
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
61
|
+
}>;
|
|
62
|
+
}>;
|
|
63
|
+
}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import { TextFieldProps as AriaTextFieldProps, ValidationResult } from 'react-aria-components';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface TextFieldProps extends Omit<AriaTextFieldProps, 'style'> {
|
|
5
|
+
style?: StyleXStyles;
|
|
6
|
+
className?: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
errorMessage?: string | ((v: ValidationResult) => string);
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
type?: string;
|
|
12
|
+
variant?: 'primary' | 'secondary';
|
|
13
|
+
size?: 'sm' | 'md' | 'lg';
|
|
14
|
+
}
|
|
15
|
+
export declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,80 @@
|
|
|
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 input: Readonly<{
|
|
10
|
+
readonly display: stylex.StyleXClassNameFor<"display", "block">;
|
|
11
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
12
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
|
|
13
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
14
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
15
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
16
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
17
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
|
|
18
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "border-color, box-shadow">;
|
|
19
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
|
|
20
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
|
|
21
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
22
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
23
|
+
}>;
|
|
24
|
+
readonly ':focus': stylex.StyleXClassNameFor<":focus", {
|
|
25
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
26
|
+
readonly boxShadow: `0 0 0 1px ${stylex.StyleXVar<string>}`;
|
|
27
|
+
}>;
|
|
28
|
+
readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
|
|
29
|
+
readonly transitionProperty: "none";
|
|
30
|
+
}>;
|
|
31
|
+
}>;
|
|
32
|
+
readonly sm: Readonly<{
|
|
33
|
+
readonly height: stylex.StyleXClassNameFor<"height", `calc(${stylex.StyleXVar<string>} * 2 + ${stylex.StyleXVar<string>})`>;
|
|
34
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
|
|
35
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
36
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
37
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
38
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
39
|
+
}>;
|
|
40
|
+
readonly md: Readonly<{
|
|
41
|
+
readonly height: stylex.StyleXClassNameFor<"height", `calc(${stylex.StyleXVar<string>} * 2 + ${stylex.StyleXVar<string>})`>;
|
|
42
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
|
|
43
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
44
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
45
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
46
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
47
|
+
}>;
|
|
48
|
+
readonly lg: Readonly<{
|
|
49
|
+
readonly height: stylex.StyleXClassNameFor<"height", `calc(${stylex.StyleXVar<string>} * 2 + ${stylex.StyleXVar<string>})`>;
|
|
50
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
|
|
51
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
52
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
53
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
54
|
+
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
55
|
+
}>;
|
|
56
|
+
readonly primary: Readonly<{
|
|
57
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
58
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
59
|
+
}>;
|
|
60
|
+
readonly secondary: Readonly<{
|
|
61
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
62
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
63
|
+
}>;
|
|
64
|
+
readonly inputInvalid: Readonly<{
|
|
65
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
66
|
+
readonly ':focus': stylex.StyleXClassNameFor<":focus", {
|
|
67
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
68
|
+
readonly boxShadow: `0 0 0 1px ${stylex.StyleXVar<string>}`;
|
|
69
|
+
}>;
|
|
70
|
+
}>;
|
|
71
|
+
readonly inputDisabled: Readonly<{
|
|
72
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.4>;
|
|
73
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
74
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "not-allowed">;
|
|
75
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "none">;
|
|
76
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
77
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
78
|
+
}>;
|
|
79
|
+
}>;
|
|
80
|
+
}>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import { ToastProps as AriaToastProps, UNSTABLE_ToastQueue as AriaToastQueue, ToastRegionProps as AriaToastRegionProps } from 'react-aria-components';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface ToastContent {
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
variant?: 'info' | 'error' | 'success' | 'warning';
|
|
8
|
+
}
|
|
9
|
+
export declare const toastQueue: AriaToastQueue<ToastContent>;
|
|
10
|
+
export declare function useToast(): {
|
|
11
|
+
show: (title: string, options?: {
|
|
12
|
+
description?: string;
|
|
13
|
+
variant?: "info" | "error" | "success" | "warning";
|
|
14
|
+
timeout?: number;
|
|
15
|
+
}) => string;
|
|
16
|
+
close: (key: any) => void;
|
|
17
|
+
};
|
|
18
|
+
export interface ToastProps extends Omit<AriaToastProps<ToastContent>, 'style' | 'className' | 'children'> {
|
|
19
|
+
toast: any;
|
|
20
|
+
style?: StyleXStyles;
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const Toast: React.ForwardRefExoticComponent<ToastProps & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
export interface ToastContainerProps extends Omit<AriaToastRegionProps<ToastContent>, 'style' | 'className' | 'children' | 'queue'> {
|
|
25
|
+
style?: StyleXStyles;
|
|
26
|
+
className?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare const ToastContainer: React.ForwardRefExoticComponent<ToastContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const styles: Readonly<{
|
|
3
|
+
readonly region: Readonly<{
|
|
4
|
+
readonly position: stylex.StyleXClassNameFor<"position", "fixed">;
|
|
5
|
+
readonly bottom: stylex.StyleXClassNameFor<"bottom", string>;
|
|
6
|
+
readonly insetInlineEnd: stylex.StyleXClassNameFor<"insetInlineEnd", string>;
|
|
7
|
+
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", string>;
|
|
8
|
+
readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "none">;
|
|
9
|
+
}>;
|
|
10
|
+
readonly list: Readonly<{
|
|
11
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
12
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
13
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
14
|
+
readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "none">;
|
|
15
|
+
}>;
|
|
16
|
+
readonly toast: Readonly<{
|
|
17
|
+
readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "auto">;
|
|
18
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", "250px">;
|
|
19
|
+
readonly maxWidth: stylex.StyleXClassNameFor<"maxWidth", "400px">;
|
|
20
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
21
|
+
readonly animationName: stylex.StyleXClassNameFor<"animationName", string>;
|
|
22
|
+
readonly animationDuration: stylex.StyleXClassNameFor<"animationDuration", "0.2s">;
|
|
23
|
+
readonly animationTimingFunction: stylex.StyleXClassNameFor<"animationTimingFunction", "ease-out">;
|
|
24
|
+
readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
|
|
25
|
+
readonly animationPlayState: "paused";
|
|
26
|
+
readonly animationDuration: "0s";
|
|
27
|
+
}>;
|
|
28
|
+
}>;
|
|
29
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Toast, ToastContainer, type ToastContainerProps, type ToastContent, type ToastProps, toastQueue, useToast, } from './Toast';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import { ToggleButtonProps as AriaToggleButtonProps } from 'react-aria-components';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface ToggleButtonProps extends Omit<AriaToggleButtonProps, 'style'> {
|
|
5
|
+
style?: StyleXStyles;
|
|
6
|
+
className?: string;
|
|
7
|
+
size?: 'sm' | 'md' | 'lg';
|
|
8
|
+
variant?: 'primary' | 'secondary';
|
|
9
|
+
isSquare?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const ToggleButton: React.ForwardRefExoticComponent<ToggleButtonProps & React.RefAttributes<HTMLButtonElement>>;
|