@atom-learning/components 1.0.0-rc.3 → 1.0.1
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/CHANGELOG.md +16 -0
- package/dist/components/action-icon/ActionIcon.d.ts +129 -43
- package/dist/components/alert-dialog/AlertDialog.d.ts +128 -42
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +128 -42
- package/dist/components/alert-dialog/AlertDialogContent.js +1 -1
- package/dist/components/box/Box.d.ts +128 -42
- package/dist/components/button/Button.d.ts +128 -42
- package/dist/components/button/Button.js +1 -1
- package/dist/components/carousel/Carousel.js +1 -1
- package/dist/components/carousel/CarouselPagination.d.ts +128 -42
- package/dist/components/carousel/CarouselSlide.d.ts +128 -42
- package/dist/components/carousel/CarouselSlider.d.ts +128 -42
- package/dist/components/checkbox/Checkbox.d.ts +128 -42
- package/dist/components/combobox/Combobox.d.ts +128 -42
- package/dist/components/combobox/ComboboxInput.d.ts +128 -42
- package/dist/components/combobox/ComboboxInput.js +1 -1
- package/dist/components/combobox/ComboboxList.d.ts +128 -42
- package/dist/components/combobox/ComboboxOption.d.ts +128 -42
- package/dist/components/combobox/ComboboxPopover.d.ts +128 -42
- package/dist/components/dialog/Dialog.d.ts +128 -42
- package/dist/components/dialog/DialogClose.d.ts +128 -42
- package/dist/components/dialog/DialogContent.d.ts +128 -42
- package/dist/components/dialog/DialogContent.js +1 -1
- package/dist/components/divider/Divider.d.ts +134 -43
- package/dist/components/divider/Divider.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +128 -42
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +128 -42
- package/dist/components/dropdown-menu/DropdownMenuContent.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +130 -45
- package/dist/components/dropdown-menu/DropdownMenuItem.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +128 -42
- package/dist/components/dropdown-menu/DropdownMenuSeparator.js +1 -1
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +128 -42
- package/dist/components/field-wrapper/InlineFieldWrapper.d.ts +1 -1
- package/dist/components/field-wrapper/InlineFieldWrapper.js +1 -1
- package/dist/components/flex/Flex.d.ts +128 -42
- package/dist/components/form/Form.d.ts +128 -42
- package/dist/components/grid/Grid.d.ts +128 -42
- package/dist/components/heading/Heading.d.ts +128 -42
- package/dist/components/heading/Heading.js +1 -1
- package/dist/components/icon/Icon.d.ts +128 -42
- package/dist/components/image/Image.d.ts +128 -42
- package/dist/components/index.d.ts +5 -4
- package/dist/components/input/Input.d.ts +128 -42
- package/dist/components/label/Label.d.ts +129 -43
- package/dist/components/label/Label.js +1 -1
- package/dist/components/link/Link.d.ts +128 -42
- package/dist/components/list/List.d.ts +288 -116
- package/dist/components/popover/Popover.d.ts +128 -42
- package/dist/components/popover/PopoverContent.d.ts +128 -42
- package/dist/components/popover/PopoverContent.js +1 -1
- package/dist/components/progress-bar/ProgressBar.d.ts +128 -42
- package/dist/components/radio-button/RadioButton.d.ts +275 -0
- package/dist/components/radio-button/RadioButton.js +1 -0
- package/dist/components/radio-button/RadioButtonGroup.d.ts +269 -0
- package/dist/components/{radio → radio-button}/RadioButtonGroup.js +0 -0
- package/dist/components/{radio → radio-button}/index.d.ts +0 -0
- package/dist/components/{radio-field/RadioGroupField.d.ts → radio-button-field/RadioButtonField.d.ts} +2 -2
- package/dist/components/radio-button-field/RadioButtonField.js +1 -0
- package/dist/components/{radio-field → radio-button-field}/RadioField.d.ts +1 -1
- package/dist/components/radio-button-field/RadioField.js +1 -0
- package/dist/components/radio-button-field/index.d.ts +1 -0
- package/dist/components/radio-card/RadioCard.d.ts +274 -0
- package/dist/components/radio-card/RadioCard.js +1 -0
- package/dist/components/radio-card/RadioCardGroup.d.ts +9 -0
- package/dist/components/radio-card/RadioCardGroup.js +1 -0
- package/dist/components/radio-card/index.d.ts +2 -0
- package/dist/components/select/Select.d.ts +128 -42
- package/dist/components/select/Select.js +1 -1
- package/dist/components/stack/Stack.d.ts +128 -42
- package/dist/components/stack-content/StackContent.d.ts +128 -42
- package/dist/components/switch/Switch.d.ts +128 -42
- package/dist/components/switch/Switch.js +1 -1
- package/dist/components/table/Table.d.ts +128 -42
- package/dist/components/table/TableBody.d.ts +128 -42
- package/dist/components/table/TableCell.d.ts +128 -42
- package/dist/components/table/TableCell.js +1 -1
- package/dist/components/table/TableFooter.d.ts +128 -42
- package/dist/components/table/TableFooterCell.d.ts +128 -42
- package/dist/components/table/TableFooterCell.js +1 -1
- package/dist/components/table/TableHeader.d.ts +128 -42
- package/dist/components/table/TableHeaderCell.d.ts +128 -42
- package/dist/components/table/TableRow.d.ts +128 -42
- package/dist/components/tabs/TabTrigger.d.ts +128 -42
- package/dist/components/tabs/TabTrigger.js +1 -1
- package/dist/components/tabs/Tabs.d.ts +432 -174
- package/dist/components/text/Text.d.ts +128 -42
- package/dist/components/text/Text.js +1 -1
- package/dist/components/textarea/Textarea.d.ts +128 -42
- package/dist/components/toast/Toast.d.ts +128 -42
- package/dist/components/toast/Toast.js +1 -1
- package/dist/components/tooltip/Tooltip.js +1 -1
- package/dist/components/tooltip/TooltipContent.d.ts +128 -42
- package/dist/components/tooltip/TooltipContent.js +1 -1
- package/dist/components/video/Video.d.ts +128 -42
- package/dist/docgen.json +1 -1
- package/dist/docs/Divider.mdx +6 -2
- package/dist/docs/DropdownMenu.mdx +5 -3
- package/dist/docs/RadioButtonField.mdx +19 -0
- package/dist/docs/RadioCard.mdx +62 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.js +1 -1
- package/dist/stitches.d.ts +610 -200
- package/dist/stitches.js +1 -1
- package/dist/types/navigatorActions.types.d.ts +2 -5
- package/dist/utilities/css-wrapper/CSSWrapper.d.ts +1 -1
- package/dist/utilities/css-wrapper/CSSWrapper.js +1 -1
- package/dist/utilities/style/index.d.ts +3 -2
- package/dist/utilities/style/keyframe-animations.d.ts +24 -0
- package/dist/utilities/style/keyframe-animations.js +1 -0
- package/package.json +21 -20
- package/dist/components/radio/RadioButton.d.ts +0 -189
- package/dist/components/radio/RadioButton.js +0 -1
- package/dist/components/radio/RadioButtonGroup.d.ts +0 -183
- package/dist/components/radio-field/RadioField.js +0 -1
- package/dist/components/radio-field/RadioGroupField.js +0 -1
- package/dist/components/radio-field/index.d.ts +0 -1
- package/dist/docs/RadioField.mdx +0 -19
|
@@ -8,6 +8,7 @@ declare const StyledCheckbox: import("@stitches/react/types/styled-component").S
|
|
|
8
8
|
lg: string;
|
|
9
9
|
xl: string;
|
|
10
10
|
reducedMotion: string;
|
|
11
|
+
allowMotion: string;
|
|
11
12
|
hover: string;
|
|
12
13
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
13
14
|
sm: string;
|
|
@@ -15,6 +16,7 @@ declare const StyledCheckbox: import("@stitches/react/types/styled-component").S
|
|
|
15
16
|
lg: string;
|
|
16
17
|
xl: string;
|
|
17
18
|
reducedMotion: string;
|
|
19
|
+
allowMotion: string;
|
|
18
20
|
hover: string;
|
|
19
21
|
}, {
|
|
20
22
|
colors: {
|
|
@@ -121,64 +123,148 @@ declare const StyledCheckbox: import("@stitches/react/types/styled-component").S
|
|
|
121
123
|
"3": any;
|
|
122
124
|
};
|
|
123
125
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
124
|
-
bg: (value:
|
|
125
|
-
|
|
126
|
+
bg: (value: {
|
|
127
|
+
readonly [$$PropertyValue]: "background";
|
|
128
|
+
}) => {
|
|
129
|
+
background: {
|
|
130
|
+
readonly [$$PropertyValue]: "background";
|
|
131
|
+
};
|
|
126
132
|
};
|
|
127
|
-
inset: (value: string | number |
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
133
|
+
inset: (value: string | number | {
|
|
134
|
+
readonly [$$ScaleValue]: "space";
|
|
135
|
+
}) => {
|
|
136
|
+
top: string | number | {
|
|
137
|
+
readonly [$$ScaleValue]: "space";
|
|
138
|
+
};
|
|
139
|
+
right: string | number | {
|
|
140
|
+
readonly [$$ScaleValue]: "space";
|
|
141
|
+
};
|
|
142
|
+
bottom: string | number | {
|
|
143
|
+
readonly [$$ScaleValue]: "space";
|
|
144
|
+
};
|
|
145
|
+
left: string | number | {
|
|
146
|
+
readonly [$$ScaleValue]: "space";
|
|
147
|
+
};
|
|
132
148
|
};
|
|
133
|
-
size: (value: string | number |
|
|
134
|
-
|
|
135
|
-
|
|
149
|
+
size: (value: string | number | {
|
|
150
|
+
readonly [$$ScaleValue]: "size";
|
|
151
|
+
}) => {
|
|
152
|
+
height: string | number | {
|
|
153
|
+
readonly [$$ScaleValue]: "size";
|
|
154
|
+
};
|
|
155
|
+
width: string | number | {
|
|
156
|
+
readonly [$$ScaleValue]: "size";
|
|
157
|
+
};
|
|
136
158
|
};
|
|
137
|
-
p: (value: string | number |
|
|
138
|
-
|
|
159
|
+
p: (value: string | number | {
|
|
160
|
+
readonly [$$ScaleValue]: "space";
|
|
161
|
+
}) => {
|
|
162
|
+
padding: string | number | {
|
|
163
|
+
readonly [$$ScaleValue]: "space";
|
|
164
|
+
};
|
|
139
165
|
};
|
|
140
|
-
pt: (value: string | number |
|
|
141
|
-
|
|
166
|
+
pt: (value: string | number | {
|
|
167
|
+
readonly [$$ScaleValue]: "space";
|
|
168
|
+
}) => {
|
|
169
|
+
paddingTop: string | number | {
|
|
170
|
+
readonly [$$ScaleValue]: "space";
|
|
171
|
+
};
|
|
142
172
|
};
|
|
143
|
-
pr: (value: string | number |
|
|
144
|
-
|
|
173
|
+
pr: (value: string | number | {
|
|
174
|
+
readonly [$$ScaleValue]: "space";
|
|
175
|
+
}) => {
|
|
176
|
+
paddingRight: string | number | {
|
|
177
|
+
readonly [$$ScaleValue]: "space";
|
|
178
|
+
};
|
|
145
179
|
};
|
|
146
|
-
pb: (value: string | number |
|
|
147
|
-
|
|
180
|
+
pb: (value: string | number | {
|
|
181
|
+
readonly [$$ScaleValue]: "space";
|
|
182
|
+
}) => {
|
|
183
|
+
paddingBottom: string | number | {
|
|
184
|
+
readonly [$$ScaleValue]: "space";
|
|
185
|
+
};
|
|
148
186
|
};
|
|
149
|
-
pl: (value: string | number |
|
|
150
|
-
|
|
187
|
+
pl: (value: string | number | {
|
|
188
|
+
readonly [$$ScaleValue]: "space";
|
|
189
|
+
}) => {
|
|
190
|
+
paddingLeft: string | number | {
|
|
191
|
+
readonly [$$ScaleValue]: "space";
|
|
192
|
+
};
|
|
151
193
|
};
|
|
152
|
-
px: (value: string | number |
|
|
153
|
-
|
|
154
|
-
|
|
194
|
+
px: (value: string | number | {
|
|
195
|
+
readonly [$$ScaleValue]: "space";
|
|
196
|
+
}) => {
|
|
197
|
+
paddingLeft: string | number | {
|
|
198
|
+
readonly [$$ScaleValue]: "space";
|
|
199
|
+
};
|
|
200
|
+
paddingRight: string | number | {
|
|
201
|
+
readonly [$$ScaleValue]: "space";
|
|
202
|
+
};
|
|
155
203
|
};
|
|
156
|
-
py: (value: string | number |
|
|
157
|
-
|
|
158
|
-
|
|
204
|
+
py: (value: string | number | {
|
|
205
|
+
readonly [$$ScaleValue]: "space";
|
|
206
|
+
}) => {
|
|
207
|
+
paddingTop: string | number | {
|
|
208
|
+
readonly [$$ScaleValue]: "space";
|
|
209
|
+
};
|
|
210
|
+
paddingBottom: string | number | {
|
|
211
|
+
readonly [$$ScaleValue]: "space";
|
|
212
|
+
};
|
|
159
213
|
};
|
|
160
|
-
m: (value: string | number |
|
|
161
|
-
|
|
214
|
+
m: (value: string | number | {
|
|
215
|
+
readonly [$$ScaleValue]: "space";
|
|
216
|
+
}) => {
|
|
217
|
+
margin: string | number | {
|
|
218
|
+
readonly [$$ScaleValue]: "space";
|
|
219
|
+
};
|
|
162
220
|
};
|
|
163
|
-
mt: (value: string | number |
|
|
164
|
-
|
|
221
|
+
mt: (value: string | number | {
|
|
222
|
+
readonly [$$ScaleValue]: "space";
|
|
223
|
+
}) => {
|
|
224
|
+
marginTop: string | number | {
|
|
225
|
+
readonly [$$ScaleValue]: "space";
|
|
226
|
+
};
|
|
165
227
|
};
|
|
166
|
-
mr: (value: string | number |
|
|
167
|
-
|
|
228
|
+
mr: (value: string | number | {
|
|
229
|
+
readonly [$$ScaleValue]: "space";
|
|
230
|
+
}) => {
|
|
231
|
+
marginRight: string | number | {
|
|
232
|
+
readonly [$$ScaleValue]: "space";
|
|
233
|
+
};
|
|
168
234
|
};
|
|
169
|
-
mb: (value: string | number |
|
|
170
|
-
|
|
235
|
+
mb: (value: string | number | {
|
|
236
|
+
readonly [$$ScaleValue]: "space";
|
|
237
|
+
}) => {
|
|
238
|
+
marginBottom: string | number | {
|
|
239
|
+
readonly [$$ScaleValue]: "space";
|
|
240
|
+
};
|
|
171
241
|
};
|
|
172
|
-
ml: (value: string | number |
|
|
173
|
-
|
|
242
|
+
ml: (value: string | number | {
|
|
243
|
+
readonly [$$ScaleValue]: "space";
|
|
244
|
+
}) => {
|
|
245
|
+
marginLeft: string | number | {
|
|
246
|
+
readonly [$$ScaleValue]: "space";
|
|
247
|
+
};
|
|
174
248
|
};
|
|
175
|
-
mx: (value: string | number |
|
|
176
|
-
|
|
177
|
-
|
|
249
|
+
mx: (value: string | number | {
|
|
250
|
+
readonly [$$ScaleValue]: "space";
|
|
251
|
+
}) => {
|
|
252
|
+
marginLeft: string | number | {
|
|
253
|
+
readonly [$$ScaleValue]: "space";
|
|
254
|
+
};
|
|
255
|
+
marginRight: string | number | {
|
|
256
|
+
readonly [$$ScaleValue]: "space";
|
|
257
|
+
};
|
|
178
258
|
};
|
|
179
|
-
my: (value: string | number |
|
|
180
|
-
|
|
181
|
-
|
|
259
|
+
my: (value: string | number | {
|
|
260
|
+
readonly [$$ScaleValue]: "space";
|
|
261
|
+
}) => {
|
|
262
|
+
marginTop: string | number | {
|
|
263
|
+
readonly [$$ScaleValue]: "space";
|
|
264
|
+
};
|
|
265
|
+
marginBottom: string | number | {
|
|
266
|
+
readonly [$$ScaleValue]: "space";
|
|
267
|
+
};
|
|
182
268
|
};
|
|
183
269
|
}>>;
|
|
184
270
|
declare type CheckboxProps = React.ComponentProps<typeof StyledCheckbox>;
|
|
@@ -10,6 +10,7 @@ declare const StyledCombobox: import("@stitches/react/types/styled-component").S
|
|
|
10
10
|
lg: string;
|
|
11
11
|
xl: string;
|
|
12
12
|
reducedMotion: string;
|
|
13
|
+
allowMotion: string;
|
|
13
14
|
hover: string;
|
|
14
15
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
15
16
|
sm: string;
|
|
@@ -17,6 +18,7 @@ declare const StyledCombobox: import("@stitches/react/types/styled-component").S
|
|
|
17
18
|
lg: string;
|
|
18
19
|
xl: string;
|
|
19
20
|
reducedMotion: string;
|
|
21
|
+
allowMotion: string;
|
|
20
22
|
hover: string;
|
|
21
23
|
}, {
|
|
22
24
|
colors: {
|
|
@@ -123,64 +125,148 @@ declare const StyledCombobox: import("@stitches/react/types/styled-component").S
|
|
|
123
125
|
"3": any;
|
|
124
126
|
};
|
|
125
127
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
126
|
-
bg: (value:
|
|
127
|
-
|
|
128
|
+
bg: (value: {
|
|
129
|
+
readonly [$$PropertyValue]: "background";
|
|
130
|
+
}) => {
|
|
131
|
+
background: {
|
|
132
|
+
readonly [$$PropertyValue]: "background";
|
|
133
|
+
};
|
|
128
134
|
};
|
|
129
|
-
inset: (value: string | number |
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
135
|
+
inset: (value: string | number | {
|
|
136
|
+
readonly [$$ScaleValue]: "space";
|
|
137
|
+
}) => {
|
|
138
|
+
top: string | number | {
|
|
139
|
+
readonly [$$ScaleValue]: "space";
|
|
140
|
+
};
|
|
141
|
+
right: string | number | {
|
|
142
|
+
readonly [$$ScaleValue]: "space";
|
|
143
|
+
};
|
|
144
|
+
bottom: string | number | {
|
|
145
|
+
readonly [$$ScaleValue]: "space";
|
|
146
|
+
};
|
|
147
|
+
left: string | number | {
|
|
148
|
+
readonly [$$ScaleValue]: "space";
|
|
149
|
+
};
|
|
134
150
|
};
|
|
135
|
-
size: (value: string | number |
|
|
136
|
-
|
|
137
|
-
|
|
151
|
+
size: (value: string | number | {
|
|
152
|
+
readonly [$$ScaleValue]: "size";
|
|
153
|
+
}) => {
|
|
154
|
+
height: string | number | {
|
|
155
|
+
readonly [$$ScaleValue]: "size";
|
|
156
|
+
};
|
|
157
|
+
width: string | number | {
|
|
158
|
+
readonly [$$ScaleValue]: "size";
|
|
159
|
+
};
|
|
138
160
|
};
|
|
139
|
-
p: (value: string | number |
|
|
140
|
-
|
|
161
|
+
p: (value: string | number | {
|
|
162
|
+
readonly [$$ScaleValue]: "space";
|
|
163
|
+
}) => {
|
|
164
|
+
padding: string | number | {
|
|
165
|
+
readonly [$$ScaleValue]: "space";
|
|
166
|
+
};
|
|
141
167
|
};
|
|
142
|
-
pt: (value: string | number |
|
|
143
|
-
|
|
168
|
+
pt: (value: string | number | {
|
|
169
|
+
readonly [$$ScaleValue]: "space";
|
|
170
|
+
}) => {
|
|
171
|
+
paddingTop: string | number | {
|
|
172
|
+
readonly [$$ScaleValue]: "space";
|
|
173
|
+
};
|
|
144
174
|
};
|
|
145
|
-
pr: (value: string | number |
|
|
146
|
-
|
|
175
|
+
pr: (value: string | number | {
|
|
176
|
+
readonly [$$ScaleValue]: "space";
|
|
177
|
+
}) => {
|
|
178
|
+
paddingRight: string | number | {
|
|
179
|
+
readonly [$$ScaleValue]: "space";
|
|
180
|
+
};
|
|
147
181
|
};
|
|
148
|
-
pb: (value: string | number |
|
|
149
|
-
|
|
182
|
+
pb: (value: string | number | {
|
|
183
|
+
readonly [$$ScaleValue]: "space";
|
|
184
|
+
}) => {
|
|
185
|
+
paddingBottom: string | number | {
|
|
186
|
+
readonly [$$ScaleValue]: "space";
|
|
187
|
+
};
|
|
150
188
|
};
|
|
151
|
-
pl: (value: string | number |
|
|
152
|
-
|
|
189
|
+
pl: (value: string | number | {
|
|
190
|
+
readonly [$$ScaleValue]: "space";
|
|
191
|
+
}) => {
|
|
192
|
+
paddingLeft: string | number | {
|
|
193
|
+
readonly [$$ScaleValue]: "space";
|
|
194
|
+
};
|
|
153
195
|
};
|
|
154
|
-
px: (value: string | number |
|
|
155
|
-
|
|
156
|
-
|
|
196
|
+
px: (value: string | number | {
|
|
197
|
+
readonly [$$ScaleValue]: "space";
|
|
198
|
+
}) => {
|
|
199
|
+
paddingLeft: string | number | {
|
|
200
|
+
readonly [$$ScaleValue]: "space";
|
|
201
|
+
};
|
|
202
|
+
paddingRight: string | number | {
|
|
203
|
+
readonly [$$ScaleValue]: "space";
|
|
204
|
+
};
|
|
157
205
|
};
|
|
158
|
-
py: (value: string | number |
|
|
159
|
-
|
|
160
|
-
|
|
206
|
+
py: (value: string | number | {
|
|
207
|
+
readonly [$$ScaleValue]: "space";
|
|
208
|
+
}) => {
|
|
209
|
+
paddingTop: string | number | {
|
|
210
|
+
readonly [$$ScaleValue]: "space";
|
|
211
|
+
};
|
|
212
|
+
paddingBottom: string | number | {
|
|
213
|
+
readonly [$$ScaleValue]: "space";
|
|
214
|
+
};
|
|
161
215
|
};
|
|
162
|
-
m: (value: string | number |
|
|
163
|
-
|
|
216
|
+
m: (value: string | number | {
|
|
217
|
+
readonly [$$ScaleValue]: "space";
|
|
218
|
+
}) => {
|
|
219
|
+
margin: string | number | {
|
|
220
|
+
readonly [$$ScaleValue]: "space";
|
|
221
|
+
};
|
|
164
222
|
};
|
|
165
|
-
mt: (value: string | number |
|
|
166
|
-
|
|
223
|
+
mt: (value: string | number | {
|
|
224
|
+
readonly [$$ScaleValue]: "space";
|
|
225
|
+
}) => {
|
|
226
|
+
marginTop: string | number | {
|
|
227
|
+
readonly [$$ScaleValue]: "space";
|
|
228
|
+
};
|
|
167
229
|
};
|
|
168
|
-
mr: (value: string | number |
|
|
169
|
-
|
|
230
|
+
mr: (value: string | number | {
|
|
231
|
+
readonly [$$ScaleValue]: "space";
|
|
232
|
+
}) => {
|
|
233
|
+
marginRight: string | number | {
|
|
234
|
+
readonly [$$ScaleValue]: "space";
|
|
235
|
+
};
|
|
170
236
|
};
|
|
171
|
-
mb: (value: string | number |
|
|
172
|
-
|
|
237
|
+
mb: (value: string | number | {
|
|
238
|
+
readonly [$$ScaleValue]: "space";
|
|
239
|
+
}) => {
|
|
240
|
+
marginBottom: string | number | {
|
|
241
|
+
readonly [$$ScaleValue]: "space";
|
|
242
|
+
};
|
|
173
243
|
};
|
|
174
|
-
ml: (value: string | number |
|
|
175
|
-
|
|
244
|
+
ml: (value: string | number | {
|
|
245
|
+
readonly [$$ScaleValue]: "space";
|
|
246
|
+
}) => {
|
|
247
|
+
marginLeft: string | number | {
|
|
248
|
+
readonly [$$ScaleValue]: "space";
|
|
249
|
+
};
|
|
176
250
|
};
|
|
177
|
-
mx: (value: string | number |
|
|
178
|
-
|
|
179
|
-
|
|
251
|
+
mx: (value: string | number | {
|
|
252
|
+
readonly [$$ScaleValue]: "space";
|
|
253
|
+
}) => {
|
|
254
|
+
marginLeft: string | number | {
|
|
255
|
+
readonly [$$ScaleValue]: "space";
|
|
256
|
+
};
|
|
257
|
+
marginRight: string | number | {
|
|
258
|
+
readonly [$$ScaleValue]: "space";
|
|
259
|
+
};
|
|
180
260
|
};
|
|
181
|
-
my: (value: string | number |
|
|
182
|
-
|
|
183
|
-
|
|
261
|
+
my: (value: string | number | {
|
|
262
|
+
readonly [$$ScaleValue]: "space";
|
|
263
|
+
}) => {
|
|
264
|
+
marginTop: string | number | {
|
|
265
|
+
readonly [$$ScaleValue]: "space";
|
|
266
|
+
};
|
|
267
|
+
marginBottom: string | number | {
|
|
268
|
+
readonly [$$ScaleValue]: "space";
|
|
269
|
+
};
|
|
184
270
|
};
|
|
185
271
|
}>>;
|
|
186
272
|
declare type ComboboxProps = React.ComponentProps<typeof StyledCombobox>;
|
|
@@ -6,6 +6,7 @@ export declare const ComboboxInput: import("@stitches/react/types/styled-compone
|
|
|
6
6
|
lg: string;
|
|
7
7
|
xl: string;
|
|
8
8
|
reducedMotion: string;
|
|
9
|
+
allowMotion: string;
|
|
9
10
|
hover: string;
|
|
10
11
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
11
12
|
sm: string;
|
|
@@ -13,6 +14,7 @@ export declare const ComboboxInput: import("@stitches/react/types/styled-compone
|
|
|
13
14
|
lg: string;
|
|
14
15
|
xl: string;
|
|
15
16
|
reducedMotion: string;
|
|
17
|
+
allowMotion: string;
|
|
16
18
|
hover: string;
|
|
17
19
|
}, {
|
|
18
20
|
colors: {
|
|
@@ -119,63 +121,147 @@ export declare const ComboboxInput: import("@stitches/react/types/styled-compone
|
|
|
119
121
|
"3": any;
|
|
120
122
|
};
|
|
121
123
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
122
|
-
bg: (value:
|
|
123
|
-
|
|
124
|
+
bg: (value: {
|
|
125
|
+
readonly [$$PropertyValue]: "background";
|
|
126
|
+
}) => {
|
|
127
|
+
background: {
|
|
128
|
+
readonly [$$PropertyValue]: "background";
|
|
129
|
+
};
|
|
124
130
|
};
|
|
125
|
-
inset: (value: string | number |
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
131
|
+
inset: (value: string | number | {
|
|
132
|
+
readonly [$$ScaleValue]: "space";
|
|
133
|
+
}) => {
|
|
134
|
+
top: string | number | {
|
|
135
|
+
readonly [$$ScaleValue]: "space";
|
|
136
|
+
};
|
|
137
|
+
right: string | number | {
|
|
138
|
+
readonly [$$ScaleValue]: "space";
|
|
139
|
+
};
|
|
140
|
+
bottom: string | number | {
|
|
141
|
+
readonly [$$ScaleValue]: "space";
|
|
142
|
+
};
|
|
143
|
+
left: string | number | {
|
|
144
|
+
readonly [$$ScaleValue]: "space";
|
|
145
|
+
};
|
|
130
146
|
};
|
|
131
|
-
size: (value: string | number |
|
|
132
|
-
|
|
133
|
-
|
|
147
|
+
size: (value: string | number | {
|
|
148
|
+
readonly [$$ScaleValue]: "size";
|
|
149
|
+
}) => {
|
|
150
|
+
height: string | number | {
|
|
151
|
+
readonly [$$ScaleValue]: "size";
|
|
152
|
+
};
|
|
153
|
+
width: string | number | {
|
|
154
|
+
readonly [$$ScaleValue]: "size";
|
|
155
|
+
};
|
|
134
156
|
};
|
|
135
|
-
p: (value: string | number |
|
|
136
|
-
|
|
157
|
+
p: (value: string | number | {
|
|
158
|
+
readonly [$$ScaleValue]: "space";
|
|
159
|
+
}) => {
|
|
160
|
+
padding: string | number | {
|
|
161
|
+
readonly [$$ScaleValue]: "space";
|
|
162
|
+
};
|
|
137
163
|
};
|
|
138
|
-
pt: (value: string | number |
|
|
139
|
-
|
|
164
|
+
pt: (value: string | number | {
|
|
165
|
+
readonly [$$ScaleValue]: "space";
|
|
166
|
+
}) => {
|
|
167
|
+
paddingTop: string | number | {
|
|
168
|
+
readonly [$$ScaleValue]: "space";
|
|
169
|
+
};
|
|
140
170
|
};
|
|
141
|
-
pr: (value: string | number |
|
|
142
|
-
|
|
171
|
+
pr: (value: string | number | {
|
|
172
|
+
readonly [$$ScaleValue]: "space";
|
|
173
|
+
}) => {
|
|
174
|
+
paddingRight: string | number | {
|
|
175
|
+
readonly [$$ScaleValue]: "space";
|
|
176
|
+
};
|
|
143
177
|
};
|
|
144
|
-
pb: (value: string | number |
|
|
145
|
-
|
|
178
|
+
pb: (value: string | number | {
|
|
179
|
+
readonly [$$ScaleValue]: "space";
|
|
180
|
+
}) => {
|
|
181
|
+
paddingBottom: string | number | {
|
|
182
|
+
readonly [$$ScaleValue]: "space";
|
|
183
|
+
};
|
|
146
184
|
};
|
|
147
|
-
pl: (value: string | number |
|
|
148
|
-
|
|
185
|
+
pl: (value: string | number | {
|
|
186
|
+
readonly [$$ScaleValue]: "space";
|
|
187
|
+
}) => {
|
|
188
|
+
paddingLeft: string | number | {
|
|
189
|
+
readonly [$$ScaleValue]: "space";
|
|
190
|
+
};
|
|
149
191
|
};
|
|
150
|
-
px: (value: string | number |
|
|
151
|
-
|
|
152
|
-
|
|
192
|
+
px: (value: string | number | {
|
|
193
|
+
readonly [$$ScaleValue]: "space";
|
|
194
|
+
}) => {
|
|
195
|
+
paddingLeft: string | number | {
|
|
196
|
+
readonly [$$ScaleValue]: "space";
|
|
197
|
+
};
|
|
198
|
+
paddingRight: string | number | {
|
|
199
|
+
readonly [$$ScaleValue]: "space";
|
|
200
|
+
};
|
|
153
201
|
};
|
|
154
|
-
py: (value: string | number |
|
|
155
|
-
|
|
156
|
-
|
|
202
|
+
py: (value: string | number | {
|
|
203
|
+
readonly [$$ScaleValue]: "space";
|
|
204
|
+
}) => {
|
|
205
|
+
paddingTop: string | number | {
|
|
206
|
+
readonly [$$ScaleValue]: "space";
|
|
207
|
+
};
|
|
208
|
+
paddingBottom: string | number | {
|
|
209
|
+
readonly [$$ScaleValue]: "space";
|
|
210
|
+
};
|
|
157
211
|
};
|
|
158
|
-
m: (value: string | number |
|
|
159
|
-
|
|
212
|
+
m: (value: string | number | {
|
|
213
|
+
readonly [$$ScaleValue]: "space";
|
|
214
|
+
}) => {
|
|
215
|
+
margin: string | number | {
|
|
216
|
+
readonly [$$ScaleValue]: "space";
|
|
217
|
+
};
|
|
160
218
|
};
|
|
161
|
-
mt: (value: string | number |
|
|
162
|
-
|
|
219
|
+
mt: (value: string | number | {
|
|
220
|
+
readonly [$$ScaleValue]: "space";
|
|
221
|
+
}) => {
|
|
222
|
+
marginTop: string | number | {
|
|
223
|
+
readonly [$$ScaleValue]: "space";
|
|
224
|
+
};
|
|
163
225
|
};
|
|
164
|
-
mr: (value: string | number |
|
|
165
|
-
|
|
226
|
+
mr: (value: string | number | {
|
|
227
|
+
readonly [$$ScaleValue]: "space";
|
|
228
|
+
}) => {
|
|
229
|
+
marginRight: string | number | {
|
|
230
|
+
readonly [$$ScaleValue]: "space";
|
|
231
|
+
};
|
|
166
232
|
};
|
|
167
|
-
mb: (value: string | number |
|
|
168
|
-
|
|
233
|
+
mb: (value: string | number | {
|
|
234
|
+
readonly [$$ScaleValue]: "space";
|
|
235
|
+
}) => {
|
|
236
|
+
marginBottom: string | number | {
|
|
237
|
+
readonly [$$ScaleValue]: "space";
|
|
238
|
+
};
|
|
169
239
|
};
|
|
170
|
-
ml: (value: string | number |
|
|
171
|
-
|
|
240
|
+
ml: (value: string | number | {
|
|
241
|
+
readonly [$$ScaleValue]: "space";
|
|
242
|
+
}) => {
|
|
243
|
+
marginLeft: string | number | {
|
|
244
|
+
readonly [$$ScaleValue]: "space";
|
|
245
|
+
};
|
|
172
246
|
};
|
|
173
|
-
mx: (value: string | number |
|
|
174
|
-
|
|
175
|
-
|
|
247
|
+
mx: (value: string | number | {
|
|
248
|
+
readonly [$$ScaleValue]: "space";
|
|
249
|
+
}) => {
|
|
250
|
+
marginLeft: string | number | {
|
|
251
|
+
readonly [$$ScaleValue]: "space";
|
|
252
|
+
};
|
|
253
|
+
marginRight: string | number | {
|
|
254
|
+
readonly [$$ScaleValue]: "space";
|
|
255
|
+
};
|
|
176
256
|
};
|
|
177
|
-
my: (value: string | number |
|
|
178
|
-
|
|
179
|
-
|
|
257
|
+
my: (value: string | number | {
|
|
258
|
+
readonly [$$ScaleValue]: "space";
|
|
259
|
+
}) => {
|
|
260
|
+
marginTop: string | number | {
|
|
261
|
+
readonly [$$ScaleValue]: "space";
|
|
262
|
+
};
|
|
263
|
+
marginBottom: string | number | {
|
|
264
|
+
readonly [$$ScaleValue]: "space";
|
|
265
|
+
};
|
|
180
266
|
};
|
|
181
267
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ComboboxInput as o}from"@reach/combobox";import{styled as r,theme as e}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import{encodeBackgroundIcon as t}from"../../utilities/style/encode-background-icon.js";const a=r(o,{boxShadow:"none",fontSize:"$md",appearance:"none",backgroundImage:t(e.colors.tonal300.value,"chevron"),backgroundPosition:"right $space$3 top 50%, 0 0",backgroundRepeat:"no-repeat, repeat",backgroundSize:"20px auto, 100%",border:"1px solid $tonal300",borderRadius:"$0",boxSizing:"border-box",color:"$tonal600",cursor:"text",display:"block",fontFamily:"$body",height:"$4",pl:"$3",pr:"$6",transition:"all 100ms ease-out",width:"100%","&::placeholder":{color:"$tonal300",opacity:1},"&:focus-within":{borderColor:"$primary",outline:"none"},"&[disabled]":{backgroundColor:"$tonal100",color:"$tonal400",cursor:"not-allowed"},variants:{state:{error:{border:"1px solid $danger"}}}});export{a as ComboboxInput};
|
|
1
|
+
import{ComboboxInput as o}from"@reach/combobox";import{styled as r,theme as e}from"../../stitches.js";import"../../utilities/css-wrapper/CSSWrapper.js";import{encodeBackgroundIcon as t}from"../../utilities/style/encode-background-icon.js";import"../../utilities/style/keyframe-animations.js";const a=r(o,{boxShadow:"none",fontSize:"$md",appearance:"none",backgroundImage:t(e.colors.tonal300.value,"chevron"),backgroundPosition:"right $space$3 top 50%, 0 0",backgroundRepeat:"no-repeat, repeat",backgroundSize:"20px auto, 100%",border:"1px solid $tonal300",borderRadius:"$0",boxSizing:"border-box",color:"$tonal600",cursor:"text",display:"block",fontFamily:"$body",height:"$4",pl:"$3",pr:"$6",transition:"all 100ms ease-out",width:"100%","&::placeholder":{color:"$tonal300",opacity:1},"&:focus-within":{borderColor:"$primary",outline:"none"},"&[disabled]":{backgroundColor:"$tonal100",color:"$tonal400",cursor:"not-allowed"},variants:{state:{error:{border:"1px solid $danger"}}}});export{a as ComboboxInput};
|