@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.
Files changed (161) hide show
  1. package/dist/AccordionButtonDeprecated/ButtonDeprecated/index.d.ts +2 -2
  2. package/dist/AccordionButtonDeprecated/ButtonDeprecated/index.js +1 -1
  3. package/dist/Alert/Alert.d.ts +0 -1
  4. package/dist/Alert/elements.d.ts +29 -10
  5. package/dist/Alert/variants.d.ts +1 -2
  6. package/dist/Anchor/index.d.ts +35 -14
  7. package/dist/Anchor/index.js +3 -6
  8. package/dist/Animation/ExpandInCollapseOut.d.ts +0 -1
  9. package/dist/AppWrapper/index.d.ts +12 -5
  10. package/dist/AppWrapper/index.js +6 -8
  11. package/dist/Badge/index.d.ts +2 -3
  12. package/dist/Box/Box.d.ts +3 -4
  13. package/dist/Box/FlexBox.d.ts +3 -4
  14. package/dist/Box/GridBox.d.ts +3 -4
  15. package/dist/Box/props.d.ts +3 -3
  16. package/dist/Breadcrumbs/index.d.ts +5 -5
  17. package/dist/Breadcrumbs/index.js +2 -2
  18. package/dist/Button/CTAButton.d.ts +15 -7
  19. package/dist/Button/CTAButton.js +1 -5
  20. package/dist/Button/FillButton.d.ts +36 -9
  21. package/dist/Button/FillButton.js +2 -6
  22. package/dist/Button/IconButton.d.ts +43 -9
  23. package/dist/Button/IconButton.js +2 -6
  24. package/dist/Button/StrokeButton.d.ts +36 -9
  25. package/dist/Button/StrokeButton.js +2 -6
  26. package/dist/Button/TextButton.d.ts +36 -9
  27. package/dist/Button/TextButton.js +2 -6
  28. package/dist/Button/shared/InlineIconButton.d.ts +29 -10
  29. package/dist/Button/shared/InlineIconButton.js +1 -2
  30. package/dist/Button/shared/styles.d.ts +16 -13
  31. package/dist/Button/shared/types.d.ts +2 -4
  32. package/dist/Button/shared/variants.d.ts +6 -6
  33. package/dist/ButtonBase/ButtonBase.d.ts +12 -11
  34. package/dist/ButtonBase/ButtonBase.js +4 -8
  35. package/dist/Card/elements.d.ts +43 -87
  36. package/dist/Card/styles.d.ts +2 -2
  37. package/dist/ConnectedForm/ConnectedForm.d.ts +1 -1
  38. package/dist/ConnectedForm/ConnectedFormGroup.js +4 -3
  39. package/dist/ConnectedForm/ConnectedInputs/ConnectedNestedCheckboxes/utils.d.ts +0 -1
  40. package/dist/ConnectedForm/utils.d.ts +9 -3
  41. package/dist/ConnectedForm/utils.js +1 -1
  42. package/dist/ContentContainer/index.d.ts +6 -7
  43. package/dist/ContentContainer/index.js +3 -7
  44. package/dist/DataList/Tables/Rows/elements.d.ts +2 -3
  45. package/dist/DataList/hooks/useListControls.d.ts +1 -2
  46. package/dist/DataList/hooks/useListState.d.ts +0 -1
  47. package/dist/Disclosure/elements.d.ts +104 -26
  48. package/dist/Disclosure/helpers.d.ts +4 -4
  49. package/dist/Disclosure/types.d.ts +0 -1
  50. package/dist/Drawer/index.d.ts +0 -1
  51. package/dist/FeatureShimmer/index.d.ts +0 -1
  52. package/dist/Form/SelectDropdown/SelectDropdown.js +1 -1
  53. package/dist/Form/SelectDropdown/elements/constants.d.ts +0 -1
  54. package/dist/Form/SelectDropdown/elements/containers.d.ts +0 -1
  55. package/dist/Form/SelectDropdown/elements/containers.js +1 -1
  56. package/dist/Form/SelectDropdown/elements/controls.js +1 -1
  57. package/dist/Form/SelectDropdown/elements/multi-value.js +1 -1
  58. package/dist/Form/SelectDropdown/styles.d.ts +1 -1
  59. package/dist/Form/SelectDropdown/utils.d.ts +2 -2
  60. package/dist/Form/SelectDropdown/utils.js +2 -1
  61. package/dist/Form/__fixtures__/utils.d.ts +0 -1
  62. package/dist/Form/elements/Form.d.ts +4 -4
  63. package/dist/Form/elements/FormError.d.ts +1 -1
  64. package/dist/Form/elements/FormGroup.d.ts +5 -5
  65. package/dist/Form/elements/FormGroupDescription.d.ts +3 -4
  66. package/dist/Form/elements/FormGroupLabel.d.ts +2 -2
  67. package/dist/Form/inputs/Checkbox.d.ts +1 -2
  68. package/dist/Form/inputs/Checkbox.js +9 -10
  69. package/dist/Form/inputs/Input.d.ts +4 -8
  70. package/dist/Form/inputs/Radio.d.ts +8 -8
  71. package/dist/Form/inputs/Select.d.ts +5 -2
  72. package/dist/Form/inputs/Select.js +5 -6
  73. package/dist/Form/inputs/TextArea.d.ts +4 -2
  74. package/dist/Form/inputs/TextArea.js +3 -4
  75. package/dist/Form/styles/Checkbox-styles.d.ts +8 -16
  76. package/dist/Form/styles/Radio-styles.d.ts +4 -8
  77. package/dist/Form/styles/shared-system-props.d.ts +7 -12
  78. package/dist/GridForm/GridFormButtons/index.d.ts +34 -2
  79. package/dist/GridForm/GridFormInputGroup/__fixtures__/assertions.d.ts +2 -2
  80. package/dist/GridForm/GridFormSections/GridFormSectionBreak.d.ts +2 -2
  81. package/dist/HiddenText/index.d.ts +4 -5
  82. package/dist/HiddenText/index.js +7 -11
  83. package/dist/InternalFloatingCard/InternalFloatingCard.d.ts +4 -4
  84. package/dist/Layout/Column.d.ts +6 -4
  85. package/dist/Layout/Column.js +3 -4
  86. package/dist/Layout/LayoutGrid.d.ts +5 -3
  87. package/dist/Layout/LayoutGrid.js +3 -4
  88. package/dist/List/Header/ListHeaderCol.d.ts +1 -2
  89. package/dist/List/Header/ListHeaderCol.js +2 -3
  90. package/dist/List/ListCol.d.ts +1 -2
  91. package/dist/List/ListCol.js +2 -3
  92. package/dist/List/ListProvider.d.ts +0 -1
  93. package/dist/List/TableHeader.d.ts +1 -2
  94. package/dist/List/TableHeader.js +2 -3
  95. package/dist/List/elements.d.ts +46 -64
  96. package/dist/List/hooks.d.ts +1 -2
  97. package/dist/Menu/Menu.d.ts +4 -7
  98. package/dist/Menu/Menu.js +2 -5
  99. package/dist/Menu/MenuContext.d.ts +0 -1
  100. package/dist/Menu/MenuItem.d.ts +1 -3
  101. package/dist/Menu/MenuItem.js +2 -3
  102. package/dist/Menu/elements.d.ts +15 -15
  103. package/dist/Modals/Dialog.js +2 -1
  104. package/dist/Modals/Modal.js +2 -1
  105. package/dist/Modals/elements.d.ts +3 -4
  106. package/dist/Pagination/AnimatedPaginationButtons.d.ts +160 -177
  107. package/dist/Pagination/EllipsisButton.d.ts +38 -8
  108. package/dist/Pagination/EllipsisButton.js +1 -4
  109. package/dist/Pagination/PaginationButton.d.ts +57 -18
  110. package/dist/Pagination/PaginationButton.js +2 -6
  111. package/dist/Pagination/styles.d.ts +4 -4
  112. package/dist/Pagination/utils.d.ts +162 -177
  113. package/dist/Popover/Popover.d.ts +0 -1
  114. package/dist/Popover/elements.d.ts +18 -19
  115. package/dist/Popover/styles/base.d.ts +2 -2
  116. package/dist/Popover/styles/beak.d.ts +1 -1
  117. package/dist/Popover/styles/variants.d.ts +6 -6
  118. package/dist/Popover/utils.d.ts +1 -1
  119. package/dist/PopoverContainer/hooks.d.ts +0 -1
  120. package/dist/PopoverContainer/hooks.js +2 -1
  121. package/dist/PopoverContainer/utils.d.ts +1 -1
  122. package/dist/SkipToContent/index.d.ts +2 -2
  123. package/dist/Tabs/TabButton.d.ts +15 -5
  124. package/dist/Tabs/TabButton.js +3 -4
  125. package/dist/Tabs/TabNav.d.ts +5 -4
  126. package/dist/Tabs/TabNav.js +3 -4
  127. package/dist/Tabs/TabNavLink.d.ts +17 -7
  128. package/dist/Tabs/TabNavLink.js +1 -4
  129. package/dist/Tabs/TabPanels.d.ts +5 -4
  130. package/dist/Tabs/TabPanels.js +3 -4
  131. package/dist/Tabs/TabProvider.d.ts +0 -1
  132. package/dist/Tabs/styles.d.ts +2 -2
  133. package/dist/Tag/elements.d.ts +73 -21
  134. package/dist/Tag/index.js +1 -1
  135. package/dist/Tag/styles.d.ts +12 -22
  136. package/dist/Tip/InfoTip/InfoTipButton.d.ts +39 -9
  137. package/dist/Tip/InfoTip/InfoTipButton.js +2 -6
  138. package/dist/Tip/InfoTip/index.d.ts +0 -1
  139. package/dist/Tip/InfoTip/styles.d.ts +9 -12
  140. package/dist/Tip/PreviewTip/elements.d.ts +32 -8
  141. package/dist/Tip/PreviewTip/utils.d.ts +1 -1
  142. package/dist/Tip/ToolTip/elements.d.ts +4 -5
  143. package/dist/Tip/ToolTip/index.d.ts +0 -1
  144. package/dist/Tip/__tests__/helpers.d.ts +6 -6
  145. package/dist/Tip/shared/InlineTip.d.ts +0 -1
  146. package/dist/Tip/shared/elements.d.ts +22 -23
  147. package/dist/Tip/shared/styles/composeVariantsUtils.d.ts +2 -2
  148. package/dist/Tip/shared/styles/styles.d.ts +4 -4
  149. package/dist/Tip/shared/utils.d.ts +0 -1
  150. package/dist/Tip/shared/utils.js +1 -1
  151. package/dist/Toggle/elements.d.ts +12 -13
  152. package/dist/Toggle/utils.d.ts +1 -1
  153. package/dist/Typography/Text.d.ts +11 -8
  154. package/dist/Typography/Text.js +3 -6
  155. package/dist/Video/lib/ReactPlayer.d.ts +2 -3
  156. package/dist/Video/lib/VideoLayout.d.ts +0 -1
  157. package/dist/utils/nullish.d.ts +10 -0
  158. package/dist/utils/nullish.js +11 -0
  159. package/dist/utils/react.js +2 -1
  160. package/dist/utils/types.d.ts +0 -1
  161. package/package.json +8 -8
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
- /// <reference types="react" />
3
1
  import { CardWrapperProps } from './types';
4
2
  export declare const MotionBox: import("react").ComponentType<Omit<{
5
3
  color?: import("@codecademy/variance/dist/types/config").Scale<{
@@ -54,7 +52,7 @@ export declare const MotionBox: import("react").ComponentType<Omit<{
54
52
  readonly transform: (value: string | number) => string | 0;
55
53
  }>;
56
54
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
57
- ref?: import("react").Ref<HTMLDivElement> | undefined;
55
+ ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
58
56
  key?: import("react").Key | null | undefined;
59
57
  defaultChecked?: boolean | undefined;
60
58
  defaultValue?: string | number | readonly string[] | undefined;
@@ -97,10 +95,6 @@ export declare const MotionBox: import("react").ComponentType<Omit<{
97
95
  results?: number | undefined;
98
96
  security?: string | undefined;
99
97
  unselectable?: "off" | "on" | undefined;
100
- popover?: "" | "auto" | "manual" | "hint" | undefined;
101
- popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
102
- popoverTarget?: string | undefined;
103
- inert?: boolean | undefined;
104
98
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
105
99
  is?: string | undefined;
106
100
  exportparts?: string | undefined;
@@ -176,18 +170,18 @@ export declare const MotionBox: import("react").ComponentType<Omit<{
176
170
  onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
177
171
  onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
178
172
  onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
179
- onChange?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
180
- onChangeCapture?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
173
+ onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
174
+ onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
181
175
  onBeforeInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
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;
176
+ onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
177
+ onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
178
+ onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
179
+ onReset?: import("react").FormEventHandler<HTMLDivElement> | undefined;
180
+ onResetCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
181
+ onSubmit?: import("react").FormEventHandler<HTMLDivElement> | undefined;
182
+ onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
183
+ onInvalid?: import("react").FormEventHandler<HTMLDivElement> | undefined;
184
+ onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
191
185
  onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
192
186
  onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
193
187
  onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
@@ -305,8 +299,6 @@ export declare const MotionBox: import("react").ComponentType<Omit<{
305
299
  onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
306
300
  onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
307
301
  onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
308
- onScrollEnd?: import("react").UIEventHandler<HTMLDivElement> | undefined;
309
- onScrollEndCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
310
302
  onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
311
303
  onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
312
304
  onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
@@ -314,16 +306,8 @@ export declare const MotionBox: import("react").ComponentType<Omit<{
314
306
  onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
315
307
  onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
316
308
  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;
321
309
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
322
310
  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;
327
311
  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;
328
312
  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;
329
313
  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;
@@ -923,8 +907,8 @@ export declare const MotionBox: import("react").ComponentType<Omit<{
923
907
  context?: boolean | undefined;
924
908
  "no-select"?: boolean | undefined;
925
909
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
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;
910
+ } & import("framer-motion").MotionProps, "children"> & {
911
+ children?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | import("react").ReactPortal | import("motion-dom").MotionValue<number> | import("motion-dom").MotionValue<string> | (string & import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | (string & Iterable<import("react").ReactNode>) | (string & import("react").ReactPortal) | (number & import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | (number & Iterable<import("react").ReactNode>) | (number & import("react").ReactPortal) | (false & import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | (false & Iterable<import("react").ReactNode>) | (false & import("react").ReactPortal) | (true & import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | (true & Iterable<import("react").ReactNode>) | (true & import("react").ReactPortal) | (import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & string) | (import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & number) | (import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & false) | (import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & true) | (import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & Iterable<import("react").ReactNode>) | (import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & import("react").ReactPortal) | (Iterable<import("react").ReactNode> & string) | (Iterable<import("react").ReactNode> & number) | (Iterable<import("react").ReactNode> & false) | (Iterable<import("react").ReactNode> & true) | (Iterable<import("react").ReactNode> & import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | (Iterable<import("react").ReactNode> & import("react").ReactPortal) | (import("react").ReactPortal & string) | (import("react").ReactPortal & number) | (import("react").ReactPortal & false) | (import("react").ReactPortal & true) | (import("react").ReactPortal & import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | (import("react").ReactPortal & Iterable<import("react").ReactNode>) | (import("react").ReactNode[] & string) | (import("react").ReactNode[] & number) | (import("react").ReactNode[] & false) | (import("react").ReactNode[] & true) | (import("react").ReactNode[] & import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | (import("react").ReactNode[] & Iterable<import("react").ReactNode>) | (import("react").ReactNode[] & import("react").ReactPortal) | null | undefined;
928
912
  }>;
929
913
  export declare const DynamicCardWrapper: import("@emotion/styled").StyledComponent<Omit<{
930
914
  color?: import("@codecademy/variance/dist/types/config").Scale<{
@@ -979,7 +963,7 @@ export declare const DynamicCardWrapper: import("@emotion/styled").StyledCompone
979
963
  readonly transform: (value: string | number) => string | 0;
980
964
  }>;
981
965
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
982
- ref?: import("react").Ref<HTMLDivElement> | undefined;
966
+ ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
983
967
  key?: import("react").Key | null | undefined;
984
968
  defaultChecked?: boolean | undefined;
985
969
  defaultValue?: string | number | readonly string[] | undefined;
@@ -1022,10 +1006,6 @@ export declare const DynamicCardWrapper: import("@emotion/styled").StyledCompone
1022
1006
  results?: number | undefined;
1023
1007
  security?: string | undefined;
1024
1008
  unselectable?: "off" | "on" | undefined;
1025
- popover?: "" | "auto" | "manual" | "hint" | undefined;
1026
- popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
1027
- popoverTarget?: string | undefined;
1028
- inert?: boolean | undefined;
1029
1009
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
1030
1010
  is?: string | undefined;
1031
1011
  exportparts?: string | undefined;
@@ -1101,18 +1081,18 @@ export declare const DynamicCardWrapper: import("@emotion/styled").StyledCompone
1101
1081
  onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
1102
1082
  onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
1103
1083
  onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
1104
- onChange?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
1105
- onChangeCapture?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
1084
+ onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1085
+ onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1106
1086
  onBeforeInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
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;
1087
+ onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1088
+ onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1089
+ onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1090
+ onReset?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1091
+ onResetCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1092
+ onSubmit?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1093
+ onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1094
+ onInvalid?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1095
+ onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1116
1096
  onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
1117
1097
  onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
1118
1098
  onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
@@ -1230,8 +1210,6 @@ export declare const DynamicCardWrapper: import("@emotion/styled").StyledCompone
1230
1210
  onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
1231
1211
  onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
1232
1212
  onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
1233
- onScrollEnd?: import("react").UIEventHandler<HTMLDivElement> | undefined;
1234
- onScrollEndCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
1235
1213
  onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
1236
1214
  onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
1237
1215
  onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
@@ -1239,16 +1217,8 @@ export declare const DynamicCardWrapper: import("@emotion/styled").StyledCompone
1239
1217
  onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
1240
1218
  onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
1241
1219
  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;
1246
1220
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
1247
1221
  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;
1252
1222
  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;
1253
1223
  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;
1254
1224
  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;
@@ -1848,10 +1818,10 @@ export declare const DynamicCardWrapper: import("@emotion/styled").StyledCompone
1848
1818
  context?: boolean | undefined;
1849
1819
  "no-select"?: boolean | undefined;
1850
1820
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
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;
1821
+ } & import("framer-motion").MotionProps, "children"> & {
1822
+ children?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | import("react").ReactPortal | import("motion-dom").MotionValue<number> | import("motion-dom").MotionValue<string> | (string & import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | (string & Iterable<import("react").ReactNode>) | (string & import("react").ReactPortal) | (number & import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | (number & Iterable<import("react").ReactNode>) | (number & import("react").ReactPortal) | (false & import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | (false & Iterable<import("react").ReactNode>) | (false & import("react").ReactPortal) | (true & import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | (true & Iterable<import("react").ReactNode>) | (true & import("react").ReactPortal) | (import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & string) | (import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & number) | (import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & false) | (import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & true) | (import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & Iterable<import("react").ReactNode>) | (import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & import("react").ReactPortal) | (Iterable<import("react").ReactNode> & string) | (Iterable<import("react").ReactNode> & number) | (Iterable<import("react").ReactNode> & false) | (Iterable<import("react").ReactNode> & true) | (Iterable<import("react").ReactNode> & import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | (Iterable<import("react").ReactNode> & import("react").ReactPortal) | (import("react").ReactPortal & string) | (import("react").ReactPortal & number) | (import("react").ReactPortal & false) | (import("react").ReactPortal & true) | (import("react").ReactPortal & import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | (import("react").ReactPortal & Iterable<import("react").ReactNode>) | (import("react").ReactNode[] & string) | (import("react").ReactNode[] & number) | (import("react").ReactNode[] & false) | (import("react").ReactNode[] & true) | (import("react").ReactNode[] & import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | (import("react").ReactNode[] & Iterable<import("react").ReactNode>) | (import("react").ReactNode[] & import("react").ReactPortal) | null | undefined;
1853
1823
  } & {
1854
- theme?: import("@emotion/react").Theme | undefined;
1824
+ theme?: import("@emotion/react").Theme;
1855
1825
  } & CardWrapperProps, {}, {}>;
1856
1826
  export declare const StaticCardWrapper: import("@emotion/styled").StyledComponent<Omit<{
1857
1827
  color?: import("@codecademy/variance/dist/types/config").Scale<{
@@ -1890,7 +1860,7 @@ export declare const StaticCardWrapper: import("@emotion/styled").StyledComponen
1890
1860
  readonly transform: (value: string | number) => string | 0;
1891
1861
  }>;
1892
1862
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
1893
- ref?: import("react").Ref<HTMLDivElement> | undefined;
1863
+ ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
1894
1864
  key?: import("react").Key | null | undefined;
1895
1865
  defaultChecked?: boolean | undefined;
1896
1866
  defaultValue?: string | number | readonly string[] | undefined;
@@ -1933,10 +1903,6 @@ export declare const StaticCardWrapper: import("@emotion/styled").StyledComponen
1933
1903
  results?: number | undefined;
1934
1904
  security?: string | undefined;
1935
1905
  unselectable?: "off" | "on" | undefined;
1936
- popover?: "" | "auto" | "manual" | "hint" | undefined;
1937
- popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
1938
- popoverTarget?: string | undefined;
1939
- inert?: boolean | undefined;
1940
1906
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
1941
1907
  is?: string | undefined;
1942
1908
  exportparts?: string | undefined;
@@ -2012,18 +1978,18 @@ export declare const StaticCardWrapper: import("@emotion/styled").StyledComponen
2012
1978
  onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
2013
1979
  onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
2014
1980
  onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
2015
- onChange?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
2016
- onChangeCapture?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
1981
+ onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1982
+ onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
2017
1983
  onBeforeInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
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;
1984
+ onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1985
+ onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1986
+ onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1987
+ onReset?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1988
+ onResetCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1989
+ onSubmit?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1990
+ onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1991
+ onInvalid?: import("react").FormEventHandler<HTMLDivElement> | undefined;
1992
+ onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
2027
1993
  onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
2028
1994
  onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
2029
1995
  onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
@@ -2141,8 +2107,6 @@ export declare const StaticCardWrapper: import("@emotion/styled").StyledComponen
2141
2107
  onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
2142
2108
  onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
2143
2109
  onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
2144
- onScrollEnd?: import("react").UIEventHandler<HTMLDivElement> | undefined;
2145
- onScrollEndCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
2146
2110
  onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
2147
2111
  onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
2148
2112
  onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
@@ -2150,16 +2114,8 @@ export declare const StaticCardWrapper: import("@emotion/styled").StyledComponen
2150
2114
  onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
2151
2115
  onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
2152
2116
  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;
2157
2117
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
2158
2118
  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;
2163
2119
  alignContent?: import("@codecademy/variance/dist/types/config").Scale<{
2164
2120
  readonly property: "alignContent";
2165
2121
  }>;
@@ -2752,8 +2708,8 @@ export declare const StaticCardWrapper: import("@emotion/styled").StyledComponen
2752
2708
  theme?: import("@emotion/react").Theme | undefined;
2753
2709
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
2754
2710
  variables?: import("@emotion/styled").CSSObject | undefined;
2755
- } & import("framer-motion/dist/types.d-DOCC-kZB").M, "children"> & {
2711
+ } & import("framer-motion").MotionProps, "children"> & {
2756
2712
  children?: import("react").ReactNode | import("motion-dom").MotionValue<number> | import("motion-dom").MotionValue<string>;
2757
2713
  } & {
2758
- theme?: import("@emotion/react").Theme | undefined;
2714
+ theme?: import("@emotion/react").Theme;
2759
2715
  } & CardWrapperProps, {}, {}>;
@@ -1,8 +1,8 @@
1
1
  export declare const cardVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"variant", false | "beige" | "hyper" | "navy" | "yellow" | "white" | "default"> & {
2
- theme?: import("@emotion/react").Theme | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
3
  }) => import("@codecademy/variance").CSSObject;
4
4
  export declare const shadowVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"shadow", false | "outline" | "none" | "patternLeft" | "patternRight"> & {
5
- theme?: import("@emotion/react").Theme | undefined;
5
+ theme?: import("@emotion/react").Theme;
6
6
  }) => import("@codecademy/variance").CSSObject;
7
7
  export declare const patternFadeInOut: {
8
8
  initial: {
@@ -62,4 +62,4 @@ export interface ConnectedFormProps<Values extends {}> extends Omit<FormContextP
62
62
  }
63
63
  export type FormProviderCustomProps = FormProviderProps & FormContextProps;
64
64
  export declare const FormPropsContext: React.Context<Partial<FormContextProps>>;
65
- export declare const ConnectedForm: React.ForwardRefExoticComponent<ConnectedFormProps<FormValues<Record<string, unknown>>> & React.RefAttributes<HTMLFormElement>>;
65
+ export declare const ConnectedForm: <Values extends FormValues<Values>>(props: React.PropsWithoutRef<ConnectedFormProps<Values>> & React.RefAttributes<HTMLFormElement>) => React.ReactElement;
@@ -13,7 +13,7 @@ const ErrorAnchor = /*#__PURE__*/_styled(Anchor, {
13
13
  label: "ErrorAnchor"
14
14
  })(css({
15
15
  color: 'feedback-error'
16
- }), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Db25uZWN0ZWRGb3JtL0Nvbm5lY3RlZEZvcm1Hcm91cC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBYW9CIiwiZmlsZSI6Ii4uLy4uL3NyYy9Db25uZWN0ZWRGb3JtL0Nvbm5lY3RlZEZvcm1Hcm91cC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dC1zdHlsZXMnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgdXNlRWZmZWN0IH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSAncmVhY3QnO1xuXG5pbXBvcnQgeyBGb3JtRXJyb3IsIEZvcm1Hcm91cCwgRm9ybUdyb3VwTGFiZWwsIEZvcm1Hcm91cFByb3BzIH0gZnJvbSAnLi4nO1xuaW1wb3J0IHsgQW5jaG9yIH0gZnJvbSAnLi4vQW5jaG9yJztcbmltcG9ydCB7IEhpZGRlblRleHQgfSBmcm9tICcuLi9IaWRkZW5UZXh0JztcbmltcG9ydCB7IE1hcmtkb3duIH0gZnJvbSAnLi4vTWFya2Rvd24nO1xuaW1wb3J0IHsgSW5mb1RpcFN1YkNvbXBvbmVudFByb3BzIH0gZnJvbSAnLi4vVGlwL0luZm9UaXAvdHlwZS11dGlscyc7XG5pbXBvcnQgeyBDb25uZWN0ZWRGaWVsZCwgRmllbGRQcm9wcywgU3VibWl0Q29udGV4dFByb3BzIH0gZnJvbSAnLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRFcnJvck1lc3NhZ2UsIHVzZUZpZWxkIH0gZn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kfVxuICAgICAgICBuYW1lPXtuYW1lfVxuICAgICAgLz5cbiAgICAgIHtjaGlsZHJlbn1cbiAgICAgIHtzaG93RXJyb3IgJiYgKFxuICAgICAgICA8Rm9ybUVycm9yXG4gICAgICAgICAgYXJpYS1saXZlPXtpc0ZpcnN0RXJyb3IgPyAnYXNzZXJ0aXZlJyA6ICdvZmYnfVxuICAgICAgICAgIGlkPXtlcnJvcklkfVxuICAgICAgICAgIHJvbGU9e2lzRmlyc3RFcnJvciA/ICdhbGVydCcgOiAnc3RhdHVzJ31cbiAgICAgICAgICB2YXJpYW50PXtlcnJvclR5cGV9XG4gICAgICAgID5cbiAgICAgICAgICA8TWFya2Rvd25cbiAgICAgICAgICAgIGlubGluZVxuICAgICAgICAgICAgb3ZlcnJpZGVzPXt7XG4gICAgICAgICAgICAgIGE6IHtcbiAgICAgICAgICAgICAgICBhbGxvd2VkQXR0cmlidXRlczogWydocmVmJywgJ3RhcmdldCddLFxuICAgICAgICAgICAgICAgIGNvbXBvbmVudDogRXJyb3JBbmNob3IsXG4gICAgICAgICAgICAgICAgcHJvY2Vzc05vZGU6IChcbiAgICAgICAgICAgICAgICAgIG5vZGU6IHVua25vd24sXG4gICAgICAgICAgICAgICAgICBwcm9wczogeyBvbkNsaWNrPzogKCkgPT4gdm9pZCB9XG4gICAgICAgICAgICAgICAgKSA9PiB7XG4gICAgICAgICAgICAgICAgICBjb25zdCB7IGtleTogZWxlbWVudEtleSwgLi4ucmVzdCB9ID1cbiAgICAgICAgICAgICAgICAgICAgcHJvcHMgYXMgUmVhY3QuQ29tcG9uZW50UHJvcHM8dHlwZW9mIEVycm9yQW5jaG9yPiAmIHtcbiAgICAgICAgICAgICAgICAgICAgICBrZXk/OiBSZWFjdC5LZXk7XG4gICAgICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICAgICByZXR1cm4gPEVycm9yQW5jaG9yIGtleT17ZWxlbWVudEtleX0gey4uLnJlc3R9IC8+O1xuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9fVxuICAgICAgICAgICAgc2tpcERlZmF1bHRPdmVycmlkZXM9e3sgYTogdHJ1ZSB9fVxuICAgICAgICAgICAgc3BhY2luZz1cIm5vbmVcIlxuICAgICAgICAgICAgdGV4dD17dGV4dEVycm9yfVxuICAgICAgICAgIC8+XG4gICAgICAgIDwvRm9ybUVycm9yPlxuICAgICAgKX1cbiAgICA8L0Zvcm1Hcm91cD5cbiAgKTtcbn1cbiJdfQ== */");
16
+ }), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Db25uZWN0ZWRGb3JtL0Nvbm5lY3RlZEZvcm1Hcm91cC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBYW9CIiwiZmlsZSI6Ii4uLy4uL3NyYy9Db25uZWN0ZWRGb3JtL0Nvbm5lY3RlZEZvcm1Hcm91cC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dC1zdHlsZXMnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgdXNlRWZmZWN0IH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSAncmVhY3QnO1xuXG5pbXBvcnQgeyBGb3JtRXJyb3IsIEZvcm1Hcm91cCwgRm9ybUdyb3VwTGFiZWwsIEZvcm1Hcm91cFByb3BzIH0gZnJvbSAnLi4nO1xuaW1wb3J0IHsgQW5jaG9yIH0gZnJvbSAnLi4vQW5jaG9yJztcbmltcG9ydCB7IEhpZGRlblRleHQgfSBmcm9tICcuLi9IaWRkZW5UZXh0JztcbmltcG9ydCB7IE1hcmtkb3duIH0gZnJvbSAnLi4vTWFya2Rvd24nO1xuaW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GVMYWJlbCA/ICd0aWdodCcgOiBzcGFjaW5nfT5cbiAgICAgIHtoaWRlTGFiZWwgPyA8SGlkZGVuVGV4dD57cmVuZGVyZWRMYWJlbH08L0hpZGRlblRleHQ+IDogcmVuZGVyZWRMYWJlbH1cbiAgICAgIDxDb21wb25lbnRcbiAgICAgICAgey4uLihyZXN0IGFzIGFueSl9XG4gICAgICAgIGFyaWEtZGVzY3JpYmVkYnk9e2Vycm9ySWR9XG4gICAgICAgIGFyaWEtaW52YWxpZD17c2hvd0Vycm9yfVxuICAgICAgICBkaXNhYmxlZD17ZGlzYWJsZWR9XG4gICAgICAgIG5hbWU9e25hbWV9XG4gICAgICAvPlxuICAgICAge2NoaWxkcmVufVxuICAgICAge3Nob3dFcnJvciAmJiAoXG4gICAgICAgIDxGb3JtRXJyb3JcbiAgICAgICAgICBhcmlhLWxpdmU9e2lzRmlyc3RFcnJvciA/ICdhc3NlcnRpdmUnIDogJ29mZid9XG4gICAgICAgICAgaWQ9e2Vycm9ySWR9XG4gICAgICAgICAgcm9sZT17aXNGaXJzdEVycm9yID8gJ2FsZXJ0JyA6ICdzdGF0dXMnfVxuICAgICAgICAgIHZhcmlhbnQ9e2Vycm9yVHlwZX1cbiAgICAgICAgPlxuICAgICAgICAgIDxNYXJrZG93blxuICAgICAgICAgICAgaW5saW5lXG4gICAgICAgICAgICBvdmVycmlkZXM9e3tcbiAgICAgICAgICAgICAgYToge1xuICAgICAgICAgICAgICAgIGFsbG93ZWRBdHRyaWJ1dGVzOiBbJ2hyZWYnLCAndGFyZ2V0J10sXG4gICAgICAgICAgICAgICAgY29tcG9uZW50OiBFcnJvckFuY2hvcixcbiAgICAgICAgICAgICAgICBwcm9jZXNzTm9kZTogKFxuICAgICAgICAgICAgICAgICAgbm9kZTogdW5rbm93bixcbiAgICAgICAgICAgICAgICAgIHByb3BzOiB7IG9uQ2xpY2s/OiAoKSA9PiB2b2lkIH1cbiAgICAgICAgICAgICAgICApID0+IHtcbiAgICAgICAgICAgICAgICAgIGNvbnN0IHsga2V5OiBlbGVtZW50S2V5LCAuLi5yZXN0IH0gPVxuICAgICAgICAgICAgICAgICAgICBwcm9wcyBhcyBSZWFjdC5Db21wb25lbnRQcm9wczx0eXBlb2YgRXJyb3JBbmNob3I+ICYge1xuICAgICAgICAgICAgICAgICAgICAgIGtleT86IFJlYWN0LktleTtcbiAgICAgICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICAgIHJldHVybiA8RXJyb3JBbmNob3Iga2V5PXtlbGVtZW50S2V5fSB7Li4ucmVzdH0gLz47XG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIH19XG4gICAgICAgICAgICBza2lwRGVmYXVsdE92ZXJyaWRlcz17eyBhOiB0cnVlIH19XG4gICAgICAgICAgICBzcGFjaW5nPVwibm9uZVwiXG4gICAgICAgICAgICB0ZXh0PXt0ZXh0RXJyb3J9XG4gICAgICAgICAgLz5cbiAgICAgICAgPC9Gb3JtRXJyb3I+XG4gICAgICApfVxuICAgIDwvRm9ybUdyb3VwPlxuICApO1xufVxuIl19 */");
17
17
  export function ConnectedFormGroup({
18
18
  customError,
19
19
  children,
@@ -29,6 +29,7 @@ export function ConnectedFormGroup({
29
29
  isSoloField,
30
30
  infotip
31
31
  }) {
32
+ const fieldId = typeof id === 'string' && id !== '' ? id : name;
32
33
  const {
33
34
  error,
34
35
  isFirstError,
@@ -53,7 +54,7 @@ export function ConnectedFormGroup({
53
54
  }, [customError, name, setError]);
54
55
  const renderedLabel = /*#__PURE__*/_jsx(FormGroupLabel, {
55
56
  disabled: isDisabled,
56
- htmlFor: id || name,
57
+ htmlFor: fieldId,
57
58
  infotip: infotip,
58
59
  isSoloField: isSoloField,
59
60
  required: !!validation?.required,
@@ -62,7 +63,7 @@ export function ConnectedFormGroup({
62
63
  });
63
64
  const textError = customError || getErrorMessage(error);
64
65
  const showError = !!(textError && !hideLabel);
65
- const errorId = showError ? `${id || name}_error` : undefined;
66
+ const errorId = showError ? `${fieldId}_error` : undefined;
66
67
  return /*#__PURE__*/_jsxs(FormGroup, {
67
68
  spacing: hideLabel ? 'tight' : spacing,
68
69
  children: [hideLabel ? /*#__PURE__*/_jsx(HiddenText, {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CheckboxLabelUnion } from '../../..';
3
2
  import { NestedGridFormCheckboxOption } from '../../../GridForm/types';
4
3
  import { MinimalCheckboxProps, NestedConnectedCheckboxOption } from '../types';
@@ -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<import("..").TextComponentProps & import("react").RefAttributes<HTMLSpanElement>>;
36
+ FormRequiredText: import("react").FC<(Omit<{
37
+ theme?: import("@emotion/react").Theme;
38
+ as?: React.ElementType;
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" | "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" | keyof import("react").ClassAttributes<HTMLSpanElement>>, "ref"> | Omit<{
40
+ theme?: import("@emotion/react").Theme;
41
+ as?: React.ElementType;
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" | "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" | 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: () => {
@@ -52,7 +58,7 @@ export declare const useFormState: () => {
52
58
  setValue: import("react-hook-form").UseFormSetValue<import("react-hook-form").FieldValues>;
53
59
  useFieldArray: typeof useFieldArray;
54
60
  validationRules: {
55
- string?: RegisterOptions | undefined;
61
+ string?: RegisterOptions;
56
62
  } | undefined;
57
63
  watch: import("react-hook-form").UseFormWatch<import("react-hook-form").FieldValues>;
58
64
  };
@@ -105,7 +111,7 @@ export declare const USE_DEBOUNCED_FIELD_DIRTY_KEY = "";
105
111
  * for something that I think could be modified to make this better
106
112
  * but I couldn't get it to work
107
113
  */
108
- type InputTypes = Extract<HTMLInputTypeAttribute, 'number' | 'color' | 'date' | 'datetime-local' | 'time' | 'image' | 'checkbox' | 'text' | 'hidden' | 'password' | 'radio' | 'range' | 'email' | 'search' | 'month' | 'tel' | 'time' | 'url' | 'week'> | 'textarea' | 'select';
114
+ type InputTypes = Extract<HTMLInputTypeAttribute, 'number' | 'color' | 'date' | 'datetime-local' | 'time' | 'image' | 'checkbox' | 'text' | 'hidden' | 'password' | 'radio' | 'range' | 'email' | 'search' | 'month' | 'tel' | 'url' | 'week'> | 'textarea' | 'select';
109
115
  type DebouncedFieldProps<T extends InputTypes> = Omit<GetInitialFormValueProps, 'setLocalValue' | 'defaultValue'> & Pick<useFieldProps, 'loading' | 'disabled' | 'name'> & {
110
116
  type: T;
111
117
  shouldDirtyOnChange?: boolean;
@@ -101,7 +101,7 @@ export const useField = ({
101
101
  disabled: disabled || formStateDisabled,
102
102
  loading
103
103
  });
104
- const validation = (validationRules && validationRules[name]) ?? undefined;
104
+ const validation = validationRules?.[name] ?? undefined;
105
105
  const ref = register(name, validation);
106
106
  return {
107
107
  control,
@@ -1,7 +1,6 @@
1
- import type { ComponentType } from 'react';
2
- import type { BoxProps } from '../Box';
3
- /** Props for ContentContainer. Use when wrapping or composing ContentContainer. */
4
- export interface ContentContainerProps extends BoxProps {
5
- size?: 'small' | 'medium' | 'wide';
6
- }
7
- export declare const ContentContainer: ComponentType<ContentContainerProps>;
1
+ export declare const ContentContainer: import("@emotion/styled").StyledComponent<{
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
+ } & 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"> & {
5
+ theme?: import("@emotion/react").Theme;
6
+ } & import("@codecademy/variance/dist/types/config").VariantProps<"size", false | "small" | "medium" | "wide">, {}, {}>;
@@ -25,11 +25,7 @@ const contentContainerVariants = variant({
25
25
  }
26
26
  }
27
27
  });
28
- const StyledContentContainer = /*#__PURE__*/_styled(Box, {
28
+ export const ContentContainer = /*#__PURE__*/_styled(Box, {
29
29
  target: "e1dgn4f70",
30
- label: "StyledContentContainer"
31
- })(contentContainerVariants, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Db250ZW50Q29udGFpbmVyL2luZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnQytCIiwiZmlsZSI6Ii4uLy4uL3NyYy9Db250ZW50Q29udGFpbmVyL2luZGV4LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNvbnRlbnRXaWR0aHMsIHZhcmlhbnQgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dC1zdHlsZXMnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHR5cGUgeyBDb21wb25lbnRUeXBlIH0gZnJvbSAncmVhY3QnO1xuXG5pbXBvcnQgdHlwZSB7IEJveFByb3BzIH0gZnJvbSAnLi4vQm94JztcbmltcG9ydCB7IEJveCB9IGZyb20gJy4uL0JveCc7XG5cbmNvbnN0IGNvbnRlbnRDb250YWluZXJWYXJpYW50cyA9IHZhcmlhbnQoe1xuICBwcm9wOiAnc2l6ZScsXG4gIGRlZmF1bHRWYXJpYW50OiAnbWVkaXVtJyxcbiAgYmFzZToge1xuICAgIGhlaWdodDogJzEwMCUnLFxuICAgIHdpZHRoOiAnMTAwJScsXG4gICAgbXk6IDAsXG4gICAgbXg6ICdhdXRvJyxcbiAgfSxcbiAgdmFyaWFudHM6IHtcbiAgICBzbWFsbDoge1xuICAgICAgcHg6IDAsXG4gICAgICBteDogMCxcbiAgICAgIG1heFdpZHRoOiBjb250ZW50V2lkdGhzLm1heCxcbiAgICB9LFxuICAgIG1lZGl1bToge1xuICAgICAgcHg6IFsxNiwgMzIsIDY0LCAsIDk2XSxcbiAgICAgIG1heFdpZHRoOiBjb250ZW50V2lkdGhzLm1heCxcbiAgICB9LFxuICAgIHdpZGU6IHtcbiAgICAgIHB4OiBbLCAsIDI0LCAzMl0sXG4gICAgfSxcbiAgfSxcbn0pO1xuXG5jb25zdCBTdHlsZWRDb250ZW50Q29udGFpbmVyID0gc3R5bGVkKEJveCkoY29udGVudENvbnRhaW5lclZhcmlhbnRzKTtcblxuLyoqIFByb3BzIGZvciBDb250ZW50Q29udGFpbmVyLiBVc2Ugd2hlbiB3cmFwcGluZyBvciBjb21wb3NpbmcgQ29udGVudENvbnRhaW5lci4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgQ29udGVudENvbnRhaW5lclByb3BzIGV4dGVuZHMgQm94UHJvcHMge1xuICBzaXplPzogJ3NtYWxsJyB8ICdtZWRpdW0nIHwgJ3dpZGUnO1xufVxuXG5leHBvcnQgY29uc3QgQ29udGVudENvbnRhaW5lciA9XG4gIFN0eWxlZENvbnRlbnRDb250YWluZXIgYXMgdW5rbm93biBhcyBDb21wb25lbnRUeXBlPENvbnRlbnRDb250YWluZXJQcm9wcz47XG4iXX0= */");
32
-
33
- /** Props for ContentContainer. Use when wrapping or composing ContentContainer. */
34
-
35
- export const ContentContainer = StyledContentContainer;
30
+ label: "ContentContainer"
31
+ })(contentContainerVariants, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Db250ZW50Q29udGFpbmVyL2luZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE4QmdDIiwiZmlsZSI6Ii4uLy4uL3NyYy9Db250ZW50Q29udGFpbmVyL2luZGV4LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNvbnRlbnRXaWR0aHMsIHZhcmlhbnQgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dC1zdHlsZXMnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBCb3ggfSBmcm9tICcuLi9Cb3gnO1xuXG5jb25zdCBjb250ZW50Q29udGFpbmVyVmFyaWFudHMgPSB2YXJpYW50KHtcbiAgcHJvcDogJ3NpemUnLFxuICBkZWZhdWx0VmFyaWFudDogJ21lZGl1bScsXG4gIGJhc2U6IHtcbiAgICBoZWlnaHQ6ICcxMDAlJyxcbiAgICB3aWR0aDogJzEwMCUnLFxuICAgIG15OiAwLFxuICAgIG14OiAnYXV0bycsXG4gIH0sXG4gIHZhcmlhbnRzOiB7XG4gICAgc21hbGw6IHtcbiAgICAgIHB4OiAwLFxuICAgICAgbXg6IDAsXG4gICAgICBtYXhXaWR0aDogY29udGVudFdpZHRocy5tYXgsXG4gICAgfSxcbiAgICBtZWRpdW06IHtcbiAgICAgIHB4OiBbMTYsIDMyLCA2NCwgLCA5Nl0sXG4gICAgICBtYXhXaWR0aDogY29udGVudFdpZHRocy5tYXgsXG4gICAgfSxcbiAgICB3aWRlOiB7XG4gICAgICBweDogWywgLCAyNCwgMzJdLFxuICAgIH0sXG4gIH0sXG59KTtcblxuZXhwb3J0IGNvbnN0IENvbnRlbnRDb250YWluZXIgPSBzdHlsZWQoQm94KShjb250ZW50Q29udGFpbmVyVmFyaWFudHMpO1xuIl19 */");
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const StyledHeaderRow: import("@emotion/styled").StyledComponent<import("../../../List").TableHeaderProps & import("react").RefAttributes<HTMLTableRowElement> & {
3
- theme?: import("@emotion/react").Theme | undefined;
1
+ export declare const StyledHeaderRow: import("@emotion/styled").StyledComponent<Omit<import("../../../List").TableHeaderProps, "ref"> & import("react").RefAttributes<HTMLTableRowElement> & {
2
+ theme?: import("@emotion/react").Theme;
4
3
  } & Partial<Record<"invisible" | "isDataList", boolean>>, {}, {}>;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { ColumnConfig, DataListControls, ExpandRow, IdentifiableKeys, OnFilter, OnSort, RowChange } from '../types';
3
2
  export declare function useListControls<Row, IdKey extends IdentifiableKeys<Row>, Cols extends ColumnConfig<Row>[]>({ idKey, id, onQueryChange, onRowExpand, onRowSelect, expandedContent, }: DataListControls<Row, IdKey, Cols>): {
4
3
  idKey: IdKey;
5
- prefixId: <T extends string | number | symbol>(affix: T) => string;
4
+ prefixId: <T extends keyof any>(affix: T) => string;
6
5
  onSelect: RowChange<Row[IdKey]>;
7
6
  onExpand: RowChange<Row[IdKey]>;
8
7
  onFilter: OnFilter<Row>;