@codecademy/gamut 68.1.1-alpha.bb6a75.0 → 68.1.1-alpha.d3a45a.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/README.md +0 -17
- package/dist/AccordionAreaDeprecated/index.js +2 -2
- package/dist/Alert/elements.d.ts +7 -14
- package/dist/Alert/elements.js +5 -5
- package/dist/Anchor/index.d.ts +7 -11
- package/dist/Anchor/index.js +3 -4
- package/dist/Animation/ExpandInCollapseOut.js +1 -1
- package/dist/Animation/FadeInSlideOut.js +1 -1
- package/dist/Animation/Rotation.js +1 -1
- package/dist/Box/Box.d.ts +4 -6
- package/dist/Box/Box.js +3 -5
- package/dist/Box/FlexBox.d.ts +4 -6
- package/dist/Box/FlexBox.js +3 -5
- package/dist/Box/GridBox.d.ts +4 -7
- package/dist/Box/GridBox.js +3 -5
- package/dist/Box/props.d.ts +2 -2
- package/dist/Button/CTAButton.d.ts +3 -8
- package/dist/Button/FillButton.d.ts +7 -17
- package/dist/Button/IconButton.d.ts +7 -17
- package/dist/Button/StrokeButton.d.ts +7 -17
- package/dist/Button/TextButton.d.ts +7 -17
- package/dist/Button/shared/InlineIconButton.d.ts +4 -9
- package/dist/Button/shared/styles.d.ts +4 -9
- package/dist/Button/shared/types.d.ts +0 -1
- package/dist/ButtonBase/ButtonBase.d.ts +3 -9
- package/dist/ButtonBase/ButtonBase.js +2 -2
- package/dist/Card/elements.d.ts +86 -48
- package/dist/Card/types.d.ts +1 -1
- package/dist/ConnectedForm/ConnectedForm.d.ts +1 -9
- package/dist/ConnectedForm/ConnectedForm.js +1 -9
- package/dist/ConnectedForm/utils.d.ts +7 -1
- package/dist/ContentContainer/index.d.ts +2 -4
- package/dist/Disclosure/elements.d.ts +22 -43
- package/dist/Disclosure/index.js +1 -1
- package/dist/Drawer/index.js +2 -2
- package/dist/FeatureShimmer/index.js +2 -2
- package/dist/Form/SelectDropdown/SelectDropdown.js +1 -1
- package/dist/Form/SelectDropdown/types/internal.d.ts +1 -1
- package/dist/Form/elements/Form.d.ts +3 -3
- package/dist/Form/elements/Form.js +1 -1
- package/dist/Form/elements/FormError.d.ts +2 -2
- package/dist/Form/elements/FormError.js +1 -1
- package/dist/Form/elements/FormGroup.d.ts +2 -4
- package/dist/Form/inputs/Checkbox.d.ts +1 -1
- package/dist/Form/inputs/Checkbox.js +7 -7
- package/dist/Form/inputs/Input.d.ts +1 -2
- package/dist/Form/inputs/Input.js +2 -4
- package/dist/Form/inputs/Radio.d.ts +1 -1
- package/dist/Form/inputs/Radio.js +2 -2
- package/dist/Form/inputs/Select.d.ts +1 -1
- package/dist/Form/inputs/Select.js +3 -3
- package/dist/Form/inputs/TextArea.d.ts +5 -5
- package/dist/Form/inputs/TextArea.js +2 -2
- package/dist/GridForm/GridFormButtons/index.d.ts +7 -17
- package/dist/InternalFloatingCard/InternalFloatingCard.d.ts +1 -1
- package/dist/Layout/Column.d.ts +1 -1
- package/dist/Layout/LayoutGrid.d.ts +1 -1
- package/dist/List/Header/ListHeaderCol.d.ts +2 -3
- package/dist/List/List.d.ts +2 -2
- package/dist/List/ListCol.d.ts +2 -3
- package/dist/List/ListRow.d.ts +2 -2
- package/dist/List/ListRow.js +3 -3
- package/dist/List/TableHeader.d.ts +2 -3
- package/dist/List/elements.d.ts +945 -26
- package/dist/List/elements.js +8 -10
- package/dist/List/hooks.d.ts +1 -1
- package/dist/Menu/Menu.d.ts +1 -1
- package/dist/Menu/elements.d.ts +4 -4
- package/dist/Modals/types.d.ts +4 -5
- package/dist/Pagination/AnimatedPaginationButtons.d.ts +33 -26
- package/dist/Pagination/EllipsisButton.d.ts +8 -18
- package/dist/Pagination/PaginationButton.d.ts +10 -25
- package/dist/Pagination/utils.d.ts +29 -17
- package/dist/Pagination/utils.js +16 -9
- package/dist/Popover/elements.d.ts +4 -8
- package/dist/Popover/elements.js +6 -6
- package/dist/Tabs/TabButton.d.ts +3 -8
- package/dist/Tabs/TabNav.d.ts +1 -1
- package/dist/Tabs/TabNavLink.d.ts +4 -9
- package/dist/Tag/elements.d.ts +22 -27
- package/dist/Tip/InfoTip/InfoTipButton.d.ts +7 -17
- package/dist/Tip/InfoTip/styles.d.ts +2 -4
- package/dist/Tip/PreviewTip/elements.d.ts +8 -12
- package/dist/Tip/ToolTip/elements.d.ts +2 -4
- package/dist/Tip/__tests__/helpers.d.ts +2 -2
- package/dist/Tip/shared/elements.d.ts +6 -12
- package/dist/Toaster/index.js +1 -1
- package/dist/Toggle/elements.d.ts +2 -4
- package/dist/Typography/Text.d.ts +8 -10
- package/dist/Typography/Text.js +2 -4
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/react.d.ts +0 -1
- package/dist/utils/react.js +1 -3
- package/dist/utils/types.d.ts +1 -51
- package/dist/utils/types.js +1 -48
- package/package.json +11 -12
package/dist/Card/elements.d.ts
CHANGED
|
@@ -37,10 +37,6 @@ export declare const MotionBox: import("react").ComponentType<Omit<{
|
|
|
37
37
|
title?: string | undefined;
|
|
38
38
|
dir?: string | undefined;
|
|
39
39
|
className?: string | undefined;
|
|
40
|
-
onScrollEnd?: ((event: import("react").UIEvent<HTMLElement, UIEvent>) => void) | undefined;
|
|
41
|
-
onScrollEndCapture?: ((event: import("react").UIEvent<HTMLElement, UIEvent>) => void) | undefined;
|
|
42
|
-
ref?: ((string | ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | import("react").RefObject<HTMLDivElement | null>) & (string | import("react").RefObject<HTMLDivElement | null> | ((instance: HTMLDivElement | null) => void))) | null | undefined;
|
|
43
|
-
key?: import("react").Key | null | undefined;
|
|
44
40
|
height?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
45
41
|
readonly property: {
|
|
46
42
|
readonly physical: "height";
|
|
@@ -58,6 +54,8 @@ export declare const MotionBox: import("react").ComponentType<Omit<{
|
|
|
58
54
|
readonly transform: (value: string | number) => string | 0;
|
|
59
55
|
}>;
|
|
60
56
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
57
|
+
ref?: import("react").Ref<HTMLDivElement> | undefined;
|
|
58
|
+
key?: import("react").Key | null | undefined;
|
|
61
59
|
defaultChecked?: boolean | undefined;
|
|
62
60
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
63
61
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -99,6 +97,10 @@ export declare const MotionBox: import("react").ComponentType<Omit<{
|
|
|
99
97
|
results?: number | undefined;
|
|
100
98
|
security?: string | undefined;
|
|
101
99
|
unselectable?: "off" | "on" | undefined;
|
|
100
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
101
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
102
|
+
popoverTarget?: string | undefined;
|
|
103
|
+
inert?: boolean | undefined;
|
|
102
104
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
103
105
|
is?: string | undefined;
|
|
104
106
|
exportparts?: string | undefined;
|
|
@@ -174,18 +176,18 @@ export declare const MotionBox: import("react").ComponentType<Omit<{
|
|
|
174
176
|
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
175
177
|
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
176
178
|
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
177
|
-
onChange?: import("react").
|
|
178
|
-
onChangeCapture?: import("react").
|
|
179
|
+
onChange?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
|
|
180
|
+
onChangeCapture?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
|
|
179
181
|
onBeforeInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
180
|
-
onBeforeInputCapture?: import("react").
|
|
181
|
-
onInput?: import("react").
|
|
182
|
-
onInputCapture?: import("react").
|
|
183
|
-
onReset?: import("react").
|
|
184
|
-
onResetCapture?: import("react").
|
|
185
|
-
onSubmit?: import("react").
|
|
186
|
-
onSubmitCapture?: import("react").
|
|
187
|
-
onInvalid?: import("react").
|
|
188
|
-
onInvalidCapture?: import("react").
|
|
182
|
+
onBeforeInputCapture?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
183
|
+
onInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
184
|
+
onInputCapture?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
185
|
+
onReset?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
186
|
+
onResetCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
187
|
+
onSubmit?: import("react").SubmitEventHandler<HTMLDivElement> | undefined;
|
|
188
|
+
onSubmitCapture?: import("react").SubmitEventHandler<HTMLDivElement> | undefined;
|
|
189
|
+
onInvalid?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
190
|
+
onInvalidCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
189
191
|
onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
190
192
|
onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
191
193
|
onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
@@ -303,6 +305,8 @@ export declare const MotionBox: import("react").ComponentType<Omit<{
|
|
|
303
305
|
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
304
306
|
onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
305
307
|
onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
308
|
+
onScrollEnd?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
309
|
+
onScrollEndCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
306
310
|
onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
307
311
|
onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
308
312
|
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
@@ -310,8 +314,16 @@ export declare const MotionBox: import("react").ComponentType<Omit<{
|
|
|
310
314
|
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
311
315
|
onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
312
316
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
317
|
+
onToggle?: import("react").ToggleEventHandler<HTMLDivElement> | undefined;
|
|
318
|
+
onBeforeToggle?: import("react").ToggleEventHandler<HTMLDivElement> | undefined;
|
|
319
|
+
onTransitionCancel?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
320
|
+
onTransitionCancelCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
313
321
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
314
322
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
323
|
+
onTransitionRun?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
324
|
+
onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
325
|
+
onTransitionStart?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
326
|
+
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
315
327
|
alignContent?: "center" | "initial" | "inherit" | "normal" | (string & {}) | "-moz-initial" | "revert" | "revert-layer" | "unset" | "end" | "flex-end" | "flex-start" | "start" | "baseline" | "stretch" | "space-around" | "space-between" | "space-evenly" | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignContent | undefined) | import("@codecademy/variance").BreakpointMap<import("csstype").Property.AlignContent | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignContent | undefined) | undefined> | import("@codecademy/variance").BreakpointArray<import("csstype").Property.AlignContent | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignContent | undefined) | undefined> | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignContent | undefined) | import("@codecademy/variance").BreakpointMap<import("csstype").Property.AlignContent | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignContent | undefined) | undefined> | import("@codecademy/variance").BreakpointArray<import("csstype").Property.AlignContent | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignContent | undefined) | undefined> | undefined;
|
|
316
328
|
alignItems?: "center" | "initial" | "inherit" | "normal" | (string & {}) | "-moz-initial" | "revert" | "revert-layer" | "unset" | "end" | "flex-end" | "flex-start" | "self-end" | "self-start" | "start" | "anchor-center" | "baseline" | "stretch" | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignItems | undefined) | import("@codecademy/variance").BreakpointMap<import("csstype").Property.AlignItems | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignItems | undefined) | undefined> | import("@codecademy/variance").BreakpointArray<import("csstype").Property.AlignItems | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignItems | undefined) | undefined> | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignItems | undefined) | import("@codecademy/variance").BreakpointMap<import("csstype").Property.AlignItems | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignItems | undefined) | undefined> | import("@codecademy/variance").BreakpointArray<import("csstype").Property.AlignItems | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignItems | undefined) | undefined> | undefined;
|
|
317
329
|
alignSelf?: "center" | "initial" | "inherit" | "normal" | (string & {}) | "-moz-initial" | "revert" | "revert-layer" | "unset" | "end" | "flex-end" | "flex-start" | "self-end" | "self-start" | "start" | "anchor-center" | "auto" | "baseline" | "stretch" | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | import("@codecademy/variance").BreakpointMap<import("csstype").Property.AlignSelf | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | undefined> | import("@codecademy/variance").BreakpointArray<import("csstype").Property.AlignSelf | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | undefined> | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | import("@codecademy/variance").BreakpointMap<import("csstype").Property.AlignSelf | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | undefined> | import("@codecademy/variance").BreakpointArray<import("csstype").Property.AlignSelf | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | undefined> | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | import("@codecademy/variance").BreakpointMap<import("csstype").Property.AlignSelf | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | undefined> | import("@codecademy/variance").BreakpointArray<import("csstype").Property.AlignSelf | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | undefined> | undefined;
|
|
@@ -911,8 +923,8 @@ export declare const MotionBox: import("react").ComponentType<Omit<{
|
|
|
911
923
|
context?: boolean | undefined;
|
|
912
924
|
"no-select"?: boolean | undefined;
|
|
913
925
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
914
|
-
} & import("framer-motion/dist/types.d-
|
|
915
|
-
children?: string | number | boolean | import("react").ReactElement<
|
|
926
|
+
} & import("framer-motion/dist/types.d-DOCC-kZB").M, "children"> & {
|
|
927
|
+
children?: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | import("react").ReactPortal | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("motion-dom").MotionValue<number> | import("motion-dom").MotionValue<string> | (string & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (string & Iterable<import("react").ReactNode>) | (string & import("react").ReactPortal) | (string & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (number & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (number & Iterable<import("react").ReactNode>) | (number & import("react").ReactPortal) | (number & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (bigint & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (bigint & Iterable<import("react").ReactNode>) | (bigint & import("react").ReactPortal) | (bigint & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (false & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (false & Iterable<import("react").ReactNode>) | (false & import("react").ReactPortal) | (false & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (true & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (true & Iterable<import("react").ReactNode>) | (true & import("react").ReactPortal) | (true & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & string) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & number) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & bigint) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & false) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & true) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & Iterable<import("react").ReactNode>) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & import("react").ReactPortal) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (Iterable<import("react").ReactNode> & string) | (Iterable<import("react").ReactNode> & number) | (Iterable<import("react").ReactNode> & bigint) | (Iterable<import("react").ReactNode> & false) | (Iterable<import("react").ReactNode> & true) | (Iterable<import("react").ReactNode> & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (Iterable<import("react").ReactNode> & import("react").ReactPortal) | (Iterable<import("react").ReactNode> & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (import("react").ReactPortal & string) | (import("react").ReactPortal & number) | (import("react").ReactPortal & bigint) | (import("react").ReactPortal & false) | (import("react").ReactPortal & true) | (import("react").ReactPortal & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (import("react").ReactPortal & Iterable<import("react").ReactNode>) | (import("react").ReactPortal & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & string) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & number) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & bigint) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & false) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & true) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & Iterable<import("react").ReactNode>) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & import("react").ReactPortal) | (import("react").ReactNode[] & string) | (import("react").ReactNode[] & number) | (import("react").ReactNode[] & bigint) | (import("react").ReactNode[] & false) | (import("react").ReactNode[] & true) | (import("react").ReactNode[] & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (import("react").ReactNode[] & Iterable<import("react").ReactNode>) | (import("react").ReactNode[] & import("react").ReactPortal) | (import("react").ReactNode[] & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | null | undefined;
|
|
916
928
|
}>;
|
|
917
929
|
export declare const DynamicCardWrapper: import("@emotion/styled").StyledComponent<Omit<{
|
|
918
930
|
color?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
@@ -950,10 +962,6 @@ export declare const DynamicCardWrapper: import("@emotion/styled").StyledCompone
|
|
|
950
962
|
title?: string | undefined;
|
|
951
963
|
dir?: string | undefined;
|
|
952
964
|
className?: string | undefined;
|
|
953
|
-
onScrollEnd?: ((event: import("react").UIEvent<HTMLElement, UIEvent>) => void) | undefined;
|
|
954
|
-
onScrollEndCapture?: ((event: import("react").UIEvent<HTMLElement, UIEvent>) => void) | undefined;
|
|
955
|
-
ref?: ((string | ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | import("react").RefObject<HTMLDivElement | null>) & (string | import("react").RefObject<HTMLDivElement | null> | ((instance: HTMLDivElement | null) => void))) | null | undefined;
|
|
956
|
-
key?: import("react").Key | null | undefined;
|
|
957
965
|
height?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
958
966
|
readonly property: {
|
|
959
967
|
readonly physical: "height";
|
|
@@ -971,6 +979,8 @@ export declare const DynamicCardWrapper: import("@emotion/styled").StyledCompone
|
|
|
971
979
|
readonly transform: (value: string | number) => string | 0;
|
|
972
980
|
}>;
|
|
973
981
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
982
|
+
ref?: import("react").Ref<HTMLDivElement> | undefined;
|
|
983
|
+
key?: import("react").Key | null | undefined;
|
|
974
984
|
defaultChecked?: boolean | undefined;
|
|
975
985
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
976
986
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -1012,6 +1022,10 @@ export declare const DynamicCardWrapper: import("@emotion/styled").StyledCompone
|
|
|
1012
1022
|
results?: number | undefined;
|
|
1013
1023
|
security?: string | undefined;
|
|
1014
1024
|
unselectable?: "off" | "on" | undefined;
|
|
1025
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
1026
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
1027
|
+
popoverTarget?: string | undefined;
|
|
1028
|
+
inert?: boolean | undefined;
|
|
1015
1029
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
1016
1030
|
is?: string | undefined;
|
|
1017
1031
|
exportparts?: string | undefined;
|
|
@@ -1087,18 +1101,18 @@ export declare const DynamicCardWrapper: import("@emotion/styled").StyledCompone
|
|
|
1087
1101
|
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
1088
1102
|
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
1089
1103
|
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
1090
|
-
onChange?: import("react").
|
|
1091
|
-
onChangeCapture?: import("react").
|
|
1104
|
+
onChange?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
|
|
1105
|
+
onChangeCapture?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
|
|
1092
1106
|
onBeforeInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
1093
|
-
onBeforeInputCapture?: import("react").
|
|
1094
|
-
onInput?: import("react").
|
|
1095
|
-
onInputCapture?: import("react").
|
|
1096
|
-
onReset?: import("react").
|
|
1097
|
-
onResetCapture?: import("react").
|
|
1098
|
-
onSubmit?: import("react").
|
|
1099
|
-
onSubmitCapture?: import("react").
|
|
1100
|
-
onInvalid?: import("react").
|
|
1101
|
-
onInvalidCapture?: import("react").
|
|
1107
|
+
onBeforeInputCapture?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
1108
|
+
onInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
1109
|
+
onInputCapture?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
1110
|
+
onReset?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
1111
|
+
onResetCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
1112
|
+
onSubmit?: import("react").SubmitEventHandler<HTMLDivElement> | undefined;
|
|
1113
|
+
onSubmitCapture?: import("react").SubmitEventHandler<HTMLDivElement> | undefined;
|
|
1114
|
+
onInvalid?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
1115
|
+
onInvalidCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
1102
1116
|
onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
1103
1117
|
onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
1104
1118
|
onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
@@ -1216,6 +1230,8 @@ export declare const DynamicCardWrapper: import("@emotion/styled").StyledCompone
|
|
|
1216
1230
|
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
1217
1231
|
onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
1218
1232
|
onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
1233
|
+
onScrollEnd?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
1234
|
+
onScrollEndCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
1219
1235
|
onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
1220
1236
|
onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
1221
1237
|
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
@@ -1223,8 +1239,16 @@ export declare const DynamicCardWrapper: import("@emotion/styled").StyledCompone
|
|
|
1223
1239
|
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
1224
1240
|
onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
1225
1241
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
1242
|
+
onToggle?: import("react").ToggleEventHandler<HTMLDivElement> | undefined;
|
|
1243
|
+
onBeforeToggle?: import("react").ToggleEventHandler<HTMLDivElement> | undefined;
|
|
1244
|
+
onTransitionCancel?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1245
|
+
onTransitionCancelCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1226
1246
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1227
1247
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1248
|
+
onTransitionRun?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1249
|
+
onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1250
|
+
onTransitionStart?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1251
|
+
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1228
1252
|
alignContent?: "center" | "initial" | "inherit" | "normal" | (string & {}) | "-moz-initial" | "revert" | "revert-layer" | "unset" | "end" | "flex-end" | "flex-start" | "start" | "baseline" | "stretch" | "space-around" | "space-between" | "space-evenly" | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignContent | undefined) | import("@codecademy/variance").BreakpointMap<import("csstype").Property.AlignContent | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignContent | undefined) | undefined> | import("@codecademy/variance").BreakpointArray<import("csstype").Property.AlignContent | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignContent | undefined) | undefined> | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignContent | undefined) | import("@codecademy/variance").BreakpointMap<import("csstype").Property.AlignContent | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignContent | undefined) | undefined> | import("@codecademy/variance").BreakpointArray<import("csstype").Property.AlignContent | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignContent | undefined) | undefined> | undefined;
|
|
1229
1253
|
alignItems?: "center" | "initial" | "inherit" | "normal" | (string & {}) | "-moz-initial" | "revert" | "revert-layer" | "unset" | "end" | "flex-end" | "flex-start" | "self-end" | "self-start" | "start" | "anchor-center" | "baseline" | "stretch" | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignItems | undefined) | import("@codecademy/variance").BreakpointMap<import("csstype").Property.AlignItems | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignItems | undefined) | undefined> | import("@codecademy/variance").BreakpointArray<import("csstype").Property.AlignItems | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignItems | undefined) | undefined> | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignItems | undefined) | import("@codecademy/variance").BreakpointMap<import("csstype").Property.AlignItems | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignItems | undefined) | undefined> | import("@codecademy/variance").BreakpointArray<import("csstype").Property.AlignItems | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignItems | undefined) | undefined> | undefined;
|
|
1230
1254
|
alignSelf?: "center" | "initial" | "inherit" | "normal" | (string & {}) | "-moz-initial" | "revert" | "revert-layer" | "unset" | "end" | "flex-end" | "flex-start" | "self-end" | "self-start" | "start" | "anchor-center" | "auto" | "baseline" | "stretch" | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | import("@codecademy/variance").BreakpointMap<import("csstype").Property.AlignSelf | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | undefined> | import("@codecademy/variance").BreakpointArray<import("csstype").Property.AlignSelf | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | undefined> | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | import("@codecademy/variance").BreakpointMap<import("csstype").Property.AlignSelf | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | undefined> | import("@codecademy/variance").BreakpointArray<import("csstype").Property.AlignSelf | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | undefined> | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | import("@codecademy/variance").BreakpointMap<import("csstype").Property.AlignSelf | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | undefined> | import("@codecademy/variance").BreakpointArray<import("csstype").Property.AlignSelf | ((theme: import("@emotion/react").Theme) => import("csstype").Property.AlignSelf | undefined) | undefined> | undefined;
|
|
@@ -1824,8 +1848,8 @@ export declare const DynamicCardWrapper: import("@emotion/styled").StyledCompone
|
|
|
1824
1848
|
context?: boolean | undefined;
|
|
1825
1849
|
"no-select"?: boolean | undefined;
|
|
1826
1850
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
1827
|
-
} & import("framer-motion/dist/types.d-
|
|
1828
|
-
children?: string | number | boolean | import("react").ReactElement<
|
|
1851
|
+
} & import("framer-motion/dist/types.d-DOCC-kZB").M, "children"> & {
|
|
1852
|
+
children?: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | import("react").ReactPortal | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("motion-dom").MotionValue<number> | import("motion-dom").MotionValue<string> | (string & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (string & Iterable<import("react").ReactNode>) | (string & import("react").ReactPortal) | (string & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (number & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (number & Iterable<import("react").ReactNode>) | (number & import("react").ReactPortal) | (number & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (bigint & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (bigint & Iterable<import("react").ReactNode>) | (bigint & import("react").ReactPortal) | (bigint & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (false & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (false & Iterable<import("react").ReactNode>) | (false & import("react").ReactPortal) | (false & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (true & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (true & Iterable<import("react").ReactNode>) | (true & import("react").ReactPortal) | (true & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & string) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & number) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & bigint) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & false) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & true) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & Iterable<import("react").ReactNode>) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & import("react").ReactPortal) | (import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (Iterable<import("react").ReactNode> & string) | (Iterable<import("react").ReactNode> & number) | (Iterable<import("react").ReactNode> & bigint) | (Iterable<import("react").ReactNode> & false) | (Iterable<import("react").ReactNode> & true) | (Iterable<import("react").ReactNode> & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (Iterable<import("react").ReactNode> & import("react").ReactPortal) | (Iterable<import("react").ReactNode> & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (import("react").ReactPortal & string) | (import("react").ReactPortal & number) | (import("react").ReactPortal & bigint) | (import("react").ReactPortal & false) | (import("react").ReactPortal & true) | (import("react").ReactPortal & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (import("react").ReactPortal & Iterable<import("react").ReactNode>) | (import("react").ReactPortal & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & string) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & number) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & bigint) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & false) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & true) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & Iterable<import("react").ReactNode>) | (Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> & import("react").ReactPortal) | (import("react").ReactNode[] & string) | (import("react").ReactNode[] & number) | (import("react").ReactNode[] & bigint) | (import("react").ReactNode[] & false) | (import("react").ReactNode[] & true) | (import("react").ReactNode[] & import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) | (import("react").ReactNode[] & Iterable<import("react").ReactNode>) | (import("react").ReactNode[] & import("react").ReactPortal) | (import("react").ReactNode[] & Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>) | null | undefined;
|
|
1829
1853
|
} & {
|
|
1830
1854
|
theme?: import("@emotion/react").Theme | undefined;
|
|
1831
1855
|
} & CardWrapperProps, {}, {}>;
|
|
@@ -1849,8 +1873,6 @@ export declare const StaticCardWrapper: import("@emotion/styled").StyledComponen
|
|
|
1849
1873
|
title?: string | undefined;
|
|
1850
1874
|
dir?: string | undefined;
|
|
1851
1875
|
className?: string | undefined;
|
|
1852
|
-
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
1853
|
-
key?: import("react").Key | null | undefined;
|
|
1854
1876
|
height?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
1855
1877
|
readonly property: {
|
|
1856
1878
|
readonly physical: "height";
|
|
@@ -1868,6 +1890,8 @@ export declare const StaticCardWrapper: import("@emotion/styled").StyledComponen
|
|
|
1868
1890
|
readonly transform: (value: string | number) => string | 0;
|
|
1869
1891
|
}>;
|
|
1870
1892
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
1893
|
+
ref?: import("react").Ref<HTMLDivElement> | undefined;
|
|
1894
|
+
key?: import("react").Key | null | undefined;
|
|
1871
1895
|
defaultChecked?: boolean | undefined;
|
|
1872
1896
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
1873
1897
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -1909,6 +1933,10 @@ export declare const StaticCardWrapper: import("@emotion/styled").StyledComponen
|
|
|
1909
1933
|
results?: number | undefined;
|
|
1910
1934
|
security?: string | undefined;
|
|
1911
1935
|
unselectable?: "off" | "on" | undefined;
|
|
1936
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
1937
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
1938
|
+
popoverTarget?: string | undefined;
|
|
1939
|
+
inert?: boolean | undefined;
|
|
1912
1940
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
1913
1941
|
is?: string | undefined;
|
|
1914
1942
|
exportparts?: string | undefined;
|
|
@@ -1984,18 +2012,18 @@ export declare const StaticCardWrapper: import("@emotion/styled").StyledComponen
|
|
|
1984
2012
|
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
1985
2013
|
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
1986
2014
|
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
1987
|
-
onChange?: import("react").
|
|
1988
|
-
onChangeCapture?: import("react").
|
|
2015
|
+
onChange?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
|
|
2016
|
+
onChangeCapture?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
|
|
1989
2017
|
onBeforeInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
1990
|
-
onBeforeInputCapture?: import("react").
|
|
1991
|
-
onInput?: import("react").
|
|
1992
|
-
onInputCapture?: import("react").
|
|
1993
|
-
onReset?: import("react").
|
|
1994
|
-
onResetCapture?: import("react").
|
|
1995
|
-
onSubmit?: import("react").
|
|
1996
|
-
onSubmitCapture?: import("react").
|
|
1997
|
-
onInvalid?: import("react").
|
|
1998
|
-
onInvalidCapture?: import("react").
|
|
2018
|
+
onBeforeInputCapture?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
2019
|
+
onInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
2020
|
+
onInputCapture?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
2021
|
+
onReset?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
2022
|
+
onResetCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
2023
|
+
onSubmit?: import("react").SubmitEventHandler<HTMLDivElement> | undefined;
|
|
2024
|
+
onSubmitCapture?: import("react").SubmitEventHandler<HTMLDivElement> | undefined;
|
|
2025
|
+
onInvalid?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
2026
|
+
onInvalidCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
1999
2027
|
onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
2000
2028
|
onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
2001
2029
|
onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
@@ -2113,6 +2141,8 @@ export declare const StaticCardWrapper: import("@emotion/styled").StyledComponen
|
|
|
2113
2141
|
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
2114
2142
|
onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
2115
2143
|
onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
2144
|
+
onScrollEnd?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
2145
|
+
onScrollEndCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
2116
2146
|
onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
2117
2147
|
onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
2118
2148
|
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
@@ -2120,8 +2150,16 @@ export declare const StaticCardWrapper: import("@emotion/styled").StyledComponen
|
|
|
2120
2150
|
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
2121
2151
|
onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
2122
2152
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
2153
|
+
onToggle?: import("react").ToggleEventHandler<HTMLDivElement> | undefined;
|
|
2154
|
+
onBeforeToggle?: import("react").ToggleEventHandler<HTMLDivElement> | undefined;
|
|
2155
|
+
onTransitionCancel?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
2156
|
+
onTransitionCancelCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
2123
2157
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
2124
2158
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
2159
|
+
onTransitionRun?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
2160
|
+
onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
2161
|
+
onTransitionStart?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
2162
|
+
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
2125
2163
|
alignContent?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
2126
2164
|
readonly property: "alignContent";
|
|
2127
2165
|
}>;
|
|
@@ -2714,7 +2752,7 @@ export declare const StaticCardWrapper: import("@emotion/styled").StyledComponen
|
|
|
2714
2752
|
theme?: import("@emotion/react").Theme | undefined;
|
|
2715
2753
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
2716
2754
|
variables?: import("@emotion/styled").CSSObject | undefined;
|
|
2717
|
-
} & import("framer-motion/dist/types.d-
|
|
2755
|
+
} & import("framer-motion/dist/types.d-DOCC-kZB").M, "children"> & {
|
|
2718
2756
|
children?: import("react").ReactNode | import("motion-dom").MotionValue<number> | import("motion-dom").MotionValue<string>;
|
|
2719
2757
|
} & {
|
|
2720
2758
|
theme?: import("@emotion/react").Theme | undefined;
|
package/dist/Card/types.d.ts
CHANGED
|
@@ -17,4 +17,4 @@ export interface CardWrapperProps extends StyleProps<typeof cardVariants>, Style
|
|
|
17
17
|
*/
|
|
18
18
|
pattern?: React.ComponentType<PatternProps>;
|
|
19
19
|
}
|
|
20
|
-
export type CardProps = Omit<React.ComponentProps<typeof DynamicCardWrapper>, 'bg'
|
|
20
|
+
export type CardProps = Omit<React.ComponentProps<typeof DynamicCardWrapper>, 'bg'>;
|
|
@@ -60,14 +60,6 @@ export interface ConnectedFormProps<Values extends {}> extends Omit<FormContextP
|
|
|
60
60
|
watchHandler: (arg0: Path<Values>[]) => void;
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
|
-
/**
|
|
64
|
-
* Explicit type for the ConnectedForm component so that declaration emission
|
|
65
|
-
* preserves the generic (Values) for consumers. Single-argument signature
|
|
66
|
-
* matches React 18/19 createElement(type, props); ref is passed via props.ref.
|
|
67
|
-
*/
|
|
68
|
-
export interface ConnectedFormComponent {
|
|
69
|
-
<Values extends FormValues<Values>>(props: ConnectedFormProps<Values> & React.RefAttributes<HTMLFormElement>): React.ReactElement;
|
|
70
|
-
}
|
|
71
63
|
export type FormProviderCustomProps = FormProviderProps & FormContextProps;
|
|
72
64
|
export declare const FormPropsContext: React.Context<Partial<FormContextProps>>;
|
|
73
|
-
export declare const ConnectedForm:
|
|
65
|
+
export declare const ConnectedForm: React.ForwardRefExoticComponent<ConnectedFormProps<FormValues<Record<string, unknown>>> & React.RefAttributes<HTMLFormElement>>;
|
|
@@ -3,12 +3,6 @@ import * as React from 'react';
|
|
|
3
3
|
import { FormProvider, useForm } from 'react-hook-form';
|
|
4
4
|
import { Form } from '../Form';
|
|
5
5
|
import { submitSuccessStatus } from './utils';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Explicit type for the ConnectedForm component so that declaration emission
|
|
9
|
-
* preserves the generic (Values) for consumers. Single-argument signature
|
|
10
|
-
* matches React 18/19 createElement(type, props); ref is passed via props.ref.
|
|
11
|
-
*/
|
|
12
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
7
|
export const FormPropsContext = /*#__PURE__*/React.createContext({});
|
|
14
8
|
const PropsProvider = FormPropsContext.Provider;
|
|
@@ -81,6 +75,4 @@ export const ConnectedForm = /*#__PURE__*/forwardRef(({
|
|
|
81
75
|
})
|
|
82
76
|
})
|
|
83
77
|
});
|
|
84
|
-
}
|
|
85
|
-
// CASS - come back to this
|
|
86
|
-
);
|
|
78
|
+
});
|
|
@@ -33,7 +33,13 @@ export declare const useConnectedForm: <Values extends {}, ValidationRules exten
|
|
|
33
33
|
watchHandler: (arg0: Path<Values>[]) => void;
|
|
34
34
|
} | undefined;
|
|
35
35
|
};
|
|
36
|
-
FormRequiredText: import("react").FC<Omit<
|
|
36
|
+
FormRequiredText: import("react").FC<(Omit<{
|
|
37
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
38
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
39
|
+
} & import("..").TextTruncateProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | keyof import("react").ClassAttributes<HTMLSpanElement>>, "ref"> | Omit<{
|
|
40
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
41
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
42
|
+
} & import("..").TextNoTruncateProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | keyof import("react").ClassAttributes<HTMLSpanElement>>, "ref">) & import("react").RefAttributes<HTMLSpanElement>>;
|
|
37
43
|
};
|
|
38
44
|
export declare const submitSuccessStatus: (wasSubmitSuccessful: boolean | undefined, isSubmitSuccessful: boolean | undefined) => boolean | undefined;
|
|
39
45
|
export declare const useFormState: () => {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ContentContainer: import("@emotion/styled").StyledComponent<
|
|
2
|
+
export declare const ContentContainer: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
4
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
-
} & 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" | "
|
|
6
|
-
ref?: import("react").LegacyRef<HTMLDivElement | null> | undefined;
|
|
7
|
-
} & {
|
|
5
|
+
} & 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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture"> & {
|
|
8
6
|
theme?: import("@emotion/react").Theme | undefined;
|
|
9
7
|
} & import("@codecademy/variance/dist/types/config").VariantProps<"size", false | "small" | "medium" | "wide">, {}, {}>;
|