@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
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
## [1.0.1](https://github.com/Atom-Learning/components/compare/v1.0.0...v1.0.1) (2021-11-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove cursor pointer from disabled tab ([34c283f](https://github.com/Atom-Learning/components/commit/34c283f70ce73d0ca2b2886e495bcece5475097c))
|
|
7
|
+
|
|
8
|
+
# 1.0.0 (2021-10-22)
|
|
9
|
+
|
|
10
|
+
- Initial release 🎉
|
|
11
|
+
|
|
12
|
+
# Changelog
|
|
13
|
+
|
|
14
|
+
All notable changes to this project will be documented in this file.
|
|
15
|
+
|
|
16
|
+
_NOTE: THIS FILE IS AUTOMATICALLY UPDATED_
|
|
@@ -13,6 +13,7 @@ declare const StyledButton: import("@stitches/react/types/styled-component").Sty
|
|
|
13
13
|
lg: string;
|
|
14
14
|
xl: string;
|
|
15
15
|
reducedMotion: string;
|
|
16
|
+
allowMotion: string;
|
|
16
17
|
hover: string;
|
|
17
18
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
18
19
|
sm: string;
|
|
@@ -20,6 +21,7 @@ declare const StyledButton: import("@stitches/react/types/styled-component").Sty
|
|
|
20
21
|
lg: string;
|
|
21
22
|
xl: string;
|
|
22
23
|
reducedMotion: string;
|
|
24
|
+
allowMotion: string;
|
|
23
25
|
hover: string;
|
|
24
26
|
}, {
|
|
25
27
|
colors: {
|
|
@@ -126,64 +128,148 @@ declare const StyledButton: import("@stitches/react/types/styled-component").Sty
|
|
|
126
128
|
"3": any;
|
|
127
129
|
};
|
|
128
130
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
129
|
-
bg: (value:
|
|
130
|
-
|
|
131
|
+
bg: (value: {
|
|
132
|
+
readonly [$$PropertyValue]: "background";
|
|
133
|
+
}) => {
|
|
134
|
+
background: {
|
|
135
|
+
readonly [$$PropertyValue]: "background";
|
|
136
|
+
};
|
|
131
137
|
};
|
|
132
|
-
inset: (value: string | number |
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
138
|
+
inset: (value: string | number | {
|
|
139
|
+
readonly [$$ScaleValue]: "space";
|
|
140
|
+
}) => {
|
|
141
|
+
top: string | number | {
|
|
142
|
+
readonly [$$ScaleValue]: "space";
|
|
143
|
+
};
|
|
144
|
+
right: string | number | {
|
|
145
|
+
readonly [$$ScaleValue]: "space";
|
|
146
|
+
};
|
|
147
|
+
bottom: string | number | {
|
|
148
|
+
readonly [$$ScaleValue]: "space";
|
|
149
|
+
};
|
|
150
|
+
left: string | number | {
|
|
151
|
+
readonly [$$ScaleValue]: "space";
|
|
152
|
+
};
|
|
137
153
|
};
|
|
138
|
-
size: (value: string | number |
|
|
139
|
-
|
|
140
|
-
|
|
154
|
+
size: (value: string | number | {
|
|
155
|
+
readonly [$$ScaleValue]: "size";
|
|
156
|
+
}) => {
|
|
157
|
+
height: string | number | {
|
|
158
|
+
readonly [$$ScaleValue]: "size";
|
|
159
|
+
};
|
|
160
|
+
width: string | number | {
|
|
161
|
+
readonly [$$ScaleValue]: "size";
|
|
162
|
+
};
|
|
141
163
|
};
|
|
142
|
-
p: (value: string | number |
|
|
143
|
-
|
|
164
|
+
p: (value: string | number | {
|
|
165
|
+
readonly [$$ScaleValue]: "space";
|
|
166
|
+
}) => {
|
|
167
|
+
padding: string | number | {
|
|
168
|
+
readonly [$$ScaleValue]: "space";
|
|
169
|
+
};
|
|
144
170
|
};
|
|
145
|
-
pt: (value: string | number |
|
|
146
|
-
|
|
171
|
+
pt: (value: string | number | {
|
|
172
|
+
readonly [$$ScaleValue]: "space";
|
|
173
|
+
}) => {
|
|
174
|
+
paddingTop: string | number | {
|
|
175
|
+
readonly [$$ScaleValue]: "space";
|
|
176
|
+
};
|
|
147
177
|
};
|
|
148
|
-
pr: (value: string | number |
|
|
149
|
-
|
|
178
|
+
pr: (value: string | number | {
|
|
179
|
+
readonly [$$ScaleValue]: "space";
|
|
180
|
+
}) => {
|
|
181
|
+
paddingRight: string | number | {
|
|
182
|
+
readonly [$$ScaleValue]: "space";
|
|
183
|
+
};
|
|
150
184
|
};
|
|
151
|
-
pb: (value: string | number |
|
|
152
|
-
|
|
185
|
+
pb: (value: string | number | {
|
|
186
|
+
readonly [$$ScaleValue]: "space";
|
|
187
|
+
}) => {
|
|
188
|
+
paddingBottom: string | number | {
|
|
189
|
+
readonly [$$ScaleValue]: "space";
|
|
190
|
+
};
|
|
153
191
|
};
|
|
154
|
-
pl: (value: string | number |
|
|
155
|
-
|
|
192
|
+
pl: (value: string | number | {
|
|
193
|
+
readonly [$$ScaleValue]: "space";
|
|
194
|
+
}) => {
|
|
195
|
+
paddingLeft: string | number | {
|
|
196
|
+
readonly [$$ScaleValue]: "space";
|
|
197
|
+
};
|
|
156
198
|
};
|
|
157
|
-
px: (value: string | number |
|
|
158
|
-
|
|
159
|
-
|
|
199
|
+
px: (value: string | number | {
|
|
200
|
+
readonly [$$ScaleValue]: "space";
|
|
201
|
+
}) => {
|
|
202
|
+
paddingLeft: string | number | {
|
|
203
|
+
readonly [$$ScaleValue]: "space";
|
|
204
|
+
};
|
|
205
|
+
paddingRight: string | number | {
|
|
206
|
+
readonly [$$ScaleValue]: "space";
|
|
207
|
+
};
|
|
160
208
|
};
|
|
161
|
-
py: (value: string | number |
|
|
162
|
-
|
|
163
|
-
|
|
209
|
+
py: (value: string | number | {
|
|
210
|
+
readonly [$$ScaleValue]: "space";
|
|
211
|
+
}) => {
|
|
212
|
+
paddingTop: string | number | {
|
|
213
|
+
readonly [$$ScaleValue]: "space";
|
|
214
|
+
};
|
|
215
|
+
paddingBottom: string | number | {
|
|
216
|
+
readonly [$$ScaleValue]: "space";
|
|
217
|
+
};
|
|
164
218
|
};
|
|
165
|
-
m: (value: string | number |
|
|
166
|
-
|
|
219
|
+
m: (value: string | number | {
|
|
220
|
+
readonly [$$ScaleValue]: "space";
|
|
221
|
+
}) => {
|
|
222
|
+
margin: string | number | {
|
|
223
|
+
readonly [$$ScaleValue]: "space";
|
|
224
|
+
};
|
|
167
225
|
};
|
|
168
|
-
mt: (value: string | number |
|
|
169
|
-
|
|
226
|
+
mt: (value: string | number | {
|
|
227
|
+
readonly [$$ScaleValue]: "space";
|
|
228
|
+
}) => {
|
|
229
|
+
marginTop: string | number | {
|
|
230
|
+
readonly [$$ScaleValue]: "space";
|
|
231
|
+
};
|
|
170
232
|
};
|
|
171
|
-
mr: (value: string | number |
|
|
172
|
-
|
|
233
|
+
mr: (value: string | number | {
|
|
234
|
+
readonly [$$ScaleValue]: "space";
|
|
235
|
+
}) => {
|
|
236
|
+
marginRight: string | number | {
|
|
237
|
+
readonly [$$ScaleValue]: "space";
|
|
238
|
+
};
|
|
173
239
|
};
|
|
174
|
-
mb: (value: string | number |
|
|
175
|
-
|
|
240
|
+
mb: (value: string | number | {
|
|
241
|
+
readonly [$$ScaleValue]: "space";
|
|
242
|
+
}) => {
|
|
243
|
+
marginBottom: string | number | {
|
|
244
|
+
readonly [$$ScaleValue]: "space";
|
|
245
|
+
};
|
|
176
246
|
};
|
|
177
|
-
ml: (value: string | number |
|
|
178
|
-
|
|
247
|
+
ml: (value: string | number | {
|
|
248
|
+
readonly [$$ScaleValue]: "space";
|
|
249
|
+
}) => {
|
|
250
|
+
marginLeft: string | number | {
|
|
251
|
+
readonly [$$ScaleValue]: "space";
|
|
252
|
+
};
|
|
179
253
|
};
|
|
180
|
-
mx: (value: string | number |
|
|
181
|
-
|
|
182
|
-
|
|
254
|
+
mx: (value: string | number | {
|
|
255
|
+
readonly [$$ScaleValue]: "space";
|
|
256
|
+
}) => {
|
|
257
|
+
marginLeft: string | number | {
|
|
258
|
+
readonly [$$ScaleValue]: "space";
|
|
259
|
+
};
|
|
260
|
+
marginRight: string | number | {
|
|
261
|
+
readonly [$$ScaleValue]: "space";
|
|
262
|
+
};
|
|
183
263
|
};
|
|
184
|
-
my: (value: string | number |
|
|
185
|
-
|
|
186
|
-
|
|
264
|
+
my: (value: string | number | {
|
|
265
|
+
readonly [$$ScaleValue]: "space";
|
|
266
|
+
}) => {
|
|
267
|
+
marginTop: string | number | {
|
|
268
|
+
readonly [$$ScaleValue]: "space";
|
|
269
|
+
};
|
|
270
|
+
marginBottom: string | number | {
|
|
271
|
+
readonly [$$ScaleValue]: "space";
|
|
272
|
+
};
|
|
187
273
|
};
|
|
188
274
|
}>>;
|
|
189
275
|
declare type ActionIconProps = Override<React.ComponentProps<typeof StyledButton>, Stitches.VariantProps<typeof StyledButton> & {
|
|
@@ -191,5 +277,5 @@ declare type ActionIconProps = Override<React.ComponentProps<typeof StyledButton
|
|
|
191
277
|
children: React.ReactNode;
|
|
192
278
|
label: string;
|
|
193
279
|
} & NavigatorActions>;
|
|
194
|
-
export declare const ActionIcon: React.ForwardRefExoticComponent<Pick<ActionIconProps, "appearance" | "color" | "translate" | "size" | "css" | "theme" | "onBlur" | "onSubmit" | "form" | "label" | "slot" | "style" | "title" | "hidden" | "key" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "
|
|
280
|
+
export declare const ActionIcon: React.ForwardRefExoticComponent<Pick<ActionIconProps, "appearance" | "color" | "translate" | "size" | "css" | "theme" | "onBlur" | "onSubmit" | "form" | "label" | "slot" | "style" | "title" | "hidden" | "key" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "as" | "type" | "isRounded" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | keyof NavigatorActions> & React.RefAttributes<HTMLButtonElement>>;
|
|
195
281
|
export {};
|
|
@@ -7,6 +7,7 @@ declare const StyledAlertDialog: import("@stitches/react/types/styled-component"
|
|
|
7
7
|
lg: string;
|
|
8
8
|
xl: string;
|
|
9
9
|
reducedMotion: string;
|
|
10
|
+
allowMotion: string;
|
|
10
11
|
hover: string;
|
|
11
12
|
}, import("@stitches/react/types/css-util").CSS<{
|
|
12
13
|
sm: string;
|
|
@@ -14,6 +15,7 @@ declare const StyledAlertDialog: import("@stitches/react/types/styled-component"
|
|
|
14
15
|
lg: string;
|
|
15
16
|
xl: string;
|
|
16
17
|
reducedMotion: string;
|
|
18
|
+
allowMotion: string;
|
|
17
19
|
hover: string;
|
|
18
20
|
}, {
|
|
19
21
|
colors: {
|
|
@@ -120,64 +122,148 @@ declare const StyledAlertDialog: import("@stitches/react/types/styled-component"
|
|
|
120
122
|
"3": any;
|
|
121
123
|
};
|
|
122
124
|
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
123
|
-
bg: (value:
|
|
124
|
-
|
|
125
|
+
bg: (value: {
|
|
126
|
+
readonly [$$PropertyValue]: "background";
|
|
127
|
+
}) => {
|
|
128
|
+
background: {
|
|
129
|
+
readonly [$$PropertyValue]: "background";
|
|
130
|
+
};
|
|
125
131
|
};
|
|
126
|
-
inset: (value: string | number |
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
132
|
+
inset: (value: string | number | {
|
|
133
|
+
readonly [$$ScaleValue]: "space";
|
|
134
|
+
}) => {
|
|
135
|
+
top: string | number | {
|
|
136
|
+
readonly [$$ScaleValue]: "space";
|
|
137
|
+
};
|
|
138
|
+
right: string | number | {
|
|
139
|
+
readonly [$$ScaleValue]: "space";
|
|
140
|
+
};
|
|
141
|
+
bottom: string | number | {
|
|
142
|
+
readonly [$$ScaleValue]: "space";
|
|
143
|
+
};
|
|
144
|
+
left: string | number | {
|
|
145
|
+
readonly [$$ScaleValue]: "space";
|
|
146
|
+
};
|
|
131
147
|
};
|
|
132
|
-
size: (value: string | number |
|
|
133
|
-
|
|
134
|
-
|
|
148
|
+
size: (value: string | number | {
|
|
149
|
+
readonly [$$ScaleValue]: "size";
|
|
150
|
+
}) => {
|
|
151
|
+
height: string | number | {
|
|
152
|
+
readonly [$$ScaleValue]: "size";
|
|
153
|
+
};
|
|
154
|
+
width: string | number | {
|
|
155
|
+
readonly [$$ScaleValue]: "size";
|
|
156
|
+
};
|
|
135
157
|
};
|
|
136
|
-
p: (value: string | number |
|
|
137
|
-
|
|
158
|
+
p: (value: string | number | {
|
|
159
|
+
readonly [$$ScaleValue]: "space";
|
|
160
|
+
}) => {
|
|
161
|
+
padding: string | number | {
|
|
162
|
+
readonly [$$ScaleValue]: "space";
|
|
163
|
+
};
|
|
138
164
|
};
|
|
139
|
-
pt: (value: string | number |
|
|
140
|
-
|
|
165
|
+
pt: (value: string | number | {
|
|
166
|
+
readonly [$$ScaleValue]: "space";
|
|
167
|
+
}) => {
|
|
168
|
+
paddingTop: string | number | {
|
|
169
|
+
readonly [$$ScaleValue]: "space";
|
|
170
|
+
};
|
|
141
171
|
};
|
|
142
|
-
pr: (value: string | number |
|
|
143
|
-
|
|
172
|
+
pr: (value: string | number | {
|
|
173
|
+
readonly [$$ScaleValue]: "space";
|
|
174
|
+
}) => {
|
|
175
|
+
paddingRight: string | number | {
|
|
176
|
+
readonly [$$ScaleValue]: "space";
|
|
177
|
+
};
|
|
144
178
|
};
|
|
145
|
-
pb: (value: string | number |
|
|
146
|
-
|
|
179
|
+
pb: (value: string | number | {
|
|
180
|
+
readonly [$$ScaleValue]: "space";
|
|
181
|
+
}) => {
|
|
182
|
+
paddingBottom: string | number | {
|
|
183
|
+
readonly [$$ScaleValue]: "space";
|
|
184
|
+
};
|
|
147
185
|
};
|
|
148
|
-
pl: (value: string | number |
|
|
149
|
-
|
|
186
|
+
pl: (value: string | number | {
|
|
187
|
+
readonly [$$ScaleValue]: "space";
|
|
188
|
+
}) => {
|
|
189
|
+
paddingLeft: string | number | {
|
|
190
|
+
readonly [$$ScaleValue]: "space";
|
|
191
|
+
};
|
|
150
192
|
};
|
|
151
|
-
px: (value: string | number |
|
|
152
|
-
|
|
153
|
-
|
|
193
|
+
px: (value: string | number | {
|
|
194
|
+
readonly [$$ScaleValue]: "space";
|
|
195
|
+
}) => {
|
|
196
|
+
paddingLeft: string | number | {
|
|
197
|
+
readonly [$$ScaleValue]: "space";
|
|
198
|
+
};
|
|
199
|
+
paddingRight: string | number | {
|
|
200
|
+
readonly [$$ScaleValue]: "space";
|
|
201
|
+
};
|
|
154
202
|
};
|
|
155
|
-
py: (value: string | number |
|
|
156
|
-
|
|
157
|
-
|
|
203
|
+
py: (value: string | number | {
|
|
204
|
+
readonly [$$ScaleValue]: "space";
|
|
205
|
+
}) => {
|
|
206
|
+
paddingTop: string | number | {
|
|
207
|
+
readonly [$$ScaleValue]: "space";
|
|
208
|
+
};
|
|
209
|
+
paddingBottom: string | number | {
|
|
210
|
+
readonly [$$ScaleValue]: "space";
|
|
211
|
+
};
|
|
158
212
|
};
|
|
159
|
-
m: (value: string | number |
|
|
160
|
-
|
|
213
|
+
m: (value: string | number | {
|
|
214
|
+
readonly [$$ScaleValue]: "space";
|
|
215
|
+
}) => {
|
|
216
|
+
margin: string | number | {
|
|
217
|
+
readonly [$$ScaleValue]: "space";
|
|
218
|
+
};
|
|
161
219
|
};
|
|
162
|
-
mt: (value: string | number |
|
|
163
|
-
|
|
220
|
+
mt: (value: string | number | {
|
|
221
|
+
readonly [$$ScaleValue]: "space";
|
|
222
|
+
}) => {
|
|
223
|
+
marginTop: string | number | {
|
|
224
|
+
readonly [$$ScaleValue]: "space";
|
|
225
|
+
};
|
|
164
226
|
};
|
|
165
|
-
mr: (value: string | number |
|
|
166
|
-
|
|
227
|
+
mr: (value: string | number | {
|
|
228
|
+
readonly [$$ScaleValue]: "space";
|
|
229
|
+
}) => {
|
|
230
|
+
marginRight: string | number | {
|
|
231
|
+
readonly [$$ScaleValue]: "space";
|
|
232
|
+
};
|
|
167
233
|
};
|
|
168
|
-
mb: (value: string | number |
|
|
169
|
-
|
|
234
|
+
mb: (value: string | number | {
|
|
235
|
+
readonly [$$ScaleValue]: "space";
|
|
236
|
+
}) => {
|
|
237
|
+
marginBottom: string | number | {
|
|
238
|
+
readonly [$$ScaleValue]: "space";
|
|
239
|
+
};
|
|
170
240
|
};
|
|
171
|
-
ml: (value: string | number |
|
|
172
|
-
|
|
241
|
+
ml: (value: string | number | {
|
|
242
|
+
readonly [$$ScaleValue]: "space";
|
|
243
|
+
}) => {
|
|
244
|
+
marginLeft: string | number | {
|
|
245
|
+
readonly [$$ScaleValue]: "space";
|
|
246
|
+
};
|
|
173
247
|
};
|
|
174
|
-
mx: (value: string | number |
|
|
175
|
-
|
|
176
|
-
|
|
248
|
+
mx: (value: string | number | {
|
|
249
|
+
readonly [$$ScaleValue]: "space";
|
|
250
|
+
}) => {
|
|
251
|
+
marginLeft: string | number | {
|
|
252
|
+
readonly [$$ScaleValue]: "space";
|
|
253
|
+
};
|
|
254
|
+
marginRight: string | number | {
|
|
255
|
+
readonly [$$ScaleValue]: "space";
|
|
256
|
+
};
|
|
177
257
|
};
|
|
178
|
-
my: (value: string | number |
|
|
179
|
-
|
|
180
|
-
|
|
258
|
+
my: (value: string | number | {
|
|
259
|
+
readonly [$$ScaleValue]: "space";
|
|
260
|
+
}) => {
|
|
261
|
+
marginTop: string | number | {
|
|
262
|
+
readonly [$$ScaleValue]: "space";
|
|
263
|
+
};
|
|
264
|
+
marginBottom: string | number | {
|
|
265
|
+
readonly [$$ScaleValue]: "space";
|
|
266
|
+
};
|
|
181
267
|
};
|
|
182
268
|
}>>;
|
|
183
269
|
declare type AlertDialogProps = React.ComponentProps<typeof StyledAlertDialog>;
|