@codecademy/gamut 68.1.3-alpha.76714f.0 → 68.1.3-alpha.77bf63.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/AccordionButtonDeprecated/ButtonDeprecated/index.d.ts +2 -2
- package/dist/AccordionButtonDeprecated/ButtonDeprecated/index.js +1 -1
- package/dist/Alert/Alert.d.ts +0 -1
- package/dist/Alert/elements.d.ts +29 -10
- package/dist/Alert/variants.d.ts +1 -2
- package/dist/Anchor/index.d.ts +35 -14
- package/dist/Anchor/index.js +3 -6
- package/dist/Animation/ExpandInCollapseOut.d.ts +0 -1
- package/dist/AppWrapper/index.d.ts +12 -5
- package/dist/AppWrapper/index.js +6 -8
- package/dist/Badge/index.d.ts +2 -3
- package/dist/Box/Box.d.ts +3 -4
- package/dist/Box/FlexBox.d.ts +3 -4
- package/dist/Box/GridBox.d.ts +3 -4
- package/dist/Box/props.d.ts +3 -3
- package/dist/Breadcrumbs/index.d.ts +5 -5
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/Button/CTAButton.d.ts +15 -7
- package/dist/Button/CTAButton.js +1 -5
- package/dist/Button/FillButton.d.ts +36 -9
- package/dist/Button/FillButton.js +2 -6
- package/dist/Button/IconButton.d.ts +43 -9
- package/dist/Button/IconButton.js +2 -6
- package/dist/Button/StrokeButton.d.ts +36 -9
- package/dist/Button/StrokeButton.js +2 -6
- package/dist/Button/TextButton.d.ts +36 -9
- package/dist/Button/TextButton.js +2 -6
- package/dist/Button/shared/InlineIconButton.d.ts +29 -10
- package/dist/Button/shared/InlineIconButton.js +1 -2
- package/dist/Button/shared/styles.d.ts +16 -13
- package/dist/Button/shared/types.d.ts +2 -4
- package/dist/Button/shared/variants.d.ts +6 -6
- package/dist/ButtonBase/ButtonBase.d.ts +12 -11
- package/dist/ButtonBase/ButtonBase.js +4 -8
- package/dist/Card/elements.d.ts +43 -87
- package/dist/Card/styles.d.ts +2 -2
- package/dist/ConnectedForm/ConnectedForm.d.ts +1 -1
- package/dist/ConnectedForm/ConnectedFormGroup.js +4 -3
- package/dist/ConnectedForm/ConnectedInputs/ConnectedNestedCheckboxes/utils.d.ts +0 -1
- package/dist/ConnectedForm/utils.d.ts +9 -3
- package/dist/ConnectedForm/utils.js +1 -1
- package/dist/ContentContainer/index.d.ts +6 -7
- package/dist/ContentContainer/index.js +3 -7
- package/dist/DataList/Tables/Rows/elements.d.ts +2 -3
- package/dist/DataList/hooks/useListControls.d.ts +1 -2
- package/dist/DataList/hooks/useListState.d.ts +0 -1
- package/dist/Disclosure/elements.d.ts +104 -26
- package/dist/Disclosure/helpers.d.ts +4 -4
- package/dist/Disclosure/types.d.ts +0 -1
- package/dist/Drawer/index.d.ts +0 -1
- package/dist/FeatureShimmer/index.d.ts +0 -1
- package/dist/Form/SelectDropdown/SelectDropdown.js +1 -1
- package/dist/Form/SelectDropdown/elements/constants.d.ts +0 -1
- package/dist/Form/SelectDropdown/elements/containers.d.ts +0 -1
- package/dist/Form/SelectDropdown/elements/containers.js +1 -1
- package/dist/Form/SelectDropdown/elements/controls.js +1 -1
- package/dist/Form/SelectDropdown/elements/multi-value.js +1 -1
- package/dist/Form/SelectDropdown/styles.d.ts +1 -1
- package/dist/Form/SelectDropdown/utils.d.ts +2 -2
- package/dist/Form/SelectDropdown/utils.js +2 -1
- package/dist/Form/__fixtures__/utils.d.ts +0 -1
- package/dist/Form/elements/Form.d.ts +4 -4
- package/dist/Form/elements/FormError.d.ts +1 -1
- package/dist/Form/elements/FormGroup.d.ts +5 -5
- package/dist/Form/elements/FormGroupDescription.d.ts +3 -4
- package/dist/Form/elements/FormGroupLabel.d.ts +2 -2
- package/dist/Form/inputs/Checkbox.d.ts +1 -2
- package/dist/Form/inputs/Checkbox.js +9 -10
- package/dist/Form/inputs/Input.d.ts +4 -8
- package/dist/Form/inputs/Radio.d.ts +8 -8
- package/dist/Form/inputs/Select.d.ts +5 -2
- package/dist/Form/inputs/Select.js +5 -6
- package/dist/Form/inputs/TextArea.d.ts +4 -2
- package/dist/Form/inputs/TextArea.js +3 -4
- package/dist/Form/styles/Checkbox-styles.d.ts +8 -16
- package/dist/Form/styles/Radio-styles.d.ts +4 -8
- package/dist/Form/styles/shared-system-props.d.ts +7 -12
- package/dist/GridForm/GridFormButtons/index.d.ts +34 -2
- package/dist/GridForm/GridFormInputGroup/__fixtures__/assertions.d.ts +2 -2
- package/dist/GridForm/GridFormSections/GridFormSectionBreak.d.ts +2 -2
- package/dist/HiddenText/index.d.ts +4 -5
- package/dist/HiddenText/index.js +7 -11
- package/dist/InternalFloatingCard/InternalFloatingCard.d.ts +4 -4
- package/dist/Layout/Column.d.ts +6 -4
- package/dist/Layout/Column.js +3 -4
- package/dist/Layout/LayoutGrid.d.ts +5 -3
- package/dist/Layout/LayoutGrid.js +3 -4
- package/dist/List/Header/ListHeaderCol.d.ts +1 -2
- package/dist/List/Header/ListHeaderCol.js +2 -3
- package/dist/List/ListCol.d.ts +1 -2
- package/dist/List/ListCol.js +2 -3
- package/dist/List/ListProvider.d.ts +0 -1
- package/dist/List/TableHeader.d.ts +1 -2
- package/dist/List/TableHeader.js +2 -3
- package/dist/List/elements.d.ts +46 -64
- package/dist/List/hooks.d.ts +1 -2
- package/dist/Menu/Menu.d.ts +4 -7
- package/dist/Menu/Menu.js +2 -5
- package/dist/Menu/MenuContext.d.ts +0 -1
- package/dist/Menu/MenuItem.d.ts +1 -3
- package/dist/Menu/MenuItem.js +2 -3
- package/dist/Menu/elements.d.ts +15 -15
- package/dist/Modals/Dialog.js +2 -1
- package/dist/Modals/Modal.js +2 -1
- package/dist/Modals/elements.d.ts +3 -4
- package/dist/Pagination/AnimatedPaginationButtons.d.ts +160 -177
- package/dist/Pagination/EllipsisButton.d.ts +38 -8
- package/dist/Pagination/EllipsisButton.js +1 -4
- package/dist/Pagination/PaginationButton.d.ts +57 -18
- package/dist/Pagination/PaginationButton.js +2 -6
- package/dist/Pagination/styles.d.ts +4 -4
- package/dist/Pagination/utils.d.ts +162 -177
- package/dist/Popover/Popover.d.ts +0 -1
- package/dist/Popover/elements.d.ts +18 -19
- package/dist/Popover/styles/base.d.ts +2 -2
- package/dist/Popover/styles/beak.d.ts +1 -1
- package/dist/Popover/styles/variants.d.ts +6 -6
- package/dist/Popover/utils.d.ts +1 -1
- package/dist/PopoverContainer/hooks.d.ts +0 -1
- package/dist/PopoverContainer/hooks.js +2 -1
- package/dist/PopoverContainer/utils.d.ts +1 -1
- package/dist/SkipToContent/index.d.ts +2 -2
- package/dist/Tabs/TabButton.d.ts +15 -5
- package/dist/Tabs/TabButton.js +3 -4
- package/dist/Tabs/TabNav.d.ts +5 -4
- package/dist/Tabs/TabNav.js +3 -4
- package/dist/Tabs/TabNavLink.d.ts +17 -7
- package/dist/Tabs/TabNavLink.js +1 -4
- package/dist/Tabs/TabPanels.d.ts +5 -4
- package/dist/Tabs/TabPanels.js +3 -4
- package/dist/Tabs/TabProvider.d.ts +0 -1
- package/dist/Tabs/styles.d.ts +2 -2
- package/dist/Tag/elements.d.ts +73 -21
- package/dist/Tag/index.js +1 -1
- package/dist/Tag/styles.d.ts +12 -22
- package/dist/Tip/InfoTip/InfoTipButton.d.ts +39 -9
- package/dist/Tip/InfoTip/InfoTipButton.js +2 -6
- package/dist/Tip/InfoTip/index.d.ts +0 -1
- package/dist/Tip/InfoTip/styles.d.ts +9 -12
- package/dist/Tip/PreviewTip/elements.d.ts +32 -8
- package/dist/Tip/PreviewTip/utils.d.ts +1 -1
- package/dist/Tip/ToolTip/elements.d.ts +4 -5
- package/dist/Tip/ToolTip/index.d.ts +0 -1
- package/dist/Tip/__tests__/helpers.d.ts +6 -6
- package/dist/Tip/shared/InlineTip.d.ts +0 -1
- package/dist/Tip/shared/elements.d.ts +22 -23
- package/dist/Tip/shared/styles/composeVariantsUtils.d.ts +2 -2
- package/dist/Tip/shared/styles/styles.d.ts +4 -4
- package/dist/Tip/shared/utils.d.ts +0 -1
- package/dist/Tip/shared/utils.js +1 -1
- package/dist/Toggle/elements.d.ts +12 -13
- package/dist/Toggle/utils.d.ts +1 -1
- package/dist/Typography/Text.d.ts +11 -8
- package/dist/Typography/Text.js +3 -6
- package/dist/Video/lib/ReactPlayer.d.ts +2 -3
- package/dist/Video/lib/VideoLayout.d.ts +0 -1
- package/dist/utils/nullish.d.ts +10 -0
- package/dist/utils/nullish.js +11 -0
- package/dist/utils/react.js +2 -1
- package/dist/utils/types.d.ts +0 -1
- package/package.json +8 -8
|
@@ -8,12 +8,11 @@ type PaginationUtils = {
|
|
|
8
8
|
totalPages: number;
|
|
9
9
|
};
|
|
10
10
|
export declare const shouldPagesChange: ({ chapterSize, currentPage, shownPageArray, totalPages, }: PaginationUtils) => boolean;
|
|
11
|
-
export declare const getBackPageNumber: ({ shownPageArray, chapterSize, }: Omit<PaginationUtils,
|
|
12
|
-
export declare const getForwardPageNumber: ({ chapterSize, totalPages, shownPageArray, }: Omit<PaginationUtils,
|
|
13
|
-
export declare const getMinWidth: ({ chapterSize, }: Pick<PaginationUtils,
|
|
11
|
+
export declare const getBackPageNumber: ({ shownPageArray, chapterSize, }: Omit<PaginationUtils, "totalPages" | "currentPage">) => number;
|
|
12
|
+
export declare const getForwardPageNumber: ({ chapterSize, totalPages, shownPageArray, }: Omit<PaginationUtils, "currentPage">) => number;
|
|
13
|
+
export declare const getMinWidth: ({ chapterSize, }: Pick<PaginationUtils, "chapterSize">) => string;
|
|
14
14
|
export declare const wrapWithSlideAnimation: (WrappedComponent: typeof BaseEllipsisButton | typeof PaginationButton) => (props: React.ComponentProps<typeof BaseEllipsisButton>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export declare const createAnimatedFadeButton: (WrappedComponent: typeof PaginationButton) => (props: Omit<{
|
|
16
|
-
color?: string | undefined;
|
|
15
|
+
export declare const createAnimatedFadeButton: (WrappedComponent: typeof PaginationButton) => (props: React.ComponentProps<React.ComponentType<Omit<{
|
|
17
16
|
mode?: "light" | "dark" | undefined;
|
|
18
17
|
border?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
19
18
|
readonly property: "border";
|
|
@@ -48,7 +47,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
48
47
|
readonly transform: (value: string | number) => string | 0;
|
|
49
48
|
}>;
|
|
50
49
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
51
|
-
ref?: React.
|
|
50
|
+
ref?: React.LegacyRef<import("..").ButtonBaseElements> | undefined;
|
|
52
51
|
key?: React.Key | null | undefined;
|
|
53
52
|
defaultChecked?: boolean | undefined;
|
|
54
53
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -91,10 +90,6 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
91
90
|
results?: number | undefined;
|
|
92
91
|
security?: string | undefined;
|
|
93
92
|
unselectable?: "off" | "on" | undefined;
|
|
94
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
95
|
-
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
96
|
-
popoverTarget?: string | undefined;
|
|
97
|
-
inert?: boolean | undefined;
|
|
98
93
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
99
94
|
is?: string | undefined;
|
|
100
95
|
exportparts?: string | undefined;
|
|
@@ -154,170 +149,160 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
154
149
|
dangerouslySetInnerHTML?: {
|
|
155
150
|
__html: string | TrustedHTML;
|
|
156
151
|
} | undefined;
|
|
157
|
-
onCopy?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
158
|
-
onCopyCapture?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
159
|
-
onCut?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
160
|
-
onCutCapture?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
161
|
-
onPaste?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
162
|
-
onPasteCapture?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
163
|
-
onCompositionEnd?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
164
|
-
onCompositionEndCapture?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
165
|
-
onCompositionStart?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
166
|
-
onCompositionStartCapture?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
167
|
-
onCompositionUpdate?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
168
|
-
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
169
|
-
onFocus?: React.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
170
|
-
onFocusCapture?: React.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
171
|
-
onBlur?: React.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
172
|
-
onBlurCapture?: React.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
173
|
-
onChange?: React.
|
|
174
|
-
onChangeCapture?: React.
|
|
175
|
-
onBeforeInput?: React.InputEventHandler<HTMLButtonElement> | undefined;
|
|
176
|
-
onBeforeInputCapture?: React.
|
|
177
|
-
onInput?: React.
|
|
178
|
-
onInputCapture?: React.
|
|
179
|
-
onReset?: React.
|
|
180
|
-
onResetCapture?: React.
|
|
181
|
-
onSubmit?: React.
|
|
182
|
-
onSubmitCapture?: React.
|
|
183
|
-
onInvalid?: React.
|
|
184
|
-
onInvalidCapture?: React.
|
|
185
|
-
onLoad?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
186
|
-
onLoadCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
187
|
-
onError?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
188
|
-
onErrorCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
189
|
-
onKeyDown?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
190
|
-
onKeyDownCapture?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
191
|
-
onKeyPress?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
192
|
-
onKeyPressCapture?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
193
|
-
onKeyUp?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
194
|
-
onKeyUpCapture?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
195
|
-
onAbort?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
196
|
-
onAbortCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
197
|
-
onCanPlay?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
198
|
-
onCanPlayCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
199
|
-
onCanPlayThrough?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
200
|
-
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
201
|
-
onDurationChange?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
202
|
-
onDurationChangeCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
203
|
-
onEmptied?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
204
|
-
onEmptiedCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
205
|
-
onEncrypted?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
206
|
-
onEncryptedCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
207
|
-
onEnded?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
208
|
-
onEndedCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
209
|
-
onLoadedData?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
210
|
-
onLoadedDataCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
211
|
-
onLoadedMetadata?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
212
|
-
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
213
|
-
onLoadStart?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
214
|
-
onLoadStartCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
215
|
-
onPause?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
216
|
-
onPauseCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
217
|
-
onPlay?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
218
|
-
onPlayCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
219
|
-
onPlaying?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
220
|
-
onPlayingCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
221
|
-
onProgress?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
222
|
-
onProgressCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
223
|
-
onRateChange?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
224
|
-
onRateChangeCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
225
|
-
onSeeked?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
226
|
-
onSeekedCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
227
|
-
onSeeking?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
228
|
-
onSeekingCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
229
|
-
onStalled?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
230
|
-
onStalledCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
231
|
-
onSuspend?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
232
|
-
onSuspendCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
233
|
-
onTimeUpdate?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
234
|
-
onTimeUpdateCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
235
|
-
onVolumeChange?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
236
|
-
onVolumeChangeCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
237
|
-
onWaiting?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
238
|
-
onWaitingCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
239
|
-
onAuxClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
240
|
-
onAuxClickCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
241
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
242
|
-
onClickCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
243
|
-
onContextMenu?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
244
|
-
onContextMenuCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
245
|
-
onDoubleClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
246
|
-
onDoubleClickCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
247
|
-
onDragCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
248
|
-
onDragEndCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
249
|
-
onDragEnter?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
250
|
-
onDragEnterCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
251
|
-
onDragExit?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
252
|
-
onDragExitCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
253
|
-
onDragLeave?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
254
|
-
onDragLeaveCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
255
|
-
onDragOver?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
256
|
-
onDragOverCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
257
|
-
onDragStartCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
258
|
-
onDrop?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
259
|
-
onDropCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
260
|
-
onMouseDown?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
261
|
-
onMouseDownCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
262
|
-
onMouseEnter?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
263
|
-
onMouseLeave?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
264
|
-
onMouseMove?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
265
|
-
onMouseMoveCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
266
|
-
onMouseOut?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
267
|
-
onMouseOutCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
268
|
-
onMouseOver?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
269
|
-
onMouseOverCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
270
|
-
onMouseUp?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
271
|
-
onMouseUpCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
272
|
-
onSelect?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
273
|
-
onSelectCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
274
|
-
onTouchCancel?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
275
|
-
onTouchCancelCapture?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
276
|
-
onTouchEnd?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
277
|
-
onTouchEndCapture?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
278
|
-
onTouchMove?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
279
|
-
onTouchMoveCapture?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
280
|
-
onTouchStart?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
281
|
-
onTouchStartCapture?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
282
|
-
onPointerDown?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
283
|
-
onPointerDownCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
284
|
-
onPointerMove?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
285
|
-
onPointerMoveCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
286
|
-
onPointerUp?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
287
|
-
onPointerUpCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
288
|
-
onPointerCancel?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
289
|
-
onPointerCancelCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
290
|
-
onPointerEnter?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
291
|
-
onPointerLeave?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
292
|
-
onPointerOver?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
293
|
-
onPointerOverCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
294
|
-
onPointerOut?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
295
|
-
onPointerOutCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
296
|
-
onGotPointerCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
297
|
-
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
298
|
-
onLostPointerCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
299
|
-
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
300
|
-
onScroll?: React.UIEventHandler<HTMLButtonElement> | undefined;
|
|
301
|
-
onScrollCapture?: React.UIEventHandler<HTMLButtonElement> | undefined;
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
onToggle?: React.ToggleEventHandler<HTMLButtonElement> | undefined;
|
|
312
|
-
onBeforeToggle?: React.ToggleEventHandler<HTMLButtonElement> | undefined;
|
|
313
|
-
onTransitionCancel?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
314
|
-
onTransitionCancelCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
315
|
-
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
316
|
-
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
317
|
-
onTransitionRun?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
318
|
-
onTransitionRunCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
319
|
-
onTransitionStart?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
320
|
-
onTransitionStartCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
152
|
+
onCopy?: React.ClipboardEventHandler<HTMLButtonElement> | (React.ClipboardEventHandler<HTMLButtonElement> & React.ClipboardEventHandler<HTMLAnchorElement>) | undefined;
|
|
153
|
+
onCopyCapture?: React.ClipboardEventHandler<HTMLButtonElement> | (React.ClipboardEventHandler<HTMLButtonElement> & React.ClipboardEventHandler<HTMLAnchorElement>) | undefined;
|
|
154
|
+
onCut?: React.ClipboardEventHandler<HTMLButtonElement> | (React.ClipboardEventHandler<HTMLButtonElement> & React.ClipboardEventHandler<HTMLAnchorElement>) | undefined;
|
|
155
|
+
onCutCapture?: React.ClipboardEventHandler<HTMLButtonElement> | (React.ClipboardEventHandler<HTMLButtonElement> & React.ClipboardEventHandler<HTMLAnchorElement>) | undefined;
|
|
156
|
+
onPaste?: React.ClipboardEventHandler<HTMLButtonElement> | (React.ClipboardEventHandler<HTMLButtonElement> & React.ClipboardEventHandler<HTMLAnchorElement>) | undefined;
|
|
157
|
+
onPasteCapture?: React.ClipboardEventHandler<HTMLButtonElement> | (React.ClipboardEventHandler<HTMLButtonElement> & React.ClipboardEventHandler<HTMLAnchorElement>) | undefined;
|
|
158
|
+
onCompositionEnd?: React.CompositionEventHandler<HTMLButtonElement> | (React.CompositionEventHandler<HTMLButtonElement> & React.CompositionEventHandler<HTMLAnchorElement>) | undefined;
|
|
159
|
+
onCompositionEndCapture?: React.CompositionEventHandler<HTMLButtonElement> | (React.CompositionEventHandler<HTMLButtonElement> & React.CompositionEventHandler<HTMLAnchorElement>) | undefined;
|
|
160
|
+
onCompositionStart?: React.CompositionEventHandler<HTMLButtonElement> | (React.CompositionEventHandler<HTMLButtonElement> & React.CompositionEventHandler<HTMLAnchorElement>) | undefined;
|
|
161
|
+
onCompositionStartCapture?: React.CompositionEventHandler<HTMLButtonElement> | (React.CompositionEventHandler<HTMLButtonElement> & React.CompositionEventHandler<HTMLAnchorElement>) | undefined;
|
|
162
|
+
onCompositionUpdate?: React.CompositionEventHandler<HTMLButtonElement> | (React.CompositionEventHandler<HTMLButtonElement> & React.CompositionEventHandler<HTMLAnchorElement>) | undefined;
|
|
163
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLButtonElement> | (React.CompositionEventHandler<HTMLButtonElement> & React.CompositionEventHandler<HTMLAnchorElement>) | undefined;
|
|
164
|
+
onFocus?: React.FocusEventHandler<HTMLButtonElement> | (React.FocusEventHandler<HTMLButtonElement> & React.FocusEventHandler<HTMLAnchorElement>) | undefined;
|
|
165
|
+
onFocusCapture?: React.FocusEventHandler<HTMLButtonElement> | (React.FocusEventHandler<HTMLButtonElement> & React.FocusEventHandler<HTMLAnchorElement>) | undefined;
|
|
166
|
+
onBlur?: React.FocusEventHandler<HTMLButtonElement> | (React.FocusEventHandler<HTMLButtonElement> & React.FocusEventHandler<HTMLAnchorElement>) | undefined;
|
|
167
|
+
onBlurCapture?: React.FocusEventHandler<HTMLButtonElement> | (React.FocusEventHandler<HTMLButtonElement> & React.FocusEventHandler<HTMLAnchorElement>) | undefined;
|
|
168
|
+
onChange?: React.FormEventHandler<HTMLButtonElement> | (React.FormEventHandler<HTMLButtonElement> & React.FormEventHandler<HTMLAnchorElement>) | undefined;
|
|
169
|
+
onChangeCapture?: React.FormEventHandler<HTMLButtonElement> | (React.FormEventHandler<HTMLButtonElement> & React.FormEventHandler<HTMLAnchorElement>) | undefined;
|
|
170
|
+
onBeforeInput?: React.InputEventHandler<HTMLButtonElement> | (React.InputEventHandler<HTMLButtonElement> & React.InputEventHandler<HTMLAnchorElement>) | undefined;
|
|
171
|
+
onBeforeInputCapture?: React.FormEventHandler<HTMLButtonElement> | (React.FormEventHandler<HTMLButtonElement> & React.FormEventHandler<HTMLAnchorElement>) | undefined;
|
|
172
|
+
onInput?: React.FormEventHandler<HTMLButtonElement> | (React.FormEventHandler<HTMLButtonElement> & React.FormEventHandler<HTMLAnchorElement>) | undefined;
|
|
173
|
+
onInputCapture?: React.FormEventHandler<HTMLButtonElement> | (React.FormEventHandler<HTMLButtonElement> & React.FormEventHandler<HTMLAnchorElement>) | undefined;
|
|
174
|
+
onReset?: React.FormEventHandler<HTMLButtonElement> | (React.FormEventHandler<HTMLButtonElement> & React.FormEventHandler<HTMLAnchorElement>) | undefined;
|
|
175
|
+
onResetCapture?: React.FormEventHandler<HTMLButtonElement> | (React.FormEventHandler<HTMLButtonElement> & React.FormEventHandler<HTMLAnchorElement>) | undefined;
|
|
176
|
+
onSubmit?: React.FormEventHandler<HTMLButtonElement> | (React.FormEventHandler<HTMLButtonElement> & React.FormEventHandler<HTMLAnchorElement>) | undefined;
|
|
177
|
+
onSubmitCapture?: React.FormEventHandler<HTMLButtonElement> | (React.FormEventHandler<HTMLButtonElement> & React.FormEventHandler<HTMLAnchorElement>) | undefined;
|
|
178
|
+
onInvalid?: React.FormEventHandler<HTMLButtonElement> | (React.FormEventHandler<HTMLButtonElement> & React.FormEventHandler<HTMLAnchorElement>) | undefined;
|
|
179
|
+
onInvalidCapture?: React.FormEventHandler<HTMLButtonElement> | (React.FormEventHandler<HTMLButtonElement> & React.FormEventHandler<HTMLAnchorElement>) | undefined;
|
|
180
|
+
onLoad?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
181
|
+
onLoadCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
182
|
+
onError?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
183
|
+
onErrorCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
184
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLButtonElement> | (React.KeyboardEventHandler<HTMLButtonElement> & React.KeyboardEventHandler<HTMLAnchorElement>) | undefined;
|
|
185
|
+
onKeyDownCapture?: React.KeyboardEventHandler<HTMLButtonElement> | (React.KeyboardEventHandler<HTMLButtonElement> & React.KeyboardEventHandler<HTMLAnchorElement>) | undefined;
|
|
186
|
+
onKeyPress?: React.KeyboardEventHandler<HTMLButtonElement> | (React.KeyboardEventHandler<HTMLButtonElement> & React.KeyboardEventHandler<HTMLAnchorElement>) | undefined;
|
|
187
|
+
onKeyPressCapture?: React.KeyboardEventHandler<HTMLButtonElement> | (React.KeyboardEventHandler<HTMLButtonElement> & React.KeyboardEventHandler<HTMLAnchorElement>) | undefined;
|
|
188
|
+
onKeyUp?: React.KeyboardEventHandler<HTMLButtonElement> | (React.KeyboardEventHandler<HTMLButtonElement> & React.KeyboardEventHandler<HTMLAnchorElement>) | undefined;
|
|
189
|
+
onKeyUpCapture?: React.KeyboardEventHandler<HTMLButtonElement> | (React.KeyboardEventHandler<HTMLButtonElement> & React.KeyboardEventHandler<HTMLAnchorElement>) | undefined;
|
|
190
|
+
onAbort?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
191
|
+
onAbortCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
192
|
+
onCanPlay?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
193
|
+
onCanPlayCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
194
|
+
onCanPlayThrough?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
195
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
196
|
+
onDurationChange?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
197
|
+
onDurationChangeCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
198
|
+
onEmptied?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
199
|
+
onEmptiedCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
200
|
+
onEncrypted?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
201
|
+
onEncryptedCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
202
|
+
onEnded?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
203
|
+
onEndedCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
204
|
+
onLoadedData?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
205
|
+
onLoadedDataCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
206
|
+
onLoadedMetadata?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
207
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
208
|
+
onLoadStart?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
209
|
+
onLoadStartCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
210
|
+
onPause?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
211
|
+
onPauseCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
212
|
+
onPlay?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
213
|
+
onPlayCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
214
|
+
onPlaying?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
215
|
+
onPlayingCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
216
|
+
onProgress?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
217
|
+
onProgressCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
218
|
+
onRateChange?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
219
|
+
onRateChangeCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
220
|
+
onSeeked?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
221
|
+
onSeekedCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
222
|
+
onSeeking?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
223
|
+
onSeekingCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
224
|
+
onStalled?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
225
|
+
onStalledCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
226
|
+
onSuspend?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
227
|
+
onSuspendCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
228
|
+
onTimeUpdate?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
229
|
+
onTimeUpdateCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
230
|
+
onVolumeChange?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
231
|
+
onVolumeChangeCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
232
|
+
onWaiting?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
233
|
+
onWaitingCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
234
|
+
onAuxClick?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
235
|
+
onAuxClickCapture?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
236
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
237
|
+
onClickCapture?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
238
|
+
onContextMenu?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
239
|
+
onContextMenuCapture?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
240
|
+
onDoubleClick?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
241
|
+
onDoubleClickCapture?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
242
|
+
onDragCapture?: React.DragEventHandler<HTMLButtonElement> | (React.DragEventHandler<HTMLButtonElement> & React.DragEventHandler<HTMLAnchorElement>) | undefined;
|
|
243
|
+
onDragEndCapture?: React.DragEventHandler<HTMLButtonElement> | (React.DragEventHandler<HTMLButtonElement> & React.DragEventHandler<HTMLAnchorElement>) | undefined;
|
|
244
|
+
onDragEnter?: React.DragEventHandler<HTMLButtonElement> | (React.DragEventHandler<HTMLButtonElement> & React.DragEventHandler<HTMLAnchorElement>) | undefined;
|
|
245
|
+
onDragEnterCapture?: React.DragEventHandler<HTMLButtonElement> | (React.DragEventHandler<HTMLButtonElement> & React.DragEventHandler<HTMLAnchorElement>) | undefined;
|
|
246
|
+
onDragExit?: React.DragEventHandler<HTMLButtonElement> | (React.DragEventHandler<HTMLButtonElement> & React.DragEventHandler<HTMLAnchorElement>) | undefined;
|
|
247
|
+
onDragExitCapture?: React.DragEventHandler<HTMLButtonElement> | (React.DragEventHandler<HTMLButtonElement> & React.DragEventHandler<HTMLAnchorElement>) | undefined;
|
|
248
|
+
onDragLeave?: React.DragEventHandler<HTMLButtonElement> | (React.DragEventHandler<HTMLButtonElement> & React.DragEventHandler<HTMLAnchorElement>) | undefined;
|
|
249
|
+
onDragLeaveCapture?: React.DragEventHandler<HTMLButtonElement> | (React.DragEventHandler<HTMLButtonElement> & React.DragEventHandler<HTMLAnchorElement>) | undefined;
|
|
250
|
+
onDragOver?: React.DragEventHandler<HTMLButtonElement> | (React.DragEventHandler<HTMLButtonElement> & React.DragEventHandler<HTMLAnchorElement>) | undefined;
|
|
251
|
+
onDragOverCapture?: React.DragEventHandler<HTMLButtonElement> | (React.DragEventHandler<HTMLButtonElement> & React.DragEventHandler<HTMLAnchorElement>) | undefined;
|
|
252
|
+
onDragStartCapture?: React.DragEventHandler<HTMLButtonElement> | (React.DragEventHandler<HTMLButtonElement> & React.DragEventHandler<HTMLAnchorElement>) | undefined;
|
|
253
|
+
onDrop?: React.DragEventHandler<HTMLButtonElement> | (React.DragEventHandler<HTMLButtonElement> & React.DragEventHandler<HTMLAnchorElement>) | undefined;
|
|
254
|
+
onDropCapture?: React.DragEventHandler<HTMLButtonElement> | (React.DragEventHandler<HTMLButtonElement> & React.DragEventHandler<HTMLAnchorElement>) | undefined;
|
|
255
|
+
onMouseDown?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
256
|
+
onMouseDownCapture?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
257
|
+
onMouseEnter?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
258
|
+
onMouseLeave?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
259
|
+
onMouseMove?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
260
|
+
onMouseMoveCapture?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
261
|
+
onMouseOut?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
262
|
+
onMouseOutCapture?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
263
|
+
onMouseOver?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
264
|
+
onMouseOverCapture?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
265
|
+
onMouseUp?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
266
|
+
onMouseUpCapture?: React.MouseEventHandler<HTMLButtonElement> | (React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLAnchorElement>) | undefined;
|
|
267
|
+
onSelect?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
268
|
+
onSelectCapture?: React.ReactEventHandler<HTMLButtonElement> | (React.ReactEventHandler<HTMLButtonElement> & React.ReactEventHandler<HTMLAnchorElement>) | undefined;
|
|
269
|
+
onTouchCancel?: React.TouchEventHandler<HTMLButtonElement> | (React.TouchEventHandler<HTMLButtonElement> & React.TouchEventHandler<HTMLAnchorElement>) | undefined;
|
|
270
|
+
onTouchCancelCapture?: React.TouchEventHandler<HTMLButtonElement> | (React.TouchEventHandler<HTMLButtonElement> & React.TouchEventHandler<HTMLAnchorElement>) | undefined;
|
|
271
|
+
onTouchEnd?: React.TouchEventHandler<HTMLButtonElement> | (React.TouchEventHandler<HTMLButtonElement> & React.TouchEventHandler<HTMLAnchorElement>) | undefined;
|
|
272
|
+
onTouchEndCapture?: React.TouchEventHandler<HTMLButtonElement> | (React.TouchEventHandler<HTMLButtonElement> & React.TouchEventHandler<HTMLAnchorElement>) | undefined;
|
|
273
|
+
onTouchMove?: React.TouchEventHandler<HTMLButtonElement> | (React.TouchEventHandler<HTMLButtonElement> & React.TouchEventHandler<HTMLAnchorElement>) | undefined;
|
|
274
|
+
onTouchMoveCapture?: React.TouchEventHandler<HTMLButtonElement> | (React.TouchEventHandler<HTMLButtonElement> & React.TouchEventHandler<HTMLAnchorElement>) | undefined;
|
|
275
|
+
onTouchStart?: React.TouchEventHandler<HTMLButtonElement> | (React.TouchEventHandler<HTMLButtonElement> & React.TouchEventHandler<HTMLAnchorElement>) | undefined;
|
|
276
|
+
onTouchStartCapture?: React.TouchEventHandler<HTMLButtonElement> | (React.TouchEventHandler<HTMLButtonElement> & React.TouchEventHandler<HTMLAnchorElement>) | undefined;
|
|
277
|
+
onPointerDown?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
278
|
+
onPointerDownCapture?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
279
|
+
onPointerMove?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
280
|
+
onPointerMoveCapture?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
281
|
+
onPointerUp?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
282
|
+
onPointerUpCapture?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
283
|
+
onPointerCancel?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
284
|
+
onPointerCancelCapture?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
285
|
+
onPointerEnter?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
286
|
+
onPointerLeave?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
287
|
+
onPointerOver?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
288
|
+
onPointerOverCapture?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
289
|
+
onPointerOut?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
290
|
+
onPointerOutCapture?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
291
|
+
onGotPointerCapture?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
292
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
293
|
+
onLostPointerCapture?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
294
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLButtonElement> | (React.PointerEventHandler<HTMLButtonElement> & React.PointerEventHandler<HTMLAnchorElement>) | undefined;
|
|
295
|
+
onScroll?: React.UIEventHandler<HTMLButtonElement> | (React.UIEventHandler<HTMLButtonElement> & React.UIEventHandler<HTMLAnchorElement>) | undefined;
|
|
296
|
+
onScrollCapture?: React.UIEventHandler<HTMLButtonElement> | (React.UIEventHandler<HTMLButtonElement> & React.UIEventHandler<HTMLAnchorElement>) | undefined;
|
|
297
|
+
onWheel?: React.WheelEventHandler<HTMLButtonElement> | (React.WheelEventHandler<HTMLButtonElement> & React.WheelEventHandler<HTMLAnchorElement>) | undefined;
|
|
298
|
+
onWheelCapture?: React.WheelEventHandler<HTMLButtonElement> | (React.WheelEventHandler<HTMLButtonElement> & React.WheelEventHandler<HTMLAnchorElement>) | undefined;
|
|
299
|
+
onAnimationStartCapture?: React.AnimationEventHandler<HTMLButtonElement> | (React.AnimationEventHandler<HTMLButtonElement> & React.AnimationEventHandler<HTMLAnchorElement>) | undefined;
|
|
300
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement> | (React.AnimationEventHandler<HTMLButtonElement> & React.AnimationEventHandler<HTMLAnchorElement>) | undefined;
|
|
301
|
+
onAnimationEndCapture?: React.AnimationEventHandler<HTMLButtonElement> | (React.AnimationEventHandler<HTMLButtonElement> & React.AnimationEventHandler<HTMLAnchorElement>) | undefined;
|
|
302
|
+
onAnimationIteration?: React.AnimationEventHandler<HTMLButtonElement> | (React.AnimationEventHandler<HTMLButtonElement> & React.AnimationEventHandler<HTMLAnchorElement>) | undefined;
|
|
303
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | (React.AnimationEventHandler<HTMLButtonElement> & React.AnimationEventHandler<HTMLAnchorElement>) | undefined;
|
|
304
|
+
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | (React.TransitionEventHandler<HTMLButtonElement> & React.TransitionEventHandler<HTMLAnchorElement>) | undefined;
|
|
305
|
+
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | (React.TransitionEventHandler<HTMLButtonElement> & React.TransitionEventHandler<HTMLAnchorElement>) | undefined;
|
|
321
306
|
alignSelf?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
322
307
|
readonly property: "alignSelf";
|
|
323
308
|
}>;
|
|
@@ -802,7 +787,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
802
787
|
size?: "small" | "normal" | "large" | undefined;
|
|
803
788
|
variant?: "primary" | "secondary" | "danger" | "interface" | undefined;
|
|
804
789
|
as?: undefined;
|
|
805
|
-
formAction?: string |
|
|
790
|
+
formAction?: string | undefined;
|
|
806
791
|
formEncType?: string | undefined;
|
|
807
792
|
formMethod?: string | undefined;
|
|
808
793
|
formNoValidate?: boolean | undefined;
|
|
@@ -813,7 +798,7 @@ export declare const createAnimatedFadeButton: (WrappedComponent: typeof Paginat
|
|
|
813
798
|
ellipsis?: boolean | undefined;
|
|
814
799
|
buttonType?: "text" | "stroke" | undefined;
|
|
815
800
|
showButton?: "hidden" | "shown" | undefined;
|
|
816
|
-
} & import("framer-motion
|
|
801
|
+
} & import("framer-motion").MotionProps, "children"> & {
|
|
817
802
|
children?: React.ReactNode | import("motion-dom").MotionValue<number> | import("motion-dom").MotionValue<string>;
|
|
818
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
803
|
+
}>>) => import("react/jsx-runtime").JSX.Element;
|
|
819
804
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { StyleProps } from '@codecademy/variance';
|
|
3
2
|
import { WithChildrenProp } from '../utils';
|
|
4
3
|
import { raisedDivVariants } from './styles/base';
|
|
@@ -7,36 +6,36 @@ export type PopoverVariants = StyleProps<typeof raisedDivVariants> & {
|
|
|
7
6
|
widthRestricted?: boolean;
|
|
8
7
|
};
|
|
9
8
|
export declare const RaisedDiv: import("@emotion/styled").StyledComponent<{
|
|
10
|
-
theme?: import("@emotion/react").Theme
|
|
11
|
-
as?:
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType;
|
|
12
11
|
} & import("@codecademy/variance/dist/types/config").VariantProps<"outline", false | "boxShadow" | "outline"> & {
|
|
13
|
-
theme?: import("@emotion/react").Theme
|
|
12
|
+
theme?: import("@emotion/react").Theme;
|
|
14
13
|
} & import("@codecademy/variance/dist/types/config").VariantProps<"variant", false | "primary" | "secondary"> & import("@codecademy/variance/dist/types/config").VariantProps<"alignment", false | "aligned" | "centered"> & Partial<Record<"widthRestricted", boolean>>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
14
|
export declare const Beak: import("@emotion/styled").StyledComponent<{
|
|
16
|
-
theme?: import("@emotion/react").Theme
|
|
17
|
-
as?:
|
|
18
|
-
} & import("../Box").BoxProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | keyof import("react").ClassAttributes<HTMLDivElement> | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "
|
|
19
|
-
theme?: import("@emotion/react").Theme
|
|
15
|
+
theme?: import("@emotion/react").Theme;
|
|
16
|
+
as?: React.ElementType;
|
|
17
|
+
} & import("../Box").BoxProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | keyof import("react").ClassAttributes<HTMLDivElement> | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "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" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
|
|
18
|
+
theme?: import("@emotion/react").Theme;
|
|
20
19
|
} & Partial<Record<"widthRestricted", boolean>> & {
|
|
21
|
-
theme?: import("@emotion/react").Theme
|
|
20
|
+
theme?: import("@emotion/react").Theme;
|
|
22
21
|
} & import("@codecademy/variance/dist/types/config").VariantProps<"beak", string | number | false> & import("@codecademy/variance/dist/types/config").VariantProps<"size", false | "sml" | "lrg"> & Partial<Record<"hasBorder", boolean>>, {}, {}>;
|
|
23
22
|
export declare const BeakBox: import("@emotion/styled").StyledComponent<{
|
|
24
|
-
theme?: import("@emotion/react").Theme
|
|
25
|
-
as?:
|
|
26
|
-
} & import("../Box").FlexBoxProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | keyof import("react").ClassAttributes<HTMLDivElement> | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "
|
|
27
|
-
theme?: import("@emotion/react").Theme
|
|
23
|
+
theme?: import("@emotion/react").Theme;
|
|
24
|
+
as?: React.ElementType;
|
|
25
|
+
} & import("../Box").FlexBoxProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | keyof import("react").ClassAttributes<HTMLDivElement> | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "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" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
|
|
26
|
+
theme?: import("@emotion/react").Theme;
|
|
28
27
|
} & import("@codecademy/variance/dist/types/config").VariantProps<"variant", false | "center" | "above" | "below"> & {
|
|
29
|
-
theme?: import("@emotion/react").Theme
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
30
29
|
}, {}, {}>;
|
|
31
30
|
export declare const PatternContainer: import("@emotion/styled").StyledComponent<{
|
|
32
|
-
theme?: import("@emotion/react").Theme
|
|
33
|
-
as?:
|
|
31
|
+
theme?: import("@emotion/react").Theme;
|
|
32
|
+
as?: React.ElementType;
|
|
34
33
|
} & import("@codecademy/variance/dist/types/config").VariantProps<"variant", string | number | false> & {
|
|
35
|
-
theme?: import("@emotion/react").Theme
|
|
34
|
+
theme?: import("@emotion/react").Theme;
|
|
36
35
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
37
36
|
export declare const PopoverPortal: React.FC<Pick<PopoverProps, 'animation' | 'isOpen'> & WithChildrenProp>;
|
|
38
37
|
export type PopoverContainerProps = Pick<PopoverProps, 'position' | 'align'>;
|
|
39
38
|
export declare const PopoverContainer: import("@emotion/styled").StyledComponent<{
|
|
40
|
-
theme?: import("@emotion/react").Theme
|
|
41
|
-
as?:
|
|
39
|
+
theme?: import("@emotion/react").Theme;
|
|
40
|
+
as?: React.ElementType;
|
|
42
41
|
} & PopoverContainerProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -18,8 +18,8 @@ export declare const transformValues: {
|
|
|
18
18
|
center: string;
|
|
19
19
|
};
|
|
20
20
|
export declare const popoverStates: (props: Partial<Record<"widthRestricted", boolean>> & {
|
|
21
|
-
theme?: import("@emotion/react").Theme
|
|
21
|
+
theme?: import("@emotion/react").Theme;
|
|
22
22
|
}) => import("@codecademy/variance").CSSObject;
|
|
23
23
|
export declare const raisedDivVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"variant", false | "primary" | "secondary"> & {
|
|
24
|
-
theme?: import("@emotion/react").Theme
|
|
24
|
+
theme?: import("@emotion/react").Theme;
|
|
25
25
|
}) => import("@codecademy/variance").CSSObject;
|
|
@@ -18,5 +18,5 @@ export declare const beakBoxY: {
|
|
|
18
18
|
width: string;
|
|
19
19
|
};
|
|
20
20
|
export declare const beakVariantsArray: string[];
|
|
21
|
-
export declare const getBeakVariant: ({ align, position, beak, variant, }: Pick<PopoverProps,
|
|
21
|
+
export declare const getBeakVariant: ({ align, position, beak, variant, }: Pick<PopoverProps, "align" | "position" | "beak" | "variant">) => string;
|
|
22
22
|
export declare const createBeakVariantFromAlignment: (alignment: string) => {};
|