@atom-learning/components 2.29.1 → 2.31.0-beta.0
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/dist/components/accordion/Accordion.d.ts +37 -127
- package/dist/components/accordion/AccordionContent.d.ts +37 -127
- package/dist/components/accordion/AccordionContent.js +1 -1
- package/dist/components/accordion/AccordionItem.d.ts +37 -127
- package/dist/components/accordion/AccordionItem.js +1 -1
- package/dist/components/accordion/AccordionTrigger.d.ts +42 -131
- package/dist/components/accordion/AccordionTrigger.js +1 -1
- package/dist/components/action-icon/ActionIcon.d.ts +37 -127
- package/dist/components/alert-dialog/AlertDialog.d.ts +37 -127
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +37 -127
- package/dist/components/alert-dialog/AlertDialogContent.js +1 -1
- package/dist/components/avatar/Avatar.d.ts +104 -284
- package/dist/components/badge/Badge.d.ts +104 -284
- package/dist/components/box/Box.d.ts +37 -127
- package/dist/components/button/Button.d.ts +37 -127
- package/dist/components/calendar/Day.d.ts +37 -127
- package/dist/components/carousel/CarouselPagination.d.ts +37 -127
- package/dist/components/carousel/CarouselSlide.d.ts +37 -127
- package/dist/components/carousel/CarouselSlider.d.ts +37 -127
- package/dist/components/checkbox/Checkbox.d.ts +37 -127
- package/dist/components/chip/Chip.d.ts +304 -934
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +74 -254
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +74 -254
- package/dist/components/chip-toggle-group/ChipToggleGroupRoot.d.ts +104 -284
- package/dist/components/combobox/Combobox.d.ts +37 -127
- package/dist/components/combobox/ComboboxInput.d.ts +37 -127
- package/dist/components/combobox/ComboboxList.d.ts +37 -127
- package/dist/components/combobox/ComboboxOption.d.ts +37 -127
- package/dist/components/combobox/ComboboxPopover.d.ts +37 -127
- package/dist/components/data-table/DataTableLoading.d.ts +37 -127
- package/dist/components/data-table/drag-and-drop/Handle.d.ts +74 -254
- package/dist/components/data-table/pagination/Pagination.d.ts +37 -127
- package/dist/components/dialog/Dialog.d.ts +37 -127
- package/dist/components/dialog/DialogBackground.d.ts +104 -284
- package/dist/components/dialog/DialogClose.d.ts +37 -127
- package/dist/components/dialog/DialogContent.d.ts +37 -127
- package/dist/components/dialog/DialogContent.js +1 -1
- package/dist/components/divider/Divider.d.ts +37 -127
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +37 -127
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +37 -127
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +37 -127
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +37 -127
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +37 -127
- package/dist/components/empty-state/EmptyState.d.ts +104 -284
- package/dist/components/empty-state/EmptyStateBody.d.ts +74 -254
- package/dist/components/empty-state/EmptyStateImage.d.ts +74 -254
- package/dist/components/empty-state/EmptyStateTitle.d.ts +37 -127
- package/dist/components/flex/Flex.d.ts +37 -127
- package/dist/components/form/Form.d.ts +37 -127
- package/dist/components/grid/Grid.d.ts +37 -127
- package/dist/components/heading/Heading.d.ts +37 -127
- package/dist/components/icon/Icon.d.ts +37 -127
- package/dist/components/image/Image.d.ts +37 -127
- package/dist/components/inline-message/InlineMessage.d.ts +104 -284
- package/dist/components/input/Input.d.ts +37 -127
- package/dist/components/label/Label.d.ts +37 -127
- package/dist/components/link/Link.d.ts +37 -127
- package/dist/components/list/List.d.ts +104 -284
- package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +37 -127
- package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +74 -254
- package/dist/components/notification-badge/NotificationBadge.d.ts +104 -284
- package/dist/components/popover/Popover.d.ts +37 -127
- package/dist/components/popover/PopoverContent.d.ts +37 -127
- package/dist/components/progress-bar/ProgressBar.d.ts +37 -127
- package/dist/components/radio-button/RadioButton.d.ts +37 -127
- package/dist/components/radio-button/RadioButtonGroup.d.ts +37 -127
- package/dist/components/radio-card/RadioCard.d.ts +37 -127
- package/dist/components/select/Select.d.ts +37 -127
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionContent.d.ts +37 -127
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionItem.d.ts +37 -127
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionRoot.d.ts +37 -127
- package/dist/components/sidedrawer/SidedrawerAccordion/SidedrawerAccordionTrigger.d.ts +37 -127
- package/dist/components/sidedrawer/SidedrawerContent.d.ts +37 -127
- package/dist/components/sidedrawer/SidedrawerFooter.d.ts +37 -127
- package/dist/components/sidedrawer/SidedrawerHeader.d.ts +37 -127
- package/dist/components/sidedrawer/SidedrawerOverlay.d.ts +37 -127
- package/dist/components/sidedrawer/SidedrawerTrigger.d.ts +37 -127
- package/dist/components/slider/Slider.d.ts +37 -127
- package/dist/components/stack/Stack.d.ts +37 -127
- package/dist/components/stack-content/StackContent.d.ts +37 -127
- package/dist/components/stepper/StepperStepBullet.d.ts +104 -284
- package/dist/components/stepper/StepperStepContainer.d.ts +104 -284
- package/dist/components/stepper/StepperStepLabel.d.ts +74 -254
- package/dist/components/switch/Switch.d.ts +37 -127
- package/dist/components/table/Table.d.ts +37 -127
- package/dist/components/table/TableBody.d.ts +37 -127
- package/dist/components/table/TableCell.d.ts +37 -127
- package/dist/components/table/TableFooter.d.ts +37 -127
- package/dist/components/table/TableFooterCell.d.ts +37 -127
- package/dist/components/table/TableHeader.d.ts +37 -127
- package/dist/components/table/TableHeaderCell.d.ts +37 -127
- package/dist/components/table/TableRow.d.ts +74 -254
- package/dist/components/tabs/Tabs.d.ts +44 -403
- package/dist/components/tabs/Tabs.js +1 -1
- package/dist/components/tabs/TabsContent.d.ts +177 -0
- package/dist/components/tabs/TabsContent.js +1 -0
- package/dist/components/tabs/TabsTrigger.d.ts +182 -0
- package/dist/components/tabs/TabsTrigger.js +1 -0
- package/dist/components/tabs/TabsTriggerList.d.ts +42 -136
- package/dist/components/tabs/TabsTriggerList.js +1 -1
- package/dist/components/text/Text.d.ts +37 -127
- package/dist/components/textarea/Textarea.d.ts +37 -127
- package/dist/components/toast/Toast.d.ts +37 -127
- package/dist/components/toggle-group/ToggleGroupButton.d.ts +104 -284
- package/dist/components/toggle-group/ToggleGroupItem.d.ts +104 -284
- package/dist/components/toggle-group/ToggleGroupRoot.d.ts +37 -127
- package/dist/components/toggle-group/index.d.ts +245 -695
- package/dist/components/tooltip/TooltipContent.d.ts +37 -127
- package/dist/components/top-bar/TopBar.d.ts +37 -127
- package/dist/components/top-bar/TopBarBrand.d.ts +111 -381
- package/dist/components/video/Video.d.ts +104 -284
- package/dist/docgen.json +1 -1
- package/dist/docs/Accordion.mdx +56 -7
- package/dist/docs/README.mdx +79 -0
- package/dist/docs/Tabs.mdx +31 -57
- package/dist/experiments/color-scheme/ColorScheme.d.ts +111 -0
- package/dist/experiments/color-scheme/ColorScheme.js +1 -0
- package/dist/experiments/color-scheme/blue.json.js +1 -0
- package/dist/experiments/color-scheme/generateAlphaColors.d.ts +1 -0
- package/dist/experiments/color-scheme/generateAlphaColors.js +1 -0
- package/dist/experiments/color-scheme/index.d.ts +1 -0
- package/dist/experiments/color-scheme/slate.json.js +1 -0
- package/dist/experiments/color-scheme/stitches.colorscheme.config.d.ts +256 -0
- package/dist/experiments/color-scheme/stitches.colorscheme.config.js +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/stitches.d.ts +474 -786
- package/dist/stitches.js +1 -1
- package/dist/utilities/hooks/useCallbackRef.js +1 -1
- package/dist/utilities/hooks/useWindowSize.d.ts +8 -0
- package/dist/utilities/hooks/useWindowSize.js +1 -0
- package/package.json +4 -3
- package/CHANGELOG.md +0 -210
- package/dist/components/tabs/TabTrigger.d.ts +0 -275
- package/dist/components/tabs/TabTrigger.js +0 -1
- package/dist/components/tabs/utils.d.ts +0 -2
- package/dist/components/tabs/utils.js +0 -1
|
@@ -1,278 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { TabsTriggerList } from './TabsTriggerList';
|
|
3
|
+
import { TabsTrigger } from './TabsTrigger';
|
|
4
|
+
import { TabsContent } from './TabsContent';
|
|
4
5
|
declare type TabsProps = React.ComponentProps<typeof StyledRoot>;
|
|
5
|
-
declare const StyledRoot: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-tabs").TabsProps & React.RefAttributes<HTMLDivElement>>, {
|
|
6
|
-
theme?: "dark" | "light" | undefined;
|
|
7
|
-
}, {
|
|
8
|
-
sm: string;
|
|
9
|
-
md: string;
|
|
10
|
-
lg: string;
|
|
11
|
-
xl: string;
|
|
12
|
-
reducedMotion: string;
|
|
13
|
-
allowMotion: string;
|
|
14
|
-
hover: string;
|
|
15
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
16
|
-
sm: string;
|
|
17
|
-
md: string;
|
|
18
|
-
lg: string;
|
|
19
|
-
xl: string;
|
|
20
|
-
reducedMotion: string;
|
|
21
|
-
allowMotion: string;
|
|
22
|
-
hover: string;
|
|
23
|
-
}, {
|
|
24
|
-
colors: {
|
|
25
|
-
textForeground: any;
|
|
26
|
-
textSubtle: any;
|
|
27
|
-
textPlaceholder: any;
|
|
28
|
-
background: any;
|
|
29
|
-
backgroundAccent: any;
|
|
30
|
-
tonal50: any;
|
|
31
|
-
tonal100: any;
|
|
32
|
-
tonal200: any;
|
|
33
|
-
tonal300: any;
|
|
34
|
-
tonal400: any;
|
|
35
|
-
tonal500: any;
|
|
36
|
-
tonal600: any;
|
|
37
|
-
alpha100: any;
|
|
38
|
-
alpha150: any;
|
|
39
|
-
alpha200: any;
|
|
40
|
-
alpha250: any;
|
|
41
|
-
alpha600: any;
|
|
42
|
-
primaryLight: any;
|
|
43
|
-
primary: any;
|
|
44
|
-
primaryMid: any;
|
|
45
|
-
primaryDark: any;
|
|
46
|
-
secondary: any;
|
|
47
|
-
brandRed: any;
|
|
48
|
-
brandRedAccent: any;
|
|
49
|
-
brandGreen: any;
|
|
50
|
-
brandGreenAccent: any;
|
|
51
|
-
brandPurple: any;
|
|
52
|
-
brandPurpleAccent: any;
|
|
53
|
-
brandYellow: any;
|
|
54
|
-
brandYellowAccent: any;
|
|
55
|
-
successLight: any;
|
|
56
|
-
success: any;
|
|
57
|
-
successMid: any;
|
|
58
|
-
successDark: any;
|
|
59
|
-
dangerLight: any;
|
|
60
|
-
danger: any;
|
|
61
|
-
dangerMid: any;
|
|
62
|
-
dangerDark: any;
|
|
63
|
-
warningLight: any;
|
|
64
|
-
warning: any;
|
|
65
|
-
warningMid: any;
|
|
66
|
-
warningDark: any;
|
|
67
|
-
warningText: any;
|
|
68
|
-
subjectEnglish: any;
|
|
69
|
-
subjectMaths: any;
|
|
70
|
-
subjectScience: any;
|
|
71
|
-
subjectVerbalReasoning: any;
|
|
72
|
-
subjectNonVerbalReasoning: any;
|
|
73
|
-
subjectCreativeWriting: any;
|
|
74
|
-
subjectExamSkills: any;
|
|
75
|
-
};
|
|
76
|
-
space: {
|
|
77
|
-
"0": any;
|
|
78
|
-
"1": any;
|
|
79
|
-
"2": any;
|
|
80
|
-
"3": any;
|
|
81
|
-
"4": any;
|
|
82
|
-
"5": any;
|
|
83
|
-
"6": any;
|
|
84
|
-
"7": any;
|
|
85
|
-
"8": any;
|
|
86
|
-
"9": any;
|
|
87
|
-
};
|
|
88
|
-
fontSizes: {
|
|
89
|
-
xs: any;
|
|
90
|
-
sm: any;
|
|
91
|
-
md: any;
|
|
92
|
-
lg: any;
|
|
93
|
-
xl: any;
|
|
94
|
-
"2xl": any;
|
|
95
|
-
"3xl": any;
|
|
96
|
-
"4xl": any;
|
|
97
|
-
};
|
|
98
|
-
fonts: {
|
|
99
|
-
sans: any;
|
|
100
|
-
mono: any;
|
|
101
|
-
display: any;
|
|
102
|
-
body: any;
|
|
103
|
-
};
|
|
104
|
-
sizes: {
|
|
105
|
-
"0": any;
|
|
106
|
-
"1": any;
|
|
107
|
-
"2": any;
|
|
108
|
-
"3": any;
|
|
109
|
-
"4": any;
|
|
110
|
-
"5": any;
|
|
111
|
-
"6": any;
|
|
112
|
-
"7": any;
|
|
113
|
-
"8": any;
|
|
114
|
-
};
|
|
115
|
-
radii: {
|
|
116
|
-
"0": any;
|
|
117
|
-
"1": any;
|
|
118
|
-
"2": any;
|
|
119
|
-
"3": any;
|
|
120
|
-
round: any;
|
|
121
|
-
};
|
|
122
|
-
shadows: {
|
|
123
|
-
"0": any;
|
|
124
|
-
"1": any;
|
|
125
|
-
"2": any;
|
|
126
|
-
"3": any;
|
|
127
|
-
};
|
|
128
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
129
|
-
bg: (value: {
|
|
130
|
-
readonly [$$PropertyValue]: "background";
|
|
131
|
-
}) => {
|
|
132
|
-
background: {
|
|
133
|
-
readonly [$$PropertyValue]: "background";
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
inset: (value: string | number | {
|
|
137
|
-
readonly [$$ScaleValue]: "space";
|
|
138
|
-
}) => {
|
|
139
|
-
top: string | number | {
|
|
140
|
-
readonly [$$ScaleValue]: "space";
|
|
141
|
-
};
|
|
142
|
-
right: string | number | {
|
|
143
|
-
readonly [$$ScaleValue]: "space";
|
|
144
|
-
};
|
|
145
|
-
bottom: string | number | {
|
|
146
|
-
readonly [$$ScaleValue]: "space";
|
|
147
|
-
};
|
|
148
|
-
left: string | number | {
|
|
149
|
-
readonly [$$ScaleValue]: "space";
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
size: (value: string | number | {
|
|
153
|
-
readonly [$$ScaleValue]: "size";
|
|
154
|
-
}) => {
|
|
155
|
-
height: string | number | {
|
|
156
|
-
readonly [$$ScaleValue]: "size";
|
|
157
|
-
};
|
|
158
|
-
width: string | number | {
|
|
159
|
-
readonly [$$ScaleValue]: "size";
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
p: (value: string | number | {
|
|
163
|
-
readonly [$$ScaleValue]: "space";
|
|
164
|
-
}) => {
|
|
165
|
-
padding: string | number | {
|
|
166
|
-
readonly [$$ScaleValue]: "space";
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
pt: (value: string | number | {
|
|
170
|
-
readonly [$$ScaleValue]: "space";
|
|
171
|
-
}) => {
|
|
172
|
-
paddingTop: string | number | {
|
|
173
|
-
readonly [$$ScaleValue]: "space";
|
|
174
|
-
};
|
|
175
|
-
};
|
|
176
|
-
pr: (value: string | number | {
|
|
177
|
-
readonly [$$ScaleValue]: "space";
|
|
178
|
-
}) => {
|
|
179
|
-
paddingRight: string | number | {
|
|
180
|
-
readonly [$$ScaleValue]: "space";
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
pb: (value: string | number | {
|
|
184
|
-
readonly [$$ScaleValue]: "space";
|
|
185
|
-
}) => {
|
|
186
|
-
paddingBottom: string | number | {
|
|
187
|
-
readonly [$$ScaleValue]: "space";
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
pl: (value: string | number | {
|
|
191
|
-
readonly [$$ScaleValue]: "space";
|
|
192
|
-
}) => {
|
|
193
|
-
paddingLeft: string | number | {
|
|
194
|
-
readonly [$$ScaleValue]: "space";
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
px: (value: string | number | {
|
|
198
|
-
readonly [$$ScaleValue]: "space";
|
|
199
|
-
}) => {
|
|
200
|
-
paddingLeft: string | number | {
|
|
201
|
-
readonly [$$ScaleValue]: "space";
|
|
202
|
-
};
|
|
203
|
-
paddingRight: string | number | {
|
|
204
|
-
readonly [$$ScaleValue]: "space";
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
py: (value: string | number | {
|
|
208
|
-
readonly [$$ScaleValue]: "space";
|
|
209
|
-
}) => {
|
|
210
|
-
paddingTop: string | number | {
|
|
211
|
-
readonly [$$ScaleValue]: "space";
|
|
212
|
-
};
|
|
213
|
-
paddingBottom: string | number | {
|
|
214
|
-
readonly [$$ScaleValue]: "space";
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
m: (value: string | number | {
|
|
218
|
-
readonly [$$ScaleValue]: "space";
|
|
219
|
-
}) => {
|
|
220
|
-
margin: string | number | {
|
|
221
|
-
readonly [$$ScaleValue]: "space";
|
|
222
|
-
};
|
|
223
|
-
};
|
|
224
|
-
mt: (value: string | number | {
|
|
225
|
-
readonly [$$ScaleValue]: "space";
|
|
226
|
-
}) => {
|
|
227
|
-
marginTop: string | number | {
|
|
228
|
-
readonly [$$ScaleValue]: "space";
|
|
229
|
-
};
|
|
230
|
-
};
|
|
231
|
-
mr: (value: string | number | {
|
|
232
|
-
readonly [$$ScaleValue]: "space";
|
|
233
|
-
}) => {
|
|
234
|
-
marginRight: string | number | {
|
|
235
|
-
readonly [$$ScaleValue]: "space";
|
|
236
|
-
};
|
|
237
|
-
};
|
|
238
|
-
mb: (value: string | number | {
|
|
239
|
-
readonly [$$ScaleValue]: "space";
|
|
240
|
-
}) => {
|
|
241
|
-
marginBottom: string | number | {
|
|
242
|
-
readonly [$$ScaleValue]: "space";
|
|
243
|
-
};
|
|
244
|
-
};
|
|
245
|
-
ml: (value: string | number | {
|
|
246
|
-
readonly [$$ScaleValue]: "space";
|
|
247
|
-
}) => {
|
|
248
|
-
marginLeft: string | number | {
|
|
249
|
-
readonly [$$ScaleValue]: "space";
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
mx: (value: string | number | {
|
|
253
|
-
readonly [$$ScaleValue]: "space";
|
|
254
|
-
}) => {
|
|
255
|
-
marginLeft: string | number | {
|
|
256
|
-
readonly [$$ScaleValue]: "space";
|
|
257
|
-
};
|
|
258
|
-
marginRight: string | number | {
|
|
259
|
-
readonly [$$ScaleValue]: "space";
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
|
-
my: (value: string | number | {
|
|
263
|
-
readonly [$$ScaleValue]: "space";
|
|
264
|
-
}) => {
|
|
265
|
-
marginTop: string | number | {
|
|
266
|
-
readonly [$$ScaleValue]: "space";
|
|
267
|
-
};
|
|
268
|
-
marginBottom: string | number | {
|
|
269
|
-
readonly [$$ScaleValue]: "space";
|
|
270
|
-
};
|
|
271
|
-
};
|
|
272
|
-
}>>;
|
|
273
|
-
declare const StyledTabContent: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-tabs").TabsContentProps & React.RefAttributes<HTMLDivElement>>, {
|
|
274
|
-
theme?: "dark" | "light" | undefined;
|
|
275
|
-
}, {
|
|
6
|
+
declare const StyledRoot: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-tabs").TabsProps & React.RefAttributes<HTMLDivElement>>, {}, {
|
|
276
7
|
sm: string;
|
|
277
8
|
md: string;
|
|
278
9
|
lg: string;
|
|
@@ -394,153 +125,63 @@ declare const StyledTabContent: import("@stitches/react/types/styled-component")
|
|
|
394
125
|
"3": any;
|
|
395
126
|
};
|
|
396
127
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
397
|
-
bg: (value: {
|
|
398
|
-
|
|
399
|
-
}) => {
|
|
400
|
-
background: {
|
|
401
|
-
readonly [$$PropertyValue]: "background";
|
|
402
|
-
};
|
|
403
|
-
};
|
|
404
|
-
inset: (value: string | number | {
|
|
405
|
-
readonly [$$ScaleValue]: "space";
|
|
406
|
-
}) => {
|
|
407
|
-
top: string | number | {
|
|
408
|
-
readonly [$$ScaleValue]: "space";
|
|
409
|
-
};
|
|
410
|
-
right: string | number | {
|
|
411
|
-
readonly [$$ScaleValue]: "space";
|
|
412
|
-
};
|
|
413
|
-
bottom: string | number | {
|
|
414
|
-
readonly [$$ScaleValue]: "space";
|
|
415
|
-
};
|
|
416
|
-
left: string | number | {
|
|
417
|
-
readonly [$$ScaleValue]: "space";
|
|
418
|
-
};
|
|
128
|
+
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
129
|
+
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
419
130
|
};
|
|
420
|
-
size: (value: string | number | {
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
height: string | number | {
|
|
424
|
-
readonly [$$ScaleValue]: "size";
|
|
425
|
-
};
|
|
426
|
-
width: string | number | {
|
|
427
|
-
readonly [$$ScaleValue]: "size";
|
|
428
|
-
};
|
|
131
|
+
size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
|
|
132
|
+
height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
133
|
+
width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
429
134
|
};
|
|
430
|
-
p: (value: string | number | {
|
|
431
|
-
|
|
432
|
-
}) => {
|
|
433
|
-
padding: string | number | {
|
|
434
|
-
readonly [$$ScaleValue]: "space";
|
|
435
|
-
};
|
|
135
|
+
p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
136
|
+
padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
436
137
|
};
|
|
437
|
-
pt: (value: string | number | {
|
|
438
|
-
|
|
439
|
-
}) => {
|
|
440
|
-
paddingTop: string | number | {
|
|
441
|
-
readonly [$$ScaleValue]: "space";
|
|
442
|
-
};
|
|
138
|
+
pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
139
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
443
140
|
};
|
|
444
|
-
pr: (value: string | number | {
|
|
445
|
-
|
|
446
|
-
}) => {
|
|
447
|
-
paddingRight: string | number | {
|
|
448
|
-
readonly [$$ScaleValue]: "space";
|
|
449
|
-
};
|
|
141
|
+
pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
142
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
450
143
|
};
|
|
451
|
-
pb: (value: string | number | {
|
|
452
|
-
|
|
453
|
-
}) => {
|
|
454
|
-
paddingBottom: string | number | {
|
|
455
|
-
readonly [$$ScaleValue]: "space";
|
|
456
|
-
};
|
|
144
|
+
pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
145
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
457
146
|
};
|
|
458
|
-
pl: (value: string | number | {
|
|
459
|
-
|
|
460
|
-
}) => {
|
|
461
|
-
paddingLeft: string | number | {
|
|
462
|
-
readonly [$$ScaleValue]: "space";
|
|
463
|
-
};
|
|
147
|
+
pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
148
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
464
149
|
};
|
|
465
|
-
px: (value: string | number | {
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
paddingLeft: string | number | {
|
|
469
|
-
readonly [$$ScaleValue]: "space";
|
|
470
|
-
};
|
|
471
|
-
paddingRight: string | number | {
|
|
472
|
-
readonly [$$ScaleValue]: "space";
|
|
473
|
-
};
|
|
150
|
+
px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
151
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
152
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
474
153
|
};
|
|
475
|
-
py: (value: string | number | {
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
paddingTop: string | number | {
|
|
479
|
-
readonly [$$ScaleValue]: "space";
|
|
480
|
-
};
|
|
481
|
-
paddingBottom: string | number | {
|
|
482
|
-
readonly [$$ScaleValue]: "space";
|
|
483
|
-
};
|
|
154
|
+
py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
155
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
156
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
484
157
|
};
|
|
485
|
-
m: (value: string | number | {
|
|
486
|
-
|
|
487
|
-
}) => {
|
|
488
|
-
margin: string | number | {
|
|
489
|
-
readonly [$$ScaleValue]: "space";
|
|
490
|
-
};
|
|
158
|
+
m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
159
|
+
margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
491
160
|
};
|
|
492
|
-
mt: (value: string | number | {
|
|
493
|
-
|
|
494
|
-
}) => {
|
|
495
|
-
marginTop: string | number | {
|
|
496
|
-
readonly [$$ScaleValue]: "space";
|
|
497
|
-
};
|
|
161
|
+
mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
162
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
498
163
|
};
|
|
499
|
-
mr: (value: string | number | {
|
|
500
|
-
|
|
501
|
-
}) => {
|
|
502
|
-
marginRight: string | number | {
|
|
503
|
-
readonly [$$ScaleValue]: "space";
|
|
504
|
-
};
|
|
164
|
+
mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
165
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
505
166
|
};
|
|
506
|
-
mb: (value: string | number | {
|
|
507
|
-
|
|
508
|
-
}) => {
|
|
509
|
-
marginBottom: string | number | {
|
|
510
|
-
readonly [$$ScaleValue]: "space";
|
|
511
|
-
};
|
|
167
|
+
mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
168
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
512
169
|
};
|
|
513
|
-
ml: (value: string | number | {
|
|
514
|
-
|
|
515
|
-
}) => {
|
|
516
|
-
marginLeft: string | number | {
|
|
517
|
-
readonly [$$ScaleValue]: "space";
|
|
518
|
-
};
|
|
170
|
+
ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
171
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
519
172
|
};
|
|
520
|
-
mx: (value: string | number | {
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
marginLeft: string | number | {
|
|
524
|
-
readonly [$$ScaleValue]: "space";
|
|
525
|
-
};
|
|
526
|
-
marginRight: string | number | {
|
|
527
|
-
readonly [$$ScaleValue]: "space";
|
|
528
|
-
};
|
|
173
|
+
mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
174
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
175
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
529
176
|
};
|
|
530
|
-
my: (value: string | number | {
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
marginTop: string | number | {
|
|
534
|
-
readonly [$$ScaleValue]: "space";
|
|
535
|
-
};
|
|
536
|
-
marginBottom: string | number | {
|
|
537
|
-
readonly [$$ScaleValue]: "space";
|
|
538
|
-
};
|
|
177
|
+
my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
178
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
179
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
539
180
|
};
|
|
540
181
|
}>>;
|
|
541
182
|
export declare const Tabs: React.FC<TabsProps> & {
|
|
542
|
-
TriggerList: typeof
|
|
543
|
-
Trigger: typeof
|
|
544
|
-
Content: typeof
|
|
183
|
+
TriggerList: typeof TabsTriggerList;
|
|
184
|
+
Trigger: typeof TabsTrigger;
|
|
185
|
+
Content: typeof TabsContent;
|
|
545
186
|
};
|
|
546
187
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Root as
|
|
1
|
+
import{Root as i}from"@radix-ui/react-tabs";import*as e from"react";import{styled as m}from"../../stitches.js";import{TabsTriggerList as s}from"./TabsTriggerList.js";import{TabsTrigger as a}from"./TabsTrigger.js";import{TabsContent as g}from"./TabsContent.js";const T=m(i,{width:"100%"}),r=({children:o,...t})=>e.createElement(T,{...t},o);r.TriggerList=s,r.Trigger=a,r.Content=g,r.displayName="Tabs";export{r as Tabs};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const TabsContent: import("@stitches/react/types/styled-component").StyledComponent<import("react").ForwardRefExoticComponent<import("@radix-ui/react-tabs").TabsContentProps & import("react").RefAttributes<HTMLDivElement>>, {}, {
|
|
3
|
+
sm: string;
|
|
4
|
+
md: string;
|
|
5
|
+
lg: string;
|
|
6
|
+
xl: string;
|
|
7
|
+
reducedMotion: string;
|
|
8
|
+
allowMotion: string;
|
|
9
|
+
hover: string;
|
|
10
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
11
|
+
sm: string;
|
|
12
|
+
md: string;
|
|
13
|
+
lg: string;
|
|
14
|
+
xl: string;
|
|
15
|
+
reducedMotion: string;
|
|
16
|
+
allowMotion: string;
|
|
17
|
+
hover: string;
|
|
18
|
+
}, {
|
|
19
|
+
colors: {
|
|
20
|
+
textForeground: any;
|
|
21
|
+
textSubtle: any;
|
|
22
|
+
textPlaceholder: any;
|
|
23
|
+
background: any;
|
|
24
|
+
backgroundAccent: any;
|
|
25
|
+
tonal50: any;
|
|
26
|
+
tonal100: any;
|
|
27
|
+
tonal200: any;
|
|
28
|
+
tonal300: any;
|
|
29
|
+
tonal400: any;
|
|
30
|
+
tonal500: any;
|
|
31
|
+
tonal600: any;
|
|
32
|
+
alpha100: any;
|
|
33
|
+
alpha150: any;
|
|
34
|
+
alpha200: any;
|
|
35
|
+
alpha250: any;
|
|
36
|
+
alpha600: any;
|
|
37
|
+
primaryLight: any;
|
|
38
|
+
primary: any;
|
|
39
|
+
primaryMid: any;
|
|
40
|
+
primaryDark: any;
|
|
41
|
+
secondary: any;
|
|
42
|
+
brandRed: any;
|
|
43
|
+
brandRedAccent: any;
|
|
44
|
+
brandGreen: any;
|
|
45
|
+
brandGreenAccent: any;
|
|
46
|
+
brandPurple: any;
|
|
47
|
+
brandPurpleAccent: any;
|
|
48
|
+
brandYellow: any;
|
|
49
|
+
brandYellowAccent: any;
|
|
50
|
+
successLight: any;
|
|
51
|
+
success: any;
|
|
52
|
+
successMid: any;
|
|
53
|
+
successDark: any;
|
|
54
|
+
dangerLight: any;
|
|
55
|
+
danger: any;
|
|
56
|
+
dangerMid: any;
|
|
57
|
+
dangerDark: any;
|
|
58
|
+
warningLight: any;
|
|
59
|
+
warning: any;
|
|
60
|
+
warningMid: any;
|
|
61
|
+
warningDark: any;
|
|
62
|
+
warningText: any;
|
|
63
|
+
subjectEnglish: any;
|
|
64
|
+
subjectMaths: any;
|
|
65
|
+
subjectScience: any;
|
|
66
|
+
subjectVerbalReasoning: any;
|
|
67
|
+
subjectNonVerbalReasoning: any;
|
|
68
|
+
subjectCreativeWriting: any;
|
|
69
|
+
subjectExamSkills: any;
|
|
70
|
+
};
|
|
71
|
+
space: {
|
|
72
|
+
"0": any;
|
|
73
|
+
"1": any;
|
|
74
|
+
"2": any;
|
|
75
|
+
"3": any;
|
|
76
|
+
"4": any;
|
|
77
|
+
"5": any;
|
|
78
|
+
"6": any;
|
|
79
|
+
"7": any;
|
|
80
|
+
"8": any;
|
|
81
|
+
"9": any;
|
|
82
|
+
};
|
|
83
|
+
fontSizes: {
|
|
84
|
+
xs: any;
|
|
85
|
+
sm: any;
|
|
86
|
+
md: any;
|
|
87
|
+
lg: any;
|
|
88
|
+
xl: any;
|
|
89
|
+
"2xl": any;
|
|
90
|
+
"3xl": any;
|
|
91
|
+
"4xl": any;
|
|
92
|
+
};
|
|
93
|
+
fonts: {
|
|
94
|
+
sans: any;
|
|
95
|
+
mono: any;
|
|
96
|
+
display: any;
|
|
97
|
+
body: any;
|
|
98
|
+
};
|
|
99
|
+
sizes: {
|
|
100
|
+
"0": any;
|
|
101
|
+
"1": any;
|
|
102
|
+
"2": any;
|
|
103
|
+
"3": any;
|
|
104
|
+
"4": any;
|
|
105
|
+
"5": any;
|
|
106
|
+
"6": any;
|
|
107
|
+
"7": any;
|
|
108
|
+
"8": any;
|
|
109
|
+
};
|
|
110
|
+
radii: {
|
|
111
|
+
"0": any;
|
|
112
|
+
"1": any;
|
|
113
|
+
"2": any;
|
|
114
|
+
"3": any;
|
|
115
|
+
round: any;
|
|
116
|
+
};
|
|
117
|
+
shadows: {
|
|
118
|
+
"0": any;
|
|
119
|
+
"1": any;
|
|
120
|
+
"2": any;
|
|
121
|
+
"3": any;
|
|
122
|
+
};
|
|
123
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
124
|
+
bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
|
|
125
|
+
background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
|
|
126
|
+
};
|
|
127
|
+
size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
|
|
128
|
+
height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
129
|
+
width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
|
|
130
|
+
};
|
|
131
|
+
p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
132
|
+
padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
133
|
+
};
|
|
134
|
+
pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
135
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
136
|
+
};
|
|
137
|
+
pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
138
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
139
|
+
};
|
|
140
|
+
pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
141
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
142
|
+
};
|
|
143
|
+
pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
144
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
145
|
+
};
|
|
146
|
+
px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
147
|
+
paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
148
|
+
paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
149
|
+
};
|
|
150
|
+
py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
151
|
+
paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
152
|
+
paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
153
|
+
};
|
|
154
|
+
m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
155
|
+
margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
156
|
+
};
|
|
157
|
+
mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
158
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
159
|
+
};
|
|
160
|
+
mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
161
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
162
|
+
};
|
|
163
|
+
mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
164
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
165
|
+
};
|
|
166
|
+
ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
167
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
168
|
+
};
|
|
169
|
+
mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
170
|
+
marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
171
|
+
marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
172
|
+
};
|
|
173
|
+
my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
|
|
174
|
+
marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
175
|
+
marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
|
|
176
|
+
};
|
|
177
|
+
}>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Content as t}from"@radix-ui/react-tabs";import{styled as n}from"../../stitches.js";const e=n(t,{flexGrow:1,fontFamily:"$body"}),o=e;o.displayName="TabsContent";export{o as TabsContent};
|