@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.
Files changed (171) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +149 -0
  3. package/dist/assets/stylex.css +2391 -0
  4. package/dist/favicon.svg +20 -0
  5. package/dist/icons.svg +24 -0
  6. package/dist/moul-ui.js +6662 -0
  7. package/dist/src/App.d.ts +2 -0
  8. package/dist/src/components/Alert/Alert.d.ts +14 -0
  9. package/dist/src/components/Alert/Alert.styles.d.ts +188 -0
  10. package/dist/src/components/Alert/index.d.ts +2 -0
  11. package/dist/src/components/AlertDialog/AlertDialog.d.ts +23 -0
  12. package/dist/src/components/AlertDialog/AlertDialog.styles.d.ts +35 -0
  13. package/dist/src/components/AlertDialog/index.d.ts +1 -0
  14. package/dist/src/components/AreaChart/AreaChart.d.ts +21 -0
  15. package/dist/src/components/AreaChart/AreaChart.styles.d.ts +7 -0
  16. package/dist/src/components/AreaChart/index.d.ts +2 -0
  17. package/dist/src/components/Avatar/Avatar.d.ts +10 -0
  18. package/dist/src/components/Avatar/Avatar.styles.d.ts +31 -0
  19. package/dist/src/components/Avatar/index.d.ts +2 -0
  20. package/dist/src/components/Badge/Badge.d.ts +9 -0
  21. package/dist/src/components/Badge/Badge.styles.d.ts +35 -0
  22. package/dist/src/components/Badge/index.d.ts +2 -0
  23. package/dist/src/components/BarChart/BarChart.d.ts +16 -0
  24. package/dist/src/components/BarChart/BarChart.styles.d.ts +7 -0
  25. package/dist/src/components/BarChart/index.d.ts +2 -0
  26. package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +16 -0
  27. package/dist/src/components/Breadcrumbs/Breadcrumbs.styles.d.ts +34 -0
  28. package/dist/src/components/Breadcrumbs/index.d.ts +2 -0
  29. package/dist/src/components/Button/Button.d.ts +10 -0
  30. package/dist/src/components/Button/Button.styles.d.ts +148 -0
  31. package/dist/src/components/Button/index.d.ts +2 -0
  32. package/dist/src/components/ButtonGroup/ButtonGroup.d.ts +7 -0
  33. package/dist/src/components/ButtonGroup/ButtonGroup.styles.d.ts +9 -0
  34. package/dist/src/components/ButtonGroup/index.d.ts +2 -0
  35. package/dist/src/components/Card/Card.d.ts +19 -0
  36. package/dist/src/components/Card/Card.styles.d.ts +185 -0
  37. package/dist/src/components/Card/CardBody.d.ts +7 -0
  38. package/dist/src/components/Card/CardFooter.d.ts +7 -0
  39. package/dist/src/components/Card/CardHeader.d.ts +7 -0
  40. package/dist/src/components/Card/index.d.ts +8 -0
  41. package/dist/src/components/ChartCommon.d.ts +1 -0
  42. package/dist/src/components/ChartContainer/ChartContainer.d.ts +21 -0
  43. package/dist/src/components/ChartContainer/ChartContainer.styles.d.ts +124 -0
  44. package/dist/src/components/ChartContainer/index.d.ts +2 -0
  45. package/dist/src/components/ChartTooltip/ChartTooltip.d.ts +8 -0
  46. package/dist/src/components/ChartTooltip/ChartTooltip.styles.d.ts +61 -0
  47. package/dist/src/components/ChartTooltip/index.d.ts +2 -0
  48. package/dist/src/components/Checkbox/Checkbox.d.ts +9 -0
  49. package/dist/src/components/Checkbox/Checkbox.styles.d.ts +94 -0
  50. package/dist/src/components/Checkbox/context.d.ts +5 -0
  51. package/dist/src/components/Checkbox/index.d.ts +2 -0
  52. package/dist/src/components/CheckboxGroup/CheckboxGroup.d.ts +13 -0
  53. package/dist/src/components/CheckboxGroup/CheckboxGroup.styles.d.ts +18 -0
  54. package/dist/src/components/CheckboxGroup/index.d.ts +2 -0
  55. package/dist/src/components/ComboBox/ComboBox.d.ts +25 -0
  56. package/dist/src/components/ComboBox/ComboBox.styles.d.ts +223 -0
  57. package/dist/src/components/ComboBox/index.d.ts +2 -0
  58. package/dist/src/components/Description/Description.d.ts +8 -0
  59. package/dist/src/components/Description/Description.styles.d.ts +9 -0
  60. package/dist/src/components/Description/index.d.ts +2 -0
  61. package/dist/src/components/DoughnutChart/DoughnutChart.d.ts +15 -0
  62. package/dist/src/components/DoughnutChart/DoughnutChart.styles.d.ts +10 -0
  63. package/dist/src/components/DoughnutChart/index.d.ts +2 -0
  64. package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +7 -0
  65. package/dist/src/components/ErrorMessage/ErrorMessage.styles.d.ts +9 -0
  66. package/dist/src/components/ErrorMessage/index.d.ts +2 -0
  67. package/dist/src/components/FieldError/FieldError.d.ts +9 -0
  68. package/dist/src/components/FieldError/FieldError.styles.d.ts +9 -0
  69. package/dist/src/components/FieldError/index.d.ts +2 -0
  70. package/dist/src/components/Form/Form.d.ts +8 -0
  71. package/dist/src/components/Form/Form.styles.d.ts +3 -0
  72. package/dist/src/components/Form/index.d.ts +2 -0
  73. package/dist/src/components/InputOTP/InputOTP.d.ts +25 -0
  74. package/dist/src/components/InputOTP/InputOTP.styles.d.ts +113 -0
  75. package/dist/src/components/InputOTP/index.d.ts +3 -0
  76. package/dist/src/components/Kbd/Kbd.d.ts +7 -0
  77. package/dist/src/components/Kbd/Kbd.styles.d.ts +20 -0
  78. package/dist/src/components/Kbd/index.d.ts +2 -0
  79. package/dist/src/components/Label/Label.d.ts +8 -0
  80. package/dist/src/components/Label/Label.styles.d.ts +10 -0
  81. package/dist/src/components/Label/index.d.ts +2 -0
  82. package/dist/src/components/LineChart/LineChart.d.ts +15 -0
  83. package/dist/src/components/LineChart/LineChart.styles.d.ts +7 -0
  84. package/dist/src/components/LineChart/index.d.ts +2 -0
  85. package/dist/src/components/Link/Link.d.ts +9 -0
  86. package/dist/src/components/Link/Link.styles.d.ts +92 -0
  87. package/dist/src/components/Link/index.d.ts +2 -0
  88. package/dist/src/components/Modal/Modal.d.ts +34 -0
  89. package/dist/src/components/Modal/Modal.styles.d.ts +91 -0
  90. package/dist/src/components/Modal/index.d.ts +1 -0
  91. package/dist/src/components/NumberField/NumberField.d.ts +14 -0
  92. package/dist/src/components/NumberField/NumberField.styles.d.ts +147 -0
  93. package/dist/src/components/NumberField/index.d.ts +2 -0
  94. package/dist/src/components/Percentage/Percentage.styles.d.ts +70 -0
  95. package/dist/src/components/Percentage/PercentageBar.d.ts +11 -0
  96. package/dist/src/components/Percentage/PercentageCircle.d.ts +12 -0
  97. package/dist/src/components/Percentage/index.d.ts +4 -0
  98. package/dist/src/components/Popover/Popover.d.ts +15 -0
  99. package/dist/src/components/Popover/Popover.styles.d.ts +22 -0
  100. package/dist/src/components/Popover/index.d.ts +1 -0
  101. package/dist/src/components/RadioGroup/RadioGroup.d.ts +16 -0
  102. package/dist/src/components/RadioGroup/RadioGroup.styles.d.ts +75 -0
  103. package/dist/src/components/RadioGroup/index.d.ts +2 -0
  104. package/dist/src/components/SearchField/SearchField.d.ts +14 -0
  105. package/dist/src/components/SearchField/SearchField.styles.d.ts +147 -0
  106. package/dist/src/components/SearchField/index.d.ts +2 -0
  107. package/dist/src/components/Select/Select.d.ts +30 -0
  108. package/dist/src/components/Select/Select.styles.d.ts +171 -0
  109. package/dist/src/components/Select/index.d.ts +2 -0
  110. package/dist/src/components/Separator/Separator.d.ts +8 -0
  111. package/dist/src/components/Separator/Separator.styles.d.ts +20 -0
  112. package/dist/src/components/Separator/index.d.ts +2 -0
  113. package/dist/src/components/Sidebar/Sidebar.d.ts +77 -0
  114. package/dist/src/components/Sidebar/Sidebar.styles.d.ts +326 -0
  115. package/dist/src/components/Sidebar/index.d.ts +2 -0
  116. package/dist/src/components/Skeleton/Skeleton.d.ts +7 -0
  117. package/dist/src/components/Skeleton/Skeleton.styles.d.ts +17 -0
  118. package/dist/src/components/Skeleton/index.d.ts +2 -0
  119. package/dist/src/components/Slider/Slider.d.ts +21 -0
  120. package/dist/src/components/Slider/Slider.styles.d.ts +78 -0
  121. package/dist/src/components/Slider/index.d.ts +2 -0
  122. package/dist/src/components/Spinner/Spinner.d.ts +9 -0
  123. package/dist/src/components/Spinner/Spinner.styles.d.ts +20 -0
  124. package/dist/src/components/Spinner/index.d.ts +2 -0
  125. package/dist/src/components/Stat/Stat.d.ts +15 -0
  126. package/dist/src/components/Stat/Stat.styles.d.ts +115 -0
  127. package/dist/src/components/Stat/index.d.ts +2 -0
  128. package/dist/src/components/Switch/Switch.d.ts +8 -0
  129. package/dist/src/components/Switch/Switch.styles.d.ts +66 -0
  130. package/dist/src/components/Switch/index.d.ts +2 -0
  131. package/dist/src/components/Table/Table.d.ts +33 -0
  132. package/dist/src/components/Table/Table.styles.d.ts +77 -0
  133. package/dist/src/components/Table/index.d.ts +2 -0
  134. package/dist/src/components/Tabs/Tabs.d.ts +29 -0
  135. package/dist/src/components/Tabs/Tabs.styles.d.ts +186 -0
  136. package/dist/src/components/Tabs/index.d.ts +2 -0
  137. package/dist/src/components/TagGroup/TagGroup.d.ts +27 -0
  138. package/dist/src/components/TagGroup/TagGroup.styles.d.ts +199 -0
  139. package/dist/src/components/TagGroup/index.d.ts +2 -0
  140. package/dist/src/components/TextArea/TextArea.d.ts +14 -0
  141. package/dist/src/components/TextArea/TextArea.styles.d.ts +63 -0
  142. package/dist/src/components/TextArea/index.d.ts +2 -0
  143. package/dist/src/components/TextField/TextField.d.ts +15 -0
  144. package/dist/src/components/TextField/TextField.styles.d.ts +80 -0
  145. package/dist/src/components/TextField/index.d.ts +2 -0
  146. package/dist/src/components/Toast/Toast.d.ts +28 -0
  147. package/dist/src/components/Toast/Toast.styles.d.ts +29 -0
  148. package/dist/src/components/Toast/index.d.ts +1 -0
  149. package/dist/src/components/ToggleButton/ToggleButton.d.ts +11 -0
  150. package/dist/src/components/ToggleButton/ToggleButton.styles.d.ts +223 -0
  151. package/dist/src/components/ToggleButton/index.d.ts +2 -0
  152. package/dist/src/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +10 -0
  153. package/dist/src/components/ToggleButtonGroup/ToggleButtonGroup.styles.d.ts +36 -0
  154. package/dist/src/components/ToggleButtonGroup/context.d.ts +8 -0
  155. package/dist/src/components/ToggleButtonGroup/index.d.ts +2 -0
  156. package/dist/src/components/Tooltip/Tooltip.d.ts +19 -0
  157. package/dist/src/components/Tooltip/Tooltip.styles.d.ts +26 -0
  158. package/dist/src/components/Tooltip/index.d.ts +1 -0
  159. package/dist/src/components/TopList/TopList.d.ts +17 -0
  160. package/dist/src/components/TopList/TopList.styles.d.ts +43 -0
  161. package/dist/src/components/TopList/index.d.ts +2 -0
  162. package/dist/src/components/Typography/Typography.d.ts +26 -0
  163. package/dist/src/components/Typography/Typography.styles.d.ts +53 -0
  164. package/dist/src/components/Typography/index.d.ts +2 -0
  165. package/dist/src/index.d.ts +102 -0
  166. package/dist/src/main.d.ts +0 -0
  167. package/dist/src/theme/ThemeProvider.d.ts +17 -0
  168. package/dist/src/tokens/tokens.stylex.d.ts +121 -0
  169. package/dist/src/utils/mergeProps.d.ts +1 -0
  170. package/dist/src/utils/warnMissingLabel.d.ts +16 -0
  171. package/package.json +94 -0
@@ -0,0 +1,61 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ export declare const styles: Readonly<{
3
+ readonly container: Readonly<{
4
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
5
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
6
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
7
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
8
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
9
+ readonly padding: stylex.StyleXClassNameFor<"padding", string>;
10
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
11
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
12
+ readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
13
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
14
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
15
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
16
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
17
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", "140px">;
18
+ readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "none">;
19
+ }>;
20
+ readonly label: Readonly<{
21
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
22
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
23
+ readonly borderBottomWidth: stylex.StyleXClassNameFor<"borderBottomWidth", "1px">;
24
+ readonly borderBottomStyle: stylex.StyleXClassNameFor<"borderBottomStyle", "solid">;
25
+ readonly borderBottomColor: stylex.StyleXClassNameFor<"borderBottomColor", string>;
26
+ readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", string>;
27
+ readonly marginBlockEnd: stylex.StyleXClassNameFor<"marginBlockEnd", string>;
28
+ }>;
29
+ readonly list: Readonly<{
30
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
31
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
32
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
33
+ readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
34
+ readonly padding: stylex.StyleXClassNameFor<"padding", 0>;
35
+ readonly listStyle: stylex.StyleXClassNameFor<"listStyle", "none">;
36
+ }>;
37
+ readonly item: Readonly<{
38
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
39
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "space-between">;
40
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
41
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
42
+ }>;
43
+ readonly indicator: Readonly<{
44
+ readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
45
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
46
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
47
+ }>;
48
+ readonly dot: Readonly<{
49
+ readonly width: stylex.StyleXClassNameFor<"width", "8px">;
50
+ readonly height: stylex.StyleXClassNameFor<"height", "8px">;
51
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
52
+ readonly display: stylex.StyleXClassNameFor<"display", "inline-block">;
53
+ }>;
54
+ readonly name: Readonly<{
55
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
56
+ }>;
57
+ readonly value: Readonly<{
58
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
59
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
60
+ }>;
61
+ }>;
@@ -0,0 +1,2 @@
1
+ export type { CustomTooltipProps } from './ChartTooltip';
2
+ export { ChartTooltip } from './ChartTooltip';
@@ -0,0 +1,9 @@
1
+ import { StyleXStyles } from '@stylexjs/stylex';
2
+ import { CheckboxProps as AriaCheckboxProps } from 'react-aria-components';
3
+ import * as React from 'react';
4
+ export interface CheckboxProps extends Omit<AriaCheckboxProps, 'style'> {
5
+ style?: StyleXStyles;
6
+ className?: string;
7
+ variant?: 'primary' | 'secondary' | 'tertiary';
8
+ }
9
+ export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLLabelElement>>;
@@ -0,0 +1,94 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ export declare const styles: Readonly<{
3
+ readonly base: Readonly<{
4
+ readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
5
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
6
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
7
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
8
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
9
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
10
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
11
+ readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
12
+ }>;
13
+ readonly isDisabled: Readonly<{
14
+ readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.4>;
15
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "not-allowed">;
16
+ }>;
17
+ readonly isReadOnly: Readonly<{
18
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "default">;
19
+ }>;
20
+ readonly indicator: Readonly<{
21
+ readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
22
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
23
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
24
+ readonly width: stylex.StyleXClassNameFor<"width", string>;
25
+ readonly height: stylex.StyleXClassNameFor<"height", string>;
26
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
27
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
28
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
29
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
30
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
31
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
32
+ readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, border-color, box-shadow">;
33
+ readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
34
+ readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
35
+ }>;
36
+ readonly indicatorHover: Readonly<{
37
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
38
+ }>;
39
+ readonly checkedPrimary: Readonly<{
40
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
41
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
42
+ }>;
43
+ readonly checkedHoverPrimary: Readonly<{
44
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
45
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
46
+ }>;
47
+ readonly iconPrimary: Readonly<{
48
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
49
+ }>;
50
+ readonly focusPrimary: Readonly<{
51
+ readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
52
+ }>;
53
+ readonly checkedSecondary: Readonly<{
54
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
55
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
56
+ }>;
57
+ readonly checkedHoverSecondary: Readonly<{
58
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
59
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
60
+ }>;
61
+ readonly iconSecondary: Readonly<{
62
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
63
+ }>;
64
+ readonly focusSecondary: Readonly<{
65
+ readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
66
+ }>;
67
+ readonly checkedTertiary: Readonly<{
68
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
69
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
70
+ }>;
71
+ readonly checkedHoverTertiary: Readonly<{
72
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
73
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
74
+ }>;
75
+ readonly iconTertiary: Readonly<{
76
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
77
+ }>;
78
+ readonly focusTertiary: Readonly<{
79
+ readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
80
+ }>;
81
+ readonly indicatorFocusVisible: Readonly<{
82
+ readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
83
+ readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", "2px">;
84
+ readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", "2px">;
85
+ }>;
86
+ readonly indicatorInvalid: Readonly<{
87
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
88
+ }>;
89
+ readonly icon: Readonly<{
90
+ readonly width: stylex.StyleXClassNameFor<"width", "100%">;
91
+ readonly height: stylex.StyleXClassNameFor<"height", "100%">;
92
+ }>;
93
+ readonly label: Readonly<{}>;
94
+ }>;
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ export interface CheckboxGroupContextValue {
3
+ variant?: 'primary' | 'secondary' | 'tertiary';
4
+ }
5
+ export declare const CheckboxGroupContext: React.Context<CheckboxGroupContextValue | null>;
@@ -0,0 +1,2 @@
1
+ export type { CheckboxProps } from './Checkbox';
2
+ export { Checkbox } from './Checkbox';
@@ -0,0 +1,13 @@
1
+ import { StyleXStyles } from '@stylexjs/stylex';
2
+ import { CheckboxGroupProps as AriaCheckboxGroupProps, ValidationResult } from 'react-aria-components';
3
+ import * as React from 'react';
4
+ export interface CheckboxGroupProps extends Omit<AriaCheckboxGroupProps, 'style'> {
5
+ style?: StyleXStyles;
6
+ className?: string;
7
+ label?: string;
8
+ description?: string;
9
+ errorMessage?: string | ((v: ValidationResult) => string);
10
+ variant?: 'primary' | 'secondary' | 'tertiary';
11
+ orientation?: 'horizontal' | 'vertical';
12
+ }
13
+ export declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,18 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ export declare const styles: Readonly<{
3
+ readonly base: 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 groupHorizontal: Readonly<{
14
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "row">;
15
+ readonly flexWrap: stylex.StyleXClassNameFor<"flexWrap", "wrap">;
16
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
17
+ }>;
18
+ }>;
@@ -0,0 +1,2 @@
1
+ export type { CheckboxGroupProps } from './CheckboxGroup';
2
+ export { CheckboxGroup } from './CheckboxGroup';
@@ -0,0 +1,25 @@
1
+ import { StyleXStyles } from '@stylexjs/stylex';
2
+ import { ComboBoxProps as AriaComboBoxProps, ListBoxItemProps as AriaListBoxItemProps, SectionProps as AriaSectionProps, ValidationResult } from 'react-aria-components';
3
+ import * as React from 'react';
4
+ export interface ComboBoxItemProps extends Omit<AriaListBoxItemProps, 'style'> {
5
+ style?: StyleXStyles;
6
+ className?: string;
7
+ }
8
+ export declare const ComboBoxItem: React.ForwardRefExoticComponent<ComboBoxItemProps & React.RefAttributes<HTMLDivElement>>;
9
+ export interface ComboBoxSectionProps extends Omit<AriaSectionProps<any>, 'style'> {
10
+ title?: string;
11
+ style?: StyleXStyles;
12
+ className?: string;
13
+ }
14
+ export declare const ComboBoxSection: React.ForwardRefExoticComponent<ComboBoxSectionProps & React.RefAttributes<HTMLDivElement>>;
15
+ export interface ComboBoxProps extends Omit<AriaComboBoxProps<any>, 'style'> {
16
+ style?: StyleXStyles;
17
+ className?: string;
18
+ label?: string;
19
+ description?: string;
20
+ errorMessage?: string | ((v: ValidationResult) => string);
21
+ placeholder?: string;
22
+ variant?: 'primary' | 'secondary';
23
+ size?: 'sm' | 'md' | 'lg';
24
+ }
25
+ export declare const ComboBox: React.ForwardRefExoticComponent<ComboBoxProps & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,223 @@
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", "stretch">;
12
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
13
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
14
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
15
+ readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
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
+ }>;
24
+ readonly groupMd: Readonly<{
25
+ readonly height: stylex.StyleXClassNameFor<"height", `calc(${stylex.StyleXVar<string>} * 2 + ${stylex.StyleXVar<string>})`>;
26
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
27
+ }>;
28
+ readonly groupLg: Readonly<{
29
+ readonly height: stylex.StyleXClassNameFor<"height", `calc(${stylex.StyleXVar<string>} * 2 + ${stylex.StyleXVar<string>})`>;
30
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
31
+ }>;
32
+ readonly primary: Readonly<{
33
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
34
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
35
+ }>;
36
+ readonly secondary: Readonly<{
37
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
38
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
39
+ }>;
40
+ readonly groupHover: Readonly<{
41
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
42
+ }>;
43
+ readonly groupFocused: Readonly<{
44
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
45
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", `0 0 0 1px ${stylex.StyleXVar<string>}`>;
46
+ }>;
47
+ readonly groupInvalid: Readonly<{
48
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
49
+ }>;
50
+ readonly groupFocusedInvalid: Readonly<{
51
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
52
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", `0 0 0 1px ${stylex.StyleXVar<string>}`>;
53
+ }>;
54
+ readonly groupDisabled: 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 ':hover': stylex.StyleXClassNameFor<":hover", {
59
+ readonly borderColor: stylex.StyleXVar<string>;
60
+ }>;
61
+ }>;
62
+ readonly input: Readonly<{
63
+ readonly flexGrow: stylex.StyleXClassNameFor<"flexGrow", 1>;
64
+ readonly width: stylex.StyleXClassNameFor<"width", "100%">;
65
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "none">;
66
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
67
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
68
+ readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
69
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
70
+ }>;
71
+ readonly inputSm: Readonly<{
72
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
73
+ readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", string>;
74
+ readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", string>;
75
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
76
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
77
+ }>;
78
+ readonly inputMd: Readonly<{
79
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
80
+ readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", string>;
81
+ readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", string>;
82
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
83
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
84
+ }>;
85
+ readonly inputLg: Readonly<{
86
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
87
+ readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", string>;
88
+ readonly paddingInlineEnd: stylex.StyleXClassNameFor<"paddingInlineEnd", string>;
89
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
90
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
91
+ }>;
92
+ readonly trigger: Readonly<{
93
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
94
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
95
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
96
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "none">;
97
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
98
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
99
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
100
+ readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, color">;
101
+ readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.1s">;
102
+ readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
103
+ readonly ':hover': stylex.StyleXClassNameFor<":hover", {
104
+ readonly backgroundColor: stylex.StyleXVar<string>;
105
+ readonly color: stylex.StyleXVar<string>;
106
+ }>;
107
+ readonly ':active': stylex.StyleXClassNameFor<":active", {
108
+ readonly backgroundColor: stylex.StyleXVar<string>;
109
+ }>;
110
+ }>;
111
+ readonly triggerSm: Readonly<{
112
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
113
+ }>;
114
+ readonly triggerMd: Readonly<{
115
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
116
+ }>;
117
+ readonly triggerLg: Readonly<{
118
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
119
+ }>;
120
+ readonly triggerDisabled: Readonly<{
121
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "not-allowed">;
122
+ readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.5>;
123
+ readonly ':hover': stylex.StyleXClassNameFor<":hover", {
124
+ readonly backgroundColor: "transparent";
125
+ readonly color: stylex.StyleXVar<string>;
126
+ }>;
127
+ }>;
128
+ readonly chevron: Readonly<{
129
+ readonly width: stylex.StyleXClassNameFor<"width", string>;
130
+ readonly height: stylex.StyleXClassNameFor<"height", string>;
131
+ readonly color: stylex.StyleXClassNameFor<"color", "currentColor">;
132
+ }>;
133
+ readonly popover: Readonly<{
134
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
135
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
136
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
137
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
138
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
139
+ readonly zIndex: stylex.StyleXClassNameFor<"zIndex", string>;
140
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", "var(--trigger-width)">;
141
+ readonly maxHeight: stylex.StyleXClassNameFor<"maxHeight", "300px">;
142
+ readonly overflowY: stylex.StyleXClassNameFor<"overflowY", "auto">;
143
+ }>;
144
+ readonly popoverSm: Readonly<{
145
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
146
+ }>;
147
+ readonly popoverMd: Readonly<{
148
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
149
+ }>;
150
+ readonly popoverLg: Readonly<{
151
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
152
+ }>;
153
+ readonly listbox: Readonly<{
154
+ readonly padding: stylex.StyleXClassNameFor<"padding", string>;
155
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
156
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
157
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
158
+ readonly gap: stylex.StyleXClassNameFor<"gap", "2px">;
159
+ }>;
160
+ readonly item: Readonly<{
161
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
162
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
163
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
164
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
165
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
166
+ readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
167
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
168
+ readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, color">;
169
+ readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.1s">;
170
+ readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
171
+ }>;
172
+ readonly itemSm: Readonly<{
173
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
174
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
175
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", `calc(${stylex.StyleXVar<string>} - ${stylex.StyleXVar<string>})`>;
176
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
177
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
178
+ }>;
179
+ readonly itemMd: Readonly<{
180
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
181
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
182
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", `calc(${stylex.StyleXVar<string>} - ${stylex.StyleXVar<string>})`>;
183
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
184
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
185
+ }>;
186
+ readonly itemLg: Readonly<{
187
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
188
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
189
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", `calc(${stylex.StyleXVar<string>} - ${stylex.StyleXVar<string>})`>;
190
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
191
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
192
+ }>;
193
+ readonly itemHovered: Readonly<{
194
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
195
+ }>;
196
+ readonly itemFocused: Readonly<{
197
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
198
+ }>;
199
+ readonly itemSelected: Readonly<{
200
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
201
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
202
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
203
+ }>;
204
+ readonly itemDisabled: Readonly<{
205
+ readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.4>;
206
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "not-allowed">;
207
+ }>;
208
+ readonly section: Readonly<{
209
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
210
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
211
+ readonly gap: stylex.StyleXClassNameFor<"gap", "2px">;
212
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
213
+ }>;
214
+ readonly sectionHeader: Readonly<{
215
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
216
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
217
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
218
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
219
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
220
+ readonly textTransform: stylex.StyleXClassNameFor<"textTransform", "uppercase">;
221
+ readonly letterSpacing: stylex.StyleXClassNameFor<"letterSpacing", "0.05em">;
222
+ }>;
223
+ }>;
@@ -0,0 +1,2 @@
1
+ export type { ComboBoxItemProps, ComboBoxProps, ComboBoxSectionProps, } from './ComboBox';
2
+ export { ComboBox, ComboBoxItem, ComboBoxSection } from './ComboBox';
@@ -0,0 +1,8 @@
1
+ import { StyleXStyles } from '@stylexjs/stylex';
2
+ import { TextProps as AriaTextProps } from 'react-aria-components';
3
+ import * as React from 'react';
4
+ export interface DescriptionProps extends Omit<AriaTextProps, 'style'> {
5
+ style?: StyleXStyles;
6
+ className?: string;
7
+ }
8
+ export declare const Description: React.ForwardRefExoticComponent<DescriptionProps & React.RefAttributes<HTMLElement>>;
@@ -0,0 +1,9 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ export declare const styles: Readonly<{
3
+ readonly base: Readonly<{
4
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
5
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
6
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
7
+ readonly marginBlockEnd: stylex.StyleXClassNameFor<"marginBlockEnd", 0>;
8
+ }>;
9
+ }>;
@@ -0,0 +1,2 @@
1
+ export type { DescriptionProps } from './Description';
2
+ export { Description } from './Description';
@@ -0,0 +1,15 @@
1
+ import { StyleXStyles } from '@stylexjs/stylex';
2
+ import * as React from 'react';
3
+ export interface DoughnutChartProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'style'> {
4
+ data: any[];
5
+ nameKey: string;
6
+ valueKey: string;
7
+ colors?: string[];
8
+ innerRadius?: number | string;
9
+ outerRadius?: number | string;
10
+ paddingAngle?: number;
11
+ valueFormatter?: (value: any) => string;
12
+ height?: number | string;
13
+ style?: StyleXStyles;
14
+ }
15
+ export declare const DoughnutChart: React.ForwardRefExoticComponent<DoughnutChartProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,10 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ export declare const styles: Readonly<{
3
+ readonly wrapper: Readonly<{
4
+ readonly width: stylex.StyleXClassNameFor<"width", "100%">;
5
+ readonly position: stylex.StyleXClassNameFor<"position", "relative">;
6
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
7
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
8
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
9
+ }>;
10
+ }>;
@@ -0,0 +1,2 @@
1
+ export type { DoughnutChartProps } from './DoughnutChart';
2
+ export { DoughnutChart } from './DoughnutChart';
@@ -0,0 +1,7 @@
1
+ import { StyleXStyles } from '@stylexjs/stylex';
2
+ import * as React from 'react';
3
+ export interface ErrorMessageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'style'> {
4
+ style?: StyleXStyles;
5
+ className?: string;
6
+ }
7
+ export declare const ErrorMessage: React.ForwardRefExoticComponent<ErrorMessageProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,9 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ export declare const styles: Readonly<{
3
+ readonly base: Readonly<{
4
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
5
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
6
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
7
+ readonly marginBlockStart: stylex.StyleXClassNameFor<"marginBlockStart", 0>;
8
+ }>;
9
+ }>;
@@ -0,0 +1,2 @@
1
+ export type { ErrorMessageProps } from './ErrorMessage';
2
+ export { ErrorMessage } from './ErrorMessage';
@@ -0,0 +1,9 @@
1
+ import { StyleXStyles } from '@stylexjs/stylex';
2
+ import { FieldErrorProps as AriaFieldErrorProps, ValidationResult } from 'react-aria-components';
3
+ import * as React from 'react';
4
+ export interface FieldErrorProps extends Omit<AriaFieldErrorProps, 'style'> {
5
+ style?: StyleXStyles;
6
+ className?: string;
7
+ errorMessage?: string | ((v: ValidationResult) => string);
8
+ }
9
+ export declare const FieldError: React.ForwardRefExoticComponent<FieldErrorProps & React.RefAttributes<HTMLElement>>;
@@ -0,0 +1,9 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ export declare const styles: Readonly<{
3
+ readonly base: Readonly<{
4
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
5
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
6
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
7
+ readonly marginBlockStart: stylex.StyleXClassNameFor<"marginBlockStart", 0>;
8
+ }>;
9
+ }>;
@@ -0,0 +1,2 @@
1
+ export type { FieldErrorProps } from './FieldError';
2
+ export { FieldError } from './FieldError';
@@ -0,0 +1,8 @@
1
+ import { StyleXStyles } from '@stylexjs/stylex';
2
+ import { FormProps as AriaFormProps } from 'react-aria-components';
3
+ import * as React from 'react';
4
+ export interface FormProps extends Omit<AriaFormProps, 'style'> {
5
+ style?: StyleXStyles;
6
+ className?: string;
7
+ }
8
+ export declare const Form: React.ForwardRefExoticComponent<FormProps & React.RefAttributes<HTMLFormElement>>;
@@ -0,0 +1,3 @@
1
+ export declare const styles: Readonly<{
2
+ readonly base: Readonly<{}>;
3
+ }>;
@@ -0,0 +1,2 @@
1
+ export type { FormProps } from './Form';
2
+ export { Form } from './Form';
@@ -0,0 +1,25 @@
1
+ import { StyleXStyles } from '@stylexjs/stylex';
2
+ import { OTPInput } from 'input-otp';
3
+ import * as React from 'react';
4
+ export interface InputOTPProps extends Omit<React.ComponentPropsWithoutRef<typeof OTPInput>, 'render' | 'size'> {
5
+ label?: string;
6
+ description?: string;
7
+ errorMessage?: string;
8
+ isInvalid?: boolean;
9
+ containerStyle?: StyleXStyles;
10
+ size?: 'sm' | 'md' | 'lg';
11
+ }
12
+ export declare const InputOTP: React.ForwardRefExoticComponent<InputOTPProps & React.RefAttributes<HTMLInputElement>>;
13
+ export interface InputOTPGroupProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'style'> {
14
+ style?: StyleXStyles;
15
+ }
16
+ export declare const InputOTPGroup: React.ForwardRefExoticComponent<InputOTPGroupProps & React.RefAttributes<HTMLDivElement>>;
17
+ export interface InputOTPSlotProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'style'> {
18
+ index: number;
19
+ style?: StyleXStyles;
20
+ }
21
+ export declare const InputOTPSlot: React.ForwardRefExoticComponent<InputOTPSlotProps & React.RefAttributes<HTMLDivElement>>;
22
+ export interface InputOTPSeparatorProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'style'> {
23
+ style?: StyleXStyles;
24
+ }
25
+ export declare const InputOTPSeparator: React.ForwardRefExoticComponent<InputOTPSeparatorProps & React.RefAttributes<HTMLDivElement>>;