@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,115 @@
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 justifyContent: stylex.StyleXClassNameFor<"justifyContent", "space-between">;
7
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
8
+ readonly padding: stylex.StyleXClassNameFor<"padding", string>;
9
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
10
+ readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
11
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
12
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", "160px">;
13
+ readonly flex: stylex.StyleXClassNameFor<"flex", 1>;
14
+ readonly height: stylex.StyleXClassNameFor<"height", "100%">;
15
+ readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
16
+ readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, border-color, box-shadow">;
17
+ readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
18
+ }>;
19
+ readonly variantDefault: Readonly<{
20
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
21
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
22
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
23
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
24
+ }>;
25
+ readonly variantFlat: Readonly<{
26
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
27
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "transparent">;
28
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
29
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
30
+ }>;
31
+ readonly variantGlass: Readonly<{
32
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
33
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
34
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
35
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
36
+ readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "blur(24px)">;
37
+ readonly WebkitBackdropFilter: stylex.StyleXClassNameFor<"WebkitBackdropFilter", "blur(24px)">;
38
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
39
+ }>;
40
+ readonly variantElevated: Readonly<{
41
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
42
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
43
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
44
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
45
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
46
+ }>;
47
+ readonly header: Readonly<{
48
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
49
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
50
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "space-between">;
51
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
52
+ }>;
53
+ readonly label: Readonly<{
54
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
55
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
56
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
57
+ readonly letterSpacing: stylex.StyleXClassNameFor<"letterSpacing", "0.02em">;
58
+ }>;
59
+ readonly icon: Readonly<{
60
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
61
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
62
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
63
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
64
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
65
+ }>;
66
+ readonly body: Readonly<{
67
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
68
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
69
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
70
+ readonly flexGrow: stylex.StyleXClassNameFor<"flexGrow", 1>;
71
+ }>;
72
+ readonly value: Readonly<{
73
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
74
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
75
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
76
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
77
+ }>;
78
+ readonly description: Readonly<{
79
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
80
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
81
+ }>;
82
+ readonly footer: Readonly<{
83
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
84
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
85
+ readonly flexWrap: stylex.StyleXClassNameFor<"flexWrap", "wrap">;
86
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
87
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
88
+ }>;
89
+ readonly trendBadge: Readonly<{
90
+ readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
91
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
92
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
93
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
94
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", "2px">;
95
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
96
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
97
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
98
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
99
+ }>;
100
+ readonly trendUp: Readonly<{
101
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
102
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
103
+ }>;
104
+ readonly trendDown: Readonly<{
105
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
106
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
107
+ }>;
108
+ readonly trendNeutral: Readonly<{
109
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
110
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
111
+ }>;
112
+ readonly trendText: Readonly<{
113
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
114
+ }>;
115
+ }>;
@@ -0,0 +1,2 @@
1
+ export type { StatProps } from './Stat';
2
+ export { Stat } from './Stat';
@@ -0,0 +1,8 @@
1
+ import { StyleXStyles } from '@stylexjs/stylex';
2
+ import { SwitchProps as AriaSwitchProps } from 'react-aria-components';
3
+ import * as React from 'react';
4
+ export interface SwitchProps extends Omit<AriaSwitchProps, 'style'> {
5
+ style?: StyleXStyles;
6
+ className?: string;
7
+ }
8
+ export declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLLabelElement>>;
@@ -0,0 +1,66 @@
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 track: Readonly<{
21
+ readonly position: stylex.StyleXClassNameFor<"position", "relative">;
22
+ readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
23
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
24
+ readonly width: stylex.StyleXClassNameFor<"width", string>;
25
+ readonly height: stylex.StyleXClassNameFor<"height", string>;
26
+ readonly padding: stylex.StyleXClassNameFor<"padding", "2px">;
27
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
28
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
29
+ readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
30
+ readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, box-shadow">;
31
+ readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
32
+ readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
33
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
34
+ }>;
35
+ readonly trackChecked: Readonly<{
36
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
37
+ }>;
38
+ readonly trackHover: Readonly<{
39
+ readonly filter: stylex.StyleXClassNameFor<"filter", "brightness(0.95)">;
40
+ }>;
41
+ readonly trackFocusVisible: Readonly<{
42
+ readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
43
+ readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", "2px">;
44
+ readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", "2px">;
45
+ readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
46
+ }>;
47
+ readonly thumb: Readonly<{
48
+ readonly display: stylex.StyleXClassNameFor<"display", "block">;
49
+ readonly height: stylex.StyleXClassNameFor<"height", "100%">;
50
+ readonly aspectRatio: stylex.StyleXClassNameFor<"aspectRatio", "1 / 1">;
51
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
52
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
53
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
54
+ readonly transform: stylex.StyleXClassNameFor<"transform", "translateX(0)">;
55
+ readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "transform">;
56
+ readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
57
+ readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
58
+ readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "none">;
59
+ }>;
60
+ readonly thumbChecked: Readonly<{
61
+ readonly transform: stylex.StyleXClassNameFor<"transform", `translateX(calc(${stylex.StyleXVar<string>} - ${stylex.StyleXVar<string>}))`>;
62
+ }>;
63
+ readonly label: Readonly<{
64
+ readonly paddingInlineStart: stylex.StyleXClassNameFor<"paddingInlineStart", string>;
65
+ }>;
66
+ }>;
@@ -0,0 +1,2 @@
1
+ export type { SwitchProps } from './Switch';
2
+ export { Switch } from './Switch';
@@ -0,0 +1,33 @@
1
+ import { StyleXStyles } from '@stylexjs/stylex';
2
+ import { CellProps as AriaCellProps, ColumnProps as AriaColumnProps, RowProps as AriaRowProps, TableBodyProps as AriaTableBodyProps, TableHeaderProps as AriaTableHeaderProps, TableProps as AriaTableProps } from 'react-aria-components';
3
+ import * as React from 'react';
4
+ export interface TableProps extends Omit<AriaTableProps, 'style'> {
5
+ style?: StyleXStyles;
6
+ className?: string;
7
+ }
8
+ export declare const Table: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>>;
9
+ export interface TableHeaderProps<T> extends Omit<AriaTableHeaderProps<T>, 'style'> {
10
+ style?: StyleXStyles;
11
+ className?: string;
12
+ }
13
+ export declare const TableHeader: React.ForwardRefExoticComponent<TableHeaderProps<any> & React.RefAttributes<HTMLTableSectionElement>>;
14
+ export interface ColumnProps extends Omit<AriaColumnProps, 'style'> {
15
+ style?: StyleXStyles;
16
+ className?: string;
17
+ }
18
+ export declare const Column: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<HTMLTableHeaderCellElement>>;
19
+ export interface TableBodyProps<T> extends Omit<AriaTableBodyProps<T>, 'style'> {
20
+ style?: StyleXStyles;
21
+ className?: string;
22
+ }
23
+ export declare const TableBody: React.ForwardRefExoticComponent<TableBodyProps<any> & React.RefAttributes<HTMLTableSectionElement>>;
24
+ export interface RowProps<T> extends Omit<AriaRowProps<T>, 'style'> {
25
+ style?: StyleXStyles;
26
+ className?: string;
27
+ }
28
+ export declare const Row: React.ForwardRefExoticComponent<RowProps<any> & React.RefAttributes<HTMLTableRowElement>>;
29
+ export interface CellProps extends Omit<AriaCellProps, 'style'> {
30
+ style?: StyleXStyles;
31
+ className?: string;
32
+ }
33
+ export declare const Cell: React.ForwardRefExoticComponent<CellProps & React.RefAttributes<HTMLTableCellElement>>;
@@ -0,0 +1,77 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ export declare const styles: Readonly<{
3
+ readonly table: Readonly<{
4
+ readonly borderCollapse: stylex.StyleXClassNameFor<"borderCollapse", "collapse">;
5
+ readonly width: stylex.StyleXClassNameFor<"width", "100%">;
6
+ readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "start">;
7
+ readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
8
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
9
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
10
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
11
+ }>;
12
+ readonly header: Readonly<{
13
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
14
+ readonly borderBottomWidth: stylex.StyleXClassNameFor<"borderBottomWidth", "2px">;
15
+ readonly borderBottomStyle: stylex.StyleXClassNameFor<"borderBottomStyle", "solid">;
16
+ readonly borderBottomColor: stylex.StyleXClassNameFor<"borderBottomColor", string>;
17
+ }>;
18
+ readonly column: Readonly<{
19
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
20
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
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 textAlign: stylex.StyleXClassNameFor<"textAlign", "start">;
27
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
28
+ readonly ':focus-visible': stylex.StyleXClassNameFor<":focus-visible", {
29
+ readonly outlineStyle: "solid";
30
+ readonly outlineWidth: "2px";
31
+ readonly outlineOffset: "-2px";
32
+ readonly outlineColor: stylex.StyleXVar<string>;
33
+ }>;
34
+ }>;
35
+ readonly body: Readonly<{
36
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
37
+ }>;
38
+ readonly row: Readonly<{
39
+ readonly borderBottomWidth: stylex.StyleXClassNameFor<"borderBottomWidth", "1px">;
40
+ readonly borderBottomStyle: stylex.StyleXClassNameFor<"borderBottomStyle", "solid">;
41
+ readonly borderBottomColor: stylex.StyleXClassNameFor<"borderBottomColor", string>;
42
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
43
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
44
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "default">;
45
+ readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, color">;
46
+ readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
47
+ readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
48
+ readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
49
+ readonly transitionProperty: "none";
50
+ }>;
51
+ }>;
52
+ readonly rowHovered: Readonly<{
53
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
54
+ }>;
55
+ readonly rowSelected: Readonly<{
56
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
57
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
58
+ }>;
59
+ readonly rowFocused: Readonly<{
60
+ readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
61
+ readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", "2px">;
62
+ readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", "-2px">;
63
+ readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
64
+ }>;
65
+ readonly cell: Readonly<{
66
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
67
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
68
+ readonly color: stylex.StyleXClassNameFor<"color", "inherit">;
69
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
70
+ readonly ':focus-visible': stylex.StyleXClassNameFor<":focus-visible", {
71
+ readonly outlineStyle: "solid";
72
+ readonly outlineWidth: "2px";
73
+ readonly outlineOffset: "-2px";
74
+ readonly outlineColor: stylex.StyleXVar<string>;
75
+ }>;
76
+ }>;
77
+ }>;
@@ -0,0 +1,2 @@
1
+ export type { CellProps, ColumnProps, RowProps, TableBodyProps, TableHeaderProps, TableProps, } from './Table';
2
+ export { Cell, Column, Row, Table, TableBody, TableHeader } from './Table';
@@ -0,0 +1,29 @@
1
+ import { StyleXStyles } from '@stylexjs/stylex';
2
+ import { TabListProps as AriaTabListProps, TabPanelProps as AriaTabPanelProps, TabPanelsProps as AriaTabPanelsProps, TabProps as AriaTabProps, TabsProps as AriaTabsProps } from 'react-aria-components';
3
+ import * as React from 'react';
4
+ export interface TabsProps extends Omit<AriaTabsProps, 'style'> {
5
+ style?: StyleXStyles;
6
+ className?: string;
7
+ variant?: 'primary' | 'secondary' | 'tertiary';
8
+ }
9
+ export declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
10
+ export interface TabListProps<T> extends Omit<AriaTabListProps<T>, 'style'> {
11
+ style?: StyleXStyles;
12
+ className?: string;
13
+ }
14
+ export declare const TabList: React.ForwardRefExoticComponent<TabListProps<any> & React.RefAttributes<HTMLDivElement>>;
15
+ export interface TabProps extends Omit<AriaTabProps, 'style'> {
16
+ style?: StyleXStyles;
17
+ className?: string;
18
+ }
19
+ export declare const Tab: React.ForwardRefExoticComponent<TabProps & React.RefAttributes<HTMLDivElement>>;
20
+ export interface TabPanelsProps<T> extends Omit<AriaTabPanelsProps<T>, 'style'> {
21
+ style?: StyleXStyles;
22
+ className?: string;
23
+ }
24
+ export declare const TabPanels: React.ForwardRefExoticComponent<TabPanelsProps<any> & React.RefAttributes<HTMLDivElement>>;
25
+ export interface TabPanelProps extends Omit<AriaTabPanelProps, 'style'> {
26
+ style?: StyleXStyles;
27
+ className?: string;
28
+ }
29
+ export declare const TabPanel: React.ForwardRefExoticComponent<TabPanelProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,186 @@
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 gap: stylex.StyleXClassNameFor<"gap", string>;
6
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
7
+ readonly maxWidth: stylex.StyleXClassNameFor<"maxWidth", "100%">;
8
+ }>;
9
+ readonly containerHorizontal: Readonly<{
10
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
11
+ }>;
12
+ readonly containerVertical: Readonly<{
13
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "row">;
14
+ readonly width: stylex.StyleXClassNameFor<"width", "100%">;
15
+ }>;
16
+ readonly tabList: Readonly<{
17
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
18
+ readonly maxWidth: stylex.StyleXClassNameFor<"maxWidth", "100%">;
19
+ readonly padding: stylex.StyleXClassNameFor<"padding", 0>;
20
+ readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
21
+ readonly listStyleType: stylex.StyleXClassNameFor<"listStyleType", "none">;
22
+ }>;
23
+ readonly tabListHorizontal: Readonly<{
24
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "row">;
25
+ readonly borderBlockEndWidth: stylex.StyleXClassNameFor<"borderBlockEndWidth", "1px">;
26
+ readonly borderBlockEndStyle: stylex.StyleXClassNameFor<"borderBlockEndStyle", "solid">;
27
+ readonly borderBlockEndColor: stylex.StyleXClassNameFor<"borderBlockEndColor", string>;
28
+ readonly overflowX: stylex.StyleXClassNameFor<"overflowX", "auto">;
29
+ readonly overflowY: stylex.StyleXClassNameFor<"overflowY", "clip">;
30
+ readonly scrollbarWidth: stylex.StyleXClassNameFor<"scrollbarWidth", "none">;
31
+ readonly '::-webkit-scrollbar': stylex.StyleXClassNameFor<"::-webkit-scrollbar", {
32
+ readonly display: "none";
33
+ }>;
34
+ }>;
35
+ readonly tabListVertical: Readonly<{
36
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
37
+ readonly borderInlineEndWidth: stylex.StyleXClassNameFor<"borderInlineEndWidth", "1px">;
38
+ readonly borderInlineEndStyle: stylex.StyleXClassNameFor<"borderInlineEndStyle", "solid">;
39
+ readonly borderInlineEndColor: stylex.StyleXClassNameFor<"borderInlineEndColor", string>;
40
+ }>;
41
+ readonly tabListTertiary: Readonly<{
42
+ readonly borderBlockEndStyle: stylex.StyleXClassNameFor<"borderBlockEndStyle", "none">;
43
+ readonly borderInlineEndStyle: stylex.StyleXClassNameFor<"borderInlineEndStyle", "none">;
44
+ }>;
45
+ readonly tab: Readonly<{
46
+ readonly position: stylex.StyleXClassNameFor<"position", "relative">;
47
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
48
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
49
+ readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
50
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
51
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
52
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
53
+ readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
54
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
55
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
56
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
57
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
58
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "none">;
59
+ readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "color">;
60
+ readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
61
+ readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
62
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
63
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
64
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
65
+ readonly isolation: stylex.StyleXClassNameFor<"isolation", "isolate">;
66
+ readonly WebkitTapHighlightColor: stylex.StyleXClassNameFor<"WebkitTapHighlightColor", "transparent">;
67
+ readonly ':focus-visible': stylex.StyleXClassNameFor<":focus-visible", {
68
+ readonly outlineStyle: "solid";
69
+ readonly outlineWidth: "2px";
70
+ readonly outlineOffset: "-2px";
71
+ readonly outlineColor: stylex.StyleXVar<string>;
72
+ }>;
73
+ readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
74
+ readonly transitionProperty: "none";
75
+ }>;
76
+ }>;
77
+ readonly tabPrimary: Readonly<{
78
+ readonly ':hover': stylex.StyleXClassNameFor<":hover", {
79
+ readonly color: stylex.StyleXVar<string>;
80
+ }>;
81
+ }>;
82
+ readonly tabSecondary: Readonly<{
83
+ readonly ':hover': stylex.StyleXClassNameFor<":hover", {
84
+ readonly color: stylex.StyleXVar<string>;
85
+ }>;
86
+ }>;
87
+ readonly tabTertiary: Readonly<{
88
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
89
+ readonly ':hover': stylex.StyleXClassNameFor<":hover", {
90
+ readonly color: stylex.StyleXVar<string>;
91
+ }>;
92
+ }>;
93
+ readonly tabPrimarySelected: Readonly<{
94
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
95
+ }>;
96
+ readonly tabSecondarySelected: Readonly<{
97
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
98
+ }>;
99
+ readonly tabTertiarySelected: Readonly<{
100
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
101
+ }>;
102
+ readonly tabDisabled: Readonly<{
103
+ readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.4>;
104
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "not-allowed">;
105
+ readonly ':hover': stylex.StyleXClassNameFor<":hover", {
106
+ readonly color: stylex.StyleXVar<string>;
107
+ }>;
108
+ }>;
109
+ readonly selectionIndicator: Readonly<{
110
+ readonly position: stylex.StyleXClassNameFor<"position", "absolute">;
111
+ readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "translate, width, height">;
112
+ readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.2s">;
113
+ readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
114
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
115
+ readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "none">;
116
+ readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
117
+ readonly transitionProperty: "none";
118
+ }>;
119
+ }>;
120
+ readonly selectionIndicatorHorizontal: Readonly<{
121
+ readonly insetInlineStart: stylex.StyleXClassNameFor<"insetInlineStart", 0>;
122
+ readonly insetBlockEnd: stylex.StyleXClassNameFor<"insetBlockEnd", 0>;
123
+ readonly width: stylex.StyleXClassNameFor<"width", "100%">;
124
+ readonly height: stylex.StyleXClassNameFor<"height", "3px">;
125
+ }>;
126
+ readonly selectionIndicatorVertical: Readonly<{
127
+ readonly insetBlockStart: stylex.StyleXClassNameFor<"insetBlockStart", 0>;
128
+ readonly insetInlineEnd: stylex.StyleXClassNameFor<"insetInlineEnd", 0>;
129
+ readonly height: stylex.StyleXClassNameFor<"height", "100%">;
130
+ readonly width: stylex.StyleXClassNameFor<"width", "3px">;
131
+ }>;
132
+ readonly selectionIndicatorPrimary: Readonly<{
133
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
134
+ }>;
135
+ readonly selectionIndicatorSecondary: Readonly<{
136
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
137
+ }>;
138
+ readonly selectionIndicatorTertiary: Readonly<{
139
+ readonly insetBlockStart: stylex.StyleXClassNameFor<"insetBlockStart", 0>;
140
+ readonly insetInlineStart: stylex.StyleXClassNameFor<"insetInlineStart", 0>;
141
+ readonly width: stylex.StyleXClassNameFor<"width", "100%">;
142
+ readonly height: stylex.StyleXClassNameFor<"height", "100%">;
143
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
144
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
145
+ readonly zIndex: stylex.StyleXClassNameFor<"zIndex", -1>;
146
+ readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "translate, width, height">;
147
+ readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.25s">;
148
+ readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
149
+ }>;
150
+ readonly tabPanels: Readonly<{
151
+ readonly position: stylex.StyleXClassNameFor<"position", "relative">;
152
+ readonly overflow: stylex.StyleXClassNameFor<"overflow", "clip">;
153
+ }>;
154
+ readonly tabPanelsFlex: Readonly<{
155
+ readonly flex: stylex.StyleXClassNameFor<"flex", 1>;
156
+ }>;
157
+ readonly tabPanel: Readonly<{
158
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
159
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
160
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
161
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
162
+ readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
163
+ readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "opacity">;
164
+ readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.2s">;
165
+ readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
166
+ readonly ':focus-visible': stylex.StyleXClassNameFor<":focus-visible", {
167
+ readonly outlineStyle: "solid";
168
+ readonly outlineWidth: "2px";
169
+ readonly outlineOffset: "2px";
170
+ readonly outlineColor: stylex.StyleXVar<string>;
171
+ }>;
172
+ readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
173
+ readonly transitionProperty: "none";
174
+ }>;
175
+ }>;
176
+ readonly tabPanelEntering: Readonly<{
177
+ readonly opacity: stylex.StyleXClassNameFor<"opacity", 0>;
178
+ }>;
179
+ readonly tabPanelExiting: Readonly<{
180
+ readonly opacity: stylex.StyleXClassNameFor<"opacity", 0>;
181
+ readonly position: stylex.StyleXClassNameFor<"position", "absolute">;
182
+ readonly insetBlockStart: stylex.StyleXClassNameFor<"insetBlockStart", 0>;
183
+ readonly insetInlineStart: stylex.StyleXClassNameFor<"insetInlineStart", 0>;
184
+ readonly width: stylex.StyleXClassNameFor<"width", "100%">;
185
+ }>;
186
+ }>;
@@ -0,0 +1,2 @@
1
+ export type { TabListProps, TabPanelProps, TabPanelsProps, TabProps, TabsProps, } from './Tabs';
2
+ export { Tab, TabList, TabPanel, TabPanels, Tabs } from './Tabs';
@@ -0,0 +1,27 @@
1
+ import { StyleXStyles } from '@stylexjs/stylex';
2
+ import { TagGroupProps as AriaTagGroupProps, TagProps as AriaTagProps, TagListProps, ValidationResult } from 'react-aria-components';
3
+ import * as React from 'react';
4
+ export type TagSize = 'sm' | 'md' | 'lg';
5
+ export type TagVariant = 'primary' | 'secondary' | 'tertiary';
6
+ export interface TagGroupProps<T> extends Omit<AriaTagGroupProps, 'style' | 'children'> {
7
+ label?: string;
8
+ description?: string;
9
+ errorMessage?: string | ((v: ValidationResult) => string);
10
+ isInvalid?: boolean;
11
+ isDisabled?: boolean;
12
+ size?: TagSize;
13
+ variant?: TagVariant;
14
+ style?: StyleXStyles;
15
+ className?: string;
16
+ items?: Iterable<T>;
17
+ renderEmptyState?: TagListProps<T>['renderEmptyState'];
18
+ children?: TagListProps<T>['children'];
19
+ }
20
+ export declare function TagGroup<T>({ label, description, errorMessage, isInvalid, isDisabled, size, variant, items, children, renderEmptyState, style, className, ...props }: TagGroupProps<T>): React.JSX.Element;
21
+ export interface TagProps extends Omit<AriaTagProps, 'style'> {
22
+ size?: TagSize;
23
+ variant?: TagVariant;
24
+ style?: StyleXStyles;
25
+ className?: string;
26
+ }
27
+ export declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLDivElement>>;